import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ export declare const MetricsUpdateContractDtoAggregation: { readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }; /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ export type MetricsUpdateContractDtoAggregation = ClosedEnum; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export declare const MetricsUpdateContractDtoType: { readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export type MetricsUpdateContractDtoType = ClosedEnum; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export declare const MetricsUpdateContractDtoCondition: { readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export type MetricsUpdateContractDtoCondition = ClosedEnum; export type MetricsUpdateContractDtoCriteria = { /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ type: MetricsUpdateContractDtoType; /** * Optional column specifying which data attribute to filter on. */ column?: string | undefined; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ condition: MetricsUpdateContractDtoCondition; /** * Optional array of values for the criterion to match against. */ values?: Array | undefined; /** * If true, overrides null values in criterion evaluation. */ nullVacuousOverride?: boolean | undefined; }; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export declare const MetricsUpdateContractDtoWarehouseNativeType: { readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export type MetricsUpdateContractDtoWarehouseNativeType = ClosedEnum; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export declare const MetricsUpdateContractDtoWarehouseNativeCondition: { readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export type MetricsUpdateContractDtoWarehouseNativeCondition = ClosedEnum; export type MetricsUpdateContractDtoDenominatorCriteria = { /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ type: MetricsUpdateContractDtoWarehouseNativeType; /** * Optional column specifying which data attribute to filter on. */ column?: string | undefined; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ condition: MetricsUpdateContractDtoWarehouseNativeCondition; /** * Optional array of values for the criterion to match against. */ values?: Array | undefined; /** * If true, overrides null values in criterion evaluation. */ nullVacuousOverride?: boolean | undefined; }; /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ export declare const MetricsUpdateContractDtoDenominatorAggregation: { readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }; /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ export type MetricsUpdateContractDtoDenominatorAggregation = ClosedEnum; /** * Allowed: users┃sessions for distinct count method in funnel events. */ export declare const MetricsUpdateContractDtoFunnelCountDistinct: { readonly Sessions: "sessions"; readonly Users: "users"; }; /** * Allowed: users┃sessions for distinct count method in funnel events. */ export type MetricsUpdateContractDtoFunnelCountDistinct = ClosedEnum; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsType: { readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }; /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ export type MetricsUpdateContractDtoWarehouseNativeFunnelEventsType = ClosedEnum; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition: { readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ export type MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition = ClosedEnum; export type MetricsUpdateContractDtoWarehouseNativeCriteria = { /** * Type of event criterion for filtering metrics. Options include `value`, `metadata`, `user`, and `user_custom`. */ type: MetricsUpdateContractDtoWarehouseNativeFunnelEventsType; /** * Optional column specifying which data attribute to filter on. */ column?: string | undefined; /** * sql_filter, start_withs, ends_with, and after_exposure are only applicable in Warehouse Native */ condition: MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition; /** * Optional array of values for the criterion to match against. */ values?: Array | undefined; /** * If true, overrides null values in criterion evaluation. */ nullVacuousOverride?: boolean | undefined; }; export type MetricsUpdateContractDtoFunnelEvents = { /** * Optional array of criteria to filter the funnel events, defined by various types and conditions. */ criteria?: Array | undefined; /** * Optional name of the metric source associated with the funnel event. */ metricSourceName?: string | undefined; /** * Optional step name for the funnel event, can be null if not specified. */ name?: any | null | undefined; /** * Name of column which being used as session identifier. Funnel event with the same metric source */ sessionIdentifierField?: any | null | undefined; }; /** * Allowed: start_event┃exposure to determine funnel start criteria. */ export declare const MetricsUpdateContractDtoFunnelStartCriteria: { readonly StartEvent: "start_event"; readonly Exposure: "exposure"; }; /** * Allowed: start_event┃exposure to determine funnel start criteria. */ export type MetricsUpdateContractDtoFunnelStartCriteria = ClosedEnum; /** * Aggregation type for numerator; Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile. */ export declare const MetricsUpdateContractDtoNumeratorAggregation: { readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }; /** * Aggregation type for numerator; Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile. */ export type MetricsUpdateContractDtoNumeratorAggregation = ClosedEnum; /** * Optional configuration for metrics utilizing Warehouse Native features, defining specific behaviors and criteria. */ export type MetricsUpdateContractDtoWarehouseNative = { /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ aggregation?: MetricsUpdateContractDtoAggregation | undefined; /** * For Count, Sum, Mean, User Count aggregation types: the name of metric source */ metricSourceName?: string | undefined; /** * MetricEventCrtieria */ criteria?: Array | undefined; waitForCohortWindow?: boolean | undefined; /** * MetricEventCriteria */ denominatorCriteria?: Array | undefined; /** * Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile */ denominatorAggregation?: MetricsUpdateContractDtoDenominatorAggregation | undefined; /** * Custom end date for rollup in days since exposure. */ denominatorCustomRollupEnd?: number | undefined; /** * Custom start date for rollup in days since exposure. */ denominatorCustomRollupStart?: number | undefined; /** * Name of the metric source for the denominator. */ denominatorMetricSourceName?: string | undefined; /** * Time window for the denominator metric. Specify "custom" for a custom window. */ denominatorRollupTimeWindow?: string | undefined; /** * Column name for the denominator’s value. */ denominatorValueColumn?: string | undefined; /** * Duration for counting funnel events in days. */ funnelCalculationWindow?: number | undefined; /** * Allowed: users┃sessions for distinct count method in funnel events. */ funnelCountDistinct?: MetricsUpdateContractDtoFunnelCountDistinct | undefined; /** * List of funnel events with associated criteria and identifiers. */ funnelEvents?: Array | undefined; /** * Allowed: start_event┃exposure to determine funnel start criteria. */ funnelStartCriteria?: MetricsUpdateContractDtoFunnelStartCriteria | undefined; /** * Specify metadata columns for breaking down metric analysis. */ metricDimensionColumns?: Array | undefined; /** * Number of days for metric baking; specify duration for analysis. */ metricBakeDays?: number | undefined; /** * Aggregation type for numerator; Allowed: count┃sum┃mean┃daily_participation┃ratio┃funnel┃count_distinct┃percentile. */ numeratorAggregation?: MetricsUpdateContractDtoNumeratorAggregation | undefined; /** * Column name representing the metric’s value. */ valueColumn?: string | undefined; /** * High threshold for winsorization; must be between 0 and 1. */ winsorizationHigh?: number | undefined; /** * Low threshold for winsorization; must be between 0 and 1. */ winsorizationLow?: number | undefined; /** * Attribution window for CUPED adjustments in days. */ cupedAttributionWindow?: any | null | undefined; /** * Flag to include only users with a conversion event in the metric. */ onlyIncludeUsersWithConversionEvent?: boolean | undefined; /** * Percentile value for statistical calculations. */ percentile?: number | undefined; /** * Threshold value for filtering metrics. */ valueThreshold?: number | undefined; /** * Maximum cap for metric values. */ cap?: number | undefined; /** * General time window for rollup; can specify custom settings. */ rollupTimeWindow?: string | undefined; /** * Custom start date for rollup in days since exposure. */ customRollUpStart?: number | undefined; /** * Custom end date for rollup in days since exposure. */ customRollUpEnd?: number | undefined; }; export type MetricsUpdateContractDto = { /** * A detailed description of the metric, providing insights into its purpose and application. */ description?: string | undefined; /** * An array of tags associated with the metric, used for categorization and easier retrieval. */ tags?: Array | undefined; /** * Indicates whether the metric is hidden from general view, useful for internal metrics. */ isHidden?: boolean | undefined; /** * Flag to mark the metric as verified, ensuring it is deemed trustworthy within the organization. */ isVerified?: boolean | undefined; /** * Specifies if the metric definition can only be edited via the Console API, enhancing control over modifications. */ isReadOnly?: boolean | undefined; /** * Determines if the metric is permanent, preventing it from being deleted or modified inadvertently. */ isPermanent?: boolean | undefined; /** * Optional configuration for metrics utilizing Warehouse Native features, defining specific behaviors and criteria. */ warehouseNative?: MetricsUpdateContractDtoWarehouseNative | undefined; /** * Array of unit types that the metric can utilize, such as stableID, userID, or other custom identifiers. */ unitTypes?: Array | undefined; /** * Optional field indicating the team responsible for the metric, aiding in accountability and management. */ team?: any | null | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoAggregation$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoAggregation$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 MetricsUpdateContractDtoAggregation$ { /** @deprecated use `MetricsUpdateContractDtoAggregation$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; /** @deprecated use `MetricsUpdateContractDtoAggregation$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; } /** @internal */ export declare const MetricsUpdateContractDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoType$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 MetricsUpdateContractDtoType$ { /** @deprecated use `MetricsUpdateContractDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; /** @deprecated use `MetricsUpdateContractDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoCondition$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoCondition$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 MetricsUpdateContractDtoCondition$ { /** @deprecated use `MetricsUpdateContractDtoCondition$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; /** @deprecated use `MetricsUpdateContractDtoCondition$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoCriteria$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDtoCriteria$Outbound = { type: string; column?: string | undefined; condition: string; values?: Array | undefined; nullVacuousOverride?: boolean | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoCriteria$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 MetricsUpdateContractDtoCriteria$ { /** @deprecated use `MetricsUpdateContractDtoCriteria$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoCriteria$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoCriteria$Outbound` instead. */ type Outbound = MetricsUpdateContractDtoCriteria$Outbound; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeType$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 MetricsUpdateContractDtoWarehouseNativeType$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeCondition$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeCondition$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 MetricsUpdateContractDtoWarehouseNativeCondition$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeCondition$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeCondition$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoDenominatorCriteria$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDtoDenominatorCriteria$Outbound = { type: string; column?: string | undefined; condition: string; values?: Array | undefined; nullVacuousOverride?: boolean | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoDenominatorCriteria$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 MetricsUpdateContractDtoDenominatorCriteria$ { /** @deprecated use `MetricsUpdateContractDtoDenominatorCriteria$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoDenominatorCriteria$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoDenominatorCriteria$Outbound` instead. */ type Outbound = MetricsUpdateContractDtoDenominatorCriteria$Outbound; } /** @internal */ export declare const MetricsUpdateContractDtoDenominatorAggregation$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoDenominatorAggregation$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 MetricsUpdateContractDtoDenominatorAggregation$ { /** @deprecated use `MetricsUpdateContractDtoDenominatorAggregation$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; /** @deprecated use `MetricsUpdateContractDtoDenominatorAggregation$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; } /** @internal */ export declare const MetricsUpdateContractDtoFunnelCountDistinct$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoFunnelCountDistinct$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 MetricsUpdateContractDtoFunnelCountDistinct$ { /** @deprecated use `MetricsUpdateContractDtoFunnelCountDistinct$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Sessions: "sessions"; readonly Users: "users"; }>; /** @deprecated use `MetricsUpdateContractDtoFunnelCountDistinct$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Sessions: "sessions"; readonly Users: "users"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsType$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 MetricsUpdateContractDtoWarehouseNativeFunnelEventsType$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeFunnelEventsType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeFunnelEventsType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Value: "value"; readonly Metadata: "metadata"; readonly User: "user"; readonly UserCustom: "user_custom"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition$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 MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeFunnelEventsCondition$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly In: "in"; readonly NotIn: "not_in"; readonly Equal: "="; readonly GreaterThan: ">"; readonly LessThan: "<"; readonly GreaterThanEqual: ">="; readonly LessThanEqual: "<="; readonly IsNull: "is_null"; readonly NonNull: "non_null"; readonly Contains: "contains"; readonly NotContains: "not_contains"; readonly SqlFilter: "sql_filter"; readonly StartsWith: "starts_with"; readonly EndsWith: "ends_with"; readonly AfterExposure: "after_exposure"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeCriteria$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDtoWarehouseNativeCriteria$Outbound = { type: string; column?: string | undefined; condition: string; values?: Array | undefined; nullVacuousOverride?: boolean | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNativeCriteria$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 MetricsUpdateContractDtoWarehouseNativeCriteria$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeCriteria$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeCriteria$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoWarehouseNativeCriteria$Outbound` instead. */ type Outbound = MetricsUpdateContractDtoWarehouseNativeCriteria$Outbound; } /** @internal */ export declare const MetricsUpdateContractDtoFunnelEvents$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDtoFunnelEvents$Outbound = { criteria?: Array | undefined; metricSourceName?: string | undefined; name?: any | null | undefined; sessionIdentifierField?: any | null | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoFunnelEvents$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 MetricsUpdateContractDtoFunnelEvents$ { /** @deprecated use `MetricsUpdateContractDtoFunnelEvents$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoFunnelEvents$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoFunnelEvents$Outbound` instead. */ type Outbound = MetricsUpdateContractDtoFunnelEvents$Outbound; } /** @internal */ export declare const MetricsUpdateContractDtoFunnelStartCriteria$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoFunnelStartCriteria$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 MetricsUpdateContractDtoFunnelStartCriteria$ { /** @deprecated use `MetricsUpdateContractDtoFunnelStartCriteria$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly StartEvent: "start_event"; readonly Exposure: "exposure"; }>; /** @deprecated use `MetricsUpdateContractDtoFunnelStartCriteria$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly StartEvent: "start_event"; readonly Exposure: "exposure"; }>; } /** @internal */ export declare const MetricsUpdateContractDtoNumeratorAggregation$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MetricsUpdateContractDtoNumeratorAggregation$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 MetricsUpdateContractDtoNumeratorAggregation$ { /** @deprecated use `MetricsUpdateContractDtoNumeratorAggregation$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; /** @deprecated use `MetricsUpdateContractDtoNumeratorAggregation$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Count: "count"; readonly Sum: "sum"; readonly Mean: "mean"; readonly DailyParticipation: "daily_participation"; readonly Ratio: "ratio"; readonly Funnel: "funnel"; readonly CountDistinct: "count_distinct"; readonly Percentile: "percentile"; readonly Unknown: ""; }>; } /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNative$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDtoWarehouseNative$Outbound = { aggregation?: string | undefined; metricSourceName?: string | undefined; criteria?: Array | undefined; waitForCohortWindow?: boolean | undefined; denominatorCriteria?: Array | undefined; denominatorAggregation?: string | undefined; denominatorCustomRollupEnd?: number | undefined; denominatorCustomRollupStart?: number | undefined; denominatorMetricSourceName?: string | undefined; denominatorRollupTimeWindow?: string | undefined; denominatorValueColumn?: string | undefined; funnelCalculationWindow?: number | undefined; funnelCountDistinct?: string | undefined; funnelEvents?: Array | undefined; funnelStartCriteria?: string | undefined; metricDimensionColumns?: Array | undefined; metricBakeDays?: number | undefined; numeratorAggregation?: string | undefined; valueColumn?: string | undefined; winsorizationHigh?: number | undefined; winsorizationLow?: number | undefined; cupedAttributionWindow?: any | null | undefined; onlyIncludeUsersWithConversionEvent?: boolean | undefined; percentile?: number | undefined; valueThreshold?: number | undefined; cap?: number | undefined; rollupTimeWindow?: string | undefined; customRollUpStart?: number | undefined; customRollUpEnd?: number | undefined; }; /** @internal */ export declare const MetricsUpdateContractDtoWarehouseNative$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 MetricsUpdateContractDtoWarehouseNative$ { /** @deprecated use `MetricsUpdateContractDtoWarehouseNative$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoWarehouseNative$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDtoWarehouseNative$Outbound` instead. */ type Outbound = MetricsUpdateContractDtoWarehouseNative$Outbound; } /** @internal */ export declare const MetricsUpdateContractDto$inboundSchema: z.ZodType; /** @internal */ export type MetricsUpdateContractDto$Outbound = { description?: string | undefined; tags?: Array | undefined; isHidden?: boolean | undefined; isVerified?: boolean | undefined; isReadOnly?: boolean | undefined; isPermanent?: boolean | undefined; warehouseNative?: MetricsUpdateContractDtoWarehouseNative$Outbound | undefined; unitTypes?: Array | undefined; team?: any | null | undefined; }; /** @internal */ export declare const MetricsUpdateContractDto$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 MetricsUpdateContractDto$ { /** @deprecated use `MetricsUpdateContractDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MetricsUpdateContractDto$Outbound` instead. */ type Outbound = MetricsUpdateContractDto$Outbound; } //# sourceMappingURL=metricsupdatecontractdto.d.ts.map