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 MessagingListAttachmentsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type MessagingListAttachmentsRequest = {
    /**
     * 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?: MessagingListAttachmentsQueryParamFilter | 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 MessagingListAttachmentsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of attachments was retrieved.
     */
    messagingAttachmentsPaginated?: shared.MessagingAttachmentsPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const MessagingListAttachmentsQueryParamFilter$inboundSchema: z.ZodType<MessagingListAttachmentsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListAttachmentsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const MessagingListAttachmentsQueryParamFilter$outboundSchema: z.ZodType<MessagingListAttachmentsQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListAttachmentsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListAttachmentsQueryParamFilter$ {
    /** @deprecated use `MessagingListAttachmentsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListAttachmentsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListAttachmentsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListAttachmentsQueryParamFilter$Outbound, z.ZodTypeDef, MessagingListAttachmentsQueryParamFilter>;
    /** @deprecated use `MessagingListAttachmentsQueryParamFilter$Outbound` instead. */
    type Outbound = MessagingListAttachmentsQueryParamFilter$Outbound;
}
export declare function messagingListAttachmentsQueryParamFilterToJSON(messagingListAttachmentsQueryParamFilter: MessagingListAttachmentsQueryParamFilter): string;
export declare function messagingListAttachmentsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<MessagingListAttachmentsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const MessagingListAttachmentsRequest$inboundSchema: z.ZodType<MessagingListAttachmentsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListAttachmentsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: MessagingListAttachmentsQueryParamFilter$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 MessagingListAttachmentsRequest$outboundSchema: z.ZodType<MessagingListAttachmentsRequest$Outbound, z.ZodTypeDef, MessagingListAttachmentsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListAttachmentsRequest$ {
    /** @deprecated use `MessagingListAttachmentsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListAttachmentsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListAttachmentsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListAttachmentsRequest$Outbound, z.ZodTypeDef, MessagingListAttachmentsRequest>;
    /** @deprecated use `MessagingListAttachmentsRequest$Outbound` instead. */
    type Outbound = MessagingListAttachmentsRequest$Outbound;
}
export declare function messagingListAttachmentsRequestToJSON(messagingListAttachmentsRequest: MessagingListAttachmentsRequest): string;
export declare function messagingListAttachmentsRequestFromJSON(jsonString: string): SafeParseResult<MessagingListAttachmentsRequest, SDKValidationError>;
/** @internal */
export declare const MessagingListAttachmentsResponse$inboundSchema: z.ZodType<MessagingListAttachmentsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MessagingListAttachmentsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    MessagingAttachmentsPaginated?: shared.MessagingAttachmentsPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MessagingListAttachmentsResponse$outboundSchema: z.ZodType<MessagingListAttachmentsResponse$Outbound, z.ZodTypeDef, MessagingListAttachmentsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MessagingListAttachmentsResponse$ {
    /** @deprecated use `MessagingListAttachmentsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MessagingListAttachmentsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MessagingListAttachmentsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MessagingListAttachmentsResponse$Outbound, z.ZodTypeDef, MessagingListAttachmentsResponse>;
    /** @deprecated use `MessagingListAttachmentsResponse$Outbound` instead. */
    type Outbound = MessagingListAttachmentsResponse$Outbound;
}
export declare function messagingListAttachmentsResponseToJSON(messagingListAttachmentsResponse: MessagingListAttachmentsResponse): string;
export declare function messagingListAttachmentsResponseFromJSON(jsonString: string): SafeParseResult<MessagingListAttachmentsResponse, SDKValidationError>;
//# sourceMappingURL=messaginglistattachments.d.ts.map