@kl1/contracts 1.1.30-uat → 1.1.30
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 +3454 -3284
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3443 -3277
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +547 -0
- package/dist/src/botpress/index.d.ts.map +1 -0
- package/dist/src/botpress/schema.d.ts +81 -0
- package/dist/src/botpress/schema.d.ts.map +1 -0
- package/dist/src/botpress/validation.d.ts +229 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/business-calendar/index.d.ts +36 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -1
- package/dist/src/business-calendar/schema.d.ts +11 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +1687 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +44 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +34189 -32567
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +365 -59
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +392 -85
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +0 -3
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +0 -3
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +106130 -173397
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +99 -8
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +85 -12
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/export/index.d.ts +43 -0
- package/dist/src/export/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +438 -65
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +7 -0
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +434 -70
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +31 -5
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7851 -30264
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +61 -6421
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +1561 -17616
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -7
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/message.schema.d.ts +40 -762
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +386 -5678
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +485 -5816
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +443 -66
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +48 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/subscription/index.d.ts +332 -0
- package/dist/src/subscription/index.d.ts.map +1 -0
- package/dist/src/subscription/schema.d.ts +290 -0
- package/dist/src/subscription/schema.d.ts.map +1 -0
- package/dist/src/subscription/validation.d.ts +27 -0
- package/dist/src/subscription/validation.d.ts.map +1 -0
- package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +126 -622
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +7 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +125 -0
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +7 -0
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +498 -65
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +379 -68
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +7455 -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 +475 -22
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/src/wrap-up-form/validation.d.ts +6 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,9 +1,8 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
|
3
|
-
export type ConnectWebChatChannelRequest = z.infer<typeof ConnectWebChatChannelSchema>;
|
4
|
-
export declare const webchatContract: {
|
2
|
+
export declare const platformWebchatContract: {
|
5
3
|
sendMessage: {
|
6
4
|
body: z.ZodObject<{
|
5
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
7
6
|
room: z.ZodObject<{
|
8
7
|
id: z.ZodString;
|
9
8
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -137,24 +136,28 @@ export declare const webchatContract: {
|
|
137
136
|
accessToken: z.ZodOptional<z.ZodString>;
|
138
137
|
channelSecret: z.ZodOptional<z.ZodString>;
|
139
138
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
139
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
141
141
|
id: string;
|
142
142
|
name: string;
|
143
143
|
accessToken?: string | undefined;
|
144
144
|
channelSecret?: string | undefined;
|
145
145
|
additionalCredentials?: any;
|
146
|
+
lineRichMenuId?: string | null | undefined;
|
146
147
|
}, {
|
147
148
|
id: string;
|
148
149
|
name: string;
|
149
150
|
accessToken?: string | undefined;
|
150
151
|
channelSecret?: string | undefined;
|
151
152
|
additionalCredentials?: any;
|
153
|
+
lineRichMenuId?: string | null | undefined;
|
152
154
|
}>;
|
153
155
|
platformId: z.ZodString;
|
154
156
|
brandName: z.ZodString;
|
155
157
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
156
158
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
157
159
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
160
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
158
161
|
actor: z.ZodOptional<z.ZodObject<{
|
159
162
|
id: z.ZodString;
|
160
163
|
name: z.ZodString;
|
@@ -184,12 +187,14 @@ export declare const webchatContract: {
|
|
184
187
|
accessToken?: string | undefined;
|
185
188
|
channelSecret?: string | undefined;
|
186
189
|
additionalCredentials?: any;
|
190
|
+
lineRichMenuId?: string | null | undefined;
|
187
191
|
};
|
188
192
|
status: boolean;
|
189
193
|
brandName: string;
|
190
194
|
platformId: string;
|
191
195
|
connectedUserName?: string | null | undefined;
|
192
196
|
connectedUserId?: string | null | undefined;
|
197
|
+
lineRichMenuId?: string | null | undefined;
|
193
198
|
actor?: {
|
194
199
|
id: string;
|
195
200
|
address: string | null;
|
@@ -207,12 +212,14 @@ export declare const webchatContract: {
|
|
207
212
|
accessToken?: string | undefined;
|
208
213
|
channelSecret?: string | undefined;
|
209
214
|
additionalCredentials?: any;
|
215
|
+
lineRichMenuId?: string | null | undefined;
|
210
216
|
};
|
211
217
|
status: boolean;
|
212
218
|
brandName: string;
|
213
219
|
platformId: string;
|
214
220
|
connectedUserName?: string | null | undefined;
|
215
221
|
connectedUserId?: string | null | undefined;
|
222
|
+
lineRichMenuId?: string | null | undefined;
|
216
223
|
actor?: {
|
217
224
|
id: string;
|
218
225
|
address: string | null;
|
@@ -234,12 +241,14 @@ export declare const webchatContract: {
|
|
234
241
|
accessToken?: string | undefined;
|
235
242
|
channelSecret?: string | undefined;
|
236
243
|
additionalCredentials?: any;
|
244
|
+
lineRichMenuId?: string | null | undefined;
|
237
245
|
};
|
238
246
|
status: boolean;
|
239
247
|
brandName: string;
|
240
248
|
platformId: string;
|
241
249
|
connectedUserName?: string | null | undefined;
|
242
250
|
connectedUserId?: string | null | undefined;
|
251
|
+
lineRichMenuId?: string | null | undefined;
|
243
252
|
actor?: {
|
244
253
|
id: string;
|
245
254
|
address: string | null;
|
@@ -300,12 +309,14 @@ export declare const webchatContract: {
|
|
300
309
|
accessToken?: string | undefined;
|
301
310
|
channelSecret?: string | undefined;
|
302
311
|
additionalCredentials?: any;
|
312
|
+
lineRichMenuId?: string | null | undefined;
|
303
313
|
};
|
304
314
|
status: boolean;
|
305
315
|
brandName: string;
|
306
316
|
platformId: string;
|
307
317
|
connectedUserName?: string | null | undefined;
|
308
318
|
connectedUserId?: string | null | undefined;
|
319
|
+
lineRichMenuId?: string | null | undefined;
|
309
320
|
actor?: {
|
310
321
|
id: string;
|
311
322
|
address: string | null;
|
@@ -358,7 +369,7 @@ export declare const webchatContract: {
|
|
358
369
|
message: z.ZodObject<{
|
359
370
|
message: z.ZodOptional<z.ZodString>;
|
360
371
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
361
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
372
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
362
373
|
readAt: z.ZodOptional<z.ZodDate>;
|
363
374
|
metadata: z.ZodOptional<z.ZodAny>;
|
364
375
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -374,18 +385,21 @@ export declare const webchatContract: {
|
|
374
385
|
fileName: z.ZodString;
|
375
386
|
fileSize: z.ZodNumber;
|
376
387
|
fileKey: z.ZodString;
|
388
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
377
389
|
}, "strip", z.ZodTypeAny, {
|
378
390
|
fileName: string;
|
379
391
|
fileKey: string;
|
380
392
|
bucketName: string;
|
381
393
|
fileSize: number;
|
394
|
+
originalUrl?: string | undefined;
|
382
395
|
}, {
|
383
396
|
fileName: string;
|
384
397
|
fileKey: string;
|
385
398
|
bucketName: string;
|
386
399
|
fileSize: number;
|
400
|
+
originalUrl?: string | undefined;
|
387
401
|
}>>;
|
388
|
-
sender: z.ZodObject<{
|
402
|
+
sender: z.ZodOptional<z.ZodObject<{
|
389
403
|
id: z.ZodString;
|
390
404
|
name: z.ZodString;
|
391
405
|
email: z.ZodString;
|
@@ -403,17 +417,10 @@ export declare const webchatContract: {
|
|
403
417
|
name: string;
|
404
418
|
email: string;
|
405
419
|
phone: string | null;
|
406
|
-
}
|
420
|
+
}>>;
|
407
421
|
}, "strip", z.ZodTypeAny, {
|
408
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
422
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
409
423
|
direction: "incoming" | "outgoing" | "system";
|
410
|
-
sender: {
|
411
|
-
id: string;
|
412
|
-
address: string | null;
|
413
|
-
name: string;
|
414
|
-
email: string;
|
415
|
-
phone: string | null;
|
416
|
-
};
|
417
424
|
message?: string | undefined;
|
418
425
|
readAt?: Date | undefined;
|
419
426
|
metadata?: any;
|
@@ -430,17 +437,18 @@ export declare const webchatContract: {
|
|
430
437
|
fileKey: string;
|
431
438
|
bucketName: string;
|
432
439
|
fileSize: number;
|
440
|
+
originalUrl?: string | undefined;
|
433
441
|
} | undefined;
|
434
|
-
|
435
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
436
|
-
direction: "incoming" | "outgoing" | "system";
|
437
|
-
sender: {
|
442
|
+
sender?: {
|
438
443
|
id: string;
|
439
444
|
address: string | null;
|
440
445
|
name: string;
|
441
446
|
email: string;
|
442
447
|
phone: string | null;
|
443
|
-
};
|
448
|
+
} | undefined;
|
449
|
+
}, {
|
450
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
451
|
+
direction: "incoming" | "outgoing" | "system";
|
444
452
|
message?: string | undefined;
|
445
453
|
readAt?: Date | undefined;
|
446
454
|
metadata?: any;
|
@@ -457,19 +465,20 @@ export declare const webchatContract: {
|
|
457
465
|
fileKey: string;
|
458
466
|
bucketName: string;
|
459
467
|
fileSize: number;
|
468
|
+
originalUrl?: string | undefined;
|
460
469
|
} | undefined;
|
461
|
-
|
462
|
-
}, "strip", z.ZodTypeAny, {
|
463
|
-
message: {
|
464
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
465
|
-
direction: "incoming" | "outgoing" | "system";
|
466
|
-
sender: {
|
470
|
+
sender?: {
|
467
471
|
id: string;
|
468
472
|
address: string | null;
|
469
473
|
name: string;
|
470
474
|
email: string;
|
471
475
|
phone: string | null;
|
472
|
-
};
|
476
|
+
} | undefined;
|
477
|
+
}>;
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
479
|
+
message: {
|
480
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
481
|
+
direction: "incoming" | "outgoing" | "system";
|
473
482
|
message?: string | undefined;
|
474
483
|
readAt?: Date | undefined;
|
475
484
|
metadata?: any;
|
@@ -486,6 +495,14 @@ export declare const webchatContract: {
|
|
486
495
|
fileKey: string;
|
487
496
|
bucketName: string;
|
488
497
|
fileSize: number;
|
498
|
+
originalUrl?: string | undefined;
|
499
|
+
} | undefined;
|
500
|
+
sender?: {
|
501
|
+
id: string;
|
502
|
+
address: string | null;
|
503
|
+
name: string;
|
504
|
+
email: string;
|
505
|
+
phone: string | null;
|
489
506
|
} | undefined;
|
490
507
|
};
|
491
508
|
room: {
|
@@ -500,12 +517,14 @@ export declare const webchatContract: {
|
|
500
517
|
accessToken?: string | undefined;
|
501
518
|
channelSecret?: string | undefined;
|
502
519
|
additionalCredentials?: any;
|
520
|
+
lineRichMenuId?: string | null | undefined;
|
503
521
|
};
|
504
522
|
status: boolean;
|
505
523
|
brandName: string;
|
506
524
|
platformId: string;
|
507
525
|
connectedUserName?: string | null | undefined;
|
508
526
|
connectedUserId?: string | null | undefined;
|
527
|
+
lineRichMenuId?: string | null | undefined;
|
509
528
|
actor?: {
|
510
529
|
id: string;
|
511
530
|
address: string | null;
|
@@ -555,17 +574,11 @@ export declare const webchatContract: {
|
|
555
574
|
metadata?: any;
|
556
575
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
557
576
|
};
|
577
|
+
isBot: boolean | null;
|
558
578
|
}, {
|
559
579
|
message: {
|
560
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
580
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
561
581
|
direction: "incoming" | "outgoing" | "system";
|
562
|
-
sender: {
|
563
|
-
id: string;
|
564
|
-
address: string | null;
|
565
|
-
name: string;
|
566
|
-
email: string;
|
567
|
-
phone: string | null;
|
568
|
-
};
|
569
582
|
message?: string | undefined;
|
570
583
|
readAt?: Date | undefined;
|
571
584
|
metadata?: any;
|
@@ -582,6 +595,14 @@ export declare const webchatContract: {
|
|
582
595
|
fileKey: string;
|
583
596
|
bucketName: string;
|
584
597
|
fileSize: number;
|
598
|
+
originalUrl?: string | undefined;
|
599
|
+
} | undefined;
|
600
|
+
sender?: {
|
601
|
+
id: string;
|
602
|
+
address: string | null;
|
603
|
+
name: string;
|
604
|
+
email: string;
|
605
|
+
phone: string | null;
|
585
606
|
} | undefined;
|
586
607
|
};
|
587
608
|
room: {
|
@@ -596,12 +617,14 @@ export declare const webchatContract: {
|
|
596
617
|
accessToken?: string | undefined;
|
597
618
|
channelSecret?: string | undefined;
|
598
619
|
additionalCredentials?: any;
|
620
|
+
lineRichMenuId?: string | null | undefined;
|
599
621
|
};
|
600
622
|
status: boolean;
|
601
623
|
brandName: string;
|
602
624
|
platformId: string;
|
603
625
|
connectedUserName?: string | null | undefined;
|
604
626
|
connectedUserId?: string | null | undefined;
|
627
|
+
lineRichMenuId?: string | null | undefined;
|
605
628
|
actor?: {
|
606
629
|
id: string;
|
607
630
|
address: string | null;
|
@@ -651,6 +674,7 @@ export declare const webchatContract: {
|
|
651
674
|
metadata?: any;
|
652
675
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
653
676
|
};
|
677
|
+
isBot?: boolean | null | undefined;
|
654
678
|
}>;
|
655
679
|
method: "POST";
|
656
680
|
responses: {
|
@@ -663,7 +687,7 @@ export declare const webchatContract: {
|
|
663
687
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
664
688
|
message: z.ZodString;
|
665
689
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
666
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
690
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
667
691
|
readAt: z.ZodDate;
|
668
692
|
metadata: z.ZodAny;
|
669
693
|
platformId: z.ZodString;
|
@@ -688,6 +712,7 @@ export declare const webchatContract: {
|
|
688
712
|
firstResponseAt: z.ZodDate;
|
689
713
|
firstResponseTime: z.ZodNumber;
|
690
714
|
isLatest: z.ZodBoolean;
|
715
|
+
isBotRoom: z.ZodBoolean;
|
691
716
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
692
717
|
platformContact: z.ZodObject<{
|
693
718
|
id: z.ZodString;
|
@@ -2044,18 +2069,21 @@ export declare const webchatContract: {
|
|
2044
2069
|
accessToken: z.ZodOptional<z.ZodString>;
|
2045
2070
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2046
2071
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2072
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2047
2073
|
}, "strip", z.ZodTypeAny, {
|
2048
2074
|
id: string;
|
2049
2075
|
name: string;
|
2050
2076
|
accessToken?: string | undefined;
|
2051
2077
|
channelSecret?: string | undefined;
|
2052
2078
|
additionalCredentials?: any;
|
2079
|
+
lineRichMenuId?: string | null | undefined;
|
2053
2080
|
}, {
|
2054
2081
|
id: string;
|
2055
2082
|
name: string;
|
2056
2083
|
accessToken?: string | undefined;
|
2057
2084
|
channelSecret?: string | undefined;
|
2058
2085
|
additionalCredentials?: any;
|
2086
|
+
lineRichMenuId?: string | null | undefined;
|
2059
2087
|
}>;
|
2060
2088
|
brandName: z.ZodString;
|
2061
2089
|
platformId: z.ZodString;
|
@@ -2063,6 +2091,25 @@ export declare const webchatContract: {
|
|
2063
2091
|
isReloginRequired: z.ZodBoolean;
|
2064
2092
|
connectedUserName: z.ZodString;
|
2065
2093
|
connectedUserId: z.ZodString;
|
2094
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2095
|
+
id: z.ZodString;
|
2096
|
+
name: z.ZodString;
|
2097
|
+
botId: z.ZodString;
|
2098
|
+
integrationId: z.ZodString;
|
2099
|
+
accessToken: z.ZodString;
|
2100
|
+
}, "strip", z.ZodTypeAny, {
|
2101
|
+
id: string;
|
2102
|
+
name: string;
|
2103
|
+
accessToken: string;
|
2104
|
+
botId: string;
|
2105
|
+
integrationId: string;
|
2106
|
+
}, {
|
2107
|
+
id: string;
|
2108
|
+
name: string;
|
2109
|
+
accessToken: string;
|
2110
|
+
botId: string;
|
2111
|
+
integrationId: string;
|
2112
|
+
}>>;
|
2066
2113
|
actor: z.ZodObject<{
|
2067
2114
|
id: z.ZodString;
|
2068
2115
|
createdAt: z.ZodDate;
|
@@ -2277,6 +2324,7 @@ export declare const webchatContract: {
|
|
2277
2324
|
accessToken?: string | undefined;
|
2278
2325
|
channelSecret?: string | undefined;
|
2279
2326
|
additionalCredentials?: any;
|
2327
|
+
lineRichMenuId?: string | null | undefined;
|
2280
2328
|
};
|
2281
2329
|
status: boolean;
|
2282
2330
|
createdAt: Date;
|
@@ -2331,6 +2379,13 @@ export declare const webchatContract: {
|
|
2331
2379
|
isReloginRequired: boolean;
|
2332
2380
|
connectedUserName: string;
|
2333
2381
|
connectedUserId: string;
|
2382
|
+
botpressBot: {
|
2383
|
+
id: string;
|
2384
|
+
name: string;
|
2385
|
+
accessToken: string;
|
2386
|
+
botId: string;
|
2387
|
+
integrationId: string;
|
2388
|
+
} | null;
|
2334
2389
|
}, {
|
2335
2390
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2336
2391
|
id: string;
|
@@ -2341,6 +2396,7 @@ export declare const webchatContract: {
|
|
2341
2396
|
accessToken?: string | undefined;
|
2342
2397
|
channelSecret?: string | undefined;
|
2343
2398
|
additionalCredentials?: any;
|
2399
|
+
lineRichMenuId?: string | null | undefined;
|
2344
2400
|
};
|
2345
2401
|
status: boolean;
|
2346
2402
|
createdAt: Date;
|
@@ -2395,6 +2451,13 @@ export declare const webchatContract: {
|
|
2395
2451
|
isReloginRequired: boolean;
|
2396
2452
|
connectedUserName: string;
|
2397
2453
|
connectedUserId: string;
|
2454
|
+
botpressBot: {
|
2455
|
+
id: string;
|
2456
|
+
name: string;
|
2457
|
+
accessToken: string;
|
2458
|
+
botId: string;
|
2459
|
+
integrationId: string;
|
2460
|
+
} | null;
|
2398
2461
|
}>;
|
2399
2462
|
cxlog: z.ZodObject<{
|
2400
2463
|
id: z.ZodString;
|
@@ -2541,7 +2604,7 @@ export declare const webchatContract: {
|
|
2541
2604
|
}>, "many">;
|
2542
2605
|
callFrom: z.ZodNullable<z.ZodString>;
|
2543
2606
|
callTo: z.ZodNullable<z.ZodString>;
|
2544
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2607
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2545
2608
|
id: z.ZodString;
|
2546
2609
|
createdAt: z.ZodDate;
|
2547
2610
|
updatedAt: z.ZodDate;
|
@@ -2574,7 +2637,7 @@ export declare const webchatContract: {
|
|
2574
2637
|
booleanValue: boolean | null;
|
2575
2638
|
numberValue: number | null;
|
2576
2639
|
dateValue: Date | null;
|
2577
|
-
}>, "many"
|
2640
|
+
}>, "many">>>;
|
2578
2641
|
}, "strip", z.ZodTypeAny, {
|
2579
2642
|
type: string;
|
2580
2643
|
id: string;
|
@@ -2625,7 +2688,7 @@ export declare const webchatContract: {
|
|
2625
2688
|
booleanValue: boolean | null;
|
2626
2689
|
numberValue: number | null;
|
2627
2690
|
dateValue: Date | null;
|
2628
|
-
}[] | undefined;
|
2691
|
+
}[] | null | undefined;
|
2629
2692
|
}, {
|
2630
2693
|
type: string;
|
2631
2694
|
id: string;
|
@@ -2676,7 +2739,7 @@ export declare const webchatContract: {
|
|
2676
2739
|
booleanValue: boolean | null;
|
2677
2740
|
numberValue: number | null;
|
2678
2741
|
dateValue: Date | null;
|
2679
|
-
}[] | undefined;
|
2742
|
+
}[] | null | undefined;
|
2680
2743
|
}>>;
|
2681
2744
|
}, "strip", z.ZodTypeAny, {
|
2682
2745
|
id: string;
|
@@ -2744,7 +2807,7 @@ export declare const webchatContract: {
|
|
2744
2807
|
booleanValue: boolean | null;
|
2745
2808
|
numberValue: number | null;
|
2746
2809
|
dateValue: Date | null;
|
2747
|
-
}[] | undefined;
|
2810
|
+
}[] | null | undefined;
|
2748
2811
|
} | null;
|
2749
2812
|
}, {
|
2750
2813
|
id: string;
|
@@ -2812,9 +2875,34 @@ export declare const webchatContract: {
|
|
2812
2875
|
booleanValue: boolean | null;
|
2813
2876
|
numberValue: number | null;
|
2814
2877
|
dateValue: Date | null;
|
2815
|
-
}[] | undefined;
|
2878
|
+
}[] | null | undefined;
|
2816
2879
|
} | null;
|
2817
2880
|
}>;
|
2881
|
+
workflowRule: z.ZodObject<{
|
2882
|
+
id: z.ZodString;
|
2883
|
+
createdAt: z.ZodDate;
|
2884
|
+
updatedAt: z.ZodDate;
|
2885
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2886
|
+
name: z.ZodString;
|
2887
|
+
isActive: z.ZodBoolean;
|
2888
|
+
type: z.ZodString;
|
2889
|
+
}, "strip", z.ZodTypeAny, {
|
2890
|
+
type: string;
|
2891
|
+
id: string;
|
2892
|
+
name: string;
|
2893
|
+
createdAt: Date;
|
2894
|
+
updatedAt: Date;
|
2895
|
+
deletedAt: Date | null;
|
2896
|
+
isActive: boolean;
|
2897
|
+
}, {
|
2898
|
+
type: string;
|
2899
|
+
id: string;
|
2900
|
+
name: string;
|
2901
|
+
createdAt: Date;
|
2902
|
+
updatedAt: Date;
|
2903
|
+
deletedAt: Date | null;
|
2904
|
+
isActive: boolean;
|
2905
|
+
}>;
|
2818
2906
|
}, "strip", z.ZodTypeAny, {
|
2819
2907
|
id: string;
|
2820
2908
|
channel: {
|
@@ -2827,6 +2915,7 @@ export declare const webchatContract: {
|
|
2827
2915
|
accessToken?: string | undefined;
|
2828
2916
|
channelSecret?: string | undefined;
|
2829
2917
|
additionalCredentials?: any;
|
2918
|
+
lineRichMenuId?: string | null | undefined;
|
2830
2919
|
};
|
2831
2920
|
status: boolean;
|
2832
2921
|
createdAt: Date;
|
@@ -2881,6 +2970,13 @@ export declare const webchatContract: {
|
|
2881
2970
|
isReloginRequired: boolean;
|
2882
2971
|
connectedUserName: string;
|
2883
2972
|
connectedUserId: string;
|
2973
|
+
botpressBot: {
|
2974
|
+
id: string;
|
2975
|
+
name: string;
|
2976
|
+
accessToken: string;
|
2977
|
+
botId: string;
|
2978
|
+
integrationId: string;
|
2979
|
+
} | null;
|
2884
2980
|
};
|
2885
2981
|
direction: "incoming" | "outgoing" | "system";
|
2886
2982
|
status: number;
|
@@ -3095,6 +3191,7 @@ export declare const webchatContract: {
|
|
3095
3191
|
};
|
3096
3192
|
closedAt: Date;
|
3097
3193
|
lastMessageAt: Date | null;
|
3194
|
+
isBotRoom: boolean;
|
3098
3195
|
cxlog: {
|
3099
3196
|
id: string;
|
3100
3197
|
channel: string | null;
|
@@ -3161,9 +3258,18 @@ export declare const webchatContract: {
|
|
3161
3258
|
booleanValue: boolean | null;
|
3162
3259
|
numberValue: number | null;
|
3163
3260
|
dateValue: Date | null;
|
3164
|
-
}[] | undefined;
|
3261
|
+
}[] | null | undefined;
|
3165
3262
|
} | null;
|
3166
3263
|
};
|
3264
|
+
workflowRule: {
|
3265
|
+
type: string;
|
3266
|
+
id: string;
|
3267
|
+
name: string;
|
3268
|
+
createdAt: Date;
|
3269
|
+
updatedAt: Date;
|
3270
|
+
deletedAt: Date | null;
|
3271
|
+
isActive: boolean;
|
3272
|
+
};
|
3167
3273
|
}, {
|
3168
3274
|
id: string;
|
3169
3275
|
channel: {
|
@@ -3176,6 +3282,7 @@ export declare const webchatContract: {
|
|
3176
3282
|
accessToken?: string | undefined;
|
3177
3283
|
channelSecret?: string | undefined;
|
3178
3284
|
additionalCredentials?: any;
|
3285
|
+
lineRichMenuId?: string | null | undefined;
|
3179
3286
|
};
|
3180
3287
|
status: boolean;
|
3181
3288
|
createdAt: Date;
|
@@ -3230,6 +3337,13 @@ export declare const webchatContract: {
|
|
3230
3337
|
isReloginRequired: boolean;
|
3231
3338
|
connectedUserName: string;
|
3232
3339
|
connectedUserId: string;
|
3340
|
+
botpressBot: {
|
3341
|
+
id: string;
|
3342
|
+
name: string;
|
3343
|
+
accessToken: string;
|
3344
|
+
botId: string;
|
3345
|
+
integrationId: string;
|
3346
|
+
} | null;
|
3233
3347
|
};
|
3234
3348
|
direction: "incoming" | "outgoing" | "system";
|
3235
3349
|
status: number;
|
@@ -3444,6 +3558,7 @@ export declare const webchatContract: {
|
|
3444
3558
|
};
|
3445
3559
|
closedAt: Date;
|
3446
3560
|
lastMessageAt: Date | null;
|
3561
|
+
isBotRoom: boolean;
|
3447
3562
|
cxlog: {
|
3448
3563
|
id: string;
|
3449
3564
|
channel: string | null;
|
@@ -3510,9 +3625,18 @@ export declare const webchatContract: {
|
|
3510
3625
|
booleanValue: boolean | null;
|
3511
3626
|
numberValue: number | null;
|
3512
3627
|
dateValue: Date | null;
|
3513
|
-
}[] | undefined;
|
3628
|
+
}[] | null | undefined;
|
3514
3629
|
} | null;
|
3515
3630
|
};
|
3631
|
+
workflowRule: {
|
3632
|
+
type: string;
|
3633
|
+
id: string;
|
3634
|
+
name: string;
|
3635
|
+
createdAt: Date;
|
3636
|
+
updatedAt: Date;
|
3637
|
+
deletedAt: Date | null;
|
3638
|
+
isActive: boolean;
|
3639
|
+
};
|
3516
3640
|
}>;
|
3517
3641
|
upload: z.ZodObject<{
|
3518
3642
|
id: z.ZodString;
|
@@ -3555,7 +3679,7 @@ export declare const webchatContract: {
|
|
3555
3679
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3556
3680
|
message: z.ZodString;
|
3557
3681
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3558
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3682
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3559
3683
|
readAt: z.ZodDate;
|
3560
3684
|
metadata: z.ZodAny;
|
3561
3685
|
platformId: z.ZodString;
|
@@ -4213,7 +4337,7 @@ export declare const webchatContract: {
|
|
4213
4337
|
};
|
4214
4338
|
}>;
|
4215
4339
|
}, "strip", z.ZodTypeAny, {
|
4216
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4340
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4217
4341
|
message: string;
|
4218
4342
|
id: string;
|
4219
4343
|
url: string;
|
@@ -4265,7 +4389,6 @@ export declare const webchatContract: {
|
|
4265
4389
|
telephonySignature: string | null;
|
4266
4390
|
};
|
4267
4391
|
};
|
4268
|
-
platformId: string;
|
4269
4392
|
upload: {
|
4270
4393
|
id: string;
|
4271
4394
|
createdAt: Date;
|
@@ -4322,6 +4445,7 @@ export declare const webchatContract: {
|
|
4322
4445
|
telephonySignature: string | null;
|
4323
4446
|
};
|
4324
4447
|
};
|
4448
|
+
platformId: string;
|
4325
4449
|
readAt: Date;
|
4326
4450
|
platformMessageId: string;
|
4327
4451
|
replyPlatformMessageId: string;
|
@@ -4375,7 +4499,7 @@ export declare const webchatContract: {
|
|
4375
4499
|
metadata?: any;
|
4376
4500
|
template?: any;
|
4377
4501
|
}, {
|
4378
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4502
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4379
4503
|
message: string;
|
4380
4504
|
id: string;
|
4381
4505
|
url: string;
|
@@ -4427,7 +4551,6 @@ export declare const webchatContract: {
|
|
4427
4551
|
telephonySignature: string | null;
|
4428
4552
|
};
|
4429
4553
|
};
|
4430
|
-
platformId: string;
|
4431
4554
|
upload: {
|
4432
4555
|
id: string;
|
4433
4556
|
createdAt: Date;
|
@@ -4484,6 +4607,7 @@ export declare const webchatContract: {
|
|
4484
4607
|
telephonySignature: string | null;
|
4485
4608
|
};
|
4486
4609
|
};
|
4610
|
+
platformId: string;
|
4487
4611
|
readAt: Date;
|
4488
4612
|
platformMessageId: string;
|
4489
4613
|
replyPlatformMessageId: string;
|
@@ -5149,8 +5273,33 @@ export declare const webchatContract: {
|
|
5149
5273
|
telephonySignature: string | null;
|
5150
5274
|
};
|
5151
5275
|
}>;
|
5276
|
+
workflowRule: z.ZodObject<{
|
5277
|
+
id: z.ZodString;
|
5278
|
+
createdAt: z.ZodDate;
|
5279
|
+
updatedAt: z.ZodDate;
|
5280
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5281
|
+
name: z.ZodString;
|
5282
|
+
isActive: z.ZodBoolean;
|
5283
|
+
type: z.ZodString;
|
5284
|
+
}, "strip", z.ZodTypeAny, {
|
5285
|
+
type: string;
|
5286
|
+
id: string;
|
5287
|
+
name: string;
|
5288
|
+
createdAt: Date;
|
5289
|
+
updatedAt: Date;
|
5290
|
+
deletedAt: Date | null;
|
5291
|
+
isActive: boolean;
|
5292
|
+
}, {
|
5293
|
+
type: string;
|
5294
|
+
id: string;
|
5295
|
+
name: string;
|
5296
|
+
createdAt: Date;
|
5297
|
+
updatedAt: Date;
|
5298
|
+
deletedAt: Date | null;
|
5299
|
+
isActive: boolean;
|
5300
|
+
}>;
|
5152
5301
|
}, "strip", z.ZodTypeAny, {
|
5153
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5302
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5154
5303
|
message: string;
|
5155
5304
|
id: string;
|
5156
5305
|
url: string;
|
@@ -5202,7 +5351,6 @@ export declare const webchatContract: {
|
|
5202
5351
|
telephonySignature: string | null;
|
5203
5352
|
};
|
5204
5353
|
};
|
5205
|
-
platformId: string;
|
5206
5354
|
upload: {
|
5207
5355
|
id: string;
|
5208
5356
|
createdAt: Date;
|
@@ -5259,6 +5407,7 @@ export declare const webchatContract: {
|
|
5259
5407
|
telephonySignature: string | null;
|
5260
5408
|
};
|
5261
5409
|
};
|
5410
|
+
platformId: string;
|
5262
5411
|
room: {
|
5263
5412
|
id: string;
|
5264
5413
|
channel: {
|
@@ -5271,6 +5420,7 @@ export declare const webchatContract: {
|
|
5271
5420
|
accessToken?: string | undefined;
|
5272
5421
|
channelSecret?: string | undefined;
|
5273
5422
|
additionalCredentials?: any;
|
5423
|
+
lineRichMenuId?: string | null | undefined;
|
5274
5424
|
};
|
5275
5425
|
status: boolean;
|
5276
5426
|
createdAt: Date;
|
@@ -5325,6 +5475,13 @@ export declare const webchatContract: {
|
|
5325
5475
|
isReloginRequired: boolean;
|
5326
5476
|
connectedUserName: string;
|
5327
5477
|
connectedUserId: string;
|
5478
|
+
botpressBot: {
|
5479
|
+
id: string;
|
5480
|
+
name: string;
|
5481
|
+
accessToken: string;
|
5482
|
+
botId: string;
|
5483
|
+
integrationId: string;
|
5484
|
+
} | null;
|
5328
5485
|
};
|
5329
5486
|
direction: "incoming" | "outgoing" | "system";
|
5330
5487
|
status: number;
|
@@ -5539,6 +5696,7 @@ export declare const webchatContract: {
|
|
5539
5696
|
};
|
5540
5697
|
closedAt: Date;
|
5541
5698
|
lastMessageAt: Date | null;
|
5699
|
+
isBotRoom: boolean;
|
5542
5700
|
cxlog: {
|
5543
5701
|
id: string;
|
5544
5702
|
channel: string | null;
|
@@ -5605,9 +5763,27 @@ export declare const webchatContract: {
|
|
5605
5763
|
booleanValue: boolean | null;
|
5606
5764
|
numberValue: number | null;
|
5607
5765
|
dateValue: Date | null;
|
5608
|
-
}[] | undefined;
|
5766
|
+
}[] | null | undefined;
|
5609
5767
|
} | null;
|
5610
5768
|
};
|
5769
|
+
workflowRule: {
|
5770
|
+
type: string;
|
5771
|
+
id: string;
|
5772
|
+
name: string;
|
5773
|
+
createdAt: Date;
|
5774
|
+
updatedAt: Date;
|
5775
|
+
deletedAt: Date | null;
|
5776
|
+
isActive: boolean;
|
5777
|
+
};
|
5778
|
+
};
|
5779
|
+
workflowRule: {
|
5780
|
+
type: string;
|
5781
|
+
id: string;
|
5782
|
+
name: string;
|
5783
|
+
createdAt: Date;
|
5784
|
+
updatedAt: Date;
|
5785
|
+
deletedAt: Date | null;
|
5786
|
+
isActive: boolean;
|
5611
5787
|
};
|
5612
5788
|
readAt: Date;
|
5613
5789
|
platformMessageId: string;
|
@@ -5616,7 +5792,7 @@ export declare const webchatContract: {
|
|
5616
5792
|
previewUrl: string;
|
5617
5793
|
imageSetId: string;
|
5618
5794
|
repliedMessage: {
|
5619
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5795
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5620
5796
|
message: string;
|
5621
5797
|
id: string;
|
5622
5798
|
url: string;
|
@@ -5668,7 +5844,6 @@ export declare const webchatContract: {
|
|
5668
5844
|
telephonySignature: string | null;
|
5669
5845
|
};
|
5670
5846
|
};
|
5671
|
-
platformId: string;
|
5672
5847
|
upload: {
|
5673
5848
|
id: string;
|
5674
5849
|
createdAt: Date;
|
@@ -5725,6 +5900,7 @@ export declare const webchatContract: {
|
|
5725
5900
|
telephonySignature: string | null;
|
5726
5901
|
};
|
5727
5902
|
};
|
5903
|
+
platformId: string;
|
5728
5904
|
readAt: Date;
|
5729
5905
|
platformMessageId: string;
|
5730
5906
|
replyPlatformMessageId: string;
|
@@ -5825,7 +6001,7 @@ export declare const webchatContract: {
|
|
5825
6001
|
metadata?: any;
|
5826
6002
|
template?: any;
|
5827
6003
|
}, {
|
5828
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6004
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5829
6005
|
message: string;
|
5830
6006
|
id: string;
|
5831
6007
|
url: string;
|
@@ -5877,7 +6053,6 @@ export declare const webchatContract: {
|
|
5877
6053
|
telephonySignature: string | null;
|
5878
6054
|
};
|
5879
6055
|
};
|
5880
|
-
platformId: string;
|
5881
6056
|
upload: {
|
5882
6057
|
id: string;
|
5883
6058
|
createdAt: Date;
|
@@ -5934,6 +6109,7 @@ export declare const webchatContract: {
|
|
5934
6109
|
telephonySignature: string | null;
|
5935
6110
|
};
|
5936
6111
|
};
|
6112
|
+
platformId: string;
|
5937
6113
|
room: {
|
5938
6114
|
id: string;
|
5939
6115
|
channel: {
|
@@ -5946,6 +6122,7 @@ export declare const webchatContract: {
|
|
5946
6122
|
accessToken?: string | undefined;
|
5947
6123
|
channelSecret?: string | undefined;
|
5948
6124
|
additionalCredentials?: any;
|
6125
|
+
lineRichMenuId?: string | null | undefined;
|
5949
6126
|
};
|
5950
6127
|
status: boolean;
|
5951
6128
|
createdAt: Date;
|
@@ -6000,6 +6177,13 @@ export declare const webchatContract: {
|
|
6000
6177
|
isReloginRequired: boolean;
|
6001
6178
|
connectedUserName: string;
|
6002
6179
|
connectedUserId: string;
|
6180
|
+
botpressBot: {
|
6181
|
+
id: string;
|
6182
|
+
name: string;
|
6183
|
+
accessToken: string;
|
6184
|
+
botId: string;
|
6185
|
+
integrationId: string;
|
6186
|
+
} | null;
|
6003
6187
|
};
|
6004
6188
|
direction: "incoming" | "outgoing" | "system";
|
6005
6189
|
status: number;
|
@@ -6214,6 +6398,7 @@ export declare const webchatContract: {
|
|
6214
6398
|
};
|
6215
6399
|
closedAt: Date;
|
6216
6400
|
lastMessageAt: Date | null;
|
6401
|
+
isBotRoom: boolean;
|
6217
6402
|
cxlog: {
|
6218
6403
|
id: string;
|
6219
6404
|
channel: string | null;
|
@@ -6280,9 +6465,27 @@ export declare const webchatContract: {
|
|
6280
6465
|
booleanValue: boolean | null;
|
6281
6466
|
numberValue: number | null;
|
6282
6467
|
dateValue: Date | null;
|
6283
|
-
}[] | undefined;
|
6468
|
+
}[] | null | undefined;
|
6284
6469
|
} | null;
|
6285
6470
|
};
|
6471
|
+
workflowRule: {
|
6472
|
+
type: string;
|
6473
|
+
id: string;
|
6474
|
+
name: string;
|
6475
|
+
createdAt: Date;
|
6476
|
+
updatedAt: Date;
|
6477
|
+
deletedAt: Date | null;
|
6478
|
+
isActive: boolean;
|
6479
|
+
};
|
6480
|
+
};
|
6481
|
+
workflowRule: {
|
6482
|
+
type: string;
|
6483
|
+
id: string;
|
6484
|
+
name: string;
|
6485
|
+
createdAt: Date;
|
6486
|
+
updatedAt: Date;
|
6487
|
+
deletedAt: Date | null;
|
6488
|
+
isActive: boolean;
|
6286
6489
|
};
|
6287
6490
|
readAt: Date;
|
6288
6491
|
platformMessageId: string;
|
@@ -6291,7 +6494,7 @@ export declare const webchatContract: {
|
|
6291
6494
|
previewUrl: string;
|
6292
6495
|
imageSetId: string;
|
6293
6496
|
repliedMessage: {
|
6294
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6497
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6295
6498
|
message: string;
|
6296
6499
|
id: string;
|
6297
6500
|
url: string;
|
@@ -6343,7 +6546,6 @@ export declare const webchatContract: {
|
|
6343
6546
|
telephonySignature: string | null;
|
6344
6547
|
};
|
6345
6548
|
};
|
6346
|
-
platformId: string;
|
6347
6549
|
upload: {
|
6348
6550
|
id: string;
|
6349
6551
|
createdAt: Date;
|
@@ -6400,6 +6602,7 @@ export declare const webchatContract: {
|
|
6400
6602
|
telephonySignature: string | null;
|
6401
6603
|
};
|
6402
6604
|
};
|
6605
|
+
platformId: string;
|
6403
6606
|
readAt: Date;
|
6404
6607
|
platformMessageId: string;
|
6405
6608
|
replyPlatformMessageId: string;
|
@@ -6502,7 +6705,7 @@ export declare const webchatContract: {
|
|
6502
6705
|
}>;
|
6503
6706
|
}, "strip", z.ZodTypeAny, {
|
6504
6707
|
data: {
|
6505
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6708
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6506
6709
|
message: string;
|
6507
6710
|
id: string;
|
6508
6711
|
url: string;
|
@@ -6554,7 +6757,6 @@ export declare const webchatContract: {
|
|
6554
6757
|
telephonySignature: string | null;
|
6555
6758
|
};
|
6556
6759
|
};
|
6557
|
-
platformId: string;
|
6558
6760
|
upload: {
|
6559
6761
|
id: string;
|
6560
6762
|
createdAt: Date;
|
@@ -6611,6 +6813,7 @@ export declare const webchatContract: {
|
|
6611
6813
|
telephonySignature: string | null;
|
6612
6814
|
};
|
6613
6815
|
};
|
6816
|
+
platformId: string;
|
6614
6817
|
room: {
|
6615
6818
|
id: string;
|
6616
6819
|
channel: {
|
@@ -6623,6 +6826,7 @@ export declare const webchatContract: {
|
|
6623
6826
|
accessToken?: string | undefined;
|
6624
6827
|
channelSecret?: string | undefined;
|
6625
6828
|
additionalCredentials?: any;
|
6829
|
+
lineRichMenuId?: string | null | undefined;
|
6626
6830
|
};
|
6627
6831
|
status: boolean;
|
6628
6832
|
createdAt: Date;
|
@@ -6677,6 +6881,13 @@ export declare const webchatContract: {
|
|
6677
6881
|
isReloginRequired: boolean;
|
6678
6882
|
connectedUserName: string;
|
6679
6883
|
connectedUserId: string;
|
6884
|
+
botpressBot: {
|
6885
|
+
id: string;
|
6886
|
+
name: string;
|
6887
|
+
accessToken: string;
|
6888
|
+
botId: string;
|
6889
|
+
integrationId: string;
|
6890
|
+
} | null;
|
6680
6891
|
};
|
6681
6892
|
direction: "incoming" | "outgoing" | "system";
|
6682
6893
|
status: number;
|
@@ -6891,6 +7102,7 @@ export declare const webchatContract: {
|
|
6891
7102
|
};
|
6892
7103
|
closedAt: Date;
|
6893
7104
|
lastMessageAt: Date | null;
|
7105
|
+
isBotRoom: boolean;
|
6894
7106
|
cxlog: {
|
6895
7107
|
id: string;
|
6896
7108
|
channel: string | null;
|
@@ -6957,9 +7169,27 @@ export declare const webchatContract: {
|
|
6957
7169
|
booleanValue: boolean | null;
|
6958
7170
|
numberValue: number | null;
|
6959
7171
|
dateValue: Date | null;
|
6960
|
-
}[] | undefined;
|
7172
|
+
}[] | null | undefined;
|
6961
7173
|
} | null;
|
6962
7174
|
};
|
7175
|
+
workflowRule: {
|
7176
|
+
type: string;
|
7177
|
+
id: string;
|
7178
|
+
name: string;
|
7179
|
+
createdAt: Date;
|
7180
|
+
updatedAt: Date;
|
7181
|
+
deletedAt: Date | null;
|
7182
|
+
isActive: boolean;
|
7183
|
+
};
|
7184
|
+
};
|
7185
|
+
workflowRule: {
|
7186
|
+
type: string;
|
7187
|
+
id: string;
|
7188
|
+
name: string;
|
7189
|
+
createdAt: Date;
|
7190
|
+
updatedAt: Date;
|
7191
|
+
deletedAt: Date | null;
|
7192
|
+
isActive: boolean;
|
6963
7193
|
};
|
6964
7194
|
readAt: Date;
|
6965
7195
|
platformMessageId: string;
|
@@ -6968,7 +7198,7 @@ export declare const webchatContract: {
|
|
6968
7198
|
previewUrl: string;
|
6969
7199
|
imageSetId: string;
|
6970
7200
|
repliedMessage: {
|
6971
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7201
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6972
7202
|
message: string;
|
6973
7203
|
id: string;
|
6974
7204
|
url: string;
|
@@ -7020,7 +7250,6 @@ export declare const webchatContract: {
|
|
7020
7250
|
telephonySignature: string | null;
|
7021
7251
|
};
|
7022
7252
|
};
|
7023
|
-
platformId: string;
|
7024
7253
|
upload: {
|
7025
7254
|
id: string;
|
7026
7255
|
createdAt: Date;
|
@@ -7077,6 +7306,7 @@ export declare const webchatContract: {
|
|
7077
7306
|
telephonySignature: string | null;
|
7078
7307
|
};
|
7079
7308
|
};
|
7309
|
+
platformId: string;
|
7080
7310
|
readAt: Date;
|
7081
7311
|
platformMessageId: string;
|
7082
7312
|
replyPlatformMessageId: string;
|
@@ -7180,7 +7410,7 @@ export declare const webchatContract: {
|
|
7180
7410
|
requestId: string;
|
7181
7411
|
}, {
|
7182
7412
|
data: {
|
7183
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7413
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7184
7414
|
message: string;
|
7185
7415
|
id: string;
|
7186
7416
|
url: string;
|
@@ -7232,7 +7462,6 @@ export declare const webchatContract: {
|
|
7232
7462
|
telephonySignature: string | null;
|
7233
7463
|
};
|
7234
7464
|
};
|
7235
|
-
platformId: string;
|
7236
7465
|
upload: {
|
7237
7466
|
id: string;
|
7238
7467
|
createdAt: Date;
|
@@ -7289,6 +7518,7 @@ export declare const webchatContract: {
|
|
7289
7518
|
telephonySignature: string | null;
|
7290
7519
|
};
|
7291
7520
|
};
|
7521
|
+
platformId: string;
|
7292
7522
|
room: {
|
7293
7523
|
id: string;
|
7294
7524
|
channel: {
|
@@ -7301,6 +7531,7 @@ export declare const webchatContract: {
|
|
7301
7531
|
accessToken?: string | undefined;
|
7302
7532
|
channelSecret?: string | undefined;
|
7303
7533
|
additionalCredentials?: any;
|
7534
|
+
lineRichMenuId?: string | null | undefined;
|
7304
7535
|
};
|
7305
7536
|
status: boolean;
|
7306
7537
|
createdAt: Date;
|
@@ -7355,6 +7586,13 @@ export declare const webchatContract: {
|
|
7355
7586
|
isReloginRequired: boolean;
|
7356
7587
|
connectedUserName: string;
|
7357
7588
|
connectedUserId: string;
|
7589
|
+
botpressBot: {
|
7590
|
+
id: string;
|
7591
|
+
name: string;
|
7592
|
+
accessToken: string;
|
7593
|
+
botId: string;
|
7594
|
+
integrationId: string;
|
7595
|
+
} | null;
|
7358
7596
|
};
|
7359
7597
|
direction: "incoming" | "outgoing" | "system";
|
7360
7598
|
status: number;
|
@@ -7569,6 +7807,7 @@ export declare const webchatContract: {
|
|
7569
7807
|
};
|
7570
7808
|
closedAt: Date;
|
7571
7809
|
lastMessageAt: Date | null;
|
7810
|
+
isBotRoom: boolean;
|
7572
7811
|
cxlog: {
|
7573
7812
|
id: string;
|
7574
7813
|
channel: string | null;
|
@@ -7635,9 +7874,27 @@ export declare const webchatContract: {
|
|
7635
7874
|
booleanValue: boolean | null;
|
7636
7875
|
numberValue: number | null;
|
7637
7876
|
dateValue: Date | null;
|
7638
|
-
}[] | undefined;
|
7877
|
+
}[] | null | undefined;
|
7639
7878
|
} | null;
|
7640
7879
|
};
|
7880
|
+
workflowRule: {
|
7881
|
+
type: string;
|
7882
|
+
id: string;
|
7883
|
+
name: string;
|
7884
|
+
createdAt: Date;
|
7885
|
+
updatedAt: Date;
|
7886
|
+
deletedAt: Date | null;
|
7887
|
+
isActive: boolean;
|
7888
|
+
};
|
7889
|
+
};
|
7890
|
+
workflowRule: {
|
7891
|
+
type: string;
|
7892
|
+
id: string;
|
7893
|
+
name: string;
|
7894
|
+
createdAt: Date;
|
7895
|
+
updatedAt: Date;
|
7896
|
+
deletedAt: Date | null;
|
7897
|
+
isActive: boolean;
|
7641
7898
|
};
|
7642
7899
|
readAt: Date;
|
7643
7900
|
platformMessageId: string;
|
@@ -7646,7 +7903,7 @@ export declare const webchatContract: {
|
|
7646
7903
|
previewUrl: string;
|
7647
7904
|
imageSetId: string;
|
7648
7905
|
repliedMessage: {
|
7649
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7906
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7650
7907
|
message: string;
|
7651
7908
|
id: string;
|
7652
7909
|
url: string;
|
@@ -7698,7 +7955,6 @@ export declare const webchatContract: {
|
|
7698
7955
|
telephonySignature: string | null;
|
7699
7956
|
};
|
7700
7957
|
};
|
7701
|
-
platformId: string;
|
7702
7958
|
upload: {
|
7703
7959
|
id: string;
|
7704
7960
|
createdAt: Date;
|
@@ -7755,6 +8011,7 @@ export declare const webchatContract: {
|
|
7755
8011
|
telephonySignature: string | null;
|
7756
8012
|
};
|
7757
8013
|
};
|
8014
|
+
platformId: string;
|
7758
8015
|
readAt: Date;
|
7759
8016
|
platformMessageId: string;
|
7760
8017
|
replyPlatformMessageId: string;
|
@@ -7992,18 +8249,21 @@ export declare const webchatContract: {
|
|
7992
8249
|
accessToken: z.ZodOptional<z.ZodString>;
|
7993
8250
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7994
8251
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8252
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
7995
8253
|
}, "strip", z.ZodTypeAny, {
|
7996
8254
|
id: string;
|
7997
8255
|
name: string;
|
7998
8256
|
accessToken?: string | undefined;
|
7999
8257
|
channelSecret?: string | undefined;
|
8000
8258
|
additionalCredentials?: any;
|
8259
|
+
lineRichMenuId?: string | null | undefined;
|
8001
8260
|
}, {
|
8002
8261
|
id: string;
|
8003
8262
|
name: string;
|
8004
8263
|
accessToken?: string | undefined;
|
8005
8264
|
channelSecret?: string | undefined;
|
8006
8265
|
additionalCredentials?: any;
|
8266
|
+
lineRichMenuId?: string | null | undefined;
|
8007
8267
|
}>;
|
8008
8268
|
brandName: z.ZodString;
|
8009
8269
|
platformId: z.ZodString;
|
@@ -8011,6 +8271,25 @@ export declare const webchatContract: {
|
|
8011
8271
|
isReloginRequired: z.ZodBoolean;
|
8012
8272
|
connectedUserName: z.ZodString;
|
8013
8273
|
connectedUserId: z.ZodString;
|
8274
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
8275
|
+
id: z.ZodString;
|
8276
|
+
name: z.ZodString;
|
8277
|
+
botId: z.ZodString;
|
8278
|
+
integrationId: z.ZodString;
|
8279
|
+
accessToken: z.ZodString;
|
8280
|
+
}, "strip", z.ZodTypeAny, {
|
8281
|
+
id: string;
|
8282
|
+
name: string;
|
8283
|
+
accessToken: string;
|
8284
|
+
botId: string;
|
8285
|
+
integrationId: string;
|
8286
|
+
}, {
|
8287
|
+
id: string;
|
8288
|
+
name: string;
|
8289
|
+
accessToken: string;
|
8290
|
+
botId: string;
|
8291
|
+
integrationId: string;
|
8292
|
+
}>>;
|
8014
8293
|
actor: z.ZodObject<{
|
8015
8294
|
id: z.ZodString;
|
8016
8295
|
createdAt: z.ZodDate;
|
@@ -8225,6 +8504,7 @@ export declare const webchatContract: {
|
|
8225
8504
|
accessToken?: string | undefined;
|
8226
8505
|
channelSecret?: string | undefined;
|
8227
8506
|
additionalCredentials?: any;
|
8507
|
+
lineRichMenuId?: string | null | undefined;
|
8228
8508
|
};
|
8229
8509
|
status: boolean;
|
8230
8510
|
createdAt: Date;
|
@@ -8279,6 +8559,13 @@ export declare const webchatContract: {
|
|
8279
8559
|
isReloginRequired: boolean;
|
8280
8560
|
connectedUserName: string;
|
8281
8561
|
connectedUserId: string;
|
8562
|
+
botpressBot: {
|
8563
|
+
id: string;
|
8564
|
+
name: string;
|
8565
|
+
accessToken: string;
|
8566
|
+
botId: string;
|
8567
|
+
integrationId: string;
|
8568
|
+
} | null;
|
8282
8569
|
}, {
|
8283
8570
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8284
8571
|
id: string;
|
@@ -8289,6 +8576,7 @@ export declare const webchatContract: {
|
|
8289
8576
|
accessToken?: string | undefined;
|
8290
8577
|
channelSecret?: string | undefined;
|
8291
8578
|
additionalCredentials?: any;
|
8579
|
+
lineRichMenuId?: string | null | undefined;
|
8292
8580
|
};
|
8293
8581
|
status: boolean;
|
8294
8582
|
createdAt: Date;
|
@@ -8343,6 +8631,13 @@ export declare const webchatContract: {
|
|
8343
8631
|
isReloginRequired: boolean;
|
8344
8632
|
connectedUserName: string;
|
8345
8633
|
connectedUserId: string;
|
8634
|
+
botpressBot: {
|
8635
|
+
id: string;
|
8636
|
+
name: string;
|
8637
|
+
accessToken: string;
|
8638
|
+
botId: string;
|
8639
|
+
integrationId: string;
|
8640
|
+
} | null;
|
8346
8641
|
}>;
|
8347
8642
|
}, "strip", z.ZodTypeAny, {
|
8348
8643
|
channel: {
|
@@ -8355,6 +8650,7 @@ export declare const webchatContract: {
|
|
8355
8650
|
accessToken?: string | undefined;
|
8356
8651
|
channelSecret?: string | undefined;
|
8357
8652
|
additionalCredentials?: any;
|
8653
|
+
lineRichMenuId?: string | null | undefined;
|
8358
8654
|
};
|
8359
8655
|
status: boolean;
|
8360
8656
|
createdAt: Date;
|
@@ -8409,6 +8705,13 @@ export declare const webchatContract: {
|
|
8409
8705
|
isReloginRequired: boolean;
|
8410
8706
|
connectedUserName: string;
|
8411
8707
|
connectedUserId: string;
|
8708
|
+
botpressBot: {
|
8709
|
+
id: string;
|
8710
|
+
name: string;
|
8711
|
+
accessToken: string;
|
8712
|
+
botId: string;
|
8713
|
+
integrationId: string;
|
8714
|
+
} | null;
|
8412
8715
|
};
|
8413
8716
|
requestId: string;
|
8414
8717
|
}, {
|
@@ -8422,6 +8725,7 @@ export declare const webchatContract: {
|
|
8422
8725
|
accessToken?: string | undefined;
|
8423
8726
|
channelSecret?: string | undefined;
|
8424
8727
|
additionalCredentials?: any;
|
8728
|
+
lineRichMenuId?: string | null | undefined;
|
8425
8729
|
};
|
8426
8730
|
status: boolean;
|
8427
8731
|
createdAt: Date;
|
@@ -8476,6 +8780,13 @@ export declare const webchatContract: {
|
|
8476
8780
|
isReloginRequired: boolean;
|
8477
8781
|
connectedUserName: string;
|
8478
8782
|
connectedUserId: string;
|
8783
|
+
botpressBot: {
|
8784
|
+
id: string;
|
8785
|
+
name: string;
|
8786
|
+
accessToken: string;
|
8787
|
+
botId: string;
|
8788
|
+
integrationId: string;
|
8789
|
+
} | null;
|
8479
8790
|
};
|
8480
8791
|
requestId: string;
|
8481
8792
|
}>;
|