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