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 feedback entries in by creation date of the underlying request. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc' (newest first). */ export declare const ListCompletionFeedbackQueryParamOrder: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * The order to return feedback entries in by creation date of the underlying request. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc' (newest first). */ export type ListCompletionFeedbackQueryParamOrder = ClosedEnum; /** * Only return feedback entries with this rating. Omit to return entries with any rating. */ export declare const QueryParamRating: { readonly ThumbsUp: "thumbs_up"; readonly ThumbsDown: "thumbs_down"; }; /** * Only return feedback entries with this rating. Omit to return entries with any rating. */ export type QueryParamRating = ClosedEnum; export type ListCompletionFeedbackRequest = { after?: string | undefined; limit?: number | undefined; /** * The order to return feedback entries in by creation date of the underlying request. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc' (newest first). */ order?: ListCompletionFeedbackQueryParamOrder | undefined; /** * Only return feedback entries with this rating. Omit to return entries with any rating. */ rating?: QueryParamRating | undefined; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; /** @internal */ export declare const ListCompletionFeedbackQueryParamOrder$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListCompletionFeedbackQueryParamOrder$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const QueryParamRating$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const QueryParamRating$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListCompletionFeedbackRequest$inboundSchema: z.ZodType; /** @internal */ export type ListCompletionFeedbackRequest$Outbound = { after?: string | undefined; limit: number; order: string; rating?: string | undefined; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListCompletionFeedbackRequest$outboundSchema: z.ZodType; export declare function listCompletionFeedbackRequestToJSON(listCompletionFeedbackRequest: ListCompletionFeedbackRequest): string; export declare function listCompletionFeedbackRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listcompletionfeedback.d.ts.map