/** * Login class */ export declare class Login { /** * To login into buyer side and save to token id into global varibale. * Stored token id will be used during to logout api call * * ```js * Login.loginIntoBuyer("https://github.com","abc@zycus.com","12345"); * ``` * * @param {String} pageUrl Url of the Webpage * @param {String} userName UserName * @param {String} passWord Password * */ static loginIntoBuyer(pageUrl: string, userName: string, passWord: string): Promise; /** * To login out from buyer side * * ```js * Login.logOutFromBuyer(); * ``` * */ static logOutFromBuyer(): Promise; /** * To login out from buyer side using API call * * ```js * Login.logoutUsingAPI("PARTNER"); * ``` * * @param {String} setup Name for the Environment */ static logoutUsingAPI(setup: string): Promise; /** * Fetch Environment Name required for Logout Api * * @param {String} setup Name for the Environment */ static getEnvNameForSSO(setup: string): Promise; /** * login into isource supplier side portal. * * ```js * Login.iSourceSupplierPortalLogin(`https://ilogix-qcvw.zycus.net/iSource/login.htm`,`ABC`,`abc@zycus.com`,`ABC@123`); * ``` * * @param {String} pageUrl Url of the Webpage * @param {String} userName UserName * @param {String} emailAddress emailAddress * @param {String} passWord Password * */ static iSourceSupplierPortalLogin(pageUrl: string, userName: string, emailAddress: string, passWord: string): Promise; }