import * as msRest from "@azure/ms-rest-js"; export declare const createOutlookConnector: (connectionString: string, options?: Models.OutlookConnectorOptions | undefined) => Promise; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; import { OutlookConnectorContext } from "./outlookConnectorContext"; declare class OutlookConnector extends OutlookConnectorContext { events: operations.Events; mail: operations.Mail; optionsEmail: operations.OptionsEmail; calendarsTable: operations.CalendarsTable; calendarsTableData: operations.CalendarsTableData; contactsTable: operations.ContactsTable; contactsTableData: operations.ContactsTableData; /** * Initializes a new instance of the OutlookConnector class. * @param connectionId Unique identifier of the connection instance * @param credentials Subscription credentials which uniquely identify client subscription. * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, connectionId: string, options?: Models.OutlookConnectorOptions); /** * Respond to an event invite. * @summary Respond to an event invite * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'Accept', 'Tentatively * Accept', 'Decline' * @param [options] The optional parameters * @returns Promise */ respondToEvent(eventId: string, response: Models.Response1, options?: Models.OutlookConnectorRespondToEventOptionalParams): Promise; /** * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'Accept', 'Tentatively * Accept', 'Decline' * @param callback The callback */ respondToEvent(eventId: string, response: Models.Response1, callback: msRest.ServiceCallback): void; /** * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'Accept', 'Tentatively * Accept', 'Decline' * @param options The optional parameters * @param callback The callback */ respondToEvent(eventId: string, response: Models.Response1, options: Models.OutlookConnectorRespondToEventOptionalParams, callback: msRest.ServiceCallback): void; /** * Forward an email. * @summary Forward an email * @param messageId Id of the message to forward. * @param body Direct forward message. * @param [options] The optional parameters * @returns Promise */ forwardEmail(messageId: string, body: Models.DirectForwardMessage, options?: msRest.RequestOptionsBase): Promise; /** * @param messageId Id of the message to forward. * @param body Direct forward message. * @param callback The callback */ forwardEmail(messageId: string, body: Models.DirectForwardMessage, callback: msRest.ServiceCallback): void; /** * @param messageId Id of the message to forward. * @param body Direct forward message. * @param options The optional parameters * @param callback The callback */ forwardEmail(messageId: string, body: Models.DirectForwardMessage, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } export { OutlookConnector, OutlookConnectorContext, Models as OutlookConnectorModels, Mappers as OutlookConnectorMappers }; export * from "./operations"; //# sourceMappingURL=outlookConnector.d.ts.map