@rongcloud/engine 5.8.4 → 5.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1468,6 +1468,10 @@ declare enum ErrorCode {
1468
1468
  * 搜索字段对应消息错误
1469
1469
  */
1470
1470
  SEARCH_PROPS_LIMIT_ERROR = 35022,
1471
+ /**
1472
+ * 无效的数据中心请求, appkey 不是该数据中心的,需要重定向到正确的数据中心
1473
+ */
1474
+ CLOUD_DATA_CENTER_INVALID = 20512,
1471
1475
  /** ============================= 错误码 -- 废弃部分 ============================= */
1472
1476
  /**
1473
1477
  * 未知原因失败。
@@ -1977,7 +1981,11 @@ declare enum MessageType {
1977
1981
  /**
1978
1982
  * 拦截消息,(当发送的消息的敏感词时,服务会下发一个拦截消息,内容包含被拦截消息信息)
1979
1983
  */
1980
- INTERCEPT = "RC:InterceptMsg"
1984
+ INTERCEPT = "RC:InterceptMsg",
1985
+ /**
1986
+ * 云控消息
1987
+ */
1988
+ CLOUD_CONTROL = "RC:CCConfigChangeRequestMsg"
1981
1989
  }
1982
1990
 
1983
1991
  /**
@@ -2247,7 +2255,18 @@ declare enum LogTagId {
2247
2255
  /** 获取静态配置 */
2248
2256
  L_GET_STATIC_CONF_T = "L-get_static_conf-T",
2249
2257
  L_GET_STATIC_CONF_R = "L-get_static_conf-R",
2250
- L_GET_STATIC_CONF_E = "L-get_static_conf-E"
2258
+ L_GET_STATIC_CONF_E = "L-get_static_conf-E",
2259
+ /** 云控日志 */
2260
+ L_CLOUD_DISABLED = "L-cloud_disabled",
2261
+ L_CLOUD_EXPIRE = "L-cloud_expire",
2262
+ L_CLOUD_OVERCLOCK = "L-cloud_overclock",
2263
+ L_CLOUD_APPKEY_REGION_E = "L-cloud_appkey_region_error",
2264
+ L_CLOUD_CONFIG_DATA_E = "L-cloud_config_data_error",
2265
+ L_CLOUD_SET_CACHE_O = "L-cloud_set_cache-O",
2266
+ L_CLOUD_GET_CACHE_O = "L-cloud_get_cache-O",
2267
+ L_CLOUD_MSG_NTF_O = "L-cloud_msg_ntf-O",
2268
+ L_PARSE_JSON_MSGS_E = "L-parse_json_messsages-E",
2269
+ L_PARSE_JSON_E = "L-parse_json-E"
2251
2270
  }
2252
2271
 
2253
2272
  /** 统计数据标签 */
@@ -2258,7 +2277,10 @@ declare enum StatisticsTag {
2258
2277
  IM_CMP = "IM-stats_cmp-S",
2259
2278
  IM_CMP_RMTP = "IM-stats_cmp_rmtp-S",
2260
2279
  IM_STATS_CS = "IM-stats_cs-S",
2261
- IM_NETWORK_CHANGE = "IM-stats_network_change-S"
2280
+ IM_NETWORK_CHANGE = "IM-stats_network_change-S",
2281
+ /** 云控配置埋点 */
2282
+ L_CLOUD_INFO_FETCH_T = "L-cloud_info_fetch-T",
2283
+ L_CLOUD_INFO_FETCH_R = "L-cloud_info_fetch-R"
2262
2284
  }
2263
2285
 
2264
2286
  /**
@@ -4429,9 +4451,22 @@ declare class IndexDBStatisticReporter extends BasicStatisticReporter {
4429
4451
  }
4430
4452
 
4431
4453
  declare enum AreaCode {
4454
+ /**
4455
+ * 默认值,北京数据中心
4456
+ */
4432
4457
  BJ = 1,
4458
+ /**
4459
+ * 新加坡数据中心
4460
+ */
4433
4461
  SG = 2,
4434
- NA = 3
4462
+ /**
4463
+ * 北美数据中心
4464
+ */
4465
+ NA = 3,
4466
+ /**
4467
+ * 新增新加坡数据中心
4468
+ */
4469
+ SG_A = 4
4435
4470
  }
4436
4471
 
