/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteLineItemRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const DeleteLineItemRequest$outboundSchema = z.object({
    sourcedId: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var DeleteLineItemRequest$;
(function (DeleteLineItemRequest$) {
    /** @deprecated use `DeleteLineItemRequest$inboundSchema` instead. */
    DeleteLineItemRequest$.inboundSchema = DeleteLineItemRequest$inboundSchema;
    /** @deprecated use `DeleteLineItemRequest$outboundSchema` instead. */
    DeleteLineItemRequest$.outboundSchema = DeleteLineItemRequest$outboundSchema;
})(DeleteLineItemRequest$ || (DeleteLineItemRequest$ = {}));
export function deleteLineItemRequestToJSON(deleteLineItemRequest) {
    return JSON.stringify(DeleteLineItemRequest$outboundSchema.parse(deleteLineItemRequest));
}
export function deleteLineItemRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteLineItemRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteLineItemRequest' from JSON`);
}
//# sourceMappingURL=deletelineitem.js.map