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.
package/lib/cjs/apiClient.js
CHANGED
|
@@ -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;
|
package/lib/cjs/version.js
CHANGED
package/lib/esm/apiClient.js
CHANGED
|
@@ -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;
|
package/lib/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is generated by scripts/exportVersion.js
|
|
2
|
-
export const SDK_VERSION = '7.6.
|
|
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.
|
package/lib/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.6.
|
|
1
|
+
export declare const SDK_VERSION = "7.6.1";
|