import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type EventsResultItem = {
    id?: string | undefined;
    organizationId?: string | undefined;
    messageId?: string | undefined;
    conversationId?: string | undefined;
    createdAt?: string | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    eventType?: string | undefined;
    type?: string | undefined;
    searchQuery?: string | undefined;
    properties?: {
        [k: string]: string;
    } | null | undefined;
    userProperties?: {
        [k: string]: string;
    } | null | undefined;
    sum?: number | undefined;
    count?: number | undefined;
    avg?: number | undefined;
    min?: number | undefined;
    max?: number | undefined;
    idHour?: string | undefined;
    idDay?: string | undefined;
    idWeek?: string | undefined;
    idMonth?: string | undefined;
    organizationIdHour?: string | undefined;
    organizationIdDay?: string | undefined;
    organizationIdWeek?: string | undefined;
    organizationIdMonth?: string | undefined;
    messageIdHour?: string | undefined;
    messageIdDay?: string | undefined;
    messageIdWeek?: string | undefined;
    messageIdMonth?: string | undefined;
    conversationIdHour?: string | undefined;
    conversationIdDay?: string | undefined;
    conversationIdWeek?: string | undefined;
    conversationIdMonth?: string | undefined;
    createdAtHour?: string | undefined;
    createdAtDay?: string | undefined;
    createdAtWeek?: string | undefined;
    createdAtMonth?: string | undefined;
    projectIdHour?: string | undefined;
    projectIdDay?: string | undefined;
    projectIdWeek?: string | undefined;
    projectIdMonth?: string | undefined;
    integrationIdHour?: string | undefined;
    integrationIdDay?: string | undefined;
    integrationIdWeek?: string | undefined;
    integrationIdMonth?: string | undefined;
    eventTypeHour?: string | undefined;
    eventTypeDay?: string | undefined;
    eventTypeWeek?: string | undefined;
    eventTypeMonth?: string | undefined;
    typeHour?: string | undefined;
    typeDay?: string | undefined;
    typeWeek?: string | undefined;
    typeMonth?: string | undefined;
    searchQueryHour?: string | undefined;
    searchQueryDay?: string | undefined;
    searchQueryWeek?: string | undefined;
    searchQueryMonth?: string | undefined;
    propertiesHour?: string | undefined;
    propertiesDay?: string | undefined;
    propertiesWeek?: string | undefined;
    propertiesMonth?: string | undefined;
    userPropertiesHour?: string | undefined;
    userPropertiesDay?: string | undefined;
    userPropertiesWeek?: string | undefined;
    userPropertiesMonth?: string | undefined;
    sumId?: number | undefined;
    sumOrganizationId?: number | undefined;
    sumMessageId?: number | undefined;
    sumConversationId?: number | undefined;
    sumCreatedAt?: number | undefined;
    sumProjectId?: number | undefined;
    sumIntegrationId?: number | undefined;
    sumEventType?: number | undefined;
    sumType?: number | undefined;
    sumSearchQuery?: number | undefined;
    sumProperties?: number | undefined;
    sumUserProperties?: number | undefined;
    countId?: number | undefined;
    countOrganizationId?: number | undefined;
    countMessageId?: number | undefined;
    countConversationId?: number | undefined;
    countCreatedAt?: number | undefined;
    countProjectId?: number | undefined;
    countIntegrationId?: number | undefined;
    countEventType?: number | undefined;
    countType?: number | undefined;
    countSearchQuery?: number | undefined;
    countProperties?: number | undefined;
    countUserProperties?: number | undefined;
    avgId?: number | undefined;
    avgOrganizationId?: number | undefined;
    avgMessageId?: number | undefined;
    avgConversationId?: number | undefined;
    avgCreatedAt?: number | undefined;
    avgProjectId?: number | undefined;
    avgIntegrationId?: number | undefined;
    avgEventType?: number | undefined;
    avgType?: number | undefined;
    avgSearchQuery?: number | undefined;
    avgProperties?: number | undefined;
    avgUserProperties?: number | undefined;
    minId?: number | undefined;
    minOrganizationId?: number | undefined;
    minMessageId?: number | undefined;
    minConversationId?: number | undefined;
    minCreatedAt?: number | undefined;
    minProjectId?: number | undefined;
    minIntegrationId?: number | undefined;
    minEventType?: number | undefined;
    minType?: number | undefined;
    minSearchQuery?: number | undefined;
    minProperties?: number | undefined;
    minUserProperties?: number | undefined;
    maxId?: number | undefined;
    maxOrganizationId?: number | undefined;
    maxMessageId?: number | undefined;
    maxConversationId?: number | undefined;
    maxCreatedAt?: number | undefined;
    maxProjectId?: number | undefined;
    maxIntegrationId?: number | undefined;
    maxEventType?: number | undefined;
    maxType?: number | undefined;
    maxSearchQuery?: number | undefined;
    maxProperties?: number | undefined;
    maxUserProperties?: number | undefined;
    sumPropertiesUserId?: number | undefined;
    sumPropertiesSupportAgentName?: number | undefined;
    sumUserPropertiesUserId?: number | undefined;
    sumUserPropertiesSupportAgentName?: number | undefined;
    countPropertiesUserId?: number | undefined;
    countPropertiesSupportAgentName?: number | undefined;
    countUserPropertiesUserId?: number | undefined;
    countUserPropertiesSupportAgentName?: number | undefined;
    countDistinctPropertiesUserId?: number | undefined;
    countDistinctPropertiesSupportAgentName?: number | undefined;
    countDistinctUserPropertiesUserId?: number | undefined;
    countDistinctUserPropertiesSupportAgentName?: number | undefined;
    avgPropertiesUserId?: number | undefined;
    avgPropertiesSupportAgentName?: number | undefined;
    avgUserPropertiesUserId?: number | undefined;
    avgUserPropertiesSupportAgentName?: number | undefined;
    minPropertiesUserId?: number | undefined;
    minPropertiesSupportAgentName?: number | undefined;
    minUserPropertiesUserId?: number | undefined;
    minUserPropertiesSupportAgentName?: number | undefined;
    maxPropertiesUserId?: number | undefined;
    maxPropertiesSupportAgentName?: number | undefined;
    maxUserPropertiesUserId?: number | undefined;
    maxUserPropertiesSupportAgentName?: number | undefined;
    propertiesUserId?: string | undefined;
    propertiesSupportAgentName?: string | undefined;
    userPropertiesUserId?: string | undefined;
    userPropertiesSupportAgentName?: string | undefined;
};
/**
 * Data object containing QueryEvents query results and pagination information
 */
