"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostDemographicsResponse$ = exports.PostDemographicsResponse$outboundSchema = exports.PostDemographicsResponse$inboundSchema = exports.PostDemographicsSourcedIdPairs$ = exports.PostDemographicsSourcedIdPairs$outboundSchema = exports.PostDemographicsSourcedIdPairs$inboundSchema = exports.PostDemographicsRequest$ = exports.PostDemographicsRequest$outboundSchema = exports.PostDemographicsRequest$inboundSchema = exports.PostDemographicsDemographics$ = exports.PostDemographicsDemographics$outboundSchema = exports.PostDemographicsDemographics$inboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity$ = exports.PostDemographicsHispanicOrLatinoEthnicity$outboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity$inboundSchema = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$ = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$outboundSchema = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema = exports.PostDemographicsWhite$ = exports.PostDemographicsWhite$outboundSchema = exports.PostDemographicsWhite$inboundSchema = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$ = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$outboundSchema = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema = exports.PostDemographicsBlackOrAfricanAmerican$ = exports.PostDemographicsBlackOrAfricanAmerican$outboundSchema = exports.PostDemographicsBlackOrAfricanAmerican$inboundSchema = exports.PostDemographicsAsian$ = exports.PostDemographicsAsian$outboundSchema = exports.PostDemographicsAsian$inboundSchema = exports.PostDemographicsAmericanIndianOrAlaskaNative$ = exports.PostDemographicsAmericanIndianOrAlaskaNative$outboundSchema = exports.PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema = exports.PostDemographicsSex$ = exports.PostDemographicsSex$outboundSchema = exports.PostDemographicsSex$inboundSchema = exports.PostDemographicsStatus$ = exports.PostDemographicsStatus$outboundSchema = exports.PostDemographicsStatus$inboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity = exports.PostDemographicsDemographicRaceTwoOrMoreRaces = exports.PostDemographicsWhite = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander = exports.PostDemographicsBlackOrAfricanAmerican = exports.PostDemographicsAsian = exports.PostDemographicsAmericanIndianOrAlaskaNative = exports.PostDemographicsSex = exports.PostDemographicsStatus = void 0;
exports.postDemographicsDemographicsToJSON = postDemographicsDemographicsToJSON;
exports.postDemographicsDemographicsFromJSON = postDemographicsDemographicsFromJSON;
exports.postDemographicsRequestToJSON = postDemographicsRequestToJSON;
exports.postDemographicsRequestFromJSON = postDemographicsRequestFromJSON;
exports.postDemographicsSourcedIdPairsToJSON = postDemographicsSourcedIdPairsToJSON;
exports.postDemographicsSourcedIdPairsFromJSON = postDemographicsSourcedIdPairsFromJSON;
exports.postDemographicsResponseToJSON = postDemographicsResponseToJSON;
exports.postDemographicsResponseFromJSON = postDemographicsResponseFromJSON;
const z = __importStar(require("zod"));
const schemas_js_1 = require("../../lib/schemas.js");
exports.PostDemographicsStatus = {
    Active: "active",
    Tobedeleted: "tobedeleted",
};
exports.PostDemographicsSex = {
    Male: "male",
    Female: "female",
};
exports.PostDemographicsAmericanIndianOrAlaskaNative = {
    True: "true",
    False: "false",
};
exports.PostDemographicsAsian = {
    True: "true",
    False: "false",
};
exports.PostDemographicsBlackOrAfricanAmerican = {
    True: "true",
    False: "false",
};
exports.PostDemographicsNativeHawaiianOrOtherPacificIslander = {
    True: "true",
    False: "false",
};
exports.PostDemographicsWhite = {
    True: "true",
    False: "false",
};
exports.PostDemographicsDemographicRaceTwoOrMoreRaces = {
    True: "true",
    False: "false",
};
exports.PostDemographicsHispanicOrLatinoEthnicity = {
    True: "true",
    False: "false",
};
/** @internal */
exports.PostDemographicsStatus$inboundSchema = z.nativeEnum(exports.PostDemographicsStatus);
/** @internal */
exports.PostDemographicsStatus$outboundSchema = exports.PostDemographicsStatus$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsStatus$;
(function (PostDemographicsStatus$) {
    /** @deprecated use `PostDemographicsStatus$inboundSchema` instead. */
    PostDemographicsStatus$.inboundSchema = exports.PostDemographicsStatus$inboundSchema;
    /** @deprecated use `PostDemographicsStatus$outboundSchema` instead. */
    PostDemographicsStatus$.outboundSchema = exports.PostDemographicsStatus$outboundSchema;
})(PostDemographicsStatus$ || (exports.PostDemographicsStatus$ = PostDemographicsStatus$ = {}));
/** @internal */
exports.PostDemographicsSex$inboundSchema = z.nativeEnum(exports.PostDemographicsSex);
/** @internal */
exports.PostDemographicsSex$outboundSchema = exports.PostDemographicsSex$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsSex$;
(function (PostDemographicsSex$) {
    /** @deprecated use `PostDemographicsSex$inboundSchema` instead. */
    PostDemographicsSex$.inboundSchema = exports.PostDemographicsSex$inboundSchema;
    /** @deprecated use `PostDemographicsSex$outboundSchema` instead. */
    PostDemographicsSex$.outboundSchema = exports.PostDemographicsSex$outboundSchema;
})(PostDemographicsSex$ || (exports.PostDemographicsSex$ = PostDemographicsSex$ = {}));
/** @internal */
exports.PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema = z
    .nativeEnum(exports.PostDemographicsAmericanIndianOrAlaskaNative);
