Skip to content

Commit e4ed8bd

Browse files
authored
fix(events): make Participant.email optional to match API behaviour (#670) (#671)
1 parent 9b8d8b8 commit e4ed8bd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
- Make `Participant.email` optional in `Event` model to match API behavior ([#670](https://github.com/nylas/nylas-nodejs/issues/670))
12+
813
## [7.13.1] - 2025-09-18
914

1015
### Fixed

src/models/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ export interface Participant {
609609
/**
610610
* Participant's email address.
611611
*/
612-
email: string;
612+
email?: string;
613613
/**
614614
* Participant's name.
615615
*/

0 commit comments

Comments
 (0)