import { DESTINATION_TYPE } from '../constants'; /** * Error to indicate that wbxappapi requires a password */ export declare class MeetingInfoV2PasswordError extends Error { meetingInfo: any; sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {Object} [meetingInfo] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string); } /** * Error generating a adhoc space meeting */ export declare class MeetingInfoV2AdhocMeetingError extends Error { sdkMessage: any; wbxAppApiCode: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, message?: string); } /** * Error preventing join because of a meeting policy */ export declare class MeetingInfoV2PolicyError extends Error { meetingInfo: object; sdkMessage: string; wbxAppApiCode: number; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {Object} [meetingInfo] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string); } /** * Error to indicate that preferred webex site not present to start adhoc meeting */ export declare class MeetingInfoV2CaptchaError extends Error { captchaInfo: any; isPasswordRequired: any; isRegistrationIdRequired: any; sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {Object} [captchaInfo] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, captchaInfo?: object, message?: string); } /** * Error preventing join because of a webinar have some error */ export declare class MeetingInfoV2JoinWebinarError extends Error { meetingInfo: any; sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {Object} [meetingInfo] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string); } /** * Error preventing join because of a forbidden error */ export declare class MeetingInfoV2JoinForbiddenError extends Error { meetingInfo: any; sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {Object} [meetingInfo] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string); } /** * Error fetching static link for a conversation when it does not exist */ export declare class MeetingInfoV2StaticLinkDoesNotExistError extends Error { sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, message?: string); } /** * Error enabling/disabling static meeting link */ export declare class MeetingInfoV2MeetingIsInProgressError extends Error { sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {String} [message] * @param {Boolean} [enable] */ constructor(wbxAppApiErrorCode?: number, message?: string, enable?: boolean); } /** * Error enabling/disabling static meeting link */ export declare class MeetingInfoV2StaticMeetingLinkAlreadyExists extends Error { sdkMessage: any; wbxAppApiCode: any; body: any; /** * * @constructor * @param {Number} [wbxAppApiErrorCode] * @param {String} [message] */ constructor(wbxAppApiErrorCode?: number, message?: string); } /** * @class MeetingInfo */ export default class MeetingInfoV2 { webex: any; /** * * @param {WebexSDK} webex */ constructor(webex: any); /** * converts hydra id into conversation url and persons Id * @param {String} destination one of many different types of destinations to look up info for * @param {String} [type] to match up with the destination value * @returns {Promise} destination and type * @public * @memberof MeetingInfo */ fetchInfoOptions(destination: string, type?: string): Promise; /** * Raises a MeetingInfoV2PolicyError for policy error codes * @param {any} err the error from the request * @returns {void} */ handlePolicyError: (err: any) => void; /** * Raises a handleJoinWebinarError for join webinar error codes * @param {any} err the error from the request * @returns {void} */ handleJoinWebinarError: (err: any) => void; /** * Raises a handleForbiddenError for join meeting forbidden error * @param {any} err the error from the request * @returns {void} */ handleForbiddenError: (err: any) => void; /** * helper function to either create an adhoc space meeting or enable static meeting link * @param {String} conversationUrl conversationUrl to start adhoc meeting on * @param {String} installedOrgID org ID of user's machine * @param {Boolean} enableStaticMeetingLink whether or not to enable static meeting link * @param {String} classificationId need it to start adhoc meeting if space support classification * @returns {Promise} returns a meeting info object * @public * @memberof MeetingInfo */ createAdhocSpaceMeetingOrEnableStaticMeetingLink(conversationUrl: string, installedOrgID?: string, enableStaticMeetingLink?: boolean, classificationId?: any): Promise; /** * Creates adhoc space meetings for a space by fetching the conversation infomation * @param {String} conversationUrl conversationUrl to start adhoc meeting on * @param {String} installedOrgID org ID of user's machine * @param {String} classificationId if space is support classification, it needs provide it during start instant meeting * @returns {Promise} returns a meeting info object * @public * @memberof MeetingInfo */ createAdhocSpaceMeeting(conversationUrl: string, installedOrgID?: string, classificationId?: string): Promise; /** * Fetches details for static meeting link * @param {String} conversationUrl conversationUrl that's required to find static meeting link if it exists * @returns {Promise} returns a Promise * @public * @memberof MeetingInfo */ fetchStaticMeetingLink(conversationUrl: string): Promise; /** * Enables static meeting link * @param {String} conversationUrl conversationUrl that's required to enable static meeting link * @returns {Promise} returns a Promise * @public * @memberof MeetingInfo */ enableStaticMeetingLink(conversationUrl: string): Promise; /** * Disables static meeting link for given conversation url * @param {String} conversationUrl conversationUrl that's required to disable static meeting link if it exists * @returns {Promise} returns a Promise * @public * @memberof MeetingInfo */ disableStaticMeetingLink(conversationUrl: string): Promise; /** * Fetches meeting info from the server * @param {String} destination one of many different types of destinations to look up info for * @param {DESTINATION_TYPE} [type] to match up with the destination value * @param {String} password * @param {Object} captchaInfo * @param {String} captchaInfo.code * @param {String} captchaInfo.id * @param {String} installedOrgID org ID of user's machine * @param {String} locusId * @param {Object} extraParams * @param {Object} options * @param {String} registrationId * @param {String} fullSiteUrl * @param {String} classificationId * @returns {Promise} returns a meeting info object * @public * @memberof MeetingInfo */ fetchMeetingInfo(destination: string, type?: DESTINATION_TYPE, password?: string, captchaInfo?: { code: string; id: string; }, installedOrgID?: any, locusId?: any, extraParams?: object, options?: { meetingId?: string; sendCAevents?: boolean; }, registrationId?: string, fullSiteUrl?: string, classificationId?: string): Promise; }