/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 68051848efdf */ import * as z from "zod/v4"; export type RevokeMachinesJoinTokenGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type RevokeMachinesJoinTokenRequest = { /** * Unique identifier for the deployment. */ id: string; tokenId: string; }; /** @internal */ export type RevokeMachinesJoinTokenRequest$Outbound = { id: string; tokenId: string; }; /** @internal */ export const RevokeMachinesJoinTokenRequest$outboundSchema: z.ZodType< RevokeMachinesJoinTokenRequest$Outbound, RevokeMachinesJoinTokenRequest > = z.object({ id: z.string(), tokenId: z.string(), }); export function revokeMachinesJoinTokenRequestToJSON( revokeMachinesJoinTokenRequest: RevokeMachinesJoinTokenRequest, ): string { return JSON.stringify( RevokeMachinesJoinTokenRequest$outboundSchema.parse( revokeMachinesJoinTokenRequest, ), ); }