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 CrmListAccountsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type CrmListAccountsRequest = {
    /**
     * 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?: CrmListAccountsQueryParamFilter | 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 (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?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type CrmListAccountsResponse = {
    /**
     * The list of accounts was retrieved.
     */
    accountsPaginated?: shared.AccountsPaginated | 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 CrmListAccountsQueryParamFilter$inboundSchema: z.ZodType<CrmListAccountsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListAccountsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const CrmListAccountsQueryParamFilter$outboundSchema: z.ZodType<CrmListAccountsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListAccountsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListAccountsQueryParamFilter$ {
    /** @deprecated use `CrmListAccountsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListAccountsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListAccountsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListAccountsQueryParamFilter$Outbound, z.ZodTypeDef, CrmListAccountsQueryParamFilter>;
    /** @deprecated use `CrmListAccountsQueryParamFilter$Outbound` instead. */
    type Outbound = CrmListAccountsQueryParamFilter$Outbound;
}
export declare function crmListAccountsQueryParamFilterToJSON(crmListAccountsQueryParamFilter: CrmListAccountsQueryParamFilter): string;
export declare function crmListAccountsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<CrmListAccountsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const CrmListAccountsRequest$inboundSchema: z.ZodType<CrmListAccountsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListAccountsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: CrmListAccountsQueryParamFilter$Outbound | null | undefined;
    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 CrmListAccountsRequest$outboundSchema: z.ZodType<CrmListAccountsRequest$Outbound, z.ZodTypeDef, CrmListAccountsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListAccountsRequest$ {
    /** @deprecated use `CrmListAccountsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListAccountsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListAccountsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListAccountsRequest$Outbound, z.ZodTypeDef, CrmListAccountsRequest>;
    /** @deprecated use `CrmListAccountsRequest$Outbound` instead. */
    type Outbound = CrmListAccountsRequest$Outbound;
}
export declare function crmListAccountsRequestToJSON(crmListAccountsRequest: CrmListAccountsRequest): string;
export declare function crmListAccountsRequestFromJSON(jsonString: string): SafeParseResult<CrmListAccountsRequest, SDKValidationError>;
/** @internal */
export declare const CrmListAccountsResponse$inboundSchema: z.ZodType<CrmListAccountsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CrmListAccountsResponse$Outbound = {
    AccountsPaginated?: shared.AccountsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const CrmListAccountsResponse$outboundSchema: z.ZodType<CrmListAccountsResponse$Outbound, z.ZodTypeDef, CrmListAccountsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CrmListAccountsResponse$ {
    /** @deprecated use `CrmListAccountsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CrmListAccountsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CrmListAccountsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CrmListAccountsResponse$Outbound, z.ZodTypeDef, CrmListAccountsResponse>;
    /** @deprecated use `CrmListAccountsResponse$Outbound` instead. */
    type Outbound = CrmListAccountsResponse$Outbound;
}
export declare function crmListAccountsResponseToJSON(crmListAccountsResponse: CrmListAccountsResponse): string;
export declare function crmListAccountsResponseFromJSON(jsonString: string): SafeParseResult<CrmListAccountsResponse, SDKValidationError>;
//# sourceMappingURL=crmlistaccounts.d.ts.map