@rongcloud/engine 5.12.2-alpha.1 → 5.12.3
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 +130 -13
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1088,12 +1088,6 @@ declare enum ErrorCode {
|
|
|
1088
1088
|
* @deprecated
|
|
1089
1089
|
*/
|
|
1090
1090
|
FEILD = 24009,
|
|
1091
|
-
/**
|
|
1092
|
-
* 24011
|
|
1093
|
-
* channleName 是空(错误码已废弃)
|
|
1094
|
-
* @deprecated
|
|
1095
|
-
*/
|
|
1096
|
-
NULLCHANNELNAME = 24011,
|
|
1097
1091
|
/**
|
|
1098
1092
|
* 24015
|
|
1099
1093
|
* 服务器内部错误
|
|
@@ -1144,7 +1138,7 @@ declare enum ErrorCode {
|
|
|
1144
1138
|
RC_USER_PROFILE_USER_NOT_EXIST = 24366,
|
|
1145
1139
|
/**
|
|
1146
1140
|
* 24367
|
|
1147
|
-
* 用户托管此属性Value只能是数字
|
|
1141
|
+
* 用户托管此属性 Value 只能是数字
|
|
1148
1142
|
* @since 5.9.10
|
|
1149
1143
|
*/
|
|
1150
1144
|
RC_USER_PROFILE_VALUE_CAN_ONLY_BE_NUMBERS = 24367,
|
|
@@ -1247,6 +1241,18 @@ declare enum ErrorCode {
|
|
|
1247
1241
|
* IMLib 撤回消息可以撤回自己发送的消息和别人发送的消息,IM 服务有开关,控制只可以撤回自己发送的消息,当服务该开关打开时,撤回别人的消息会报这个错误。
|
|
1248
1242
|
*/
|
|
1249
1243
|
RECALL_MESSAGE_USER_INVALID = 25107,
|
|
1244
|
+
/**
|
|
1245
|
+
* 25402
|
|
1246
|
+
* 托管服务异常
|
|
1247
|
+
* @since 5.12.0
|
|
1248
|
+
*/
|
|
1249
|
+
RC_ENTRUST_SERVER_ERROR = 25402,
|
|
1250
|
+
/**
|
|
1251
|
+
* 25403
|
|
1252
|
+
* 托管服务参数错误
|
|
1253
|
+
* @since 5.12.0
|
|
1254
|
+
*/
|
|
1255
|
+
RC_ENTRUST_SERVER_PARAMETER_ERROR = 25403,
|
|
1250
1256
|
/**
|
|
1251
1257
|
* 25404
|
|
1252
1258
|
* 非法操作,非群主修改群权限相关,msg中返回传的对应的key
|
|
@@ -1397,6 +1403,24 @@ declare enum ErrorCode {
|
|
|
1397
1403
|
* @since 5.12.0
|
|
1398
1404
|
*/
|
|
1399
1405
|
RC_GROUP_APPLICATION_ALREADY_HANDLE = 25428,
|
|
1406
|
+
/**
|
|
1407
|
+
* 25429
|
|
1408
|
+
* 老的群不支持调用托管接口,需要导入后才能调用
|
|
1409
|
+
* @since 5.12.0
|
|
1410
|
+
*/
|
|
1411
|
+
RC_GROUP_OLD_GROUP_NOT_ENTRUST = 25429,
|
|
1412
|
+
/**
|
|
1413
|
+
* 25430
|
|
1414
|
+
* 群ID不合法,包含特殊字符
|
|
1415
|
+
* @since 5.12.0
|
|
1416
|
+
*/
|
|
1417
|
+
RC_GROUP_ID_INVALID = 25430,
|
|
1418
|
+
/**
|
|
1419
|
+
* 25432
|
|
1420
|
+
* pagetoken解析失败
|
|
1421
|
+
* @since 5.12.0
|
|
1422
|
+
*/
|
|
1423
|
+
RC_PAGE_TOKEN_PARSING_FAILED = 25432,
|
|
1400
1424
|
/**
|
|
1401
1425
|
* 25460
|
|
1402
1426
|
* 已经互为好友,操作无效
|
|
@@ -1435,7 +1459,7 @@ declare enum ErrorCode {
|
|
|
1435
1459
|
RC_FRIEND_NOT_IN_MY_WHITE_LIST = 25465,
|
|
1436
1460
|
/**
|
|
1437
1461
|
* 25466
|
|
1438
|
-
*
|
|
1462
|
+
* 操作无效,该好友请求不存在或已经过期
|
|
1439
1463
|
* @since 5.12.0
|
|
1440
1464
|
*/
|
|
1441
1465
|
RC_FRIEND_APPLICATION_NOT_EXIST = 25466,
|
|
@@ -2498,6 +2522,12 @@ declare enum ErrorCode {
|
|
|
2498
2522
|
* @since 5.12.0
|
|
2499
2523
|
*/
|
|
2500
2524
|
INVALID_PARAMETER_FRIEND_INFO_EXT_FIELDS = 34335,
|
|
2525
|
+
/**
|
|
2526
|
+
* 34336
|
|
2527
|
+
* 实时会话未开启
|
|
2528
|
+
* @since 5.12.3
|
|
2529
|
+
*/
|
|
2530
|
+
RC_REAL_TIME_CONVERSATION_UNAVAILABLE = 34336,
|
|
2501
2531
|
/**
|
|
2502
2532
|
* 35001
|
|
2503
2533
|
* 群组信息异常
|
|
@@ -2704,6 +2734,12 @@ declare enum ErrorCode {
|
|
|
2704
2734
|
* 开发者调用时传入的 pushData 无效
|
|
2705
2735
|
*/
|
|
2706
2736
|
INVALID_PARAMETER_PUSH_DATA = 35050,
|
|
2737
|
+
/**
|
|
2738
|
+
* 35054
|
|
2739
|
+
* 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true
|
|
2740
|
+
* @since 5.12.2
|
|
2741
|
+
*/
|
|
2742
|
+
INVALID_DISABLE_UPDATE_LAST_MESSAGE = 35054,
|
|
2707
2743
|
/**
|
|
2708
2744
|
* 36001
|
|
2709
2745
|
* 加入聊天室Id为空
|
|
@@ -4580,6 +4616,10 @@ interface IReceivedMessage {
|
|
|
4580
4616
|
* 定向用户列表(仅支持群聊, 超级群)
|
|
4581
4617
|
*/
|
|
4582
4618
|
directedUserIds?: string[];
|
|
4619
|
+
/**
|
|
4620
|
+
* 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
|
|
4621
|
+
*/
|
|
4622
|
+
disableUpdateLastMessage?: boolean;
|
|
4583
4623
|
}
|
|
4584
4624
|
/**
|
|
4585
4625
|
* 第一条未读消息信息
|
|
@@ -4735,6 +4775,10 @@ interface IRecallMsgOptions {
|
|
|
4735
4775
|
* 定向消息撤回,人员列表
|
|
4736
4776
|
*/
|
|
4737
4777
|
directionalUserIdList?: string[];
|
|
4778
|
+
/**
|
|
4779
|
+
* 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
|
|
4780
|
+
*/
|
|
4781
|
+
disableUpdateLastMessage?: boolean;
|
|
4738
4782
|
}
|
|
4739
4783
|
interface IRecallMsgContent {
|
|
4740
4784
|
conversationType: number;
|
|
@@ -4874,6 +4918,10 @@ interface ISendMsgOptions {
|
|
|
4874
4918
|
* 超级群专有字段,是否断档,若断档需要客户判断是否拉取
|
|
4875
4919
|
*/
|
|
4876
4920
|
isInterrupt?: boolean;
|
|
4921
|
+
/**
|
|
4922
|
+
* 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
|
|
4923
|
+
*/
|
|
4924
|
+
disableUpdateLastMessage?: boolean;
|
|
4877
4925
|
}
|
|
4878
4926
|
interface IInsertMsgOptions {
|
|
4879
4927
|
senderUserId: string;
|
|
@@ -4892,6 +4940,7 @@ interface IInsertMsgOptions {
|
|
|
4892
4940
|
expansionMsg?: string;
|
|
4893
4941
|
channelId: string;
|
|
4894
4942
|
directedUserIds?: string[];
|
|
4943
|
+
disableUpdateLastMessage?: boolean;
|
|
4895
4944
|
}
|
|
4896
4945
|
/**
|
|
4897
4946
|
* 插入消息结构
|
|
@@ -4980,6 +5029,10 @@ interface IInsertMessage {
|
|
|
4980
5029
|
* 是否 @ 消息
|
|
4981
5030
|
*/
|
|
4982
5031
|
isMentioned?: boolean;
|
|
5032
|
+
/**
|
|
5033
|
+
* 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
|
|
5034
|
+
*/
|
|
5035
|
+
disableUpdateLastMessage?: boolean;
|
|
4983
5036
|
}
|
|
4984
5037
|
interface ISendExMsgOptions {
|
|
4985
5038
|
channelId: string;
|
|
@@ -6086,6 +6139,7 @@ interface IServerAddressData {
|
|
|
6086
6139
|
protocol: EConnectProtocol;
|
|
6087
6140
|
weight: number;
|
|
6088
6141
|
race?: boolean;
|
|
6142
|
+
failed?: boolean;
|
|
6089
6143
|
}
|
|
6090
6144
|
interface ILogPolicy {
|
|
6091
6145
|
level: number;
|
|
@@ -6391,6 +6445,11 @@ interface INaviInfo {
|
|
|
6391
6445
|
# 第二位:是否开启好友关系 事件同步功能
|
|
6392
6446
|
*/
|
|
6393
6447
|
eventDriven?: number;
|
|
6448
|
+
/**
|
|
6449
|
+
* 服务开启实时会话
|
|
6450
|
+
* 第一位:0:未开通实时会话,1: 开通实时会话
|
|
6451
|
+
*/
|
|
6452
|
+
sessionMode?: number;
|
|
6394
6453
|
}
|
|
6395
6454
|
|
|
6396
6455
|
declare type Content = string | number | boolean | null;
|
|
@@ -7190,6 +7249,11 @@ declare abstract class AConnectionMgr {
|
|
|
7190
7249
|
*/
|
|
7191
7250
|
protected updateCmpWeight(cmpUrl: string, isRise: boolean, isQuick?: boolean): void;
|
|
7192
7251
|
private clearCmpWeightCache;
|
|
7252
|
+
/**
|
|
7253
|
+
* 用于子进程崩溃重启后调用重连
|
|
7254
|
+
* @param code 错误码
|
|
7255
|
+
*/
|
|
7256
|
+
reconnect(token: string, reconnectKickEnable: boolean, openCallPlus: boolean, code: ErrorCode): void;
|
|
7193
7257
|
}
|
|
7194
7258
|
|
|
7195
7259
|
/**
|
|
@@ -8776,7 +8840,7 @@ interface IEngine {
|
|
|
8776
8840
|
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
8777
8841
|
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
8778
8842
|
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
8779
|
-
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
8843
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
8780
8844
|
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
8781
8845
|
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
8782
8846
|
memberInviteResponse(params: {
|
|
@@ -8814,6 +8878,7 @@ interface IEngine {
|
|
|
8814
8878
|
code: ErrorCode;
|
|
8815
8879
|
buffer?: any;
|
|
8816
8880
|
}>;
|
|
8881
|
+
removeChatroomFromCatch(roomId: string): void;
|
|
8817
8882
|
}
|
|
8818
8883
|
|
|
8819
8884
|
interface IExpansionMsgContent {
|
|
@@ -9322,6 +9387,10 @@ declare abstract class BasicReporter {
|
|
|
9322
9387
|
* logger 实例
|
|
9323
9388
|
*/
|
|
9324
9389
|
protected readonly logger: BasicLogger;
|
|
9390
|
+
/**
|
|
9391
|
+
* 是否关闭日志上报,默认不关闭
|
|
9392
|
+
*/
|
|
9393
|
+
private disableLogReport;
|
|
9325
9394
|
/**
|
|
9326
9395
|
* 当前用户 id
|
|
9327
9396
|
*/
|
|
@@ -9338,7 +9407,11 @@ declare abstract class BasicReporter {
|
|
|
9338
9407
|
/**
|
|
9339
9408
|
* logger 实例
|
|
9340
9409
|
*/
|
|
9341
|
-
logger: BasicLogger
|
|
9410
|
+
logger: BasicLogger,
|
|
9411
|
+
/**
|
|
9412
|
+
* 是否关闭日志上报,默认不关闭
|
|
9413
|
+
*/
|
|
9414
|
+
disableLogReport?: boolean);
|
|
9342
9415
|
private timer;
|
|
9343
9416
|
protected started: boolean;
|
|
9344
9417
|
/**
|
|
@@ -9555,6 +9628,9 @@ interface IGetMsgOption {
|
|
|
9555
9628
|
order?: number;
|
|
9556
9629
|
channelId?: string;
|
|
9557
9630
|
}
|
|
9631
|
+
interface IConversationUnreadCount extends IConversationOption {
|
|
9632
|
+
unreadCount: number;
|
|
9633
|
+
}
|
|
9558
9634
|
|
|
9559
9635
|
/**
|
|
9560
9636
|
* TODO: 确定对外暴露的必要性
|
|
@@ -10258,6 +10334,7 @@ declare class APIContext {
|
|
|
10258
10334
|
setConversationNotificationLevel(conversationType: ConversationType, targetId: string, notificationLevel?: NotificationLevel, channelId?: string): Promise<ErrorCode>;
|
|
10259
10335
|
batchSetConversationNotificationLevel(conversations: IConversationOption[], notificationLevel: NotificationLevel): Promise<ErrorCode>;
|
|
10260
10336
|
setConversationStatus(conversationType: ConversationType, targetId: string, isTop?: boolean, notificationStatus?: 1 | 2, channelId?: string, isUpdateTime?: boolean): Promise<ErrorCode>;
|
|
10337
|
+
setConversationToTop(conversationType: ConversationType, targetId: string, isTop: boolean, channelId: string, isUpdateTime: boolean): Promise<ErrorCode>;
|
|
10261
10338
|
batchSetConversationToTop(conversations: IConversationOption[], isTop: boolean, isCreateConversation?: boolean): Promise<ErrorCode>;
|
|
10262
10339
|
saveConversationMessageDraft(conversationType: ConversationType, targetId: string, draft: string, channelId?: string): Promise<ErrorCode>;
|
|
10263
10340
|
getConversationMessageDraft(conversationType: ConversationType, targetId: string, channelId?: string): Promise<IAsyncRes<string>>;
|
|
@@ -10797,7 +10874,7 @@ declare class APIContext {
|
|
|
10797
10874
|
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
10798
10875
|
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
10799
10876
|
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
10800
|
-
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
10877
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
10801
10878
|
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10802
10879
|
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
10803
10880
|
acceptGroupInvite(groupId: string, inviterId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
@@ -10826,6 +10903,26 @@ declare class APIContext {
|
|
|
10826
10903
|
searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
10827
10904
|
setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
10828
10905
|
getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
10906
|
+
/**
|
|
10907
|
+
* 查询实时会话列表
|
|
10908
|
+
*/
|
|
10909
|
+
getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
10910
|
+
/**
|
|
10911
|
+
* 查询实时会话未读总数
|
|
10912
|
+
*/
|
|
10913
|
+
getRealtimeConTotalUnreadCount(): Promise<IAsyncRes<number>>;
|
|
10914
|
+
/**
|
|
10915
|
+
* 清除实时会话未读数
|
|
10916
|
+
*/
|
|
10917
|
+
clearRealtimeConUnreadCount(conversation: IConversationIdentifier): Promise<IAsyncRes>;
|
|
10918
|
+
/**
|
|
10919
|
+
* 删除实时会话
|
|
10920
|
+
*/
|
|
10921
|
+
removeRealtimeConversations(conversations: IConversationIdentifier[]): Promise<IAsyncRes>;
|
|
10922
|
+
/**
|
|
10923
|
+
* 批量查询实时会话未读数
|
|
10924
|
+
*/
|
|
10925
|
+
getRealtimeConUnreadCounts(conversations: IConversationIdentifier[]): Promise<IAsyncRes<IConversationUnreadCount[]>>;
|
|
10829
10926
|
}
|
|
10830
10927
|
|
|
10831
10928
|
declare class PluginContext {
|
|
@@ -11456,6 +11553,7 @@ declare abstract class AEngine {
|
|
|
11456
11553
|
* 批量设置会话 置顶、免打扰
|
|
11457
11554
|
*/
|
|
11458
11555
|
abstract batchSetConversationStatus(statusList: ISetConversationStatusOptions[]): Promise<ErrorCode>;
|
|
11556
|
+
abstract setConversationToTop(conversationType: ConversationType, targetId: string, isTop: boolean, channelId: string, isUpdateTime: boolean): Promise<ErrorCode>;
|
|
11459
11557
|
abstract batchSetConversationToTop(conversations: IConversationOption[], isTop: boolean, isCreateConversation?: boolean): Promise<ErrorCode>;
|
|
11460
11558
|
abstract sendMessage(conversationType: ConversationType, targetId: string, options: ISendMsgOptions,
|
|
11461
11559
|
/**
|
|
@@ -12085,7 +12183,7 @@ declare abstract class AEngine {
|
|
|
12085
12183
|
abstract getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
12086
12184
|
abstract getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
12087
12185
|
abstract setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
12088
|
-
abstract searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
12186
|
+
abstract searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
12089
12187
|
abstract joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
12090
12188
|
abstract inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
12091
12189
|
abstract memberInviteResponse(params: {
|
|
@@ -12118,6 +12216,12 @@ declare abstract class AEngine {
|
|
|
12118
12216
|
abstract searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
12119
12217
|
abstract setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
12120
12218
|
abstract getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
12219
|
+
abstract removeChatroomFromCatch(chatroomId: string): void;
|
|
12220
|
+
abstract getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
12221
|
+
abstract getRealtimeConTotalUnreadCount(): Promise<IAsyncRes<number>>;
|
|
12222
|
+
abstract clearRealtimeConUnreadCount(conversation: IConversationIdentifier): Promise<IAsyncRes>;
|
|
12223
|
+
abstract removeRealtimeConversations(conversations: IConversationIdentifier[]): Promise<IAsyncRes>;
|
|
12224
|
+
abstract getRealtimeConUnreadCounts(conversations: IConversationIdentifier[]): Promise<IAsyncRes<IConversationUnreadCount[]>>;
|
|
12121
12225
|
}
|
|
12122
12226
|
|
|
12123
12227
|
interface IUrlCenterInitOption {
|
|
@@ -12262,6 +12366,7 @@ interface IErrorCodeKey {
|
|
|
12262
12366
|
userProfileVisibility: number;
|
|
12263
12367
|
uniqueId: number;
|
|
12264
12368
|
extra: number;
|
|
12369
|
+
disableUpdateLastMessage: number;
|
|
12265
12370
|
}
|
|
12266
12371
|
|
|
12267
12372
|
declare const ErrorCodeMap: IErrorCodeKey;
|
|
@@ -12495,6 +12600,10 @@ declare class VersionManage {
|
|
|
12495
12600
|
|
|
12496
12601
|
declare function isStartCloudController(): boolean;
|
|
12497
12602
|
|
|
12603
|
+
/**
|
|
12604
|
+
* 获取设备 ID [兼容代码中使用 getDeviceId 获取设备 ID]
|
|
12605
|
+
* web 端使用 SESSION_ID 作为设备 ID, 小程序等使用本地存储的 RCDeviceId 作为设备 ID
|
|
12606
|
+
*/
|
|
12498
12607
|
declare const getDeviceId: (runtime: IRuntime) => string;
|
|
12499
12608
|
|
|
12500
12609
|
/**
|
|
@@ -12880,6 +12989,14 @@ declare const clearOldIndexDB: () => void;
|
|
|
12880
12989
|
* @returns
|
|
12881
12990
|
*/
|
|
12882
12991
|
declare const formatCmpList: (navi: INaviInfo, isTcp?: boolean | undefined) => IServerAddressData[];
|
|
12992
|
+
/**
|
|
12993
|
+
* 是否支持定向消息
|
|
12994
|
+
*/
|
|
12995
|
+
declare const isSupportDirectMessage: (conversationType: ConversationType) => boolean;
|
|
12996
|
+
/**
|
|
12997
|
+
* 是否开启实时会话
|
|
12998
|
+
*/
|
|
12999
|
+
declare function isEnableRealtimeSession(navi: INaviInfo | null): boolean;
|
|
12883
13000
|
|
|
12884
13001
|
/**
|
|
12885
13002
|
* Navi 缓存数据有效时长,单位毫秒
|
|
@@ -13239,4 +13356,4 @@ declare type AbsCodec<T> = Codec<T>;
|
|
|
13239
13356
|
*/
|
|
13240
13357
|
declare const version: string;
|
|
13241
13358
|
|
|
13242
|
-
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, DirectionType, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, ErrorCodeMap, EventEmitter, FORMATED_VERSION, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendEventType, FriendMsgChangeType, FriendRelationType, FriendSubChangeType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationSubChangeType, GroupApplicationType, GroupFollowUserChangeType, GroupInfoChangeSubChangeType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupMsgChangeType, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationSubChangeType, GroupOperationType, 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, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendInviteServerInfo, IFriendRelationInfo, IFriendRelationServerInfo, IFriendServerInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IMRTRConfig, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerAddressData, IServerChannelBaseInfo, IServerChannelsInviteStatusInfo, IServerChannelsListResult, IServerChannelsOutput, IServerChannelsPageParam, IServerChannelsUserExtInfo, IServerChannelsUserInfo, IServerConversationStatus, IServerGroupBaseInfo, IServerGroupInfo, IServerProfileInfo, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISubData, ISubscribeLocalStore, ISubscribeRelationInfo, ISubscribeRelationServerData, ISubscribeStatusDetail, ISubscribeUserLocalBaseData, ISubscribeUserLocalOnlineData, ISubscribeUserLocalProfileData, ISubscribeUserStatusInfo, ISubscribeUserStatusServerData, ISyncReadStatusData, 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, IUserProfileBaseInfo, IUserProfileInfo, IUserProfileServerData, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LimitedSubscribeType, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_CHATROOM_NOTIFICATION_EXTRA_LENGTH, 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, NON_SUBSCRIBE_USER_PROFILE_VALID_TIME, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OnlineStatus, OperateStatus, PlatformInfo, PluginContext, ProtocalType, PushImportanceHonor, QueryFriendsDirectionType, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, READ_RECEIPT_CATCH_TIME, 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, SUBSCRIBE_USER_PROFILE_VALID_TIME, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SubscribeDataType, SubscribeOperationType, SubscribeType, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, UserProfileVisibility, VERSION, ValidatorManage, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, arrayToKeyValue, assert, clearOldIndexDB, clone, cloneByJSON, completeSubscriptionPlatformStatus, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, formatCmpList, formatFollowsInfo, formatGetGroupsInfo, formatGroupApplications, formatGroupBaseInfo, formatGroupMembers, formatGroupsInfo, formatUserProfiles, getBrowser, getClientMessageId, getDeviceId, getMessageUIdHash, getMimeKey, getMinionURL, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isStartCloudController, isString, isSupportIndexDB, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversation, isValidConversationType, isValidEnum, isValidExpansion, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, transforServerProfileInfo, transformReceivedStatusFlag, transformReceivedStatusInfo, transformUserProfiles, unInitStatisticDB, updateMentionedInfo, urlCenter, usingCppEngine, validate, validators, version };
|
|
13359
|
+
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, DirectionType, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, ErrorCodeMap, EventEmitter, FORMATED_VERSION, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendEventType, FriendMsgChangeType, FriendRelationType, FriendSubChangeType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationSubChangeType, GroupApplicationType, GroupFollowUserChangeType, GroupInfoChangeSubChangeType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupMsgChangeType, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationSubChangeType, GroupOperationType, 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, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendInviteServerInfo, IFriendRelationInfo, IFriendRelationServerInfo, IFriendServerInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IMRTRConfig, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerAddressData, IServerChannelBaseInfo, IServerChannelsInviteStatusInfo, IServerChannelsListResult, IServerChannelsOutput, IServerChannelsPageParam, IServerChannelsUserExtInfo, IServerChannelsUserInfo, IServerConversationStatus, IServerGroupBaseInfo, IServerGroupInfo, IServerProfileInfo, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISubData, ISubscribeLocalStore, ISubscribeRelationInfo, ISubscribeRelationServerData, ISubscribeStatusDetail, ISubscribeUserLocalBaseData, ISubscribeUserLocalOnlineData, ISubscribeUserLocalProfileData, ISubscribeUserStatusInfo, ISubscribeUserStatusServerData, ISyncReadStatusData, 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, IUserProfileBaseInfo, IUserProfileInfo, IUserProfileServerData, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LimitedSubscribeType, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_CHATROOM_NOTIFICATION_EXTRA_LENGTH, 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, NON_SUBSCRIBE_USER_PROFILE_VALID_TIME, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OnlineStatus, OperateStatus, PlatformInfo, PluginContext, ProtocalType, PushImportanceHonor, QueryFriendsDirectionType, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, READ_RECEIPT_CATCH_TIME, 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, SUBSCRIBE_USER_PROFILE_VALID_TIME, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SubscribeDataType, SubscribeOperationType, SubscribeType, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, UserProfileVisibility, VERSION, ValidatorManage, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, arrayToKeyValue, assert, clearOldIndexDB, clone, cloneByJSON, completeSubscriptionPlatformStatus, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, formatCmpList, formatFollowsInfo, formatGetGroupsInfo, formatGroupApplications, formatGroupBaseInfo, formatGroupMembers, formatGroupsInfo, formatUserProfiles, getBrowser, getClientMessageId, getDeviceId, getMessageUIdHash, getMimeKey, getMinionURL, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isEnableRealtimeSession, isFunction, isHttpUrl, isInObject, isInclude, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isStartCloudController, isString, isSupportDirectMessage, isSupportIndexDB, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversation, isValidConversationType, isValidEnum, isValidExpansion, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, transforServerProfileInfo, transformReceivedStatusFlag, transformReceivedStatusInfo, transformUserProfiles, unInitStatisticDB, updateMentionedInfo, urlCenter, usingCppEngine, validate, validators, version };
|