Skip to content

Commit

Permalink
add drafts to the entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrashed-dev committed Oct 13, 2023
1 parent 86defe2 commit 689c505
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nylas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Auth } from './resources/auth.js';
import { Webhooks } from './resources/webhooks.js';
import { Applications } from './resources/applications.js';
import { Messages } from './resources/messages.js';
import { Drafts } from './resources/drafts.js';

/**
* The entry point to the Node SDK
Expand All @@ -26,6 +27,10 @@ export default class Nylas {
* Access the Calendars API
*/
public calendars: Calendars;
/**
* Access the Drafts API
*/
public drafts: Drafts;
/**
* Access the Events API
*/
Expand Down Expand Up @@ -58,6 +63,7 @@ export default class Nylas {
this.applications = new Applications(this.apiClient);
this.auth = new Auth(this.apiClient);
this.calendars = new Calendars(this.apiClient);
this.drafts = new Drafts(this.apiClient);
this.events = new Events(this.apiClient);
this.messages = new Messages(this.apiClient);
this.webhooks = new Webhooks(this.apiClient);
Expand Down

0 comments on commit 689c505

Please sign in to comment.