/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { NEWUpdateOfTheEmailAddressLink } from '../api';
import { NEWUpdateOfTheEmailAddressLink1 } from '../api';
import { WebitelContactsEmailAddress } from '../api';
import { WebitelContactsEmailList } from '../api';
import { WebitelContactsInputEmailAddress } from '../api';
/**
 * EmailsApi - axios parameter creator
 * @export
 */
export declare const EmailsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Remove the contact\'s email address link
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmail: (contactId: string, etag: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove email address(es) of the contact.
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmails: (contactId: string, etag: Array<string>, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locates email address(es) of the contact.
     * @param {string} contactId The Contact ID linked with.
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: email address. &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {Array<string>} [id] Link(s) with unique ID only.
     * @param {boolean} [primary] Primary email address only.
     * @param {boolean} [verified] Verified email addresses only.
     * @param {string} [typeId] Reference Object unique ID.
     * @param {string} [typeType] Reference Object well-known type.
     * @param {string} [typeName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEmails: (contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, primary?: boolean, verified?: boolean, typeId?: string, typeType?: string, typeName?: string, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locate the email address link.
     * @param {string} contactId Contact source ID.
     * @param {string} etag Unique mail address link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateEmail: (contactId: string, etag: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update or append email address(es) of the contact.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Fixed set of email address(es) to be linked with the contact. Email address(es) that conflicts(email) with already linked will be updated.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    mergeEmails: (contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Resets all emails of the contact according to the input dataset.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Final set of email address(es) to be linked with the contact. Email address(es) that are already linked with the contact but not given in here will be removed.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    resetEmails: (contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail: (contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink1} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail2: (contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink1, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
};
/**
 * EmailsApi - functional programming interface
 * @export
 */
export declare const EmailsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Remove the contact\'s email address link
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailAddress>>;
    /**
     *
     * @summary Remove email address(es) of the contact.
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmails(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
    /**
     *
     * @summary Locates email address(es) of the contact.
     * @param {string} contactId The Contact ID linked with.
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: email address. &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {Array<string>} [id] Link(s) with unique ID only.
     * @param {boolean} [primary] Primary email address only.
     * @param {boolean} [verified] Verified email addresses only.
     * @param {string} [typeId] Reference Object unique ID.
     * @param {string} [typeType] Reference Object well-known type.
     * @param {string} [typeName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEmails(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, primary?: boolean, verified?: boolean, typeId?: string, typeType?: string, typeName?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
    /**
     *
     * @summary Locate the email address link.
     * @param {string} contactId Contact source ID.
     * @param {string} etag Unique mail address link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailAddress>>;
    /**
     *
     * @summary Update or append email address(es) of the contact.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Fixed set of email address(es) to be linked with the contact. Email address(es) that conflicts(email) with already linked will be updated.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    mergeEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
    /**
     *
     * @summary Resets all emails of the contact according to the input dataset.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Final set of email address(es) to be linked with the contact. Email address(es) that are already linked with the contact but not given in here will be removed.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    resetEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink1} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail2(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink1, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelContactsEmailList>>;
};
/**
 * EmailsApi - factory interface
 * @export
 */
export declare const EmailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Remove the contact\'s email address link
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailAddress>;
    /**
     *
     * @summary Remove email address(es) of the contact.
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEmails(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailList>;
    /**
     *
     * @summary Locates email address(es) of the contact.
     * @param {string} contactId The Contact ID linked with.
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: email address. &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {Array<string>} [id] Link(s) with unique ID only.
     * @param {boolean} [primary] Primary email address only.
     * @param {boolean} [verified] Verified email addresses only.
     * @param {string} [typeId] Reference Object unique ID.
     * @param {string} [typeType] Reference Object well-known type.
     * @param {string} [typeName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEmails(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, primary?: boolean, verified?: boolean, typeId?: string, typeType?: string, typeName?: string, options?: any): AxiosPromise<WebitelContactsEmailList>;
    /**
     *
     * @summary Locate the email address link.
     * @param {string} contactId Contact source ID.
     * @param {string} etag Unique mail address link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailAddress>;
    /**
     *
     * @summary Update or append email address(es) of the contact.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Fixed set of email address(es) to be linked with the contact. Email address(es) that conflicts(email) with already linked will be updated.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    mergeEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailList>;
    /**
     *
     * @summary Resets all emails of the contact according to the input dataset.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Final set of email address(es) to be linked with the contact. Email address(es) that are already linked with the contact but not given in here will be removed.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    resetEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailList>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailList>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink1} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateEmail2(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink1, fields?: Array<string>, options?: any): AxiosPromise<WebitelContactsEmailList>;
};
/**
 * EmailsApi - object-oriented interface
 * @export
 * @class EmailsApi
 * @extends {BaseAPI}
 */
export declare class EmailsApi extends BaseAPI {
    /**
     *
     * @summary Remove the contact\'s email address link
     * @param {string} contactId Contact ID associated with.
     * @param {string} etag Unique ID to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    deleteEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailAddress, any, {}>>;
    /**
     *
     * @summary Remove email address(es) of the contact.
     * @param {string} contactId Contact ID associated with.
     * @param {Array<string>} etag Set of unique ID(s) to remove.
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    deleteEmails(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
    /**
     *
     * @summary Locates email address(es) of the contact.
     * @param {string} contactId The Contact ID linked with.
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {string} [q] Search term: email address. &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
     * @param {Array<string>} [sort] Sort the result according to fields.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {Array<string>} [id] Link(s) with unique ID only.
     * @param {boolean} [primary] Primary email address only.
     * @param {boolean} [verified] Verified email addresses only.
     * @param {string} [typeId] Reference Object unique ID.
     * @param {string} [typeType] Reference Object well-known type.
     * @param {string} [typeName] Reference Object display name.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    listEmails(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, primary?: boolean, verified?: boolean, typeId?: string, typeType?: string, typeName?: string, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
    /**
     *
     * @summary Locate the email address link.
     * @param {string} contactId Contact source ID.
     * @param {string} etag Unique mail address link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
     * @param {Array<string>} [fields] Fields to be retrieved into result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    locateEmail(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailAddress, any, {}>>;
    /**
     *
     * @summary Update or append email address(es) of the contact.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Fixed set of email address(es) to be linked with the contact. Email address(es) that conflicts(email) with already linked will be updated.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    mergeEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
    /**
     *
     * @summary Resets all emails of the contact according to the input dataset.
     * @param {string} contactId Link contact ID.
     * @param {Array<WebitelContactsInputEmailAddress>} input Final set of email address(es) to be linked with the contact. Email address(es) that are already linked with the contact but not given in here will be removed.
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    resetEmails(contactId: string, input: Array<WebitelContactsInputEmailAddress>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    updateEmail(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
    /**
     *
     * @summary Update the contact\'s email address link details
     * @param {string} contactId Link contact ID.
     * @param {string} etag Unique ID of the latest version of an existing resorce.
     * @param {NEWUpdateOfTheEmailAddressLink1} input
     * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EmailsApi
     */
    updateEmail2(contactId: string, etag: string, input: NEWUpdateOfTheEmailAddressLink1, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelContactsEmailList, any, {}>>;
}
//# sourceMappingURL=emails-api.d.ts.map