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