/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: e9263eea8b8e */ import * as z from "zod/v4"; export type GetWorkspaceInviteLinkGlobals = { /** * 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 GetWorkspaceInviteLinkRequest = { /** * Unique identifier for the workspace. */ id: string; }; /** @internal */ export type GetWorkspaceInviteLinkRequest$Outbound = { id: string; }; /** @internal */ export const GetWorkspaceInviteLinkRequest$outboundSchema: z.ZodType< GetWorkspaceInviteLinkRequest$Outbound, GetWorkspaceInviteLinkRequest > = z.object({ id: z.string(), }); export function getWorkspaceInviteLinkRequestToJSON( getWorkspaceInviteLinkRequest: GetWorkspaceInviteLinkRequest, ): string { return JSON.stringify( GetWorkspaceInviteLinkRequest$outboundSchema.parse( getWorkspaceInviteLinkRequest, ), ); }