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