import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { OutlookConnectorContext } from "../outlookConnectorContext"; /** Class representing a CalendarsTableData. */ export declare class CalendarsTableData { private readonly client; /** * Create a CalendarsTableData. * @param {OutlookConnectorContext} client Reference to the service client. */ constructor(client: OutlookConnectorContext); /** * This operation gets events from a calendar. (V1) * @summary Get events (V1) * @param table Select a calendar * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ calendarGetItems(table: string, options?: Models.CalendarsTableDataCalendarGetItemsOptionalParams): Promise; /** * @param table Select a calendar * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarGetItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarGetItems(table: string, options: Models.CalendarsTableDataCalendarGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new event in a calendar. (V1) * @summary Create event (V1) * @param table Select a calendar * @param item Event to create * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ calendarPostItem(table: string, item: Models.CalendarEventBackend, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param item Event to create * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarPostItem(table: string, item: Models.CalendarEventBackend, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param item Event to create * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarPostItem(table: string, item: Models.CalendarEventBackend, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation deletes an event in a calendar. * @summary Delete event * @param table Select a calendar * @param id Select an event * @param [options] The optional parameters * @returns Promise */ calendarDeleteItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param callback The callback */ calendarDeleteItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param options The optional parameters * @param callback The callback */ calendarDeleteItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a specific event from a calendar. (V1) * @summary Get event (V1) * @param table Select a calendar * @param id Select an event * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ calendarGetItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarGetItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarGetItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates an event in a calendar. (V1) * @summary Update event (V1) * @param table Select a calendar * @param id Select an event * @param item Event to update * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ calendarPatchItem(table: string, id: string, item: Models.CalendarEventBackend, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarPatchItem(table: string, id: string, item: Models.CalendarEventBackend, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ calendarPatchItem(table: string, id: string, item: Models.CalendarEventBackend, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets all events (including instances of recurrences) in a calendar. (V2) * @summary Get calendar view of events (V2) * @param calendarId Select a calendar * @param startDateTimeOffset Start time (example: '2017-01-01T08:00:00-07:00') * @param endDateTimeOffset End time (example: '2017-02-01T08:00:00-07:00') * @param [options] The optional parameters * @returns Promise */ getEventsCalendarViewV2(calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, options?: Models.CalendarsTableDataGetEventsCalendarViewV2OptionalParams): Promise; /** * @param calendarId Select a calendar * @param startDateTimeOffset Start time (example: '2017-01-01T08:00:00-07:00') * @param endDateTimeOffset End time (example: '2017-02-01T08:00:00-07:00') * @param callback The callback */ getEventsCalendarViewV2(calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, callback: msRest.ServiceCallback): void; /** * @param calendarId Select a calendar * @param startDateTimeOffset Start time (example: '2017-01-01T08:00:00-07:00') * @param endDateTimeOffset End time (example: '2017-02-01T08:00:00-07:00') * @param options The optional parameters * @param callback The callback */ getEventsCalendarViewV2(calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, options: Models.CalendarsTableDataGetEventsCalendarViewV2OptionalParams, callback: msRest.ServiceCallback): void; /** * This operation gets events from a calendar. (V2) * @summary Get events (V2) * @param table Select a calendar * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ v2CalendarGetItems(table: string, options?: Models.CalendarsTableDataV2CalendarGetItemsOptionalParams): Promise; /** * @param table Select a calendar * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarGetItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarGetItems(table: string, options: Models.CalendarsTableDataV2CalendarGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new event in a calendar. (V2) * @summary Create event (V2) * @param table Select a calendar * @param item Event to create * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ v2CalendarPostItem(table: string, item: Models.CalendarEventClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param item Event to create * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarPostItem(table: string, item: Models.CalendarEventClient, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param item Event to create * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarPostItem(table: string, item: Models.CalendarEventClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a specific event from a calendar. (V2) * @summary Get event (V2) * @param table Select a calendar * @param id Select an event * @param [options] The optional parameters * @returns Promise */ v2CalendarGetItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param callback The callback */ v2CalendarGetItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param options The optional parameters * @param callback The callback */ v2CalendarGetItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates an event in a calendar. (V2) * @summary Update event (V2) * @param table Select a calendar * @param id Select an event * @param item Event to update * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ v2CalendarPatchItem(table: string, id: string, item: Models.CalendarEventClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarPatchItem(table: string, id: string, item: Models.CalendarEventClient, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v2CalendarPatchItem(table: string, id: string, item: Models.CalendarEventClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets events from a calendar. (V3) * @summary Get events (V3) * @param table Select a calendar * @param [options] The optional parameters * @returns Promise */ v3CalendarGetItems(table: string, options?: Models.CalendarsTableDataV3CalendarGetItemsOptionalParams): Promise; /** * @param table Select a calendar * @param callback The callback */ v3CalendarGetItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param options The optional parameters * @param callback The callback */ v3CalendarGetItems(table: string, options: Models.CalendarsTableDataV3CalendarGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new event in a calendar. * @summary Create event (V3) * @param table Select a calendar * @param item Event to create * @param [options] The optional parameters * @returns Promise */ v3CalendarPostItem(table: string, item: Models.CalendarEventHtmlClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param item Event to create * @param callback The callback */ v3CalendarPostItem(table: string, item: Models.CalendarEventHtmlClient, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param item Event to create * @param options The optional parameters * @param callback The callback */ v3CalendarPostItem(table: string, item: Models.CalendarEventHtmlClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates an event in a calendar. * @summary Update event (V3) * @param table Select a calendar * @param id Select an event * @param item Event to update * @param [options] The optional parameters * @returns Promise */ v3CalendarPatchItem(table: string, id: string, item: Models.CalendarEventHtmlClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param callback The callback */ v3CalendarPatchItem(table: string, id: string, item: Models.CalendarEventHtmlClient, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param options The optional parameters * @param callback The callback */ v3CalendarPatchItem(table: string, id: string, item: Models.CalendarEventHtmlClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=calendarsTableData.d.ts.map