/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * 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 { AxiosInstance } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetFollowersResponse } from '../models'; /** * UsersApi - axios parameter creator * @export */ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => { /** * Lists users who are following the user. * @summary List followers of a user * @param {number} id The ID of the user * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page * @throws {RequiredError} */ getUserFollowers: (id: number, limit?: number, cursor?: string) => Promise; }; /** * UsersApi - functional programming interface * @export */ export declare const UsersApiFp: (configuration?: Configuration) => { /** * Lists users who are following the user. * @summary List followers of a user * @param {number} id The ID of the user * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page * @throws {RequiredError} */ getUserFollowers(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>; }; /** * UsersApi - factory interface * @export */ export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Lists users who are following the user. * @summary List followers of a user * @param {UsersApiGetUserFollowersRequest} requestParameters Request parameters. * @throws {RequiredError} */ getUserFollowers(requestParameters: UsersApiGetUserFollowersRequest): Promise; }; /** * Request parameters for getUserFollowers operation in UsersApi. * @export * @interface UsersApiGetUserFollowersRequest */ export interface UsersApiGetUserFollowersRequest { /** * The ID of the user * @type {number} * @memberof UsersApiGetUserFollowers */ readonly id: number; /** * For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @type {number} * @memberof UsersApiGetUserFollowers */ readonly limit?: number; /** * For pagination, the marker (an opaque string value) representing the first item on the next page * @type {string} * @memberof UsersApiGetUserFollowers */ readonly cursor?: string; } /** * UsersApi - object-oriented interface * @export * @class UsersApi * @extends {BaseAPI} */ export declare class UsersApi extends BaseAPI { /** * Lists users who are following the user. * @summary List followers of a user * @param {UsersApiGetUserFollowersRequest} requestParameters Request parameters. * @throws {RequiredError} * @memberof UsersApi */ getUserFollowers(requestParameters: UsersApiGetUserFollowersRequest): Promise; }