@kl1/contracts 1.4.60 → 1.4.62
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/dist/api-contracts/src/botpress/index.d.ts +17 -20
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/validation.d.ts +17 -20
- package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +4 -913
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -64
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +3 -190
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +0 -105
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +0 -80
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +0 -40
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +901 -3756
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +0 -5
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +0 -5
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/index.d.ts +3 -1282
- package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
- package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
- package/dist/api-contracts/src/line/index.d.ts +0 -5
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +0 -5
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +0 -5
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +0 -438
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +0 -5
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +0 -5
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +0 -5
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +4 -14
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +4 -12
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +0 -60
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +0 -2
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1063 -1209
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1063 -1208
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -5,13 +5,13 @@ export declare const KlinkChatContract: {
|
|
5
5
|
connect: {
|
6
6
|
body: z.ZodObject<{
|
7
7
|
name: z.ZodString;
|
8
|
-
|
8
|
+
widgetColor: z.ZodOptional<z.ZodString>;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
name: string;
|
11
|
-
|
11
|
+
widgetColor?: string | undefined;
|
12
12
|
}, {
|
13
13
|
name: string;
|
14
|
-
|
14
|
+
widgetColor?: string | undefined;
|
15
15
|
}>;
|
16
16
|
summary: "Connect to klink chat";
|
17
17
|
method: "POST";
|
@@ -1233,7 +1233,6 @@ export declare const KlinkChatContract: {
|
|
1233
1233
|
} | undefined;
|
1234
1234
|
}>;
|
1235
1235
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1236
|
-
whatsappTemplateName: z.ZodOptional<z.ZodString>;
|
1237
1236
|
telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1238
1237
|
isBotRoom: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
1239
1238
|
}, "strip", z.ZodTypeAny, {
|
@@ -1333,7 +1332,6 @@ export declare const KlinkChatContract: {
|
|
1333
1332
|
handleTime?: number | undefined;
|
1334
1333
|
metadata?: any;
|
1335
1334
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1336
|
-
whatsappTemplateName?: string | undefined;
|
1337
1335
|
telegramBusinessConnectionId?: string | null | undefined;
|
1338
1336
|
}, {
|
1339
1337
|
id: string;
|
@@ -1431,7 +1429,6 @@ export declare const KlinkChatContract: {
|
|
1431
1429
|
handleTime?: number | undefined;
|
1432
1430
|
metadata?: any;
|
1433
1431
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1434
|
-
whatsappTemplateName?: string | undefined;
|
1435
1432
|
telegramBusinessConnectionId?: string | null | undefined;
|
1436
1433
|
isBotRoom?: boolean | null | undefined;
|
1437
1434
|
}>;
|
@@ -1699,7 +1696,6 @@ export declare const KlinkChatContract: {
|
|
1699
1696
|
handleTime?: number | undefined;
|
1700
1697
|
metadata?: any;
|
1701
1698
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1702
|
-
whatsappTemplateName?: string | undefined;
|
1703
1699
|
telegramBusinessConnectionId?: string | null | undefined;
|
1704
1700
|
};
|
1705
1701
|
isBot: boolean | null;
|
@@ -1836,7 +1832,6 @@ export declare const KlinkChatContract: {
|
|
1836
1832
|
handleTime?: number | undefined;
|
1837
1833
|
metadata?: any;
|
1838
1834
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1839
|
-
whatsappTemplateName?: string | undefined;
|
1840
1835
|
telegramBusinessConnectionId?: string | null | undefined;
|
1841
1836
|
isBotRoom?: boolean | null | undefined;
|
1842
1837
|
};
|
@@ -19976,1279 +19971,5 @@ export declare const KlinkChatContract: {
|
|
19976
19971
|
};
|
19977
19972
|
path: "/message";
|
19978
19973
|
};
|
19979
|
-
disconnect: {
|
19980
|
-
body: z.ZodObject<{
|
19981
|
-
id: z.ZodString;
|
19982
|
-
}, "strip", z.ZodTypeAny, {
|
19983
|
-
id: string;
|
19984
|
-
}, {
|
19985
|
-
id: string;
|
19986
|
-
}>;
|
19987
|
-
summary: "Disconnect klink chat channel";
|
19988
|
-
method: "POST";
|
19989
|
-
responses: {
|
19990
|
-
200: z.ZodObject<{
|
19991
|
-
requestId: z.ZodString;
|
19992
|
-
data: z.ZodObject<{
|
19993
|
-
id: z.ZodString;
|
19994
|
-
name: z.ZodString;
|
19995
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
|
19996
|
-
metadata: z.ZodObject<{
|
19997
|
-
id: z.ZodString;
|
19998
|
-
name: z.ZodString;
|
19999
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
20000
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
20001
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
20002
|
-
senderId: z.ZodOptional<z.ZodString>;
|
20003
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
20004
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20005
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20006
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20007
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20008
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20009
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20010
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20011
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20012
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
20013
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
20014
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
20015
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
20016
|
-
}, "strip", z.ZodTypeAny, {
|
20017
|
-
wabaBusinessId?: string | null | undefined;
|
20018
|
-
wabaExternalId?: string | null | undefined;
|
20019
|
-
phoneNumberId?: string | null | undefined;
|
20020
|
-
email?: string | null | undefined;
|
20021
|
-
clientId?: string | null | undefined;
|
20022
|
-
channelId?: string | null | undefined;
|
20023
|
-
waapiInstanceId?: string | null | undefined;
|
20024
|
-
qr?: string | null | undefined;
|
20025
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20026
|
-
apiKey?: string | undefined;
|
20027
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20028
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20029
|
-
}, {
|
20030
|
-
wabaBusinessId?: string | null | undefined;
|
20031
|
-
wabaExternalId?: string | null | undefined;
|
20032
|
-
phoneNumberId?: string | null | undefined;
|
20033
|
-
email?: string | null | undefined;
|
20034
|
-
clientId?: string | null | undefined;
|
20035
|
-
channelId?: string | null | undefined;
|
20036
|
-
waapiInstanceId?: string | null | undefined;
|
20037
|
-
qr?: string | null | undefined;
|
20038
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20039
|
-
apiKey?: string | undefined;
|
20040
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20041
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20042
|
-
}>>;
|
20043
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
20044
|
-
mobileNumber: z.ZodString;
|
20045
|
-
apiKey: z.ZodString;
|
20046
|
-
apiSecret: z.ZodString;
|
20047
|
-
}, "strip", z.ZodTypeAny, {
|
20048
|
-
apiKey: string;
|
20049
|
-
mobileNumber: string;
|
20050
|
-
apiSecret: string;
|
20051
|
-
}, {
|
20052
|
-
apiKey: string;
|
20053
|
-
mobileNumber: string;
|
20054
|
-
apiSecret: string;
|
20055
|
-
}>>;
|
20056
|
-
line: z.ZodOptional<z.ZodObject<{
|
20057
|
-
channelId: z.ZodString;
|
20058
|
-
channelSecret: z.ZodString;
|
20059
|
-
}, "strip", z.ZodTypeAny, {
|
20060
|
-
channelId: string;
|
20061
|
-
channelSecret: string;
|
20062
|
-
}, {
|
20063
|
-
channelId: string;
|
20064
|
-
channelSecret: string;
|
20065
|
-
}>>;
|
20066
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20067
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20068
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20069
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
20070
|
-
}, "strip", z.ZodTypeAny, {
|
20071
|
-
name: string;
|
20072
|
-
id: string;
|
20073
|
-
accessToken?: string | undefined;
|
20074
|
-
channelSecret?: string | undefined;
|
20075
|
-
additionalCredentials?: any;
|
20076
|
-
senderId?: string | undefined;
|
20077
|
-
whatsapp?: {
|
20078
|
-
wabaBusinessId?: string | null | undefined;
|
20079
|
-
wabaExternalId?: string | null | undefined;
|
20080
|
-
phoneNumberId?: string | null | undefined;
|
20081
|
-
email?: string | null | undefined;
|
20082
|
-
clientId?: string | null | undefined;
|
20083
|
-
channelId?: string | null | undefined;
|
20084
|
-
waapiInstanceId?: string | null | undefined;
|
20085
|
-
qr?: string | null | undefined;
|
20086
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20087
|
-
apiKey?: string | undefined;
|
20088
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20089
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20090
|
-
} | undefined;
|
20091
|
-
vonageCredentials?: {
|
20092
|
-
apiKey: string;
|
20093
|
-
mobileNumber: string;
|
20094
|
-
apiSecret: string;
|
20095
|
-
} | undefined;
|
20096
|
-
line?: {
|
20097
|
-
channelId: string;
|
20098
|
-
channelSecret: string;
|
20099
|
-
} | undefined;
|
20100
|
-
lineRichMenuId?: string | null | undefined;
|
20101
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20102
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20103
|
-
isCSATEnabled?: boolean | undefined;
|
20104
|
-
}, {
|
20105
|
-
name: string;
|
20106
|
-
id: string;
|
20107
|
-
accessToken?: string | undefined;
|
20108
|
-
channelSecret?: string | undefined;
|
20109
|
-
additionalCredentials?: any;
|
20110
|
-
senderId?: string | undefined;
|
20111
|
-
whatsapp?: {
|
20112
|
-
wabaBusinessId?: string | null | undefined;
|
20113
|
-
wabaExternalId?: string | null | undefined;
|
20114
|
-
phoneNumberId?: string | null | undefined;
|
20115
|
-
email?: string | null | undefined;
|
20116
|
-
clientId?: string | null | undefined;
|
20117
|
-
channelId?: string | null | undefined;
|
20118
|
-
waapiInstanceId?: string | null | undefined;
|
20119
|
-
qr?: string | null | undefined;
|
20120
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20121
|
-
apiKey?: string | undefined;
|
20122
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20123
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20124
|
-
} | undefined;
|
20125
|
-
vonageCredentials?: {
|
20126
|
-
apiKey: string;
|
20127
|
-
mobileNumber: string;
|
20128
|
-
apiSecret: string;
|
20129
|
-
} | undefined;
|
20130
|
-
line?: {
|
20131
|
-
channelId: string;
|
20132
|
-
channelSecret: string;
|
20133
|
-
} | undefined;
|
20134
|
-
lineRichMenuId?: string | null | undefined;
|
20135
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20136
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20137
|
-
isCSATEnabled?: boolean | undefined;
|
20138
|
-
}>;
|
20139
|
-
platformId: z.ZodString;
|
20140
|
-
brandName: z.ZodString;
|
20141
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
20142
|
-
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20143
|
-
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20144
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20145
|
-
actor: z.ZodOptional<z.ZodObject<{
|
20146
|
-
id: z.ZodString;
|
20147
|
-
name: z.ZodString;
|
20148
|
-
email: z.ZodString;
|
20149
|
-
address: z.ZodNullable<z.ZodString>;
|
20150
|
-
phone: z.ZodNullable<z.ZodString>;
|
20151
|
-
}, "strip", z.ZodTypeAny, {
|
20152
|
-
name: string;
|
20153
|
-
id: string;
|
20154
|
-
address: string | null;
|
20155
|
-
email: string;
|
20156
|
-
phone: string | null;
|
20157
|
-
}, {
|
20158
|
-
name: string;
|
20159
|
-
id: string;
|
20160
|
-
address: string | null;
|
20161
|
-
email: string;
|
20162
|
-
phone: string | null;
|
20163
|
-
}>>;
|
20164
|
-
}, "strip", z.ZodTypeAny, {
|
20165
|
-
name: string;
|
20166
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20167
|
-
id: string;
|
20168
|
-
metadata: {
|
20169
|
-
name: string;
|
20170
|
-
id: string;
|
20171
|
-
accessToken?: string | undefined;
|
20172
|
-
channelSecret?: string | undefined;
|
20173
|
-
additionalCredentials?: any;
|
20174
|
-
senderId?: string | undefined;
|
20175
|
-
whatsapp?: {
|
20176
|
-
wabaBusinessId?: string | null | undefined;
|
20177
|
-
wabaExternalId?: string | null | undefined;
|
20178
|
-
phoneNumberId?: string | null | undefined;
|
20179
|
-
email?: string | null | undefined;
|
20180
|
-
clientId?: string | null | undefined;
|
20181
|
-
channelId?: string | null | undefined;
|
20182
|
-
waapiInstanceId?: string | null | undefined;
|
20183
|
-
qr?: string | null | undefined;
|
20184
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20185
|
-
apiKey?: string | undefined;
|
20186
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20187
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20188
|
-
} | undefined;
|
20189
|
-
vonageCredentials?: {
|
20190
|
-
apiKey: string;
|
20191
|
-
mobileNumber: string;
|
20192
|
-
apiSecret: string;
|
20193
|
-
} | undefined;
|
20194
|
-
line?: {
|
20195
|
-
channelId: string;
|
20196
|
-
channelSecret: string;
|
20197
|
-
} | undefined;
|
20198
|
-
lineRichMenuId?: string | null | undefined;
|
20199
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20200
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20201
|
-
isCSATEnabled?: boolean | undefined;
|
20202
|
-
};
|
20203
|
-
status: boolean;
|
20204
|
-
brandName: string;
|
20205
|
-
platformId: string;
|
20206
|
-
connectedUserName?: string | null | undefined;
|
20207
|
-
connectedUserId?: string | null | undefined;
|
20208
|
-
lineRichMenuId?: string | null | undefined;
|
20209
|
-
actor?: {
|
20210
|
-
name: string;
|
20211
|
-
id: string;
|
20212
|
-
address: string | null;
|
20213
|
-
email: string;
|
20214
|
-
phone: string | null;
|
20215
|
-
} | undefined;
|
20216
|
-
}, {
|
20217
|
-
name: string;
|
20218
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20219
|
-
id: string;
|
20220
|
-
metadata: {
|
20221
|
-
name: string;
|
20222
|
-
id: string;
|
20223
|
-
accessToken?: string | undefined;
|
20224
|
-
channelSecret?: string | undefined;
|
20225
|
-
additionalCredentials?: any;
|
20226
|
-
senderId?: string | undefined;
|
20227
|
-
whatsapp?: {
|
20228
|
-
wabaBusinessId?: string | null | undefined;
|
20229
|
-
wabaExternalId?: string | null | undefined;
|
20230
|
-
phoneNumberId?: string | null | undefined;
|
20231
|
-
email?: string | null | undefined;
|
20232
|
-
clientId?: string | null | undefined;
|
20233
|
-
channelId?: string | null | undefined;
|
20234
|
-
waapiInstanceId?: string | null | undefined;
|
20235
|
-
qr?: string | null | undefined;
|
20236
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20237
|
-
apiKey?: string | undefined;
|
20238
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20239
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20240
|
-
} | undefined;
|
20241
|
-
vonageCredentials?: {
|
20242
|
-
apiKey: string;
|
20243
|
-
mobileNumber: string;
|
20244
|
-
apiSecret: string;
|
20245
|
-
} | undefined;
|
20246
|
-
line?: {
|
20247
|
-
channelId: string;
|
20248
|
-
channelSecret: string;
|
20249
|
-
} | undefined;
|
20250
|
-
lineRichMenuId?: string | null | undefined;
|
20251
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20252
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20253
|
-
isCSATEnabled?: boolean | undefined;
|
20254
|
-
};
|
20255
|
-
status: boolean;
|
20256
|
-
brandName: string;
|
20257
|
-
platformId: string;
|
20258
|
-
connectedUserName?: string | null | undefined;
|
20259
|
-
connectedUserId?: string | null | undefined;
|
20260
|
-
lineRichMenuId?: string | null | undefined;
|
20261
|
-
actor?: {
|
20262
|
-
name: string;
|
20263
|
-
id: string;
|
20264
|
-
address: string | null;
|
20265
|
-
email: string;
|
20266
|
-
phone: string | null;
|
20267
|
-
} | undefined;
|
20268
|
-
}>;
|
20269
|
-
}, "strip", z.ZodTypeAny, {
|
20270
|
-
data: {
|
20271
|
-
name: string;
|
20272
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20273
|
-
id: string;
|
20274
|
-
metadata: {
|
20275
|
-
name: string;
|
20276
|
-
id: string;
|
20277
|
-
accessToken?: string | undefined;
|
20278
|
-
channelSecret?: string | undefined;
|
20279
|
-
additionalCredentials?: any;
|
20280
|
-
senderId?: string | undefined;
|
20281
|
-
whatsapp?: {
|
20282
|
-
wabaBusinessId?: string | null | undefined;
|
20283
|
-
wabaExternalId?: string | null | undefined;
|
20284
|
-
phoneNumberId?: string | null | undefined;
|
20285
|
-
email?: string | null | undefined;
|
20286
|
-
clientId?: string | null | undefined;
|
20287
|
-
channelId?: string | null | undefined;
|
20288
|
-
waapiInstanceId?: string | null | undefined;
|
20289
|
-
qr?: string | null | undefined;
|
20290
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20291
|
-
apiKey?: string | undefined;
|
20292
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20293
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20294
|
-
} | undefined;
|
20295
|
-
vonageCredentials?: {
|
20296
|
-
apiKey: string;
|
20297
|
-
mobileNumber: string;
|
20298
|
-
apiSecret: string;
|
20299
|
-
} | undefined;
|
20300
|
-
line?: {
|
20301
|
-
channelId: string;
|
20302
|
-
channelSecret: string;
|
20303
|
-
} | undefined;
|
20304
|
-
lineRichMenuId?: string | null | undefined;
|
20305
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20306
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20307
|
-
isCSATEnabled?: boolean | undefined;
|
20308
|
-
};
|
20309
|
-
status: boolean;
|
20310
|
-
brandName: string;
|
20311
|
-
platformId: string;
|
20312
|
-
connectedUserName?: string | null | undefined;
|
20313
|
-
connectedUserId?: string | null | undefined;
|
20314
|
-
lineRichMenuId?: string | null | undefined;
|
20315
|
-
actor?: {
|
20316
|
-
name: string;
|
20317
|
-
id: string;
|
20318
|
-
address: string | null;
|
20319
|
-
email: string;
|
20320
|
-
phone: string | null;
|
20321
|
-
} | undefined;
|
20322
|
-
};
|
20323
|
-
requestId: string;
|
20324
|
-
}, {
|
20325
|
-
data: {
|
20326
|
-
name: string;
|
20327
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20328
|
-
id: string;
|
20329
|
-
metadata: {
|
20330
|
-
name: string;
|
20331
|
-
id: string;
|
20332
|
-
accessToken?: string | undefined;
|
20333
|
-
channelSecret?: string | undefined;
|
20334
|
-
additionalCredentials?: any;
|
20335
|
-
senderId?: string | undefined;
|
20336
|
-
whatsapp?: {
|
20337
|
-
wabaBusinessId?: string | null | undefined;
|
20338
|
-
wabaExternalId?: string | null | undefined;
|
20339
|
-
phoneNumberId?: string | null | undefined;
|
20340
|
-
email?: string | null | undefined;
|
20341
|
-
clientId?: string | null | undefined;
|
20342
|
-
channelId?: string | null | undefined;
|
20343
|
-
waapiInstanceId?: string | null | undefined;
|
20344
|
-
qr?: string | null | undefined;
|
20345
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20346
|
-
apiKey?: string | undefined;
|
20347
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20348
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20349
|
-
} | undefined;
|
20350
|
-
vonageCredentials?: {
|
20351
|
-
apiKey: string;
|
20352
|
-
mobileNumber: string;
|
20353
|
-
apiSecret: string;
|
20354
|
-
} | undefined;
|
20355
|
-
line?: {
|
20356
|
-
channelId: string;
|
20357
|
-
channelSecret: string;
|
20358
|
-
} | undefined;
|
20359
|
-
lineRichMenuId?: string | null | undefined;
|
20360
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20361
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20362
|
-
isCSATEnabled?: boolean | undefined;
|
20363
|
-
};
|
20364
|
-
status: boolean;
|
20365
|
-
brandName: string;
|
20366
|
-
platformId: string;
|
20367
|
-
connectedUserName?: string | null | undefined;
|
20368
|
-
connectedUserId?: string | null | undefined;
|
20369
|
-
lineRichMenuId?: string | null | undefined;
|
20370
|
-
actor?: {
|
20371
|
-
name: string;
|
20372
|
-
id: string;
|
20373
|
-
address: string | null;
|
20374
|
-
email: string;
|
20375
|
-
phone: string | null;
|
20376
|
-
} | undefined;
|
20377
|
-
};
|
20378
|
-
requestId: string;
|
20379
|
-
}>;
|
20380
|
-
500: z.ZodObject<{
|
20381
|
-
message: z.ZodString;
|
20382
|
-
error: z.ZodAny;
|
20383
|
-
}, "strip", z.ZodTypeAny, {
|
20384
|
-
message: string;
|
20385
|
-
error?: any;
|
20386
|
-
}, {
|
20387
|
-
message: string;
|
20388
|
-
error?: any;
|
20389
|
-
}>;
|
20390
|
-
400: z.ZodObject<{
|
20391
|
-
message: z.ZodString;
|
20392
|
-
error: z.ZodAny;
|
20393
|
-
}, "strip", z.ZodTypeAny, {
|
20394
|
-
message: string;
|
20395
|
-
error?: any;
|
20396
|
-
}, {
|
20397
|
-
message: string;
|
20398
|
-
error?: any;
|
20399
|
-
}>;
|
20400
|
-
};
|
20401
|
-
path: "/disconnect";
|
20402
|
-
};
|
20403
|
-
reconnect: {
|
20404
|
-
body: null;
|
20405
|
-
summary: "Reconnect klink chat channel";
|
20406
|
-
method: "POST";
|
20407
|
-
pathParams: z.ZodObject<{
|
20408
|
-
channelId: z.ZodString;
|
20409
|
-
}, "strip", z.ZodTypeAny, {
|
20410
|
-
channelId: string;
|
20411
|
-
}, {
|
20412
|
-
channelId: string;
|
20413
|
-
}>;
|
20414
|
-
responses: {
|
20415
|
-
200: z.ZodObject<{
|
20416
|
-
requestId: z.ZodString;
|
20417
|
-
data: z.ZodObject<{
|
20418
|
-
id: z.ZodString;
|
20419
|
-
name: z.ZodString;
|
20420
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
|
20421
|
-
metadata: z.ZodObject<{
|
20422
|
-
id: z.ZodString;
|
20423
|
-
name: z.ZodString;
|
20424
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
20425
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
20426
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
20427
|
-
senderId: z.ZodOptional<z.ZodString>;
|
20428
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
20429
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20430
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20431
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20432
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20433
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20434
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20435
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20436
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20437
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
20438
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
20439
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
20440
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
20441
|
-
}, "strip", z.ZodTypeAny, {
|
20442
|
-
wabaBusinessId?: string | null | undefined;
|
20443
|
-
wabaExternalId?: string | null | undefined;
|
20444
|
-
phoneNumberId?: string | null | undefined;
|
20445
|
-
email?: string | null | undefined;
|
20446
|
-
clientId?: string | null | undefined;
|
20447
|
-
channelId?: string | null | undefined;
|
20448
|
-
waapiInstanceId?: string | null | undefined;
|
20449
|
-
qr?: string | null | undefined;
|
20450
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20451
|
-
apiKey?: string | undefined;
|
20452
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20453
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20454
|
-
}, {
|
20455
|
-
wabaBusinessId?: string | null | undefined;
|
20456
|
-
wabaExternalId?: string | null | undefined;
|
20457
|
-
phoneNumberId?: string | null | undefined;
|
20458
|
-
email?: string | null | undefined;
|
20459
|
-
clientId?: string | null | undefined;
|
20460
|
-
channelId?: string | null | undefined;
|
20461
|
-
waapiInstanceId?: string | null | undefined;
|
20462
|
-
qr?: string | null | undefined;
|
20463
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20464
|
-
apiKey?: string | undefined;
|
20465
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20466
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20467
|
-
}>>;
|
20468
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
20469
|
-
mobileNumber: z.ZodString;
|
20470
|
-
apiKey: z.ZodString;
|
20471
|
-
apiSecret: z.ZodString;
|
20472
|
-
}, "strip", z.ZodTypeAny, {
|
20473
|
-
apiKey: string;
|
20474
|
-
mobileNumber: string;
|
20475
|
-
apiSecret: string;
|
20476
|
-
}, {
|
20477
|
-
apiKey: string;
|
20478
|
-
mobileNumber: string;
|
20479
|
-
apiSecret: string;
|
20480
|
-
}>>;
|
20481
|
-
line: z.ZodOptional<z.ZodObject<{
|
20482
|
-
channelId: z.ZodString;
|
20483
|
-
channelSecret: z.ZodString;
|
20484
|
-
}, "strip", z.ZodTypeAny, {
|
20485
|
-
channelId: string;
|
20486
|
-
channelSecret: string;
|
20487
|
-
}, {
|
20488
|
-
channelId: string;
|
20489
|
-
channelSecret: string;
|
20490
|
-
}>>;
|
20491
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20492
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20493
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20494
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
20495
|
-
}, "strip", z.ZodTypeAny, {
|
20496
|
-
name: string;
|
20497
|
-
id: string;
|
20498
|
-
accessToken?: string | undefined;
|
20499
|
-
channelSecret?: string | undefined;
|
20500
|
-
additionalCredentials?: any;
|
20501
|
-
senderId?: string | undefined;
|
20502
|
-
whatsapp?: {
|
20503
|
-
wabaBusinessId?: string | null | undefined;
|
20504
|
-
wabaExternalId?: string | null | undefined;
|
20505
|
-
phoneNumberId?: string | null | undefined;
|
20506
|
-
email?: string | null | undefined;
|
20507
|
-
clientId?: string | null | undefined;
|
20508
|
-
channelId?: string | null | undefined;
|
20509
|
-
waapiInstanceId?: string | null | undefined;
|
20510
|
-
qr?: string | null | undefined;
|
20511
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20512
|
-
apiKey?: string | undefined;
|
20513
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20514
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20515
|
-
} | undefined;
|
20516
|
-
vonageCredentials?: {
|
20517
|
-
apiKey: string;
|
20518
|
-
mobileNumber: string;
|
20519
|
-
apiSecret: string;
|
20520
|
-
} | undefined;
|
20521
|
-
line?: {
|
20522
|
-
channelId: string;
|
20523
|
-
channelSecret: string;
|
20524
|
-
} | undefined;
|
20525
|
-
lineRichMenuId?: string | null | undefined;
|
20526
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20527
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20528
|
-
isCSATEnabled?: boolean | undefined;
|
20529
|
-
}, {
|
20530
|
-
name: string;
|
20531
|
-
id: string;
|
20532
|
-
accessToken?: string | undefined;
|
20533
|
-
channelSecret?: string | undefined;
|
20534
|
-
additionalCredentials?: any;
|
20535
|
-
senderId?: string | undefined;
|
20536
|
-
whatsapp?: {
|
20537
|
-
wabaBusinessId?: string | null | undefined;
|
20538
|
-
wabaExternalId?: string | null | undefined;
|
20539
|
-
phoneNumberId?: string | null | undefined;
|
20540
|
-
email?: string | null | undefined;
|
20541
|
-
clientId?: string | null | undefined;
|
20542
|
-
channelId?: string | null | undefined;
|
20543
|
-
waapiInstanceId?: string | null | undefined;
|
20544
|
-
qr?: string | null | undefined;
|
20545
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20546
|
-
apiKey?: string | undefined;
|
20547
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20548
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20549
|
-
} | undefined;
|
20550
|
-
vonageCredentials?: {
|
20551
|
-
apiKey: string;
|
20552
|
-
mobileNumber: string;
|
20553
|
-
apiSecret: string;
|
20554
|
-
} | undefined;
|
20555
|
-
line?: {
|
20556
|
-
channelId: string;
|
20557
|
-
channelSecret: string;
|
20558
|
-
} | undefined;
|
20559
|
-
lineRichMenuId?: string | null | undefined;
|
20560
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20561
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20562
|
-
isCSATEnabled?: boolean | undefined;
|
20563
|
-
}>;
|
20564
|
-
platformId: z.ZodString;
|
20565
|
-
brandName: z.ZodString;
|
20566
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
20567
|
-
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20568
|
-
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20569
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20570
|
-
actor: z.ZodOptional<z.ZodObject<{
|
20571
|
-
id: z.ZodString;
|
20572
|
-
name: z.ZodString;
|
20573
|
-
email: z.ZodString;
|
20574
|
-
address: z.ZodNullable<z.ZodString>;
|
20575
|
-
phone: z.ZodNullable<z.ZodString>;
|
20576
|
-
}, "strip", z.ZodTypeAny, {
|
20577
|
-
name: string;
|
20578
|
-
id: string;
|
20579
|
-
address: string | null;
|
20580
|
-
email: string;
|
20581
|
-
phone: string | null;
|
20582
|
-
}, {
|
20583
|
-
name: string;
|
20584
|
-
id: string;
|
20585
|
-
address: string | null;
|
20586
|
-
email: string;
|
20587
|
-
phone: string | null;
|
20588
|
-
}>>;
|
20589
|
-
}, "strip", z.ZodTypeAny, {
|
20590
|
-
name: string;
|
20591
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20592
|
-
id: string;
|
20593
|
-
metadata: {
|
20594
|
-
name: string;
|
20595
|
-
id: string;
|
20596
|
-
accessToken?: string | undefined;
|
20597
|
-
channelSecret?: string | undefined;
|
20598
|
-
additionalCredentials?: any;
|
20599
|
-
senderId?: string | undefined;
|
20600
|
-
whatsapp?: {
|
20601
|
-
wabaBusinessId?: string | null | undefined;
|
20602
|
-
wabaExternalId?: string | null | undefined;
|
20603
|
-
phoneNumberId?: string | null | undefined;
|
20604
|
-
email?: string | null | undefined;
|
20605
|
-
clientId?: string | null | undefined;
|
20606
|
-
channelId?: string | null | undefined;
|
20607
|
-
waapiInstanceId?: string | null | undefined;
|
20608
|
-
qr?: string | null | undefined;
|
20609
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20610
|
-
apiKey?: string | undefined;
|
20611
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20612
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20613
|
-
} | undefined;
|
20614
|
-
vonageCredentials?: {
|
20615
|
-
apiKey: string;
|
20616
|
-
mobileNumber: string;
|
20617
|
-
apiSecret: string;
|
20618
|
-
} | undefined;
|
20619
|
-
line?: {
|
20620
|
-
channelId: string;
|
20621
|
-
channelSecret: string;
|
20622
|
-
} | undefined;
|
20623
|
-
lineRichMenuId?: string | null | undefined;
|
20624
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20625
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20626
|
-
isCSATEnabled?: boolean | undefined;
|
20627
|
-
};
|
20628
|
-
status: boolean;
|
20629
|
-
brandName: string;
|
20630
|
-
platformId: string;
|
20631
|
-
connectedUserName?: string | null | undefined;
|
20632
|
-
connectedUserId?: string | null | undefined;
|
20633
|
-
lineRichMenuId?: string | null | undefined;
|
20634
|
-
actor?: {
|
20635
|
-
name: string;
|
20636
|
-
id: string;
|
20637
|
-
address: string | null;
|
20638
|
-
email: string;
|
20639
|
-
phone: string | null;
|
20640
|
-
} | undefined;
|
20641
|
-
}, {
|
20642
|
-
name: string;
|
20643
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20644
|
-
id: string;
|
20645
|
-
metadata: {
|
20646
|
-
name: string;
|
20647
|
-
id: string;
|
20648
|
-
accessToken?: string | undefined;
|
20649
|
-
channelSecret?: string | undefined;
|
20650
|
-
additionalCredentials?: any;
|
20651
|
-
senderId?: string | undefined;
|
20652
|
-
whatsapp?: {
|
20653
|
-
wabaBusinessId?: string | null | undefined;
|
20654
|
-
wabaExternalId?: string | null | undefined;
|
20655
|
-
phoneNumberId?: string | null | undefined;
|
20656
|
-
email?: string | null | undefined;
|
20657
|
-
clientId?: string | null | undefined;
|
20658
|
-
channelId?: string | null | undefined;
|
20659
|
-
waapiInstanceId?: string | null | undefined;
|
20660
|
-
qr?: string | null | undefined;
|
20661
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20662
|
-
apiKey?: string | undefined;
|
20663
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20664
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20665
|
-
} | undefined;
|
20666
|
-
vonageCredentials?: {
|
20667
|
-
apiKey: string;
|
20668
|
-
mobileNumber: string;
|
20669
|
-
apiSecret: string;
|
20670
|
-
} | undefined;
|
20671
|
-
line?: {
|
20672
|
-
channelId: string;
|
20673
|
-
channelSecret: string;
|
20674
|
-
} | undefined;
|
20675
|
-
lineRichMenuId?: string | null | undefined;
|
20676
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20677
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20678
|
-
isCSATEnabled?: boolean | undefined;
|
20679
|
-
};
|
20680
|
-
status: boolean;
|
20681
|
-
brandName: string;
|
20682
|
-
platformId: string;
|
20683
|
-
connectedUserName?: string | null | undefined;
|
20684
|
-
connectedUserId?: string | null | undefined;
|
20685
|
-
lineRichMenuId?: string | null | undefined;
|
20686
|
-
actor?: {
|
20687
|
-
name: string;
|
20688
|
-
id: string;
|
20689
|
-
address: string | null;
|
20690
|
-
email: string;
|
20691
|
-
phone: string | null;
|
20692
|
-
} | undefined;
|
20693
|
-
}>;
|
20694
|
-
}, "strip", z.ZodTypeAny, {
|
20695
|
-
data: {
|
20696
|
-
name: string;
|
20697
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20698
|
-
id: string;
|
20699
|
-
metadata: {
|
20700
|
-
name: string;
|
20701
|
-
id: string;
|
20702
|
-
accessToken?: string | undefined;
|
20703
|
-
channelSecret?: string | undefined;
|
20704
|
-
additionalCredentials?: any;
|
20705
|
-
senderId?: string | undefined;
|
20706
|
-
whatsapp?: {
|
20707
|
-
wabaBusinessId?: string | null | undefined;
|
20708
|
-
wabaExternalId?: string | null | undefined;
|
20709
|
-
phoneNumberId?: string | null | undefined;
|
20710
|
-
email?: string | null | undefined;
|
20711
|
-
clientId?: string | null | undefined;
|
20712
|
-
channelId?: string | null | undefined;
|
20713
|
-
waapiInstanceId?: string | null | undefined;
|
20714
|
-
qr?: string | null | undefined;
|
20715
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20716
|
-
apiKey?: string | undefined;
|
20717
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20718
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20719
|
-
} | undefined;
|
20720
|
-
vonageCredentials?: {
|
20721
|
-
apiKey: string;
|
20722
|
-
mobileNumber: string;
|
20723
|
-
apiSecret: string;
|
20724
|
-
} | undefined;
|
20725
|
-
line?: {
|
20726
|
-
channelId: string;
|
20727
|
-
channelSecret: string;
|
20728
|
-
} | undefined;
|
20729
|
-
lineRichMenuId?: string | null | undefined;
|
20730
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20731
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20732
|
-
isCSATEnabled?: boolean | undefined;
|
20733
|
-
};
|
20734
|
-
status: boolean;
|
20735
|
-
brandName: string;
|
20736
|
-
platformId: string;
|
20737
|
-
connectedUserName?: string | null | undefined;
|
20738
|
-
connectedUserId?: string | null | undefined;
|
20739
|
-
lineRichMenuId?: string | null | undefined;
|
20740
|
-
actor?: {
|
20741
|
-
name: string;
|
20742
|
-
id: string;
|
20743
|
-
address: string | null;
|
20744
|
-
email: string;
|
20745
|
-
phone: string | null;
|
20746
|
-
} | undefined;
|
20747
|
-
};
|
20748
|
-
requestId: string;
|
20749
|
-
}, {
|
20750
|
-
data: {
|
20751
|
-
name: string;
|
20752
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
20753
|
-
id: string;
|
20754
|
-
metadata: {
|
20755
|
-
name: string;
|
20756
|
-
id: string;
|
20757
|
-
accessToken?: string | undefined;
|
20758
|
-
channelSecret?: string | undefined;
|
20759
|
-
additionalCredentials?: any;
|
20760
|
-
senderId?: string | undefined;
|
20761
|
-
whatsapp?: {
|
20762
|
-
wabaBusinessId?: string | null | undefined;
|
20763
|
-
wabaExternalId?: string | null | undefined;
|
20764
|
-
phoneNumberId?: string | null | undefined;
|
20765
|
-
email?: string | null | undefined;
|
20766
|
-
clientId?: string | null | undefined;
|
20767
|
-
channelId?: string | null | undefined;
|
20768
|
-
waapiInstanceId?: string | null | undefined;
|
20769
|
-
qr?: string | null | undefined;
|
20770
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20771
|
-
apiKey?: string | undefined;
|
20772
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20773
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20774
|
-
} | undefined;
|
20775
|
-
vonageCredentials?: {
|
20776
|
-
apiKey: string;
|
20777
|
-
mobileNumber: string;
|
20778
|
-
apiSecret: string;
|
20779
|
-
} | undefined;
|
20780
|
-
line?: {
|
20781
|
-
channelId: string;
|
20782
|
-
channelSecret: string;
|
20783
|
-
} | undefined;
|
20784
|
-
lineRichMenuId?: string | null | undefined;
|
20785
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20786
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20787
|
-
isCSATEnabled?: boolean | undefined;
|
20788
|
-
};
|
20789
|
-
status: boolean;
|
20790
|
-
brandName: string;
|
20791
|
-
platformId: string;
|
20792
|
-
connectedUserName?: string | null | undefined;
|
20793
|
-
connectedUserId?: string | null | undefined;
|
20794
|
-
lineRichMenuId?: string | null | undefined;
|
20795
|
-
actor?: {
|
20796
|
-
name: string;
|
20797
|
-
id: string;
|
20798
|
-
address: string | null;
|
20799
|
-
email: string;
|
20800
|
-
phone: string | null;
|
20801
|
-
} | undefined;
|
20802
|
-
};
|
20803
|
-
requestId: string;
|
20804
|
-
}>;
|
20805
|
-
500: z.ZodObject<{
|
20806
|
-
message: z.ZodString;
|
20807
|
-
error: z.ZodAny;
|
20808
|
-
}, "strip", z.ZodTypeAny, {
|
20809
|
-
message: string;
|
20810
|
-
error?: any;
|
20811
|
-
}, {
|
20812
|
-
message: string;
|
20813
|
-
error?: any;
|
20814
|
-
}>;
|
20815
|
-
400: z.ZodObject<{
|
20816
|
-
message: z.ZodString;
|
20817
|
-
error: z.ZodAny;
|
20818
|
-
}, "strip", z.ZodTypeAny, {
|
20819
|
-
message: string;
|
20820
|
-
error?: any;
|
20821
|
-
}, {
|
20822
|
-
message: string;
|
20823
|
-
error?: any;
|
20824
|
-
}>;
|
20825
|
-
};
|
20826
|
-
path: "/reconnect/:channelId";
|
20827
|
-
};
|
20828
|
-
delete: {
|
20829
|
-
body: null;
|
20830
|
-
summary: "Delete klink chat channel";
|
20831
|
-
method: "DELETE";
|
20832
|
-
pathParams: z.ZodObject<{
|
20833
|
-
channelId: z.ZodString;
|
20834
|
-
}, "strip", z.ZodTypeAny, {
|
20835
|
-
channelId: string;
|
20836
|
-
}, {
|
20837
|
-
channelId: string;
|
20838
|
-
}>;
|
20839
|
-
responses: {
|
20840
|
-
200: z.ZodObject<{
|
20841
|
-
requestId: z.ZodString;
|
20842
|
-
data: z.ZodObject<{
|
20843
|
-
id: z.ZodString;
|
20844
|
-
name: z.ZodString;
|
20845
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
|
20846
|
-
metadata: z.ZodObject<{
|
20847
|
-
id: z.ZodString;
|
20848
|
-
name: z.ZodString;
|
20849
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
20850
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
20851
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
20852
|
-
senderId: z.ZodOptional<z.ZodString>;
|
20853
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
20854
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20855
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20856
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20857
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20858
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20859
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20860
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20861
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20862
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
20863
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
20864
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
20865
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
20866
|
-
}, "strip", z.ZodTypeAny, {
|
20867
|
-
wabaBusinessId?: string | null | undefined;
|
20868
|
-
wabaExternalId?: string | null | undefined;
|
20869
|
-
phoneNumberId?: string | null | undefined;
|
20870
|
-
email?: string | null | undefined;
|
20871
|
-
clientId?: string | null | undefined;
|
20872
|
-
channelId?: string | null | undefined;
|
20873
|
-
waapiInstanceId?: string | null | undefined;
|
20874
|
-
qr?: string | null | undefined;
|
20875
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20876
|
-
apiKey?: string | undefined;
|
20877
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20878
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20879
|
-
}, {
|
20880
|
-
wabaBusinessId?: string | null | undefined;
|
20881
|
-
wabaExternalId?: string | null | undefined;
|
20882
|
-
phoneNumberId?: string | null | undefined;
|
20883
|
-
email?: string | null | undefined;
|
20884
|
-
clientId?: string | null | undefined;
|
20885
|
-
channelId?: string | null | undefined;
|
20886
|
-
waapiInstanceId?: string | null | undefined;
|
20887
|
-
qr?: string | null | undefined;
|
20888
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20889
|
-
apiKey?: string | undefined;
|
20890
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20891
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20892
|
-
}>>;
|
20893
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
20894
|
-
mobileNumber: z.ZodString;
|
20895
|
-
apiKey: z.ZodString;
|
20896
|
-
apiSecret: z.ZodString;
|
20897
|
-
}, "strip", z.ZodTypeAny, {
|
20898
|
-
apiKey: string;
|
20899
|
-
mobileNumber: string;
|
20900
|
-
apiSecret: string;
|
20901
|
-
}, {
|
20902
|
-
apiKey: string;
|
20903
|
-
mobileNumber: string;
|
20904
|
-
apiSecret: string;
|
20905
|
-
}>>;
|
20906
|
-
line: z.ZodOptional<z.ZodObject<{
|
20907
|
-
channelId: z.ZodString;
|
20908
|
-
channelSecret: z.ZodString;
|
20909
|
-
}, "strip", z.ZodTypeAny, {
|
20910
|
-
channelId: string;
|
20911
|
-
channelSecret: string;
|
20912
|
-
}, {
|
20913
|
-
channelId: string;
|
20914
|
-
channelSecret: string;
|
20915
|
-
}>>;
|
20916
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20917
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20918
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
20919
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
20920
|
-
}, "strip", z.ZodTypeAny, {
|
20921
|
-
name: string;
|
20922
|
-
id: string;
|
20923
|
-
accessToken?: string | undefined;
|
20924
|
-
channelSecret?: string | undefined;
|
20925
|
-
additionalCredentials?: any;
|
20926
|
-
senderId?: string | undefined;
|
20927
|
-
whatsapp?: {
|
20928
|
-
wabaBusinessId?: string | null | undefined;
|
20929
|
-
wabaExternalId?: string | null | undefined;
|
20930
|
-
phoneNumberId?: string | null | undefined;
|
20931
|
-
email?: string | null | undefined;
|
20932
|
-
clientId?: string | null | undefined;
|
20933
|
-
channelId?: string | null | undefined;
|
20934
|
-
waapiInstanceId?: string | null | undefined;
|
20935
|
-
qr?: string | null | undefined;
|
20936
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20937
|
-
apiKey?: string | undefined;
|
20938
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20939
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20940
|
-
} | undefined;
|
20941
|
-
vonageCredentials?: {
|
20942
|
-
apiKey: string;
|
20943
|
-
mobileNumber: string;
|
20944
|
-
apiSecret: string;
|
20945
|
-
} | undefined;
|
20946
|
-
line?: {
|
20947
|
-
channelId: string;
|
20948
|
-
channelSecret: string;
|
20949
|
-
} | undefined;
|
20950
|
-
lineRichMenuId?: string | null | undefined;
|
20951
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20952
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20953
|
-
isCSATEnabled?: boolean | undefined;
|
20954
|
-
}, {
|
20955
|
-
name: string;
|
20956
|
-
id: string;
|
20957
|
-
accessToken?: string | undefined;
|
20958
|
-
channelSecret?: string | undefined;
|
20959
|
-
additionalCredentials?: any;
|
20960
|
-
senderId?: string | undefined;
|
20961
|
-
whatsapp?: {
|
20962
|
-
wabaBusinessId?: string | null | undefined;
|
20963
|
-
wabaExternalId?: string | null | undefined;
|
20964
|
-
phoneNumberId?: string | null | undefined;
|
20965
|
-
email?: string | null | undefined;
|
20966
|
-
clientId?: string | null | undefined;
|
20967
|
-
channelId?: string | null | undefined;
|
20968
|
-
waapiInstanceId?: string | null | undefined;
|
20969
|
-
qr?: string | null | undefined;
|
20970
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
20971
|
-
apiKey?: string | undefined;
|
20972
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
20973
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
20974
|
-
} | undefined;
|
20975
|
-
vonageCredentials?: {
|
20976
|
-
apiKey: string;
|
20977
|
-
mobileNumber: string;
|
20978
|
-
apiSecret: string;
|
20979
|
-
} | undefined;
|
20980
|
-
line?: {
|
20981
|
-
channelId: string;
|
20982
|
-
channelSecret: string;
|
20983
|
-
} | undefined;
|
20984
|
-
lineRichMenuId?: string | null | undefined;
|
20985
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
20986
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20987
|
-
isCSATEnabled?: boolean | undefined;
|
20988
|
-
}>;
|
20989
|
-
platformId: z.ZodString;
|
20990
|
-
brandName: z.ZodString;
|
20991
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
20992
|
-
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20993
|
-
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20994
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
20995
|
-
actor: z.ZodOptional<z.ZodObject<{
|
20996
|
-
id: z.ZodString;
|
20997
|
-
name: z.ZodString;
|
20998
|
-
email: z.ZodString;
|
20999
|
-
address: z.ZodNullable<z.ZodString>;
|
21000
|
-
phone: z.ZodNullable<z.ZodString>;
|
21001
|
-
}, "strip", z.ZodTypeAny, {
|
21002
|
-
name: string;
|
21003
|
-
id: string;
|
21004
|
-
address: string | null;
|
21005
|
-
email: string;
|
21006
|
-
phone: string | null;
|
21007
|
-
}, {
|
21008
|
-
name: string;
|
21009
|
-
id: string;
|
21010
|
-
address: string | null;
|
21011
|
-
email: string;
|
21012
|
-
phone: string | null;
|
21013
|
-
}>>;
|
21014
|
-
}, "strip", z.ZodTypeAny, {
|
21015
|
-
name: string;
|
21016
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
21017
|
-
id: string;
|
21018
|
-
metadata: {
|
21019
|
-
name: string;
|
21020
|
-
id: string;
|
21021
|
-
accessToken?: string | undefined;
|
21022
|
-
channelSecret?: string | undefined;
|
21023
|
-
additionalCredentials?: any;
|
21024
|
-
senderId?: string | undefined;
|
21025
|
-
whatsapp?: {
|
21026
|
-
wabaBusinessId?: string | null | undefined;
|
21027
|
-
wabaExternalId?: string | null | undefined;
|
21028
|
-
phoneNumberId?: string | null | undefined;
|
21029
|
-
email?: string | null | undefined;
|
21030
|
-
clientId?: string | null | undefined;
|
21031
|
-
channelId?: string | null | undefined;
|
21032
|
-
waapiInstanceId?: string | null | undefined;
|
21033
|
-
qr?: string | null | undefined;
|
21034
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
21035
|
-
apiKey?: string | undefined;
|
21036
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
21037
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
21038
|
-
} | undefined;
|
21039
|
-
vonageCredentials?: {
|
21040
|
-
apiKey: string;
|
21041
|
-
mobileNumber: string;
|
21042
|
-
apiSecret: string;
|
21043
|
-
} | undefined;
|
21044
|
-
line?: {
|
21045
|
-
channelId: string;
|
21046
|
-
channelSecret: string;
|
21047
|
-
} | undefined;
|
21048
|
-
lineRichMenuId?: string | null | undefined;
|
21049
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
21050
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
21051
|
-
isCSATEnabled?: boolean | undefined;
|
21052
|
-
};
|
21053
|
-
status: boolean;
|
21054
|
-
brandName: string;
|
21055
|
-
platformId: string;
|
21056
|
-
connectedUserName?: string | null | undefined;
|
21057
|
-
connectedUserId?: string | null | undefined;
|
21058
|
-
lineRichMenuId?: string | null | undefined;
|
21059
|
-
actor?: {
|
21060
|
-
name: string;
|
21061
|
-
id: string;
|
21062
|
-
address: string | null;
|
21063
|
-
email: string;
|
21064
|
-
phone: string | null;
|
21065
|
-
} | undefined;
|
21066
|
-
}, {
|
21067
|
-
name: string;
|
21068
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
21069
|
-
id: string;
|
21070
|
-
metadata: {
|
21071
|
-
name: string;
|
21072
|
-
id: string;
|
21073
|
-
accessToken?: string | undefined;
|
21074
|
-
channelSecret?: string | undefined;
|
21075
|
-
additionalCredentials?: any;
|
21076
|
-
senderId?: string | undefined;
|
21077
|
-
whatsapp?: {
|
21078
|
-
wabaBusinessId?: string | null | undefined;
|
21079
|
-
wabaExternalId?: string | null | undefined;
|
21080
|
-
phoneNumberId?: string | null | undefined;
|
21081
|
-
email?: string | null | undefined;
|
21082
|
-
clientId?: string | null | undefined;
|
21083
|
-
channelId?: string | null | undefined;
|
21084
|
-
waapiInstanceId?: string | null | undefined;
|
21085
|
-
qr?: string | null | undefined;
|
21086
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
21087
|
-
apiKey?: string | undefined;
|
21088
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
21089
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
21090
|
-
} | undefined;
|
21091
|
-
vonageCredentials?: {
|
21092
|
-
apiKey: string;
|
21093
|
-
mobileNumber: string;
|
21094
|
-
apiSecret: string;
|
21095
|
-
} | undefined;
|
21096
|
-
line?: {
|
21097
|
-
channelId: string;
|
21098
|
-
channelSecret: string;
|
21099
|
-
} | undefined;
|
21100
|
-
lineRichMenuId?: string | null | undefined;
|
21101
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
21102
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
21103
|
-
isCSATEnabled?: boolean | undefined;
|
21104
|
-
};
|
21105
|
-
status: boolean;
|
21106
|
-
brandName: string;
|
21107
|
-
platformId: string;
|
21108
|
-
connectedUserName?: string | null | undefined;
|
21109
|
-
connectedUserId?: string | null | undefined;
|
21110
|
-
lineRichMenuId?: string | null | undefined;
|
21111
|
-
actor?: {
|
21112
|
-
name: string;
|
21113
|
-
id: string;
|
21114
|
-
address: string | null;
|
21115
|
-
email: string;
|
21116
|
-
phone: string | null;
|
21117
|
-
} | undefined;
|
21118
|
-
}>;
|
21119
|
-
}, "strip", z.ZodTypeAny, {
|
21120
|
-
data: {
|
21121
|
-
name: string;
|
21122
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
21123
|
-
id: string;
|
21124
|
-
metadata: {
|
21125
|
-
name: string;
|
21126
|
-
id: string;
|
21127
|
-
accessToken?: string | undefined;
|
21128
|
-
channelSecret?: string | undefined;
|
21129
|
-
additionalCredentials?: any;
|
21130
|
-
senderId?: string | undefined;
|
21131
|
-
whatsapp?: {
|
21132
|
-
wabaBusinessId?: string | null | undefined;
|
21133
|
-
wabaExternalId?: string | null | undefined;
|
21134
|
-
phoneNumberId?: string | null | undefined;
|
21135
|
-
email?: string | null | undefined;
|
21136
|
-
clientId?: string | null | undefined;
|
21137
|
-
channelId?: string | null | undefined;
|
21138
|
-
waapiInstanceId?: string | null | undefined;
|
21139
|
-
qr?: string | null | undefined;
|
21140
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
21141
|
-
apiKey?: string | undefined;
|
21142
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
21143
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
21144
|
-
} | undefined;
|
21145
|
-
vonageCredentials?: {
|
21146
|
-
apiKey: string;
|
21147
|
-
mobileNumber: string;
|
21148
|
-
apiSecret: string;
|
21149
|
-
} | undefined;
|
21150
|
-
line?: {
|
21151
|
-
channelId: string;
|
21152
|
-
channelSecret: string;
|
21153
|
-
} | undefined;
|
21154
|
-
lineRichMenuId?: string | null | undefined;
|
21155
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
21156
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
21157
|
-
isCSATEnabled?: boolean | undefined;
|
21158
|
-
};
|
21159
|
-
status: boolean;
|
21160
|
-
brandName: string;
|
21161
|
-
platformId: string;
|
21162
|
-
connectedUserName?: string | null | undefined;
|
21163
|
-
connectedUserId?: string | null | undefined;
|
21164
|
-
lineRichMenuId?: string | null | undefined;
|
21165
|
-
actor?: {
|
21166
|
-
name: string;
|
21167
|
-
id: string;
|
21168
|
-
address: string | null;
|
21169
|
-
email: string;
|
21170
|
-
phone: string | null;
|
21171
|
-
} | undefined;
|
21172
|
-
};
|
21173
|
-
requestId: string;
|
21174
|
-
}, {
|
21175
|
-
data: {
|
21176
|
-
name: string;
|
21177
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
|
21178
|
-
id: string;
|
21179
|
-
metadata: {
|
21180
|
-
name: string;
|
21181
|
-
id: string;
|
21182
|
-
accessToken?: string | undefined;
|
21183
|
-
channelSecret?: string | undefined;
|
21184
|
-
additionalCredentials?: any;
|
21185
|
-
senderId?: string | undefined;
|
21186
|
-
whatsapp?: {
|
21187
|
-
wabaBusinessId?: string | null | undefined;
|
21188
|
-
wabaExternalId?: string | null | undefined;
|
21189
|
-
phoneNumberId?: string | null | undefined;
|
21190
|
-
email?: string | null | undefined;
|
21191
|
-
clientId?: string | null | undefined;
|
21192
|
-
channelId?: string | null | undefined;
|
21193
|
-
waapiInstanceId?: string | null | undefined;
|
21194
|
-
qr?: string | null | undefined;
|
21195
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
21196
|
-
apiKey?: string | undefined;
|
21197
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
21198
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
21199
|
-
} | undefined;
|
21200
|
-
vonageCredentials?: {
|
21201
|
-
apiKey: string;
|
21202
|
-
mobileNumber: string;
|
21203
|
-
apiSecret: string;
|
21204
|
-
} | undefined;
|
21205
|
-
line?: {
|
21206
|
-
channelId: string;
|
21207
|
-
channelSecret: string;
|
21208
|
-
} | undefined;
|
21209
|
-
lineRichMenuId?: string | null | undefined;
|
21210
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
21211
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
21212
|
-
isCSATEnabled?: boolean | undefined;
|
21213
|
-
};
|
21214
|
-
status: boolean;
|
21215
|
-
brandName: string;
|
21216
|
-
platformId: string;
|
21217
|
-
connectedUserName?: string | null | undefined;
|
21218
|
-
connectedUserId?: string | null | undefined;
|
21219
|
-
lineRichMenuId?: string | null | undefined;
|
21220
|
-
actor?: {
|
21221
|
-
name: string;
|
21222
|
-
id: string;
|
21223
|
-
address: string | null;
|
21224
|
-
email: string;
|
21225
|
-
phone: string | null;
|
21226
|
-
} | undefined;
|
21227
|
-
};
|
21228
|
-
requestId: string;
|
21229
|
-
}>;
|
21230
|
-
500: z.ZodObject<{
|
21231
|
-
message: z.ZodString;
|
21232
|
-
error: z.ZodAny;
|
21233
|
-
}, "strip", z.ZodTypeAny, {
|
21234
|
-
message: string;
|
21235
|
-
error?: any;
|
21236
|
-
}, {
|
21237
|
-
message: string;
|
21238
|
-
error?: any;
|
21239
|
-
}>;
|
21240
|
-
400: z.ZodObject<{
|
21241
|
-
message: z.ZodString;
|
21242
|
-
error: z.ZodAny;
|
21243
|
-
}, "strip", z.ZodTypeAny, {
|
21244
|
-
message: string;
|
21245
|
-
error?: any;
|
21246
|
-
}, {
|
21247
|
-
message: string;
|
21248
|
-
error?: any;
|
21249
|
-
}>;
|
21250
|
-
};
|
21251
|
-
path: "/delete/:channelId";
|
21252
|
-
};
|
21253
19974
|
};
|
21254
19975
|
//# sourceMappingURL=index.d.ts.map
|