/** @internal */
exports.PostDemographicsAmericanIndianOrAlaskaNative$outboundSchema = exports.PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsAmericanIndianOrAlaskaNative$;
(function (PostDemographicsAmericanIndianOrAlaskaNative$) {
    /** @deprecated use `PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema` instead. */
    PostDemographicsAmericanIndianOrAlaskaNative$.inboundSchema = exports.PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema;
    /** @deprecated use `PostDemographicsAmericanIndianOrAlaskaNative$outboundSchema` instead. */
    PostDemographicsAmericanIndianOrAlaskaNative$.outboundSchema = exports.PostDemographicsAmericanIndianOrAlaskaNative$outboundSchema;
})(PostDemographicsAmericanIndianOrAlaskaNative$ || (exports.PostDemographicsAmericanIndianOrAlaskaNative$ = PostDemographicsAmericanIndianOrAlaskaNative$ = {}));
/** @internal */
exports.PostDemographicsAsian$inboundSchema = z.nativeEnum(exports.PostDemographicsAsian);
/** @internal */
exports.PostDemographicsAsian$outboundSchema = exports.PostDemographicsAsian$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsAsian$;
(function (PostDemographicsAsian$) {
    /** @deprecated use `PostDemographicsAsian$inboundSchema` instead. */
    PostDemographicsAsian$.inboundSchema = exports.PostDemographicsAsian$inboundSchema;
    /** @deprecated use `PostDemographicsAsian$outboundSchema` instead. */
    PostDemographicsAsian$.outboundSchema = exports.PostDemographicsAsian$outboundSchema;
})(PostDemographicsAsian$ || (exports.PostDemographicsAsian$ = PostDemographicsAsian$ = {}));
/** @internal */
exports.PostDemographicsBlackOrAfricanAmerican$inboundSchema = z.nativeEnum(exports.PostDemographicsBlackOrAfricanAmerican);
/** @internal */
exports.PostDemographicsBlackOrAfricanAmerican$outboundSchema = exports.PostDemographicsBlackOrAfricanAmerican$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsBlackOrAfricanAmerican$;
(function (PostDemographicsBlackOrAfricanAmerican$) {
    /** @deprecated use `PostDemographicsBlackOrAfricanAmerican$inboundSchema` instead. */
    PostDemographicsBlackOrAfricanAmerican$.inboundSchema = exports.PostDemographicsBlackOrAfricanAmerican$inboundSchema;
    /** @deprecated use `PostDemographicsBlackOrAfricanAmerican$outboundSchema` instead. */
    PostDemographicsBlackOrAfricanAmerican$.outboundSchema = exports.PostDemographicsBlackOrAfricanAmerican$outboundSchema;
})(PostDemographicsBlackOrAfricanAmerican$ || (exports.PostDemographicsBlackOrAfricanAmerican$ = PostDemographicsBlackOrAfricanAmerican$ = {}));
/** @internal */
exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema = z.nativeEnum(exports.PostDemographicsNativeHawaiianOrOtherPacificIslander);
/** @internal */
exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$outboundSchema = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsNativeHawaiianOrOtherPacificIslander$;
(function (PostDemographicsNativeHawaiianOrOtherPacificIslander$) {
    /** @deprecated use `PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema` instead. */
    PostDemographicsNativeHawaiianOrOtherPacificIslander$.inboundSchema = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema;
    /** @deprecated use `PostDemographicsNativeHawaiianOrOtherPacificIslander$outboundSchema` instead. */
    PostDemographicsNativeHawaiianOrOtherPacificIslander$.outboundSchema = exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$outboundSchema;
})(PostDemographicsNativeHawaiianOrOtherPacificIslander$ || (exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$ = PostDemographicsNativeHawaiianOrOtherPacificIslander$ = {}));
/** @internal */
exports.PostDemographicsWhite$inboundSchema = z.nativeEnum(exports.PostDemographicsWhite);
/** @internal */
exports.PostDemographicsWhite$outboundSchema = exports.PostDemographicsWhite$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsWhite$;
(function (PostDemographicsWhite$) {
    /** @deprecated use `PostDemographicsWhite$inboundSchema` instead. */
    PostDemographicsWhite$.inboundSchema = exports.PostDemographicsWhite$inboundSchema;
    /** @deprecated use `PostDemographicsWhite$outboundSchema` instead. */
    PostDemographicsWhite$.outboundSchema = exports.PostDemographicsWhite$outboundSchema;
})(PostDemographicsWhite$ || (exports.PostDemographicsWhite$ = PostDemographicsWhite$ = {}));
/** @internal */
exports.PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema = z
    .nativeEnum(exports.PostDemographicsDemographicRaceTwoOrMoreRaces);
