/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetAllFeedbackRequest$inboundSchema = z.object({
    limit: z.nullable(z.number().int().default(10)),
    offset: z.nullable(z.number().int().default(0)),
});
/** @internal */
export const GetAllFeedbackRequest$outboundSchema = z.object({
    limit: z.nullable(z.number().int().default(10)),
    offset: z.nullable(z.number().int().default(0)),
});
export function getAllFeedbackRequestToJSON(getAllFeedbackRequest) {
    return JSON.stringify(GetAllFeedbackRequest$outboundSchema.parse(getAllFeedbackRequest));
}
export function getAllFeedbackRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAllFeedbackRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAllFeedbackRequest' from JSON`);
}
//# sourceMappingURL=getallfeedback.js.map