/** * Constant Contact API v3 * Swagger build version 3.0.2475 * * The version of the OpenAPI document: 1.0.116 * Contact: webservices@constantcontact.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 type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetContactAdds200Response } from '../models'; import { GetUniqueContactClicks200Response } from '../models'; import { GetUniqueContactOpens200Response } from '../models'; import { GetUniqueContactSMSOptIns200Response } from '../models'; import { GetUniqueContactUpdates200Response } from '../models'; /** * LandingPagesReportingApi - axios parameter creator * @export */ export declare const LandingPagesReportingApiAxiosParamCreator: (configuration?: Configuration) => { /** * Use this method to get details about each contact added to the account from a specified landing page. Contacts are identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Adds Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactAdds: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; /** * Use this method get contact details for each time a contact opens a link on a landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactOpens: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; /** * Use this method get details about each contact that clicked a link on a landing page campaign activity. Unique contact clicks are identified by both the `contact_id` and `url_id`. The same contact may appear more than once in the results, if they clicked more than one link on the landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Clicks Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactClicks: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; /** * Use this method get details about each contact that opens a link on a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactOpens: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; /** * Use this method get details about unique contacts that click a link on a landing page to opt in to receiving SMS text messages. Contacts are uniquely identified by `contact_id``. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts SMS Opt-In Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactSMSOptIns: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; /** * Use this method to get contact details for each contact that updated their contact data from a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Updates Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactUpdates: (campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig) => Promise; }; /** * LandingPagesReportingApi - functional programming interface * @export */ export declare const LandingPagesReportingApiFp: (configuration?: Configuration) => { /** * Use this method to get details about each contact added to the account from a specified landing page. Contacts are identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Adds Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactAdds(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Use this method get contact details for each time a contact opens a link on a landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Use this method get details about each contact that clicked a link on a landing page campaign activity. Unique contact clicks are identified by both the `contact_id` and `url_id`. The same contact may appear more than once in the results, if they clicked more than one link on the landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Clicks Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactClicks(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Use this method get details about each contact that opens a link on a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Use this method get details about unique contacts that click a link on a landing page to opt in to receiving SMS text messages. Contacts are uniquely identified by `contact_id``. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts SMS Opt-In Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactSMSOptIns(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Use this method to get contact details for each contact that updated their contact data from a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Updates Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactUpdates(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LandingPagesReportingApi - factory interface * @export */ export declare const LandingPagesReportingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Use this method to get details about each contact added to the account from a specified landing page. Contacts are identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Adds Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactAdds(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; /** * Use this method get contact details for each time a contact opens a link on a landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; /** * Use this method get details about each contact that clicked a link on a landing page campaign activity. Unique contact clicks are identified by both the `contact_id` and `url_id`. The same contact may appear more than once in the results, if they clicked more than one link on the landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Clicks Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactClicks(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; /** * Use this method get details about each contact that opens a link on a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; /** * Use this method get details about unique contacts that click a link on a landing page to opt in to receiving SMS text messages. Contacts are uniquely identified by `contact_id``. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts SMS Opt-In Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactSMSOptIns(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; /** * Use this method to get contact details for each contact that updated their contact data from a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Updates Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUniqueContactUpdates(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: any): AxiosPromise; }; /** * LandingPagesReportingApi - object-oriented interface * @export * @class LandingPagesReportingApi * @extends {BaseAPI} */ export declare class LandingPagesReportingApi extends BaseAPI { /** * Use this method to get details about each contact added to the account from a specified landing page. Contacts are identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Adds Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getContactAdds(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; /** * Use this method get contact details for each time a contact opens a link on a landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; /** * Use this method get details about each contact that clicked a link on a landing page campaign activity. Unique contact clicks are identified by both the `contact_id` and `url_id`. The same contact may appear more than once in the results, if they clicked more than one link on the landing page. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Clicks Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getUniqueContactClicks(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; /** * Use this method get details about each contact that opens a link on a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Opens Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getUniqueContactOpens(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; /** * Use this method get details about unique contacts that click a link on a landing page to opt in to receiving SMS text messages. Contacts are uniquely identified by `contact_id``. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts SMS Opt-In Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact click results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to return only contacts that match a contacts full or partial first or last name, or email. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getUniqueContactSMSOptIns(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; /** * Use this method to get contact details for each contact that updated their contact data from a landing page. Contacts are uniquely identified by `contact_id`. The resulting contact data is listed with most recent activity first. * @summary GET a Unique Contacts Updates Landing Page Report * @param {string} campaignActivityId The landing page `campaign_activity_id` (UUID\'s) to use to get unique contact open results. * @param {string} [limit] Use to limit the number of contact tracking activities to return on a single page. The default is `50` and the maximum is `500` per page. * @param {string} [contactsFilter] Use to filter the results to only include contacts that contain a certain value. This parameter does full and partial matches and applies to the contact first name, last name, and email fields. For example: Josie or Jo. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LandingPagesReportingApi */ getUniqueContactUpdates(campaignActivityId: string, limit?: string, contactsFilter?: string, options?: RawAxiosRequestConfig): Promise>; }