/** * Lead Scraping Service API * Vector Lead Scraping Service API - Manages Lead Scraping Jobs * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@vector.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /// import http from 'http'; import { CreateAccountRequest } from '../model/createAccountRequest'; import { CreateAccountResponse } from '../model/createAccountResponse'; import { CreateScrapingJobRequest } from '../model/createScrapingJobRequest'; import { CreateScrapingJobResponse } from '../model/createScrapingJobResponse'; import { DeleteAccountResponse } from '../model/deleteAccountResponse'; import { DeleteScrapingJobResponse } from '../model/deleteScrapingJobResponse'; import { DownloadScrapingResultsResponse } from '../model/downloadScrapingResultsResponse'; import { GetAccountResponse } from '../model/getAccountResponse'; import { GetScrapingJobResponse } from '../model/getScrapingJobResponse'; import { ListAccountsResponse } from '../model/listAccountsResponse'; import { ListScrapingJobsResponse } from '../model/listScrapingJobsResponse'; import { UpdateAccountRequest } from '../model/updateAccountRequest'; import { UpdateAccountResponse } from '../model/updateAccountResponse'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum LeadScraperServiceApiApiKeys { ApiKeyAuth = 0 } export declare class LeadScraperServiceApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; ApiKeyAuth: ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: LeadScraperServiceApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; /** * Creates a new user account in the workspace service * @summary Create a new account * @param createAccountRequest */ createAccount(createAccountRequest: CreateAccountRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateAccountResponse; }>; /** * This endpoint creates a new Google Maps scraping job * @summary Create a new job scraping task * @param createScrapingJobRequest */ createScrapingJob(createScrapingJobRequest: CreateScrapingJobRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateScrapingJobResponse; }>; /** * Permanently deletes an account and associated resources * @summary Delete account * @param accountId Account identifier * @param orgId Organization context * @param tenantId Tenant context */ deleteAccount(accountId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteAccountResponse; }>; /** * This endpoint deletes a specific Google Maps scraping job * @summary Delete a specific job * @param jobId * @param userId * @param orgId * @param tenantId */ deleteScrapingJob(jobId: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteScrapingJobResponse; }>; /** * This endpoint downloads the results of a Google Maps scraping job as CSV * @summary Download job results as CSV * @param jobId * @param userId * @param orgId * @param tenantId */ downloadScrapingResults(jobId: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DownloadScrapingResultsResponse; }>; /** * Retrieves details of a specific account * @summary Get account details * @param accountId Account identifier * @param orgId Organization context * @param tenantId Tenant context */ getAccount(accountId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetAccountResponse; }>; /** * This endpoint retrieves a specific Google Maps scraping job * @summary Get a specific job * @param jobId * @param userId * @param orgId * @param tenantId */ getScrapingJob(jobId: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetScrapingJobResponse; }>; /** * Retrieves a list of accounts with optional filtering * @summary List accounts * @param orgId Organization context * @param tenantId Tenant context * @param offset Pagination offset * @param limit Maximum number of results */ listAccounts(orgId: string, tenantId: string, offset?: number, limit?: number, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ListAccountsResponse; }>; /** * This endpoint retrieves all Google Maps scraping jobs * @summary Get all jobs * @param userId * @param orgId * @param tenantId */ listScrapingJobs(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ListScrapingJobsResponse; }>; /** * Updates specified fields of an existing account * @summary Update account details * @param updateAccountRequest */ updateAccount(updateAccountRequest: UpdateAccountRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: UpdateAccountResponse; }>; }