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 AtsListRejectedReasonsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type AtsListRejectedReasonsRequest = {
    /**
     * 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?: AtsListRejectedReasonsQueryParamFilter | 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 AtsListRejectedReasonsResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * The list of rejected reasons was retrieved.
     */
    rejectedReasonsPaginated?: shared.RejectedReasonsPaginated | undefined;
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const AtsListRejectedReasonsQueryParamFilter$inboundSchema: z.ZodType<AtsListRejectedReasonsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListRejectedReasonsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AtsListRejectedReasonsQueryParamFilter$outboundSchema: z.ZodType<AtsListRejectedReasonsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListRejectedReasonsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListRejectedReasonsQueryParamFilter$ {
    /** @deprecated use `AtsListRejectedReasonsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListRejectedReasonsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListRejectedReasonsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListRejectedReasonsQueryParamFilter$Outbound, z.ZodTypeDef, AtsListRejectedReasonsQueryParamFilter>;
    /** @deprecated use `AtsListRejectedReasonsQueryParamFilter$Outbound` instead. */
    type Outbound = AtsListRejectedReasonsQueryParamFilter$Outbound;
}
export declare function atsListRejectedReasonsQueryParamFilterToJSON(atsListRejectedReasonsQueryParamFilter: AtsListRejectedReasonsQueryParamFilter): string;
export declare function atsListRejectedReasonsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AtsListRejectedReasonsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AtsListRejectedReasonsRequest$inboundSchema: z.ZodType<AtsListRejectedReasonsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListRejectedReasonsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AtsListRejectedReasonsQueryParamFilter$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 AtsListRejectedReasonsRequest$outboundSchema: z.ZodType<AtsListRejectedReasonsRequest$Outbound, z.ZodTypeDef, AtsListRejectedReasonsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListRejectedReasonsRequest$ {
    /** @deprecated use `AtsListRejectedReasonsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListRejectedReasonsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListRejectedReasonsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListRejectedReasonsRequest$Outbound, z.ZodTypeDef, AtsListRejectedReasonsRequest>;
    /** @deprecated use `AtsListRejectedReasonsRequest$Outbound` instead. */
    type Outbound = AtsListRejectedReasonsRequest$Outbound;
}
export declare function atsListRejectedReasonsRequestToJSON(atsListRejectedReasonsRequest: AtsListRejectedReasonsRequest): string;
export declare function atsListRejectedReasonsRequestFromJSON(jsonString: string): SafeParseResult<AtsListRejectedReasonsRequest, SDKValidationError>;
/** @internal */
export declare const AtsListRejectedReasonsResponse$inboundSchema: z.ZodType<AtsListRejectedReasonsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AtsListRejectedReasonsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    RejectedReasonsPaginated?: shared.RejectedReasonsPaginated$Outbound | undefined;
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AtsListRejectedReasonsResponse$outboundSchema: z.ZodType<AtsListRejectedReasonsResponse$Outbound, z.ZodTypeDef, AtsListRejectedReasonsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AtsListRejectedReasonsResponse$ {
    /** @deprecated use `AtsListRejectedReasonsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AtsListRejectedReasonsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AtsListRejectedReasonsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AtsListRejectedReasonsResponse$Outbound, z.ZodTypeDef, AtsListRejectedReasonsResponse>;
    /** @deprecated use `AtsListRejectedReasonsResponse$Outbound` instead. */
    type Outbound = AtsListRejectedReasonsResponse$Outbound;
}
export declare function atsListRejectedReasonsResponseToJSON(atsListRejectedReasonsResponse: AtsListRejectedReasonsResponse): string;
export declare function atsListRejectedReasonsResponseFromJSON(jsonString: string): SafeParseResult<AtsListRejectedReasonsResponse, SDKValidationError>;
//# sourceMappingURL=atslistrejectedreasons.d.ts.map