import { ClosedEnum } from "../../types/enums.js"; import * as z from "zod"; export declare const IngestionUpdateContractDto3Dataset: { readonly Exposures: "Exposures"; readonly ExportExposures: "export_exposures"; }; export type IngestionUpdateContractDto3Dataset = ClosedEnum; export type IngestionUpdateContractDto3ColumnMapping = { /** * Unique identifier for the experiment. */ experiment: string; /** * Unique identifier for the experiment groups. */ groupId: string; /** * The unique user identifier this exposure is for. This might not necessarily be a single column for userID - it could be spread across multiple columns for deviceID etc. */ unitId?: string | undefined; /** * Unix timestamp in seconds of the event (ex. 1723146199) */ timestamp: string; ids: { [k: string]: string; }; metadata?: { [k: string]: string; } | undefined; metadataObject?: string | undefined; eventValue?: string | undefined; }; export declare const IngestionUpdateContractDto3Type: { readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }; export type IngestionUpdateContractDto3Type = ClosedEnum; export type IngestionUpdateContractDto3 = { dataset: IngestionUpdateContractDto3Dataset; columnMapping?: IngestionUpdateContractDto3ColumnMapping | undefined; type: IngestionUpdateContractDto3Type; sourceName?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; export declare const IngestionUpdateContractDto2Dataset: { readonly Events: "Events"; }; export type IngestionUpdateContractDto2Dataset = ClosedEnum; export type IngestionUpdateContractDto2ColumnMapping = { /** * The unique user identifier this event is for. This might not necessarily be a single column for userID - it could be spread across multiple columns for deviceID etc. */ unitId?: string | undefined; /** * Name of the event. String under 128 characters, using ‘_’ for spaces. */ eventName: string; /** * Unix timestamp in seconds of the event (ex. 1723146199) */ timestamp: string; ids: { [k: string]: string; }; metadata?: { [k: string]: string; } | undefined; metadataObject?: string | undefined; eventValue?: string | undefined; }; export declare const IngestionUpdateContractDto2Type: { readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }; export type IngestionUpdateContractDto2Type = ClosedEnum; export type IngestionUpdateContractDto2 = { dataset: IngestionUpdateContractDto2Dataset; columnMapping?: IngestionUpdateContractDto2ColumnMapping | undefined; type: IngestionUpdateContractDto2Type; sourceName?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; export declare const IngestionUpdateContractDtoDataset: { readonly Metrics: "Metrics"; }; export type IngestionUpdateContractDtoDataset = ClosedEnum; export type IngestionUpdateContractDtoColumnMapping = { /** * The unique user identifier this metric is for. This might not necessarily be a user_id - it could be a custom_id of some kind. Make sure this is in the same format as your logged unit_ids. */ unitId: string; /** * The id_type the unit_id represents. Must be valid id_type. Default Statsig types are user_id/stable_id, but you may have generated custom id_types. Make sure this matches (case sensitive) a customID in your project, or you won’t get experiment results. */ idType: string; /** * Date of the daily metric, ISO formatted (ex. 2024-08-08). We’ll load custom metrics to whatever date you use here. */ dateid: string; /** * String format. Not null. Length < 128 characters. */ metricName: string; /** * Numeric value for the metric. This OR both of numerator and denominator need to be provided. */ metricValue?: string | undefined; /** * Required for ratio metrics. If present along with a denominator in any record, the metric will be treated as ratio and only calculated for users with non-null denominators */ numerator?: string | undefined; /** * Required for ratio metrics. If present along with a numerator in any record, the metric will be treated as ratio and only calculated for users with non-null numerators. */ denominator?: string | undefined; }; export declare const IngestionUpdateContractDtoType: { readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }; export type IngestionUpdateContractDtoType = ClosedEnum; export type IngestionUpdateContractDto1 = { dataset: IngestionUpdateContractDtoDataset; columnMapping?: IngestionUpdateContractDtoColumnMapping | undefined; type: IngestionUpdateContractDtoType; sourceName?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; export type IngestionUpdateContractDto = IngestionUpdateContractDto1 | IngestionUpdateContractDto2 | IngestionUpdateContractDto3; /** @internal */ export declare const IngestionUpdateContractDto3Dataset$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDto3Dataset$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 IngestionUpdateContractDto3Dataset$ { /** @deprecated use `IngestionUpdateContractDto3Dataset$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Exposures: "Exposures"; readonly ExportExposures: "export_exposures"; }>; /** @deprecated use `IngestionUpdateContractDto3Dataset$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Exposures: "Exposures"; readonly ExportExposures: "export_exposures"; }>; } /** @internal */ export declare const IngestionUpdateContractDto3ColumnMapping$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto3ColumnMapping$Outbound = { experiment: string; group_id: string; unit_id?: string | undefined; timestamp: string; ids: { [k: string]: string; }; metadata?: { [k: string]: string; } | undefined; metadata_object: string; event_value: string; }; /** @internal */ export declare const IngestionUpdateContractDto3ColumnMapping$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 IngestionUpdateContractDto3ColumnMapping$ { /** @deprecated use `IngestionUpdateContractDto3ColumnMapping$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto3ColumnMapping$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto3ColumnMapping$Outbound` instead. */ type Outbound = IngestionUpdateContractDto3ColumnMapping$Outbound; } /** @internal */ export declare const IngestionUpdateContractDto3Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDto3Type$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 IngestionUpdateContractDto3Type$ { /** @deprecated use `IngestionUpdateContractDto3Type$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; /** @deprecated use `IngestionUpdateContractDto3Type$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; } /** @internal */ export declare const IngestionUpdateContractDto3$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto3$Outbound = { dataset: string; column_mapping?: IngestionUpdateContractDto3ColumnMapping$Outbound | undefined; type: string; source_name?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; /** @internal */ export declare const IngestionUpdateContractDto3$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 IngestionUpdateContractDto3$ { /** @deprecated use `IngestionUpdateContractDto3$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto3$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto3$Outbound` instead. */ type Outbound = IngestionUpdateContractDto3$Outbound; } /** @internal */ export declare const IngestionUpdateContractDto2Dataset$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDto2Dataset$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 IngestionUpdateContractDto2Dataset$ { /** @deprecated use `IngestionUpdateContractDto2Dataset$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Events: "Events"; }>; /** @deprecated use `IngestionUpdateContractDto2Dataset$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Events: "Events"; }>; } /** @internal */ export declare const IngestionUpdateContractDto2ColumnMapping$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto2ColumnMapping$Outbound = { unit_id?: string | undefined; event_name: string; timestamp: string; ids: { [k: string]: string; }; metadata?: { [k: string]: string; } | undefined; metadata_object: string; event_value: string; }; /** @internal */ export declare const IngestionUpdateContractDto2ColumnMapping$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 IngestionUpdateContractDto2ColumnMapping$ { /** @deprecated use `IngestionUpdateContractDto2ColumnMapping$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto2ColumnMapping$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto2ColumnMapping$Outbound` instead. */ type Outbound = IngestionUpdateContractDto2ColumnMapping$Outbound; } /** @internal */ export declare const IngestionUpdateContractDto2Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDto2Type$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 IngestionUpdateContractDto2Type$ { /** @deprecated use `IngestionUpdateContractDto2Type$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; /** @deprecated use `IngestionUpdateContractDto2Type$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; } /** @internal */ export declare const IngestionUpdateContractDto2$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto2$Outbound = { dataset: string; column_mapping?: IngestionUpdateContractDto2ColumnMapping$Outbound | undefined; type: string; source_name?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; /** @internal */ export declare const IngestionUpdateContractDto2$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 IngestionUpdateContractDto2$ { /** @deprecated use `IngestionUpdateContractDto2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto2$Outbound` instead. */ type Outbound = IngestionUpdateContractDto2$Outbound; } /** @internal */ export declare const IngestionUpdateContractDtoDataset$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDtoDataset$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 IngestionUpdateContractDtoDataset$ { /** @deprecated use `IngestionUpdateContractDtoDataset$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Metrics: "Metrics"; }>; /** @deprecated use `IngestionUpdateContractDtoDataset$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Metrics: "Metrics"; }>; } /** @internal */ export declare const IngestionUpdateContractDtoColumnMapping$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDtoColumnMapping$Outbound = { unit_id: string; id_type: string; dateid: string; metric_name: string; metric_value: string; numerator: string; denominator: string; }; /** @internal */ export declare const IngestionUpdateContractDtoColumnMapping$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 IngestionUpdateContractDtoColumnMapping$ { /** @deprecated use `IngestionUpdateContractDtoColumnMapping$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDtoColumnMapping$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDtoColumnMapping$Outbound` instead. */ type Outbound = IngestionUpdateContractDtoColumnMapping$Outbound; } /** @internal */ export declare const IngestionUpdateContractDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IngestionUpdateContractDtoType$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 IngestionUpdateContractDtoType$ { /** @deprecated use `IngestionUpdateContractDtoType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; /** @deprecated use `IngestionUpdateContractDtoType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Redshift: "redshift"; readonly BigqueryV2: "bigquery-v2"; readonly SnowflakeV2: "snowflake-v2"; readonly Databricks: "databricks"; readonly AzureSynapse: "azure-synapse"; readonly S3: "s3"; readonly Athena: "athena"; readonly Adls: "adls"; }>; } /** @internal */ export declare const IngestionUpdateContractDto1$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto1$Outbound = { dataset: string; column_mapping?: IngestionUpdateContractDtoColumnMapping$Outbound | undefined; type: string; source_name?: string | undefined; query?: string | undefined; share?: string | undefined; schema?: string | undefined; table?: string | undefined; enabled?: boolean | undefined; }; /** @internal */ export declare const IngestionUpdateContractDto1$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 IngestionUpdateContractDto1$ { /** @deprecated use `IngestionUpdateContractDto1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto1$Outbound` instead. */ type Outbound = IngestionUpdateContractDto1$Outbound; } /** @internal */ export declare const IngestionUpdateContractDto$inboundSchema: z.ZodType; /** @internal */ export type IngestionUpdateContractDto$Outbound = IngestionUpdateContractDto1$Outbound | IngestionUpdateContractDto2$Outbound | IngestionUpdateContractDto3$Outbound; /** @internal */ export declare const IngestionUpdateContractDto$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 IngestionUpdateContractDto$ { /** @deprecated use `IngestionUpdateContractDto$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IngestionUpdateContractDto$Outbound` instead. */ type Outbound = IngestionUpdateContractDto$Outbound; } //# sourceMappingURL=ingestionupdatecontractdto.d.ts.map