4437
4472
  interface IStaticConfigData {
@@ -4582,7 +4617,8 @@ declare class WebsocketStaticConfigManager extends BasicStaticConfigManager {
4582
4617
  */
4583
4618
  declare class WebSocketNavi extends BasicNavi {
4584
4619
  private runtime;
4585
- constructor(appkey: string, logger: BasicLogger, statisticLog: BasicStatistic, runtime: IRuntime, staticConfigManager: WebsocketStaticConfigManager);
4620
+ private environment;
4621
+ constructor(appkey: string, logger: BasicLogger, statisticLog: BasicStatistic, runtime: IRuntime, staticConfigManager: WebsocketStaticConfigManager, environment?: string);
4586
4622
  protected httpRequest(uri: string, appkey: string, token: string, traceId: string, finished: boolean): IPromiseResult<INaviInfo>;
4587
4623
  protected httpRequestV2(uri: string, appkey: string, token: string, traceId: string): IPromiseResult<INaviInfo>;
4588
4624
  protected getNaviCache(formatedToken: string): INaviCache | null;
@@ -5931,7 +5967,7 @@ declare abstract class BasicReporter {
5931
5967
  * @param logId 拉取事务 Id,用于上传日志时的 Http 请求
5932
5968
  * @param messageUId 消息 messageUId
5933
5969
  */
5934
- report(startTime: number, endTime: number, platform: string, uri: string, logId: string, messageUId: string): Promise<void>;
5970
+ report(startTime: number, endTime: number, platform: string, uri: string, logId: string, messageUId: string, isCloudControl?: boolean): Promise<void>;
5935
5971
  /**
5936
5972
  * 以 `POST` 方法向服务发送日志数据
5937
5973
  * @param url
@@ -5978,7 +6014,7 @@ declare class IndexDBReporter extends BasicReporter {
5978
6014
  * @param logId
5979
6015
  * @param messageUId
5980
6016
  */
5981
- report(startTime: number, endTime: number, platform: string, uri: string, logId: string, messageUId: string): Promise<void>;
6017
+ report(startTime: number, endTime: number, platform: string, uri: string, logId: string, messageUId: string, isCloudControl?: boolean): Promise<void>;
5982
6018
  protected realtimeReport(url: string, level: LogL, itv: number): Promise<void>;
5983
6019
  }
5984
6020
 
@@ -6229,6 +6265,10 @@ interface IAPIContextOption {
6229
6265
  * 日志服务地址
6230
6266
  */
6231
6267
  logServerUrl?: string;
6268
+ /**
6269
+ * 私有云环境配置
6270
+ */
6271
+ environment?: string;
6232
6272
  }
6233
6273
 
6234
6274
  interface IPluginGenerator<API, InitOption> {
@@ -8319,6 +8359,10 @@ declare class UrlCenter {
8319
8359
  * 获取静态配置地址
8320
8360
  */
8321
8361
  getStaticConfigUrl(): string[];
8362
+ /**
8363
+ * @returns 获取云控地址
8364
+ */
8365
+ getCloudControllerUrl(areaCode?: number): string[];
8322
8366
  }
8323
8367
  declare const urlCenter: UrlCenter;
8324
8368
 
@@ -8394,6 +8438,10 @@ declare class VersionManage {
8394
8438
  };
8395
8439
  }
8396
8440
 
8441
+ declare function isStartCloudController(): boolean;
8442
+
8443
+ declare const getDeviceId: (runtime: IRuntime) => string;
8444
+
8397
8445
  /**
8398
8446
  * 检查参数是否为字符串
8399
8447
  * 只做类型检查,不做长度检查,故当字符串长度为 0,结果依然为 true
@@ -8645,6 +8693,7 @@ declare const getbundleId: () => string;
8645
8693
  */
8646
8694
  declare const decryptCBC: (data: string, key: string, iv: string) => Promise<string>;
8647
8695
  declare function fixUrlProtocol(url: string, protocol?: EConnectProtocol): string;
8696
+ declare const getMinionURL: (naviInfo: INaviInfo, logger: BasicLogger) => string;
8648
8697
 
8649
8698
  declare function httpRequest(options: IRequest): Promise<IResponse>;
8650
8699
 
@@ -8766,6 +8815,7 @@ declare const FORMATED_VERSION: string;
8766
8815
  declare const MAX_UPLOAD_FILE_SIZE: number;
8767
8816
  declare const UPLOAD_FILE_CHUNK_SIZE: number;
8768
8817
  declare const STATIC_CONFIG_CACHE_TIME: number;
8818
+ declare const RC_DEFAULT_USER = "rongcloudsystem";
8769
8819
  /**
8770
8820
  * localStorage 中的 key 值
8771
8821
  */
@@ -8818,8 +8868,157 @@ declare const LOCAL_STORAGE_KEYS: {
8818
8868
  * staticConfig 静态配置
8819
8869
  */
8820
8870
  STATIC_CONFIG_KEY: (appKey: string) => string;
8871
+ /**
8872
+ * 云控配置存储
8873
+ */
8874
+ CLOUD_CONTROL_KEY: (appKey: string) => string;
8821
8875
  };
8822
8876
 
8877
+ interface ICloudConfig {
8878
+ temporary: boolean;
8879
+ enable: boolean;
8880
+ expire: number;
8881
+ interval: number;
8882
+ }
8883
+ interface IUploadLogConfig {
8884
+ temporary: boolean;
8885
+ tasks: IUploadTask[];
8886
+ }
8887
+ interface IUploadTask {
8888
+ /**
8889
+ * 消息类型
8890
+ */
8891
+ objectName: string;
8892
+ /**
8893
+ * 上报地址
8894
+ */
8895
+ uri: string;
8896
+ /**
8897
+ * 日志 id
8898
+ */
8899
+ logId: string;
8900
+ /**
8901
+ * 开始时间
8902
+ */
8903
+ startTime?: number;
8904
+ /**
8905
+ * 结束时间
8906
+ */
8907
+ endTime?: number;
8908
+ /**
8909
+ * 平台标识
8910
+ */
8911
+ platform?: string;
8912
+ /**
8913
+ * 移动端包名,web 暂未使用
8914
+ */
8915
+ packageName?: string;
8916
+ /**
8917
+ * 会话类型
8918
+ */
8919
+ conversationType?: number;
8920
+ /**
8921
+ * 目标 id
8922
+ */
8923
+ targetId?: string;
8924
+ /**
8925
+ * 频道 id
8926
+ */
8927
+ channelId?: string;
8928
+ /**
8929
+ * 消息 id list
8930
+ * 移动端拉取消息列表使用,web 暂未使用
8931
+ */
8932
+ msgUids?: string;
8933
+ /**
8934
+ * 用户 id
8935
+ */
8936
+ userId?: string;
8937
+ }
8938
+ interface ICloudController {
8939
+ /**
8940
+ * 云控配置
8941
+ */
8942
+ cc: ICloudConfig;
8943
+ /**
8944
+ * 云控配置版本
8945
+ */
8946
+ uploadLog: IUploadLogConfig;
8947
+ /**
8948
+ * 时间戳
8949
+ */
8950
+ timestamp: number;
8951
+ /**
8952
+ * 最后一次请求时间
8953
+ */
8954
+ lastRequestTime: number;
8955
+ /**
8956
+ * 区域码
8957
+ */
8958
+ targetRegion?: number;
8959
+ }
8960
+ declare enum InvokerType {
8961
+ init = 1,
8962
+ newWorkChange = 2,
8963
+ other = 3
8964
+ }
8965
+
8966
+ declare class UploadTaskManage {
8967
+ private readonly reporter;
8968
+ private logId;
8969
+ private uploadTask;
8970
+ private taskLock;
8971
+ constructor(reporter: BasicReporter);
8972
+ uploadLogCmdTask(data: IUploadTask): void;
8973
+ private reportLogCmdTask;
8974
+ private enqueueTask;
8975
+ }
8976
+
8977
+ declare abstract class BaseCloudController {
8978
+ protected logger: BasicLogger;
8979
+ protected appkey: string;
8980
+ protected reporter: BasicReporter;
8981
+ protected statisticLog: BasicStatistic;
8982
+ /**
8983
+ * 是否启用云控
8984
+ */
8985
+ private isEable;
8986
+ /**
8987
+ * 配置有效期, 单位为毫秒
8988
+ */
8989
+ protected expire: number;
8990
+ /**
8991
+ * 配置刷新间隔, 单位为毫秒
8992
+ */
8993
+ protected interval: number;
8994
+ /**
8995
+ * 配置更新时间
8996
+ */
8997
+ protected timestamp: number;
8998
+ /**
8999
+ * 最近一次发起请求时间
9000
+ */
9001
+ protected lastRequestTime: number;
9002
+ protected uploadTaskManage: UploadTaskManage;
9003
+ /**
9004
+ * 缓存矫正 areacode
9005
+ */
9006
+ protected changeAreaCode: number | undefined;
9007
+ protected _cache: ICloudController | null;
9008
+ constructor(logger: BasicLogger, appkey: string, reporter: BasicReporter, statisticLog: BasicStatistic);
9009
+ protected init(): void;
9010
+ protected abstract httpRequest(url: string, method: HttpMethod, headers: {
9011
+ [key: string]: string;
9012
+ }, body: any): IPromiseResult<ICloudController>;
9013
+ protected abstract setCloudControllerCache(data: ICloudController): void;
9014
+ protected abstract getLocalCloudControllerCache(): string | null;
9015
+ private isExire;
9016
+ private isOverclock;
9017
+ private logCmdMsgTasks;
9018
+ protected dataHandle(data: ICloudController): void;
9019
+ request(uri: string, invoker: InvokerType, token?: string): Promise<number>;
9020
+ }
9021
+
8823
9022
  /**
8824
9023
  * 请使用 `Codec` 替代 `AbsCodec`
8825
9024
  * @deprecated
@@ -8832,4 +9031,4 @@ declare type AbsCodec<T> = Codec<T>;
8832
9031
  */
8833
9032
  declare const version: string;
8834
9033
 
8835
- export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PluginContext, ProtocalType, RCAssertError, RCConnectionStatus, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, getBrowser, getClientMessageId, getMimeKey, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, unInitStatisticDB, urlCenter, usingCppEngine, validate, version };
9034
+ export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BaseCloudController, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, ICloudController, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerConversationStatus, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUploadTask, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OperateStatus, PluginContext, ProtocalType, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, VERSION, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clone, cloneByJSON, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, getBrowser, getClientMessageId, getDeviceId, getMimeKey, getMinionURL, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isNull, isNumber, isObject, isStartCloudController, isString, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, unInitStatisticDB, urlCenter, usingCppEngine, validate, version };