import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { Office365ConnectorContext } from "../office365ConnectorContext"; /** Class representing a CalendarsTableData. */ export declare class CalendarsTableData { private readonly client; /** * Create a CalendarsTableData. * @param {Office365ConnectorContext} client Reference to the service client. */ constructor(client: Office365ConnectorContext); /** * 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 all events (including instances of recurrences) in a calendar using Graph * API. (V3) * @summary Get calendar view of events (V3) * @param calendarId Select a calendar * @param startDateTimeUtc Start time in UTC (example: '2017-01-01T08:00:00') * @param endDateTimeUtc End time in UTC (example: '2017-02-01T08:00:00') * @param [options] The optional parameters * @returns Promise */ getEventsCalendarViewV3(calendarId: string, startDateTimeUtc: string, endDateTimeUtc: string, options?: Models.CalendarsTableDataGetEventsCalendarViewV3OptionalParams): Promise; /** * @param calendarId Select a calendar * @param startDateTimeUtc Start time in UTC (example: '2017-01-01T08:00:00') * @param endDateTimeUtc End time in UTC (example: '2017-02-01T08:00:00') * @param callback The callback */ getEventsCalendarViewV3(calendarId: string, startDateTimeUtc: string, endDateTimeUtc: string, callback: msRest.ServiceCallback): void; /** * @param calendarId Select a calendar * @param startDateTimeUtc Start time in UTC (example: '2017-01-01T08:00:00') * @param endDateTimeUtc End time in UTC (example: '2017-02-01T08:00:00') * @param options The optional parameters * @param callback The callback */ getEventsCalendarViewV3(calendarId: string, startDateTimeUtc: string, endDateTimeUtc: string, options: Models.CalendarsTableDataGetEventsCalendarViewV3OptionalParams, 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ v3CalendarGetItems(table: string, options?: Models.CalendarsTableDataV3CalendarGetItemsOptionalParams): Promise; /** * @param table Select a calendar * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ v3CalendarGetItems(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. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ v3CalendarPostItem(table: string, item: Models.CalendarEventHtmlClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a specific event from a calendar using Graph API. (V3) * @summary Get event (V3) * @param table Select a calendar * @param id Select an event * @param [options] The optional parameters * @returns Promise */ v3CalendarGetItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param callback The callback */ v3CalendarGetItem(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 */ v3CalendarGetItem(table: string, id: string, 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 * @deprecated This operation is deprecated. Please do not use it any longer. * @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 * @deprecated This operation is deprecated. Please do not use it any longer. */ 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ v3CalendarPatchItem(table: string, id: string, item: Models.CalendarEventHtmlClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets events from a calendar using Graph API. (V4) * @summary Get events (V4) * @param table Select a calendar * @param [options] The optional parameters * @returns Promise */ v4CalendarGetItems(table: string, options?: Models.CalendarsTableDataV4CalendarGetItemsOptionalParams): Promise; /** * @param table Select a calendar * @param callback The callback */ v4CalendarGetItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param options The optional parameters * @param callback The callback */ v4CalendarGetItems(table: string, options: Models.CalendarsTableDataV4CalendarGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new event in a calendar. * @summary Create event (V4) * @param table Select a calendar * @param item Event to create * @param [options] The optional parameters * @returns Promise */ v4CalendarPostItem(table: string, item: Models.GraphCalendarEventClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param item Event to create * @param callback The callback */ v4CalendarPostItem(table: string, item: Models.GraphCalendarEventClient, callback: msRest.ServiceCallback): void; /** * @param table Select a calendar * @param item Event to create * @param options The optional parameters * @param callback The callback */ v4CalendarPostItem(table: string, item: Models.GraphCalendarEventClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates an event in a calendar using Graph API. * @summary Update event (V4) * @param table Select a calendar * @param id Select an event * @param item Event to update * @param [options] The optional parameters * @returns Promise */ v4CalendarPatchItem(table: string, id: string, item: Models.GraphCalendarEventClient, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a calendar * @param id Select an event * @param item Event to update * @param callback The callback */ v4CalendarPatchItem(table: string, id: string, item: Models.GraphCalendarEventClient, 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 */ v4CalendarPatchItem(table: string, id: string, item: Models.GraphCalendarEventClient, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=calendarsTableData.d.ts.map