feat(channels): add Shangwutong connector

This commit is contained in:
2026-08-03 10:13:40 +08:00
parent 96f5c796a6
commit 897b4e018f
126 changed files with 20207 additions and 272 deletions
@@ -16,6 +16,7 @@ export const INBOX_FEATURE_MAP = {
INBOX_TYPES.TELEGRAM,
INBOX_TYPES.TIKTOK,
INBOX_TYPES.API,
INBOX_TYPES.SHANGWUTONG,
],
[INBOX_FEATURES.REPLY_TO_OUTGOING]: [
INBOX_TYPES.WEB,
@@ -24,6 +25,7 @@ export const INBOX_FEATURE_MAP = {
INBOX_TYPES.TELEGRAM,
INBOX_TYPES.TIKTOK,
INBOX_TYPES.API,
INBOX_TYPES.SHANGWUTONG,
],
};
@@ -44,6 +46,9 @@ export default {
isAPIInbox() {
return this.channelType === INBOX_TYPES.API;
},
isShangwutongInbox() {
return this.channelType === INBOX_TYPES.SHANGWUTONG;
},
isATwitterInbox() {
return this.channelType === INBOX_TYPES.TWITTER;
},