nylas 7.6.0 → 7.6.1

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.
@@ -115,6 +115,7 @@ class APIClient {
115
115
  requestOptions.body = JSON.stringify((0, utils_js_1.objKeysToSnakeCase)(optionParams.body, ['metadata']) // metadata should remain as is
116
116
  );
117
117
  requestOptions.headers['Content-Type'] = 'application/json';
118
+ requestOptions.headers['Accept-Encoding'] = 'gzip';
118
119
  }
119
120
  if (optionParams.form) {
120
121
  requestOptions.body = optionParams.form;
@@ -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 = '7.6.0';
5
+ exports.SDK_VERSION = '7.6.1';
@@ -113,6 +113,7 @@ export default class APIClient {
113
113
  requestOptions.body = JSON.stringify(objKeysToSnakeCase(optionParams.body, ['metadata']) // metadata should remain as is
114
114
  );
115
115
  requestOptions.headers['Content-Type'] = 'application/json';
116
+ requestOptions.headers['Accept-Encoding'] = 'gzip';
116
117
  }
117
118
  if (optionParams.form) {
118
119
  requestOptions.body = optionParams.form;
@@ -1,2 +1,2 @@
1
1
  // This file is generated by scripts/exportVersion.js
2
- export const SDK_VERSION = '7.6.0';
2
+ export const SDK_VERSION = '7.6.1';
@@ -1,7 +1,7 @@
1
- import { ListQueryParams } from './listQueryParams.js';
2
1
  import { Subset } from '../utils.js';
3
- import { NylasBaseResponse } from './response.js';
4
2
  import { NylasApiErrorResponseData } from './error.js';
3
+ import { ListQueryParams } from './listQueryParams.js';
4
+ import { NylasBaseResponse } from './response.js';
5
5
  /**
6
6
  * Interface representing a Nylas Event object.
7
7
  */
@@ -278,6 +278,10 @@ export interface ListEventQueryParams extends ListQueryParams {
278
278
  * Not supported for virtual calendars.
279
279
  */
280
280
  attendees?: string[];
281
+ /**
282
+ * Master event id if recurring events.
283
+ */
284
+ masterEventId?: string;
281
285
  }
282
286
  /**
283
287
  * Interface representing of the query parameters for creating an event.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "7.6.0";
1
+ export declare const SDK_VERSION = "7.6.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nylas",
3
- "version": "7.6.0",
3
+ "version": "7.6.1",
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",