/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const DeleteOrgRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const DeleteOrgRequest$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 DeleteOrgRequest$;
(function (DeleteOrgRequest$) {
    /** @deprecated use `DeleteOrgRequest$inboundSchema` instead. */
    DeleteOrgRequest$.inboundSchema = DeleteOrgRequest$inboundSchema;
    /** @deprecated use `DeleteOrgRequest$outboundSchema` instead. */
    DeleteOrgRequest$.outboundSchema = DeleteOrgRequest$outboundSchema;
})(DeleteOrgRequest$ || (DeleteOrgRequest$ = {}));
export function deleteOrgRequestToJSON(deleteOrgRequest) {
    return JSON.stringify(DeleteOrgRequest$outboundSchema.parse(deleteOrgRequest));
}
export function deleteOrgRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => DeleteOrgRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteOrgRequest' from JSON`);
}
//# sourceMappingURL=deleteorg.js.map