isdata-customer-sdk 0.1.62 → 0.1.63

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.
@@ -30916,7 +30916,16 @@ class ChatClientMgr {
30916
30916
  });
30917
30917
  }
30918
30918
  getChatTypeKey(type) {
30919
- return type == 1 ? "IM_SINGLE_MODE" : "IM_MULTIPLE_MODE";
30919
+ switch (type) {
30920
+ case 0:
30921
+ return "IM_MULTIPLE_MODE";
30922
+ case 1:
30923
+ return "IM_SINGLE_MODE";
30924
+ case 2:
30925
+ return "IM_EMBED_MODE";
30926
+ default:
30927
+ return "IM_MULTIPLE_MODE";
30928
+ }
30920
30929
  }
30921
30930
  async initChatAIs() {
30922
30931
  this.chatAIClient = await this.handler.getChatClient({