import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Filter parameters that allow greater customisation of the list response
 */
export type MessagingListConversationMessagesQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type MessagingListConversationMessagesRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Filter parameters that allow greater customisation of the list response
     */
    filter?: MessagingListConversationMessagesQueryParamFilter | null | undefined;
    id: string;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type MessagingListConversationMessagesResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of messages in the conversation was retrieved.
     */
    messagingMessagesPaginated?: shared.MessagingMessagesPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const MessagingListConversationMessagesQueryParamFilter$inboundSchema: z.ZodType<MessagingListConversationMessagesQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListConversationMessagesQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const MessagingListConversationMessagesQueryParamFilter$outboundSchema: z.ZodType<MessagingListConversationMessagesQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListConversationMessagesQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListConversationMessagesQueryParamFilter$ {
    /** @deprecated use `MessagingListConversationMessagesQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListConversationMessagesQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListConversationMessagesQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListConversationMessagesQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListConversationMessagesQueryParamFilter>;
    /** @deprecated use `MessagingListConversationMessagesQueryParamFilter$Outbound` instead. */
    type Outbound = MessagingListConversationMessagesQueryParamFilter$Outbound;
}
export declare function messagingListConversationMessagesQueryParamFilterToJSON(messagingListConversationMessagesQueryParamFilter: MessagingListConversationMessagesQueryParamFilter): string;
export declare function messagingListConversationMessagesQueryParamFilterFromJSON(jsonString: string): SafeParseResult<MessagingListConversationMessagesQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const MessagingListConversationMessagesRequest$inboundSchema: z.ZodType<MessagingListConversationMessagesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListConversationMessagesRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: MessagingListConversationMessagesQueryParamFilter$Outbound | null | undefined;
    id: string;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const MessagingListConversationMessagesRequest$outboundSchema: z.ZodType<MessagingListConversationMessagesRequest$Outbound, z.ZodTypeDef, MessagingListConversationMessagesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListConversationMessagesRequest$ {
    /** @deprecated use `MessagingListConversationMessagesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListConversationMessagesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListConversationMessagesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListConversationMessagesRequest$Outbound, z.ZodTypeDef, MessagingListConversationMessagesRequest>;
    /** @deprecated use `MessagingListConversationMessagesRequest$Outbound` instead. */
    type Outbound = MessagingListConversationMessagesRequest$Outbound;
}
export declare function messagingListConversationMessagesRequestToJSON(messagingListConversationMessagesRequest: MessagingListConversationMessagesRequest): string;
export declare function messagingListConversationMessagesRequestFromJSON(jsonString: string): SafeParseResult<MessagingListConversationMessagesRequest, SDKValidationError>;
/** @internal */
export declare const MessagingListConversationMessagesResponse$inboundSchema: z.ZodType<MessagingListConversationMessagesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListConversationMessagesResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    MessagingMessagesPaginated?: shared.MessagingMessagesPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MessagingListConversationMessagesResponse$outboundSchema: z.ZodType<MessagingListConversationMessagesResponse$Outbound, z.ZodTypeDef, MessagingListConversationMessagesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListConversationMessagesResponse$ {
    /** @deprecated use `MessagingListConversationMessagesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListConversationMessagesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListConversationMessagesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListConversationMessagesResponse$Outbound, z.ZodTypeDef, MessagingListConversationMessagesResponse>;
    /** @deprecated use `MessagingListConversationMessagesResponse$Outbound` instead. */
    type Outbound = MessagingListConversationMessagesResponse$Outbound;
}
export declare function messagingListConversationMessagesResponseToJSON(messagingListConversationMessagesResponse: MessagingListConversationMessagesResponse): string;
export declare function messagingListConversationMessagesResponseFromJSON(jsonString: string): SafeParseResult<MessagingListConversationMessagesResponse, SDKValidationError>;
//# sourceMappingURL=messaginglistconversationmessages.d.ts.map