import * as msRest from "@azure/ms-rest-js"; export declare const createOffice365Connector: (connectionString: string, options?: Models.Office365ConnectorOptions | undefined) => Promise; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; import { Office365ConnectorContext } from "./office365ConnectorContext"; declare class Office365Connector extends Office365ConnectorContext { mailboxSettings: operations.MailboxSettings; events: operations.Events; mail: operations.Mail; sharedMailboxMail: operations.SharedMailboxMail; optionsEmail: operations.OptionsEmail; calendarsTable: operations.CalendarsTable; calendarsTableData: operations.CalendarsTableData; contactsTable: operations.ContactsTable; contactsTableData: operations.ContactsTableData; /** * Initializes a new instance of the Office365Connector 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.Office365ConnectorOptions); /** * Get all the room lists defined in the user's tenant * @summary Get room lists * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ getRoomLists(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRoomLists(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRoomLists(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get all the meeting rooms defined in the user's tenant * @summary Get rooms * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ getRooms(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRooms(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRooms(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get the meeting rooms in a specific room list * @summary Get rooms in room list * @param roomList Room list to find rooms in * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ getRoomsInRoomList(roomList: string, options?: msRest.RequestOptionsBase): Promise; /** * @param roomList Room list to find rooms in * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRoomsInRoomList(roomList: string, callback: msRest.ServiceCallback): void; /** * @param roomList Room list to find rooms in * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ getRoomsInRoomList(roomList: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Export the content of the email. * @summary Export email * @param messageId Id of the email to export. * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ exportEmail(messageId: string, options?: msRest.RequestOptionsBase): Promise; /** * @param messageId Id of the email to export. * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ exportEmail(messageId: string, callback: msRest.ServiceCallback): void; /** * @param messageId Id of the email to export. * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ exportEmail(messageId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ respondToEvent(eventId: string, response: Models.Response1, options?: Models.Office365ConnectorRespondToEventOptionalParams): 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ respondToEvent(eventId: string, response: Models.Response1, options: Models.Office365ConnectorRespondToEventOptionalParams, callback: msRest.ServiceCallback): void; /** * Find meeting time suggestions based on organizer, attendee availability, and time or location * constraints * @summary Find meeting times * @param body * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ findMeetingTimes(body: Models.FindMeetingTimesBody, options?: msRest.RequestOptionsBase): Promise; /** * @param body * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ findMeetingTimes(body: Models.FindMeetingTimesBody, callback: msRest.ServiceCallback): void; /** * @param body * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ findMeetingTimes(body: Models.FindMeetingTimesBody, options: msRest.RequestOptionsBase, 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ forwardEmail(messageId: string, body: Models.DirectForwardMessage, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Find meeting time suggestions based on organizer, attendee availability, and time or location * constraints * @summary Find meeting times (V2) * @param body * @param [options] The optional parameters * @returns Promise */ findMeetingTimesV2(body: Models.FindMeetingTimesV2Body, options?: msRest.RequestOptionsBase): Promise; /** * @param body * @param callback The callback */ findMeetingTimesV2(body: Models.FindMeetingTimesV2Body, callback: msRest.ServiceCallback): void; /** * @param body * @param options The optional parameters * @param callback The callback */ findMeetingTimesV2(body: Models.FindMeetingTimesV2Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get all the room lists defined in the user's tenant * @summary Get room lists (V2) * @param [options] The optional parameters * @returns Promise */ getRoomListsV2(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ getRoomListsV2(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ getRoomListsV2(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get all the meeting rooms defined in the user's tenant * @summary Get rooms (V2) * @param [options] The optional parameters * @returns Promise */ getRoomsV2(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ getRoomsV2(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ getRoomsV2(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Get the meeting rooms in a specific room list * @summary Get rooms in room list (V2) * @param roomList Room list to find rooms in * @param [options] The optional parameters * @returns Promise */ getRoomsInRoomListV2(roomList: string, options?: msRest.RequestOptionsBase): Promise; /** * @param roomList Room list to find rooms in * @param callback The callback */ getRoomsInRoomListV2(roomList: string, callback: msRest.ServiceCallback): void; /** * @param roomList Room list to find rooms in * @param options The optional parameters * @param callback The callback */ getRoomsInRoomListV2(roomList: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Export the content of the email. * @summary Export email (V2) * @param messageId Id of the email to export. * @param [options] The optional parameters * @returns Promise */ exportEmailV2(messageId: string, options?: Models.Office365ConnectorExportEmailV2OptionalParams): Promise; /** * @param messageId Id of the email to export. * @param callback The callback */ exportEmailV2(messageId: string, callback: msRest.ServiceCallback): void; /** * @param messageId Id of the email to export. * @param options The optional parameters * @param callback The callback */ exportEmailV2(messageId: string, options: Models.Office365ConnectorExportEmailV2OptionalParams, callback: msRest.ServiceCallback): void; /** * This operation lists available calendars. * @summary Get calendars (V2) * @param [options] The optional parameters * @returns Promise */ calendarGetTablesV2(options?: Models.Office365ConnectorCalendarGetTablesV2OptionalParams): Promise; /** * @param callback The callback */ calendarGetTablesV2(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ calendarGetTablesV2(options: Models.Office365ConnectorCalendarGetTablesV2OptionalParams, callback: msRest.ServiceCallback): void; /** * This operation deletes an event in a calendar. * @summary Delete event (V2) * @param calendar Select a calendar * @param event Select an event * @param [options] The optional parameters * @returns Promise */ calendarDeleteItemV2(calendar: string, event: string, options?: msRest.RequestOptionsBase): Promise; /** * @param calendar Select a calendar * @param event Select an event * @param callback The callback */ calendarDeleteItemV2(calendar: string, event: string, callback: msRest.ServiceCallback): void; /** * @param calendar Select a calendar * @param event Select an event * @param options The optional parameters * @param callback The callback */ calendarDeleteItemV2(calendar: string, event: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets contacts from a contacts folder. * @summary Get contacts (V2) * @param folder Unique identifier of the contacts folder to retrieve * @param [options] The optional parameters * @returns Promise */ contactGetItemsV2(folder: string, options?: Models.Office365ConnectorContactGetItemsV2OptionalParams): Promise; /** * @param folder Unique identifier of the contacts folder to retrieve * @param callback The callback */ contactGetItemsV2(folder: string, callback: msRest.ServiceCallback): void; /** * @param folder Unique identifier of the contacts folder to retrieve * @param options The optional parameters * @param callback The callback */ contactGetItemsV2(folder: string, options: Models.Office365ConnectorContactGetItemsV2OptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new contact in a contacts folder. * @summary Create contact (V2) * @param folder Select a contacts folder * @param item Contact to create * @param [options] The optional parameters * @returns Promise */ contactPostItemV2(folder: string, item: Models.ContactV2, options?: msRest.RequestOptionsBase): Promise; /** * @param folder Select a contacts folder * @param item Contact to create * @param callback The callback */ contactPostItemV2(folder: string, item: Models.ContactV2, callback: msRest.ServiceCallback): void; /** * @param folder Select a contacts folder * @param item Contact to create * @param options The optional parameters * @param callback The callback */ contactPostItemV2(folder: string, item: Models.ContactV2, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation deletes a contact from a contacts folder. * @summary Delete contact (V2) * @param folder Select a contacts folder * @param id Unique identifier of contact to delete * @param [options] The optional parameters * @returns Promise */ contactDeleteItemV2(folder: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param folder Select a contacts folder * @param id Unique identifier of contact to delete * @param callback The callback */ contactDeleteItemV2(folder: string, id: string, callback: msRest.ServiceCallback): void; /** * @param folder Select a contacts folder * @param id Unique identifier of contact to delete * @param options The optional parameters * @param callback The callback */ contactDeleteItemV2(folder: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a specific contact from a contacts folder. * @summary Get contact (V2) * @param folder Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param [options] The optional parameters * @returns Promise */ contactGetItemV2(folder: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param folder Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param callback The callback */ contactGetItemV2(folder: string, id: string, callback: msRest.ServiceCallback): void; /** * @param folder Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param options The optional parameters * @param callback The callback */ contactGetItemV2(folder: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates a contact in a contacts folder. * @summary Update contact (V2) * @param folder Select a contacts folder * @param id Unique identifier of contact to update * @param item Contact item to update * @param [options] The optional parameters * @returns Promise */ contactPatchItemV2(folder: string, id: string, item: Models.ContactV2, options?: msRest.RequestOptionsBase): Promise; /** * @param folder Select a contacts folder * @param id Unique identifier of contact to update * @param item Contact item to update * @param callback The callback */ contactPatchItemV2(folder: string, id: string, item: Models.ContactV2, callback: msRest.ServiceCallback): void; /** * @param folder Select a contacts folder * @param id Unique identifier of contact to update * @param item Contact item to update * @param options The optional parameters * @param callback The callback */ contactPatchItemV2(folder: string, id: string, item: Models.ContactV2, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Updates the photo of the specified contact of the current user. The size of the photo must be * less than 4 MB. * @summary Update my contact's photo * @param folder Select a contacts folder * @param id Unique identifier of a contact to update photo * @param body Image content * @param [options] The optional parameters * @returns Promise */ updateMyContactPhoto(folder: string, id: string, body: string, options?: Models.Office365ConnectorUpdateMyContactPhotoOptionalParams): Promise; /** * @param folder Select a contacts folder * @param id Unique identifier of a contact to update photo * @param body Image content * @param callback The callback */ updateMyContactPhoto(folder: string, id: string, body: string, callback: msRest.ServiceCallback): void; /** * @param folder Select a contacts folder * @param id Unique identifier of a contact to update photo * @param body Image content * @param options The optional parameters * @param callback The callback */ updateMyContactPhoto(folder: string, id: string, body: string, options: Models.Office365ConnectorUpdateMyContactPhotoOptionalParams, callback: msRest.ServiceCallback): void; /** * Respond to an event invite. * @summary Respond to an event invite (V2) * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'accept', * 'tentativelyAccept', 'decline' * @param [options] The optional parameters * @returns Promise */ respondToEventV2(eventId: string, response: Models.Response2, options?: Models.Office365ConnectorRespondToEventV2OptionalParams): Promise; /** * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'accept', * 'tentativelyAccept', 'decline' * @param callback The callback */ respondToEventV2(eventId: string, response: Models.Response2, callback: msRest.ServiceCallback): void; /** * @param eventId Id of the event to respond to. * @param response Response for the event invite. Possible values include: 'accept', * 'tentativelyAccept', 'decline' * @param options The optional parameters * @param callback The callback */ respondToEventV2(eventId: string, response: Models.Response2, options: Models.Office365ConnectorRespondToEventV2OptionalParams, callback: msRest.ServiceCallback): void; /** * Forward an email. * @summary Forward an email (V2) * @param messageId Id of the message to forward. * @param body Direct forward message. * @param [options] The optional parameters * @returns Promise */ forwardEmailV2(messageId: string, body: Models.DirectForwardMessage, options?: Models.Office365ConnectorForwardEmailV2OptionalParams): Promise; /** * @param messageId Id of the message to forward. * @param body Direct forward message. * @param callback The callback */ forwardEmailV2(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 */ forwardEmailV2(messageId: string, body: Models.DirectForwardMessage, options: Models.Office365ConnectorForwardEmailV2OptionalParams, callback: msRest.ServiceCallback): void; } export { Office365Connector, Office365ConnectorContext, Models as Office365ConnectorModels, Mappers as Office365ConnectorMappers }; export * from "./operations"; //# sourceMappingURL=office365Connector.d.ts.map