export type QueryEventsResponseData = {
    result: Array<EventsResultItem>;
    /**
     * Total number of results matching the query
     */
    total: number;
    /**
     * Number of results per page
     */
    pageSize: number;
    /**
     * Number of results in the current response
     */
    count: number;
};
/** @internal */
export declare const EventsResultItem$inboundSchema: z.ZodType<EventsResultItem, z.ZodTypeDef, unknown>;
/** @internal */
export type EventsResultItem$Outbound = {
    id?: string | undefined;
    organizationId?: string | undefined;
    messageId?: string | undefined;
    conversationId?: string | undefined;
    createdAt?: string | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    eventType?: string | undefined;
    type?: string | undefined;
    searchQuery?: string | undefined;
    properties?: {
        [k: string]: string;
    } | null | undefined;
    userProperties?: {
        [k: string]: string;
    } | null | undefined;
    sum?: number | undefined;
    count?: number | undefined;
    avg?: number | undefined;
    min?: number | undefined;
    max?: number | undefined;
    id_hour?: string | undefined;
    id_day?: string | undefined;
    id_week?: string | undefined;
    id_month?: string | undefined;
    organizationId_hour?: string | undefined;
    organizationId_day?: string | undefined;
    organizationId_week?: string | undefined;
    organizationId_month?: string | undefined;
    messageId_hour?: string | undefined;
    messageId_day?: string | undefined;
    messageId_week?: string | undefined;
    messageId_month?: string | undefined;
    conversationId_hour?: string | undefined;
    conversationId_day?: string | undefined;
    conversationId_week?: string | undefined;
    conversationId_month?: string | undefined;
    createdAt_hour?: string | undefined;
    createdAt_day?: string | undefined;
    createdAt_week?: string | undefined;
    createdAt_month?: string | undefined;
    projectId_hour?: string | undefined;
    projectId_day?: string | undefined;
    projectId_week?: string | undefined;
    projectId_month?: string | undefined;
    integrationId_hour?: string | undefined;
    integrationId_day?: string | undefined;
    integrationId_week?: string | undefined;
    integrationId_month?: string | undefined;
    eventType_hour?: string | undefined;
    eventType_day?: string | undefined;
    eventType_week?: string | undefined;
    eventType_month?: string | undefined;
    type_hour?: string | undefined;
    type_day?: string | undefined;
    type_week?: string | undefined;
    type_month?: string | undefined;
    searchQuery_hour?: string | undefined;
    searchQuery_day?: string | undefined;
    searchQuery_week?: string | undefined;
    searchQuery_month?: string | undefined;
    properties_hour?: string | undefined;
    properties_day?: string | undefined;
    properties_week?: string | undefined;
    properties_month?: string | undefined;
    userProperties_hour?: string | undefined;
    userProperties_day?: string | undefined;
    userProperties_week?: string | undefined;
    userProperties_month?: string | undefined;
    sum_id?: number | undefined;
    sum_organizationId?: number | undefined;
    sum_messageId?: number | undefined;
    sum_conversationId?: number | undefined;
    sum_createdAt?: number | undefined;
    sum_projectId?: number | undefined;
    sum_integrationId?: number | undefined;
    sum_eventType?: number | undefined;
    sum_type?: number | undefined;
    sum_searchQuery?: number | undefined;
    sum_properties?: number | undefined;
    sum_userProperties?: number | undefined;
    count_id?: number | undefined;
    count_organizationId?: number | undefined;
    count_messageId?: number | undefined;
    count_conversationId?: number | undefined;
    count_createdAt?: number | undefined;
    count_projectId?: number | undefined;
    count_integrationId?: number | undefined;
    count_eventType?: number | undefined;
    count_type?: number | undefined;
    count_searchQuery?: number | undefined;
    count_properties?: number | undefined;
    count_userProperties?: number | undefined;
    avg_id?: number | undefined;
    avg_organizationId?: number | undefined;
    avg_messageId?: number | undefined;
    avg_conversationId?: number | undefined;
    avg_createdAt?: number | undefined;
    avg_projectId?: number | undefined;
    avg_integrationId?: number | undefined;
    avg_eventType?: number | undefined;
    avg_type?: number | undefined;
    avg_searchQuery?: number | undefined;
    avg_properties?: number | undefined;
    avg_userProperties?: number | undefined;
    min_id?: number | undefined;
    min_organizationId?: number | undefined;
    min_messageId?: number | undefined;
    min_conversationId?: number | undefined;
    min_createdAt?: number | undefined;
    min_projectId?: number | undefined;
    min_integrationId?: number | undefined;
    min_eventType?: number | undefined;
    min_type?: number | undefined;
    min_searchQuery?: number | undefined;
    min_properties?: number | undefined;
    min_userProperties?: number | undefined;
    max_id?: number | undefined;
    max_organizationId?: number | undefined;
    max_messageId?: number | undefined;
    max_conversationId?: number | undefined;
    max_createdAt?: number | undefined;
    max_projectId?: number | undefined;
    max_integrationId?: number | undefined;
    max_eventType?: number | undefined;
    max_type?: number | undefined;
    max_searchQuery?: number | undefined;
    max_properties?: number | undefined;
    max_userProperties?: number | undefined;
    "sum_properties.userId"?: number | undefined;
    "sum_properties.supportAgentName"?: number | undefined;
    "sum_userProperties.userId"?: number | undefined;
    "sum_userProperties.supportAgentName"?: number | undefined;
    "count_properties.userId"?: number | undefined;
    "count_properties.supportAgentName"?: number | undefined;
    "count_userProperties.userId"?: number | undefined;
    "count_userProperties.supportAgentName"?: number | undefined;
    "countDistinct_properties.userId"?: number | undefined;
    "countDistinct_properties.supportAgentName"?: number | undefined;
    "countDistinct_userProperties.userId"?: number | undefined;
    "countDistinct_userProperties.supportAgentName"?: number | undefined;
    "avg_properties.userId"?: number | undefined;
    "avg_properties.supportAgentName"?: number | undefined;
    "avg_userProperties.userId"?: number | undefined;
    "avg_userProperties.supportAgentName"?: number | undefined;
    "min_properties.userId"?: number | undefined;
    "min_properties.supportAgentName"?: number | undefined;
    "min_userProperties.userId"?: number | undefined;
    "min_userProperties.supportAgentName"?: number | undefined;
    "max_properties.userId"?: number | undefined;
    "max_properties.supportAgentName"?: number | undefined;
    "max_userProperties.userId"?: number | undefined;
    "max_userProperties.supportAgentName"?: number | undefined;
    "properties.userId"?: string | undefined;
    "properties.supportAgentName"?: string | undefined;
    "userProperties.userId"?: string | undefined;
    "userProperties.supportAgentName"?: string | undefined;
};
/** @internal */
export declare const EventsResultItem$outboundSchema: z.ZodType<EventsResultItem$Outbound, z.ZodTypeDef, EventsResultItem>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace EventsResultItem$ {
    /** @deprecated use `EventsResultItem$inboundSchema` instead. */
    const inboundSchema: z.ZodType<EventsResultItem, z.ZodTypeDef, unknown>;
    /** @deprecated use `EventsResultItem$outboundSchema` instead. */
    const outboundSchema: z.ZodType<EventsResultItem$Outbound, z.ZodTypeDef, EventsResultItem>;
    /** @deprecated use `EventsResultItem$Outbound` instead. */
    type Outbound = EventsResultItem$Outbound;
}
export declare function eventsResultItemToJSON(eventsResultItem: EventsResultItem): string;
export declare function eventsResultItemFromJSON(jsonString: string): SafeParseResult<EventsResultItem, SDKValidationError>;
/** @internal */
export declare const QueryEventsResponseData$inboundSchema: z.ZodType<QueryEventsResponseData, z.ZodTypeDef, unknown>;
/** @internal */
export type QueryEventsResponseData$Outbound = {
    result: Array<EventsResultItem$Outbound>;
    total: number;
    pageSize: number;
    count: number;
};
/** @internal */
export declare const QueryEventsResponseData$outboundSchema: z.ZodType<QueryEventsResponseData$Outbound, z.ZodTypeDef, QueryEventsResponseData>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace QueryEventsResponseData$ {
    /** @deprecated use `QueryEventsResponseData$inboundSchema` instead. */
    const inboundSchema: z.ZodType<QueryEventsResponseData, z.ZodTypeDef, unknown>;
    /** @deprecated use `QueryEventsResponseData$outboundSchema` instead. */
    const outboundSchema: z.ZodType<QueryEventsResponseData$Outbound, z.ZodTypeDef, QueryEventsResponseData>;
    /** @deprecated use `QueryEventsResponseData$Outbound` instead. */
    type Outbound = QueryEventsResponseData$Outbound;
}
export declare function queryEventsResponseDataToJSON(queryEventsResponseData: QueryEventsResponseData): string;
export declare function queryEventsResponseDataFromJSON(jsonString: string): SafeParseResult<QueryEventsResponseData, SDKValidationError>;
//# sourceMappingURL=queryeventsresponsedata.d.ts.map