Skip to content

Commit

Permalink
Add support for masterEventId on Event class (#592)
Browse files Browse the repository at this point in the history
* Add support for masterEventID on Events

* Add details to changelog

* Fix lint

---------

Co-authored-by: Subash Pradhan <[email protected]>
  • Loading branch information
SubashPradhan and Subash Pradhan authored Oct 25, 2024
1 parent 214cb58 commit 09ce3a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### Unreleased
* Add support for filtering events by masterEventID

### 7.6.0 / 2024-10-18
* Add support for filtering events by attendee email
* Add buffer support for file attachments
Expand Down
8 changes: 6 additions & 2 deletions src/models/events.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ListQueryParams } from './listQueryParams.js';
import { Subset } from '../utils.js';
import { NylasBaseResponse } from './response.js';
import { NylasApiErrorResponseData } from './error.js';
import { ListQueryParams } from './listQueryParams.js';
import { NylasBaseResponse } from './response.js';

/**
* Interface representing a Nylas Event object.
Expand Down Expand Up @@ -284,6 +284,10 @@ export interface ListEventQueryParams extends ListQueryParams {
* Not supported for virtual calendars.
*/
attendees?: string[];
/**
* Master event id if recurring events.
*/
masterEventId?: string;
}

/**
Expand Down

0 comments on commit 09ce3a5

Please sign in to comment.