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 CrmListContactCustomFieldDefinitionsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type CrmListContactCustomFieldDefinitionsRequest = {
    /**
     * 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?: CrmListContactCustomFieldDefinitionsQueryParamFilter | 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 CrmListContactCustomFieldDefinitionsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The list of contacts custom field definitions was retrieved.
     */
    customFieldDefinitionsPaginated?: shared.CustomFieldDefinitionsPaginated | undefined;
    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 CrmListContactCustomFieldDefinitionsQueryParamFilter$inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const CrmListContactCustomFieldDefinitionsQueryParamFilter$outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactCustomFieldDefinitionsQueryParamFilter$ {
    /** @deprecated use `CrmListContactCustomFieldDefinitionsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsQueryParamFilter>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound` instead. */
    type Outbound = CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound;
}
export declare function crmListContactCustomFieldDefinitionsQueryParamFilterToJSON(crmListContactCustomFieldDefinitionsQueryParamFilter: CrmListContactCustomFieldDefinitionsQueryParamFilter): string;
export declare function crmListContactCustomFieldDefinitionsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<CrmListContactCustomFieldDefinitionsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const CrmListContactCustomFieldDefinitionsRequest$inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactCustomFieldDefinitionsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: CrmListContactCustomFieldDefinitionsQueryParamFilter$Outbound | 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 CrmListContactCustomFieldDefinitionsRequest$outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsRequest$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactCustomFieldDefinitionsRequest$ {
    /** @deprecated use `CrmListContactCustomFieldDefinitionsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsRequest$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsRequest>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsRequest$Outbound` instead. */
    type Outbound = CrmListContactCustomFieldDefinitionsRequest$Outbound;
}
export declare function crmListContactCustomFieldDefinitionsRequestToJSON(crmListContactCustomFieldDefinitionsRequest: CrmListContactCustomFieldDefinitionsRequest): string;
export declare function crmListContactCustomFieldDefinitionsRequestFromJSON(jsonString: string): SafeParseResult<CrmListContactCustomFieldDefinitionsRequest, SDKValidationError>;
/** @internal */
export declare const CrmListContactCustomFieldDefinitionsResponse$inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListContactCustomFieldDefinitionsResponse$Outbound = {
    ContentType: string;
    CustomFieldDefinitionsPaginated?: shared.CustomFieldDefinitionsPaginated$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const CrmListContactCustomFieldDefinitionsResponse$outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsResponse$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListContactCustomFieldDefinitionsResponse$ {
    /** @deprecated use `CrmListContactCustomFieldDefinitionsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListContactCustomFieldDefinitionsResponse$Outbound, z.ZodTypeDef, CrmListContactCustomFieldDefinitionsResponse>;
    /** @deprecated use `CrmListContactCustomFieldDefinitionsResponse$Outbound` instead. */
    type Outbound = CrmListContactCustomFieldDefinitionsResponse$Outbound;
}
export declare function crmListContactCustomFieldDefinitionsResponseToJSON(crmListContactCustomFieldDefinitionsResponse: CrmListContactCustomFieldDefinitionsResponse): string;
export declare function crmListContactCustomFieldDefinitionsResponseFromJSON(jsonString: string): SafeParseResult<CrmListContactCustomFieldDefinitionsResponse, SDKValidationError>;
//# sourceMappingURL=crmlistcontactcustomfielddefinitions.d.ts.map