github nylas/nylas-nodejs v5.7.0

latest releases: v7.7.0, v7.6.2, v7.6.1...
3 years ago

This new release of the Nylas Node SDK brings a couple of fixes as well as adding support for Event Conference Sync (Beta).

New Features

  • Add missing fields for recurring events (#259, #221)
  • Add support for conferencing (#261)

Enhancements

  • Fix minor issues with Neural API implementation (#257, #258)
  • Fix not rejecting uncaught errors during requests (#262, #260)

Using New Features

Conference Sync (Beta)

Event.conference is now a field that will contain conference details for Events that contain them, and it can be populated when new events through the SDK.

You can read the values like so:

const event = await nylas.events.find("id");
const conferencingProvider = event.conferencing.provider;
const conferenceURL = event.conferencing.details.url;
const conferencePassword = event.conferencing.details.password;
const conferenceMeetingCode = event.conferencing.details.meetingCode;
const conferencePhoneNumbers = event.conferencing.details.phone;
const conferencePin = event.conferencing.details.pin;

You can also build a new event that includes conferencing details with the SDK:

const zoomEvent = nylas.events.build({
    ...
    conferencing: {
        provider: "Zoom Meeting",
        details: {
            url: "https://us02web.zoom.us/j/****************",
            meeting_code: "213",
            password: "xyz",
            phone: [
                "+11234567890"
            ]
        }
    },
});

Don't miss a new nylas-nodejs release

NewReleases is sending notifications on new releases.