import { Novu } from "@novu/api";
const novu = new Novu({
apiKey: "<YOUR_API_KEY_HERE>",
});
async function run() {
await novu.subscribers.authentication.chatAccessOauth({
subscriberId: "<value>",
providerId: "<value>",
hmacHash: "<value>",
environmentId: "<value>",
});
}
run();