/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import dotenv from "dotenv"; dotenv.config(); /** * Example usage of the @meetkai/mka1 SDK * * To run this example from the examples directory: * npm run build && npx tsx permissionsLlmGrant.example.ts */ import { SDK } from "@meetkai/mka1"; const sdk = new SDK({ bearerAuth: "", }); async function main() { await sdk.permissions.llm.grant({ grantPermissionRequest: { resourceType: "completion", resourceId: "my-completion-123", userId: "user-abc456", role: "writer", }, }); } main().catch(console.error);