Sync from bytedesk-private: update

This commit is contained in:
jack ning
2024-12-19 16:00:24 +08:00
parent 705d2d48bf
commit e2b3e5ebb2
15 changed files with 305 additions and 309 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-04-26 22:25:47
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2024-12-19 14:45:04
* @LastEditTime: 2024-12-19 15:13:16
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -27,6 +27,7 @@ public class I18Consts {
public static final String I18N_EMAIL_ALREADY_EXISTS = I18N_PREFIX + "email.already.exists";
public static final String I18N_MOBILE_NOT_EXISTS = I18N_PREFIX + "mobile.not.exists";
public static final String I18N_EMAIL_NOT_EXISTS = I18N_PREFIX + "email.not.exists";
public static final String I18N_MOBILE_FORMAT_ERROR = I18N_PREFIX + "mobile.format.error";
public static final String I18N_EMAIL_FORMAT_ERROR = I18N_PREFIX + "email.format.error";
// captcha
public static final String I18N_AUTH_CAPTCHA_SEND_SUCCESS = I18N_PREFIX + "auth.captcha.send.success";

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-05-25 13:07:20
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2024-11-20 14:24:50
* @LastEditTime: 2024-12-19 15:52:30
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -51,6 +51,64 @@ public enum ClientEnum {
WECHAT_WORK,
WECHAT_KEFU,
WECHAT_CHANNEL,
//
// 社交媒体渠道
XIAOHONGSHU, // 小红书
DOUYIN, // 抖音
KUAISHOU, // 快手
BILIBILI, // B站
WEIBO, // 微博
ZHIHU, // 知乎
TOUTIAO, // 头条
DOUBAN, // 豆瓣
//
// 电商渠道
TAOBAO, // 淘宝
TMALL, // 天猫
JD, // 京东
PINDUODUO, // 拼多多
MEITUAN, // 美团
ELEME, // 饿了么
DIANPING, // 大众点评
//
// 企业渠道
DINGTALK, // 钉钉
FEISHU, // 飞书
WECOM, // 企业微信
//
// 其他渠道
EMAIL, // 邮件
SMS, // 短信
PHONE, // 电话
//
// 海外社交媒体
TWITTER, // Twitter/X
FACEBOOK, // Facebook
INSTAGRAM, // Instagram
LINKEDIN, // LinkedIn
YOUTUBE, // YouTube
TIKTOK, // TikTok
PINTEREST, // Pinterest
REDDIT, // Reddit
SNAPCHAT, // Snapchat
//
// 海外即时通讯
WHATSAPP, // WhatsApp
TELEGRAM, // Telegram
LINE, // LINE
KAKAO, // KakaoTalk
VIBER, // Viber
SIGNAL, // Signal
DISCORD, // Discord
SLACK, // Slack
MESSENGER, // Facebook Messenger
//
// 海外电商
AMAZON, // 亚马逊
EBAY, // eBay
SHOPIFY, // Shopify
LAZADA, // 来赞达
SHOPEE, // 虾皮
;
// 根据字符串查找对应的枚举常量

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-05-25 10:43:58
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2024-10-17 17:36:50
* @LastEditTime: 2024-12-19 15:55:33
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -20,6 +20,10 @@ public enum ThreadStateEnum {
STARTED, // 开始会话
OFFLINE, // 客服不在线
CLOSED, // 会话已结束
// TRANSFERRED, // 转接
// REJECTED, // 拒绝会话
// CANCELLED, // 取消会话
// RESOLVED, // 解决问题
;
// 根据字符串查找对应的枚举常量