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 AtsListLocationsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsListLocationsRequest = {
    /**
     * 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?: AtsListLocationsQueryParamFilter | 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;
    /**
     * The sync token to select the only updated results
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    syncToken?: string | 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 AtsListLocationsResponse = {
    /**
     * The list of locations was retrieved.
     */
    atsLocationsPaginated?: shared.ATSLocationsPaginated | 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 AtsListLocationsQueryParamFilter$inboundSchema: z.ZodType<AtsListLocationsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListLocationsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AtsListLocationsQueryParamFilter$outboundSchema: z.ZodType<AtsListLocationsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListLocationsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListLocationsQueryParamFilter$ {
    /** @deprecated use `AtsListLocationsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListLocationsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListLocationsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListLocationsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListLocationsQueryParamFilter>;
    /** @deprecated use `AtsListLocationsQueryParamFilter$Outbound` instead. */
    type Outbound = AtsListLocationsQueryParamFilter$Outbound;
}
export declare function atsListLocationsQueryParamFilterToJSON(atsListLocationsQueryParamFilter: AtsListLocationsQueryParamFilter): string;
export declare function atsListLocationsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AtsListLocationsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsListLocationsRequest$inboundSchema: z.ZodType<AtsListLocationsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListLocationsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AtsListLocationsQueryParamFilter$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;
    sync_token?: string | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const AtsListLocationsRequest$outboundSchema: z.ZodType<AtsListLocationsRequest$Outbound, z.ZodTypeDef, AtsListLocationsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListLocationsRequest$ {
    /** @deprecated use `AtsListLocationsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListLocationsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListLocationsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListLocationsRequest$Outbound, z.ZodTypeDef, AtsListLocationsRequest>;
    /** @deprecated use `AtsListLocationsRequest$Outbound` instead. */
    type Outbound = AtsListLocationsRequest$Outbound;
}
export declare function atsListLocationsRequestToJSON(atsListLocationsRequest: AtsListLocationsRequest): string;
export declare function atsListLocationsRequestFromJSON(jsonString: string): SafeParseResult<AtsListLocationsRequest, SDKValidationError>;
/** @internal */
export declare const AtsListLocationsResponse$inboundSchema: z.ZodType<AtsListLocationsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListLocationsResponse$Outbound = {
    ATSLocationsPaginated?: shared.ATSLocationsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsListLocationsResponse$outboundSchema: z.ZodType<AtsListLocationsResponse$Outbound, z.ZodTypeDef, AtsListLocationsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListLocationsResponse$ {
    /** @deprecated use `AtsListLocationsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListLocationsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListLocationsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListLocationsResponse$Outbound, z.ZodTypeDef, AtsListLocationsResponse>;
    /** @deprecated use `AtsListLocationsResponse$Outbound` instead. */
    type Outbound = AtsListLocationsResponse$Outbound;
}
export declare function atsListLocationsResponseToJSON(atsListLocationsResponse: AtsListLocationsResponse): string;
export declare function atsListLocationsResponseFromJSON(jsonString: string): SafeParseResult<AtsListLocationsResponse, SDKValidationError>;
//# sourceMappingURL=atslistlocations.d.ts.map