@zoom/cobrowsesdk 2.9.1 → 2.10.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoom/cobrowsesdk",
3
- "version": "2.9.1",
3
+ "version": "2.10.0",
4
4
  "description": "ZOOM Cobrowse sdk",
5
5
  "files": [
6
6
  "esm",
@@ -696,11 +696,11 @@ declare enum SessionStatus {
696
696
  }
697
697
  declare function customer_focus_lost(payload: {
698
698
  /**
699
- * customer is lost
699
+ * Whether the customer is lost.
700
700
  */
701
701
  isLost: boolean;
702
702
  /**
703
- * sessionId
703
+ * Session ID.
704
704
  */
705
705
  sessionId: string;
706
706
  /**
@@ -711,24 +711,24 @@ declare function customer_focus_lost(payload: {
711
711
  name: string;
712
712
  };
713
713
  /**
714
- * SDK version
714
+ * SDK version.
715
715
  */
716
716
  version: string;
717
717
  }): void;
718
718
  declare function customer_transferred(payload: {
719
719
  /**
720
- * sessionId
720
+ * Session ID.
721
721
  */
722
722
  sessionId: string;
723
723
  /**
724
- * User info
724
+ * User info.
725
725
  */
726
726
  user: {
727
727
  id: string;
728
728
  name: string;
729
729
  };
730
730
  /**
731
- * SDK version
731
+ * SDK version.
732
732
  */
733
733
  version: string;
734
734
  }): void;
@@ -812,13 +812,13 @@ declare function session_ended(payload: {
812
812
  }): void;
813
813
  declare function session_error(payload: {
814
814
  /**
815
- * error code
815
+ * Error code.
816
816
  */
817
817
  code: SessionErrorCode;
818
818
  /**
819
- * error message
819
+ * Error message.(Auxiliary prompt, not used to determine errors)
820
820
  */
821
- errorMsg: string;
821
+ errorMsg: SessionErrorMessage;
822
822
  /**
823
823
  * SDK version
824
824
  */
@@ -830,11 +830,11 @@ declare function session_joined(payload: {
830
830
  */
831
831
  isReconnect: boolean;
832
832
  /**
833
- * sessionId
833
+ * Session ID.
834
834
  */
835
835
  sessionId: string;
836
836
  /**
837
- * SDK version
837
+ * SDK version.
838
838
  */
839
839
  version: string;
840
840
  }): void;
@@ -978,9 +978,18 @@ export type CreateAgentViewerEndpointCallback = ({ success, error, agentViewerUr
978
978
  * @description CreateAgentViewerEndpointCallback fetch error.
979
979
  */
980
980
  export type CreateAgentViewerEndpointError = {
981
- msg: string;
982
- code: number;
983
- statusCode: number;
981
+ /**
982
+ * Error code.
983
+ */
984
+ code: SessionErrorCode;
985
+ /**
986
+ * Error message.(Auxiliary prompt, not used to determine errors)
987
+ */
988
+ errorMsg: SessionErrorMessage;
989
+ /**
990
+ * SDK version.
991
+ */
992
+ version: string;
984
993
  };
985
994
  /**
986
995
  * @description ZoomAgentCobrowseSDK request agent endpoint options.
@@ -1078,6 +1087,47 @@ export type SdkInfo = {
1078
1087
  */
1079
1088
  version: string;
1080
1089
  };
1090
+ /**
1091
+ * @description Session error messages.(Auxiliary prompt, not used to determine errors)
1092
+ */
1093
+ export type SessionErrorMessage = {
1094
+ /**
1095
+ * @description 1006 Join session failed due to pincode not found.
1096
+ */
1097
+ SESSION_JOIN_PIN_NOT_FOUND: "Pincode is not found.";
1098
+ /**
1099
+ * @description 1008 Join session failed due to invalid pincode.
1100
+ */
1101
+ SESSION_PIN_INVALID_FORMAT: "Pincode exceeds the maximum length" | "Pincode contains invalid characters.";
1102
+ /**
1103
+ * @description 1009 Join session failed due to empty pincode.
1104
+ */
1105
+ SESSION_START_PIN_REQUIRED: "Pincode is required.";
1106
+ /**
1107
+ * @description 1011 Join session failed.
1108
+ */
1109
+ SESSION_JOIN_FAILED: "Session join failed due to an internal error." | "SDK version is invalid." | "Session does not exist or has ended." | "The website link is invalid." | "Failed to make a connection after multiple attempts." | "Failed to reconnect after fail over with multiple attempts." | "Failed to reconnect after fail over with multiple attempts.";
1110
+ /**
1111
+ * @description 1013 Join session failed due to count limit.
1112
+ */
1113
+ SESSION_AGENT_COUNT_LIMIT: "Maximum number of agents in a session reached.";
1114
+ /**
1115
+ * @description 1015 Join session failed due to duplicate user.
1116
+ */
1117
+ SESSION_DUPLICATE_USER: "The agent is already in the session.";
1118
+ /**
1119
+ * @description 1016 Start or join session failed due to network error.
1120
+ */
1121
+ NETWORK_ERROR: "Network request to backend failed after multiple attempts.";
1122
+ /**
1123
+ * @description 2001 Join session failed due to invalid token.
1124
+ */
1125
+ TOKEN_INVALID: "JWT token is invalid." | "JWT token has no permissions." | "JWT token has expired." | "JWT token access error." | "Internal token error.";
1126
+ /**
1127
+ * @description 9999 Unknown error.
1128
+ */
1129
+ UNDEFINED: "Service error occurred." | "API request rate limit, try again later." | "Session error occurred." | "Session error occurred, try again later.";
1130
+ };
1081
1131
  /**
1082
1132
  * @description Current session information.
1083
1133
  */
package/types/agent.d.ts CHANGED
@@ -696,11 +696,11 @@ declare enum SessionStatus {
696
696
  }
697
697
  declare function customer_focus_lost(payload: {
698
698
  /**
699
- * customer is lost
699
+ * Whether the customer is lost.
700
700
  */
701
701
  isLost: boolean;
702
702
  /**
703
- * sessionId
703
+ * Session ID.
704
704
  */
705
705
  sessionId: string;
706
706
  /**
@@ -711,24 +711,24 @@ declare function customer_focus_lost(payload: {
711
711
  name: string;
712
712
  };
713
713
  /**
714
- * SDK version
714
+ * SDK version.
715
715
  */
716
716
  version: string;
717
717
  }): void;
718
718
  declare function customer_transferred(payload: {
719
719
  /**
720
- * sessionId
720
+ * Session ID.
721
721
  */
722
722
  sessionId: string;
723
723
  /**
724
- * User info
724
+ * User info.
725
725
  */
726
726
  user: {
727
727
  id: string;
728
728
  name: string;
729
729
  };
730
730
  /**
731
- * SDK version
731
+ * SDK version.
732
732
  */
733
733
  version: string;
734
734
  }): void;
@@ -812,13 +812,13 @@ declare function session_ended(payload: {
812
812
  }): void;
813
813
  declare function session_error(payload: {
814
814
  /**
815
- * error code
815
+ * Error code.
816
816
  */
817
817
  code: SessionErrorCode;
818
818
  /**
819
- * error message
819
+ * Error message.(Auxiliary prompt, not used to determine errors)
820
820
  */
821
- errorMsg: string;
821
+ errorMsg: SessionErrorMessage;
822
822
  /**
823
823
  * SDK version
824
824
  */
@@ -830,11 +830,11 @@ declare function session_joined(payload: {
830
830
  */
831
831
  isReconnect: boolean;
832
832
  /**
833
- * sessionId
833
+ * Session ID.
834
834
  */
835
835
  sessionId: string;
836
836
  /**
837
- * SDK version
837
+ * SDK version.
838
838
  */
839
839
  version: string;
840
840
  }): void;
@@ -972,9 +972,18 @@ export type CreateAgentViewerEndpointCallback = ({ success, error, agentViewerUr
972
972
  * @description CreateAgentViewerEndpointCallback fetch error.
973
973
  */
974
974
  export type CreateAgentViewerEndpointError = {
975
- msg: string;
976
- code: number;
977
- statusCode: number;
975
+ /**
976
+ * Error code.
977
+ */
978
+ code: SessionErrorCode;
979
+ /**
980
+ * Error message.(Auxiliary prompt, not used to determine errors)
981
+ */
982
+ errorMsg: SessionErrorMessage;
983
+ /**
984
+ * SDK version.
985
+ */
986
+ version: string;
978
987
  };
979
988
  /**
980
989
  * @description ZoomAgentCobrowseSDK request agent endpoint options.
@@ -1072,6 +1081,47 @@ export type SdkInfo = {
1072
1081
  */
1073
1082
  version: string;
1074
1083
  };
1084
+ /**
1085
+ * @description Session error messages.(Auxiliary prompt, not used to determine errors)
1086
+ */
1087
+ export type SessionErrorMessage = {
1088
+ /**
1089
+ * @description 1006 Join session failed due to pincode not found.
1090
+ */
1091
+ SESSION_JOIN_PIN_NOT_FOUND: "Pincode is not found.";
1092
+ /**
1093
+ * @description 1008 Join session failed due to invalid pincode.
1094
+ */
1095
+ SESSION_PIN_INVALID_FORMAT: "Pincode exceeds the maximum length" | "Pincode contains invalid characters.";
1096
+ /**
1097
+ * @description 1009 Join session failed due to empty pincode.
1098
+ */
1099
+ SESSION_START_PIN_REQUIRED: "Pincode is required.";
1100
+ /**
1101
+ * @description 1011 Join session failed.
1102
+ */
1103
+ SESSION_JOIN_FAILED: "Session join failed due to an internal error." | "SDK version is invalid." | "Session does not exist or has ended." | "The website link is invalid." | "Failed to make a connection after multiple attempts." | "Failed to reconnect after fail over with multiple attempts." | "Failed to reconnect after fail over with multiple attempts.";
1104
+ /**
1105
+ * @description 1013 Join session failed due to count limit.
1106
+ */
1107
+ SESSION_AGENT_COUNT_LIMIT: "Maximum number of agents in a session reached.";
1108
+ /**
1109
+ * @description 1015 Join session failed due to duplicate user.
1110
+ */
1111
+ SESSION_DUPLICATE_USER: "The agent is already in the session.";
1112
+ /**
1113
+ * @description 1016 Start or join session failed due to network error.
1114
+ */
1115
+ NETWORK_ERROR: "Network request to backend failed after multiple attempts.";
1116
+ /**
1117
+ * @description 2001 Join session failed due to invalid token.
1118
+ */
1119
+ TOKEN_INVALID: "JWT token is invalid." | "JWT token has no permissions." | "JWT token has expired." | "JWT token access error." | "Internal token error.";
1120
+ /**
1121
+ * @description 9999 Unknown error.
1122
+ */
1123
+ UNDEFINED: "Service error occurred." | "API request rate limit, try again later." | "Session error occurred." | "Session error occurred, try again later.";
1124
+ };
1075
1125
  /**
1076
1126
  * @description Current session information.
1077
1127
  */
@@ -761,9 +761,9 @@ declare function session_error(payload: {
761
761
  */
762
762
  code: SessionErrorCode;
763
763
  /**
764
- * Error message.
764
+ * Error message.(Auxiliary prompt, not used to determine errors)
765
765
  */
766
- errorMsg: string;
766
+ errorMsg: SessionErrorMessage;
767
767
  /**
768
768
  * SDK version.
769
769
  */
@@ -984,6 +984,55 @@ export type SdkInfo = {
984
984
  */
985
985
  version: string;
986
986
  };
987
+ /**
988
+ * @description Session error messages.(Auxiliary prompt, not used to determine errors)
989
+ */
990
+ export type SessionErrorMessage = {
991
+ /**
992
+ * @description 1001 Join session failed due to an invalid pincode.
993
+ */
994
+ SESSION_START_FAILED: "The website link is invalid." | "Free trial account has no available credits.";
995
+ /**
996
+ * @description 1002 Session is connecting.
997
+ */
998
+ SESSION_CONNECTING_IN_PROGRESS: "A connection is already in progress." | "A transfer session is still recovering.";
999
+ /**
1000
+ * @description 1004 Join session failed due to count limit.
1001
+ */
1002
+ SESSION_COUNT_LIMIT: "A session is already active.";
1003
+ /**
1004
+ * @description 1008 Join session failed due to an invalid pincode.
1005
+ */
1006
+ SESSION_PIN_INVALID_FORMAT: "Pincode exceeds the maximum length" | "Pincode contains invalid characters.";
1007
+ /**
1008
+ * @description 1010 Start session failed due to pincode already in use.
1009
+ */
1010
+ SESSION_START_PIN_CONFLICT: "Pincode has already been used.";
1011
+ /**
1012
+ * @description 1011 Join session failed.
1013
+ */
1014
+ SESSION_JOIN_FAILED: "Session join failed due to an internal error." | "SDK version is invalid." | "Session does not exist or has ended." | "The website link is invalid." | "Failed to make a connection after multiple attempts." | "Failed to reconnect after fail over with multiple attempts." | "Failed to reconnect after fail over with multiple attempts.";
1015
+ /**
1016
+ * @description 1012 Join session failed due to count limit.
1017
+ */
1018
+ SESSION_CUSTOMER_COUNT_LIMIT: "Maximum number of customers in a session reached.";
1019
+ /**
1020
+ * @description 1016 Start or join session failed due to network error.
1021
+ */
1022
+ NETWORK_ERROR: "Network request to backend failed after multiple attempts.";
1023
+ /**
1024
+ * @description 1017 Session is being canceled.
1025
+ */
1026
+ SESSION_CANCELING_IN_PROGRESS: "Operation failed, the session is being canceled.";
1027
+ /**
1028
+ * @description 2001 Join session failed due to invalid token.
1029
+ */
1030
+ TOKEN_INVALID: "JWT token is invalid." | "JWT token has no permissions." | "JWT token has expired." | "JWT token access error." | "Internal token error.";
1031
+ /**
1032
+ * @description 9999 Unknown error.
1033
+ */
1034
+ UNDEFINED: "Service error occurred." | "API request rate limit, try again later." | "Session error occurred." | "Session error occurred, try again later.";
1035
+ };
987
1036
  /**
988
1037
  * @description Current session information.
989
1038
  */
@@ -1016,23 +1065,34 @@ export type Settings = {
1016
1065
  */
1017
1066
  allowAgentAnnotation?: boolean;
1018
1067
  /**
1019
- * @description PII mask config.
1068
+ * @description Whether to enable annotation follow page scroll, the default is false.
1069
+ */
1070
+ enableAnnotationFollowScroll?: boolean;
1071
+ /**
1072
+ * @description Default selected toolbar button on the agent side. The default is 'Vanishing Pen'.
1073
+ * Support: 'Mouse', 'Pen', 'Rectangle', 'Eraser', 'Vanishing Pen', 'Vanishing Rectangle', 'Vanishing Mouse'.
1074
+ * 'Mouse', 'Pen', 'Rectangle', 'Eraser' in 'Pen' toolbar sub-menu.
1075
+ * 'Vanishing Pen', 'Vanishing Rectangle', 'Vanishing Mouse' in 'Vanishing Pen' toolbar sub-menu.
1076
+ */
1077
+ defaultSelectedToolbarButton?: string;
1078
+ /**
1079
+ * @description PII mask config,which only takes effect when the 'Mask Data in Cobrowse' switch in the admin settings is opened.
1020
1080
  */
1021
1081
  piiMask?: {
1022
1082
  //enable?: boolean;
1023
1083
  /**
1024
1084
  * @description PII mask config.
1025
- * 'custom_input': Customize the input to be masked based on 'mask_css_selectors' and 'mask_html_attribute'
1026
- * 'all_input': Mask all inputs, ignore 'mask_css_selectors' and 'mask_html_attribute'
1027
- * the default is 'custom_input'
1085
+ * 'custom_input': Customize the input to be masked based on 'mask_css_selectors' and 'mask_html_attribute'.
1086
+ * 'all_input': Mask all inputs, ignore 'mask_css_selectors' and 'mask_html_attribute'.
1087
+ * The default is the configuration of admin settings.
1028
1088
  */
1029
1089
  maskType?: "custom_input" | "all_input";
1030
1090
  /**
1031
- * @description Mask part of the input by customizing the CSS selector, which only takes effect when the maskType is 'custom_input', the default is empty string.
1091
+ * @description Mask part of the input by customizing the CSS selector, which only takes effect when the maskType is 'custom_input'. The default is the configuration of admin settings.
1032
1092
  */
1033
1093
  maskCssSelectors?: string;
1034
1094
  /**
1035
- * @description Mask part of the input by customizing the HTML attributes, which only takes effect when the maskType is 'custom_input', the default is empty string.
1095
+ * @description Mask part of the input by customizing the HTML attributes, which only takes effect when the maskType is 'custom_input', the default is the configuration of admin settings.
1036
1096
  */
1037
1097
  maskHTMLAttributes?: string;
1038
1098
  };
@@ -1054,7 +1114,7 @@ export type Settings = {
1054
1114
  [key in CustomerCustomizeOverridesFeatureKey]?: CustomizeOverride;
1055
1115
  };
1056
1116
  /**
1057
- * @description Remote assist config.
1117
+ * @description Remote assist config, which only take effect when the 'Remote assist' switch in the admin settings is opened.
1058
1118
  */
1059
1119
  remoteAssist?: {
1060
1120
  /**
@@ -1075,15 +1135,15 @@ export type Settings = {
1075
1135
  remoteAssistTypes?: "scroll_page"[];
1076
1136
  };
1077
1137
  /**
1078
- * @description Session continuation config.
1138
+ * @description Session continuation config, which only take effect when the 'Multi-tab session persistence' switch in the admin settings is opened.
1079
1139
  */
1080
1140
  multiTabSessionPersistence?: {
1081
1141
  /**
1082
- * @description Whether to enable session continuation, the default is false.
1142
+ * @description Whether to enable multi-tab session persistence, the default is false.
1083
1143
  */
1084
1144
  enable: boolean;
1085
1145
  /**
1086
- * @description The cookie key for session continuation, the default is '$$_ZCB_SESSION_$$'(base64 encoded).
1146
+ * @description The cookie key for multi-tab session persistence, the default is '$$_ZCB_SESSION_$$'(base64 encoded).
1087
1147
  */
1088
1148
  stateCookieKey?: string;
1089
1149
  };
@@ -761,9 +761,9 @@ declare function session_error(payload: {
761
761
  */
762
762
  code: SessionErrorCode;
763
763
  /**
764
- * Error message.
764
+ * Error message.(Auxiliary prompt, not used to determine errors)
765
765
  */
766
- errorMsg: string;
766
+ errorMsg: SessionErrorMessage;
767
767
  /**
768
768
  * SDK version.
769
769
  */
@@ -978,6 +978,55 @@ export type SdkInfo = {
978
978
  */
979
979
  version: string;
980
980
  };
981
+ /**
982
+ * @description Session error messages.(Auxiliary prompt, not used to determine errors)
983
+ */
984
+ export type SessionErrorMessage = {
985
+ /**
986
+ * @description 1001 Join session failed due to an invalid pincode.
987
+ */
988
+ SESSION_START_FAILED: "The website link is invalid." | "Free trial account has no available credits.";
989
+ /**
990
+ * @description 1002 Session is connecting.
991
+ */
992
+ SESSION_CONNECTING_IN_PROGRESS: "A connection is already in progress." | "A transfer session is still recovering.";
993
+ /**
994
+ * @description 1004 Join session failed due to count limit.
995
+ */
996
+ SESSION_COUNT_LIMIT: "A session is already active.";
997
+ /**
998
+ * @description 1008 Join session failed due to an invalid pincode.
999
+ */
1000
+ SESSION_PIN_INVALID_FORMAT: "Pincode exceeds the maximum length" | "Pincode contains invalid characters.";
1001
+ /**
1002
+ * @description 1010 Start session failed due to pincode already in use.
1003
+ */
1004
+ SESSION_START_PIN_CONFLICT: "Pincode has already been used.";
1005
+ /**
1006
+ * @description 1011 Join session failed.
1007
+ */
1008
+ SESSION_JOIN_FAILED: "Session join failed due to an internal error." | "SDK version is invalid." | "Session does not exist or has ended." | "The website link is invalid." | "Failed to make a connection after multiple attempts." | "Failed to reconnect after fail over with multiple attempts." | "Failed to reconnect after fail over with multiple attempts.";
1009
+ /**
1010
+ * @description 1012 Join session failed due to count limit.
1011
+ */
1012
+ SESSION_CUSTOMER_COUNT_LIMIT: "Maximum number of customers in a session reached.";
1013
+ /**
1014
+ * @description 1016 Start or join session failed due to network error.
1015
+ */
1016
+ NETWORK_ERROR: "Network request to backend failed after multiple attempts.";
1017
+ /**
1018
+ * @description 1017 Session is being canceled.
1019
+ */
1020
+ SESSION_CANCELING_IN_PROGRESS: "Operation failed, the session is being canceled.";
1021
+ /**
1022
+ * @description 2001 Join session failed due to invalid token.
1023
+ */
1024
+ TOKEN_INVALID: "JWT token is invalid." | "JWT token has no permissions." | "JWT token has expired." | "JWT token access error." | "Internal token error.";
1025
+ /**
1026
+ * @description 9999 Unknown error.
1027
+ */
1028
+ UNDEFINED: "Service error occurred." | "API request rate limit, try again later." | "Session error occurred." | "Session error occurred, try again later.";
1029
+ };
981
1030
  /**
982
1031
  * @description Current session information.
983
1032
  */
@@ -1010,23 +1059,34 @@ export type Settings = {
1010
1059
  */
1011
1060
  allowAgentAnnotation?: boolean;
1012
1061
  /**
1013
- * @description PII mask config.
1062
+ * @description Whether to enable annotation follow page scroll, the default is false.
1063
+ */
1064
+ enableAnnotationFollowScroll?: boolean;
1065
+ /**
1066
+ * @description Default selected toolbar button on the agent side. The default is 'Vanishing Pen'.
1067
+ * Support: 'Mouse', 'Pen', 'Rectangle', 'Eraser', 'Vanishing Pen', 'Vanishing Rectangle', 'Vanishing Mouse'.
1068
+ * 'Mouse', 'Pen', 'Rectangle', 'Eraser' in 'Pen' toolbar sub-menu.
1069
+ * 'Vanishing Pen', 'Vanishing Rectangle', 'Vanishing Mouse' in 'Vanishing Pen' toolbar sub-menu.
1070
+ */
1071
+ defaultSelectedToolbarButton?: string;
1072
+ /**
1073
+ * @description PII mask config,which only takes effect when the 'Mask Data in Cobrowse' switch in the admin settings is opened.
1014
1074
  */
1015
1075
  piiMask?: {
1016
1076
  //enable?: boolean;
1017
1077
  /**
1018
1078
  * @description PII mask config.
1019
- * 'custom_input': Customize the input to be masked based on 'mask_css_selectors' and 'mask_html_attribute'
1020
- * 'all_input': Mask all inputs, ignore 'mask_css_selectors' and 'mask_html_attribute'
1021
- * the default is 'custom_input'
1079
+ * 'custom_input': Customize the input to be masked based on 'mask_css_selectors' and 'mask_html_attribute'.
1080
+ * 'all_input': Mask all inputs, ignore 'mask_css_selectors' and 'mask_html_attribute'.
1081
+ * The default is the configuration of admin settings.
1022
1082
  */
1023
1083
  maskType?: "custom_input" | "all_input";
1024
1084
  /**
1025
- * @description Mask part of the input by customizing the CSS selector, which only takes effect when the maskType is 'custom_input', the default is empty string.
1085
+ * @description Mask part of the input by customizing the CSS selector, which only takes effect when the maskType is 'custom_input'. The default is the configuration of admin settings.
1026
1086
  */
1027
1087
  maskCssSelectors?: string;
1028
1088
  /**
1029
- * @description Mask part of the input by customizing the HTML attributes, which only takes effect when the maskType is 'custom_input', the default is empty string.
1089
+ * @description Mask part of the input by customizing the HTML attributes, which only takes effect when the maskType is 'custom_input', the default is the configuration of admin settings.
1030
1090
  */
1031
1091
  maskHTMLAttributes?: string;
1032
1092
  };
@@ -1048,7 +1108,7 @@ export type Settings = {
1048
1108
  [key in CustomerCustomizeOverridesFeatureKey]?: CustomizeOverride;
1049
1109
  };
1050
1110
  /**
1051
- * @description Remote assist config.
1111
+ * @description Remote assist config, which only take effect when the 'Remote assist' switch in the admin settings is opened.
1052
1112
  */
1053
1113
  remoteAssist?: {
1054
1114
  /**
@@ -1069,15 +1129,15 @@ export type Settings = {
1069
1129
  remoteAssistTypes?: "scroll_page"[];
1070
1130
  };
1071
1131
  /**
1072
- * @description Session continuation config.
1132
+ * @description Session continuation config, which only take effect when the 'Multi-tab session persistence' switch in the admin settings is opened.
1073
1133
  */
1074
1134
  multiTabSessionPersistence?: {
1075
1135
  /**
1076
- * @description Whether to enable session continuation, the default is false.
1136
+ * @description Whether to enable multi-tab session persistence, the default is false.
1077
1137
  */
1078
1138
  enable: boolean;
1079
1139
  /**
1080
- * @description The cookie key for session continuation, the default is '$$_ZCB_SESSION_$$'(base64 encoded).
1140
+ * @description The cookie key for multi-tab session persistence, the default is '$$_ZCB_SESSION_$$'(base64 encoded).
1081
1141
  */
1082
1142
  stateCookieKey?: string;
1083
1143
  };