/// import { CatalystApp } from '../catalyst-app'; import { AuthorizedHttpClient } from '../utils/api-request'; import { Readable } from 'stream'; import { ICatalystSmartbrowzPdf, ICatalystSmartbrowzScrShot, ICatalystSmartbrowzTemplate } from '../utils/pojo/smartbrowz'; import { Dataverse } from './dataverse'; import { BrowserGrid } from './browser-grid'; type ICatalystSmartbrowzTemplateOptions = ICatalystSmartbrowzTemplate & (ICatalystSmartbrowzScrShot | ICatalystSmartbrowzPdf); export declare class Smartbrowz { #private; readonly requester: AuthorizedHttpClient; readonly projectId: string | number; constructor(app: CatalystApp); /** * Access a Dataverse instance * @returns an instance object to access Dataverse functionalities */ dataverse(): Dataverse; /** * Access a BrowserGrid instance * @returns an instance object to access Browser Grid functionalities */ browserGrid(): BrowserGrid; convertToPdf(source: string, options?: ICatalystSmartbrowzPdf): Promise; takeScreenshot(source: string, options?: ICatalystSmartbrowzScrShot): Promise; generateFromTemplate(id: string, options?: ICatalystSmartbrowzTemplateOptions): Promise; /** * Get comprehensive details about any organization using its name, email address or website URL. * @param leadDetails - detail to identify the lead. Supported values Email, LeadName, WebsiteURL. * @returns enriched leads data * * @deprecated This method is deprecated and will be removed in the future version. \ * Use {@link Dataverse.getEnrichedLead getEnrichedLead} method instead * * @example * ``` * // AdvancedIO * const catalyst = require('zcatalyst-sdk-node'); * const app = catalyst.initialize(req); // initialize catalyst sdk * await app.SmartBrowz().dataverse().getEnrichedLead({websiteUrl: "https://catalyst.zoho.com"}); // get Enriched Leads * await app.SmartBrowz().getEnrichedLead({websiteUrl: "https://catalyst.zoho.com"}); // get Enriched Leads - deprecated * ``` */ getEnrichedLead({ email, leadName, websiteUrl }?: Parameters[0]): ReturnType; /** * Get details about the technologies and frameworks used by an organization. * @param websiteUrl - Url of the website to find the tech stack. * @returns tech stack details of the website * * @deprecated This method is deprecated and will be removed in the future version. \ * Use {@link Dataverse.findTechStack findTechStack} method instead * * @example * ``` * // AdvancedIO * const catalyst = require('zcatalyst-sdk-node'); * const app = catalyst.initialize(req); // initialize catalyst sdk * await app.SmartBrowz().dataverse().findTechStack("https://catalyst.zoho.com"); // find tech stack * await app.SmartBrowz().findTechStack("https://catalyst.zoho.com"); // find tech stack - deprecated * ``` */ findTechStack(websiteUrl: Parameters[0]): ReturnType; /** * Find out all the potential competitors of an organization. * @param orgDetails - details to identify the organization. Supported values are LeadName and WebsiteURL * @returns list of similar organizations. * * @deprecated This method is deprecated and will be removed in the future version. \ * Use {@link Dataverse.getSimilarCompanies getSimilarCompanies} method instead * * @example * ``` * // AdvancedIO * const catalyst = require('zcatalyst-sdk-node'); * const app = catalyst.initialize(req); // initialize catalyst sdk * await app.SmartBrowz().dataverse().getSimilarCompanies({ leadName: "zoho catalyst" }); // find tech stack * await app.SmartBrowz().getSimilarCompanies({ leadName: "zoho catalyst"}); // find tech stack - deprecated */ getSimilarCompanies({ leadName, websiteUrl }?: Parameters[0]): ReturnType; } export {};