import * as z from "zod/v3";
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 TicketingListProjectsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type TicketingListProjectsRequest = {
    /**
     * 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?: TicketingListProjectsQueryParamFilter | 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?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type TicketingListProjectsResponse = {
    /**
     * 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 projects was retrieved.
     */
    ticketingProjectsPaginated?: shared.TicketingProjectsPaginated | undefined;
};
/** @internal */
export declare const TicketingListProjectsQueryParamFilter$inboundSchema: z.ZodType<TicketingListProjectsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListProjectsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const TicketingListProjectsQueryParamFilter$outboundSchema: z.ZodType<TicketingListProjectsQueryParamFilter$Outbound, z.ZodTypeDef, TicketingListProjectsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListProjectsQueryParamFilter$ {
    /** @deprecated use `TicketingListProjectsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListProjectsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListProjectsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListProjectsQueryParamFilter$Outbound, z.ZodTypeDef, TicketingListProjectsQueryParamFilter>;
    /** @deprecated use `TicketingListProjectsQueryParamFilter$Outbound` instead. */
    type Outbound = TicketingListProjectsQueryParamFilter$Outbound;
}
export declare function ticketingListProjectsQueryParamFilterToJSON(ticketingListProjectsQueryParamFilter: TicketingListProjectsQueryParamFilter): string;
export declare function ticketingListProjectsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<TicketingListProjectsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const TicketingListProjectsRequest$inboundSchema: z.ZodType<TicketingListProjectsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListProjectsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: TicketingListProjectsQueryParamFilter$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 TicketingListProjectsRequest$outboundSchema: z.ZodType<TicketingListProjectsRequest$Outbound, z.ZodTypeDef, TicketingListProjectsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListProjectsRequest$ {
    /** @deprecated use `TicketingListProjectsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListProjectsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListProjectsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListProjectsRequest$Outbound, z.ZodTypeDef, TicketingListProjectsRequest>;
    /** @deprecated use `TicketingListProjectsRequest$Outbound` instead. */
    type Outbound = TicketingListProjectsRequest$Outbound;
}
export declare function ticketingListProjectsRequestToJSON(ticketingListProjectsRequest: TicketingListProjectsRequest): string;
export declare function ticketingListProjectsRequestFromJSON(jsonString: string): SafeParseResult<TicketingListProjectsRequest, SDKValidationError>;
/** @internal */
export declare const TicketingListProjectsResponse$inboundSchema: z.ZodType<TicketingListProjectsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingListProjectsResponse$Outbound = {
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
    TicketingProjectsPaginated?: shared.TicketingProjectsPaginated$Outbound | undefined;
};
/** @internal */
export declare const TicketingListProjectsResponse$outboundSchema: z.ZodType<TicketingListProjectsResponse$Outbound, z.ZodTypeDef, TicketingListProjectsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingListProjectsResponse$ {
    /** @deprecated use `TicketingListProjectsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingListProjectsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingListProjectsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingListProjectsResponse$Outbound, z.ZodTypeDef, TicketingListProjectsResponse>;
    /** @deprecated use `TicketingListProjectsResponse$Outbound` instead. */
    type Outbound = TicketingListProjectsResponse$Outbound;
}
export declare function ticketingListProjectsResponseToJSON(ticketingListProjectsResponse: TicketingListProjectsResponse): string;
export declare function ticketingListProjectsResponseFromJSON(jsonString: string): SafeParseResult<TicketingListProjectsResponse, SDKValidationError>;
//# sourceMappingURL=ticketinglistprojects.d.ts.map