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