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 CrmGetContactCustomFieldDefinitionQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type CrmGetContactCustomFieldDefinitionRequest = {
    /**
     * 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?: CrmGetContactCustomFieldDefinitionQueryParamFilter | 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
     */
    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 CrmGetContactCustomFieldDefinitionResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The contact custom field definition was retrieved.
     */
    customFieldDefinitionResultApiModel?: shared.CustomFieldDefinitionResultApiModel | 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 CrmGetContactCustomFieldDefinitionQueryParamFilter$inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const CrmGetContactCustomFieldDefinitionQueryParamFilter$outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmGetContactCustomFieldDefinitionQueryParamFilter$ {
    /** @deprecated use `CrmGetContactCustomFieldDefinitionQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionQueryParamFilter>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound` instead. */
    type Outbound = CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound;
}
export declare function crmGetContactCustomFieldDefinitionQueryParamFilterToJSON(crmGetContactCustomFieldDefinitionQueryParamFilter: CrmGetContactCustomFieldDefinitionQueryParamFilter): string;
export declare function crmGetContactCustomFieldDefinitionQueryParamFilterFromJSON(jsonString: string): SafeParseResult<CrmGetContactCustomFieldDefinitionQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const CrmGetContactCustomFieldDefinitionRequest$inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmGetContactCustomFieldDefinitionRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: CrmGetContactCustomFieldDefinitionQueryParamFilter$Outbound | null | undefined;
    id: string;
    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 CrmGetContactCustomFieldDefinitionRequest$outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmGetContactCustomFieldDefinitionRequest$ {
    /** @deprecated use `CrmGetContactCustomFieldDefinitionRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionRequest$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionRequest>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionRequest$Outbound` instead. */
    type Outbound = CrmGetContactCustomFieldDefinitionRequest$Outbound;
}
export declare function crmGetContactCustomFieldDefinitionRequestToJSON(crmGetContactCustomFieldDefinitionRequest: CrmGetContactCustomFieldDefinitionRequest): string;
export declare function crmGetContactCustomFieldDefinitionRequestFromJSON(jsonString: string): SafeParseResult<CrmGetContactCustomFieldDefinitionRequest, SDKValidationError>;
/** @internal */
export declare const CrmGetContactCustomFieldDefinitionResponse$inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmGetContactCustomFieldDefinitionResponse$Outbound = {
    ContentType: string;
    CustomFieldDefinitionResultApiModel?: shared.CustomFieldDefinitionResultApiModel$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const CrmGetContactCustomFieldDefinitionResponse$outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmGetContactCustomFieldDefinitionResponse$ {
    /** @deprecated use `CrmGetContactCustomFieldDefinitionResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmGetContactCustomFieldDefinitionResponse$Outbound, z.ZodTypeDef, CrmGetContactCustomFieldDefinitionResponse>;
    /** @deprecated use `CrmGetContactCustomFieldDefinitionResponse$Outbound` instead. */
    type Outbound = CrmGetContactCustomFieldDefinitionResponse$Outbound;
}
export declare function crmGetContactCustomFieldDefinitionResponseToJSON(crmGetContactCustomFieldDefinitionResponse: CrmGetContactCustomFieldDefinitionResponse): string;
export declare function crmGetContactCustomFieldDefinitionResponseFromJSON(jsonString: string): SafeParseResult<CrmGetContactCustomFieldDefinitionResponse, SDKValidationError>;
//# sourceMappingURL=crmgetcontactcustomfielddefinition.d.ts.map