nylas 6.6.0 → 6.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.
@@ -12,7 +12,7 @@ export declare type CalendarProperties = {
12
12
  isPrimary?: boolean;
13
13
  jobStatusId?: string;
14
14
  metadata?: object;
15
- color?: number;
15
+ hexColor?: string;
16
16
  };
17
17
  export default class Calendar extends RestfulModel implements CalendarProperties {
18
18
  name: string;
@@ -23,7 +23,7 @@ export default class Calendar extends RestfulModel implements CalendarProperties
23
23
  isPrimary?: boolean;
24
24
  jobStatusId?: string;
25
25
  metadata?: object;
26
- color?: number;
26
+ hexColor?: string;
27
27
  static collectionName: string;
28
28
  static attributes: Record<string, Attribute>;
29
29
  constructor(connection: NylasConnection, props?: CalendarProperties);
@@ -87,8 +87,9 @@ var Calendar = /** @class */ (function (_super) {
87
87
  readOnly: true,
88
88
  }), metadata: attributes_1.default.Object({
89
89
  modelKey: 'metadata',
90
- }), color: attributes_1.default.Number({
91
- modelKey: 'color',
90
+ }), hexColor: attributes_1.default.String({
91
+ modelKey: 'hexColor',
92
+ jsonKey: 'hex_color',
92
93
  readOnly: true,
93
94
  }) });
94
95
  return Calendar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nylas",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.",
5
5
  "main": "lib/nylas.js",
6
6
  "types": "lib/nylas.d.ts",