/*
 * 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 DeleteFeedbackByIdRequest$inboundSchema = z.object({
    id: z.string(),
});
/** @internal */
export const DeleteFeedbackByIdRequest$outboundSchema = z.object({
    id: z.string(),
});
export function deleteFeedbackByIdRequestToJSON(deleteFeedbackByIdRequest) {
    return JSON.stringify(DeleteFeedbackByIdRequest$outboundSchema.parse(deleteFeedbackByIdRequest));
}
export function deleteFeedbackByIdRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteFeedbackByIdRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteFeedbackByIdRequest' from JSON`);
}
/** @internal */
export const DeleteFeedbackByIdResponseBody$inboundSchema = z.object({
    success: z.boolean(),
    message: z.string(),
});
/** @internal */
export const DeleteFeedbackByIdResponseBody$outboundSchema = z.object({
    success: z.boolean(),
    message: z.string(),
});
export function deleteFeedbackByIdResponseBodyToJSON(deleteFeedbackByIdResponseBody) {
    return JSON.stringify(DeleteFeedbackByIdResponseBody$outboundSchema.parse(deleteFeedbackByIdResponseBody));
}
export function deleteFeedbackByIdResponseBodyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteFeedbackByIdResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteFeedbackByIdResponseBody' from JSON`);
}
//# sourceMappingURL=deletefeedbackbyid.js.map