Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nylas

Package Overview
Dependencies
Maintainers
10
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nylas - npm Package Compare versions

Comparing version 6.4.2 to 6.5.0

4

lib/models/event.d.ts

@@ -40,3 +40,3 @@ import RestfulModel, { SaveCallback } from './restful-model';

masterEventId?: string;
originalStartTime?: number;
originalStartTime?: Date;
capacity?: number;

@@ -68,3 +68,3 @@ conferencing?: EventConferencingProperties;

masterEventId?: string;
originalStartTime?: number;
originalStartTime?: Date;
capacity?: number;

@@ -71,0 +71,0 @@ conferencing?: EventConferencing;

@@ -11,2 +11,3 @@ import RestfulModel from './restful-model';

originalData?: Message;
metadata?: object;
};

@@ -19,2 +20,3 @@ export default class JobStatus extends RestfulModel implements JobStatusProperties {

originalData?: Message;
metadata?: object;
static collectionName: string;

@@ -21,0 +23,0 @@ static attributes: Record<string, Attribute>;

@@ -62,2 +62,5 @@ "use strict";

readOnly: true,
}), metadata: attributes_1.default.Object({
modelKey: 'metadata',
readOnly: true,
}) });

@@ -64,0 +67,0 @@ return JobStatus;

@@ -107,2 +107,3 @@ import RestfulModel, { SaveCallback } from './restful-model';

minCancellationNotice?: number;
intervalMinutes?: number;
nameFieldHidden?: boolean;

@@ -124,2 +125,3 @@ openingHours?: SchedulerBookingOpeningHoursProperties[];

minCancellationNotice?: number;
intervalMinutes?: number;
nameFieldHidden?: boolean;

@@ -225,2 +227,3 @@ openingHours?: SchedulerBookingOpeningHours[];

uploadImage(contentType: string, objectName: string): Promise<SchedulerUploadImageResponse>;
private validate;
}

@@ -181,3 +181,3 @@ "use strict";

SchedulerBookingOpeningHours.attributes = {
dropdownOptions: attributes_1.default.String({
accountId: attributes_1.default.String({
modelKey: 'accountId',

@@ -234,3 +234,3 @@ jsonKey: 'account_id',

modelKey: 'confirmationEmailToHost',
jsonKey: 'confirmation_email_to_host',
jsonKey: 'confirmation_emails_to_host',
}),

@@ -253,2 +253,6 @@ confirmationMethod: attributes_1.default.String({

}),
intervalMinutes: attributes_1.default.Number({
modelKey: 'intervalMinutes',
jsonKey: 'interval_minutes',
}),
nameFieldHidden: attributes_1.default.Boolean({

@@ -362,2 +366,3 @@ modelKey: 'nameFieldHidden',

if (params === void 0) { params = {}; }
this.validate();
return _super.prototype.save.call(this, params, callback);

@@ -403,2 +408,10 @@ };

};
Scheduler.prototype.validate = function () {
var _a, _b;
var bookingIntervalMinutes = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.booking) === null || _b === void 0 ? void 0 : _b.intervalMinutes;
if (bookingIntervalMinutes !== undefined &&
(bookingIntervalMinutes <= 0 || bookingIntervalMinutes % 5 != 0)) {
throw new Error('SchedulerBooking.intervalMinutes must be a non-zero positive integer, divisible by 5.');
}
};
Scheduler.collectionName = 'manage/pages';

@@ -405,0 +418,0 @@ Scheduler.attributes = __assign(__assign({}, restful_model_1.default.attributes), { accessTokens: attributes_1.default.StringList({

{
"name": "nylas",
"version": "6.4.2",
"version": "6.5.0",
"description": "A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.",

@@ -5,0 +5,0 @@ "main": "lib/nylas.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc