@kl1/contracts 1.1.41-uat → 1.1.43-uat

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.
Files changed (40) hide show
  1. package/dist/index.js +2963 -2771
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2961 -2772
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/channel/index.d.ts +1692 -73
  6. package/dist/src/channel/index.d.ts.map +1 -1
  7. package/dist/src/channel/schema.d.ts +36 -0
  8. package/dist/src/channel/schema.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +7 -0
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +767 -59
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +136 -20
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +153 -61
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +3972 -1072
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +75 -0
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +61 -0
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/index.d.ts +1 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/instagram/index.d.ts +145 -53
  26. package/dist/src/instagram/index.d.ts.map +1 -1
  27. package/dist/src/line/index.d.ts +150 -58
  28. package/dist/src/line/index.d.ts.map +1 -1
  29. package/dist/src/line/validation.d.ts +5 -5
  30. package/dist/src/messenger/index.d.ts +180 -54
  31. package/dist/src/messenger/index.d.ts.map +1 -1
  32. package/dist/src/messenger/validation.d.ts +43 -0
  33. package/dist/src/messenger/validation.d.ts.map +1 -1
  34. package/dist/src/viber/index.d.ts +286 -53
  35. package/dist/src/viber/index.d.ts.map +1 -1
  36. package/dist/src/webchat/index.d.ts +192 -53
  37. package/dist/src/webchat/index.d.ts.map +1 -1
  38. package/dist/src/workflow-rule/index.d.ts +132 -0
  39. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  40. package/package.json +4 -10
@@ -28,7 +28,7 @@ export declare const receiveMessageContract: {
28
28
  deletedAt: z.ZodNullable<z.ZodString>;
29
29
  message: z.ZodOptional<z.ZodString>;
30
30
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
31
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
31
+ 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"]>;
32
32
  metadata: z.ZodAny;
33
33
  platformId: z.ZodString;
34
34
  platformMessageId: z.ZodString;
@@ -3166,7 +3166,7 @@ export declare const receiveMessageContract: {
3166
3166
  };
3167
3167
  }>>>;
3168
3168
  }, "strip", z.ZodTypeAny, {
3169
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
3169
+ 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";
3170
3170
  id: string;
3171
3171
  direction: "incoming" | "outgoing" | "system";
3172
3172
  createdAt: string;
@@ -3634,7 +3634,7 @@ export declare const receiveMessageContract: {
3634
3634
  };
3635
3635
  } | null | undefined;
3636
3636
  }, {
3637
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
3637
+ 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";
3638
3638
  id: string;
3639
3639
  direction: "incoming" | "outgoing" | "system";
3640
3640
  createdAt: string;
@@ -4104,7 +4104,7 @@ export declare const receiveMessageContract: {
4104
4104
  }>;
4105
4105
  }, "strip", z.ZodTypeAny, {
4106
4106
  message: {
4107
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4107
+ 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";
4108
4108
  id: string;
4109
4109
  direction: "incoming" | "outgoing" | "system";
4110
4110
  createdAt: string;
@@ -4574,7 +4574,7 @@ export declare const receiveMessageContract: {
4574
4574
  };
4575
4575
  }, {
4576
4576
  message: {
4577
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4577
+ 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";
4578
4578
  id: string;
4579
4579
  direction: "incoming" | "outgoing" | "system";
4580
4580
  createdAt: string;
@@ -5224,6 +5224,7 @@ export declare const chatContract: {
5224
5224
  firstResponseAt: z.ZodDate;
5225
5225
  firstResponseTime: z.ZodNumber;
5226
5226
  isLatest: z.ZodBoolean;
5227
+ isBotRoom: z.ZodBoolean;
5227
5228
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5228
5229
  platformContact: z.ZodObject<{
5229
5230
  id: z.ZodString;
@@ -6599,6 +6600,25 @@ export declare const chatContract: {
6599
6600
  isReloginRequired: z.ZodBoolean;
6600
6601
  connectedUserName: z.ZodString;
6601
6602
  connectedUserId: z.ZodString;
6603
+ botpressBot: z.ZodNullable<z.ZodObject<{
6604
+ id: z.ZodString;
6605
+ name: z.ZodString;
6606
+ botId: z.ZodString;
6607
+ integrationId: z.ZodString;
6608
+ accessToken: z.ZodString;
6609
+ }, "strip", z.ZodTypeAny, {
6610
+ id: string;
6611
+ name: string;
6612
+ accessToken: string;
6613
+ botId: string;
6614
+ integrationId: string;
6615
+ }, {
6616
+ id: string;
6617
+ name: string;
6618
+ accessToken: string;
6619
+ botId: string;
6620
+ integrationId: string;
6621
+ }>>;
6602
6622
  actor: z.ZodObject<{
6603
6623
  id: z.ZodString;
6604
6624
  createdAt: z.ZodDate;
@@ -6867,6 +6887,13 @@ export declare const chatContract: {
6867
6887
  isReloginRequired: boolean;
6868
6888
  connectedUserName: string;
6869
6889
  connectedUserId: string;
6890
+ botpressBot: {
6891
+ id: string;
6892
+ name: string;
6893
+ accessToken: string;
6894
+ botId: string;
6895
+ integrationId: string;
6896
+ } | null;
6870
6897
  }, {
6871
6898
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6872
6899
  id: string;
@@ -6931,6 +6958,13 @@ export declare const chatContract: {
6931
6958
  isReloginRequired: boolean;
6932
6959
  connectedUserName: string;
6933
6960
  connectedUserId: string;
6961
+ botpressBot: {
6962
+ id: string;
6963
+ name: string;
6964
+ accessToken: string;
6965
+ botId: string;
6966
+ integrationId: string;
6967
+ } | null;
6934
6968
  }>;
6935
6969
  cxlog: z.ZodObject<{
6936
6970
  id: z.ZodString;
@@ -7442,6 +7476,13 @@ export declare const chatContract: {
7442
7476
  isReloginRequired: boolean;
7443
7477
  connectedUserName: string;
7444
7478
  connectedUserId: string;
7479
+ botpressBot: {
7480
+ id: string;
7481
+ name: string;
7482
+ accessToken: string;
7483
+ botId: string;
7484
+ integrationId: string;
7485
+ } | null;
7445
7486
  };
7446
7487
  direction: "incoming" | "outgoing" | "system";
7447
7488
  status: number;
@@ -7656,6 +7697,7 @@ export declare const chatContract: {
7656
7697
  };
7657
7698
  closedAt: Date;
7658
7699
  lastMessageAt: Date | null;
7700
+ isBotRoom: boolean;
7659
7701
  cxlog: {
7660
7702
  id: string;
7661
7703
  channel: string | null;
@@ -7800,6 +7842,13 @@ export declare const chatContract: {
7800
7842
  isReloginRequired: boolean;
7801
7843
  connectedUserName: string;
7802
7844
  connectedUserId: string;
7845
+ botpressBot: {
7846
+ id: string;
7847
+ name: string;
7848
+ accessToken: string;
7849
+ botId: string;
7850
+ integrationId: string;
7851
+ } | null;
7803
7852
  };
7804
7853
  direction: "incoming" | "outgoing" | "system";
7805
7854
  status: number;
@@ -8014,6 +8063,7 @@ export declare const chatContract: {
8014
8063
  };
8015
8064
  closedAt: Date;
8016
8065
  lastMessageAt: Date | null;
8066
+ isBotRoom: boolean;
8017
8067
  cxlog: {
8018
8068
  id: string;
8019
8069
  channel: string | null;
@@ -8170,6 +8220,13 @@ export declare const chatContract: {
8170
8220
  isReloginRequired: boolean;
8171
8221
  connectedUserName: string;
8172
8222
  connectedUserId: string;
8223
+ botpressBot: {
8224
+ id: string;
8225
+ name: string;
8226
+ accessToken: string;
8227
+ botId: string;
8228
+ integrationId: string;
8229
+ } | null;
8173
8230
  };
8174
8231
  direction: "incoming" | "outgoing" | "system";
8175
8232
  status: number;
@@ -8384,6 +8441,7 @@ export declare const chatContract: {
8384
8441
  };
8385
8442
  closedAt: Date;
8386
8443
  lastMessageAt: Date | null;
8444
+ isBotRoom: boolean;
8387
8445
  cxlog: {
8388
8446
  id: string;
8389
8447
  channel: string | null;
@@ -8538,6 +8596,13 @@ export declare const chatContract: {
8538
8596
  isReloginRequired: boolean;
8539
8597
  connectedUserName: string;
8540
8598
  connectedUserId: string;
8599
+ botpressBot: {
8600
+ id: string;
8601
+ name: string;
8602
+ accessToken: string;
8603
+ botId: string;
8604
+ integrationId: string;
8605
+ } | null;
8541
8606
  };
8542
8607
  direction: "incoming" | "outgoing" | "system";
8543
8608
  status: number;
@@ -8752,6 +8817,7 @@ export declare const chatContract: {
8752
8817
  };
8753
8818
  closedAt: Date;
8754
8819
  lastMessageAt: Date | null;
8820
+ isBotRoom: boolean;
8755
8821
  cxlog: {
8756
8822
  id: string;
8757
8823
  channel: string | null;
@@ -9850,6 +9916,7 @@ export declare const chatContract: {
9850
9916
  firstResponseAt: z.ZodDate;
9851
9917
  firstResponseTime: z.ZodNumber;
9852
9918
  isLatest: z.ZodBoolean;
9919
+ isBotRoom: z.ZodBoolean;
9853
9920
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9854
9921
  platformContact: z.ZodObject<{
9855
9922
  id: z.ZodString;
@@ -11225,6 +11292,25 @@ export declare const chatContract: {
11225
11292
  isReloginRequired: z.ZodBoolean;
11226
11293
  connectedUserName: z.ZodString;
11227
11294
  connectedUserId: z.ZodString;
11295
+ botpressBot: z.ZodNullable<z.ZodObject<{
11296
+ id: z.ZodString;
11297
+ name: z.ZodString;
11298
+ botId: z.ZodString;
11299
+ integrationId: z.ZodString;
11300
+ accessToken: z.ZodString;
11301
+ }, "strip", z.ZodTypeAny, {
11302
+ id: string;
11303
+ name: string;
11304
+ accessToken: string;
11305
+ botId: string;
11306
+ integrationId: string;
11307
+ }, {
11308
+ id: string;
11309
+ name: string;
11310
+ accessToken: string;
11311
+ botId: string;
11312
+ integrationId: string;
11313
+ }>>;
11228
11314
  actor: z.ZodObject<{
11229
11315
  id: z.ZodString;
11230
11316
  createdAt: z.ZodDate;
@@ -11493,6 +11579,13 @@ export declare const chatContract: {
11493
11579
  isReloginRequired: boolean;
11494
11580
  connectedUserName: string;
11495
11581
  connectedUserId: string;
11582
+ botpressBot: {
11583
+ id: string;
11584
+ name: string;
11585
+ accessToken: string;
11586
+ botId: string;
11587
+ integrationId: string;
11588
+ } | null;
11496
11589
  }, {
11497
11590
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
11498
11591
  id: string;
@@ -11557,6 +11650,13 @@ export declare const chatContract: {
11557
11650
  isReloginRequired: boolean;
11558
11651
  connectedUserName: string;
11559
11652
  connectedUserId: string;
11653
+ botpressBot: {
11654
+ id: string;
11655
+ name: string;
11656
+ accessToken: string;
11657
+ botId: string;
11658
+ integrationId: string;
11659
+ } | null;
11560
11660
  }>;
11561
11661
  cxlog: z.ZodObject<{
11562
11662
  id: z.ZodString;
@@ -12068,6 +12168,13 @@ export declare const chatContract: {
12068
12168
  isReloginRequired: boolean;
12069
12169
  connectedUserName: string;
12070
12170
  connectedUserId: string;
12171
+ botpressBot: {
12172
+ id: string;
12173
+ name: string;
12174
+ accessToken: string;
12175
+ botId: string;
12176
+ integrationId: string;
12177
+ } | null;
12071
12178
  };
12072
12179
  direction: "incoming" | "outgoing" | "system";
12073
12180
  status: number;
@@ -12282,6 +12389,7 @@ export declare const chatContract: {
12282
12389
  };
12283
12390
  closedAt: Date;
12284
12391
  lastMessageAt: Date | null;
12392
+ isBotRoom: boolean;
12285
12393
  cxlog: {
12286
12394
  id: string;
12287
12395
  channel: string | null;
@@ -12426,6 +12534,13 @@ export declare const chatContract: {
12426
12534
  isReloginRequired: boolean;
12427
12535
  connectedUserName: string;
12428
12536
  connectedUserId: string;
12537
+ botpressBot: {
12538
+ id: string;
12539
+ name: string;
12540
+ accessToken: string;
12541
+ botId: string;
12542
+ integrationId: string;
12543
+ } | null;
12429
12544
  };
12430
12545
  direction: "incoming" | "outgoing" | "system";
12431
12546
  status: number;
@@ -12640,6 +12755,7 @@ export declare const chatContract: {
12640
12755
  };
12641
12756
  closedAt: Date;
12642
12757
  lastMessageAt: Date | null;
12758
+ isBotRoom: boolean;
12643
12759
  cxlog: {
12644
12760
  id: string;
12645
12761
  channel: string | null;
@@ -12786,6 +12902,13 @@ export declare const chatContract: {
12786
12902
  isReloginRequired: boolean;
12787
12903
  connectedUserName: string;
12788
12904
  connectedUserId: string;
12905
+ botpressBot: {
12906
+ id: string;
12907
+ name: string;
12908
+ accessToken: string;
12909
+ botId: string;
12910
+ integrationId: string;
12911
+ } | null;
12789
12912
  };
12790
12913
  direction: "incoming" | "outgoing" | "system";
12791
12914
  status: number;
@@ -13000,6 +13123,7 @@ export declare const chatContract: {
13000
13123
  };
13001
13124
  closedAt: Date;
13002
13125
  lastMessageAt: Date | null;
13126
+ isBotRoom: boolean;
13003
13127
  cxlog: {
13004
13128
  id: string;
13005
13129
  channel: string | null;
@@ -13147,6 +13271,13 @@ export declare const chatContract: {
13147
13271
  isReloginRequired: boolean;
13148
13272
  connectedUserName: string;
13149
13273
  connectedUserId: string;
13274
+ botpressBot: {
13275
+ id: string;
13276
+ name: string;
13277
+ accessToken: string;
13278
+ botId: string;
13279
+ integrationId: string;
13280
+ } | null;
13150
13281
  };
13151
13282
  direction: "incoming" | "outgoing" | "system";
13152
13283
  status: number;
@@ -13361,6 +13492,7 @@ export declare const chatContract: {
13361
13492
  };
13362
13493
  closedAt: Date;
13363
13494
  lastMessageAt: Date | null;
13495
+ isBotRoom: boolean;
13364
13496
  cxlog: {
13365
13497
  id: string;
13366
13498
  channel: string | null;
@@ -13464,7 +13596,7 @@ export declare const chatContract: {
13464
13596
  sendMessage: {
13465
13597
  body: z.ZodObject<{
13466
13598
  roomId: z.ZodString;
13467
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
13599
+ messageType: 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"]>;
13468
13600
  message: z.ZodOptional<z.ZodString>;
13469
13601
  messageAttachments: z.ZodOptional<z.ZodObject<{
13470
13602
  bucketName: z.ZodString;
@@ -13708,7 +13840,7 @@ export declare const chatContract: {
13708
13840
  file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
13709
13841
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
13710
13842
  }, "strip", z.ZodTypeAny, {
13711
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13843
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13712
13844
  roomId: string;
13713
13845
  message?: string | undefined;
13714
13846
  messageAttachments?: {
@@ -13771,7 +13903,7 @@ export declare const chatContract: {
13771
13903
  file?: File | undefined;
13772
13904
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
13773
13905
  }, {
13774
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13906
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13775
13907
  roomId: string;
13776
13908
  message?: string | undefined;
13777
13909
  messageAttachments?: {
@@ -13846,7 +13978,7 @@ export declare const chatContract: {
13846
13978
  deletedAt: z.ZodNullable<z.ZodDate>;
13847
13979
  message: z.ZodString;
13848
13980
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13849
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
13981
+ 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"]>;
13850
13982
  readAt: z.ZodDate;
13851
13983
  metadata: z.ZodAny;
13852
13984
  platformId: z.ZodString;
@@ -13871,6 +14003,7 @@ export declare const chatContract: {
13871
14003
  firstResponseAt: z.ZodDate;
13872
14004
  firstResponseTime: z.ZodNumber;
13873
14005
  isLatest: z.ZodBoolean;
14006
+ isBotRoom: z.ZodBoolean;
13874
14007
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13875
14008
  platformContact: z.ZodObject<{
13876
14009
  id: z.ZodString;
@@ -15246,6 +15379,25 @@ export declare const chatContract: {
15246
15379
  isReloginRequired: z.ZodBoolean;
15247
15380
  connectedUserName: z.ZodString;
15248
15381
  connectedUserId: z.ZodString;
15382
+ botpressBot: z.ZodNullable<z.ZodObject<{
15383
+ id: z.ZodString;
15384
+ name: z.ZodString;
15385
+ botId: z.ZodString;
15386
+ integrationId: z.ZodString;
15387
+ accessToken: z.ZodString;
15388
+ }, "strip", z.ZodTypeAny, {
15389
+ id: string;
15390
+ name: string;
15391
+ accessToken: string;
15392
+ botId: string;
15393
+ integrationId: string;
15394
+ }, {
15395
+ id: string;
15396
+ name: string;
15397
+ accessToken: string;
15398
+ botId: string;
15399
+ integrationId: string;
15400
+ }>>;
15249
15401
  actor: z.ZodObject<{
15250
15402
  id: z.ZodString;
15251
15403
  createdAt: z.ZodDate;
@@ -15514,6 +15666,13 @@ export declare const chatContract: {
15514
15666
  isReloginRequired: boolean;
15515
15667
  connectedUserName: string;
15516
15668
  connectedUserId: string;
15669
+ botpressBot: {
15670
+ id: string;
15671
+ name: string;
15672
+ accessToken: string;
15673
+ botId: string;
15674
+ integrationId: string;
15675
+ } | null;
15517
15676
  }, {
15518
15677
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
15519
15678
  id: string;
@@ -15578,6 +15737,13 @@ export declare const chatContract: {
15578
15737
  isReloginRequired: boolean;
15579
15738
  connectedUserName: string;
15580
15739
  connectedUserId: string;
15740
+ botpressBot: {
15741
+ id: string;
15742
+ name: string;
15743
+ accessToken: string;
15744
+ botId: string;
15745
+ integrationId: string;
15746
+ } | null;
15581
15747
  }>;
15582
15748
  cxlog: z.ZodObject<{
15583
15749
  id: z.ZodString;
@@ -16089,6 +16255,13 @@ export declare const chatContract: {
16089
16255
  isReloginRequired: boolean;
16090
16256
  connectedUserName: string;
16091
16257
  connectedUserId: string;
16258
+ botpressBot: {
16259
+ id: string;
16260
+ name: string;
16261
+ accessToken: string;
16262
+ botId: string;
16263
+ integrationId: string;
16264
+ } | null;
16092
16265
  };
16093
16266
  direction: "incoming" | "outgoing" | "system";
16094
16267
  status: number;
@@ -16303,6 +16476,7 @@ export declare const chatContract: {
16303
16476
  };
16304
16477
  closedAt: Date;
16305
16478
  lastMessageAt: Date | null;
16479
+ isBotRoom: boolean;
16306
16480
  cxlog: {
16307
16481
  id: string;
16308
16482
  channel: string | null;
@@ -16447,6 +16621,13 @@ export declare const chatContract: {
16447
16621
  isReloginRequired: boolean;
16448
16622
  connectedUserName: string;
16449
16623
  connectedUserId: string;
16624
+ botpressBot: {
16625
+ id: string;
16626
+ name: string;
16627
+ accessToken: string;
16628
+ botId: string;
16629
+ integrationId: string;
16630
+ } | null;
16450
16631
  };
16451
16632
  direction: "incoming" | "outgoing" | "system";
16452
16633
  status: number;
@@ -16661,6 +16842,7 @@ export declare const chatContract: {
16661
16842
  };
16662
16843
  closedAt: Date;
16663
16844
  lastMessageAt: Date | null;
16845
+ isBotRoom: boolean;
16664
16846
  cxlog: {
16665
16847
  id: string;
16666
16848
  channel: string | null;
@@ -16781,7 +16963,7 @@ export declare const chatContract: {
16781
16963
  deletedAt: z.ZodNullable<z.ZodDate>;
16782
16964
  message: z.ZodString;
16783
16965
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
16784
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
16966
+ 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"]>;
16785
16967
  readAt: z.ZodDate;
16786
16968
  metadata: z.ZodAny;
16787
16969
  platformId: z.ZodString;
@@ -17439,7 +17621,7 @@ export declare const chatContract: {
17439
17621
  };
17440
17622
  }>;
17441
17623
  }, "strip", z.ZodTypeAny, {
17442
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
17624
+ 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";
17443
17625
  message: string;
17444
17626
  id: string;
17445
17627
  url: string;
@@ -17491,7 +17673,6 @@ export declare const chatContract: {
17491
17673
  telephonySignature: string | null;
17492
17674
  };
17493
17675
  };
17494
- platformId: string;
17495
17676
  upload: {
17496
17677
  id: string;
17497
17678
  status: string | null;
@@ -17548,6 +17729,7 @@ export declare const chatContract: {
17548
17729
  telephonySignature: string | null;
17549
17730
  };
17550
17731
  };
17732
+ platformId: string;
17551
17733
  readAt: Date;
17552
17734
  platformMessageId: string;
17553
17735
  replyPlatformMessageId: string;
@@ -17601,7 +17783,7 @@ export declare const chatContract: {
17601
17783
  metadata?: any;
17602
17784
  template?: any;
17603
17785
  }, {
17604
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
17786
+ 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";
17605
17787
  message: string;
17606
17788
  id: string;
17607
17789
  url: string;
@@ -17653,7 +17835,6 @@ export declare const chatContract: {
17653
17835
  telephonySignature: string | null;
17654
17836
  };
17655
17837
  };
17656
- platformId: string;
17657
17838
  upload: {
17658
17839
  id: string;
17659
17840
  status: string | null;
@@ -17710,6 +17891,7 @@ export declare const chatContract: {
17710
17891
  telephonySignature: string | null;
17711
17892
  };
17712
17893
  };
17894
+ platformId: string;
17713
17895
  readAt: Date;
17714
17896
  platformMessageId: string;
17715
17897
  replyPlatformMessageId: string;
@@ -18401,7 +18583,7 @@ export declare const chatContract: {
18401
18583
  isActive: boolean;
18402
18584
  }>;
18403
18585
  }, "strip", z.ZodTypeAny, {
18404
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
18586
+ 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";
18405
18587
  message: string;
18406
18588
  id: string;
18407
18589
  url: string;
@@ -18453,7 +18635,6 @@ export declare const chatContract: {
18453
18635
  telephonySignature: string | null;
18454
18636
  };
18455
18637
  };
18456
- platformId: string;
18457
18638
  upload: {
18458
18639
  id: string;
18459
18640
  status: string | null;
@@ -18510,6 +18691,7 @@ export declare const chatContract: {
18510
18691
  telephonySignature: string | null;
18511
18692
  };
18512
18693
  };
18694
+ platformId: string;
18513
18695
  room: {
18514
18696
  id: string;
18515
18697
  channel: {
@@ -18576,6 +18758,13 @@ export declare const chatContract: {
18576
18758
  isReloginRequired: boolean;
18577
18759
  connectedUserName: string;
18578
18760
  connectedUserId: string;
18761
+ botpressBot: {
18762
+ id: string;
18763
+ name: string;
18764
+ accessToken: string;
18765
+ botId: string;
18766
+ integrationId: string;
18767
+ } | null;
18579
18768
  };
18580
18769
  direction: "incoming" | "outgoing" | "system";
18581
18770
  status: number;
@@ -18790,6 +18979,7 @@ export declare const chatContract: {
18790
18979
  };
18791
18980
  closedAt: Date;
18792
18981
  lastMessageAt: Date | null;
18982
+ isBotRoom: boolean;
18793
18983
  cxlog: {
18794
18984
  id: string;
18795
18985
  channel: string | null;
@@ -18885,7 +19075,7 @@ export declare const chatContract: {
18885
19075
  previewUrl: string;
18886
19076
  imageSetId: string;
18887
19077
  repliedMessage: {
18888
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19078
+ 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";
18889
19079
  message: string;
18890
19080
  id: string;
18891
19081
  url: string;
@@ -18937,7 +19127,6 @@ export declare const chatContract: {
18937
19127
  telephonySignature: string | null;
18938
19128
  };
18939
19129
  };
18940
- platformId: string;
18941
19130
  upload: {
18942
19131
  id: string;
18943
19132
  status: string | null;
@@ -18994,6 +19183,7 @@ export declare const chatContract: {
18994
19183
  telephonySignature: string | null;
18995
19184
  };
18996
19185
  };
19186
+ platformId: string;
18997
19187
  readAt: Date;
18998
19188
  platformMessageId: string;
18999
19189
  replyPlatformMessageId: string;
@@ -19094,7 +19284,7 @@ export declare const chatContract: {
19094
19284
  metadata?: any;
19095
19285
  template?: any;
19096
19286
  }, {
19097
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19287
+ 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";
19098
19288
  message: string;
19099
19289
  id: string;
19100
19290
  url: string;
@@ -19146,7 +19336,6 @@ export declare const chatContract: {
19146
19336
  telephonySignature: string | null;
19147
19337
  };
19148
19338
  };
19149
- platformId: string;
19150
19339
  upload: {
19151
19340
  id: string;
19152
19341
  status: string | null;
@@ -19203,6 +19392,7 @@ export declare const chatContract: {
19203
19392
  telephonySignature: string | null;
19204
19393
  };
19205
19394
  };
19395
+ platformId: string;
19206
19396
  room: {
19207
19397
  id: string;
19208
19398
  channel: {
@@ -19269,6 +19459,13 @@ export declare const chatContract: {
19269
19459
  isReloginRequired: boolean;
19270
19460
  connectedUserName: string;
19271
19461
  connectedUserId: string;
19462
+ botpressBot: {
19463
+ id: string;
19464
+ name: string;
19465
+ accessToken: string;
19466
+ botId: string;
19467
+ integrationId: string;
19468
+ } | null;
19272
19469
  };
19273
19470
  direction: "incoming" | "outgoing" | "system";
19274
19471
  status: number;
@@ -19483,6 +19680,7 @@ export declare const chatContract: {
19483
19680
  };
19484
19681
  closedAt: Date;
19485
19682
  lastMessageAt: Date | null;
19683
+ isBotRoom: boolean;
19486
19684
  cxlog: {
19487
19685
  id: string;
19488
19686
  channel: string | null;
@@ -19578,7 +19776,7 @@ export declare const chatContract: {
19578
19776
  previewUrl: string;
19579
19777
  imageSetId: string;
19580
19778
  repliedMessage: {
19581
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19779
+ 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";
19582
19780
  message: string;
19583
19781
  id: string;
19584
19782
  url: string;
@@ -19630,7 +19828,6 @@ export declare const chatContract: {
19630
19828
  telephonySignature: string | null;
19631
19829
  };
19632
19830
  };
19633
- platformId: string;
19634
19831
  upload: {
19635
19832
  id: string;
19636
19833
  status: string | null;
@@ -19687,6 +19884,7 @@ export declare const chatContract: {
19687
19884
  telephonySignature: string | null;
19688
19885
  };
19689
19886
  };
19887
+ platformId: string;
19690
19888
  readAt: Date;
19691
19889
  platformMessageId: string;
19692
19890
  replyPlatformMessageId: string;
@@ -19789,7 +19987,7 @@ export declare const chatContract: {
19789
19987
  }>;
19790
19988
  }, "strip", z.ZodTypeAny, {
19791
19989
  data: {
19792
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19990
+ 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";
19793
19991
  message: string;
19794
19992
  id: string;
19795
19993
  url: string;
@@ -19841,7 +20039,6 @@ export declare const chatContract: {
19841
20039
  telephonySignature: string | null;
19842
20040
  };
19843
20041
  };
19844
- platformId: string;
19845
20042
  upload: {
19846
20043
  id: string;
19847
20044
  status: string | null;
@@ -19898,6 +20095,7 @@ export declare const chatContract: {
19898
20095
  telephonySignature: string | null;
19899
20096
  };
19900
20097
  };
20098
+ platformId: string;
19901
20099
  room: {
19902
20100
  id: string;
19903
20101
  channel: {
@@ -19964,6 +20162,13 @@ export declare const chatContract: {
19964
20162
  isReloginRequired: boolean;
19965
20163
  connectedUserName: string;
19966
20164
  connectedUserId: string;
20165
+ botpressBot: {
20166
+ id: string;
20167
+ name: string;
20168
+ accessToken: string;
20169
+ botId: string;
20170
+ integrationId: string;
20171
+ } | null;
19967
20172
  };
19968
20173
  direction: "incoming" | "outgoing" | "system";
19969
20174
  status: number;
@@ -20178,6 +20383,7 @@ export declare const chatContract: {
20178
20383
  };
20179
20384
  closedAt: Date;
20180
20385
  lastMessageAt: Date | null;
20386
+ isBotRoom: boolean;
20181
20387
  cxlog: {
20182
20388
  id: string;
20183
20389
  channel: string | null;
@@ -20273,7 +20479,7 @@ export declare const chatContract: {
20273
20479
  previewUrl: string;
20274
20480
  imageSetId: string;
20275
20481
  repliedMessage: {
20276
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
20482
+ 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";
20277
20483
  message: string;
20278
20484
  id: string;
20279
20485
  url: string;
@@ -20325,7 +20531,6 @@ export declare const chatContract: {
20325
20531
  telephonySignature: string | null;
20326
20532
  };
20327
20533
  };
20328
- platformId: string;
20329
20534
  upload: {
20330
20535
  id: string;
20331
20536
  status: string | null;
@@ -20382,6 +20587,7 @@ export declare const chatContract: {
20382
20587
  telephonySignature: string | null;
20383
20588
  };
20384
20589
  };
20590
+ platformId: string;
20385
20591
  readAt: Date;
20386
20592
  platformMessageId: string;
20387
20593
  replyPlatformMessageId: string;
@@ -20485,7 +20691,7 @@ export declare const chatContract: {
20485
20691
  requestId: string;
20486
20692
  }, {
20487
20693
  data: {
20488
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
20694
+ 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";
20489
20695
  message: string;
20490
20696
  id: string;
20491
20697
  url: string;
@@ -20537,7 +20743,6 @@ export declare const chatContract: {
20537
20743
  telephonySignature: string | null;
20538
20744
  };
20539
20745
  };
20540
- platformId: string;
20541
20746
  upload: {
20542
20747
  id: string;
20543
20748
  status: string | null;
@@ -20594,6 +20799,7 @@ export declare const chatContract: {
20594
20799
  telephonySignature: string | null;
20595
20800
  };
20596
20801
  };
20802
+ platformId: string;
20597
20803
  room: {
20598
20804
  id: string;
20599
20805
  channel: {
@@ -20660,6 +20866,13 @@ export declare const chatContract: {
20660
20866
  isReloginRequired: boolean;
20661
20867
  connectedUserName: string;
20662
20868
  connectedUserId: string;
20869
+ botpressBot: {
20870
+ id: string;
20871
+ name: string;
20872
+ accessToken: string;
20873
+ botId: string;
20874
+ integrationId: string;
20875
+ } | null;
20663
20876
  };
20664
20877
  direction: "incoming" | "outgoing" | "system";
20665
20878
  status: number;
@@ -20874,6 +21087,7 @@ export declare const chatContract: {
20874
21087
  };
20875
21088
  closedAt: Date;
20876
21089
  lastMessageAt: Date | null;
21090
+ isBotRoom: boolean;
20877
21091
  cxlog: {
20878
21092
  id: string;
20879
21093
  channel: string | null;
@@ -20969,7 +21183,7 @@ export declare const chatContract: {
20969
21183
  previewUrl: string;
20970
21184
  imageSetId: string;
20971
21185
  repliedMessage: {
20972
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
21186
+ 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";
20973
21187
  message: string;
20974
21188
  id: string;
20975
21189
  url: string;
@@ -21021,7 +21235,6 @@ export declare const chatContract: {
21021
21235
  telephonySignature: string | null;
21022
21236
  };
21023
21237
  };
21024
- platformId: string;
21025
21238
  upload: {
21026
21239
  id: string;
21027
21240
  status: string | null;
@@ -21078,6 +21291,7 @@ export declare const chatContract: {
21078
21291
  telephonySignature: string | null;
21079
21292
  };
21080
21293
  };
21294
+ platformId: string;
21081
21295
  readAt: Date;
21082
21296
  platformMessageId: string;
21083
21297
  replyPlatformMessageId: string;
@@ -21314,7 +21528,7 @@ export declare const chatContract: {
21314
21528
  deletedAt: z.ZodNullable<z.ZodDate>;
21315
21529
  message: z.ZodString;
21316
21530
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21317
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
21531
+ 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"]>;
21318
21532
  readAt: z.ZodDate;
21319
21533
  metadata: z.ZodAny;
21320
21534
  platformId: z.ZodString;
@@ -21339,6 +21553,7 @@ export declare const chatContract: {
21339
21553
  firstResponseAt: z.ZodDate;
21340
21554
  firstResponseTime: z.ZodNumber;
21341
21555
  isLatest: z.ZodBoolean;
21556
+ isBotRoom: z.ZodBoolean;
21342
21557
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21343
21558
  platformContact: z.ZodObject<{
21344
21559
  id: z.ZodString;
@@ -22714,6 +22929,25 @@ export declare const chatContract: {
22714
22929
  isReloginRequired: z.ZodBoolean;
22715
22930
  connectedUserName: z.ZodString;
22716
22931
  connectedUserId: z.ZodString;
22932
+ botpressBot: z.ZodNullable<z.ZodObject<{
22933
+ id: z.ZodString;
22934
+ name: z.ZodString;
22935
+ botId: z.ZodString;
22936
+ integrationId: z.ZodString;
22937
+ accessToken: z.ZodString;
22938
+ }, "strip", z.ZodTypeAny, {
22939
+ id: string;
22940
+ name: string;
22941
+ accessToken: string;
22942
+ botId: string;
22943
+ integrationId: string;
22944
+ }, {
22945
+ id: string;
22946
+ name: string;
22947
+ accessToken: string;
22948
+ botId: string;
22949
+ integrationId: string;
22950
+ }>>;
22717
22951
  actor: z.ZodObject<{
22718
22952
  id: z.ZodString;
22719
22953
  createdAt: z.ZodDate;
@@ -22982,6 +23216,13 @@ export declare const chatContract: {
22982
23216
  isReloginRequired: boolean;
22983
23217
  connectedUserName: string;
22984
23218
  connectedUserId: string;
23219
+ botpressBot: {
23220
+ id: string;
23221
+ name: string;
23222
+ accessToken: string;
23223
+ botId: string;
23224
+ integrationId: string;
23225
+ } | null;
22985
23226
  }, {
22986
23227
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
22987
23228
  id: string;
@@ -23046,6 +23287,13 @@ export declare const chatContract: {
23046
23287
  isReloginRequired: boolean;
23047
23288
  connectedUserName: string;
23048
23289
  connectedUserId: string;
23290
+ botpressBot: {
23291
+ id: string;
23292
+ name: string;
23293
+ accessToken: string;
23294
+ botId: string;
23295
+ integrationId: string;
23296
+ } | null;
23049
23297
  }>;
23050
23298
  cxlog: z.ZodObject<{
23051
23299
  id: z.ZodString;
@@ -23557,6 +23805,13 @@ export declare const chatContract: {
23557
23805
  isReloginRequired: boolean;
23558
23806
  connectedUserName: string;
23559
23807
  connectedUserId: string;
23808
+ botpressBot: {
23809
+ id: string;
23810
+ name: string;
23811
+ accessToken: string;
23812
+ botId: string;
23813
+ integrationId: string;
23814
+ } | null;
23560
23815
  };
23561
23816
  direction: "incoming" | "outgoing" | "system";
23562
23817
  status: number;
@@ -23771,6 +24026,7 @@ export declare const chatContract: {
23771
24026
  };
23772
24027
  closedAt: Date;
23773
24028
  lastMessageAt: Date | null;
24029
+ isBotRoom: boolean;
23774
24030
  cxlog: {
23775
24031
  id: string;
23776
24032
  channel: string | null;
@@ -23915,6 +24171,13 @@ export declare const chatContract: {
23915
24171
  isReloginRequired: boolean;
23916
24172
  connectedUserName: string;
23917
24173
  connectedUserId: string;
24174
+ botpressBot: {
24175
+ id: string;
24176
+ name: string;
24177
+ accessToken: string;
24178
+ botId: string;
24179
+ integrationId: string;
24180
+ } | null;
23918
24181
  };
23919
24182
  direction: "incoming" | "outgoing" | "system";
23920
24183
  status: number;
@@ -24129,6 +24392,7 @@ export declare const chatContract: {
24129
24392
  };
24130
24393
  closedAt: Date;
24131
24394
  lastMessageAt: Date | null;
24395
+ isBotRoom: boolean;
24132
24396
  cxlog: {
24133
24397
  id: string;
24134
24398
  channel: string | null;
@@ -24249,7 +24513,7 @@ export declare const chatContract: {
24249
24513
  deletedAt: z.ZodNullable<z.ZodDate>;
24250
24514
  message: z.ZodString;
24251
24515
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
24252
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
24516
+ 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"]>;
24253
24517
  readAt: z.ZodDate;
24254
24518
  metadata: z.ZodAny;
24255
24519
  platformId: z.ZodString;
@@ -24907,7 +25171,7 @@ export declare const chatContract: {
24907
25171
  };
24908
25172
  }>;
24909
25173
  }, "strip", z.ZodTypeAny, {
24910
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
25174
+ 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";
24911
25175
  message: string;
24912
25176
  id: string;
24913
25177
  url: string;
@@ -24959,7 +25223,6 @@ export declare const chatContract: {
24959
25223
  telephonySignature: string | null;
24960
25224
  };
24961
25225
  };
24962
- platformId: string;
24963
25226
  upload: {
24964
25227
  id: string;
24965
25228
  status: string | null;
@@ -25016,6 +25279,7 @@ export declare const chatContract: {
25016
25279
  telephonySignature: string | null;
25017
25280
  };
25018
25281
  };
25282
+ platformId: string;
25019
25283
  readAt: Date;
25020
25284
  platformMessageId: string;
25021
25285
  replyPlatformMessageId: string;
@@ -25069,7 +25333,7 @@ export declare const chatContract: {
25069
25333
  metadata?: any;
25070
25334
  template?: any;
25071
25335
  }, {
25072
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
25336
+ 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";
25073
25337
  message: string;
25074
25338
  id: string;
25075
25339
  url: string;
@@ -25121,7 +25385,6 @@ export declare const chatContract: {
25121
25385
  telephonySignature: string | null;
25122
25386
  };
25123
25387
  };
25124
- platformId: string;
25125
25388
  upload: {
25126
25389
  id: string;
25127
25390
  status: string | null;
@@ -25178,6 +25441,7 @@ export declare const chatContract: {
25178
25441
  telephonySignature: string | null;
25179
25442
  };
25180
25443
  };
25444
+ platformId: string;
25181
25445
  readAt: Date;
25182
25446
  platformMessageId: string;
25183
25447
  replyPlatformMessageId: string;
@@ -25869,7 +26133,7 @@ export declare const chatContract: {
25869
26133
  isActive: boolean;
25870
26134
  }>;
25871
26135
  }, "strip", z.ZodTypeAny, {
25872
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
26136
+ 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";
25873
26137
  message: string;
25874
26138
  id: string;
25875
26139
  url: string;
@@ -25921,7 +26185,6 @@ export declare const chatContract: {
25921
26185
  telephonySignature: string | null;
25922
26186
  };
25923
26187
  };
25924
- platformId: string;
25925
26188
  upload: {
25926
26189
  id: string;
25927
26190
  status: string | null;
@@ -25978,6 +26241,7 @@ export declare const chatContract: {
25978
26241
  telephonySignature: string | null;
25979
26242
  };
25980
26243
  };
26244
+ platformId: string;
25981
26245
  room: {
25982
26246
  id: string;
25983
26247
  channel: {
@@ -26044,6 +26308,13 @@ export declare const chatContract: {
26044
26308
  isReloginRequired: boolean;
26045
26309
  connectedUserName: string;
26046
26310
  connectedUserId: string;
26311
+ botpressBot: {
26312
+ id: string;
26313
+ name: string;
26314
+ accessToken: string;
26315
+ botId: string;
26316
+ integrationId: string;
26317
+ } | null;
26047
26318
  };
26048
26319
  direction: "incoming" | "outgoing" | "system";
26049
26320
  status: number;
@@ -26258,6 +26529,7 @@ export declare const chatContract: {
26258
26529
  };
26259
26530
  closedAt: Date;
26260
26531
  lastMessageAt: Date | null;
26532
+ isBotRoom: boolean;
26261
26533
  cxlog: {
26262
26534
  id: string;
26263
26535
  channel: string | null;
@@ -26353,7 +26625,7 @@ export declare const chatContract: {
26353
26625
  previewUrl: string;
26354
26626
  imageSetId: string;
26355
26627
  repliedMessage: {
26356
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
26628
+ 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";
26357
26629
  message: string;
26358
26630
  id: string;
26359
26631
  url: string;
@@ -26405,7 +26677,6 @@ export declare const chatContract: {
26405
26677
  telephonySignature: string | null;
26406
26678
  };
26407
26679
  };
26408
- platformId: string;
26409
26680
  upload: {
26410
26681
  id: string;
26411
26682
  status: string | null;
@@ -26462,6 +26733,7 @@ export declare const chatContract: {
26462
26733
  telephonySignature: string | null;
26463
26734
  };
26464
26735
  };
26736
+ platformId: string;
26465
26737
  readAt: Date;
26466
26738
  platformMessageId: string;
26467
26739
  replyPlatformMessageId: string;
@@ -26562,7 +26834,7 @@ export declare const chatContract: {
26562
26834
  metadata?: any;
26563
26835
  template?: any;
26564
26836
  }, {
26565
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
26837
+ 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";
26566
26838
  message: string;
26567
26839
  id: string;
26568
26840
  url: string;
@@ -26614,7 +26886,6 @@ export declare const chatContract: {
26614
26886
  telephonySignature: string | null;
26615
26887
  };
26616
26888
  };
26617
- platformId: string;
26618
26889
  upload: {
26619
26890
  id: string;
26620
26891
  status: string | null;
@@ -26671,6 +26942,7 @@ export declare const chatContract: {
26671
26942
  telephonySignature: string | null;
26672
26943
  };
26673
26944
  };
26945
+ platformId: string;
26674
26946
  room: {
26675
26947
  id: string;
26676
26948
  channel: {
@@ -26737,6 +27009,13 @@ export declare const chatContract: {
26737
27009
  isReloginRequired: boolean;
26738
27010
  connectedUserName: string;
26739
27011
  connectedUserId: string;
27012
+ botpressBot: {
27013
+ id: string;
27014
+ name: string;
27015
+ accessToken: string;
27016
+ botId: string;
27017
+ integrationId: string;
27018
+ } | null;
26740
27019
  };
26741
27020
  direction: "incoming" | "outgoing" | "system";
26742
27021
  status: number;
@@ -26951,6 +27230,7 @@ export declare const chatContract: {
26951
27230
  };
26952
27231
  closedAt: Date;
26953
27232
  lastMessageAt: Date | null;
27233
+ isBotRoom: boolean;
26954
27234
  cxlog: {
26955
27235
  id: string;
26956
27236
  channel: string | null;
@@ -27046,7 +27326,7 @@ export declare const chatContract: {
27046
27326
  previewUrl: string;
27047
27327
  imageSetId: string;
27048
27328
  repliedMessage: {
27049
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
27329
+ 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";
27050
27330
  message: string;
27051
27331
  id: string;
27052
27332
  url: string;
@@ -27098,7 +27378,6 @@ export declare const chatContract: {
27098
27378
  telephonySignature: string | null;
27099
27379
  };
27100
27380
  };
27101
- platformId: string;
27102
27381
  upload: {
27103
27382
  id: string;
27104
27383
  status: string | null;
@@ -27155,6 +27434,7 @@ export declare const chatContract: {
27155
27434
  telephonySignature: string | null;
27156
27435
  };
27157
27436
  };
27437
+ platformId: string;
27158
27438
  readAt: Date;
27159
27439
  platformMessageId: string;
27160
27440
  replyPlatformMessageId: string;
@@ -27257,7 +27537,7 @@ export declare const chatContract: {
27257
27537
  }>, "many">;
27258
27538
  }, "strip", z.ZodTypeAny, {
27259
27539
  data: {
27260
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
27540
+ 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";
27261
27541
  message: string;
27262
27542
  id: string;
27263
27543
  url: string;
@@ -27309,7 +27589,6 @@ export declare const chatContract: {
27309
27589
  telephonySignature: string | null;
27310
27590
  };
27311
27591
  };
27312
- platformId: string;
27313
27592
  upload: {
27314
27593
  id: string;
27315
27594
  status: string | null;
@@ -27366,6 +27645,7 @@ export declare const chatContract: {
27366
27645
  telephonySignature: string | null;
27367
27646
  };
27368
27647
  };
27648
+ platformId: string;
27369
27649
  room: {
27370
27650
  id: string;
27371
27651
  channel: {
@@ -27432,6 +27712,13 @@ export declare const chatContract: {
27432
27712
  isReloginRequired: boolean;
27433
27713
  connectedUserName: string;
27434
27714
  connectedUserId: string;
27715
+ botpressBot: {
27716
+ id: string;
27717
+ name: string;
27718
+ accessToken: string;
27719
+ botId: string;
27720
+ integrationId: string;
27721
+ } | null;
27435
27722
  };
27436
27723
  direction: "incoming" | "outgoing" | "system";
27437
27724
  status: number;
@@ -27646,6 +27933,7 @@ export declare const chatContract: {
27646
27933
  };
27647
27934
  closedAt: Date;
27648
27935
  lastMessageAt: Date | null;
27936
+ isBotRoom: boolean;
27649
27937
  cxlog: {
27650
27938
  id: string;
27651
27939
  channel: string | null;
@@ -27741,7 +28029,7 @@ export declare const chatContract: {
27741
28029
  previewUrl: string;
27742
28030
  imageSetId: string;
27743
28031
  repliedMessage: {
27744
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28032
+ 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";
27745
28033
  message: string;
27746
28034
  id: string;
27747
28035
  url: string;
@@ -27793,7 +28081,6 @@ export declare const chatContract: {
27793
28081
  telephonySignature: string | null;
27794
28082
  };
27795
28083
  };
27796
- platformId: string;
27797
28084
  upload: {
27798
28085
  id: string;
27799
28086
  status: string | null;
@@ -27850,6 +28137,7 @@ export declare const chatContract: {
27850
28137
  telephonySignature: string | null;
27851
28138
  };
27852
28139
  };
28140
+ platformId: string;
27853
28141
  readAt: Date;
27854
28142
  platformMessageId: string;
27855
28143
  replyPlatformMessageId: string;
@@ -27956,7 +28244,7 @@ export declare const chatContract: {
27956
28244
  requestId: string;
27957
28245
  }, {
27958
28246
  data: {
27959
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28247
+ 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";
27960
28248
  message: string;
27961
28249
  id: string;
27962
28250
  url: string;
@@ -28008,7 +28296,6 @@ export declare const chatContract: {
28008
28296
  telephonySignature: string | null;
28009
28297
  };
28010
28298
  };
28011
- platformId: string;
28012
28299
  upload: {
28013
28300
  id: string;
28014
28301
  status: string | null;
@@ -28065,6 +28352,7 @@ export declare const chatContract: {
28065
28352
  telephonySignature: string | null;
28066
28353
  };
28067
28354
  };
28355
+ platformId: string;
28068
28356
  room: {
28069
28357
  id: string;
28070
28358
  channel: {
@@ -28131,6 +28419,13 @@ export declare const chatContract: {
28131
28419
  isReloginRequired: boolean;
28132
28420
  connectedUserName: string;
28133
28421
  connectedUserId: string;
28422
+ botpressBot: {
28423
+ id: string;
28424
+ name: string;
28425
+ accessToken: string;
28426
+ botId: string;
28427
+ integrationId: string;
28428
+ } | null;
28134
28429
  };
28135
28430
  direction: "incoming" | "outgoing" | "system";
28136
28431
  status: number;
@@ -28345,6 +28640,7 @@ export declare const chatContract: {
28345
28640
  };
28346
28641
  closedAt: Date;
28347
28642
  lastMessageAt: Date | null;
28643
+ isBotRoom: boolean;
28348
28644
  cxlog: {
28349
28645
  id: string;
28350
28646
  channel: string | null;
@@ -28440,7 +28736,7 @@ export declare const chatContract: {
28440
28736
  previewUrl: string;
28441
28737
  imageSetId: string;
28442
28738
  repliedMessage: {
28443
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28739
+ 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";
28444
28740
  message: string;
28445
28741
  id: string;
28446
28742
  url: string;
@@ -28492,7 +28788,6 @@ export declare const chatContract: {
28492
28788
  telephonySignature: string | null;
28493
28789
  };
28494
28790
  };
28495
- platformId: string;
28496
28791
  upload: {
28497
28792
  id: string;
28498
28793
  status: string | null;
@@ -28549,6 +28844,7 @@ export declare const chatContract: {
28549
28844
  telephonySignature: string | null;
28550
28845
  };
28551
28846
  };
28847
+ platformId: string;
28552
28848
  readAt: Date;
28553
28849
  platformMessageId: string;
28554
28850
  replyPlatformMessageId: string;
@@ -28723,6 +29019,25 @@ export declare const chatContract: {
28723
29019
  isReloginRequired: z.ZodBoolean;
28724
29020
  connectedUserName: z.ZodString;
28725
29021
  connectedUserId: z.ZodString;
29022
+ botpressBot: z.ZodNullable<z.ZodObject<{
29023
+ id: z.ZodString;
29024
+ name: z.ZodString;
29025
+ botId: z.ZodString;
29026
+ integrationId: z.ZodString;
29027
+ accessToken: z.ZodString;
29028
+ }, "strip", z.ZodTypeAny, {
29029
+ id: string;
29030
+ name: string;
29031
+ accessToken: string;
29032
+ botId: string;
29033
+ integrationId: string;
29034
+ }, {
29035
+ id: string;
29036
+ name: string;
29037
+ accessToken: string;
29038
+ botId: string;
29039
+ integrationId: string;
29040
+ }>>;
28726
29041
  actor: z.ZodObject<{
28727
29042
  id: z.ZodString;
28728
29043
  createdAt: z.ZodDate;
@@ -28991,6 +29306,13 @@ export declare const chatContract: {
28991
29306
  isReloginRequired: boolean;
28992
29307
  connectedUserName: string;
28993
29308
  connectedUserId: string;
29309
+ botpressBot: {
29310
+ id: string;
29311
+ name: string;
29312
+ accessToken: string;
29313
+ botId: string;
29314
+ integrationId: string;
29315
+ } | null;
28994
29316
  }, {
28995
29317
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
28996
29318
  id: string;
@@ -29055,6 +29377,13 @@ export declare const chatContract: {
29055
29377
  isReloginRequired: boolean;
29056
29378
  connectedUserName: string;
29057
29379
  connectedUserId: string;
29380
+ botpressBot: {
29381
+ id: string;
29382
+ name: string;
29383
+ accessToken: string;
29384
+ botId: string;
29385
+ integrationId: string;
29386
+ } | null;
29058
29387
  }>;
29059
29388
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
29060
29389
  status: z.ZodNumber;
@@ -30411,6 +30740,7 @@ export declare const chatContract: {
30411
30740
  }>;
30412
30741
  closedAt: z.ZodDate;
30413
30742
  lastMessageAt: z.ZodNullable<z.ZodDate>;
30743
+ isBotRoom: z.ZodBoolean;
30414
30744
  cxlog: z.ZodObject<{
30415
30745
  id: z.ZodString;
30416
30746
  createdAt: z.ZodDate;
@@ -30922,6 +31252,13 @@ export declare const chatContract: {
30922
31252
  isReloginRequired: boolean;
30923
31253
  connectedUserName: string;
30924
31254
  connectedUserId: string;
31255
+ botpressBot: {
31256
+ id: string;
31257
+ name: string;
31258
+ accessToken: string;
31259
+ botId: string;
31260
+ integrationId: string;
31261
+ } | null;
30925
31262
  };
30926
31263
  direction: "incoming" | "outgoing" | "system";
30927
31264
  status: number;
@@ -31136,6 +31473,7 @@ export declare const chatContract: {
31136
31473
  };
31137
31474
  closedAt: Date;
31138
31475
  lastMessageAt: Date | null;
31476
+ isBotRoom: boolean;
31139
31477
  cxlog: {
31140
31478
  id: string;
31141
31479
  channel: string | null;
@@ -31281,6 +31619,13 @@ export declare const chatContract: {
31281
31619
  isReloginRequired: boolean;
31282
31620
  connectedUserName: string;
31283
31621
  connectedUserId: string;
31622
+ botpressBot: {
31623
+ id: string;
31624
+ name: string;
31625
+ accessToken: string;
31626
+ botId: string;
31627
+ integrationId: string;
31628
+ } | null;
31284
31629
  };
31285
31630
  direction: "incoming" | "outgoing" | "system";
31286
31631
  status: number;
@@ -31495,6 +31840,7 @@ export declare const chatContract: {
31495
31840
  };
31496
31841
  closedAt: Date;
31497
31842
  lastMessageAt: Date | null;
31843
+ isBotRoom: boolean;
31498
31844
  cxlog: {
31499
31845
  id: string;
31500
31846
  channel: string | null;
@@ -31642,6 +31988,13 @@ export declare const chatContract: {
31642
31988
  isReloginRequired: boolean;
31643
31989
  connectedUserName: string;
31644
31990
  connectedUserId: string;
31991
+ botpressBot: {
31992
+ id: string;
31993
+ name: string;
31994
+ accessToken: string;
31995
+ botId: string;
31996
+ integrationId: string;
31997
+ } | null;
31645
31998
  };
31646
31999
  direction: "incoming" | "outgoing" | "system";
31647
32000
  status: number;
@@ -31856,6 +32209,7 @@ export declare const chatContract: {
31856
32209
  };
31857
32210
  closedAt: Date;
31858
32211
  lastMessageAt: Date | null;
32212
+ isBotRoom: boolean;
31859
32213
  cxlog: {
31860
32214
  id: string;
31861
32215
  channel: string | null;
@@ -32004,6 +32358,13 @@ export declare const chatContract: {
32004
32358
  isReloginRequired: boolean;
32005
32359
  connectedUserName: string;
32006
32360
  connectedUserId: string;
32361
+ botpressBot: {
32362
+ id: string;
32363
+ name: string;
32364
+ accessToken: string;
32365
+ botId: string;
32366
+ integrationId: string;
32367
+ } | null;
32007
32368
  };
32008
32369
  direction: "incoming" | "outgoing" | "system";
32009
32370
  status: number;
@@ -32218,6 +32579,7 @@ export declare const chatContract: {
32218
32579
  };
32219
32580
  closedAt: Date;
32220
32581
  lastMessageAt: Date | null;
32582
+ isBotRoom: boolean;
32221
32583
  cxlog: {
32222
32584
  id: string;
32223
32585
  channel: string | null;
@@ -32359,6 +32721,7 @@ export declare const chatContract: {
32359
32721
  firstResponseAt: z.ZodDate;
32360
32722
  firstResponseTime: z.ZodNumber;
32361
32723
  isLatest: z.ZodBoolean;
32724
+ isBotRoom: z.ZodBoolean;
32362
32725
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
32363
32726
  platformContact: z.ZodObject<{
32364
32727
  id: z.ZodString;
@@ -33734,6 +34097,25 @@ export declare const chatContract: {
33734
34097
  isReloginRequired: z.ZodBoolean;
33735
34098
  connectedUserName: z.ZodString;
33736
34099
  connectedUserId: z.ZodString;
34100
+ botpressBot: z.ZodNullable<z.ZodObject<{
34101
+ id: z.ZodString;
34102
+ name: z.ZodString;
34103
+ botId: z.ZodString;
34104
+ integrationId: z.ZodString;
34105
+ accessToken: z.ZodString;
34106
+ }, "strip", z.ZodTypeAny, {
34107
+ id: string;
34108
+ name: string;
34109
+ accessToken: string;
34110
+ botId: string;
34111
+ integrationId: string;
34112
+ }, {
34113
+ id: string;
34114
+ name: string;
34115
+ accessToken: string;
34116
+ botId: string;
34117
+ integrationId: string;
34118
+ }>>;
33737
34119
  actor: z.ZodObject<{
33738
34120
  id: z.ZodString;
33739
34121
  createdAt: z.ZodDate;
@@ -34002,6 +34384,13 @@ export declare const chatContract: {
34002
34384
  isReloginRequired: boolean;
34003
34385
  connectedUserName: string;
34004
34386
  connectedUserId: string;
34387
+ botpressBot: {
34388
+ id: string;
34389
+ name: string;
34390
+ accessToken: string;
34391
+ botId: string;
34392
+ integrationId: string;
34393
+ } | null;
34005
34394
  }, {
34006
34395
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
34007
34396
  id: string;
@@ -34066,6 +34455,13 @@ export declare const chatContract: {
34066
34455
  isReloginRequired: boolean;
34067
34456
  connectedUserName: string;
34068
34457
  connectedUserId: string;
34458
+ botpressBot: {
34459
+ id: string;
34460
+ name: string;
34461
+ accessToken: string;
34462
+ botId: string;
34463
+ integrationId: string;
34464
+ } | null;
34069
34465
  }>;
34070
34466
  cxlog: z.ZodObject<{
34071
34467
  id: z.ZodString;
@@ -34577,6 +34973,13 @@ export declare const chatContract: {
34577
34973
  isReloginRequired: boolean;
34578
34974
  connectedUserName: string;
34579
34975
  connectedUserId: string;
34976
+ botpressBot: {
34977
+ id: string;
34978
+ name: string;
34979
+ accessToken: string;
34980
+ botId: string;
34981
+ integrationId: string;
34982
+ } | null;
34580
34983
  };
34581
34984
  direction: "incoming" | "outgoing" | "system";
34582
34985
  status: number;
@@ -34791,6 +35194,7 @@ export declare const chatContract: {
34791
35194
  };
34792
35195
  closedAt: Date;
34793
35196
  lastMessageAt: Date | null;
35197
+ isBotRoom: boolean;
34794
35198
  cxlog: {
34795
35199
  id: string;
34796
35200
  channel: string | null;
@@ -34935,6 +35339,13 @@ export declare const chatContract: {
34935
35339
  isReloginRequired: boolean;
34936
35340
  connectedUserName: string;
34937
35341
  connectedUserId: string;
35342
+ botpressBot: {
35343
+ id: string;
35344
+ name: string;
35345
+ accessToken: string;
35346
+ botId: string;
35347
+ integrationId: string;
35348
+ } | null;
34938
35349
  };
34939
35350
  direction: "incoming" | "outgoing" | "system";
34940
35351
  status: number;
@@ -35149,6 +35560,7 @@ export declare const chatContract: {
35149
35560
  };
35150
35561
  closedAt: Date;
35151
35562
  lastMessageAt: Date | null;
35563
+ isBotRoom: boolean;
35152
35564
  cxlog: {
35153
35565
  id: string;
35154
35566
  channel: string | null;
@@ -35295,6 +35707,13 @@ export declare const chatContract: {
35295
35707
  isReloginRequired: boolean;
35296
35708
  connectedUserName: string;
35297
35709
  connectedUserId: string;
35710
+ botpressBot: {
35711
+ id: string;
35712
+ name: string;
35713
+ accessToken: string;
35714
+ botId: string;
35715
+ integrationId: string;
35716
+ } | null;
35298
35717
  };
35299
35718
  direction: "incoming" | "outgoing" | "system";
35300
35719
  status: number;
@@ -35509,6 +35928,7 @@ export declare const chatContract: {
35509
35928
  };
35510
35929
  closedAt: Date;
35511
35930
  lastMessageAt: Date | null;
35931
+ isBotRoom: boolean;
35512
35932
  cxlog: {
35513
35933
  id: string;
35514
35934
  channel: string | null;
@@ -35656,6 +36076,13 @@ export declare const chatContract: {
35656
36076
  isReloginRequired: boolean;
35657
36077
  connectedUserName: string;
35658
36078
  connectedUserId: string;
36079
+ botpressBot: {
36080
+ id: string;
36081
+ name: string;
36082
+ accessToken: string;
36083
+ botId: string;
36084
+ integrationId: string;
36085
+ } | null;
35659
36086
  };
35660
36087
  direction: "incoming" | "outgoing" | "system";
35661
36088
  status: number;
@@ -35870,6 +36297,7 @@ export declare const chatContract: {
35870
36297
  };
35871
36298
  closedAt: Date;
35872
36299
  lastMessageAt: Date | null;
36300
+ isBotRoom: boolean;
35873
36301
  cxlog: {
35874
36302
  id: string;
35875
36303
  channel: string | null;
@@ -36008,6 +36436,7 @@ export declare const chatContract: {
36008
36436
  firstResponseAt: z.ZodDate;
36009
36437
  firstResponseTime: z.ZodNumber;
36010
36438
  isLatest: z.ZodBoolean;
36439
+ isBotRoom: z.ZodBoolean;
36011
36440
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
36012
36441
  platformContact: z.ZodObject<{
36013
36442
  id: z.ZodString;
@@ -37383,6 +37812,25 @@ export declare const chatContract: {
37383
37812
  isReloginRequired: z.ZodBoolean;
37384
37813
  connectedUserName: z.ZodString;
37385
37814
  connectedUserId: z.ZodString;
37815
+ botpressBot: z.ZodNullable<z.ZodObject<{
37816
+ id: z.ZodString;
37817
+ name: z.ZodString;
37818
+ botId: z.ZodString;
37819
+ integrationId: z.ZodString;
37820
+ accessToken: z.ZodString;
37821
+ }, "strip", z.ZodTypeAny, {
37822
+ id: string;
37823
+ name: string;
37824
+ accessToken: string;
37825
+ botId: string;
37826
+ integrationId: string;
37827
+ }, {
37828
+ id: string;
37829
+ name: string;
37830
+ accessToken: string;
37831
+ botId: string;
37832
+ integrationId: string;
37833
+ }>>;
37386
37834
  actor: z.ZodObject<{
37387
37835
  id: z.ZodString;
37388
37836
  createdAt: z.ZodDate;
@@ -37651,6 +38099,13 @@ export declare const chatContract: {
37651
38099
  isReloginRequired: boolean;
37652
38100
  connectedUserName: string;
37653
38101
  connectedUserId: string;
38102
+ botpressBot: {
38103
+ id: string;
38104
+ name: string;
38105
+ accessToken: string;
38106
+ botId: string;
38107
+ integrationId: string;
38108
+ } | null;
37654
38109
  }, {
37655
38110
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
37656
38111
  id: string;
@@ -37715,6 +38170,13 @@ export declare const chatContract: {
37715
38170
  isReloginRequired: boolean;
37716
38171
  connectedUserName: string;
37717
38172
  connectedUserId: string;
38173
+ botpressBot: {
38174
+ id: string;
38175
+ name: string;
38176
+ accessToken: string;
38177
+ botId: string;
38178
+ integrationId: string;
38179
+ } | null;
37718
38180
  }>;
37719
38181
  cxlog: z.ZodObject<{
37720
38182
  id: z.ZodString;
@@ -38226,6 +38688,13 @@ export declare const chatContract: {
38226
38688
  isReloginRequired: boolean;
38227
38689
  connectedUserName: string;
38228
38690
  connectedUserId: string;
38691
+ botpressBot: {
38692
+ id: string;
38693
+ name: string;
38694
+ accessToken: string;
38695
+ botId: string;
38696
+ integrationId: string;
38697
+ } | null;
38229
38698
  };
38230
38699
  direction: "incoming" | "outgoing" | "system";
38231
38700
  status: number;
@@ -38440,6 +38909,7 @@ export declare const chatContract: {
38440
38909
  };
38441
38910
  closedAt: Date;
38442
38911
  lastMessageAt: Date | null;
38912
+ isBotRoom: boolean;
38443
38913
  cxlog: {
38444
38914
  id: string;
38445
38915
  channel: string | null;
@@ -38584,6 +39054,13 @@ export declare const chatContract: {
38584
39054
  isReloginRequired: boolean;
38585
39055
  connectedUserName: string;
38586
39056
  connectedUserId: string;
39057
+ botpressBot: {
39058
+ id: string;
39059
+ name: string;
39060
+ accessToken: string;
39061
+ botId: string;
39062
+ integrationId: string;
39063
+ } | null;
38587
39064
  };
38588
39065
  direction: "incoming" | "outgoing" | "system";
38589
39066
  status: number;
@@ -38798,6 +39275,7 @@ export declare const chatContract: {
38798
39275
  };
38799
39276
  closedAt: Date;
38800
39277
  lastMessageAt: Date | null;
39278
+ isBotRoom: boolean;
38801
39279
  cxlog: {
38802
39280
  id: string;
38803
39281
  channel: string | null;
@@ -38880,7 +39358,7 @@ export declare const chatContract: {
38880
39358
  latestIncomingMessage: z.ZodObject<{
38881
39359
  message: z.ZodString;
38882
39360
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
38883
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
39361
+ 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"]>;
38884
39362
  readAt: z.ZodDate;
38885
39363
  metadata: z.ZodAny;
38886
39364
  platformId: z.ZodString;
@@ -38892,7 +39370,7 @@ export declare const chatContract: {
38892
39370
  previewUrl: z.ZodString;
38893
39371
  imageSetId: z.ZodString;
38894
39372
  }, "strip", z.ZodTypeAny, {
38895
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
39373
+ 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";
38896
39374
  message: string;
38897
39375
  url: string;
38898
39376
  direction: "incoming" | "outgoing" | "system";
@@ -38906,7 +39384,7 @@ export declare const chatContract: {
38906
39384
  metadata?: any;
38907
39385
  template?: any;
38908
39386
  }, {
38909
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
39387
+ 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";
38910
39388
  message: string;
38911
39389
  url: string;
38912
39390
  direction: "incoming" | "outgoing" | "system";
@@ -38987,6 +39465,13 @@ export declare const chatContract: {
38987
39465
  isReloginRequired: boolean;
38988
39466
  connectedUserName: string;
38989
39467
  connectedUserId: string;
39468
+ botpressBot: {
39469
+ id: string;
39470
+ name: string;
39471
+ accessToken: string;
39472
+ botId: string;
39473
+ integrationId: string;
39474
+ } | null;
38990
39475
  };
38991
39476
  direction: "incoming" | "outgoing" | "system";
38992
39477
  status: number;
@@ -39201,6 +39686,7 @@ export declare const chatContract: {
39201
39686
  };
39202
39687
  closedAt: Date;
39203
39688
  lastMessageAt: Date | null;
39689
+ isBotRoom: boolean;
39204
39690
  cxlog: {
39205
39691
  id: string;
39206
39692
  channel: string | null;
@@ -39281,7 +39767,7 @@ export declare const chatContract: {
39281
39767
  };
39282
39768
  };
39283
39769
  latestIncomingMessage: {
39284
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
39770
+ 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";
39285
39771
  message: string;
39286
39772
  url: string;
39287
39773
  direction: "incoming" | "outgoing" | "system";
@@ -39362,6 +39848,13 @@ export declare const chatContract: {
39362
39848
  isReloginRequired: boolean;
39363
39849
  connectedUserName: string;
39364
39850
  connectedUserId: string;
39851
+ botpressBot: {
39852
+ id: string;
39853
+ name: string;
39854
+ accessToken: string;
39855
+ botId: string;
39856
+ integrationId: string;
39857
+ } | null;
39365
39858
  };
39366
39859
  direction: "incoming" | "outgoing" | "system";
39367
39860
  status: number;
@@ -39576,6 +40069,7 @@ export declare const chatContract: {
39576
40069
  };
39577
40070
  closedAt: Date;
39578
40071
  lastMessageAt: Date | null;
40072
+ isBotRoom: boolean;
39579
40073
  cxlog: {
39580
40074
  id: string;
39581
40075
  channel: string | null;
@@ -39656,7 +40150,7 @@ export declare const chatContract: {
39656
40150
  };
39657
40151
  };
39658
40152
  latestIncomingMessage: {
39659
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
40153
+ 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";
39660
40154
  message: string;
39661
40155
  url: string;
39662
40156
  direction: "incoming" | "outgoing" | "system";
@@ -39739,6 +40233,13 @@ export declare const chatContract: {
39739
40233
  isReloginRequired: boolean;
39740
40234
  connectedUserName: string;
39741
40235
  connectedUserId: string;
40236
+ botpressBot: {
40237
+ id: string;
40238
+ name: string;
40239
+ accessToken: string;
40240
+ botId: string;
40241
+ integrationId: string;
40242
+ } | null;
39742
40243
  };
39743
40244
  direction: "incoming" | "outgoing" | "system";
39744
40245
  status: number;
@@ -39953,6 +40454,7 @@ export declare const chatContract: {
39953
40454
  };
39954
40455
  closedAt: Date;
39955
40456
  lastMessageAt: Date | null;
40457
+ isBotRoom: boolean;
39956
40458
  cxlog: {
39957
40459
  id: string;
39958
40460
  channel: string | null;
@@ -40033,7 +40535,7 @@ export declare const chatContract: {
40033
40535
  };
40034
40536
  };
40035
40537
  latestIncomingMessage: {
40036
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
40538
+ 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";
40037
40539
  message: string;
40038
40540
  url: string;
40039
40541
  direction: "incoming" | "outgoing" | "system";
@@ -40117,6 +40619,13 @@ export declare const chatContract: {
40117
40619
  isReloginRequired: boolean;
40118
40620
  connectedUserName: string;
40119
40621
  connectedUserId: string;
40622
+ botpressBot: {
40623
+ id: string;
40624
+ name: string;
40625
+ accessToken: string;
40626
+ botId: string;
40627
+ integrationId: string;
40628
+ } | null;
40120
40629
  };
40121
40630
  direction: "incoming" | "outgoing" | "system";
40122
40631
  status: number;
@@ -40331,6 +40840,7 @@ export declare const chatContract: {
40331
40840
  };
40332
40841
  closedAt: Date;
40333
40842
  lastMessageAt: Date | null;
40843
+ isBotRoom: boolean;
40334
40844
  cxlog: {
40335
40845
  id: string;
40336
40846
  channel: string | null;
@@ -40411,7 +40921,7 @@ export declare const chatContract: {
40411
40921
  };
40412
40922
  };
40413
40923
  latestIncomingMessage: {
40414
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
40924
+ 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";
40415
40925
  message: string;
40416
40926
  url: string;
40417
40927
  direction: "incoming" | "outgoing" | "system";
@@ -40505,6 +41015,25 @@ export declare const chatContract: {
40505
41015
  isReloginRequired: z.ZodBoolean;
40506
41016
  connectedUserName: z.ZodString;
40507
41017
  connectedUserId: z.ZodString;
41018
+ botpressBot: z.ZodNullable<z.ZodObject<{
41019
+ id: z.ZodString;
41020
+ name: z.ZodString;
41021
+ botId: z.ZodString;
41022
+ integrationId: z.ZodString;
41023
+ accessToken: z.ZodString;
41024
+ }, "strip", z.ZodTypeAny, {
41025
+ id: string;
41026
+ name: string;
41027
+ accessToken: string;
41028
+ botId: string;
41029
+ integrationId: string;
41030
+ }, {
41031
+ id: string;
41032
+ name: string;
41033
+ accessToken: string;
41034
+ botId: string;
41035
+ integrationId: string;
41036
+ }>>;
40508
41037
  actor: z.ZodObject<{
40509
41038
  id: z.ZodString;
40510
41039
  createdAt: z.ZodDate;
@@ -40773,6 +41302,13 @@ export declare const chatContract: {
40773
41302
  isReloginRequired: boolean;
40774
41303
  connectedUserName: string;
40775
41304
  connectedUserId: string;
41305
+ botpressBot: {
41306
+ id: string;
41307
+ name: string;
41308
+ accessToken: string;
41309
+ botId: string;
41310
+ integrationId: string;
41311
+ } | null;
40776
41312
  }, {
40777
41313
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
40778
41314
  id: string;
@@ -40837,6 +41373,13 @@ export declare const chatContract: {
40837
41373
  isReloginRequired: boolean;
40838
41374
  connectedUserName: string;
40839
41375
  connectedUserId: string;
41376
+ botpressBot: {
41377
+ id: string;
41378
+ name: string;
41379
+ accessToken: string;
41380
+ botId: string;
41381
+ integrationId: string;
41382
+ } | null;
40840
41383
  }>;
40841
41384
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
40842
41385
  status: z.ZodNumber;
@@ -42193,6 +42736,7 @@ export declare const chatContract: {
42193
42736
  }>;
42194
42737
  closedAt: z.ZodDate;
42195
42738
  lastMessageAt: z.ZodNullable<z.ZodDate>;
42739
+ isBotRoom: z.ZodBoolean;
42196
42740
  cxlog: z.ZodObject<{
42197
42741
  id: z.ZodString;
42198
42742
  createdAt: z.ZodDate;
@@ -43391,6 +43935,13 @@ export declare const chatContract: {
43391
43935
  isReloginRequired: boolean;
43392
43936
  connectedUserName: string;
43393
43937
  connectedUserId: string;
43938
+ botpressBot: {
43939
+ id: string;
43940
+ name: string;
43941
+ accessToken: string;
43942
+ botId: string;
43943
+ integrationId: string;
43944
+ } | null;
43394
43945
  };
43395
43946
  direction: "incoming" | "outgoing" | "system";
43396
43947
  status: number;
@@ -43702,6 +44253,7 @@ export declare const chatContract: {
43702
44253
  };
43703
44254
  closedAt: Date;
43704
44255
  lastMessageAt: Date | null;
44256
+ isBotRoom: boolean;
43705
44257
  cxlog: {
43706
44258
  id: string;
43707
44259
  channel: string | null;
@@ -43847,6 +44399,13 @@ export declare const chatContract: {
43847
44399
  isReloginRequired: boolean;
43848
44400
  connectedUserName: string;
43849
44401
  connectedUserId: string;
44402
+ botpressBot: {
44403
+ id: string;
44404
+ name: string;
44405
+ accessToken: string;
44406
+ botId: string;
44407
+ integrationId: string;
44408
+ } | null;
43850
44409
  };
43851
44410
  direction: "incoming" | "outgoing" | "system";
43852
44411
  status: number;
@@ -44158,6 +44717,7 @@ export declare const chatContract: {
44158
44717
  };
44159
44718
  closedAt: Date;
44160
44719
  lastMessageAt: Date | null;
44720
+ isBotRoom: boolean;
44161
44721
  cxlog: {
44162
44722
  id: string;
44163
44723
  channel: string | null;
@@ -44305,6 +44865,13 @@ export declare const chatContract: {
44305
44865
  isReloginRequired: boolean;
44306
44866
  connectedUserName: string;
44307
44867
  connectedUserId: string;
44868
+ botpressBot: {
44869
+ id: string;
44870
+ name: string;
44871
+ accessToken: string;
44872
+ botId: string;
44873
+ integrationId: string;
44874
+ } | null;
44308
44875
  };
44309
44876
  direction: "incoming" | "outgoing" | "system";
44310
44877
  status: number;
@@ -44616,6 +45183,7 @@ export declare const chatContract: {
44616
45183
  };
44617
45184
  closedAt: Date;
44618
45185
  lastMessageAt: Date | null;
45186
+ isBotRoom: boolean;
44619
45187
  cxlog: {
44620
45188
  id: string;
44621
45189
  channel: string | null;
@@ -44764,6 +45332,13 @@ export declare const chatContract: {
44764
45332
  isReloginRequired: boolean;
44765
45333
  connectedUserName: string;
44766
45334
  connectedUserId: string;
45335
+ botpressBot: {
45336
+ id: string;
45337
+ name: string;
45338
+ accessToken: string;
45339
+ botId: string;
45340
+ integrationId: string;
45341
+ } | null;
44767
45342
  };
44768
45343
  direction: "incoming" | "outgoing" | "system";
44769
45344
  status: number;
@@ -45075,6 +45650,7 @@ export declare const chatContract: {
45075
45650
  };
45076
45651
  closedAt: Date;
45077
45652
  lastMessageAt: Date | null;
45653
+ isBotRoom: boolean;
45078
45654
  cxlog: {
45079
45655
  id: string;
45080
45656
  channel: string | null;
@@ -45224,6 +45800,25 @@ export declare const chatContract: {
45224
45800
  isReloginRequired: z.ZodBoolean;
45225
45801
  connectedUserName: z.ZodString;
45226
45802
  connectedUserId: z.ZodString;
45803
+ botpressBot: z.ZodNullable<z.ZodObject<{
45804
+ id: z.ZodString;
45805
+ name: z.ZodString;
45806
+ botId: z.ZodString;
45807
+ integrationId: z.ZodString;
45808
+ accessToken: z.ZodString;
45809
+ }, "strip", z.ZodTypeAny, {
45810
+ id: string;
45811
+ name: string;
45812
+ accessToken: string;
45813
+ botId: string;
45814
+ integrationId: string;
45815
+ }, {
45816
+ id: string;
45817
+ name: string;
45818
+ accessToken: string;
45819
+ botId: string;
45820
+ integrationId: string;
45821
+ }>>;
45227
45822
  actor: z.ZodObject<{
45228
45823
  id: z.ZodString;
45229
45824
  createdAt: z.ZodDate;
@@ -45492,6 +46087,13 @@ export declare const chatContract: {
45492
46087
  isReloginRequired: boolean;
45493
46088
  connectedUserName: string;
45494
46089
  connectedUserId: string;
46090
+ botpressBot: {
46091
+ id: string;
46092
+ name: string;
46093
+ accessToken: string;
46094
+ botId: string;
46095
+ integrationId: string;
46096
+ } | null;
45495
46097
  }, {
45496
46098
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
45497
46099
  id: string;
@@ -45556,6 +46158,13 @@ export declare const chatContract: {
45556
46158
  isReloginRequired: boolean;
45557
46159
  connectedUserName: string;
45558
46160
  connectedUserId: string;
46161
+ botpressBot: {
46162
+ id: string;
46163
+ name: string;
46164
+ accessToken: string;
46165
+ botId: string;
46166
+ integrationId: string;
46167
+ } | null;
45559
46168
  }>;
45560
46169
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
45561
46170
  status: z.ZodNumber;
@@ -46912,6 +47521,7 @@ export declare const chatContract: {
46912
47521
  }>;
46913
47522
  closedAt: z.ZodDate;
46914
47523
  lastMessageAt: z.ZodNullable<z.ZodDate>;
47524
+ isBotRoom: z.ZodBoolean;
46915
47525
  cxlog: z.ZodObject<{
46916
47526
  id: z.ZodString;
46917
47527
  createdAt: z.ZodDate;
@@ -47423,6 +48033,13 @@ export declare const chatContract: {
47423
48033
  isReloginRequired: boolean;
47424
48034
  connectedUserName: string;
47425
48035
  connectedUserId: string;
48036
+ botpressBot: {
48037
+ id: string;
48038
+ name: string;
48039
+ accessToken: string;
48040
+ botId: string;
48041
+ integrationId: string;
48042
+ } | null;
47426
48043
  };
47427
48044
  direction: "incoming" | "outgoing" | "system";
47428
48045
  description: string | null;
@@ -47638,6 +48255,7 @@ export declare const chatContract: {
47638
48255
  };
47639
48256
  closedAt: Date;
47640
48257
  lastMessageAt: Date | null;
48258
+ isBotRoom: boolean;
47641
48259
  cxlog: {
47642
48260
  id: string;
47643
48261
  channel: string | null;
@@ -47782,6 +48400,13 @@ export declare const chatContract: {
47782
48400
  isReloginRequired: boolean;
47783
48401
  connectedUserName: string;
47784
48402
  connectedUserId: string;
48403
+ botpressBot: {
48404
+ id: string;
48405
+ name: string;
48406
+ accessToken: string;
48407
+ botId: string;
48408
+ integrationId: string;
48409
+ } | null;
47785
48410
  };
47786
48411
  direction: "incoming" | "outgoing" | "system";
47787
48412
  description: string | null;
@@ -47997,6 +48622,7 @@ export declare const chatContract: {
47997
48622
  };
47998
48623
  closedAt: Date;
47999
48624
  lastMessageAt: Date | null;
48625
+ isBotRoom: boolean;
48000
48626
  cxlog: {
48001
48627
  id: string;
48002
48628
  channel: string | null;
@@ -48143,6 +48769,13 @@ export declare const chatContract: {
48143
48769
  isReloginRequired: boolean;
48144
48770
  connectedUserName: string;
48145
48771
  connectedUserId: string;
48772
+ botpressBot: {
48773
+ id: string;
48774
+ name: string;
48775
+ accessToken: string;
48776
+ botId: string;
48777
+ integrationId: string;
48778
+ } | null;
48146
48779
  };
48147
48780
  direction: "incoming" | "outgoing" | "system";
48148
48781
  description: string | null;
@@ -48358,6 +48991,7 @@ export declare const chatContract: {
48358
48991
  };
48359
48992
  closedAt: Date;
48360
48993
  lastMessageAt: Date | null;
48994
+ isBotRoom: boolean;
48361
48995
  cxlog: {
48362
48996
  id: string;
48363
48997
  channel: string | null;
@@ -48505,6 +49139,13 @@ export declare const chatContract: {
48505
49139
  isReloginRequired: boolean;
48506
49140
  connectedUserName: string;
48507
49141
  connectedUserId: string;
49142
+ botpressBot: {
49143
+ id: string;
49144
+ name: string;
49145
+ accessToken: string;
49146
+ botId: string;
49147
+ integrationId: string;
49148
+ } | null;
48508
49149
  };
48509
49150
  direction: "incoming" | "outgoing" | "system";
48510
49151
  description: string | null;
@@ -48720,6 +49361,7 @@ export declare const chatContract: {
48720
49361
  };
48721
49362
  closedAt: Date;
48722
49363
  lastMessageAt: Date | null;
49364
+ isBotRoom: boolean;
48723
49365
  cxlog: {
48724
49366
  id: string;
48725
49367
  channel: string | null;
@@ -48859,6 +49501,7 @@ export declare const chatContract: {
48859
49501
  firstResponseAt: z.ZodDate;
48860
49502
  firstResponseTime: z.ZodNumber;
48861
49503
  isLatest: z.ZodBoolean;
49504
+ isBotRoom: z.ZodBoolean;
48862
49505
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
48863
49506
  platformContact: z.ZodObject<{
48864
49507
  id: z.ZodString;
@@ -50234,6 +50877,25 @@ export declare const chatContract: {
50234
50877
  isReloginRequired: z.ZodBoolean;
50235
50878
  connectedUserName: z.ZodString;
50236
50879
  connectedUserId: z.ZodString;
50880
+ botpressBot: z.ZodNullable<z.ZodObject<{
50881
+ id: z.ZodString;
50882
+ name: z.ZodString;
50883
+ botId: z.ZodString;
50884
+ integrationId: z.ZodString;
50885
+ accessToken: z.ZodString;
50886
+ }, "strip", z.ZodTypeAny, {
50887
+ id: string;
50888
+ name: string;
50889
+ accessToken: string;
50890
+ botId: string;
50891
+ integrationId: string;
50892
+ }, {
50893
+ id: string;
50894
+ name: string;
50895
+ accessToken: string;
50896
+ botId: string;
50897
+ integrationId: string;
50898
+ }>>;
50237
50899
  actor: z.ZodObject<{
50238
50900
  id: z.ZodString;
50239
50901
  createdAt: z.ZodDate;
@@ -50502,6 +51164,13 @@ export declare const chatContract: {
50502
51164
  isReloginRequired: boolean;
50503
51165
  connectedUserName: string;
50504
51166
  connectedUserId: string;
51167
+ botpressBot: {
51168
+ id: string;
51169
+ name: string;
51170
+ accessToken: string;
51171
+ botId: string;
51172
+ integrationId: string;
51173
+ } | null;
50505
51174
  }, {
50506
51175
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
50507
51176
  id: string;
@@ -50566,6 +51235,13 @@ export declare const chatContract: {
50566
51235
  isReloginRequired: boolean;
50567
51236
  connectedUserName: string;
50568
51237
  connectedUserId: string;
51238
+ botpressBot: {
51239
+ id: string;
51240
+ name: string;
51241
+ accessToken: string;
51242
+ botId: string;
51243
+ integrationId: string;
51244
+ } | null;
50569
51245
  }>;
50570
51246
  cxlog: z.ZodObject<{
50571
51247
  id: z.ZodString;
@@ -51077,6 +51753,13 @@ export declare const chatContract: {
51077
51753
  isReloginRequired: boolean;
51078
51754
  connectedUserName: string;
51079
51755
  connectedUserId: string;
51756
+ botpressBot: {
51757
+ id: string;
51758
+ name: string;
51759
+ accessToken: string;
51760
+ botId: string;
51761
+ integrationId: string;
51762
+ } | null;
51080
51763
  };
51081
51764
  direction: "incoming" | "outgoing" | "system";
51082
51765
  status: number;
@@ -51291,6 +51974,7 @@ export declare const chatContract: {
51291
51974
  };
51292
51975
  closedAt: Date;
51293
51976
  lastMessageAt: Date | null;
51977
+ isBotRoom: boolean;
51294
51978
  cxlog: {
51295
51979
  id: string;
51296
51980
  channel: string | null;
@@ -51435,6 +52119,13 @@ export declare const chatContract: {
51435
52119
  isReloginRequired: boolean;
51436
52120
  connectedUserName: string;
51437
52121
  connectedUserId: string;
52122
+ botpressBot: {
52123
+ id: string;
52124
+ name: string;
52125
+ accessToken: string;
52126
+ botId: string;
52127
+ integrationId: string;
52128
+ } | null;
51438
52129
  };
51439
52130
  direction: "incoming" | "outgoing" | "system";
51440
52131
  status: number;
@@ -51649,6 +52340,7 @@ export declare const chatContract: {
51649
52340
  };
51650
52341
  closedAt: Date;
51651
52342
  lastMessageAt: Date | null;
52343
+ isBotRoom: boolean;
51652
52344
  cxlog: {
51653
52345
  id: string;
51654
52346
  channel: string | null;
@@ -51795,6 +52487,13 @@ export declare const chatContract: {
51795
52487
  isReloginRequired: boolean;
51796
52488
  connectedUserName: string;
51797
52489
  connectedUserId: string;
52490
+ botpressBot: {
52491
+ id: string;
52492
+ name: string;
52493
+ accessToken: string;
52494
+ botId: string;
52495
+ integrationId: string;
52496
+ } | null;
51798
52497
  };
51799
52498
  direction: "incoming" | "outgoing" | "system";
51800
52499
  status: number;
@@ -52009,6 +52708,7 @@ export declare const chatContract: {
52009
52708
  };
52010
52709
  closedAt: Date;
52011
52710
  lastMessageAt: Date | null;
52711
+ isBotRoom: boolean;
52012
52712
  cxlog: {
52013
52713
  id: string;
52014
52714
  channel: string | null;
@@ -52159,6 +52859,13 @@ export declare const chatContract: {
52159
52859
  isReloginRequired: boolean;
52160
52860
  connectedUserName: string;
52161
52861
  connectedUserId: string;
52862
+ botpressBot: {
52863
+ id: string;
52864
+ name: string;
52865
+ accessToken: string;
52866
+ botId: string;
52867
+ integrationId: string;
52868
+ } | null;
52162
52869
  };
52163
52870
  direction: "incoming" | "outgoing" | "system";
52164
52871
  status: number;
@@ -52373,6 +53080,7 @@ export declare const chatContract: {
52373
53080
  };
52374
53081
  closedAt: Date;
52375
53082
  lastMessageAt: Date | null;
53083
+ isBotRoom: boolean;
52376
53084
  cxlog: {
52377
53085
  id: string;
52378
53086
  channel: string | null;