nylas 8.0.3 → 8.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
4
  // This file is generated by scripts/exportVersion.js
5
- exports.SDK_VERSION = '8.0.3';
5
+ exports.SDK_VERSION = '8.0.4';
@@ -1,2 +1,2 @@
1
1
  // This file is generated by scripts/exportVersion.js
2
- export const SDK_VERSION = '8.0.3';
2
+ export const SDK_VERSION = '8.0.4';
@@ -118,6 +118,29 @@ export interface MeetingBuffer {
118
118
  */
119
119
  after: number;
120
120
  }
121
+ /**
122
+ * Interface of a participant's availability for a specific date and time range.
123
+ * This can override the open_hours configurations for the specified date.
124
+ */
125
+ export interface SpecificTimeAvailability {
126
+ /**
127
+ * The specific date in YYYY-MM-DD format.
128
+ */
129
+ date: string;
130
+ /**
131
+ * Start time in 24-hour time format. Leading 0's are left off (e.g. "9:00").
132
+ */
133
+ start: string;
134
+ /**
135
+ * End time in 24-hour time format. Leading 0's are left off (e.g. "17:00").
136
+ */
137
+ end: string;
138
+ /**
139
+ * IANA time zone database formatted string (e.g. America/Toronto).
140
+ * @see <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">List of tz database time zones</a>
141
+ */
142
+ timezone?: string;
143
+ }
121
144
  /**
122
145
  * Interface of a participant's open hours.
123
146
  */
@@ -163,6 +186,10 @@ export interface AvailabilityParticipant {
163
186
  * Open hours for this participant. The endpoint searches for free time slots during these open hours.
164
187
  */
165
188
  openHours?: OpenHours[];
189
+ /**
190
+ * Specific availability for this participant that overrides open_hours for the specified dates.
191
+ */
192
+ specificTimeAvailability?: SpecificTimeAvailability[];
166
193
  }
167
194
  /**
168
195
  * Enum representing the method used to determine availability for a meeting.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "8.0.3";
1
+ export declare const SDK_VERSION = "8.0.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nylas",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.",
5
5
  "main": "lib/cjs/nylas.js",
6
6
  "types": "lib/types/nylas.d.ts",