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 TicketingListTicketsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type TicketingListTicketsRequest = {
    /**
     * 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?: TicketingListTicketsQueryParamFilter | 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 TicketingListTicketsResponse = {
    /**
     * 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;
    /**
     * The list of tickets was retrieved.
     */
    ticketingTicketsPaginated?: shared.TicketingTicketsPaginated | undefined;
};
/** @internal */
export declare const TicketingListTicketsQueryParamFilter$inboundSchema: z.ZodType<TicketingListTicketsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListTicketsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const TicketingListTicketsQueryParamFilter$outboundSchema: z.ZodType<TicketingListTicketsQueryParamFilter$Outbound, z.ZodTypeDef, TicketingListTicketsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListTicketsQueryParamFilter$ {
    /** @deprecated use `TicketingListTicketsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListTicketsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListTicketsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListTicketsQueryParamFilter$Outbound, z.ZodTypeDef, TicketingListTicketsQueryParamFilter>;
    /** @deprecated use `TicketingListTicketsQueryParamFilter$Outbound` instead. */
    type Outbound = TicketingListTicketsQueryParamFilter$Outbound;
}
export declare function ticketingListTicketsQueryParamFilterToJSON(ticketingListTicketsQueryParamFilter: TicketingListTicketsQueryParamFilter): string;
export declare function ticketingListTicketsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<TicketingListTicketsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const TicketingListTicketsRequest$inboundSchema: z.ZodType<TicketingListTicketsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListTicketsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: TicketingListTicketsQueryParamFilter$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 TicketingListTicketsRequest$outboundSchema: z.ZodType<TicketingListTicketsRequest$Outbound, z.ZodTypeDef, TicketingListTicketsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListTicketsRequest$ {
    /** @deprecated use `TicketingListTicketsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListTicketsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListTicketsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListTicketsRequest$Outbound, z.ZodTypeDef, TicketingListTicketsRequest>;
    /** @deprecated use `TicketingListTicketsRequest$Outbound` instead. */
    type Outbound = TicketingListTicketsRequest$Outbound;
}
export declare function ticketingListTicketsRequestToJSON(ticketingListTicketsRequest: TicketingListTicketsRequest): string;
export declare function ticketingListTicketsRequestFromJSON(jsonString: string): SafeParseResult<TicketingListTicketsRequest, SDKValidationError>;
/** @internal */
export declare const TicketingListTicketsResponse$inboundSchema: z.ZodType<TicketingListTicketsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListTicketsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
    TicketingTicketsPaginated?: shared.TicketingTicketsPaginated$Outbound | undefined;
};
/** @internal */
export declare const TicketingListTicketsResponse$outboundSchema: z.ZodType<TicketingListTicketsResponse$Outbound, z.ZodTypeDef, TicketingListTicketsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListTicketsResponse$ {
    /** @deprecated use `TicketingListTicketsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListTicketsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListTicketsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListTicketsResponse$Outbound, z.ZodTypeDef, TicketingListTicketsResponse>;
    /** @deprecated use `TicketingListTicketsResponse$Outbound` instead. */
    type Outbound = TicketingListTicketsResponse$Outbound;
}
export declare function ticketingListTicketsResponseToJSON(ticketingListTicketsResponse: TicketingListTicketsResponse): string;
export declare function ticketingListTicketsResponseFromJSON(jsonString: string): SafeParseResult<TicketingListTicketsResponse, SDKValidationError>;
//# sourceMappingURL=ticketinglisttickets.d.ts.map