@kl1/contracts 1.1.22 → 1.1.23
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/index.js +579 -211
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +578 -211
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +799 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -0
- package/dist/src/business-calendar/schema.d.ts +172 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -0
- package/dist/src/business-calendar/validation.d.ts +210 -0
- package/dist/src/business-calendar/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +725 -611
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +12 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +71 -8
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +5144 -299
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +807 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1093 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +26553 -6263
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +376 -31
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +577 -27
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +628 -138
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +623 -133
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +23 -23
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +230 -4
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +3277 -435
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3009 -450
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +557 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +628 -138
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +13 -13
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/dist/src/viber/index.d.ts +592 -102
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8506 -0
- package/dist/src/webchat/index.d.ts.map +1 -0
- package/dist/src/webchat/schema.d.ts +95 -0
- package/dist/src/webchat/schema.d.ts.map +1 -0
- package/dist/src/webchat/validation.d.ts +36 -0
- package/dist/src/webchat/validation.d.ts.map +1 -0
- package/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +1000 -6
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +207 -2
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +29 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -14,13 +14,14 @@ export declare const messengerContract: {
|
|
14
14
|
handleTime: z.ZodOptional<z.ZodNumber>;
|
15
15
|
isLatest: z.ZodBoolean;
|
16
16
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
17
|
+
metadata: z.ZodOptional<z.ZodAny>;
|
17
18
|
createdAt: z.ZodString;
|
18
19
|
updatedAt: z.ZodString;
|
19
20
|
platformContact: z.ZodObject<{
|
20
21
|
id: z.ZodString;
|
21
22
|
channelId: z.ZodString;
|
22
23
|
socialPlatformId: z.ZodNullable<z.ZodString>;
|
23
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
24
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
24
25
|
metadata: z.ZodObject<{
|
25
26
|
id: z.ZodString;
|
26
27
|
name: z.ZodString;
|
@@ -60,7 +61,7 @@ export declare const messengerContract: {
|
|
60
61
|
socialProfileUrl: string | null;
|
61
62
|
}>;
|
62
63
|
}, "strip", z.ZodTypeAny, {
|
63
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
64
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
64
65
|
id: string;
|
65
66
|
metadata: {
|
66
67
|
id: string;
|
@@ -79,7 +80,7 @@ export declare const messengerContract: {
|
|
79
80
|
channelId: string;
|
80
81
|
socialPlatformId: string | null;
|
81
82
|
}, {
|
82
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
83
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
83
84
|
id: string;
|
84
85
|
metadata: {
|
85
86
|
id: string;
|
@@ -133,23 +134,23 @@ export declare const messengerContract: {
|
|
133
134
|
channel: z.ZodObject<{
|
134
135
|
id: z.ZodString;
|
135
136
|
name: z.ZodString;
|
136
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
137
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
137
138
|
metadata: z.ZodObject<{
|
138
139
|
id: z.ZodString;
|
139
140
|
name: z.ZodString;
|
140
|
-
accessToken: z.ZodString
|
141
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
141
142
|
channelSecret: z.ZodOptional<z.ZodString>;
|
142
143
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
143
144
|
}, "strip", z.ZodTypeAny, {
|
144
145
|
id: string;
|
145
146
|
name: string;
|
146
|
-
accessToken
|
147
|
+
accessToken?: string | undefined;
|
147
148
|
channelSecret?: string | undefined;
|
148
149
|
additionalCredentials?: any;
|
149
150
|
}, {
|
150
151
|
id: string;
|
151
152
|
name: string;
|
152
|
-
accessToken
|
153
|
+
accessToken?: string | undefined;
|
153
154
|
channelSecret?: string | undefined;
|
154
155
|
additionalCredentials?: any;
|
155
156
|
}>;
|
@@ -178,13 +179,13 @@ export declare const messengerContract: {
|
|
178
179
|
phone: string | null;
|
179
180
|
}>>;
|
180
181
|
}, "strip", z.ZodTypeAny, {
|
181
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
182
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
182
183
|
id: string;
|
183
184
|
name: string;
|
184
185
|
metadata: {
|
185
186
|
id: string;
|
186
187
|
name: string;
|
187
|
-
accessToken
|
188
|
+
accessToken?: string | undefined;
|
188
189
|
channelSecret?: string | undefined;
|
189
190
|
additionalCredentials?: any;
|
190
191
|
};
|
@@ -201,13 +202,13 @@ export declare const messengerContract: {
|
|
201
202
|
phone: string | null;
|
202
203
|
} | undefined;
|
203
204
|
}, {
|
204
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
205
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
205
206
|
id: string;
|
206
207
|
name: string;
|
207
208
|
metadata: {
|
208
209
|
id: string;
|
209
210
|
name: string;
|
210
|
-
accessToken
|
211
|
+
accessToken?: string | undefined;
|
211
212
|
channelSecret?: string | undefined;
|
212
213
|
additionalCredentials?: any;
|
213
214
|
};
|
@@ -228,13 +229,13 @@ export declare const messengerContract: {
|
|
228
229
|
}, "strip", z.ZodTypeAny, {
|
229
230
|
id: string;
|
230
231
|
channel: {
|
231
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
232
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
232
233
|
id: string;
|
233
234
|
name: string;
|
234
235
|
metadata: {
|
235
236
|
id: string;
|
236
237
|
name: string;
|
237
|
-
accessToken
|
238
|
+
accessToken?: string | undefined;
|
238
239
|
channelSecret?: string | undefined;
|
239
240
|
additionalCredentials?: any;
|
240
241
|
};
|
@@ -263,7 +264,7 @@ export declare const messengerContract: {
|
|
263
264
|
} | null;
|
264
265
|
isLatest: boolean;
|
265
266
|
platformContact: {
|
266
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
267
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
267
268
|
id: string;
|
268
269
|
metadata: {
|
269
270
|
id: string;
|
@@ -289,17 +290,18 @@ export declare const messengerContract: {
|
|
289
290
|
} | null;
|
290
291
|
lastMessage?: string | undefined;
|
291
292
|
handleTime?: number | undefined;
|
293
|
+
metadata?: any;
|
292
294
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
293
295
|
}, {
|
294
296
|
id: string;
|
295
297
|
channel: {
|
296
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
298
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
297
299
|
id: string;
|
298
300
|
name: string;
|
299
301
|
metadata: {
|
300
302
|
id: string;
|
301
303
|
name: string;
|
302
|
-
accessToken
|
304
|
+
accessToken?: string | undefined;
|
303
305
|
channelSecret?: string | undefined;
|
304
306
|
additionalCredentials?: any;
|
305
307
|
};
|
@@ -328,7 +330,7 @@ export declare const messengerContract: {
|
|
328
330
|
} | null;
|
329
331
|
isLatest: boolean;
|
330
332
|
platformContact: {
|
331
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
333
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
332
334
|
id: string;
|
333
335
|
metadata: {
|
334
336
|
id: string;
|
@@ -354,6 +356,7 @@ export declare const messengerContract: {
|
|
354
356
|
} | null;
|
355
357
|
lastMessage?: string | undefined;
|
356
358
|
handleTime?: number | undefined;
|
359
|
+
metadata?: any;
|
357
360
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
358
361
|
}>;
|
359
362
|
message: z.ZodObject<{
|
@@ -492,13 +495,13 @@ export declare const messengerContract: {
|
|
492
495
|
room: {
|
493
496
|
id: string;
|
494
497
|
channel: {
|
495
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
498
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
496
499
|
id: string;
|
497
500
|
name: string;
|
498
501
|
metadata: {
|
499
502
|
id: string;
|
500
503
|
name: string;
|
501
|
-
accessToken
|
504
|
+
accessToken?: string | undefined;
|
502
505
|
channelSecret?: string | undefined;
|
503
506
|
additionalCredentials?: any;
|
504
507
|
};
|
@@ -527,7 +530,7 @@ export declare const messengerContract: {
|
|
527
530
|
} | null;
|
528
531
|
isLatest: boolean;
|
529
532
|
platformContact: {
|
530
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
533
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
531
534
|
id: string;
|
532
535
|
metadata: {
|
533
536
|
id: string;
|
@@ -553,6 +556,7 @@ export declare const messengerContract: {
|
|
553
556
|
} | null;
|
554
557
|
lastMessage?: string | undefined;
|
555
558
|
handleTime?: number | undefined;
|
559
|
+
metadata?: any;
|
556
560
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
557
561
|
};
|
558
562
|
}, {
|
@@ -587,13 +591,13 @@ export declare const messengerContract: {
|
|
587
591
|
room: {
|
588
592
|
id: string;
|
589
593
|
channel: {
|
590
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
594
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
591
595
|
id: string;
|
592
596
|
name: string;
|
593
597
|
metadata: {
|
594
598
|
id: string;
|
595
599
|
name: string;
|
596
|
-
accessToken
|
600
|
+
accessToken?: string | undefined;
|
597
601
|
channelSecret?: string | undefined;
|
598
602
|
additionalCredentials?: any;
|
599
603
|
};
|
@@ -622,7 +626,7 @@ export declare const messengerContract: {
|
|
622
626
|
} | null;
|
623
627
|
isLatest: boolean;
|
624
628
|
platformContact: {
|
625
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
629
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
626
630
|
id: string;
|
627
631
|
metadata: {
|
628
632
|
id: string;
|
@@ -648,6 +652,7 @@ export declare const messengerContract: {
|
|
648
652
|
} | null;
|
649
653
|
lastMessage?: string | undefined;
|
650
654
|
handleTime?: number | undefined;
|
655
|
+
metadata?: any;
|
651
656
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
652
657
|
};
|
653
658
|
}>;
|
@@ -695,7 +700,7 @@ export declare const messengerContract: {
|
|
695
700
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
696
701
|
channelId: z.ZodString;
|
697
702
|
socialPlatformId: z.ZodString;
|
698
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
703
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
699
704
|
metadata: z.ZodObject<{
|
700
705
|
id: z.ZodString;
|
701
706
|
name: z.ZodString;
|
@@ -1400,7 +1405,7 @@ export declare const messengerContract: {
|
|
1400
1405
|
}[] | undefined;
|
1401
1406
|
}>;
|
1402
1407
|
}, "strip", z.ZodTypeAny, {
|
1403
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1408
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1404
1409
|
id: string;
|
1405
1410
|
metadata: {
|
1406
1411
|
id: string;
|
@@ -1511,7 +1516,7 @@ export declare const messengerContract: {
|
|
1511
1516
|
channelId: string;
|
1512
1517
|
socialPlatformId: string;
|
1513
1518
|
}, {
|
1514
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1519
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1515
1520
|
id: string;
|
1516
1521
|
metadata: {
|
1517
1522
|
id: string;
|
@@ -2036,23 +2041,23 @@ export declare const messengerContract: {
|
|
2036
2041
|
updatedAt: z.ZodDate;
|
2037
2042
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2038
2043
|
name: z.ZodString;
|
2039
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
2044
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
2040
2045
|
metadata: z.ZodObject<{
|
2041
2046
|
id: z.ZodString;
|
2042
2047
|
name: z.ZodString;
|
2043
|
-
accessToken: z.ZodString
|
2048
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
2044
2049
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2045
2050
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2046
2051
|
}, "strip", z.ZodTypeAny, {
|
2047
2052
|
id: string;
|
2048
2053
|
name: string;
|
2049
|
-
accessToken
|
2054
|
+
accessToken?: string | undefined;
|
2050
2055
|
channelSecret?: string | undefined;
|
2051
2056
|
additionalCredentials?: any;
|
2052
2057
|
}, {
|
2053
2058
|
id: string;
|
2054
2059
|
name: string;
|
2055
|
-
accessToken
|
2060
|
+
accessToken?: string | undefined;
|
2056
2061
|
channelSecret?: string | undefined;
|
2057
2062
|
additionalCredentials?: any;
|
2058
2063
|
}>;
|
@@ -2267,13 +2272,13 @@ export declare const messengerContract: {
|
|
2267
2272
|
};
|
2268
2273
|
}>;
|
2269
2274
|
}, "strip", z.ZodTypeAny, {
|
2270
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2275
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2271
2276
|
id: string;
|
2272
2277
|
name: string;
|
2273
2278
|
metadata: {
|
2274
2279
|
id: string;
|
2275
2280
|
name: string;
|
2276
|
-
accessToken
|
2281
|
+
accessToken?: string | undefined;
|
2277
2282
|
channelSecret?: string | undefined;
|
2278
2283
|
additionalCredentials?: any;
|
2279
2284
|
};
|
@@ -2331,13 +2336,13 @@ export declare const messengerContract: {
|
|
2331
2336
|
connectedUserName: string;
|
2332
2337
|
connectedUserId: string;
|
2333
2338
|
}, {
|
2334
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2339
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2335
2340
|
id: string;
|
2336
2341
|
name: string;
|
2337
2342
|
metadata: {
|
2338
2343
|
id: string;
|
2339
2344
|
name: string;
|
2340
|
-
accessToken
|
2345
|
+
accessToken?: string | undefined;
|
2341
2346
|
channelSecret?: string | undefined;
|
2342
2347
|
additionalCredentials?: any;
|
2343
2348
|
};
|
@@ -2418,8 +2423,7 @@ export declare const messengerContract: {
|
|
2418
2423
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2419
2424
|
note: z.ZodNullable<z.ZodString>;
|
2420
2425
|
disposition: z.ZodNullable<z.ZodString>;
|
2421
|
-
|
2422
|
-
callTo: z.ZodNullable<z.ZodString>;
|
2426
|
+
type: z.ZodString;
|
2423
2427
|
tags: z.ZodArray<z.ZodObject<{
|
2424
2428
|
id: z.ZodString;
|
2425
2429
|
createdAt: z.ZodDate;
|
@@ -2439,12 +2443,171 @@ export declare const messengerContract: {
|
|
2439
2443
|
updatedAt: Date;
|
2440
2444
|
deletedAt: Date | null;
|
2441
2445
|
}>, "many">;
|
2446
|
+
categories: z.ZodArray<z.ZodObject<{
|
2447
|
+
id: z.ZodString;
|
2448
|
+
createdAt: z.ZodDate;
|
2449
|
+
updatedAt: z.ZodDate;
|
2450
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2451
|
+
value: z.ZodString;
|
2452
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
2453
|
+
parentId: z.ZodNullable<z.ZodString>;
|
2454
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
2455
|
+
id: z.ZodString;
|
2456
|
+
value: z.ZodString;
|
2457
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
2458
|
+
parentId: z.ZodNullable<z.ZodString>;
|
2459
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
2460
|
+
id: z.ZodString;
|
2461
|
+
value: z.ZodString;
|
2462
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
2463
|
+
parentId: z.ZodNullable<z.ZodString>;
|
2464
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
2465
|
+
}, "strip", z.ZodTypeAny, {
|
2466
|
+
id: string;
|
2467
|
+
value: string;
|
2468
|
+
level: 2 | 1 | 3;
|
2469
|
+
parentId: string | null;
|
2470
|
+
childCategoryList: any[];
|
2471
|
+
}, {
|
2472
|
+
id: string;
|
2473
|
+
value: string;
|
2474
|
+
level: 2 | 1 | 3;
|
2475
|
+
parentId: string | null;
|
2476
|
+
childCategoryList: any[];
|
2477
|
+
}>, "many">;
|
2478
|
+
}, "strip", z.ZodTypeAny, {
|
2479
|
+
id: string;
|
2480
|
+
value: string;
|
2481
|
+
level: 2 | 1 | 3;
|
2482
|
+
parentId: string | null;
|
2483
|
+
childCategoryList: {
|
2484
|
+
id: string;
|
2485
|
+
value: string;
|
2486
|
+
level: 2 | 1 | 3;
|
2487
|
+
parentId: string | null;
|
2488
|
+
childCategoryList: any[];
|
2489
|
+
}[];
|
2490
|
+
}, {
|
2491
|
+
id: string;
|
2492
|
+
value: string;
|
2493
|
+
level: 2 | 1 | 3;
|
2494
|
+
parentId: string | null;
|
2495
|
+
childCategoryList: {
|
2496
|
+
id: string;
|
2497
|
+
value: string;
|
2498
|
+
level: 2 | 1 | 3;
|
2499
|
+
parentId: string | null;
|
2500
|
+
childCategoryList: any[];
|
2501
|
+
}[];
|
2502
|
+
}>, "many">;
|
2503
|
+
}, "strip", z.ZodTypeAny, {
|
2504
|
+
id: string;
|
2505
|
+
value: string;
|
2506
|
+
createdAt: Date;
|
2507
|
+
updatedAt: Date;
|
2508
|
+
deletedAt: Date | null;
|
2509
|
+
level: 2 | 1 | 3;
|
2510
|
+
parentId: string | null;
|
2511
|
+
childCategoryList: {
|
2512
|
+
id: string;
|
2513
|
+
value: string;
|
2514
|
+
level: 2 | 1 | 3;
|
2515
|
+
parentId: string | null;
|
2516
|
+
childCategoryList: {
|
2517
|
+
id: string;
|
2518
|
+
value: string;
|
2519
|
+
level: 2 | 1 | 3;
|
2520
|
+
parentId: string | null;
|
2521
|
+
childCategoryList: any[];
|
2522
|
+
}[];
|
2523
|
+
}[];
|
2524
|
+
}, {
|
2525
|
+
id: string;
|
2526
|
+
value: string;
|
2527
|
+
createdAt: Date;
|
2528
|
+
updatedAt: Date;
|
2529
|
+
deletedAt: Date | null;
|
2530
|
+
level: 2 | 1 | 3;
|
2531
|
+
parentId: string | null;
|
2532
|
+
childCategoryList: {
|
2533
|
+
id: string;
|
2534
|
+
value: string;
|
2535
|
+
level: 2 | 1 | 3;
|
2536
|
+
parentId: string | null;
|
2537
|
+
childCategoryList: {
|
2538
|
+
id: string;
|
2539
|
+
value: string;
|
2540
|
+
level: 2 | 1 | 3;
|
2541
|
+
parentId: string | null;
|
2542
|
+
childCategoryList: any[];
|
2543
|
+
}[];
|
2544
|
+
}[];
|
2545
|
+
}>, "many">;
|
2546
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
2547
|
+
callTo: z.ZodNullable<z.ZodString>;
|
2548
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2549
|
+
id: z.ZodString;
|
2550
|
+
createdAt: z.ZodDate;
|
2551
|
+
updatedAt: z.ZodDate;
|
2552
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2553
|
+
textValue: z.ZodNullable<z.ZodString>;
|
2554
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2555
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
2556
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
2557
|
+
entityId: z.ZodString;
|
2558
|
+
attributeId: z.ZodString;
|
2559
|
+
}, "strip", z.ZodTypeAny, {
|
2560
|
+
id: string;
|
2561
|
+
createdAt: Date;
|
2562
|
+
updatedAt: Date;
|
2563
|
+
deletedAt: Date | null;
|
2564
|
+
entityId: string;
|
2565
|
+
attributeId: string;
|
2566
|
+
textValue: string | null;
|
2567
|
+
booleanValue: boolean | null;
|
2568
|
+
numberValue: number | null;
|
2569
|
+
dateValue: Date | null;
|
2570
|
+
}, {
|
2571
|
+
id: string;
|
2572
|
+
createdAt: Date;
|
2573
|
+
updatedAt: Date;
|
2574
|
+
deletedAt: Date | null;
|
2575
|
+
entityId: string;
|
2576
|
+
attributeId: string;
|
2577
|
+
textValue: string | null;
|
2578
|
+
booleanValue: boolean | null;
|
2579
|
+
numberValue: number | null;
|
2580
|
+
dateValue: Date | null;
|
2581
|
+
}>, "many">>>;
|
2442
2582
|
}, "strip", z.ZodTypeAny, {
|
2583
|
+
type: string;
|
2443
2584
|
id: string;
|
2444
2585
|
disposition: string | null;
|
2445
2586
|
createdAt: Date;
|
2446
2587
|
updatedAt: Date;
|
2447
2588
|
deletedAt: Date | null;
|
2589
|
+
categories: {
|
2590
|
+
id: string;
|
2591
|
+
value: string;
|
2592
|
+
createdAt: Date;
|
2593
|
+
updatedAt: Date;
|
2594
|
+
deletedAt: Date | null;
|
2595
|
+
level: 2 | 1 | 3;
|
2596
|
+
parentId: string | null;
|
2597
|
+
childCategoryList: {
|
2598
|
+
id: string;
|
2599
|
+
value: string;
|
2600
|
+
level: 2 | 1 | 3;
|
2601
|
+
parentId: string | null;
|
2602
|
+
childCategoryList: {
|
2603
|
+
id: string;
|
2604
|
+
value: string;
|
2605
|
+
level: 2 | 1 | 3;
|
2606
|
+
parentId: string | null;
|
2607
|
+
childCategoryList: any[];
|
2608
|
+
}[];
|
2609
|
+
}[];
|
2610
|
+
}[];
|
2448
2611
|
tags: {
|
2449
2612
|
id: string;
|
2450
2613
|
name: string;
|
@@ -2455,12 +2618,47 @@ export declare const messengerContract: {
|
|
2455
2618
|
callFrom: string | null;
|
2456
2619
|
callTo: string | null;
|
2457
2620
|
note: string | null;
|
2621
|
+
customFields?: {
|
2622
|
+
id: string;
|
2623
|
+
createdAt: Date;
|
2624
|
+
updatedAt: Date;
|
2625
|
+
deletedAt: Date | null;
|
2626
|
+
entityId: string;
|
2627
|
+
attributeId: string;
|
2628
|
+
textValue: string | null;
|
2629
|
+
booleanValue: boolean | null;
|
2630
|
+
numberValue: number | null;
|
2631
|
+
dateValue: Date | null;
|
2632
|
+
}[] | null | undefined;
|
2458
2633
|
}, {
|
2634
|
+
type: string;
|
2459
2635
|
id: string;
|
2460
2636
|
disposition: string | null;
|
2461
2637
|
createdAt: Date;
|
2462
2638
|
updatedAt: Date;
|
2463
2639
|
deletedAt: Date | null;
|
2640
|
+
categories: {
|
2641
|
+
id: string;
|
2642
|
+
value: string;
|
2643
|
+
createdAt: Date;
|
2644
|
+
updatedAt: Date;
|
2645
|
+
deletedAt: Date | null;
|
2646
|
+
level: 2 | 1 | 3;
|
2647
|
+
parentId: string | null;
|
2648
|
+
childCategoryList: {
|
2649
|
+
id: string;
|
2650
|
+
value: string;
|
2651
|
+
level: 2 | 1 | 3;
|
2652
|
+
parentId: string | null;
|
2653
|
+
childCategoryList: {
|
2654
|
+
id: string;
|
2655
|
+
value: string;
|
2656
|
+
level: 2 | 1 | 3;
|
2657
|
+
parentId: string | null;
|
2658
|
+
childCategoryList: any[];
|
2659
|
+
}[];
|
2660
|
+
}[];
|
2661
|
+
}[];
|
2464
2662
|
tags: {
|
2465
2663
|
id: string;
|
2466
2664
|
name: string;
|
@@ -2471,6 +2669,18 @@ export declare const messengerContract: {
|
|
2471
2669
|
callFrom: string | null;
|
2472
2670
|
callTo: string | null;
|
2473
2671
|
note: string | null;
|
2672
|
+
customFields?: {
|
2673
|
+
id: string;
|
2674
|
+
createdAt: Date;
|
2675
|
+
updatedAt: Date;
|
2676
|
+
deletedAt: Date | null;
|
2677
|
+
entityId: string;
|
2678
|
+
attributeId: string;
|
2679
|
+
textValue: string | null;
|
2680
|
+
booleanValue: boolean | null;
|
2681
|
+
numberValue: number | null;
|
2682
|
+
dateValue: Date | null;
|
2683
|
+
}[] | null | undefined;
|
2474
2684
|
}>>;
|
2475
2685
|
}, "strip", z.ZodTypeAny, {
|
2476
2686
|
id: string;
|
@@ -2489,11 +2699,34 @@ export declare const messengerContract: {
|
|
2489
2699
|
handledTime: number | null;
|
2490
2700
|
firstResponseTime: number | null;
|
2491
2701
|
wrapUpForm: {
|
2702
|
+
type: string;
|
2492
2703
|
id: string;
|
2493
2704
|
disposition: string | null;
|
2494
2705
|
createdAt: Date;
|
2495
2706
|
updatedAt: Date;
|
2496
2707
|
deletedAt: Date | null;
|
2708
|
+
categories: {
|
2709
|
+
id: string;
|
2710
|
+
value: string;
|
2711
|
+
createdAt: Date;
|
2712
|
+
updatedAt: Date;
|
2713
|
+
deletedAt: Date | null;
|
2714
|
+
level: 2 | 1 | 3;
|
2715
|
+
parentId: string | null;
|
2716
|
+
childCategoryList: {
|
2717
|
+
id: string;
|
2718
|
+
value: string;
|
2719
|
+
level: 2 | 1 | 3;
|
2720
|
+
parentId: string | null;
|
2721
|
+
childCategoryList: {
|
2722
|
+
id: string;
|
2723
|
+
value: string;
|
2724
|
+
level: 2 | 1 | 3;
|
2725
|
+
parentId: string | null;
|
2726
|
+
childCategoryList: any[];
|
2727
|
+
}[];
|
2728
|
+
}[];
|
2729
|
+
}[];
|
2497
2730
|
tags: {
|
2498
2731
|
id: string;
|
2499
2732
|
name: string;
|
@@ -2504,6 +2737,18 @@ export declare const messengerContract: {
|
|
2504
2737
|
callFrom: string | null;
|
2505
2738
|
callTo: string | null;
|
2506
2739
|
note: string | null;
|
2740
|
+
customFields?: {
|
2741
|
+
id: string;
|
2742
|
+
createdAt: Date;
|
2743
|
+
updatedAt: Date;
|
2744
|
+
deletedAt: Date | null;
|
2745
|
+
entityId: string;
|
2746
|
+
attributeId: string;
|
2747
|
+
textValue: string | null;
|
2748
|
+
booleanValue: boolean | null;
|
2749
|
+
numberValue: number | null;
|
2750
|
+
dateValue: Date | null;
|
2751
|
+
}[] | null | undefined;
|
2507
2752
|
} | null;
|
2508
2753
|
}, {
|
2509
2754
|
id: string;
|
@@ -2522,11 +2767,34 @@ export declare const messengerContract: {
|
|
2522
2767
|
handledTime: number | null;
|
2523
2768
|
firstResponseTime: number | null;
|
2524
2769
|
wrapUpForm: {
|
2770
|
+
type: string;
|
2525
2771
|
id: string;
|
2526
2772
|
disposition: string | null;
|
2527
2773
|
createdAt: Date;
|
2528
2774
|
updatedAt: Date;
|
2529
2775
|
deletedAt: Date | null;
|
2776
|
+
categories: {
|
2777
|
+
id: string;
|
2778
|
+
value: string;
|
2779
|
+
createdAt: Date;
|
2780
|
+
updatedAt: Date;
|
2781
|
+
deletedAt: Date | null;
|
2782
|
+
level: 2 | 1 | 3;
|
2783
|
+
parentId: string | null;
|
2784
|
+
childCategoryList: {
|
2785
|
+
id: string;
|
2786
|
+
value: string;
|
2787
|
+
level: 2 | 1 | 3;
|
2788
|
+
parentId: string | null;
|
2789
|
+
childCategoryList: {
|
2790
|
+
id: string;
|
2791
|
+
value: string;
|
2792
|
+
level: 2 | 1 | 3;
|
2793
|
+
parentId: string | null;
|
2794
|
+
childCategoryList: any[];
|
2795
|
+
}[];
|
2796
|
+
}[];
|
2797
|
+
}[];
|
2530
2798
|
tags: {
|
2531
2799
|
id: string;
|
2532
2800
|
name: string;
|
@@ -2537,18 +2805,30 @@ export declare const messengerContract: {
|
|
2537
2805
|
callFrom: string | null;
|
2538
2806
|
callTo: string | null;
|
2539
2807
|
note: string | null;
|
2808
|
+
customFields?: {
|
2809
|
+
id: string;
|
2810
|
+
createdAt: Date;
|
2811
|
+
updatedAt: Date;
|
2812
|
+
deletedAt: Date | null;
|
2813
|
+
entityId: string;
|
2814
|
+
attributeId: string;
|
2815
|
+
textValue: string | null;
|
2816
|
+
booleanValue: boolean | null;
|
2817
|
+
numberValue: number | null;
|
2818
|
+
dateValue: Date | null;
|
2819
|
+
}[] | null | undefined;
|
2540
2820
|
} | null;
|
2541
2821
|
}>;
|
2542
2822
|
}, "strip", z.ZodTypeAny, {
|
2543
2823
|
id: string;
|
2544
2824
|
channel: {
|
2545
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2825
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2546
2826
|
id: string;
|
2547
2827
|
name: string;
|
2548
2828
|
metadata: {
|
2549
2829
|
id: string;
|
2550
2830
|
name: string;
|
2551
|
-
accessToken
|
2831
|
+
accessToken?: string | undefined;
|
2552
2832
|
channelSecret?: string | undefined;
|
2553
2833
|
additionalCredentials?: any;
|
2554
2834
|
};
|
@@ -2662,7 +2942,7 @@ export declare const messengerContract: {
|
|
2662
2942
|
firstResponseAt: Date;
|
2663
2943
|
isLatest: boolean;
|
2664
2944
|
platformContact: {
|
2665
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2945
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2666
2946
|
id: string;
|
2667
2947
|
metadata: {
|
2668
2948
|
id: string;
|
@@ -2836,11 +3116,34 @@ export declare const messengerContract: {
|
|
2836
3116
|
handledTime: number | null;
|
2837
3117
|
firstResponseTime: number | null;
|
2838
3118
|
wrapUpForm: {
|
3119
|
+
type: string;
|
2839
3120
|
id: string;
|
2840
3121
|
disposition: string | null;
|
2841
3122
|
createdAt: Date;
|
2842
3123
|
updatedAt: Date;
|
2843
3124
|
deletedAt: Date | null;
|
3125
|
+
categories: {
|
3126
|
+
id: string;
|
3127
|
+
value: string;
|
3128
|
+
createdAt: Date;
|
3129
|
+
updatedAt: Date;
|
3130
|
+
deletedAt: Date | null;
|
3131
|
+
level: 2 | 1 | 3;
|
3132
|
+
parentId: string | null;
|
3133
|
+
childCategoryList: {
|
3134
|
+
id: string;
|
3135
|
+
value: string;
|
3136
|
+
level: 2 | 1 | 3;
|
3137
|
+
parentId: string | null;
|
3138
|
+
childCategoryList: {
|
3139
|
+
id: string;
|
3140
|
+
value: string;
|
3141
|
+
level: 2 | 1 | 3;
|
3142
|
+
parentId: string | null;
|
3143
|
+
childCategoryList: any[];
|
3144
|
+
}[];
|
3145
|
+
}[];
|
3146
|
+
}[];
|
2844
3147
|
tags: {
|
2845
3148
|
id: string;
|
2846
3149
|
name: string;
|
@@ -2851,18 +3154,30 @@ export declare const messengerContract: {
|
|
2851
3154
|
callFrom: string | null;
|
2852
3155
|
callTo: string | null;
|
2853
3156
|
note: string | null;
|
3157
|
+
customFields?: {
|
3158
|
+
id: string;
|
3159
|
+
createdAt: Date;
|
3160
|
+
updatedAt: Date;
|
3161
|
+
deletedAt: Date | null;
|
3162
|
+
entityId: string;
|
3163
|
+
attributeId: string;
|
3164
|
+
textValue: string | null;
|
3165
|
+
booleanValue: boolean | null;
|
3166
|
+
numberValue: number | null;
|
3167
|
+
dateValue: Date | null;
|
3168
|
+
}[] | null | undefined;
|
2854
3169
|
} | null;
|
2855
3170
|
};
|
2856
3171
|
}, {
|
2857
3172
|
id: string;
|
2858
3173
|
channel: {
|
2859
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3174
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2860
3175
|
id: string;
|
2861
3176
|
name: string;
|
2862
3177
|
metadata: {
|
2863
3178
|
id: string;
|
2864
3179
|
name: string;
|
2865
|
-
accessToken
|
3180
|
+
accessToken?: string | undefined;
|
2866
3181
|
channelSecret?: string | undefined;
|
2867
3182
|
additionalCredentials?: any;
|
2868
3183
|
};
|
@@ -2976,7 +3291,7 @@ export declare const messengerContract: {
|
|
2976
3291
|
firstResponseAt: Date;
|
2977
3292
|
isLatest: boolean;
|
2978
3293
|
platformContact: {
|
2979
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3294
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2980
3295
|
id: string;
|
2981
3296
|
metadata: {
|
2982
3297
|
id: string;
|
@@ -3150,11 +3465,34 @@ export declare const messengerContract: {
|
|
3150
3465
|
handledTime: number | null;
|
3151
3466
|
firstResponseTime: number | null;
|
3152
3467
|
wrapUpForm: {
|
3468
|
+
type: string;
|
3153
3469
|
id: string;
|
3154
3470
|
disposition: string | null;
|
3155
3471
|
createdAt: Date;
|
3156
3472
|
updatedAt: Date;
|
3157
3473
|
deletedAt: Date | null;
|
3474
|
+
categories: {
|
3475
|
+
id: string;
|
3476
|
+
value: string;
|
3477
|
+
createdAt: Date;
|
3478
|
+
updatedAt: Date;
|
3479
|
+
deletedAt: Date | null;
|
3480
|
+
level: 2 | 1 | 3;
|
3481
|
+
parentId: string | null;
|
3482
|
+
childCategoryList: {
|
3483
|
+
id: string;
|
3484
|
+
value: string;
|
3485
|
+
level: 2 | 1 | 3;
|
3486
|
+
parentId: string | null;
|
3487
|
+
childCategoryList: {
|
3488
|
+
id: string;
|
3489
|
+
value: string;
|
3490
|
+
level: 2 | 1 | 3;
|
3491
|
+
parentId: string | null;
|
3492
|
+
childCategoryList: any[];
|
3493
|
+
}[];
|
3494
|
+
}[];
|
3495
|
+
}[];
|
3158
3496
|
tags: {
|
3159
3497
|
id: string;
|
3160
3498
|
name: string;
|
@@ -3165,6 +3503,18 @@ export declare const messengerContract: {
|
|
3165
3503
|
callFrom: string | null;
|
3166
3504
|
callTo: string | null;
|
3167
3505
|
note: string | null;
|
3506
|
+
customFields?: {
|
3507
|
+
id: string;
|
3508
|
+
createdAt: Date;
|
3509
|
+
updatedAt: Date;
|
3510
|
+
deletedAt: Date | null;
|
3511
|
+
entityId: string;
|
3512
|
+
attributeId: string;
|
3513
|
+
textValue: string | null;
|
3514
|
+
booleanValue: boolean | null;
|
3515
|
+
numberValue: number | null;
|
3516
|
+
dateValue: Date | null;
|
3517
|
+
}[] | null | undefined;
|
3168
3518
|
} | null;
|
3169
3519
|
};
|
3170
3520
|
}>;
|
@@ -4916,13 +5266,13 @@ export declare const messengerContract: {
|
|
4916
5266
|
room: {
|
4917
5267
|
id: string;
|
4918
5268
|
channel: {
|
4919
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5269
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
4920
5270
|
id: string;
|
4921
5271
|
name: string;
|
4922
5272
|
metadata: {
|
4923
5273
|
id: string;
|
4924
5274
|
name: string;
|
4925
|
-
accessToken
|
5275
|
+
accessToken?: string | undefined;
|
4926
5276
|
channelSecret?: string | undefined;
|
4927
5277
|
additionalCredentials?: any;
|
4928
5278
|
};
|
@@ -5036,7 +5386,7 @@ export declare const messengerContract: {
|
|
5036
5386
|
firstResponseAt: Date;
|
5037
5387
|
isLatest: boolean;
|
5038
5388
|
platformContact: {
|
5039
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5389
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5040
5390
|
id: string;
|
5041
5391
|
metadata: {
|
5042
5392
|
id: string;
|
@@ -5210,11 +5560,34 @@ export declare const messengerContract: {
|
|
5210
5560
|
handledTime: number | null;
|
5211
5561
|
firstResponseTime: number | null;
|
5212
5562
|
wrapUpForm: {
|
5563
|
+
type: string;
|
5213
5564
|
id: string;
|
5214
5565
|
disposition: string | null;
|
5215
5566
|
createdAt: Date;
|
5216
5567
|
updatedAt: Date;
|
5217
5568
|
deletedAt: Date | null;
|
5569
|
+
categories: {
|
5570
|
+
id: string;
|
5571
|
+
value: string;
|
5572
|
+
createdAt: Date;
|
5573
|
+
updatedAt: Date;
|
5574
|
+
deletedAt: Date | null;
|
5575
|
+
level: 2 | 1 | 3;
|
5576
|
+
parentId: string | null;
|
5577
|
+
childCategoryList: {
|
5578
|
+
id: string;
|
5579
|
+
value: string;
|
5580
|
+
level: 2 | 1 | 3;
|
5581
|
+
parentId: string | null;
|
5582
|
+
childCategoryList: {
|
5583
|
+
id: string;
|
5584
|
+
value: string;
|
5585
|
+
level: 2 | 1 | 3;
|
5586
|
+
parentId: string | null;
|
5587
|
+
childCategoryList: any[];
|
5588
|
+
}[];
|
5589
|
+
}[];
|
5590
|
+
}[];
|
5218
5591
|
tags: {
|
5219
5592
|
id: string;
|
5220
5593
|
name: string;
|
@@ -5225,6 +5598,18 @@ export declare const messengerContract: {
|
|
5225
5598
|
callFrom: string | null;
|
5226
5599
|
callTo: string | null;
|
5227
5600
|
note: string | null;
|
5601
|
+
customFields?: {
|
5602
|
+
id: string;
|
5603
|
+
createdAt: Date;
|
5604
|
+
updatedAt: Date;
|
5605
|
+
deletedAt: Date | null;
|
5606
|
+
entityId: string;
|
5607
|
+
attributeId: string;
|
5608
|
+
textValue: string | null;
|
5609
|
+
booleanValue: boolean | null;
|
5610
|
+
numberValue: number | null;
|
5611
|
+
dateValue: Date | null;
|
5612
|
+
}[] | null | undefined;
|
5228
5613
|
} | null;
|
5229
5614
|
};
|
5230
5615
|
};
|
@@ -5556,13 +5941,13 @@ export declare const messengerContract: {
|
|
5556
5941
|
room: {
|
5557
5942
|
id: string;
|
5558
5943
|
channel: {
|
5559
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5944
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5560
5945
|
id: string;
|
5561
5946
|
name: string;
|
5562
5947
|
metadata: {
|
5563
5948
|
id: string;
|
5564
5949
|
name: string;
|
5565
|
-
accessToken
|
5950
|
+
accessToken?: string | undefined;
|
5566
5951
|
channelSecret?: string | undefined;
|
5567
5952
|
additionalCredentials?: any;
|
5568
5953
|
};
|
@@ -5676,7 +6061,7 @@ export declare const messengerContract: {
|
|
5676
6061
|
firstResponseAt: Date;
|
5677
6062
|
isLatest: boolean;
|
5678
6063
|
platformContact: {
|
5679
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6064
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5680
6065
|
id: string;
|
5681
6066
|
metadata: {
|
5682
6067
|
id: string;
|
@@ -5850,11 +6235,34 @@ export declare const messengerContract: {
|
|
5850
6235
|
handledTime: number | null;
|
5851
6236
|
firstResponseTime: number | null;
|
5852
6237
|
wrapUpForm: {
|
6238
|
+
type: string;
|
5853
6239
|
id: string;
|
5854
6240
|
disposition: string | null;
|
5855
6241
|
createdAt: Date;
|
5856
6242
|
updatedAt: Date;
|
5857
6243
|
deletedAt: Date | null;
|
6244
|
+
categories: {
|
6245
|
+
id: string;
|
6246
|
+
value: string;
|
6247
|
+
createdAt: Date;
|
6248
|
+
updatedAt: Date;
|
6249
|
+
deletedAt: Date | null;
|
6250
|
+
level: 2 | 1 | 3;
|
6251
|
+
parentId: string | null;
|
6252
|
+
childCategoryList: {
|
6253
|
+
id: string;
|
6254
|
+
value: string;
|
6255
|
+
level: 2 | 1 | 3;
|
6256
|
+
parentId: string | null;
|
6257
|
+
childCategoryList: {
|
6258
|
+
id: string;
|
6259
|
+
value: string;
|
6260
|
+
level: 2 | 1 | 3;
|
6261
|
+
parentId: string | null;
|
6262
|
+
childCategoryList: any[];
|
6263
|
+
}[];
|
6264
|
+
}[];
|
6265
|
+
}[];
|
5858
6266
|
tags: {
|
5859
6267
|
id: string;
|
5860
6268
|
name: string;
|
@@ -5865,6 +6273,18 @@ export declare const messengerContract: {
|
|
5865
6273
|
callFrom: string | null;
|
5866
6274
|
callTo: string | null;
|
5867
6275
|
note: string | null;
|
6276
|
+
customFields?: {
|
6277
|
+
id: string;
|
6278
|
+
createdAt: Date;
|
6279
|
+
updatedAt: Date;
|
6280
|
+
deletedAt: Date | null;
|
6281
|
+
entityId: string;
|
6282
|
+
attributeId: string;
|
6283
|
+
textValue: string | null;
|
6284
|
+
booleanValue: boolean | null;
|
6285
|
+
numberValue: number | null;
|
6286
|
+
dateValue: Date | null;
|
6287
|
+
}[] | null | undefined;
|
5868
6288
|
} | null;
|
5869
6289
|
};
|
5870
6290
|
};
|
@@ -6198,13 +6618,13 @@ export declare const messengerContract: {
|
|
6198
6618
|
room: {
|
6199
6619
|
id: string;
|
6200
6620
|
channel: {
|
6201
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6621
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6202
6622
|
id: string;
|
6203
6623
|
name: string;
|
6204
6624
|
metadata: {
|
6205
6625
|
id: string;
|
6206
6626
|
name: string;
|
6207
|
-
accessToken
|
6627
|
+
accessToken?: string | undefined;
|
6208
6628
|
channelSecret?: string | undefined;
|
6209
6629
|
additionalCredentials?: any;
|
6210
6630
|
};
|
@@ -6318,7 +6738,7 @@ export declare const messengerContract: {
|
|
6318
6738
|
firstResponseAt: Date;
|
6319
6739
|
isLatest: boolean;
|
6320
6740
|
platformContact: {
|
6321
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6741
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6322
6742
|
id: string;
|
6323
6743
|
metadata: {
|
6324
6744
|
id: string;
|
@@ -6492,11 +6912,34 @@ export declare const messengerContract: {
|
|
6492
6912
|
handledTime: number | null;
|
6493
6913
|
firstResponseTime: number | null;
|
6494
6914
|
wrapUpForm: {
|
6915
|
+
type: string;
|
6495
6916
|
id: string;
|
6496
6917
|
disposition: string | null;
|
6497
6918
|
createdAt: Date;
|
6498
6919
|
updatedAt: Date;
|
6499
6920
|
deletedAt: Date | null;
|
6921
|
+
categories: {
|
6922
|
+
id: string;
|
6923
|
+
value: string;
|
6924
|
+
createdAt: Date;
|
6925
|
+
updatedAt: Date;
|
6926
|
+
deletedAt: Date | null;
|
6927
|
+
level: 2 | 1 | 3;
|
6928
|
+
parentId: string | null;
|
6929
|
+
childCategoryList: {
|
6930
|
+
id: string;
|
6931
|
+
value: string;
|
6932
|
+
level: 2 | 1 | 3;
|
6933
|
+
parentId: string | null;
|
6934
|
+
childCategoryList: {
|
6935
|
+
id: string;
|
6936
|
+
value: string;
|
6937
|
+
level: 2 | 1 | 3;
|
6938
|
+
parentId: string | null;
|
6939
|
+
childCategoryList: any[];
|
6940
|
+
}[];
|
6941
|
+
}[];
|
6942
|
+
}[];
|
6500
6943
|
tags: {
|
6501
6944
|
id: string;
|
6502
6945
|
name: string;
|
@@ -6507,6 +6950,18 @@ export declare const messengerContract: {
|
|
6507
6950
|
callFrom: string | null;
|
6508
6951
|
callTo: string | null;
|
6509
6952
|
note: string | null;
|
6953
|
+
customFields?: {
|
6954
|
+
id: string;
|
6955
|
+
createdAt: Date;
|
6956
|
+
updatedAt: Date;
|
6957
|
+
deletedAt: Date | null;
|
6958
|
+
entityId: string;
|
6959
|
+
attributeId: string;
|
6960
|
+
textValue: string | null;
|
6961
|
+
booleanValue: boolean | null;
|
6962
|
+
numberValue: number | null;
|
6963
|
+
dateValue: Date | null;
|
6964
|
+
}[] | null | undefined;
|
6510
6965
|
} | null;
|
6511
6966
|
};
|
6512
6967
|
};
|
@@ -6841,13 +7296,13 @@ export declare const messengerContract: {
|
|
6841
7296
|
room: {
|
6842
7297
|
id: string;
|
6843
7298
|
channel: {
|
6844
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
7299
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6845
7300
|
id: string;
|
6846
7301
|
name: string;
|
6847
7302
|
metadata: {
|
6848
7303
|
id: string;
|
6849
7304
|
name: string;
|
6850
|
-
accessToken
|
7305
|
+
accessToken?: string | undefined;
|
6851
7306
|
channelSecret?: string | undefined;
|
6852
7307
|
additionalCredentials?: any;
|
6853
7308
|
};
|
@@ -6961,7 +7416,7 @@ export declare const messengerContract: {
|
|
6961
7416
|
firstResponseAt: Date;
|
6962
7417
|
isLatest: boolean;
|
6963
7418
|
platformContact: {
|
6964
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
7419
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6965
7420
|
id: string;
|
6966
7421
|
metadata: {
|
6967
7422
|
id: string;
|
@@ -7135,11 +7590,34 @@ export declare const messengerContract: {
|
|
7135
7590
|
handledTime: number | null;
|
7136
7591
|
firstResponseTime: number | null;
|
7137
7592
|
wrapUpForm: {
|
7593
|
+
type: string;
|
7138
7594
|
id: string;
|
7139
7595
|
disposition: string | null;
|
7140
7596
|
createdAt: Date;
|
7141
7597
|
updatedAt: Date;
|
7142
7598
|
deletedAt: Date | null;
|
7599
|
+
categories: {
|
7600
|
+
id: string;
|
7601
|
+
value: string;
|
7602
|
+
createdAt: Date;
|
7603
|
+
updatedAt: Date;
|
7604
|
+
deletedAt: Date | null;
|
7605
|
+
level: 2 | 1 | 3;
|
7606
|
+
parentId: string | null;
|
7607
|
+
childCategoryList: {
|
7608
|
+
id: string;
|
7609
|
+
value: string;
|
7610
|
+
level: 2 | 1 | 3;
|
7611
|
+
parentId: string | null;
|
7612
|
+
childCategoryList: {
|
7613
|
+
id: string;
|
7614
|
+
value: string;
|
7615
|
+
level: 2 | 1 | 3;
|
7616
|
+
parentId: string | null;
|
7617
|
+
childCategoryList: any[];
|
7618
|
+
}[];
|
7619
|
+
}[];
|
7620
|
+
}[];
|
7143
7621
|
tags: {
|
7144
7622
|
id: string;
|
7145
7623
|
name: string;
|
@@ -7150,6 +7628,18 @@ export declare const messengerContract: {
|
|
7150
7628
|
callFrom: string | null;
|
7151
7629
|
callTo: string | null;
|
7152
7630
|
note: string | null;
|
7631
|
+
customFields?: {
|
7632
|
+
id: string;
|
7633
|
+
createdAt: Date;
|
7634
|
+
updatedAt: Date;
|
7635
|
+
deletedAt: Date | null;
|
7636
|
+
entityId: string;
|
7637
|
+
attributeId: string;
|
7638
|
+
textValue: string | null;
|
7639
|
+
booleanValue: boolean | null;
|
7640
|
+
numberValue: number | null;
|
7641
|
+
dateValue: Date | null;
|
7642
|
+
}[] | null | undefined;
|
7153
7643
|
} | null;
|
7154
7644
|
};
|
7155
7645
|
};
|
@@ -7398,23 +7888,23 @@ export declare const messengerContract: {
|
|
7398
7888
|
body: z.ZodObject<{
|
7399
7889
|
id: z.ZodOptional<z.ZodString>;
|
7400
7890
|
name: z.ZodOptional<z.ZodString>;
|
7401
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
7891
|
+
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
|
7402
7892
|
metadata: z.ZodOptional<z.ZodObject<{
|
7403
7893
|
id: z.ZodString;
|
7404
7894
|
name: z.ZodString;
|
7405
|
-
accessToken: z.ZodString
|
7895
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
7406
7896
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7407
7897
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7408
7898
|
}, "strip", z.ZodTypeAny, {
|
7409
7899
|
id: string;
|
7410
7900
|
name: string;
|
7411
|
-
accessToken
|
7901
|
+
accessToken?: string | undefined;
|
7412
7902
|
channelSecret?: string | undefined;
|
7413
7903
|
additionalCredentials?: any;
|
7414
7904
|
}, {
|
7415
7905
|
id: string;
|
7416
7906
|
name: string;
|
7417
|
-
accessToken
|
7907
|
+
accessToken?: string | undefined;
|
7418
7908
|
channelSecret?: string | undefined;
|
7419
7909
|
additionalCredentials?: any;
|
7420
7910
|
}>>;
|
@@ -7445,11 +7935,11 @@ export declare const messengerContract: {
|
|
7445
7935
|
}, "strip", z.ZodTypeAny, {
|
7446
7936
|
id?: string | undefined;
|
7447
7937
|
name?: string | undefined;
|
7448
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
7938
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
|
7449
7939
|
metadata?: {
|
7450
7940
|
id: string;
|
7451
7941
|
name: string;
|
7452
|
-
accessToken
|
7942
|
+
accessToken?: string | undefined;
|
7453
7943
|
channelSecret?: string | undefined;
|
7454
7944
|
additionalCredentials?: any;
|
7455
7945
|
} | undefined;
|
@@ -7468,11 +7958,11 @@ export declare const messengerContract: {
|
|
7468
7958
|
}, {
|
7469
7959
|
id?: string | undefined;
|
7470
7960
|
name?: string | undefined;
|
7471
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
7961
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
|
7472
7962
|
metadata?: {
|
7473
7963
|
id: string;
|
7474
7964
|
name: string;
|
7475
|
-
accessToken
|
7965
|
+
accessToken?: string | undefined;
|
7476
7966
|
channelSecret?: string | undefined;
|
7477
7967
|
additionalCredentials?: any;
|
7478
7968
|
} | undefined;
|
@@ -7496,23 +7986,23 @@ export declare const messengerContract: {
|
|
7496
7986
|
data: z.ZodObject<{
|
7497
7987
|
id: z.ZodString;
|
7498
7988
|
name: z.ZodString;
|
7499
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
7989
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
7500
7990
|
metadata: z.ZodObject<{
|
7501
7991
|
id: z.ZodString;
|
7502
7992
|
name: z.ZodString;
|
7503
|
-
accessToken: z.ZodString
|
7993
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
7504
7994
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7505
7995
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7506
7996
|
}, "strip", z.ZodTypeAny, {
|
7507
7997
|
id: string;
|
7508
7998
|
name: string;
|
7509
|
-
accessToken
|
7999
|
+
accessToken?: string | undefined;
|
7510
8000
|
channelSecret?: string | undefined;
|
7511
8001
|
additionalCredentials?: any;
|
7512
8002
|
}, {
|
7513
8003
|
id: string;
|
7514
8004
|
name: string;
|
7515
|
-
accessToken
|
8005
|
+
accessToken?: string | undefined;
|
7516
8006
|
channelSecret?: string | undefined;
|
7517
8007
|
additionalCredentials?: any;
|
7518
8008
|
}>;
|
@@ -7541,13 +8031,13 @@ export declare const messengerContract: {
|
|
7541
8031
|
phone: string | null;
|
7542
8032
|
}>>;
|
7543
8033
|
}, "strip", z.ZodTypeAny, {
|
7544
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8034
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7545
8035
|
id: string;
|
7546
8036
|
name: string;
|
7547
8037
|
metadata: {
|
7548
8038
|
id: string;
|
7549
8039
|
name: string;
|
7550
|
-
accessToken
|
8040
|
+
accessToken?: string | undefined;
|
7551
8041
|
channelSecret?: string | undefined;
|
7552
8042
|
additionalCredentials?: any;
|
7553
8043
|
};
|
@@ -7564,13 +8054,13 @@ export declare const messengerContract: {
|
|
7564
8054
|
phone: string | null;
|
7565
8055
|
} | undefined;
|
7566
8056
|
}, {
|
7567
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8057
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7568
8058
|
id: string;
|
7569
8059
|
name: string;
|
7570
8060
|
metadata: {
|
7571
8061
|
id: string;
|
7572
8062
|
name: string;
|
7573
|
-
accessToken
|
8063
|
+
accessToken?: string | undefined;
|
7574
8064
|
channelSecret?: string | undefined;
|
7575
8065
|
additionalCredentials?: any;
|
7576
8066
|
};
|
@@ -7589,13 +8079,13 @@ export declare const messengerContract: {
|
|
7589
8079
|
}>;
|
7590
8080
|
}, "strip", z.ZodTypeAny, {
|
7591
8081
|
data: {
|
7592
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8082
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7593
8083
|
id: string;
|
7594
8084
|
name: string;
|
7595
8085
|
metadata: {
|
7596
8086
|
id: string;
|
7597
8087
|
name: string;
|
7598
|
-
accessToken
|
8088
|
+
accessToken?: string | undefined;
|
7599
8089
|
channelSecret?: string | undefined;
|
7600
8090
|
additionalCredentials?: any;
|
7601
8091
|
};
|
@@ -7615,13 +8105,13 @@ export declare const messengerContract: {
|
|
7615
8105
|
requestId: string;
|
7616
8106
|
}, {
|
7617
8107
|
data: {
|
7618
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8108
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7619
8109
|
id: string;
|
7620
8110
|
name: string;
|
7621
8111
|
metadata: {
|
7622
8112
|
id: string;
|
7623
8113
|
name: string;
|
7624
|
-
accessToken
|
8114
|
+
accessToken?: string | undefined;
|
7625
8115
|
channelSecret?: string | undefined;
|
7626
8116
|
additionalCredentials?: any;
|
7627
8117
|
};
|
@@ -7667,23 +8157,23 @@ export declare const messengerContract: {
|
|
7667
8157
|
body: z.ZodObject<{
|
7668
8158
|
id: z.ZodOptional<z.ZodString>;
|
7669
8159
|
name: z.ZodOptional<z.ZodString>;
|
7670
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
8160
|
+
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
|
7671
8161
|
metadata: z.ZodOptional<z.ZodObject<{
|
7672
8162
|
id: z.ZodString;
|
7673
8163
|
name: z.ZodString;
|
7674
|
-
accessToken: z.ZodString
|
8164
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
7675
8165
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7676
8166
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7677
8167
|
}, "strip", z.ZodTypeAny, {
|
7678
8168
|
id: string;
|
7679
8169
|
name: string;
|
7680
|
-
accessToken
|
8170
|
+
accessToken?: string | undefined;
|
7681
8171
|
channelSecret?: string | undefined;
|
7682
8172
|
additionalCredentials?: any;
|
7683
8173
|
}, {
|
7684
8174
|
id: string;
|
7685
8175
|
name: string;
|
7686
|
-
accessToken
|
8176
|
+
accessToken?: string | undefined;
|
7687
8177
|
channelSecret?: string | undefined;
|
7688
8178
|
additionalCredentials?: any;
|
7689
8179
|
}>>;
|
@@ -7714,11 +8204,11 @@ export declare const messengerContract: {
|
|
7714
8204
|
}, "strip", z.ZodTypeAny, {
|
7715
8205
|
id?: string | undefined;
|
7716
8206
|
name?: string | undefined;
|
7717
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
8207
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
|
7718
8208
|
metadata?: {
|
7719
8209
|
id: string;
|
7720
8210
|
name: string;
|
7721
|
-
accessToken
|
8211
|
+
accessToken?: string | undefined;
|
7722
8212
|
channelSecret?: string | undefined;
|
7723
8213
|
additionalCredentials?: any;
|
7724
8214
|
} | undefined;
|
@@ -7737,11 +8227,11 @@ export declare const messengerContract: {
|
|
7737
8227
|
}, {
|
7738
8228
|
id?: string | undefined;
|
7739
8229
|
name?: string | undefined;
|
7740
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
8230
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
|
7741
8231
|
metadata?: {
|
7742
8232
|
id: string;
|
7743
8233
|
name: string;
|
7744
|
-
accessToken
|
8234
|
+
accessToken?: string | undefined;
|
7745
8235
|
channelSecret?: string | undefined;
|
7746
8236
|
additionalCredentials?: any;
|
7747
8237
|
} | undefined;
|
@@ -7765,23 +8255,23 @@ export declare const messengerContract: {
|
|
7765
8255
|
data: z.ZodObject<{
|
7766
8256
|
id: z.ZodString;
|
7767
8257
|
name: z.ZodString;
|
7768
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
8258
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
7769
8259
|
metadata: z.ZodObject<{
|
7770
8260
|
id: z.ZodString;
|
7771
8261
|
name: z.ZodString;
|
7772
|
-
accessToken: z.ZodString
|
8262
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
7773
8263
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7774
8264
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7775
8265
|
}, "strip", z.ZodTypeAny, {
|
7776
8266
|
id: string;
|
7777
8267
|
name: string;
|
7778
|
-
accessToken
|
8268
|
+
accessToken?: string | undefined;
|
7779
8269
|
channelSecret?: string | undefined;
|
7780
8270
|
additionalCredentials?: any;
|
7781
8271
|
}, {
|
7782
8272
|
id: string;
|
7783
8273
|
name: string;
|
7784
|
-
accessToken
|
8274
|
+
accessToken?: string | undefined;
|
7785
8275
|
channelSecret?: string | undefined;
|
7786
8276
|
additionalCredentials?: any;
|
7787
8277
|
}>;
|
@@ -7810,13 +8300,13 @@ export declare const messengerContract: {
|
|
7810
8300
|
phone: string | null;
|
7811
8301
|
}>>;
|
7812
8302
|
}, "strip", z.ZodTypeAny, {
|
7813
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8303
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7814
8304
|
id: string;
|
7815
8305
|
name: string;
|
7816
8306
|
metadata: {
|
7817
8307
|
id: string;
|
7818
8308
|
name: string;
|
7819
|
-
accessToken
|
8309
|
+
accessToken?: string | undefined;
|
7820
8310
|
channelSecret?: string | undefined;
|
7821
8311
|
additionalCredentials?: any;
|
7822
8312
|
};
|
@@ -7833,13 +8323,13 @@ export declare const messengerContract: {
|
|
7833
8323
|
phone: string | null;
|
7834
8324
|
} | undefined;
|
7835
8325
|
}, {
|
7836
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8326
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7837
8327
|
id: string;
|
7838
8328
|
name: string;
|
7839
8329
|
metadata: {
|
7840
8330
|
id: string;
|
7841
8331
|
name: string;
|
7842
|
-
accessToken
|
8332
|
+
accessToken?: string | undefined;
|
7843
8333
|
channelSecret?: string | undefined;
|
7844
8334
|
additionalCredentials?: any;
|
7845
8335
|
};
|
@@ -7858,13 +8348,13 @@ export declare const messengerContract: {
|
|
7858
8348
|
}>;
|
7859
8349
|
}, "strip", z.ZodTypeAny, {
|
7860
8350
|
data: {
|
7861
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8351
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7862
8352
|
id: string;
|
7863
8353
|
name: string;
|
7864
8354
|
metadata: {
|
7865
8355
|
id: string;
|
7866
8356
|
name: string;
|
7867
|
-
accessToken
|
8357
|
+
accessToken?: string | undefined;
|
7868
8358
|
channelSecret?: string | undefined;
|
7869
8359
|
additionalCredentials?: any;
|
7870
8360
|
};
|
@@ -7884,13 +8374,13 @@ export declare const messengerContract: {
|
|
7884
8374
|
requestId: string;
|
7885
8375
|
}, {
|
7886
8376
|
data: {
|
7887
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8377
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7888
8378
|
id: string;
|
7889
8379
|
name: string;
|
7890
8380
|
metadata: {
|
7891
8381
|
id: string;
|
7892
8382
|
name: string;
|
7893
|
-
accessToken
|
8383
|
+
accessToken?: string | undefined;
|
7894
8384
|
channelSecret?: string | undefined;
|
7895
8385
|
additionalCredentials?: any;
|
7896
8386
|
};
|
@@ -7948,23 +8438,23 @@ export declare const messengerContract: {
|
|
7948
8438
|
data: z.ZodObject<{
|
7949
8439
|
id: z.ZodString;
|
7950
8440
|
name: z.ZodString;
|
7951
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
8441
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
7952
8442
|
metadata: z.ZodObject<{
|
7953
8443
|
id: z.ZodString;
|
7954
8444
|
name: z.ZodString;
|
7955
|
-
accessToken: z.ZodString
|
8445
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
7956
8446
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7957
8447
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7958
8448
|
}, "strip", z.ZodTypeAny, {
|
7959
8449
|
id: string;
|
7960
8450
|
name: string;
|
7961
|
-
accessToken
|
8451
|
+
accessToken?: string | undefined;
|
7962
8452
|
channelSecret?: string | undefined;
|
7963
8453
|
additionalCredentials?: any;
|
7964
8454
|
}, {
|
7965
8455
|
id: string;
|
7966
8456
|
name: string;
|
7967
|
-
accessToken
|
8457
|
+
accessToken?: string | undefined;
|
7968
8458
|
channelSecret?: string | undefined;
|
7969
8459
|
additionalCredentials?: any;
|
7970
8460
|
}>;
|
@@ -7993,13 +8483,13 @@ export declare const messengerContract: {
|
|
7993
8483
|
phone: string | null;
|
7994
8484
|
}>>;
|
7995
8485
|
}, "strip", z.ZodTypeAny, {
|
7996
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8486
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7997
8487
|
id: string;
|
7998
8488
|
name: string;
|
7999
8489
|
metadata: {
|
8000
8490
|
id: string;
|
8001
8491
|
name: string;
|
8002
|
-
accessToken
|
8492
|
+
accessToken?: string | undefined;
|
8003
8493
|
channelSecret?: string | undefined;
|
8004
8494
|
additionalCredentials?: any;
|
8005
8495
|
};
|
@@ -8016,13 +8506,13 @@ export declare const messengerContract: {
|
|
8016
8506
|
phone: string | null;
|
8017
8507
|
} | undefined;
|
8018
8508
|
}, {
|
8019
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8509
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8020
8510
|
id: string;
|
8021
8511
|
name: string;
|
8022
8512
|
metadata: {
|
8023
8513
|
id: string;
|
8024
8514
|
name: string;
|
8025
|
-
accessToken
|
8515
|
+
accessToken?: string | undefined;
|
8026
8516
|
channelSecret?: string | undefined;
|
8027
8517
|
additionalCredentials?: any;
|
8028
8518
|
};
|
@@ -8041,13 +8531,13 @@ export declare const messengerContract: {
|
|
8041
8531
|
}>;
|
8042
8532
|
}, "strip", z.ZodTypeAny, {
|
8043
8533
|
data: {
|
8044
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8534
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8045
8535
|
id: string;
|
8046
8536
|
name: string;
|
8047
8537
|
metadata: {
|
8048
8538
|
id: string;
|
8049
8539
|
name: string;
|
8050
|
-
accessToken
|
8540
|
+
accessToken?: string | undefined;
|
8051
8541
|
channelSecret?: string | undefined;
|
8052
8542
|
additionalCredentials?: any;
|
8053
8543
|
};
|
@@ -8067,13 +8557,13 @@ export declare const messengerContract: {
|
|
8067
8557
|
requestId: string;
|
8068
8558
|
}, {
|
8069
8559
|
data: {
|
8070
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8560
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8071
8561
|
id: string;
|
8072
8562
|
name: string;
|
8073
8563
|
metadata: {
|
8074
8564
|
id: string;
|
8075
8565
|
name: string;
|
8076
|
-
accessToken
|
8566
|
+
accessToken?: string | undefined;
|
8077
8567
|
channelSecret?: string | undefined;
|
8078
8568
|
additionalCredentials?: any;
|
8079
8569
|
};
|
@@ -8131,23 +8621,23 @@ export declare const messengerContract: {
|
|
8131
8621
|
data: z.ZodObject<{
|
8132
8622
|
id: z.ZodString;
|
8133
8623
|
name: z.ZodString;
|
8134
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
8624
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
8135
8625
|
metadata: z.ZodObject<{
|
8136
8626
|
id: z.ZodString;
|
8137
8627
|
name: z.ZodString;
|
8138
|
-
accessToken: z.ZodString
|
8628
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
8139
8629
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8140
8630
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8141
8631
|
}, "strip", z.ZodTypeAny, {
|
8142
8632
|
id: string;
|
8143
8633
|
name: string;
|
8144
|
-
accessToken
|
8634
|
+
accessToken?: string | undefined;
|
8145
8635
|
channelSecret?: string | undefined;
|
8146
8636
|
additionalCredentials?: any;
|
8147
8637
|
}, {
|
8148
8638
|
id: string;
|
8149
8639
|
name: string;
|
8150
|
-
accessToken
|
8640
|
+
accessToken?: string | undefined;
|
8151
8641
|
channelSecret?: string | undefined;
|
8152
8642
|
additionalCredentials?: any;
|
8153
8643
|
}>;
|
@@ -8176,13 +8666,13 @@ export declare const messengerContract: {
|
|
8176
8666
|
phone: string | null;
|
8177
8667
|
}>>;
|
8178
8668
|
}, "strip", z.ZodTypeAny, {
|
8179
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8669
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8180
8670
|
id: string;
|
8181
8671
|
name: string;
|
8182
8672
|
metadata: {
|
8183
8673
|
id: string;
|
8184
8674
|
name: string;
|
8185
|
-
accessToken
|
8675
|
+
accessToken?: string | undefined;
|
8186
8676
|
channelSecret?: string | undefined;
|
8187
8677
|
additionalCredentials?: any;
|
8188
8678
|
};
|
@@ -8199,13 +8689,13 @@ export declare const messengerContract: {
|
|
8199
8689
|
phone: string | null;
|
8200
8690
|
} | undefined;
|
8201
8691
|
}, {
|
8202
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8692
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8203
8693
|
id: string;
|
8204
8694
|
name: string;
|
8205
8695
|
metadata: {
|
8206
8696
|
id: string;
|
8207
8697
|
name: string;
|
8208
|
-
accessToken
|
8698
|
+
accessToken?: string | undefined;
|
8209
8699
|
channelSecret?: string | undefined;
|
8210
8700
|
additionalCredentials?: any;
|
8211
8701
|
};
|
@@ -8224,13 +8714,13 @@ export declare const messengerContract: {
|
|
8224
8714
|
}>;
|
8225
8715
|
}, "strip", z.ZodTypeAny, {
|
8226
8716
|
data: {
|
8227
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8717
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8228
8718
|
id: string;
|
8229
8719
|
name: string;
|
8230
8720
|
metadata: {
|
8231
8721
|
id: string;
|
8232
8722
|
name: string;
|
8233
|
-
accessToken
|
8723
|
+
accessToken?: string | undefined;
|
8234
8724
|
channelSecret?: string | undefined;
|
8235
8725
|
additionalCredentials?: any;
|
8236
8726
|
};
|
@@ -8250,13 +8740,13 @@ export declare const messengerContract: {
|
|
8250
8740
|
requestId: string;
|
8251
8741
|
}, {
|
8252
8742
|
data: {
|
8253
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8743
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8254
8744
|
id: string;
|
8255
8745
|
name: string;
|
8256
8746
|
metadata: {
|
8257
8747
|
id: string;
|
8258
8748
|
name: string;
|
8259
|
-
accessToken
|
8749
|
+
accessToken?: string | undefined;
|
8260
8750
|
channelSecret?: string | undefined;
|
8261
8751
|
additionalCredentials?: any;
|
8262
8752
|
};
|
@@ -8300,24 +8790,24 @@ export declare const messengerContract: {
|
|
8300
8790
|
};
|
8301
8791
|
relogin: {
|
8302
8792
|
body: z.ZodObject<{
|
8303
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
8793
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
8304
8794
|
name: z.ZodString;
|
8305
8795
|
metadata: z.ZodObject<{
|
8306
8796
|
id: z.ZodString;
|
8307
8797
|
name: z.ZodString;
|
8308
|
-
accessToken: z.ZodString
|
8798
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
8309
8799
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8310
8800
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8311
8801
|
}, "strip", z.ZodTypeAny, {
|
8312
8802
|
id: string;
|
8313
8803
|
name: string;
|
8314
|
-
accessToken
|
8804
|
+
accessToken?: string | undefined;
|
8315
8805
|
channelSecret?: string | undefined;
|
8316
8806
|
additionalCredentials?: any;
|
8317
8807
|
}, {
|
8318
8808
|
id: string;
|
8319
8809
|
name: string;
|
8320
|
-
accessToken
|
8810
|
+
accessToken?: string | undefined;
|
8321
8811
|
channelSecret?: string | undefined;
|
8322
8812
|
additionalCredentials?: any;
|
8323
8813
|
}>;
|
@@ -8351,13 +8841,13 @@ export declare const messengerContract: {
|
|
8351
8841
|
deletedAt: z.ZodNullable<z.ZodString>;
|
8352
8842
|
isReloginRequired: z.ZodBoolean;
|
8353
8843
|
}, "strip", z.ZodTypeAny, {
|
8354
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8844
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8355
8845
|
id: string;
|
8356
8846
|
name: string;
|
8357
8847
|
metadata: {
|
8358
8848
|
id: string;
|
8359
8849
|
name: string;
|
8360
|
-
accessToken
|
8850
|
+
accessToken?: string | undefined;
|
8361
8851
|
channelSecret?: string | undefined;
|
8362
8852
|
additionalCredentials?: any;
|
8363
8853
|
};
|
@@ -8378,13 +8868,13 @@ export declare const messengerContract: {
|
|
8378
8868
|
connectedUserName?: string | null | undefined;
|
8379
8869
|
connectedUserId?: string | null | undefined;
|
8380
8870
|
}, {
|
8381
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8871
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8382
8872
|
id: string;
|
8383
8873
|
name: string;
|
8384
8874
|
metadata: {
|
8385
8875
|
id: string;
|
8386
8876
|
name: string;
|
8387
|
-
accessToken
|
8877
|
+
accessToken?: string | undefined;
|
8388
8878
|
channelSecret?: string | undefined;
|
8389
8879
|
additionalCredentials?: any;
|
8390
8880
|
};
|
@@ -8412,23 +8902,23 @@ export declare const messengerContract: {
|
|
8412
8902
|
data: z.ZodObject<{
|
8413
8903
|
id: z.ZodString;
|
8414
8904
|
name: z.ZodString;
|
8415
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
8905
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
8416
8906
|
metadata: z.ZodObject<{
|
8417
8907
|
id: z.ZodString;
|
8418
8908
|
name: z.ZodString;
|
8419
|
-
accessToken: z.ZodString
|
8909
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
8420
8910
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8421
8911
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8422
8912
|
}, "strip", z.ZodTypeAny, {
|
8423
8913
|
id: string;
|
8424
8914
|
name: string;
|
8425
|
-
accessToken
|
8915
|
+
accessToken?: string | undefined;
|
8426
8916
|
channelSecret?: string | undefined;
|
8427
8917
|
additionalCredentials?: any;
|
8428
8918
|
}, {
|
8429
8919
|
id: string;
|
8430
8920
|
name: string;
|
8431
|
-
accessToken
|
8921
|
+
accessToken?: string | undefined;
|
8432
8922
|
channelSecret?: string | undefined;
|
8433
8923
|
additionalCredentials?: any;
|
8434
8924
|
}>;
|
@@ -8457,13 +8947,13 @@ export declare const messengerContract: {
|
|
8457
8947
|
phone: string | null;
|
8458
8948
|
}>>;
|
8459
8949
|
}, "strip", z.ZodTypeAny, {
|
8460
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8950
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8461
8951
|
id: string;
|
8462
8952
|
name: string;
|
8463
8953
|
metadata: {
|
8464
8954
|
id: string;
|
8465
8955
|
name: string;
|
8466
|
-
accessToken
|
8956
|
+
accessToken?: string | undefined;
|
8467
8957
|
channelSecret?: string | undefined;
|
8468
8958
|
additionalCredentials?: any;
|
8469
8959
|
};
|
@@ -8480,13 +8970,13 @@ export declare const messengerContract: {
|
|
8480
8970
|
phone: string | null;
|
8481
8971
|
} | undefined;
|
8482
8972
|
}, {
|
8483
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8973
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8484
8974
|
id: string;
|
8485
8975
|
name: string;
|
8486
8976
|
metadata: {
|
8487
8977
|
id: string;
|
8488
8978
|
name: string;
|
8489
|
-
accessToken
|
8979
|
+
accessToken?: string | undefined;
|
8490
8980
|
channelSecret?: string | undefined;
|
8491
8981
|
additionalCredentials?: any;
|
8492
8982
|
};
|
@@ -8505,13 +8995,13 @@ export declare const messengerContract: {
|
|
8505
8995
|
}>;
|
8506
8996
|
}, "strip", z.ZodTypeAny, {
|
8507
8997
|
data: {
|
8508
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8998
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8509
8999
|
id: string;
|
8510
9000
|
name: string;
|
8511
9001
|
metadata: {
|
8512
9002
|
id: string;
|
8513
9003
|
name: string;
|
8514
|
-
accessToken
|
9004
|
+
accessToken?: string | undefined;
|
8515
9005
|
channelSecret?: string | undefined;
|
8516
9006
|
additionalCredentials?: any;
|
8517
9007
|
};
|
@@ -8531,13 +9021,13 @@ export declare const messengerContract: {
|
|
8531
9021
|
requestId: string;
|
8532
9022
|
}, {
|
8533
9023
|
data: {
|
8534
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
9024
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8535
9025
|
id: string;
|
8536
9026
|
name: string;
|
8537
9027
|
metadata: {
|
8538
9028
|
id: string;
|
8539
9029
|
name: string;
|
8540
|
-
accessToken
|
9030
|
+
accessToken?: string | undefined;
|
8541
9031
|
channelSecret?: string | undefined;
|
8542
9032
|
additionalCredentials?: any;
|
8543
9033
|
};
|