import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The order to return the responses in by creation date. 'asc' returns oldest responses first, 'desc' returns newest responses first. Defaults to 'desc' (newest first). */ export declare const ListResponsesQueryParamOrder: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * The order to return the responses in by creation date. 'asc' returns oldest responses first, 'desc' returns newest responses first. Defaults to 'desc' (newest first). */ export type ListResponsesQueryParamOrder = ClosedEnum; export type ListResponsesRequest = { after?: string | undefined; before?: string | undefined; limit?: number | undefined; /** * The order to return the responses in by creation date. 'asc' returns oldest responses first, 'desc' returns newest responses first. Defaults to 'desc' (newest first). */ order?: ListResponsesQueryParamOrder | undefined; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; /** @internal */ export declare const ListResponsesQueryParamOrder$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListResponsesQueryParamOrder$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListResponsesRequest$inboundSchema: z.ZodType; /** @internal */ export type ListResponsesRequest$Outbound = { after?: string | undefined; before?: string | undefined; limit: number; order: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListResponsesRequest$outboundSchema: z.ZodType; export declare function listResponsesRequestToJSON(listResponsesRequest: ListResponsesRequest): string; export declare function listResponsesRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listresponses.d.ts.map