/** * Provides APIs to work on user data. * @module UserApi */ /** * This API obtains the glimpse data of a specified user. * @function * @static * @example In this example, the API obtains the user glimpse data of a user whose ID is 'author@constellation.com'. * PCore.getUserApi().getOperatorDetails('author@constellation.com') * .then(response => { * // The response of this API is as shown below: * "data": [{ * "@class": "User", * "ID": "Z2xvYmFsVXNlpl82M2RiZWQ2MGJlZGEzZTg2OTgyNTBiNGM", * "Name": “Author Constellation”, * "IsActive": true, * "BusinessID": "author@constellation.com", * "Email": "author@constellation.com", * "AccessGroup": "globalGoMechanicDefaultAG" * }], * "pageNumber": 1, * "pageSize": 1, * "fetchDateTime": "2023-11-13T17:28:36.185Z") * .catch(error => { * console.log(error); * }); * * @param userID The ID of the user whose user glimpse data must be obtained. * @param isBusinessID The flag which determines if the userID passed is in EmailID format or shortID format * @returns The Promise */ export declare const getOperatorDetails: (userID: string, isBusinessID?: boolean) => Promise; declare const _default: { getOperatorDetails: (userID: string, isBusinessID?: boolean) => Promise; }; export default _default;