/** @internal */
exports.PostDemographicsDemographicRaceTwoOrMoreRaces$outboundSchema = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsDemographicRaceTwoOrMoreRaces$;
(function (PostDemographicsDemographicRaceTwoOrMoreRaces$) {
    /** @deprecated use `PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema` instead. */
    PostDemographicsDemographicRaceTwoOrMoreRaces$.inboundSchema = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema;
    /** @deprecated use `PostDemographicsDemographicRaceTwoOrMoreRaces$outboundSchema` instead. */
    PostDemographicsDemographicRaceTwoOrMoreRaces$.outboundSchema = exports.PostDemographicsDemographicRaceTwoOrMoreRaces$outboundSchema;
})(PostDemographicsDemographicRaceTwoOrMoreRaces$ || (exports.PostDemographicsDemographicRaceTwoOrMoreRaces$ = PostDemographicsDemographicRaceTwoOrMoreRaces$ = {}));
/** @internal */
exports.PostDemographicsHispanicOrLatinoEthnicity$inboundSchema = z
    .nativeEnum(exports.PostDemographicsHispanicOrLatinoEthnicity);
/** @internal */
exports.PostDemographicsHispanicOrLatinoEthnicity$outboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity$inboundSchema;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsHispanicOrLatinoEthnicity$;
(function (PostDemographicsHispanicOrLatinoEthnicity$) {
    /** @deprecated use `PostDemographicsHispanicOrLatinoEthnicity$inboundSchema` instead. */
    PostDemographicsHispanicOrLatinoEthnicity$.inboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity$inboundSchema;
    /** @deprecated use `PostDemographicsHispanicOrLatinoEthnicity$outboundSchema` instead. */
    PostDemographicsHispanicOrLatinoEthnicity$.outboundSchema = exports.PostDemographicsHispanicOrLatinoEthnicity$outboundSchema;
})(PostDemographicsHispanicOrLatinoEthnicity$ || (exports.PostDemographicsHispanicOrLatinoEthnicity$ = PostDemographicsHispanicOrLatinoEthnicity$ = {}));
/** @internal */
exports.PostDemographicsDemographics$inboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.PostDemographicsStatus$inboundSchema.default("active"),
    metadata: z.record(z.any()).optional(),
    birthDate: z.nullable(z.string()).optional(),
    sex: z.nullable(exports.PostDemographicsSex$inboundSchema).optional(),
    americanIndianOrAlaskaNative: z.nullable(exports.PostDemographicsAmericanIndianOrAlaskaNative$inboundSchema).optional(),
    asian: z.nullable(exports.PostDemographicsAsian$inboundSchema).optional(),
    blackOrAfricanAmerican: z.nullable(exports.PostDemographicsBlackOrAfricanAmerican$inboundSchema).optional(),
    nativeHawaiianOrOtherPacificIslander: z.nullable(exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$inboundSchema).optional(),
    white: z.nullable(exports.PostDemographicsWhite$inboundSchema).optional(),
    demographicRaceTwoOrMoreRaces: z.nullable(exports.PostDemographicsDemographicRaceTwoOrMoreRaces$inboundSchema).optional(),
    hispanicOrLatinoEthnicity: z.nullable(exports.PostDemographicsHispanicOrLatinoEthnicity$inboundSchema).optional(),
    countryOfBirthCode: z.nullable(z.string()).optional(),
    stateOfBirthAbbreviation: z.nullable(z.string()).optional(),
    cityOfBirth: z.nullable(z.string()).optional(),
    publicSchoolResidenceStatus: z.nullable(z.string()).optional(),
});
/** @internal */
exports.PostDemographicsDemographics$outboundSchema = z.object({
    sourcedId: z.string(),
    status: exports.PostDemographicsStatus$outboundSchema.default("active"),
    metadata: z.record(z.any()).optional(),
    birthDate: z.nullable(z.string()).optional(),
    sex: z.nullable(exports.PostDemographicsSex$outboundSchema).optional(),
    americanIndianOrAlaskaNative: z.nullable(exports.PostDemographicsAmericanIndianOrAlaskaNative$outboundSchema).optional(),
    asian: z.nullable(exports.PostDemographicsAsian$outboundSchema).optional(),
    blackOrAfricanAmerican: z.nullable(exports.PostDemographicsBlackOrAfricanAmerican$outboundSchema).optional(),
    nativeHawaiianOrOtherPacificIslander: z.nullable(exports.PostDemographicsNativeHawaiianOrOtherPacificIslander$outboundSchema).optional(),
    white: z.nullable(exports.PostDemographicsWhite$outboundSchema).optional(),
    demographicRaceTwoOrMoreRaces: z.nullable(exports.PostDemographicsDemographicRaceTwoOrMoreRaces$outboundSchema).optional(),
    hispanicOrLatinoEthnicity: z.nullable(exports.PostDemographicsHispanicOrLatinoEthnicity$outboundSchema).optional(),
    countryOfBirthCode: z.nullable(z.string()).optional(),
    stateOfBirthAbbreviation: z.nullable(z.string()).optional(),
    cityOfBirth: z.nullable(z.string()).optional(),
    publicSchoolResidenceStatus: z.nullable(z.string()).optional(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsDemographics$;
(function (PostDemographicsDemographics$) {
    /** @deprecated use `PostDemographicsDemographics$inboundSchema` instead. */
    PostDemographicsDemographics$.inboundSchema = exports.PostDemographicsDemographics$inboundSchema;
    /** @deprecated use `PostDemographicsDemographics$outboundSchema` instead. */
    PostDemographicsDemographics$.outboundSchema = exports.PostDemographicsDemographics$outboundSchema;
})(PostDemographicsDemographics$ || (exports.PostDemographicsDemographics$ = PostDemographicsDemographics$ = {}));
function postDemographicsDemographicsToJSON(postDemographicsDemographics) {
    return JSON.stringify(exports.PostDemographicsDemographics$outboundSchema.parse(postDemographicsDemographics));
}
function postDemographicsDemographicsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PostDemographicsDemographics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostDemographicsDemographics' from JSON`);
}
/** @internal */
exports.PostDemographicsRequest$inboundSchema = z.object({
    demographics: z.lazy(() => exports.PostDemographicsDemographics$inboundSchema),
});
/** @internal */
exports.PostDemographicsRequest$outboundSchema = z.object({
    demographics: z.lazy(() => exports.PostDemographicsDemographics$outboundSchema),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsRequest$;
(function (PostDemographicsRequest$) {
    /** @deprecated use `PostDemographicsRequest$inboundSchema` instead. */
    PostDemographicsRequest$.inboundSchema = exports.PostDemographicsRequest$inboundSchema;
    /** @deprecated use `PostDemographicsRequest$outboundSchema` instead. */
    PostDemographicsRequest$.outboundSchema = exports.PostDemographicsRequest$outboundSchema;
})(PostDemographicsRequest$ || (exports.PostDemographicsRequest$ = PostDemographicsRequest$ = {}));
function postDemographicsRequestToJSON(postDemographicsRequest) {
    return JSON.stringify(exports.PostDemographicsRequest$outboundSchema.parse(postDemographicsRequest));
}
function postDemographicsRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PostDemographicsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostDemographicsRequest' from JSON`);
}
/** @internal */
exports.PostDemographicsSourcedIdPairs$inboundSchema = z.object({
    suppliedSourcedId: z.string(),
    allocatedSourcedId: z.string(),
});
/** @internal */
exports.PostDemographicsSourcedIdPairs$outboundSchema = z.object({
    suppliedSourcedId: z.string(),
    allocatedSourcedId: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsSourcedIdPairs$;
(function (PostDemographicsSourcedIdPairs$) {
    /** @deprecated use `PostDemographicsSourcedIdPairs$inboundSchema` instead. */
    PostDemographicsSourcedIdPairs$.inboundSchema = exports.PostDemographicsSourcedIdPairs$inboundSchema;
    /** @deprecated use `PostDemographicsSourcedIdPairs$outboundSchema` instead. */
    PostDemographicsSourcedIdPairs$.outboundSchema = exports.PostDemographicsSourcedIdPairs$outboundSchema;
})(PostDemographicsSourcedIdPairs$ || (exports.PostDemographicsSourcedIdPairs$ = PostDemographicsSourcedIdPairs$ = {}));
function postDemographicsSourcedIdPairsToJSON(postDemographicsSourcedIdPairs) {
    return JSON.stringify(exports.PostDemographicsSourcedIdPairs$outboundSchema.parse(postDemographicsSourcedIdPairs));
}
function postDemographicsSourcedIdPairsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PostDemographicsSourcedIdPairs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostDemographicsSourcedIdPairs' from JSON`);
}
/** @internal */
exports.PostDemographicsResponse$inboundSchema = z.object({
    sourcedIdPairs: z.lazy(() => exports.PostDemographicsSourcedIdPairs$inboundSchema),
});
/** @internal */
exports.PostDemographicsResponse$outboundSchema = z.object({
    sourcedIdPairs: z.lazy(() => exports.PostDemographicsSourcedIdPairs$outboundSchema),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var PostDemographicsResponse$;
(function (PostDemographicsResponse$) {
    /** @deprecated use `PostDemographicsResponse$inboundSchema` instead. */
    PostDemographicsResponse$.inboundSchema = exports.PostDemographicsResponse$inboundSchema;
    /** @deprecated use `PostDemographicsResponse$outboundSchema` instead. */
    PostDemographicsResponse$.outboundSchema = exports.PostDemographicsResponse$outboundSchema;
})(PostDemographicsResponse$ || (exports.PostDemographicsResponse$ = PostDemographicsResponse$ = {}));
function postDemographicsResponseToJSON(postDemographicsResponse) {
    return JSON.stringify(exports.PostDemographicsResponse$outboundSchema.parse(postDemographicsResponse));
}
function postDemographicsResponseFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PostDemographicsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PostDemographicsResponse' from JSON`);
}
//# sourceMappingURL=postdemographics.js.map