@rongcloud/engine 5.8.4-alpha.7 → 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
  * 未知原因失败。
@@ -1890,10 +1894,6 @@ declare enum MessageType {
1890
1894
  * 合并转发消息
1891
1895
  */
1892
1896
  COMBINE = "RC:CombineMsg",
1893
- /**
1894
- * 合并转发消息 v2 版本
1895
- */
1896
- COMBINE_V2 = "RC:CombineV2Msg",
1897
1897
  /**
1898
1898
  * 聊天室 KV 通知消息
1899
1899
  */
@@ -1981,7 +1981,11 @@ declare enum MessageType {
1981
1981
  /**
1982
1982
  * 拦截消息,(当发送的消息的敏感词时,服务会下发一个拦截消息,内容包含被拦截消息信息)
1983
1983
  */
1984
- INTERCEPT = "RC:InterceptMsg"
1984
+ INTERCEPT = "RC:InterceptMsg",
1985
+ /**
1986
+ * 云控消息
1987
+ */
1988
+ CLOUD_CONTROL = "RC:CCConfigChangeRequestMsg"
1985
1989
  }
1986
1990
 
1987
1991
  /**
@@ -2251,7 +2255,18 @@ declare enum LogTagId {
2251
2255
  /** 获取静态配置 */
2252
2256
  L_GET_STATIC_CONF_T = "L-get_static_conf-T",
2253
2257
  L_GET_STATIC_CONF_R = "L-get_static_conf-R",
2254
- 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"
2255
2270
  }
2256
2271
 
2257
2272
  /** 统计数据标签 */
@@ -2262,7 +2277,10 @@ declare enum StatisticsTag {
2262
2277
  IM_CMP = "IM-stats_cmp-S",
2263
2278
  IM_CMP_RMTP = "IM-stats_cmp_rmtp-S",
2264
2279
  IM_STATS_CS = "IM-stats_cs-S",
2265
- 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"
2266
2284
  }
2267
2285
 
2268
2286
  /**
@@ -3241,64 +3259,6 @@ interface MentionedInfoBody {
3241
3259
  userIdList?: string[];
3242
3260
  mentionedContent?: string;
3243
3261
  }
3244
- /**
3245
- * 被合并的消息数据结构
3246
- */
3247
- interface ICombinedMessage {
3248
- /**
3249
- * 消息发送者的用户 Id
3250
- */
3251
- fromUserId: string;
3252
- /**
3253
- * 消息所属会话 Id
3254
- */
3255
- targetId: string;
3256
- /**
3257
- * 消息发送时间
3258
- */
3259
- timestamp: number;
3260
- /**
3261
- * 消息类型
3262
- */
3263
- objectName: string;
3264
- /**
3265
- * 消息内容
3266
- */
3267
- content: any;
3268
- }
3269
- /**
3270
- * v2 版本合并转发消息 content 结构
3271
- */
3272
- interface ICombineV2MessageContent {
3273
- /**
3274
- * 被合并消息的来源会话类型
3275
- */
3276
- conversationType: ConversationType;
3277
- /**
3278
- * 合并信息摘要,建议取被合并消息中的前三条消息的内容
3279
- */
3280
- summaryList: string[];
3281
- /**
3282
- * 名称列表,单聊时为双方的名称,群聊时为群组名称
3283
- */
3284
- nameList: string[];
3285
- /**
3286
- * 被合并消息的条目数量
3287
- */
3288
- msgNum: number;
3289
- /**
3290
- * 被合并消息的消息内容,仅当内容 JSON 序列化后长度小于 120K 时有值;当长度大于 120K 时,内容将被以文件的形式远端存储。
3291
- */
3292
- msgList?: Array<ICombinedMessage>;
3293
- /**
3294
- * 被合并消息的内容 JSON 序列化后长度大于 120K 时的文件名,暂时无作用,移动端依据此字段判断是否有文件需要下载,而非 remoteUrl 字段
3295
- */
3296
- jsonMsgKey?: string;
3297
- /**
3298
- * 远端存储文件的 URL,仅 jsonMsgKey 有值时存在
3299
- */
3300
- remoteUrl?: string;
3301
- }
3302
3262
 
