/// import url from 'url'; import { DESTINATION_TYPE } from '../constants'; /** * @class MeetingInfoUtil */ export default class MeetingInfoUtil { static meetingInfoError: string; static getParsedUrl(link: any): false | url.UrlWithStringQuery; /** * Helper function to check if a string matches a known meeting link pattern * @param {String} value string to parse and see if it matches a meeting link * @returns {Boolean} */ static isMeetingLink(value: string): any; static isConversationUrl(value: any, webex: any): any; static isSipUri(sipString: any): RegExpExecArray; static isPhoneNumber(phoneNumber: any): boolean; static getHydraId(destination: any): { room: boolean; destination: any; cluster: any; people?: undefined; } | { people: boolean; destination: any; cluster: any; room?: undefined; } | { room?: undefined; destination?: undefined; cluster?: undefined; people?: undefined; }; static getSipUriFromHydraPersonId(destination: any, webex: any): any; static getDestinationType(from: any): Promise; /** * Helper function to build up a correct locus url depending on the value passed * @param {Object} options type and value to fetch meeting info * @param {DESTINATION_TYPE} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK] * @param {String} options.installedOrgID org ID of user's machine * @param {Object} options.destination ?? value.value * @returns {Object} returns an object with {resource, method} */ static getRequestBody(options: { type: DESTINATION_TYPE; destination: object; } | any): any; /** * Helper function to parse the webex site/host from a URI string. * @param {String} uri string (e.g. '10019857020@convergedats.webex.com') * @returns {String} the site/host part of the URI string (e.g. 'convergedats.webex.com') */ static getWebexSite(uri: string): string; /** * Helper function to return the direct URI for fetching meeting info (to avoid a redirect). * @param {Object} options type and value to fetch meeting info * @param {String} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK] * @param {Object} options.destination ?? value.value * @returns {String} returns a URI string or null of there is no direct URI */ static getDirectMeetingInfoURI(options: { type: string; destination: any; }): string; }