MailSlurpAPI.Api.ConnectorController (mailslurp v15.17.22)
API calls for all endpoints tagged ConnectorController
.
Summary
Functions
Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes
Delete an inbox connector
Get all inbox connector sync events
Get an inbox connector
Get an inbox connector sync event
Get an inbox connector sync events
Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes
Sync an inbox connector
Update an inbox connector
Functions
create_connector(connection, create_connector_options, opts \\ [])
@spec create_connector( Tesla.Env.client(), MailSlurpAPI.Model.CreateConnectorOptions.t(), keyword() ) :: {:ok, MailSlurpAPI.Model.ConnectorDto.t()} | {:error, Tesla.Env.t()}
Create an inbox connector Sync emails between external mailboxes and MailSlurp inboxes
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- create_connector_options (CreateConnectorOptions):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
delete_connector(connection, id, opts \\ [])
@spec delete_connector(Tesla.Env.client(), String.t(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Delete an inbox connector
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_all_connector_sync_events(connection, opts \\ [])
@spec get_all_connector_sync_events(Tesla.Env.client(), keyword()) :: {:ok, MailSlurpAPI.Model.PageConnectorSyncEvents.t()} | {:error, Tesla.Env.t()}
Get all inbox connector sync events
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- :page (integer()): Optional page index in connector list pagination
- :size (integer()): Optional page size in connector list pagination
- :sort (String.t): Optional createdAt sort direction ASC or DESC
- :since (DateTime.t): Filter by created at after the given timestamp
- :before (DateTime.t): Filter by created at before the given timestamp
Returns
} on success {:error, info} on failure
get_connector(connection, id, opts \\ [])
@spec get_connector(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.ConnectorDto.t()} | {:error, Tesla.Env.t()}
Get an inbox connector
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_connector_sync_event(connection, id, opts \\ [])
@spec get_connector_sync_event(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.ConnectorSyncEventDto.t()} | {:error, Tesla.Env.t()}
Get an inbox connector sync event
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_connector_sync_events(connection, id, opts \\ [])
@spec get_connector_sync_events(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.PageConnectorSyncEvents.t()} | {:error, Tesla.Env.t()}
Get an inbox connector sync events
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- opts (KeywordList): [optional] Optional parameters
- :page (integer()): Optional page index in connector list pagination
- :size (integer()): Optional page size in connector list pagination
- :sort (String.t): Optional createdAt sort direction ASC or DESC
- :since (DateTime.t): Filter by created at after the given timestamp
- :before (DateTime.t): Filter by created at before the given timestamp
Returns
} on success {:error, info} on failure
get_connectors(connection, opts \\ [])
@spec get_connectors(Tesla.Env.client(), keyword()) :: {:ok, MailSlurpAPI.Model.PageConnector.t()} | {:error, Tesla.Env.t()}
Get inbox connectors List inbox connectors that sync external emails to MailSlurp inboxes
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- :page (integer()): Optional page index in connector list pagination
- :size (integer()): Optional page size in connector list pagination
- :sort (String.t): Optional createdAt sort direction ASC or DESC
- :since (DateTime.t): Filter by created at after the given timestamp
- :before (DateTime.t): Filter by created at before the given timestamp
Returns
} on success {:error, info} on failure
sync_connector(connection, id, opts \\ [])
@spec sync_connector(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.ConnectorSyncRequestResult.t()} | {:error, Tesla.Env.t()}
Sync an inbox connector
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
update_connector(connection, id, create_connector_options, opts \\ [])
@spec update_connector( Tesla.Env.client(), String.t(), MailSlurpAPI.Model.CreateConnectorOptions.t(), keyword() ) :: {:ok, MailSlurpAPI.Model.ConnectorDto.t()} | {:error, Tesla.Env.t()}
Update an inbox connector
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t):
- create_connector_options (CreateConnectorOptions):
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure