import * as z from "zod";
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 CrmListContactsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type CrmListContactsRequest = {
    /**
     * 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?: CrmListContactsQueryParamFilter | null | undefined;
    /**
     * The comma separated list of fields that will be included in the response
     */
    include?: string | null | undefined;
    /**
     * 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
     */
    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 is returned
     */
    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?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type CrmListContactsResponse = {
    /**
     * The list of contacts was retrieved.
     */
    contactsPaginated?: shared.ContactsPaginated | undefined;
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const CrmListContactsQueryParamFilter$inboundSchema: z.ZodType<CrmListContactsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const CrmListContactsQueryParamFilter$outboundSchema: z.ZodType<CrmListContactsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListContactsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactsQueryParamFilter$ {
    /** @deprecated use `CrmListContactsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListContactsQueryParamFilter>;
    /** @deprecated use `CrmListContactsQueryParamFilter$Outbound` instead. */
    type Outbound = CrmListContactsQueryParamFilter$Outbound;
}
export declare function crmListContactsQueryParamFilterToJSON(crmListContactsQueryParamFilter: CrmListContactsQueryParamFilter): string;
export declare function crmListContactsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<CrmListContactsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const CrmListContactsRequest$inboundSchema: z.ZodType<CrmListContactsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: CrmListContactsQueryParamFilter$Outbound | null | undefined;
    include?: string | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size: string | null;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw: boolean | null;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const CrmListContactsRequest$outboundSchema: z.ZodType<CrmListContactsRequest$Outbound, z.ZodTypeDef, CrmListContactsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactsRequest$ {
    /** @deprecated use `CrmListContactsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactsRequest$Outbound, z.ZodTypeDef, CrmListContactsRequest>;
    /** @deprecated use `CrmListContactsRequest$Outbound` instead. */
    type Outbound = CrmListContactsRequest$Outbound;
}
export declare function crmListContactsRequestToJSON(crmListContactsRequest: CrmListContactsRequest): string;
export declare function crmListContactsRequestFromJSON(jsonString: string): SafeParseResult<CrmListContactsRequest, SDKValidationError>;
/** @internal */
export declare const CrmListContactsResponse$inboundSchema: z.ZodType<CrmListContactsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactsResponse$Outbound = {
    ContactsPaginated?: shared.ContactsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const CrmListContactsResponse$outboundSchema: z.ZodType<CrmListContactsResponse$Outbound, z.ZodTypeDef, CrmListContactsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactsResponse$ {
    /** @deprecated use `CrmListContactsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactsResponse$Outbound, z.ZodTypeDef, CrmListContactsResponse>;
    /** @deprecated use `CrmListContactsResponse$Outbound` instead. */
    type Outbound = CrmListContactsResponse$Outbound;
}
export declare function crmListContactsResponseToJSON(crmListContactsResponse: CrmListContactsResponse): string;
export declare function crmListContactsResponseFromJSON(jsonString: string): SafeParseResult<CrmListContactsResponse, SDKValidationError>;
//# sourceMappingURL=crmlistcontacts.d.ts.map