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 feedback rating indicating user satisfaction */ export declare const ListFeedbackResponseRating: { readonly ThumbsUp: "thumbs_up"; readonly ThumbsDown: "thumbs_down"; }; /** * The feedback rating indicating user satisfaction */ export type ListFeedbackResponseRating = ClosedEnum; /** * Feedback entry in a list, including the model that produced the rated output. */ export type ListFeedbackResponseData = { /** * The request ID that this feedback is associated with */ id: string; /** * The feedback rating indicating user satisfaction */ rating?: ListFeedbackResponseRating | undefined; /** * Optional detailed feedback description providing additional context or explanation */ description?: string | undefined; /** * The model that produced the rated output. */ model: string; /** * Timestamp when the underlying output was created */ createdAt: Date; /** * Timestamp when the underlying output record was last updated */ updatedAt: Date; }; /** * Paginated list object containing feedback entries with cursor-based pagination metadata. */ export type ListFeedbackResponse = { /** * The object type, always 'list' for paginated list responses. */ object: "list"; /** * Array of feedback entries ordered by creation date of the underlying request. */ data: Array; /** * The ID of the first feedback entry in the current page. Used as a reference point for pagination. */ firstId?: string | undefined; /** * The ID of the last feedback entry in the current page. Used as a cursor for fetching the next page. */ lastId?: string | undefined; /** * Indicates whether there are more feedback entries available beyond the current page. True if additional pages exist. */ hasMore: boolean; }; /** @internal */ export declare const ListFeedbackResponseRating$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListFeedbackResponseRating$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListFeedbackResponseData$inboundSchema: z.ZodType; /** @internal */ export type ListFeedbackResponseData$Outbound = { id: string; rating?: string | undefined; description?: string | undefined; model: string; created_at: string; updated_at: string; }; /** @internal */ export declare const ListFeedbackResponseData$outboundSchema: z.ZodType; export declare function listFeedbackResponseDataToJSON(listFeedbackResponseData: ListFeedbackResponseData): string; export declare function listFeedbackResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListFeedbackResponse$inboundSchema: z.ZodType; /** @internal */ export type ListFeedbackResponse$Outbound = { object: "list"; data: Array; first_id?: string | undefined; last_id?: string | undefined; has_more: boolean; }; /** @internal */ export declare const ListFeedbackResponse$outboundSchema: z.ZodType; export declare function listFeedbackResponseToJSON(listFeedbackResponse: ListFeedbackResponse): string; export declare function listFeedbackResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listfeedbackresponse.d.ts.map