3303
3263
  interface IUpdateItem {
3304
3264
  isTop?: {
@@ -4491,9 +4451,22 @@ declare class IndexDBStatisticReporter extends BasicStatisticReporter {
4491
4451
  }
4492
4452
 
4493
4453
  declare enum AreaCode {
4454
+ /**
4455
+ * 默认值,北京数据中心
4456
+ */
4494
4457
  BJ = 1,
4458
+ /**
4459
+ * 新加坡数据中心
4460
+ */
4495
4461
  SG = 2,
4496
- NA = 3
4462
+ /**
4463
+ * 北美数据中心
4464
+ */
4465
+ NA = 3,
4466
+ /**
4467
+ * 新增新加坡数据中心
4468
+ */
4469
+ SG_A = 4
4497
4470
  }
4498
4471
 
4499
4472
  interface IStaticConfigData {
@@ -4644,7 +4617,8 @@ declare class WebsocketStaticConfigManager extends BasicStaticConfigManager {
4644
4617
  */
4645
4618
  declare class WebSocketNavi extends BasicNavi {
4646
4619
  private runtime;
4647
- 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);
4648
4622
  protected httpRequest(uri: string, appkey: string, token: string, traceId: string, finished: boolean): IPromiseResult<INaviInfo>;
4649
4623
  protected httpRequestV2(uri: string, appkey: string, token: string, traceId: string): IPromiseResult<INaviInfo>;
4650
4624
  protected getNaviCache(formatedToken: string): INaviCache | null;
@@ -5993,7 +5967,7 @@ declare abstract class BasicReporter {
5993
5967
  * @param logId 拉取事务 Id,用于上传日志时的 Http 请求
5994
5968
  * @param messageUId 消息 messageUId
5995
5969
  */
5996
- 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>;
5997
5971
  /**
5998
5972
  * 以 `POST` 方法向服务发送日志数据
5999
5973
  * @param url
@@ -6040,7 +6014,7 @@ declare class IndexDBReporter extends BasicReporter {
6040
6014
  * @param logId
6041
6015
  * @param messageUId
6042
6016
  */
6043
- 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>;
6044
6018
  protected realtimeReport(url: string, level: LogL, itv: number): Promise<void>;
6045
6019
  }
6046
6020
 
@@ -6291,6 +6265,10 @@ interface IAPIContextOption {
6291
6265
  * 日志服务地址
6292
6266
  */
6293
6267
  logServerUrl?: string;
6268
+ /**
6269
+ * 私有云环境配置
6270
+ */
6271
+ environment?: string;
6294
6272
  }
6295
6273
 
6296
6274
  interface IPluginGenerator<API, InitOption> {
@@ -8381,6 +8359,10 @@ declare class UrlCenter {
8381
8359
  * 获取静态配置地址
8382
8360
  */
8383
8361
  getStaticConfigUrl(): string[];
8362
+ /**
8363
+ * @returns 获取云控地址
8364
+ */
8365
+ getCloudControllerUrl(areaCode?: number): string[];
8384
8366
  }
8385
8367
  declare const urlCenter: UrlCenter;
8386
8368
 
@@ -8456,6 +8438,10 @@ declare class VersionManage {
8456
8438
  };
8457
8439
  }
8458
8440
 
8441
+ declare function isStartCloudController(): boolean;
8442
+
8443
+ declare const getDeviceId: (runtime: IRuntime) => string;
8444
+
8459
8445
  /**
8460
8446
  * 检查参数是否为字符串
8461
8447
  * 只做类型检查,不做长度检查,故当字符串长度为 0,结果依然为 true
@@ -8591,16 +8577,6 @@ declare namespace base {
8591
8577
  declare const getUUID: () => string;
8592
8578
  declare const getUUID22: () => string;
8593
8579
 
8594
- declare class SuspendablePromise<T> {
8595
- private readonly _promise;
8596
- private _resolve;
8597
- private _onCancel;
8598
- constructor(handle: (resolve: (val: T) => void) => void, onCancel: (resolve: (val: T) => void) => void);
8599
- private _onResolve;
8600
- result(): Promise<T>;
8601
- abort(): void;
8602
- }
8603
-
8604
8580
  /**
8605
8581
  * 预定义的验证规则,只包含`值类型`数据验证
8606
8582
  * 引用类型数据需使用自定义 validator 校验函数进行校验
@@ -8717,8 +8693,9 @@ declare const getbundleId: () => string;
8717
8693
  */
8718
8694
  declare const decryptCBC: (data: string, key: string, iv: string) => Promise<string>;
8719
8695
  declare function fixUrlProtocol(url: string, protocol?: EConnectProtocol): string;
8696
+ declare const getMinionURL: (naviInfo: INaviInfo, logger: BasicLogger) => string;
8720
8697
 
8721
- declare function httpRequest(options: IRequest): SuspendablePromise<IResponse>;
8698
+ declare function httpRequest(options: IRequest): Promise<IResponse>;
8722
8699
 
8723
8700
  /**
8724
8701
  * @todo 后期禁用此方法,容易滥用,且会丢失上下文的数据类型跟踪
@@ -8838,6 +8815,7 @@ declare const FORMATED_VERSION: string;
8838
8815
  declare const MAX_UPLOAD_FILE_SIZE: number;
8839
8816
  declare const UPLOAD_FILE_CHUNK_SIZE: number;
8840
8817
  declare const STATIC_CONFIG_CACHE_TIME: number;
8818
+ declare const RC_DEFAULT_USER = "rongcloudsystem";
8841
8819
  /**
8842
8820
  * localStorage 中的 key 值
8843
8821
  */
@@ -8890,8 +8868,157 @@ declare const LOCAL_STORAGE_KEYS: {
8890
8868
  * staticConfig 静态配置
8891
8869
  */
8892
8870
  STATIC_CONFIG_KEY: (appKey: string) => string;
8871
+ /**
8872
+ * 云控配置存储
8873
+ */
8874
+ CLOUD_CONTROL_KEY: (appKey: string) => string;
8893
8875
  };
8894
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
+
8895
9022
  /**
8896
9023
  * 请使用 `Codec` 替代 `AbsCodec`
8897
9024
  * @deprecated
@@ -8904,4 +9031,4 @@ declare type AbsCodec<T> = Codec<T>;
8904
9031
  */
8905
9032
  declare const version: string;
8906
9033
 
8907
- 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, ICombineV2MessageContent, ICombinedMessage, 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, SuspendablePromise, 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 };