@rongcloud/engine 5.8.2-enterprise-lz.25 → 5.8.2-enterprise-lz.27

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
@@ -674,6 +674,10 @@ declare enum ErrorCode {
674
674
  * TCP 连接重置
675
675
  */
676
676
  RC_TCP_RESET = 32054,
677
+ /**
678
+ * TCP 端口被拒绝
679
+ */
680
+ CONNECTION_REFUSED = 32061,
677
681
  /**
678
682
  * 未调用 init 初始化函数。
679
683
  */
@@ -6886,7 +6890,7 @@ declare class APIContext {
6886
6890
  status: string;
6887
6891
  }>>;
6888
6892
  searchConversationByContent(keyword: string, customMessageTypes?: string[], channelId?: string, conversationTypes?: ConversationType[], includeDeleted?: boolean): Promise<IAsyncRes<IReceivedConversation[]>>;
6889
- searchConversationsByPage(option: ISearchConversationsByPageOption): Promise<IAsyncRes<ISearchConversationsByPageResult>>;
6893
+ searchConversationsByPage(option: ISearchConversationsByPageOption, traceId: string): Promise<IAsyncRes<ISearchConversationsByPageResult>>;
6890
6894
  searchConversationByContentWithAllChannel(keyword: string, customMessageTypes?: string[], conversationTypes?: ConversationType[]): Promise<IAsyncRes<IReceivedConversation[]>>;
6891
6895
  searchMessageByContent(conversationType: ConversationType, targetId: string, keyword: string, timestamp: number, count: number, total: number, channelId?: string): Promise<IAsyncRes<{
6892
6896
  messages: IReceivedMessage[];
@@ -7909,7 +7913,7 @@ declare abstract class AEngine {
7909
7913
  * 通过关键字搜索会话
7910
7914
  */
7911
7915
  abstract searchConversationByContent(keyword: string, customMessageTypes: string[], channelId: string, conversationTypes?: ConversationType[], includeDeleted?: boolean): IPromiseResult<IReceivedConversation[]>;
7912
- abstract searchConversationsByPage(option: ISearchConversationsByPageOption): Promise<IAsyncRes<ISearchConversationsByPageResult>>;
7916
+ abstract searchConversationsByPage(option: ISearchConversationsByPageOption, traceId: string): Promise<IAsyncRes<ISearchConversationsByPageResult>>;
7913
7917
  /**
7914
7918
  * 通过关键字搜索所有会话
7915
7919
  */