Skip to main content

nylas_types/
lib.rs

1//! # Nylas Types
2//!
3//! Type definitions and models for the Nylas API v3.
4//!
5//! This crate provides strongly-typed models for all Nylas API resources:
6//! - Authentication & OAuth
7//! - Grants
8//! - Messages
9//! - Drafts
10//! - Calendars
11//! - Events
12//! - Contacts
13//! - Folders
14//! - Threads
15//! - Webhooks
16//! - Availability
17//!
18//! All types use the NewType pattern for type safety and implement
19//! serde serialization/deserialization.
20
21pub mod attachment;
22pub mod auth;
23pub mod availability;
24pub mod calendar;
25pub mod common;
26pub mod contact;
27pub mod draft;
28pub mod event;
29pub mod extract;
30pub mod folder;
31pub mod free_busy;
32pub mod grant;
33pub mod message;
34pub mod notetaker;
35pub mod scheduler;
36pub mod smart_compose;
37pub mod thread;
38pub mod tracking;
39pub mod webhook;
40
41// Re-export commonly used types
42pub use attachment::*;
43pub use auth::*;
44pub use availability::*;
45pub use calendar::*;
46pub use common::*;
47pub use contact::*;
48pub use draft::*;
49pub use event::*;
50pub use extract::*;
51pub use folder::*;
52pub use free_busy::*;
53pub use grant::*;
54pub use message::*;
55pub use notetaker::*;
56pub use scheduler::*;
57pub use smart_compose::*;
58pub use thread::*;
59pub use tracking::*;
60pub use webhook::*;