/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
import * as components from "../components/index.js";
/** @internal */
export const GetScoreScaleRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetScoreScaleRequest$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 GetScoreScaleRequest$;
(function (GetScoreScaleRequest$) {
    /** @deprecated use `GetScoreScaleRequest$inboundSchema` instead. */
    GetScoreScaleRequest$.inboundSchema = GetScoreScaleRequest$inboundSchema;
    /** @deprecated use `GetScoreScaleRequest$outboundSchema` instead. */
    GetScoreScaleRequest$.outboundSchema = GetScoreScaleRequest$outboundSchema;
})(GetScoreScaleRequest$ || (GetScoreScaleRequest$ = {}));
export function getScoreScaleRequestToJSON(getScoreScaleRequest) {
    return JSON.stringify(GetScoreScaleRequest$outboundSchema.parse(getScoreScaleRequest));
}
export function getScoreScaleRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetScoreScaleRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetScoreScaleRequest' from JSON`);
}
/** @internal */
export const GetScoreScaleResponse$inboundSchema = z.object({
    scoreScale: components.ScoreScale$inboundSchema,
});
/** @internal */
export const GetScoreScaleResponse$outboundSchema = z.object({
    scoreScale: components.ScoreScale$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetScoreScaleResponse$;
(function (GetScoreScaleResponse$) {
    /** @deprecated use `GetScoreScaleResponse$inboundSchema` instead. */
    GetScoreScaleResponse$.inboundSchema = GetScoreScaleResponse$inboundSchema;
    /** @deprecated use `GetScoreScaleResponse$outboundSchema` instead. */
    GetScoreScaleResponse$.outboundSchema = GetScoreScaleResponse$outboundSchema;
})(GetScoreScaleResponse$ || (GetScoreScaleResponse$ = {}));
export function getScoreScaleResponseToJSON(getScoreScaleResponse) {
    return JSON.stringify(GetScoreScaleResponse$outboundSchema.parse(getScoreScaleResponse));
}
export function getScoreScaleResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetScoreScaleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetScoreScaleResponse' from JSON`);
}
//# sourceMappingURL=getscorescale.js.map