connectors
            CreateConnectorRequest = Union[GoogleCreateConnectorRequest, MicrosoftCreateConnectorRequest, ImapCreateConnectorRequest, VirtualCalendarsCreateConnectorRequest]
  
      module-attribute
  
    The type of the Nylas connector creation request.
            BaseCreateConnectorRequest
    
              Bases: TypedDict
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
provider | 
            
                  Provider
             | 
            
               The provider type  | 
          
Source code in nylas/models/connectors.py
                28 29 30 31 32 33 34 35 36  |  | 
            Connector
  
      dataclass
  
    Interface representing the Nylas connector response.
Attributes:
| Name | Type | Description | 
|---|---|---|
provider | 
            
                  Provider
             | 
            
               The provider type  | 
          
settings | 
            
                  Optional[Dict[str, Any]]
             | 
            
               Optional settings from provider  | 
          
scope | 
            
                  Optional[List[str]]
             | 
            
               Default scopes for the connector  | 
          
Source code in nylas/models/connectors.py
                11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  |  | 
            GoogleCreateConnectorRequest
    
              Bases: BaseCreateConnectorRequest
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
provider | 
            
                  Provider
             | 
            
               The provider type, should be Google  | 
          
settings | 
            
                  GoogleCreateConnectorSettings
             | 
            
               The Google OAuth provider credentials and settings  | 
          
scope | 
            
                  NotRequired[List[str]]
             | 
            
               The Google OAuth scopes  | 
          
Source code in nylas/models/connectors.py
                69 70 71 72 73 74 75 76 77 78 79 80  |  | 
            GoogleCreateConnectorSettings
    
              Bases: TypedDict
Interface representing a Google connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
client_id | 
            
                  str
             | 
            
               The Google Client ID  | 
          
client_secret | 
            
                  str
             | 
            
               The Google Client Secret  | 
          
topic_name | 
            
                  NotRequired[str]
             | 
            
               The Google Pub/Sub topic name  | 
          
Source code in nylas/models/connectors.py
                39 40 41 42 43 44 45 46 47 48 49 50 51  |  | 
            ImapCreateConnectorRequest
    
              Bases: BaseCreateConnectorRequest
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
name | 
            
                  str
             | 
            
               Custom name of the connector  | 
          
provider | 
            
                  Provider
             | 
            
               The provider type, should be IMAP  | 
          
Source code in nylas/models/connectors.py
                98 99 100 101 102 103 104 105 106 107  |  | 
            ListConnectorQueryParams
    
              Bases: ListQueryParams
Interface of the query parameters for listing connectors.
Attributes:
| Name | Type | Description | 
|---|---|---|
limit | 
            
                  NotRequired[int]
             | 
            
               The maximum number of objects to return. This field defaults to 50. The maximum allowed value is 200.  | 
          
page_token | 
            
                  NotRequired[str]
             | 
            
               An identifier that specifies which page of data to return. This value should be taken from a ListResponse object's next_cursor parameter.  | 
          
Source code in nylas/models/connectors.py
                146 147 148 149 150 151 152 153 154 155 156 157  |  | 
            MicrosoftCreateConnectorRequest
    
              Bases: BaseCreateConnectorRequest
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
name | 
            
                  str
             | 
            
               Custom name of the connector  | 
          
provider | 
            
                  Provider
             | 
            
               The provider type, should be Google  | 
          
settings | 
            
                  MicrosoftCreateConnectorSettings
             | 
            
               The Microsoft OAuth provider credentials and settings  | 
          
scope | 
            
                  NotRequired[List[str]]
             | 
            
               The Microsoft OAuth scopes  | 
          
Source code in nylas/models/connectors.py
                83 84 85 86 87 88 89 90 91 92 93 94 95  |  | 
            MicrosoftCreateConnectorSettings
    
              Bases: TypedDict
Interface representing a Microsoft connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
client_id | 
            
                  str
             | 
            
               The Google Client ID  | 
          
client_secret | 
            
                  str
             | 
            
               The Google Client Secret  | 
          
tenant | 
            
                  NotRequired[str]
             | 
            
               The Microsoft tenant ID  | 
          
Source code in nylas/models/connectors.py
                54 55 56 57 58 59 60 61 62 63 64 65 66  |  | 
            UpdateConnectorRequest
    
              Bases: TypedDict
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
name | 
            
                  NotRequired[str]
             | 
            
               Custom name of the connector  | 
          
settings | 
            
                  NotRequired[Dict[str, Any]]
             | 
            
               The OAuth provider credentials and settings  | 
          
scope | 
            
                  NotRequired[List[str]]
             | 
            
               The OAuth scopes  | 
          
Source code in nylas/models/connectors.py
                131 132 133 134 135 136 137 138 139 140 141 142 143  |  | 
            VirtualCalendarsCreateConnectorRequest
    
              Bases: BaseCreateConnectorRequest
Interface representing the base Nylas connector creation request.
Attributes:
| Name | Type | Description | 
|---|---|---|
name | 
            
                  str
             | 
            
               Custom name of the connector  | 
          
provider | 
            
                  Provider
             | 
            
               The provider type  | 
          
Source code in nylas/models/connectors.py
                110 111 112 113 114 115 116 117 118 119  |  |