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