/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 3e3bd0d9b05f */ import dotenv from "dotenv"; dotenv.config(); /** * Example usage of the @alienplatform/platform-api SDK * * To run this example from the examples directory: * npm run build && npx tsx getWorkspaceInvitationPreview.example.ts */ import { Alien } from "@alienplatform/platform-api"; const alien = new Alien({ apiKey: process.env["ALIEN_API_KEY"] ?? "", }); async function main() { const result = await alien.getWorkspaceInvitationPreview({ token: "", }); console.log(result); } main().catch(console.error);