Skip to content

Merge with upstream#5

Draft
AdriVanHoudt wants to merge 509 commits into
Salesflare:masterfrom
nylas:main
Draft

Merge with upstream#5
AdriVanHoudt wants to merge 509 commits into
Salesflare:masterfrom
nylas:main

Conversation

@AdriVanHoudt

Copy link
Copy Markdown

For Salesflare/Server#4012

This PR enables SDK support for the Nylas /component endpoints.
* Update CHANGELOG.md

* 5.9.0
Add support for Event notifications.
The metadata feature first introduced for events has expended to Calendar and Account. This PR adds support for this change. More information on the expansion of the metadata can be found here: https://developer.nylas.com/docs/developer-tools/api/metadata
This PR adds the remaining Scheduler endpoints
The Nylas API now supports metadata for existing messages. This is a followup to #286.
New nylas v5.10.0 release
The Scheduler booking timeslot endpoint requires the booking request payload to include a value for additional_emails and additional_values even if they are set to empty or null. This PR sets them to a blank array/object to avoid this error.
New nylas v5.10.1 patch release
A recent API update caused updating an event using the SDK to return an error because the SDK sends a Participant's status as well as an object key within the Event.when object.
A couple of Scheduler and Component types were incorrect or missing. This PR also ensures modifiable fields are not sent when trying to update a component.
New nylas v5.10.2 patch release
This PR improves the Job Status support on this SDK. Some models are missing a job_status_id key, as well as the Job Status model itself was missing an original_data key. A new helper method was also introduced to the JobStatus object called isSuccessful() that returns a boolean value representing a successful job status.
The oauth/authorize endpoint supports a provider option for forcing authentication against a different provider, this PR adds it in.
New nylas v5.10.3 patch release
…tifications were not set (#298)

Some recurring events throw an error from the API when sending an empty list of notifications. This could occur without the user setting an empty list of notifications as the Node SDK defaults all array-type attributes to an empty array even if not directly set the attribute. This PR overrides this functionality and prevents notifications from being set if the user did not explicitly set the attribute.
New nylas v5.10.4 patch release provides the following fix:

* Prevent Event objects from sending an empty list of notifications when not set, causing errors for recurring events
This PR represents the major update v6.0.0 of the Node SDK. The main theme of this major release is refactoring and improving the SDK to make it more Typescript-like as well as improving the usability of the SDK by providing better and stricter type hinting as well as expected parameters. This major release can be broken down into three main sections: refactoring RestfulModel, improving deserialization and object creation, and improving the typing of the SDK in general.
…305)

This PR enables two new fields in EventParticipant, comment and phoneNumber. More detail can be found in the API reference.
Adding test coverage for folders.
saveRequestBody() was introduced prior to the v6.0 release to enforce read-only attributes not being serialized for outgoing API calls. With the introduction of the Model superclass in v6.0 a lot of objects got refactored from extending RestfulModel to Model, but saveRequestBody() remained on RestfulModel. This broke the serialization of Model properties. To resolve this, we moved saveRequestBody() to the Model superclass.
This PR's goal is for better readability, one of the proposed changes internally was to move all the attributes and collectionName properties into the class with as static properties.
This PR enables support for generating an ICS file from an Event.
…es (#306)

In the free busy, availability, and consecutive availability endpoints of the Nylas Calendar API, there's a new field (calendar) that can be substituted for emails in the event that someone wants to check for availability/free-busy of other calendars within the same organization.
New nylas v6.1.0 minor release
This PR improves `Delta` support by adding a couple of new models and adding support for requesting a cursor (`/delta`) and long-polling (`/delta/longpoll`).
This PR fixes three issues in regards to Virtual Calendars
This PR adds support for adding a new field, fileIdsToAttach: string[], in Draft which will allow users who want to attach files to a draft via file IDs. Due to the existence of fileIds() function in the Message superclass, we can't set this variable to a friendlier name without causing a breaking change.

Please note that this variable only adds files to a draft, to remove a file it must be done on the files array. Upon saving we will make sure to merge unique values in the outgoing payload.
This PR adds models that represents all Webhook notification objects. The Usage section clarifies the models, the types, and the strictness.
…age IDs (#317)

This PR enables support for getting multiple messages by an array of message IDs
JosiasMB and others added 30 commits December 29, 2025 12:36
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Yunus Szönyi <yunus@hellomateo.de>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ink to developer.nylas.com (#728)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Nines AI SRE <nines-sre@nylas.com>
…#739)

Co-authored-by: Nines <nines@openclaw.ai>
Co-authored-by: Dan Radenkovic <bogdan.radenkovic@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Nines AI SRE <nines@nylas.com>
Co-authored-by: Dan Radenkovic <bogdan.radenkovic@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.