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 AtsListOffersQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsListOffersRequest = {
    /**
     * 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?: AtsListOffersQueryParamFilter | 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 AtsListOffersResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of offers was retrieved.
     */
    offersPaginated?: shared.OffersPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const AtsListOffersQueryParamFilter$inboundSchema: z.ZodType<AtsListOffersQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListOffersQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AtsListOffersQueryParamFilter$outboundSchema: z.ZodType<AtsListOffersQueryParamFilter$Outbound, z.ZodTypeDef, AtsListOffersQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListOffersQueryParamFilter$ {
    /** @deprecated use `AtsListOffersQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListOffersQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListOffersQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListOffersQueryParamFilter$Outbound, z.ZodTypeDef, AtsListOffersQueryParamFilter>;
    /** @deprecated use `AtsListOffersQueryParamFilter$Outbound` instead. */
    type Outbound = AtsListOffersQueryParamFilter$Outbound;
}
export declare function atsListOffersQueryParamFilterToJSON(atsListOffersQueryParamFilter: AtsListOffersQueryParamFilter): string;
export declare function atsListOffersQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AtsListOffersQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsListOffersRequest$inboundSchema: z.ZodType<AtsListOffersRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListOffersRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AtsListOffersQueryParamFilter$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 AtsListOffersRequest$outboundSchema: z.ZodType<AtsListOffersRequest$Outbound, z.ZodTypeDef, AtsListOffersRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListOffersRequest$ {
    /** @deprecated use `AtsListOffersRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListOffersRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListOffersRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListOffersRequest$Outbound, z.ZodTypeDef, AtsListOffersRequest>;
    /** @deprecated use `AtsListOffersRequest$Outbound` instead. */
    type Outbound = AtsListOffersRequest$Outbound;
}
export declare function atsListOffersRequestToJSON(atsListOffersRequest: AtsListOffersRequest): string;
export declare function atsListOffersRequestFromJSON(jsonString: string): SafeParseResult<AtsListOffersRequest, SDKValidationError>;
/** @internal */
export declare const AtsListOffersResponse$inboundSchema: z.ZodType<AtsListOffersResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListOffersResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    OffersPaginated?: shared.OffersPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsListOffersResponse$outboundSchema: z.ZodType<AtsListOffersResponse$Outbound, z.ZodTypeDef, AtsListOffersResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListOffersResponse$ {
    /** @deprecated use `AtsListOffersResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListOffersResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListOffersResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListOffersResponse$Outbound, z.ZodTypeDef, AtsListOffersResponse>;
    /** @deprecated use `AtsListOffersResponse$Outbound` instead. */
    type Outbound = AtsListOffersResponse$Outbound;
}
export declare function atsListOffersResponseToJSON(atsListOffersResponse: AtsListOffersResponse): string;
export declare function atsListOffersResponseFromJSON(jsonString: string): SafeParseResult<AtsListOffersResponse, SDKValidationError>;
//# sourceMappingURL=atslistoffers.d.ts.map