import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { Office365ConnectorContext } from "../office365ConnectorContext"; /** Class representing a ContactsTableData. */ export declare class ContactsTableData { private readonly client; /** * Create a ContactsTableData. * @param {Office365ConnectorContext} client Reference to the service client. */ constructor(client: Office365ConnectorContext); /** * This operation gets contacts from a contacts folder. * @summary Get contacts * @param table Unique identifier of the contacts folder to retrieve * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ contactGetItems(table: string, options?: Models.ContactsTableDataContactGetItemsOptionalParams): Promise; /** * @param table Unique identifier of the contacts folder to retrieve * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactGetItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Unique identifier of the contacts folder to retrieve * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactGetItems(table: string, options: Models.ContactsTableDataContactGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation creates a new contact in a contacts folder. * @summary Create contact * @param table Select a contacts folder * @param item Contact to create * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ contactPostItem(table: string, item: Models.Contact, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a contacts folder * @param item Contact to create * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactPostItem(table: string, item: Models.Contact, callback: msRest.ServiceCallback): void; /** * @param table Select a contacts folder * @param item Contact to create * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactPostItem(table: string, item: Models.Contact, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation deletes a contact from a contacts folder. * @summary Delete contact * @param table Select a contacts folder * @param id Unique identifier of contact to delete * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ contactDeleteItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a contacts folder * @param id Unique identifier of contact to delete * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactDeleteItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Select a contacts folder * @param id Unique identifier of contact to delete * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactDeleteItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a specific contact from a contacts folder. * @summary Get contact * @param table Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ contactGetItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactGetItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Select a contacts folder * @param id Unique identifier of a contact to retrieve * @param options The optional parameters * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactGetItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation updates a contact in a contacts folder. * @summary Update contact * @param table Select a contacts folder * @param id Unique identifier of contact to update * @param item Contact item to update * @param [options] The optional parameters * @deprecated This operation is deprecated. Please do not use it any longer. * @returns Promise */ contactPatchItem(table: string, id: string, item: Models.Contact, options?: msRest.RequestOptionsBase): Promise; /** * @param table Select a contacts folder * @param id Unique identifier of contact to update * @param item Contact item to update * @param callback The callback * @deprecated This operation is deprecated. Please do not use it any longer. */ contactPatchItem(table: string, id: string, item: Models.Contact, callback: msRest.ServiceCallback): void; /** * @param table 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 * @deprecated This operation is deprecated. Please do not use it any longer. */ contactPatchItem(table: string, id: string, item: Models.Contact, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=contactsTableData.d.ts.map