@kl1/contracts 1.1.28 → 1.1.29

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 (48) hide show
  1. package/dist/index.js +2955 -2729
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2950 -2728
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +14 -14
  6. package/dist/src/botpress/validation.d.ts +14 -14
  7. package/dist/src/botpress/validation.d.ts.map +1 -1
  8. package/dist/src/channel/index.d.ts +1687 -0
  9. package/dist/src/channel/index.d.ts.map +1 -1
  10. package/dist/src/channel/schema.d.ts +44 -0
  11. package/dist/src/channel/schema.d.ts.map +1 -1
  12. package/dist/src/channel/validation.d.ts +12 -0
  13. package/dist/src/channel/validation.d.ts.map +1 -1
  14. package/dist/src/chat/index.d.ts +883 -59
  15. package/dist/src/chat/index.d.ts.map +1 -1
  16. package/dist/src/chat/schema.d.ts +152 -20
  17. package/dist/src/chat/schema.d.ts.map +1 -1
  18. package/dist/src/chat/validation.d.ts +228 -61
  19. package/dist/src/chat/validation.d.ts.map +1 -1
  20. package/dist/src/contract.d.ts +2558 -282
  21. package/dist/src/contract.d.ts.map +1 -1
  22. package/dist/src/cx-log/index.d.ts +86 -0
  23. package/dist/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/src/cx-log/schema.d.ts +70 -0
  25. package/dist/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/src/index.d.ts +1 -0
  27. package/dist/src/index.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +286 -53
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/instagram/validation.d.ts +7 -0
  31. package/dist/src/instagram/validation.d.ts.map +1 -1
  32. package/dist/src/line/index.d.ts +282 -58
  33. package/dist/src/line/index.d.ts.map +1 -1
  34. package/dist/src/line/validation.d.ts +31 -5
  35. package/dist/src/line/validation.d.ts.map +1 -1
  36. package/dist/src/messenger/index.d.ts +291 -54
  37. package/dist/src/messenger/index.d.ts.map +1 -1
  38. package/dist/src/messenger/validation.d.ts +48 -0
  39. package/dist/src/messenger/validation.d.ts.map +1 -1
  40. package/dist/src/viber/index.d.ts +346 -53
  41. package/dist/src/viber/index.d.ts.map +1 -1
  42. package/dist/src/webchat/index.d.ts +226 -53
  43. package/dist/src/webchat/index.d.ts.map +1 -1
  44. package/dist/src/workflow-rule/index.d.ts +150 -0
  45. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/dist/src/contract2.d.ts +0 -2
  48. package/dist/src/contract2.d.ts.map +0 -1
@@ -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;
@@ -1403,24 +1403,28 @@ export declare const receiveMessageContract: {
1403
1403
  accessToken: z.ZodOptional<z.ZodString>;
1404
1404
  channelSecret: z.ZodOptional<z.ZodString>;
1405
1405
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1406
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1406
1407
  }, "strip", z.ZodTypeAny, {
1407
1408
  id: string;
1408
1409
  name: string;
1409
1410
  accessToken?: string | undefined;
1410
1411
  channelSecret?: string | undefined;
1411
1412
  additionalCredentials?: any;
1413
+ lineRichMenuId?: string | null | undefined;
1412
1414
  }, {
1413
1415
  id: string;
1414
1416
  name: string;
1415
1417
  accessToken?: string | undefined;
1416
1418
  channelSecret?: string | undefined;
1417
1419
  additionalCredentials?: any;
1420
+ lineRichMenuId?: string | null | undefined;
1418
1421
  }>;
1419
1422
  platformId: z.ZodString;
1420
1423
  brandName: z.ZodString;
1421
1424
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1422
1425
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1423
1426
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1427
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1424
1428
  actor: z.ZodOptional<z.ZodObject<{
1425
1429
  id: z.ZodString;
1426
1430
  name: z.ZodString;
@@ -1450,12 +1454,14 @@ export declare const receiveMessageContract: {
1450
1454
  accessToken?: string | undefined;
1451
1455
  channelSecret?: string | undefined;
1452
1456
  additionalCredentials?: any;
1457
+ lineRichMenuId?: string | null | undefined;
1453
1458
  };
1454
1459
  status: boolean;
1455
1460
  brandName: string;
1456
1461
  platformId: string;
1457
1462
  connectedUserName?: string | null | undefined;
1458
1463
  connectedUserId?: string | null | undefined;
1464
+ lineRichMenuId?: string | null | undefined;
1459
1465
  actor?: {
1460
1466
  id: string;
1461
1467
  address: string | null;
@@ -1473,12 +1479,14 @@ export declare const receiveMessageContract: {
1473
1479
  accessToken?: string | undefined;
1474
1480
  channelSecret?: string | undefined;
1475
1481
  additionalCredentials?: any;
1482
+ lineRichMenuId?: string | null | undefined;
1476
1483
  };
1477
1484
  status: boolean;
1478
1485
  brandName: string;
1479
1486
  platformId: string;
1480
1487
  connectedUserName?: string | null | undefined;
1481
1488
  connectedUserId?: string | null | undefined;
1489
+ lineRichMenuId?: string | null | undefined;
1482
1490
  actor?: {
1483
1491
  id: string;
1484
1492
  address: string | null;
@@ -2129,12 +2137,14 @@ export declare const receiveMessageContract: {
2129
2137
  accessToken?: string | undefined;
2130
2138
  channelSecret?: string | undefined;
2131
2139
  additionalCredentials?: any;
2140
+ lineRichMenuId?: string | null | undefined;
2132
2141
  };
2133
2142
  status: boolean;
2134
2143
  brandName: string;
2135
2144
  platformId: string;
2136
2145
  connectedUserName?: string | null | undefined;
2137
2146
  connectedUserId?: string | null | undefined;
2147
+ lineRichMenuId?: string | null | undefined;
2138
2148
  actor?: {
2139
2149
  id: string;
2140
2150
  address: string | null;
@@ -2435,12 +2445,14 @@ export declare const receiveMessageContract: {
2435
2445
  accessToken?: string | undefined;
2436
2446
  channelSecret?: string | undefined;
2437
2447
  additionalCredentials?: any;
2448
+ lineRichMenuId?: string | null | undefined;
2438
2449
  };
2439
2450
  status: boolean;
2440
2451
  brandName: string;
2441
2452
  platformId: string;
2442
2453
  connectedUserName?: string | null | undefined;
2443
2454
  connectedUserId?: string | null | undefined;
2455
+ lineRichMenuId?: string | null | undefined;
2444
2456
  actor?: {
2445
2457
  id: string;
2446
2458
  address: string | null;
@@ -3166,7 +3178,7 @@ export declare const receiveMessageContract: {
3166
3178
  };
3167
3179
  }>>>;
3168
3180
  }, "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";
3181
+ 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
3182
  id: string;
3171
3183
  direction: "incoming" | "outgoing" | "system";
3172
3184
  createdAt: string;
@@ -3396,12 +3408,14 @@ export declare const receiveMessageContract: {
3396
3408
  accessToken?: string | undefined;
3397
3409
  channelSecret?: string | undefined;
3398
3410
  additionalCredentials?: any;
3411
+ lineRichMenuId?: string | null | undefined;
3399
3412
  };
3400
3413
  status: boolean;
3401
3414
  brandName: string;
3402
3415
  platformId: string;
3403
3416
  connectedUserName?: string | null | undefined;
3404
3417
  connectedUserId?: string | null | undefined;
3418
+ lineRichMenuId?: string | null | undefined;
3405
3419
  actor?: {
3406
3420
  id: string;
3407
3421
  address: string | null;
@@ -3634,7 +3648,7 @@ export declare const receiveMessageContract: {
3634
3648
  };
3635
3649
  } | null | undefined;
3636
3650
  }, {
3637
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
3651
+ 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
3652
  id: string;
3639
3653
  direction: "incoming" | "outgoing" | "system";
3640
3654
  createdAt: string;
@@ -3864,12 +3878,14 @@ export declare const receiveMessageContract: {
3864
3878
  accessToken?: string | undefined;
3865
3879
  channelSecret?: string | undefined;
3866
3880
  additionalCredentials?: any;
3881
+ lineRichMenuId?: string | null | undefined;
3867
3882
  };
3868
3883
  status: boolean;
3869
3884
  brandName: string;
3870
3885
  platformId: string;
3871
3886
  connectedUserName?: string | null | undefined;
3872
3887
  connectedUserId?: string | null | undefined;
3888
+ lineRichMenuId?: string | null | undefined;
3873
3889
  actor?: {
3874
3890
  id: string;
3875
3891
  address: string | null;
@@ -4104,7 +4120,7 @@ export declare const receiveMessageContract: {
4104
4120
  }>;
4105
4121
  }, "strip", z.ZodTypeAny, {
4106
4122
  message: {
4107
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4123
+ 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
4124
  id: string;
4109
4125
  direction: "incoming" | "outgoing" | "system";
4110
4126
  createdAt: string;
@@ -4334,12 +4350,14 @@ export declare const receiveMessageContract: {
4334
4350
  accessToken?: string | undefined;
4335
4351
  channelSecret?: string | undefined;
4336
4352
  additionalCredentials?: any;
4353
+ lineRichMenuId?: string | null | undefined;
4337
4354
  };
4338
4355
  status: boolean;
4339
4356
  brandName: string;
4340
4357
  platformId: string;
4341
4358
  connectedUserName?: string | null | undefined;
4342
4359
  connectedUserId?: string | null | undefined;
4360
+ lineRichMenuId?: string | null | undefined;
4343
4361
  actor?: {
4344
4362
  id: string;
4345
4363
  address: string | null;
@@ -4574,7 +4592,7 @@ export declare const receiveMessageContract: {
4574
4592
  };
4575
4593
  }, {
4576
4594
  message: {
4577
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4595
+ 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
4596
  id: string;
4579
4597
  direction: "incoming" | "outgoing" | "system";
4580
4598
  createdAt: string;
@@ -4804,12 +4822,14 @@ export declare const receiveMessageContract: {
4804
4822
  accessToken?: string | undefined;
4805
4823
  channelSecret?: string | undefined;
4806
4824
  additionalCredentials?: any;
4825
+ lineRichMenuId?: string | null | undefined;
4807
4826
  };
4808
4827
  status: boolean;
4809
4828
  brandName: string;
4810
4829
  platformId: string;
4811
4830
  connectedUserName?: string | null | undefined;
4812
4831
  connectedUserId?: string | null | undefined;
4832
+ lineRichMenuId?: string | null | undefined;
4813
4833
  actor?: {
4814
4834
  id: string;
4815
4835
  address: string | null;
@@ -5224,6 +5244,7 @@ export declare const chatContract: {
5224
5244
  firstResponseAt: z.ZodDate;
5225
5245
  firstResponseTime: z.ZodNumber;
5226
5246
  isLatest: z.ZodBoolean;
5247
+ isBotRoom: z.ZodBoolean;
5227
5248
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5228
5249
  platformContact: z.ZodObject<{
5229
5250
  id: z.ZodString;
@@ -6580,18 +6601,21 @@ export declare const chatContract: {
6580
6601
  accessToken: z.ZodOptional<z.ZodString>;
6581
6602
  channelSecret: z.ZodOptional<z.ZodString>;
6582
6603
  additionalCredentials: z.ZodOptional<z.ZodAny>;
6604
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6583
6605
  }, "strip", z.ZodTypeAny, {
6584
6606
  id: string;
6585
6607
  name: string;
6586
6608
  accessToken?: string | undefined;
6587
6609
  channelSecret?: string | undefined;
6588
6610
  additionalCredentials?: any;
6611
+ lineRichMenuId?: string | null | undefined;
6589
6612
  }, {
6590
6613
  id: string;
6591
6614
  name: string;
6592
6615
  accessToken?: string | undefined;
6593
6616
  channelSecret?: string | undefined;
6594
6617
  additionalCredentials?: any;
6618
+ lineRichMenuId?: string | null | undefined;
6595
6619
  }>;
6596
6620
  brandName: z.ZodString;
6597
6621
  platformId: z.ZodString;
@@ -6599,6 +6623,25 @@ export declare const chatContract: {
6599
6623
  isReloginRequired: z.ZodBoolean;
6600
6624
  connectedUserName: z.ZodString;
6601
6625
  connectedUserId: z.ZodString;
6626
+ botpressBot: z.ZodNullable<z.ZodObject<{
6627
+ id: z.ZodString;
6628
+ name: z.ZodString;
6629
+ botId: z.ZodString;
6630
+ integrationId: z.ZodString;
6631
+ accessToken: z.ZodString;
6632
+ }, "strip", z.ZodTypeAny, {
6633
+ id: string;
6634
+ name: string;
6635
+ accessToken: string;
6636
+ botId: string;
6637
+ integrationId: string;
6638
+ }, {
6639
+ id: string;
6640
+ name: string;
6641
+ accessToken: string;
6642
+ botId: string;
6643
+ integrationId: string;
6644
+ }>>;
6602
6645
  actor: z.ZodObject<{
6603
6646
  id: z.ZodString;
6604
6647
  createdAt: z.ZodDate;
@@ -6813,6 +6856,7 @@ export declare const chatContract: {
6813
6856
  accessToken?: string | undefined;
6814
6857
  channelSecret?: string | undefined;
6815
6858
  additionalCredentials?: any;
6859
+ lineRichMenuId?: string | null | undefined;
6816
6860
  };
6817
6861
  status: boolean;
6818
6862
  createdAt: Date;
@@ -6867,6 +6911,13 @@ export declare const chatContract: {
6867
6911
  isReloginRequired: boolean;
6868
6912
  connectedUserName: string;
6869
6913
  connectedUserId: string;
6914
+ botpressBot: {
6915
+ id: string;
6916
+ name: string;
6917
+ accessToken: string;
6918
+ botId: string;
6919
+ integrationId: string;
6920
+ } | null;
6870
6921
  }, {
6871
6922
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6872
6923
  id: string;
@@ -6877,6 +6928,7 @@ export declare const chatContract: {
6877
6928
  accessToken?: string | undefined;
6878
6929
  channelSecret?: string | undefined;
6879
6930
  additionalCredentials?: any;
6931
+ lineRichMenuId?: string | null | undefined;
6880
6932
  };
6881
6933
  status: boolean;
6882
6934
  createdAt: Date;
@@ -6931,6 +6983,13 @@ export declare const chatContract: {
6931
6983
  isReloginRequired: boolean;
6932
6984
  connectedUserName: string;
6933
6985
  connectedUserId: string;
6986
+ botpressBot: {
6987
+ id: string;
6988
+ name: string;
6989
+ accessToken: string;
6990
+ botId: string;
6991
+ integrationId: string;
6992
+ } | null;
6934
6993
  }>;
6935
6994
  cxlog: z.ZodObject<{
6936
6995
  id: z.ZodString;
@@ -7388,6 +7447,7 @@ export declare const chatContract: {
7388
7447
  accessToken?: string | undefined;
7389
7448
  channelSecret?: string | undefined;
7390
7449
  additionalCredentials?: any;
7450
+ lineRichMenuId?: string | null | undefined;
7391
7451
  };
7392
7452
  status: boolean;
7393
7453
  createdAt: Date;
@@ -7442,6 +7502,13 @@ export declare const chatContract: {
7442
7502
  isReloginRequired: boolean;
7443
7503
  connectedUserName: string;
7444
7504
  connectedUserId: string;
7505
+ botpressBot: {
7506
+ id: string;
7507
+ name: string;
7508
+ accessToken: string;
7509
+ botId: string;
7510
+ integrationId: string;
7511
+ } | null;
7445
7512
  };
7446
7513
  direction: "incoming" | "outgoing" | "system";
7447
7514
  status: number;
@@ -7656,6 +7723,7 @@ export declare const chatContract: {
7656
7723
  };
7657
7724
  closedAt: Date;
7658
7725
  lastMessageAt: Date | null;
7726
+ isBotRoom: boolean;
7659
7727
  cxlog: {
7660
7728
  id: string;
7661
7729
  channel: string | null;
@@ -7746,6 +7814,7 @@ export declare const chatContract: {
7746
7814
  accessToken?: string | undefined;
7747
7815
  channelSecret?: string | undefined;
7748
7816
  additionalCredentials?: any;
7817
+ lineRichMenuId?: string | null | undefined;
7749
7818
  };
7750
7819
  status: boolean;
7751
7820
  createdAt: Date;
@@ -7800,6 +7869,13 @@ export declare const chatContract: {
7800
7869
  isReloginRequired: boolean;
7801
7870
  connectedUserName: string;
7802
7871
  connectedUserId: string;
7872
+ botpressBot: {
7873
+ id: string;
7874
+ name: string;
7875
+ accessToken: string;
7876
+ botId: string;
7877
+ integrationId: string;
7878
+ } | null;
7803
7879
  };
7804
7880
  direction: "incoming" | "outgoing" | "system";
7805
7881
  status: number;
@@ -8014,6 +8090,7 @@ export declare const chatContract: {
8014
8090
  };
8015
8091
  closedAt: Date;
8016
8092
  lastMessageAt: Date | null;
8093
+ isBotRoom: boolean;
8017
8094
  cxlog: {
8018
8095
  id: string;
8019
8096
  channel: string | null;
@@ -8116,6 +8193,7 @@ export declare const chatContract: {
8116
8193
  accessToken?: string | undefined;
8117
8194
  channelSecret?: string | undefined;
8118
8195
  additionalCredentials?: any;
8196
+ lineRichMenuId?: string | null | undefined;
8119
8197
  };
8120
8198
  status: boolean;
8121
8199
  createdAt: Date;
@@ -8170,6 +8248,13 @@ export declare const chatContract: {
8170
8248
  isReloginRequired: boolean;
8171
8249
  connectedUserName: string;
8172
8250
  connectedUserId: string;
8251
+ botpressBot: {
8252
+ id: string;
8253
+ name: string;
8254
+ accessToken: string;
8255
+ botId: string;
8256
+ integrationId: string;
8257
+ } | null;
8173
8258
  };
8174
8259
  direction: "incoming" | "outgoing" | "system";
8175
8260
  status: number;
@@ -8384,6 +8469,7 @@ export declare const chatContract: {
8384
8469
  };
8385
8470
  closedAt: Date;
8386
8471
  lastMessageAt: Date | null;
8472
+ isBotRoom: boolean;
8387
8473
  cxlog: {
8388
8474
  id: string;
8389
8475
  channel: string | null;
@@ -8484,6 +8570,7 @@ export declare const chatContract: {
8484
8570
  accessToken?: string | undefined;
8485
8571
  channelSecret?: string | undefined;
8486
8572
  additionalCredentials?: any;
8573
+ lineRichMenuId?: string | null | undefined;
8487
8574
  };
8488
8575
  status: boolean;
8489
8576
  createdAt: Date;
@@ -8538,6 +8625,13 @@ export declare const chatContract: {
8538
8625
  isReloginRequired: boolean;
8539
8626
  connectedUserName: string;
8540
8627
  connectedUserId: string;
8628
+ botpressBot: {
8629
+ id: string;
8630
+ name: string;
8631
+ accessToken: string;
8632
+ botId: string;
8633
+ integrationId: string;
8634
+ } | null;
8541
8635
  };
8542
8636
  direction: "incoming" | "outgoing" | "system";
8543
8637
  status: number;
@@ -8752,6 +8846,7 @@ export declare const chatContract: {
8752
8846
  };
8753
8847
  closedAt: Date;
8754
8848
  lastMessageAt: Date | null;
8849
+ isBotRoom: boolean;
8755
8850
  cxlog: {
8756
8851
  id: string;
8757
8852
  channel: string | null;
@@ -9850,6 +9945,7 @@ export declare const chatContract: {
9850
9945
  firstResponseAt: z.ZodDate;
9851
9946
  firstResponseTime: z.ZodNumber;
9852
9947
  isLatest: z.ZodBoolean;
9948
+ isBotRoom: z.ZodBoolean;
9853
9949
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9854
9950
  platformContact: z.ZodObject<{
9855
9951
  id: z.ZodString;
@@ -11206,18 +11302,21 @@ export declare const chatContract: {
11206
11302
  accessToken: z.ZodOptional<z.ZodString>;
11207
11303
  channelSecret: z.ZodOptional<z.ZodString>;
11208
11304
  additionalCredentials: z.ZodOptional<z.ZodAny>;
11305
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11209
11306
  }, "strip", z.ZodTypeAny, {
11210
11307
  id: string;
11211
11308
  name: string;
11212
11309
  accessToken?: string | undefined;
11213
11310
  channelSecret?: string | undefined;
11214
11311
  additionalCredentials?: any;
11312
+ lineRichMenuId?: string | null | undefined;
11215
11313
  }, {
11216
11314
  id: string;
11217
11315
  name: string;
11218
11316
  accessToken?: string | undefined;
11219
11317
  channelSecret?: string | undefined;
11220
11318
  additionalCredentials?: any;
11319
+ lineRichMenuId?: string | null | undefined;
11221
11320
  }>;
11222
11321
  brandName: z.ZodString;
11223
11322
  platformId: z.ZodString;
@@ -11225,6 +11324,25 @@ export declare const chatContract: {
11225
11324
  isReloginRequired: z.ZodBoolean;
11226
11325
  connectedUserName: z.ZodString;
11227
11326
  connectedUserId: z.ZodString;
11327
+ botpressBot: z.ZodNullable<z.ZodObject<{
11328
+ id: z.ZodString;
11329
+ name: z.ZodString;
11330
+ botId: z.ZodString;
11331
+ integrationId: z.ZodString;
11332
+ accessToken: z.ZodString;
11333
+ }, "strip", z.ZodTypeAny, {
11334
+ id: string;
11335
+ name: string;
11336
+ accessToken: string;
11337
+ botId: string;
11338
+ integrationId: string;
11339
+ }, {
11340
+ id: string;
11341
+ name: string;
11342
+ accessToken: string;
11343
+ botId: string;
11344
+ integrationId: string;
11345
+ }>>;
11228
11346
  actor: z.ZodObject<{
11229
11347
  id: z.ZodString;
11230
11348
  createdAt: z.ZodDate;
@@ -11439,6 +11557,7 @@ export declare const chatContract: {
11439
11557
  accessToken?: string | undefined;
11440
11558
  channelSecret?: string | undefined;
11441
11559
  additionalCredentials?: any;
11560
+ lineRichMenuId?: string | null | undefined;
11442
11561
  };
11443
11562
  status: boolean;
11444
11563
  createdAt: Date;
@@ -11493,6 +11612,13 @@ export declare const chatContract: {
11493
11612
  isReloginRequired: boolean;
11494
11613
  connectedUserName: string;
11495
11614
  connectedUserId: string;
11615
+ botpressBot: {
11616
+ id: string;
11617
+ name: string;
11618
+ accessToken: string;
11619
+ botId: string;
11620
+ integrationId: string;
11621
+ } | null;
11496
11622
  }, {
11497
11623
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
11498
11624
  id: string;
@@ -11503,6 +11629,7 @@ export declare const chatContract: {
11503
11629
  accessToken?: string | undefined;
11504
11630
  channelSecret?: string | undefined;
11505
11631
  additionalCredentials?: any;
11632
+ lineRichMenuId?: string | null | undefined;
11506
11633
  };
11507
11634
  status: boolean;
11508
11635
  createdAt: Date;
@@ -11557,6 +11684,13 @@ export declare const chatContract: {
11557
11684
  isReloginRequired: boolean;
11558
11685
  connectedUserName: string;
11559
11686
  connectedUserId: string;
11687
+ botpressBot: {
11688
+ id: string;
11689
+ name: string;
11690
+ accessToken: string;
11691
+ botId: string;
11692
+ integrationId: string;
11693
+ } | null;
11560
11694
  }>;
11561
11695
  cxlog: z.ZodObject<{
11562
11696
  id: z.ZodString;
@@ -12014,6 +12148,7 @@ export declare const chatContract: {
12014
12148
  accessToken?: string | undefined;
12015
12149
  channelSecret?: string | undefined;
12016
12150
  additionalCredentials?: any;
12151
+ lineRichMenuId?: string | null | undefined;
12017
12152
  };
12018
12153
  status: boolean;
12019
12154
  createdAt: Date;
@@ -12068,6 +12203,13 @@ export declare const chatContract: {
12068
12203
  isReloginRequired: boolean;
12069
12204
  connectedUserName: string;
12070
12205
  connectedUserId: string;
12206
+ botpressBot: {
12207
+ id: string;
12208
+ name: string;
12209
+ accessToken: string;
12210
+ botId: string;
12211
+ integrationId: string;
12212
+ } | null;
12071
12213
  };
12072
12214
  direction: "incoming" | "outgoing" | "system";
12073
12215
  status: number;
@@ -12282,6 +12424,7 @@ export declare const chatContract: {
12282
12424
  };
12283
12425
  closedAt: Date;
12284
12426
  lastMessageAt: Date | null;
12427
+ isBotRoom: boolean;
12285
12428
  cxlog: {
12286
12429
  id: string;
12287
12430
  channel: string | null;
@@ -12372,6 +12515,7 @@ export declare const chatContract: {
12372
12515
  accessToken?: string | undefined;
12373
12516
  channelSecret?: string | undefined;
12374
12517
  additionalCredentials?: any;
12518
+ lineRichMenuId?: string | null | undefined;
12375
12519
  };
12376
12520
  status: boolean;
12377
12521
  createdAt: Date;
@@ -12426,6 +12570,13 @@ export declare const chatContract: {
12426
12570
  isReloginRequired: boolean;
12427
12571
  connectedUserName: string;
12428
12572
  connectedUserId: string;
12573
+ botpressBot: {
12574
+ id: string;
12575
+ name: string;
12576
+ accessToken: string;
12577
+ botId: string;
12578
+ integrationId: string;
12579
+ } | null;
12429
12580
  };
12430
12581
  direction: "incoming" | "outgoing" | "system";
12431
12582
  status: number;
@@ -12640,6 +12791,7 @@ export declare const chatContract: {
12640
12791
  };
12641
12792
  closedAt: Date;
12642
12793
  lastMessageAt: Date | null;
12794
+ isBotRoom: boolean;
12643
12795
  cxlog: {
12644
12796
  id: string;
12645
12797
  channel: string | null;
@@ -12732,6 +12884,7 @@ export declare const chatContract: {
12732
12884
  accessToken?: string | undefined;
12733
12885
  channelSecret?: string | undefined;
12734
12886
  additionalCredentials?: any;
12887
+ lineRichMenuId?: string | null | undefined;
12735
12888
  };
12736
12889
  status: boolean;
12737
12890
  createdAt: Date;
@@ -12786,6 +12939,13 @@ export declare const chatContract: {
12786
12939
  isReloginRequired: boolean;
12787
12940
  connectedUserName: string;
12788
12941
  connectedUserId: string;
12942
+ botpressBot: {
12943
+ id: string;
12944
+ name: string;
12945
+ accessToken: string;
12946
+ botId: string;
12947
+ integrationId: string;
12948
+ } | null;
12789
12949
  };
12790
12950
  direction: "incoming" | "outgoing" | "system";
12791
12951
  status: number;
@@ -13000,6 +13160,7 @@ export declare const chatContract: {
13000
13160
  };
13001
13161
  closedAt: Date;
13002
13162
  lastMessageAt: Date | null;
13163
+ isBotRoom: boolean;
13003
13164
  cxlog: {
13004
13165
  id: string;
13005
13166
  channel: string | null;
@@ -13093,6 +13254,7 @@ export declare const chatContract: {
13093
13254
  accessToken?: string | undefined;
13094
13255
  channelSecret?: string | undefined;
13095
13256
  additionalCredentials?: any;
13257
+ lineRichMenuId?: string | null | undefined;
13096
13258
  };
13097
13259
  status: boolean;
13098
13260
  createdAt: Date;
@@ -13147,6 +13309,13 @@ export declare const chatContract: {
13147
13309
  isReloginRequired: boolean;
13148
13310
  connectedUserName: string;
13149
13311
  connectedUserId: string;
13312
+ botpressBot: {
13313
+ id: string;
13314
+ name: string;
13315
+ accessToken: string;
13316
+ botId: string;
13317
+ integrationId: string;
13318
+ } | null;
13150
13319
  };
13151
13320
  direction: "incoming" | "outgoing" | "system";
13152
13321
  status: number;
@@ -13361,6 +13530,7 @@ export declare const chatContract: {
13361
13530
  };
13362
13531
  closedAt: Date;
13363
13532
  lastMessageAt: Date | null;
13533
+ isBotRoom: boolean;
13364
13534
  cxlog: {
13365
13535
  id: string;
13366
13536
  channel: string | null;
@@ -13464,7 +13634,7 @@ export declare const chatContract: {
13464
13634
  sendMessage: {
13465
13635
  body: z.ZodObject<{
13466
13636
  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"]>;
13637
+ 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
13638
  message: z.ZodOptional<z.ZodString>;
13469
13639
  messageAttachments: z.ZodOptional<z.ZodObject<{
13470
13640
  bucketName: z.ZodString;
@@ -13708,7 +13878,7 @@ export declare const chatContract: {
13708
13878
  file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
13709
13879
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
13710
13880
  }, "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";
13881
+ 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
13882
  roomId: string;
13713
13883
  message?: string | undefined;
13714
13884
  messageAttachments?: {
@@ -13771,7 +13941,7 @@ export declare const chatContract: {
13771
13941
  file?: File | undefined;
13772
13942
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
13773
13943
  }, {
13774
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
13944
+ 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
13945
  roomId: string;
13776
13946
  message?: string | undefined;
13777
13947
  messageAttachments?: {
@@ -13846,7 +14016,7 @@ export declare const chatContract: {
13846
14016
  deletedAt: z.ZodNullable<z.ZodDate>;
13847
14017
  message: z.ZodString;
13848
14018
  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"]>;
14019
+ 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
14020
  readAt: z.ZodDate;
13851
14021
  metadata: z.ZodAny;
13852
14022
  platformId: z.ZodString;
@@ -13871,6 +14041,7 @@ export declare const chatContract: {
13871
14041
  firstResponseAt: z.ZodDate;
13872
14042
  firstResponseTime: z.ZodNumber;
13873
14043
  isLatest: z.ZodBoolean;
14044
+ isBotRoom: z.ZodBoolean;
13874
14045
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13875
14046
  platformContact: z.ZodObject<{
13876
14047
  id: z.ZodString;
@@ -15227,18 +15398,21 @@ export declare const chatContract: {
15227
15398
  accessToken: z.ZodOptional<z.ZodString>;
15228
15399
  channelSecret: z.ZodOptional<z.ZodString>;
15229
15400
  additionalCredentials: z.ZodOptional<z.ZodAny>;
15401
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15230
15402
  }, "strip", z.ZodTypeAny, {
15231
15403
  id: string;
15232
15404
  name: string;
15233
15405
  accessToken?: string | undefined;
15234
15406
  channelSecret?: string | undefined;
15235
15407
  additionalCredentials?: any;
15408
+ lineRichMenuId?: string | null | undefined;
15236
15409
  }, {
15237
15410
  id: string;
15238
15411
  name: string;
15239
15412
  accessToken?: string | undefined;
15240
15413
  channelSecret?: string | undefined;
15241
15414
  additionalCredentials?: any;
15415
+ lineRichMenuId?: string | null | undefined;
15242
15416
  }>;
15243
15417
  brandName: z.ZodString;
15244
15418
  platformId: z.ZodString;
@@ -15246,6 +15420,25 @@ export declare const chatContract: {
15246
15420
  isReloginRequired: z.ZodBoolean;
15247
15421
  connectedUserName: z.ZodString;
15248
15422
  connectedUserId: z.ZodString;
15423
+ botpressBot: z.ZodNullable<z.ZodObject<{
15424
+ id: z.ZodString;
15425
+ name: z.ZodString;
15426
+ botId: z.ZodString;
15427
+ integrationId: z.ZodString;
15428
+ accessToken: z.ZodString;
15429
+ }, "strip", z.ZodTypeAny, {
15430
+ id: string;
15431
+ name: string;
15432
+ accessToken: string;
15433
+ botId: string;
15434
+ integrationId: string;
15435
+ }, {
15436
+ id: string;
15437
+ name: string;
15438
+ accessToken: string;
15439
+ botId: string;
15440
+ integrationId: string;
15441
+ }>>;
15249
15442
  actor: z.ZodObject<{
15250
15443
  id: z.ZodString;
15251
15444
  createdAt: z.ZodDate;
@@ -15460,6 +15653,7 @@ export declare const chatContract: {
15460
15653
  accessToken?: string | undefined;
15461
15654
  channelSecret?: string | undefined;
15462
15655
  additionalCredentials?: any;
15656
+ lineRichMenuId?: string | null | undefined;
15463
15657
  };
15464
15658
  status: boolean;
15465
15659
  createdAt: Date;
@@ -15514,6 +15708,13 @@ export declare const chatContract: {
15514
15708
  isReloginRequired: boolean;
15515
15709
  connectedUserName: string;
15516
15710
  connectedUserId: string;
15711
+ botpressBot: {
15712
+ id: string;
15713
+ name: string;
15714
+ accessToken: string;
15715
+ botId: string;
15716
+ integrationId: string;
15717
+ } | null;
15517
15718
  }, {
15518
15719
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
15519
15720
  id: string;
@@ -15524,6 +15725,7 @@ export declare const chatContract: {
15524
15725
  accessToken?: string | undefined;
15525
15726
  channelSecret?: string | undefined;
15526
15727
  additionalCredentials?: any;
15728
+ lineRichMenuId?: string | null | undefined;
15527
15729
  };
15528
15730
  status: boolean;
15529
15731
  createdAt: Date;
@@ -15578,6 +15780,13 @@ export declare const chatContract: {
15578
15780
  isReloginRequired: boolean;
15579
15781
  connectedUserName: string;
15580
15782
  connectedUserId: string;
15783
+ botpressBot: {
15784
+ id: string;
15785
+ name: string;
15786
+ accessToken: string;
15787
+ botId: string;
15788
+ integrationId: string;
15789
+ } | null;
15581
15790
  }>;
15582
15791
  cxlog: z.ZodObject<{
15583
15792
  id: z.ZodString;
@@ -16035,6 +16244,7 @@ export declare const chatContract: {
16035
16244
  accessToken?: string | undefined;
16036
16245
  channelSecret?: string | undefined;
16037
16246
  additionalCredentials?: any;
16247
+ lineRichMenuId?: string | null | undefined;
16038
16248
  };
16039
16249
  status: boolean;
16040
16250
  createdAt: Date;
@@ -16089,6 +16299,13 @@ export declare const chatContract: {
16089
16299
  isReloginRequired: boolean;
16090
16300
  connectedUserName: string;
16091
16301
  connectedUserId: string;
16302
+ botpressBot: {
16303
+ id: string;
16304
+ name: string;
16305
+ accessToken: string;
16306
+ botId: string;
16307
+ integrationId: string;
16308
+ } | null;
16092
16309
  };
16093
16310
  direction: "incoming" | "outgoing" | "system";
16094
16311
  status: number;
@@ -16303,6 +16520,7 @@ export declare const chatContract: {
16303
16520
  };
16304
16521
  closedAt: Date;
16305
16522
  lastMessageAt: Date | null;
16523
+ isBotRoom: boolean;
16306
16524
  cxlog: {
16307
16525
  id: string;
16308
16526
  channel: string | null;
@@ -16393,6 +16611,7 @@ export declare const chatContract: {
16393
16611
  accessToken?: string | undefined;
16394
16612
  channelSecret?: string | undefined;
16395
16613
  additionalCredentials?: any;
16614
+ lineRichMenuId?: string | null | undefined;
16396
16615
  };
16397
16616
  status: boolean;
16398
16617
  createdAt: Date;
@@ -16447,6 +16666,13 @@ export declare const chatContract: {
16447
16666
  isReloginRequired: boolean;
16448
16667
  connectedUserName: string;
16449
16668
  connectedUserId: string;
16669
+ botpressBot: {
16670
+ id: string;
16671
+ name: string;
16672
+ accessToken: string;
16673
+ botId: string;
16674
+ integrationId: string;
16675
+ } | null;
16450
16676
  };
16451
16677
  direction: "incoming" | "outgoing" | "system";
16452
16678
  status: number;
@@ -16661,6 +16887,7 @@ export declare const chatContract: {
16661
16887
  };
16662
16888
  closedAt: Date;
16663
16889
  lastMessageAt: Date | null;
16890
+ isBotRoom: boolean;
16664
16891
  cxlog: {
16665
16892
  id: string;
16666
16893
  channel: string | null;
@@ -16781,7 +17008,7 @@ export declare const chatContract: {
16781
17008
  deletedAt: z.ZodNullable<z.ZodDate>;
16782
17009
  message: z.ZodString;
16783
17010
  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"]>;
17011
+ 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
17012
  readAt: z.ZodDate;
16786
17013
  metadata: z.ZodAny;
16787
17014
  platformId: z.ZodString;
@@ -17439,7 +17666,7 @@ export declare const chatContract: {
17439
17666
  };
17440
17667
  }>;
17441
17668
  }, "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";
17669
+ 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
17670
  message: string;
17444
17671
  id: string;
17445
17672
  url: string;
@@ -17491,7 +17718,6 @@ export declare const chatContract: {
17491
17718
  telephonySignature: string | null;
17492
17719
  };
17493
17720
  };
17494
- platformId: string;
17495
17721
  upload: {
17496
17722
  id: string;
17497
17723
  createdAt: Date;
@@ -17548,6 +17774,7 @@ export declare const chatContract: {
17548
17774
  telephonySignature: string | null;
17549
17775
  };
17550
17776
  };
17777
+ platformId: string;
17551
17778
  readAt: Date;
17552
17779
  platformMessageId: string;
17553
17780
  replyPlatformMessageId: string;
@@ -17601,7 +17828,7 @@ export declare const chatContract: {
17601
17828
  metadata?: any;
17602
17829
  template?: any;
17603
17830
  }, {
17604
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
17831
+ 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
17832
  message: string;
17606
17833
  id: string;
17607
17834
  url: string;
@@ -17653,7 +17880,6 @@ export declare const chatContract: {
17653
17880
  telephonySignature: string | null;
17654
17881
  };
17655
17882
  };
17656
- platformId: string;
17657
17883
  upload: {
17658
17884
  id: string;
17659
17885
  createdAt: Date;
@@ -17710,6 +17936,7 @@ export declare const chatContract: {
17710
17936
  telephonySignature: string | null;
17711
17937
  };
17712
17938
  };
17939
+ platformId: string;
17713
17940
  readAt: Date;
17714
17941
  platformMessageId: string;
17715
17942
  replyPlatformMessageId: string;
@@ -18401,7 +18628,7 @@ export declare const chatContract: {
18401
18628
  isActive: boolean;
18402
18629
  }>;
18403
18630
  }, "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";
18631
+ 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
18632
  message: string;
18406
18633
  id: string;
18407
18634
  url: string;
@@ -18453,7 +18680,6 @@ export declare const chatContract: {
18453
18680
  telephonySignature: string | null;
18454
18681
  };
18455
18682
  };
18456
- platformId: string;
18457
18683
  upload: {
18458
18684
  id: string;
18459
18685
  createdAt: Date;
@@ -18510,6 +18736,7 @@ export declare const chatContract: {
18510
18736
  telephonySignature: string | null;
18511
18737
  };
18512
18738
  };
18739
+ platformId: string;
18513
18740
  room: {
18514
18741
  id: string;
18515
18742
  channel: {
@@ -18522,6 +18749,7 @@ export declare const chatContract: {
18522
18749
  accessToken?: string | undefined;
18523
18750
  channelSecret?: string | undefined;
18524
18751
  additionalCredentials?: any;
18752
+ lineRichMenuId?: string | null | undefined;
18525
18753
  };
18526
18754
  status: boolean;
18527
18755
  createdAt: Date;
@@ -18576,6 +18804,13 @@ export declare const chatContract: {
18576
18804
  isReloginRequired: boolean;
18577
18805
  connectedUserName: string;
18578
18806
  connectedUserId: string;
18807
+ botpressBot: {
18808
+ id: string;
18809
+ name: string;
18810
+ accessToken: string;
18811
+ botId: string;
18812
+ integrationId: string;
18813
+ } | null;
18579
18814
  };
18580
18815
  direction: "incoming" | "outgoing" | "system";
18581
18816
  status: number;
@@ -18790,6 +19025,7 @@ export declare const chatContract: {
18790
19025
  };
18791
19026
  closedAt: Date;
18792
19027
  lastMessageAt: Date | null;
19028
+ isBotRoom: boolean;
18793
19029
  cxlog: {
18794
19030
  id: string;
18795
19031
  channel: string | null;
@@ -18885,7 +19121,7 @@ export declare const chatContract: {
18885
19121
  previewUrl: string;
18886
19122
  imageSetId: string;
18887
19123
  repliedMessage: {
18888
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19124
+ 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
19125
  message: string;
18890
19126
  id: string;
18891
19127
  url: string;
@@ -18937,7 +19173,6 @@ export declare const chatContract: {
18937
19173
  telephonySignature: string | null;
18938
19174
  };
18939
19175
  };
18940
- platformId: string;
18941
19176
  upload: {
18942
19177
  id: string;
18943
19178
  createdAt: Date;
@@ -18994,6 +19229,7 @@ export declare const chatContract: {
18994
19229
  telephonySignature: string | null;
18995
19230
  };
18996
19231
  };
19232
+ platformId: string;
18997
19233
  readAt: Date;
18998
19234
  platformMessageId: string;
18999
19235
  replyPlatformMessageId: string;
@@ -19094,7 +19330,7 @@ export declare const chatContract: {
19094
19330
  metadata?: any;
19095
19331
  template?: any;
19096
19332
  }, {
19097
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19333
+ 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
19334
  message: string;
19099
19335
  id: string;
19100
19336
  url: string;
@@ -19146,7 +19382,6 @@ export declare const chatContract: {
19146
19382
  telephonySignature: string | null;
19147
19383
  };
19148
19384
  };
19149
- platformId: string;
19150
19385
  upload: {
19151
19386
  id: string;
19152
19387
  createdAt: Date;
@@ -19203,6 +19438,7 @@ export declare const chatContract: {
19203
19438
  telephonySignature: string | null;
19204
19439
  };
19205
19440
  };
19441
+ platformId: string;
19206
19442
  room: {
19207
19443
  id: string;
19208
19444
  channel: {
@@ -19215,6 +19451,7 @@ export declare const chatContract: {
19215
19451
  accessToken?: string | undefined;
19216
19452
  channelSecret?: string | undefined;
19217
19453
  additionalCredentials?: any;
19454
+ lineRichMenuId?: string | null | undefined;
19218
19455
  };
19219
19456
  status: boolean;
19220
19457
  createdAt: Date;
@@ -19269,6 +19506,13 @@ export declare const chatContract: {
19269
19506
  isReloginRequired: boolean;
19270
19507
  connectedUserName: string;
19271
19508
  connectedUserId: string;
19509
+ botpressBot: {
19510
+ id: string;
19511
+ name: string;
19512
+ accessToken: string;
19513
+ botId: string;
19514
+ integrationId: string;
19515
+ } | null;
19272
19516
  };
19273
19517
  direction: "incoming" | "outgoing" | "system";
19274
19518
  status: number;
@@ -19483,6 +19727,7 @@ export declare const chatContract: {
19483
19727
  };
19484
19728
  closedAt: Date;
19485
19729
  lastMessageAt: Date | null;
19730
+ isBotRoom: boolean;
19486
19731
  cxlog: {
19487
19732
  id: string;
19488
19733
  channel: string | null;
@@ -19578,7 +19823,7 @@ export declare const chatContract: {
19578
19823
  previewUrl: string;
19579
19824
  imageSetId: string;
19580
19825
  repliedMessage: {
19581
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
19826
+ 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
19827
  message: string;
19583
19828
  id: string;
19584
19829
  url: string;
@@ -19630,7 +19875,6 @@ export declare const chatContract: {
19630
19875
  telephonySignature: string | null;
19631
19876
  };
19632
19877
  };
19633
- platformId: string;
19634
19878
  upload: {
19635
19879
  id: string;
19636
19880
  createdAt: Date;
@@ -19687,6 +19931,7 @@ export declare const chatContract: {
19687
19931
  telephonySignature: string | null;
19688
19932
  };
19689
19933
  };
19934
+ platformId: string;
19690
19935
  readAt: Date;
19691
19936
  platformMessageId: string;
19692
19937
  replyPlatformMessageId: string;
@@ -19789,7 +20034,7 @@ export declare const chatContract: {
19789
20034
  }>;
19790
20035
  }, "strip", z.ZodTypeAny, {
19791
20036
  data: {
19792
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
20037
+ 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
20038
  message: string;
19794
20039
  id: string;
19795
20040
  url: string;
@@ -19841,7 +20086,6 @@ export declare const chatContract: {
19841
20086
  telephonySignature: string | null;
19842
20087
  };
19843
20088
  };
19844
- platformId: string;
19845
20089
  upload: {
19846
20090
  id: string;
19847
20091
  createdAt: Date;
@@ -19898,6 +20142,7 @@ export declare const chatContract: {
19898
20142
  telephonySignature: string | null;
19899
20143
  };
19900
20144
  };
20145
+ platformId: string;
19901
20146
  room: {
19902
20147
  id: string;
19903
20148
  channel: {
@@ -19910,6 +20155,7 @@ export declare const chatContract: {
19910
20155
  accessToken?: string | undefined;
19911
20156
  channelSecret?: string | undefined;
19912
20157
  additionalCredentials?: any;
20158
+ lineRichMenuId?: string | null | undefined;
19913
20159
  };
19914
20160
  status: boolean;
19915
20161
  createdAt: Date;
@@ -19964,6 +20210,13 @@ export declare const chatContract: {
19964
20210
  isReloginRequired: boolean;
19965
20211
  connectedUserName: string;
19966
20212
  connectedUserId: string;
20213
+ botpressBot: {
20214
+ id: string;
20215
+ name: string;
20216
+ accessToken: string;
20217
+ botId: string;
20218
+ integrationId: string;
20219
+ } | null;
19967
20220
  };
19968
20221
  direction: "incoming" | "outgoing" | "system";
19969
20222
  status: number;
@@ -20178,6 +20431,7 @@ export declare const chatContract: {
20178
20431
  };
20179
20432
  closedAt: Date;
20180
20433
  lastMessageAt: Date | null;
20434
+ isBotRoom: boolean;
20181
20435
  cxlog: {
20182
20436
  id: string;
20183
20437
  channel: string | null;
@@ -20273,7 +20527,7 @@ export declare const chatContract: {
20273
20527
  previewUrl: string;
20274
20528
  imageSetId: string;
20275
20529
  repliedMessage: {
20276
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
20530
+ 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
20531
  message: string;
20278
20532
  id: string;
20279
20533
  url: string;
@@ -20325,7 +20579,6 @@ export declare const chatContract: {
20325
20579
  telephonySignature: string | null;
20326
20580
  };
20327
20581
  };
20328
- platformId: string;
20329
20582
  upload: {
20330
20583
  id: string;
20331
20584
  createdAt: Date;
@@ -20382,6 +20635,7 @@ export declare const chatContract: {
20382
20635
  telephonySignature: string | null;
20383
20636
  };
20384
20637
  };
20638
+ platformId: string;
20385
20639
  readAt: Date;
20386
20640
  platformMessageId: string;
20387
20641
  replyPlatformMessageId: string;
@@ -20485,7 +20739,7 @@ export declare const chatContract: {
20485
20739
  requestId: string;
20486
20740
  }, {
20487
20741
  data: {
20488
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
20742
+ 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
20743
  message: string;
20490
20744
  id: string;
20491
20745
  url: string;
@@ -20537,7 +20791,6 @@ export declare const chatContract: {
20537
20791
  telephonySignature: string | null;
20538
20792
  };
20539
20793
  };
20540
- platformId: string;
20541
20794
  upload: {
20542
20795
  id: string;
20543
20796
  createdAt: Date;
@@ -20594,6 +20847,7 @@ export declare const chatContract: {
20594
20847
  telephonySignature: string | null;
20595
20848
  };
20596
20849
  };
20850
+ platformId: string;
20597
20851
  room: {
20598
20852
  id: string;
20599
20853
  channel: {
@@ -20606,6 +20860,7 @@ export declare const chatContract: {
20606
20860
  accessToken?: string | undefined;
20607
20861
  channelSecret?: string | undefined;
20608
20862
  additionalCredentials?: any;
20863
+ lineRichMenuId?: string | null | undefined;
20609
20864
  };
20610
20865
  status: boolean;
20611
20866
  createdAt: Date;
@@ -20660,6 +20915,13 @@ export declare const chatContract: {
20660
20915
  isReloginRequired: boolean;
20661
20916
  connectedUserName: string;
20662
20917
  connectedUserId: string;
20918
+ botpressBot: {
20919
+ id: string;
20920
+ name: string;
20921
+ accessToken: string;
20922
+ botId: string;
20923
+ integrationId: string;
20924
+ } | null;
20663
20925
  };
20664
20926
  direction: "incoming" | "outgoing" | "system";
20665
20927
  status: number;
@@ -20874,6 +21136,7 @@ export declare const chatContract: {
20874
21136
  };
20875
21137
  closedAt: Date;
20876
21138
  lastMessageAt: Date | null;
21139
+ isBotRoom: boolean;
20877
21140
  cxlog: {
20878
21141
  id: string;
20879
21142
  channel: string | null;
@@ -20969,7 +21232,7 @@ export declare const chatContract: {
20969
21232
  previewUrl: string;
20970
21233
  imageSetId: string;
20971
21234
  repliedMessage: {
20972
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
21235
+ 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
21236
  message: string;
20974
21237
  id: string;
20975
21238
  url: string;
@@ -21021,7 +21284,6 @@ export declare const chatContract: {
21021
21284
  telephonySignature: string | null;
21022
21285
  };
21023
21286
  };
21024
- platformId: string;
21025
21287
  upload: {
21026
21288
  id: string;
21027
21289
  createdAt: Date;
@@ -21078,6 +21340,7 @@ export declare const chatContract: {
21078
21340
  telephonySignature: string | null;
21079
21341
  };
21080
21342
  };
21343
+ platformId: string;
21081
21344
  readAt: Date;
21082
21345
  platformMessageId: string;
21083
21346
  replyPlatformMessageId: string;
@@ -21314,7 +21577,7 @@ export declare const chatContract: {
21314
21577
  deletedAt: z.ZodNullable<z.ZodDate>;
21315
21578
  message: z.ZodString;
21316
21579
  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"]>;
21580
+ 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
21581
  readAt: z.ZodDate;
21319
21582
  metadata: z.ZodAny;
21320
21583
  platformId: z.ZodString;
@@ -21339,6 +21602,7 @@ export declare const chatContract: {
21339
21602
  firstResponseAt: z.ZodDate;
21340
21603
  firstResponseTime: z.ZodNumber;
21341
21604
  isLatest: z.ZodBoolean;
21605
+ isBotRoom: z.ZodBoolean;
21342
21606
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21343
21607
  platformContact: z.ZodObject<{
21344
21608
  id: z.ZodString;
@@ -22695,18 +22959,21 @@ export declare const chatContract: {
22695
22959
  accessToken: z.ZodOptional<z.ZodString>;
22696
22960
  channelSecret: z.ZodOptional<z.ZodString>;
22697
22961
  additionalCredentials: z.ZodOptional<z.ZodAny>;
22962
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22698
22963
  }, "strip", z.ZodTypeAny, {
22699
22964
  id: string;
22700
22965
  name: string;
22701
22966
  accessToken?: string | undefined;
22702
22967
  channelSecret?: string | undefined;
22703
22968
  additionalCredentials?: any;
22969
+ lineRichMenuId?: string | null | undefined;
22704
22970
  }, {
22705
22971
  id: string;
22706
22972
  name: string;
22707
22973
  accessToken?: string | undefined;
22708
22974
  channelSecret?: string | undefined;
22709
22975
  additionalCredentials?: any;
22976
+ lineRichMenuId?: string | null | undefined;
22710
22977
  }>;
22711
22978
  brandName: z.ZodString;
22712
22979
  platformId: z.ZodString;
@@ -22714,6 +22981,25 @@ export declare const chatContract: {
22714
22981
  isReloginRequired: z.ZodBoolean;
22715
22982
  connectedUserName: z.ZodString;
22716
22983
  connectedUserId: z.ZodString;
22984
+ botpressBot: z.ZodNullable<z.ZodObject<{
22985
+ id: z.ZodString;
22986
+ name: z.ZodString;
22987
+ botId: z.ZodString;
22988
+ integrationId: z.ZodString;
22989
+ accessToken: z.ZodString;
22990
+ }, "strip", z.ZodTypeAny, {
22991
+ id: string;
22992
+ name: string;
22993
+ accessToken: string;
22994
+ botId: string;
22995
+ integrationId: string;
22996
+ }, {
22997
+ id: string;
22998
+ name: string;
22999
+ accessToken: string;
23000
+ botId: string;
23001
+ integrationId: string;
23002
+ }>>;
22717
23003
  actor: z.ZodObject<{
22718
23004
  id: z.ZodString;
22719
23005
  createdAt: z.ZodDate;
@@ -22928,6 +23214,7 @@ export declare const chatContract: {
22928
23214
  accessToken?: string | undefined;
22929
23215
  channelSecret?: string | undefined;
22930
23216
  additionalCredentials?: any;
23217
+ lineRichMenuId?: string | null | undefined;
22931
23218
  };
22932
23219
  status: boolean;
22933
23220
  createdAt: Date;
@@ -22982,6 +23269,13 @@ export declare const chatContract: {
22982
23269
  isReloginRequired: boolean;
22983
23270
  connectedUserName: string;
22984
23271
  connectedUserId: string;
23272
+ botpressBot: {
23273
+ id: string;
23274
+ name: string;
23275
+ accessToken: string;
23276
+ botId: string;
23277
+ integrationId: string;
23278
+ } | null;
22985
23279
  }, {
22986
23280
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
22987
23281
  id: string;
@@ -22992,6 +23286,7 @@ export declare const chatContract: {
22992
23286
  accessToken?: string | undefined;
22993
23287
  channelSecret?: string | undefined;
22994
23288
  additionalCredentials?: any;
23289
+ lineRichMenuId?: string | null | undefined;
22995
23290
  };
22996
23291
  status: boolean;
22997
23292
  createdAt: Date;
@@ -23046,6 +23341,13 @@ export declare const chatContract: {
23046
23341
  isReloginRequired: boolean;
23047
23342
  connectedUserName: string;
23048
23343
  connectedUserId: string;
23344
+ botpressBot: {
23345
+ id: string;
23346
+ name: string;
23347
+ accessToken: string;
23348
+ botId: string;
23349
+ integrationId: string;
23350
+ } | null;
23049
23351
  }>;
23050
23352
  cxlog: z.ZodObject<{
23051
23353
  id: z.ZodString;
@@ -23503,6 +23805,7 @@ export declare const chatContract: {
23503
23805
  accessToken?: string | undefined;
23504
23806
  channelSecret?: string | undefined;
23505
23807
  additionalCredentials?: any;
23808
+ lineRichMenuId?: string | null | undefined;
23506
23809
  };
23507
23810
  status: boolean;
23508
23811
  createdAt: Date;
@@ -23557,6 +23860,13 @@ export declare const chatContract: {
23557
23860
  isReloginRequired: boolean;
23558
23861
  connectedUserName: string;
23559
23862
  connectedUserId: string;
23863
+ botpressBot: {
23864
+ id: string;
23865
+ name: string;
23866
+ accessToken: string;
23867
+ botId: string;
23868
+ integrationId: string;
23869
+ } | null;
23560
23870
  };
23561
23871
  direction: "incoming" | "outgoing" | "system";
23562
23872
  status: number;
@@ -23771,6 +24081,7 @@ export declare const chatContract: {
23771
24081
  };
23772
24082
  closedAt: Date;
23773
24083
  lastMessageAt: Date | null;
24084
+ isBotRoom: boolean;
23774
24085
  cxlog: {
23775
24086
  id: string;
23776
24087
  channel: string | null;
@@ -23861,6 +24172,7 @@ export declare const chatContract: {
23861
24172
  accessToken?: string | undefined;
23862
24173
  channelSecret?: string | undefined;
23863
24174
  additionalCredentials?: any;
24175
+ lineRichMenuId?: string | null | undefined;
23864
24176
  };
23865
24177
  status: boolean;
23866
24178
  createdAt: Date;
@@ -23915,6 +24227,13 @@ export declare const chatContract: {
23915
24227
  isReloginRequired: boolean;
23916
24228
  connectedUserName: string;
23917
24229
  connectedUserId: string;
24230
+ botpressBot: {
24231
+ id: string;
24232
+ name: string;
24233
+ accessToken: string;
24234
+ botId: string;
24235
+ integrationId: string;
24236
+ } | null;
23918
24237
  };
23919
24238
  direction: "incoming" | "outgoing" | "system";
23920
24239
  status: number;
@@ -24129,6 +24448,7 @@ export declare const chatContract: {
24129
24448
  };
24130
24449
  closedAt: Date;
24131
24450
  lastMessageAt: Date | null;
24451
+ isBotRoom: boolean;
24132
24452
  cxlog: {
24133
24453
  id: string;
24134
24454
  channel: string | null;
@@ -24249,7 +24569,7 @@ export declare const chatContract: {
24249
24569
  deletedAt: z.ZodNullable<z.ZodDate>;
24250
24570
  message: z.ZodString;
24251
24571
  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"]>;
24572
+ 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
24573
  readAt: z.ZodDate;
24254
24574
  metadata: z.ZodAny;
24255
24575
  platformId: z.ZodString;
@@ -24907,7 +25227,7 @@ export declare const chatContract: {
24907
25227
  };
24908
25228
  }>;
24909
25229
  }, "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";
25230
+ 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
25231
  message: string;
24912
25232
  id: string;
24913
25233
  url: string;
@@ -24959,7 +25279,6 @@ export declare const chatContract: {
24959
25279
  telephonySignature: string | null;
24960
25280
  };
24961
25281
  };
24962
- platformId: string;
24963
25282
  upload: {
24964
25283
  id: string;
24965
25284
  createdAt: Date;
@@ -25016,6 +25335,7 @@ export declare const chatContract: {
25016
25335
  telephonySignature: string | null;
25017
25336
  };
25018
25337
  };
25338
+ platformId: string;
25019
25339
  readAt: Date;
25020
25340
  platformMessageId: string;
25021
25341
  replyPlatformMessageId: string;
@@ -25069,7 +25389,7 @@ export declare const chatContract: {
25069
25389
  metadata?: any;
25070
25390
  template?: any;
25071
25391
  }, {
25072
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
25392
+ 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
25393
  message: string;
25074
25394
  id: string;
25075
25395
  url: string;
@@ -25121,7 +25441,6 @@ export declare const chatContract: {
25121
25441
  telephonySignature: string | null;
25122
25442
  };
25123
25443
  };
25124
- platformId: string;
25125
25444
  upload: {
25126
25445
  id: string;
25127
25446
  createdAt: Date;
@@ -25178,6 +25497,7 @@ export declare const chatContract: {
25178
25497
  telephonySignature: string | null;
25179
25498
  };
25180
25499
  };
25500
+ platformId: string;
25181
25501
  readAt: Date;
25182
25502
  platformMessageId: string;
25183
25503
  replyPlatformMessageId: string;
@@ -25869,7 +26189,7 @@ export declare const chatContract: {
25869
26189
  isActive: boolean;
25870
26190
  }>;
25871
26191
  }, "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";
26192
+ 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
26193
  message: string;
25874
26194
  id: string;
25875
26195
  url: string;
@@ -25921,7 +26241,6 @@ export declare const chatContract: {
25921
26241
  telephonySignature: string | null;
25922
26242
  };
25923
26243
  };
25924
- platformId: string;
25925
26244
  upload: {
25926
26245
  id: string;
25927
26246
  createdAt: Date;
@@ -25978,6 +26297,7 @@ export declare const chatContract: {
25978
26297
  telephonySignature: string | null;
25979
26298
  };
25980
26299
  };
26300
+ platformId: string;
25981
26301
  room: {
25982
26302
  id: string;
25983
26303
  channel: {
@@ -25990,6 +26310,7 @@ export declare const chatContract: {
25990
26310
  accessToken?: string | undefined;
25991
26311
  channelSecret?: string | undefined;
25992
26312
  additionalCredentials?: any;
26313
+ lineRichMenuId?: string | null | undefined;
25993
26314
  };
25994
26315
  status: boolean;
25995
26316
  createdAt: Date;
@@ -26044,6 +26365,13 @@ export declare const chatContract: {
26044
26365
  isReloginRequired: boolean;
26045
26366
  connectedUserName: string;
26046
26367
  connectedUserId: string;
26368
+ botpressBot: {
26369
+ id: string;
26370
+ name: string;
26371
+ accessToken: string;
26372
+ botId: string;
26373
+ integrationId: string;
26374
+ } | null;
26047
26375
  };
26048
26376
  direction: "incoming" | "outgoing" | "system";
26049
26377
  status: number;
@@ -26258,6 +26586,7 @@ export declare const chatContract: {
26258
26586
  };
26259
26587
  closedAt: Date;
26260
26588
  lastMessageAt: Date | null;
26589
+ isBotRoom: boolean;
26261
26590
  cxlog: {
26262
26591
  id: string;
26263
26592
  channel: string | null;
@@ -26353,7 +26682,7 @@ export declare const chatContract: {
26353
26682
  previewUrl: string;
26354
26683
  imageSetId: string;
26355
26684
  repliedMessage: {
26356
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
26685
+ 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
26686
  message: string;
26358
26687
  id: string;
26359
26688
  url: string;
@@ -26405,7 +26734,6 @@ export declare const chatContract: {
26405
26734
  telephonySignature: string | null;
26406
26735
  };
26407
26736
  };
26408
- platformId: string;
26409
26737
  upload: {
26410
26738
  id: string;
26411
26739
  createdAt: Date;
@@ -26462,6 +26790,7 @@ export declare const chatContract: {
26462
26790
  telephonySignature: string | null;
26463
26791
  };
26464
26792
  };
26793
+ platformId: string;
26465
26794
  readAt: Date;
26466
26795
  platformMessageId: string;
26467
26796
  replyPlatformMessageId: string;
@@ -26562,7 +26891,7 @@ export declare const chatContract: {
26562
26891
  metadata?: any;
26563
26892
  template?: any;
26564
26893
  }, {
26565
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
26894
+ 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
26895
  message: string;
26567
26896
  id: string;
26568
26897
  url: string;
@@ -26614,7 +26943,6 @@ export declare const chatContract: {
26614
26943
  telephonySignature: string | null;
26615
26944
  };
26616
26945
  };
26617
- platformId: string;
26618
26946
  upload: {
26619
26947
  id: string;
26620
26948
  createdAt: Date;
@@ -26671,6 +26999,7 @@ export declare const chatContract: {
26671
26999
  telephonySignature: string | null;
26672
27000
  };
26673
27001
  };
27002
+ platformId: string;
26674
27003
  room: {
26675
27004
  id: string;
26676
27005
  channel: {
@@ -26683,6 +27012,7 @@ export declare const chatContract: {
26683
27012
  accessToken?: string | undefined;
26684
27013
  channelSecret?: string | undefined;
26685
27014
  additionalCredentials?: any;
27015
+ lineRichMenuId?: string | null | undefined;
26686
27016
  };
26687
27017
  status: boolean;
26688
27018
  createdAt: Date;
@@ -26737,6 +27067,13 @@ export declare const chatContract: {
26737
27067
  isReloginRequired: boolean;
26738
27068
  connectedUserName: string;
26739
27069
  connectedUserId: string;
27070
+ botpressBot: {
27071
+ id: string;
27072
+ name: string;
27073
+ accessToken: string;
27074
+ botId: string;
27075
+ integrationId: string;
27076
+ } | null;
26740
27077
  };
26741
27078
  direction: "incoming" | "outgoing" | "system";
26742
27079
  status: number;
@@ -26951,6 +27288,7 @@ export declare const chatContract: {
26951
27288
  };
26952
27289
  closedAt: Date;
26953
27290
  lastMessageAt: Date | null;
27291
+ isBotRoom: boolean;
26954
27292
  cxlog: {
26955
27293
  id: string;
26956
27294
  channel: string | null;
@@ -27046,7 +27384,7 @@ export declare const chatContract: {
27046
27384
  previewUrl: string;
27047
27385
  imageSetId: string;
27048
27386
  repliedMessage: {
27049
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
27387
+ 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
27388
  message: string;
27051
27389
  id: string;
27052
27390
  url: string;
@@ -27098,7 +27436,6 @@ export declare const chatContract: {
27098
27436
  telephonySignature: string | null;
27099
27437
  };
27100
27438
  };
27101
- platformId: string;
27102
27439
  upload: {
27103
27440
  id: string;
27104
27441
  createdAt: Date;
@@ -27155,6 +27492,7 @@ export declare const chatContract: {
27155
27492
  telephonySignature: string | null;
27156
27493
  };
27157
27494
  };
27495
+ platformId: string;
27158
27496
  readAt: Date;
27159
27497
  platformMessageId: string;
27160
27498
  replyPlatformMessageId: string;
@@ -27257,7 +27595,7 @@ export declare const chatContract: {
27257
27595
  }>, "many">;
27258
27596
  }, "strip", z.ZodTypeAny, {
27259
27597
  data: {
27260
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
27598
+ 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
27599
  message: string;
27262
27600
  id: string;
27263
27601
  url: string;
@@ -27309,7 +27647,6 @@ export declare const chatContract: {
27309
27647
  telephonySignature: string | null;
27310
27648
  };
27311
27649
  };
27312
- platformId: string;
27313
27650
  upload: {
27314
27651
  id: string;
27315
27652
  createdAt: Date;
@@ -27366,6 +27703,7 @@ export declare const chatContract: {
27366
27703
  telephonySignature: string | null;
27367
27704
  };
27368
27705
  };
27706
+ platformId: string;
27369
27707
  room: {
27370
27708
  id: string;
27371
27709
  channel: {
@@ -27378,6 +27716,7 @@ export declare const chatContract: {
27378
27716
  accessToken?: string | undefined;
27379
27717
  channelSecret?: string | undefined;
27380
27718
  additionalCredentials?: any;
27719
+ lineRichMenuId?: string | null | undefined;
27381
27720
  };
27382
27721
  status: boolean;
27383
27722
  createdAt: Date;
@@ -27432,6 +27771,13 @@ export declare const chatContract: {
27432
27771
  isReloginRequired: boolean;
27433
27772
  connectedUserName: string;
27434
27773
  connectedUserId: string;
27774
+ botpressBot: {
27775
+ id: string;
27776
+ name: string;
27777
+ accessToken: string;
27778
+ botId: string;
27779
+ integrationId: string;
27780
+ } | null;
27435
27781
  };
27436
27782
  direction: "incoming" | "outgoing" | "system";
27437
27783
  status: number;
@@ -27646,6 +27992,7 @@ export declare const chatContract: {
27646
27992
  };
27647
27993
  closedAt: Date;
27648
27994
  lastMessageAt: Date | null;
27995
+ isBotRoom: boolean;
27649
27996
  cxlog: {
27650
27997
  id: string;
27651
27998
  channel: string | null;
@@ -27741,7 +28088,7 @@ export declare const chatContract: {
27741
28088
  previewUrl: string;
27742
28089
  imageSetId: string;
27743
28090
  repliedMessage: {
27744
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28091
+ 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
28092
  message: string;
27746
28093
  id: string;
27747
28094
  url: string;
@@ -27793,7 +28140,6 @@ export declare const chatContract: {
27793
28140
  telephonySignature: string | null;
27794
28141
  };
27795
28142
  };
27796
- platformId: string;
27797
28143
  upload: {
27798
28144
  id: string;
27799
28145
  createdAt: Date;
@@ -27850,6 +28196,7 @@ export declare const chatContract: {
27850
28196
  telephonySignature: string | null;
27851
28197
  };
27852
28198
  };
28199
+ platformId: string;
27853
28200
  readAt: Date;
27854
28201
  platformMessageId: string;
27855
28202
  replyPlatformMessageId: string;
@@ -27956,7 +28303,7 @@ export declare const chatContract: {
27956
28303
  requestId: string;
27957
28304
  }, {
27958
28305
  data: {
27959
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28306
+ 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
28307
  message: string;
27961
28308
  id: string;
27962
28309
  url: string;
@@ -28008,7 +28355,6 @@ export declare const chatContract: {
28008
28355
  telephonySignature: string | null;
28009
28356
  };
28010
28357
  };
28011
- platformId: string;
28012
28358
  upload: {
28013
28359
  id: string;
28014
28360
  createdAt: Date;
@@ -28065,6 +28411,7 @@ export declare const chatContract: {
28065
28411
  telephonySignature: string | null;
28066
28412
  };
28067
28413
  };
28414
+ platformId: string;
28068
28415
  room: {
28069
28416
  id: string;
28070
28417
  channel: {
@@ -28077,6 +28424,7 @@ export declare const chatContract: {
28077
28424
  accessToken?: string | undefined;
28078
28425
  channelSecret?: string | undefined;
28079
28426
  additionalCredentials?: any;
28427
+ lineRichMenuId?: string | null | undefined;
28080
28428
  };
28081
28429
  status: boolean;
28082
28430
  createdAt: Date;
@@ -28131,6 +28479,13 @@ export declare const chatContract: {
28131
28479
  isReloginRequired: boolean;
28132
28480
  connectedUserName: string;
28133
28481
  connectedUserId: string;
28482
+ botpressBot: {
28483
+ id: string;
28484
+ name: string;
28485
+ accessToken: string;
28486
+ botId: string;
28487
+ integrationId: string;
28488
+ } | null;
28134
28489
  };
28135
28490
  direction: "incoming" | "outgoing" | "system";
28136
28491
  status: number;
@@ -28345,6 +28700,7 @@ export declare const chatContract: {
28345
28700
  };
28346
28701
  closedAt: Date;
28347
28702
  lastMessageAt: Date | null;
28703
+ isBotRoom: boolean;
28348
28704
  cxlog: {
28349
28705
  id: string;
28350
28706
  channel: string | null;
@@ -28440,7 +28796,7 @@ export declare const chatContract: {
28440
28796
  previewUrl: string;
28441
28797
  imageSetId: string;
28442
28798
  repliedMessage: {
28443
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
28799
+ 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
28800
  message: string;
28445
28801
  id: string;
28446
28802
  url: string;
@@ -28492,7 +28848,6 @@ export declare const chatContract: {
28492
28848
  telephonySignature: string | null;
28493
28849
  };
28494
28850
  };
28495
- platformId: string;
28496
28851
  upload: {
28497
28852
  id: string;
28498
28853
  createdAt: Date;
@@ -28549,6 +28904,7 @@ export declare const chatContract: {
28549
28904
  telephonySignature: string | null;
28550
28905
  };
28551
28906
  };
28907
+ platformId: string;
28552
28908
  readAt: Date;
28553
28909
  platformMessageId: string;
28554
28910
  replyPlatformMessageId: string;
@@ -28704,18 +29060,21 @@ export declare const chatContract: {
28704
29060
  accessToken: z.ZodOptional<z.ZodString>;
28705
29061
  channelSecret: z.ZodOptional<z.ZodString>;
28706
29062
  additionalCredentials: z.ZodOptional<z.ZodAny>;
29063
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28707
29064
  }, "strip", z.ZodTypeAny, {
28708
29065
  id: string;
28709
29066
  name: string;
28710
29067
  accessToken?: string | undefined;
28711
29068
  channelSecret?: string | undefined;
28712
29069
  additionalCredentials?: any;
29070
+ lineRichMenuId?: string | null | undefined;
28713
29071
  }, {
28714
29072
  id: string;
28715
29073
  name: string;
28716
29074
  accessToken?: string | undefined;
28717
29075
  channelSecret?: string | undefined;
28718
29076
  additionalCredentials?: any;
29077
+ lineRichMenuId?: string | null | undefined;
28719
29078
  }>;
28720
29079
  brandName: z.ZodString;
28721
29080
  platformId: z.ZodString;
@@ -28723,6 +29082,25 @@ export declare const chatContract: {
28723
29082
  isReloginRequired: z.ZodBoolean;
28724
29083
  connectedUserName: z.ZodString;
28725
29084
  connectedUserId: z.ZodString;
29085
+ botpressBot: z.ZodNullable<z.ZodObject<{
29086
+ id: z.ZodString;
29087
+ name: z.ZodString;
29088
+ botId: z.ZodString;
29089
+ integrationId: z.ZodString;
29090
+ accessToken: z.ZodString;
29091
+ }, "strip", z.ZodTypeAny, {
29092
+ id: string;
29093
+ name: string;
29094
+ accessToken: string;
29095
+ botId: string;
29096
+ integrationId: string;
29097
+ }, {
29098
+ id: string;
29099
+ name: string;
29100
+ accessToken: string;
29101
+ botId: string;
29102
+ integrationId: string;
29103
+ }>>;
28726
29104
  actor: z.ZodObject<{
28727
29105
  id: z.ZodString;
28728
29106
  createdAt: z.ZodDate;
@@ -28937,6 +29315,7 @@ export declare const chatContract: {
28937
29315
  accessToken?: string | undefined;
28938
29316
  channelSecret?: string | undefined;
28939
29317
  additionalCredentials?: any;
29318
+ lineRichMenuId?: string | null | undefined;
28940
29319
  };
28941
29320
  status: boolean;
28942
29321
  createdAt: Date;
@@ -28991,6 +29370,13 @@ export declare const chatContract: {
28991
29370
  isReloginRequired: boolean;
28992
29371
  connectedUserName: string;
28993
29372
  connectedUserId: string;
29373
+ botpressBot: {
29374
+ id: string;
29375
+ name: string;
29376
+ accessToken: string;
29377
+ botId: string;
29378
+ integrationId: string;
29379
+ } | null;
28994
29380
  }, {
28995
29381
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
28996
29382
  id: string;
@@ -29001,6 +29387,7 @@ export declare const chatContract: {
29001
29387
  accessToken?: string | undefined;
29002
29388
  channelSecret?: string | undefined;
29003
29389
  additionalCredentials?: any;
29390
+ lineRichMenuId?: string | null | undefined;
29004
29391
  };
29005
29392
  status: boolean;
29006
29393
  createdAt: Date;
@@ -29055,6 +29442,13 @@ export declare const chatContract: {
29055
29442
  isReloginRequired: boolean;
29056
29443
  connectedUserName: string;
29057
29444
  connectedUserId: string;
29445
+ botpressBot: {
29446
+ id: string;
29447
+ name: string;
29448
+ accessToken: string;
29449
+ botId: string;
29450
+ integrationId: string;
29451
+ } | null;
29058
29452
  }>;
29059
29453
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
29060
29454
  status: z.ZodNumber;
@@ -30411,6 +30805,7 @@ export declare const chatContract: {
30411
30805
  }>;
30412
30806
  closedAt: z.ZodDate;
30413
30807
  lastMessageAt: z.ZodNullable<z.ZodDate>;
30808
+ isBotRoom: z.ZodBoolean;
30414
30809
  cxlog: z.ZodObject<{
30415
30810
  id: z.ZodString;
30416
30811
  createdAt: z.ZodDate;
@@ -30868,6 +31263,7 @@ export declare const chatContract: {
30868
31263
  accessToken?: string | undefined;
30869
31264
  channelSecret?: string | undefined;
30870
31265
  additionalCredentials?: any;
31266
+ lineRichMenuId?: string | null | undefined;
30871
31267
  };
30872
31268
  status: boolean;
30873
31269
  createdAt: Date;
@@ -30922,6 +31318,13 @@ export declare const chatContract: {
30922
31318
  isReloginRequired: boolean;
30923
31319
  connectedUserName: string;
30924
31320
  connectedUserId: string;
31321
+ botpressBot: {
31322
+ id: string;
31323
+ name: string;
31324
+ accessToken: string;
31325
+ botId: string;
31326
+ integrationId: string;
31327
+ } | null;
30925
31328
  };
30926
31329
  direction: "incoming" | "outgoing" | "system";
30927
31330
  status: number;
@@ -31136,6 +31539,7 @@ export declare const chatContract: {
31136
31539
  };
31137
31540
  closedAt: Date;
31138
31541
  lastMessageAt: Date | null;
31542
+ isBotRoom: boolean;
31139
31543
  cxlog: {
31140
31544
  id: string;
31141
31545
  channel: string | null;
@@ -31227,6 +31631,7 @@ export declare const chatContract: {
31227
31631
  accessToken?: string | undefined;
31228
31632
  channelSecret?: string | undefined;
31229
31633
  additionalCredentials?: any;
31634
+ lineRichMenuId?: string | null | undefined;
31230
31635
  };
31231
31636
  status: boolean;
31232
31637
  createdAt: Date;
@@ -31281,6 +31686,13 @@ export declare const chatContract: {
31281
31686
  isReloginRequired: boolean;
31282
31687
  connectedUserName: string;
31283
31688
  connectedUserId: string;
31689
+ botpressBot: {
31690
+ id: string;
31691
+ name: string;
31692
+ accessToken: string;
31693
+ botId: string;
31694
+ integrationId: string;
31695
+ } | null;
31284
31696
  };
31285
31697
  direction: "incoming" | "outgoing" | "system";
31286
31698
  status: number;
@@ -31495,6 +31907,7 @@ export declare const chatContract: {
31495
31907
  };
31496
31908
  closedAt: Date;
31497
31909
  lastMessageAt: Date | null;
31910
+ isBotRoom: boolean;
31498
31911
  cxlog: {
31499
31912
  id: string;
31500
31913
  channel: string | null;
@@ -31588,6 +32001,7 @@ export declare const chatContract: {
31588
32001
  accessToken?: string | undefined;
31589
32002
  channelSecret?: string | undefined;
31590
32003
  additionalCredentials?: any;
32004
+ lineRichMenuId?: string | null | undefined;
31591
32005
  };
31592
32006
  status: boolean;
31593
32007
  createdAt: Date;
@@ -31642,6 +32056,13 @@ export declare const chatContract: {
31642
32056
  isReloginRequired: boolean;
31643
32057
  connectedUserName: string;
31644
32058
  connectedUserId: string;
32059
+ botpressBot: {
32060
+ id: string;
32061
+ name: string;
32062
+ accessToken: string;
32063
+ botId: string;
32064
+ integrationId: string;
32065
+ } | null;
31645
32066
  };
31646
32067
  direction: "incoming" | "outgoing" | "system";
31647
32068
  status: number;
@@ -31856,6 +32277,7 @@ export declare const chatContract: {
31856
32277
  };
31857
32278
  closedAt: Date;
31858
32279
  lastMessageAt: Date | null;
32280
+ isBotRoom: boolean;
31859
32281
  cxlog: {
31860
32282
  id: string;
31861
32283
  channel: string | null;
@@ -31950,6 +32372,7 @@ export declare const chatContract: {
31950
32372
  accessToken?: string | undefined;
31951
32373
  channelSecret?: string | undefined;
31952
32374
  additionalCredentials?: any;
32375
+ lineRichMenuId?: string | null | undefined;
31953
32376
  };
31954
32377
  status: boolean;
31955
32378
  createdAt: Date;
@@ -32004,6 +32427,13 @@ export declare const chatContract: {
32004
32427
  isReloginRequired: boolean;
32005
32428
  connectedUserName: string;
32006
32429
  connectedUserId: string;
32430
+ botpressBot: {
32431
+ id: string;
32432
+ name: string;
32433
+ accessToken: string;
32434
+ botId: string;
32435
+ integrationId: string;
32436
+ } | null;
32007
32437
  };
32008
32438
  direction: "incoming" | "outgoing" | "system";
32009
32439
  status: number;
@@ -32218,6 +32648,7 @@ export declare const chatContract: {
32218
32648
  };
32219
32649
  closedAt: Date;
32220
32650
  lastMessageAt: Date | null;
32651
+ isBotRoom: boolean;
32221
32652
  cxlog: {
32222
32653
  id: string;
32223
32654
  channel: string | null;
@@ -32359,6 +32790,7 @@ export declare const chatContract: {
32359
32790
  firstResponseAt: z.ZodDate;
32360
32791
  firstResponseTime: z.ZodNumber;
32361
32792
  isLatest: z.ZodBoolean;
32793
+ isBotRoom: z.ZodBoolean;
32362
32794
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
32363
32795
  platformContact: z.ZodObject<{
32364
32796
  id: z.ZodString;
@@ -33715,18 +34147,21 @@ export declare const chatContract: {
33715
34147
  accessToken: z.ZodOptional<z.ZodString>;
33716
34148
  channelSecret: z.ZodOptional<z.ZodString>;
33717
34149
  additionalCredentials: z.ZodOptional<z.ZodAny>;
34150
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33718
34151
  }, "strip", z.ZodTypeAny, {
33719
34152
  id: string;
33720
34153
  name: string;
33721
34154
  accessToken?: string | undefined;
33722
34155
  channelSecret?: string | undefined;
33723
34156
  additionalCredentials?: any;
34157
+ lineRichMenuId?: string | null | undefined;
33724
34158
  }, {
33725
34159
  id: string;
33726
34160
  name: string;
33727
34161
  accessToken?: string | undefined;
33728
34162
  channelSecret?: string | undefined;
33729
34163
  additionalCredentials?: any;
34164
+ lineRichMenuId?: string | null | undefined;
33730
34165
  }>;
33731
34166
  brandName: z.ZodString;
33732
34167
  platformId: z.ZodString;
@@ -33734,6 +34169,25 @@ export declare const chatContract: {
33734
34169
  isReloginRequired: z.ZodBoolean;
33735
34170
  connectedUserName: z.ZodString;
33736
34171
  connectedUserId: z.ZodString;
34172
+ botpressBot: z.ZodNullable<z.ZodObject<{
34173
+ id: z.ZodString;
34174
+ name: z.ZodString;
34175
+ botId: z.ZodString;
34176
+ integrationId: z.ZodString;
34177
+ accessToken: z.ZodString;
34178
+ }, "strip", z.ZodTypeAny, {
34179
+ id: string;
34180
+ name: string;
34181
+ accessToken: string;
34182
+ botId: string;
34183
+ integrationId: string;
34184
+ }, {
34185
+ id: string;
34186
+ name: string;
34187
+ accessToken: string;
34188
+ botId: string;
34189
+ integrationId: string;
34190
+ }>>;
33737
34191
  actor: z.ZodObject<{
33738
34192
  id: z.ZodString;
33739
34193
  createdAt: z.ZodDate;
@@ -33948,6 +34402,7 @@ export declare const chatContract: {
33948
34402
  accessToken?: string | undefined;
33949
34403
  channelSecret?: string | undefined;
33950
34404
  additionalCredentials?: any;
34405
+ lineRichMenuId?: string | null | undefined;
33951
34406
  };
33952
34407
  status: boolean;
33953
34408
  createdAt: Date;
@@ -34002,6 +34457,13 @@ export declare const chatContract: {
34002
34457
  isReloginRequired: boolean;
34003
34458
  connectedUserName: string;
34004
34459
  connectedUserId: string;
34460
+ botpressBot: {
34461
+ id: string;
34462
+ name: string;
34463
+ accessToken: string;
34464
+ botId: string;
34465
+ integrationId: string;
34466
+ } | null;
34005
34467
  }, {
34006
34468
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
34007
34469
  id: string;
@@ -34012,6 +34474,7 @@ export declare const chatContract: {
34012
34474
  accessToken?: string | undefined;
34013
34475
  channelSecret?: string | undefined;
34014
34476
  additionalCredentials?: any;
34477
+ lineRichMenuId?: string | null | undefined;
34015
34478
  };
34016
34479
  status: boolean;
34017
34480
  createdAt: Date;
@@ -34066,6 +34529,13 @@ export declare const chatContract: {
34066
34529
  isReloginRequired: boolean;
34067
34530
  connectedUserName: string;
34068
34531
  connectedUserId: string;
34532
+ botpressBot: {
34533
+ id: string;
34534
+ name: string;
34535
+ accessToken: string;
34536
+ botId: string;
34537
+ integrationId: string;
34538
+ } | null;
34069
34539
  }>;
34070
34540
  cxlog: z.ZodObject<{
34071
34541
  id: z.ZodString;
@@ -34523,6 +34993,7 @@ export declare const chatContract: {
34523
34993
  accessToken?: string | undefined;
34524
34994
  channelSecret?: string | undefined;
34525
34995
  additionalCredentials?: any;
34996
+ lineRichMenuId?: string | null | undefined;
34526
34997
  };
34527
34998
  status: boolean;
34528
34999
  createdAt: Date;
@@ -34577,6 +35048,13 @@ export declare const chatContract: {
34577
35048
  isReloginRequired: boolean;
34578
35049
  connectedUserName: string;
34579
35050
  connectedUserId: string;
35051
+ botpressBot: {
35052
+ id: string;
35053
+ name: string;
35054
+ accessToken: string;
35055
+ botId: string;
35056
+ integrationId: string;
35057
+ } | null;
34580
35058
  };
34581
35059
  direction: "incoming" | "outgoing" | "system";
34582
35060
  status: number;
@@ -34791,6 +35269,7 @@ export declare const chatContract: {
34791
35269
  };
34792
35270
  closedAt: Date;
34793
35271
  lastMessageAt: Date | null;
35272
+ isBotRoom: boolean;
34794
35273
  cxlog: {
34795
35274
  id: string;
34796
35275
  channel: string | null;
@@ -34881,6 +35360,7 @@ export declare const chatContract: {
34881
35360
  accessToken?: string | undefined;
34882
35361
  channelSecret?: string | undefined;
34883
35362
  additionalCredentials?: any;
35363
+ lineRichMenuId?: string | null | undefined;
34884
35364
  };
34885
35365
  status: boolean;
34886
35366
  createdAt: Date;
@@ -34935,6 +35415,13 @@ export declare const chatContract: {
34935
35415
  isReloginRequired: boolean;
34936
35416
  connectedUserName: string;
34937
35417
  connectedUserId: string;
35418
+ botpressBot: {
35419
+ id: string;
35420
+ name: string;
35421
+ accessToken: string;
35422
+ botId: string;
35423
+ integrationId: string;
35424
+ } | null;
34938
35425
  };
34939
35426
  direction: "incoming" | "outgoing" | "system";
34940
35427
  status: number;
@@ -35149,6 +35636,7 @@ export declare const chatContract: {
35149
35636
  };
35150
35637
  closedAt: Date;
35151
35638
  lastMessageAt: Date | null;
35639
+ isBotRoom: boolean;
35152
35640
  cxlog: {
35153
35641
  id: string;
35154
35642
  channel: string | null;
@@ -35241,6 +35729,7 @@ export declare const chatContract: {
35241
35729
  accessToken?: string | undefined;
35242
35730
  channelSecret?: string | undefined;
35243
35731
  additionalCredentials?: any;
35732
+ lineRichMenuId?: string | null | undefined;
35244
35733
  };
35245
35734
  status: boolean;
35246
35735
  createdAt: Date;
@@ -35295,6 +35784,13 @@ export declare const chatContract: {
35295
35784
  isReloginRequired: boolean;
35296
35785
  connectedUserName: string;
35297
35786
  connectedUserId: string;
35787
+ botpressBot: {
35788
+ id: string;
35789
+ name: string;
35790
+ accessToken: string;
35791
+ botId: string;
35792
+ integrationId: string;
35793
+ } | null;
35298
35794
  };
35299
35795
  direction: "incoming" | "outgoing" | "system";
35300
35796
  status: number;
@@ -35509,6 +36005,7 @@ export declare const chatContract: {
35509
36005
  };
35510
36006
  closedAt: Date;
35511
36007
  lastMessageAt: Date | null;
36008
+ isBotRoom: boolean;
35512
36009
  cxlog: {
35513
36010
  id: string;
35514
36011
  channel: string | null;
@@ -35602,6 +36099,7 @@ export declare const chatContract: {
35602
36099
  accessToken?: string | undefined;
35603
36100
  channelSecret?: string | undefined;
35604
36101
  additionalCredentials?: any;
36102
+ lineRichMenuId?: string | null | undefined;
35605
36103
  };
35606
36104
  status: boolean;
35607
36105
  createdAt: Date;
@@ -35656,6 +36154,13 @@ export declare const chatContract: {
35656
36154
  isReloginRequired: boolean;
35657
36155
  connectedUserName: string;
35658
36156
  connectedUserId: string;
36157
+ botpressBot: {
36158
+ id: string;
36159
+ name: string;
36160
+ accessToken: string;
36161
+ botId: string;
36162
+ integrationId: string;
36163
+ } | null;
35659
36164
  };
35660
36165
  direction: "incoming" | "outgoing" | "system";
35661
36166
  status: number;
@@ -35870,6 +36375,7 @@ export declare const chatContract: {
35870
36375
  };
35871
36376
  closedAt: Date;
35872
36377
  lastMessageAt: Date | null;
36378
+ isBotRoom: boolean;
35873
36379
  cxlog: {
35874
36380
  id: string;
35875
36381
  channel: string | null;
@@ -36008,6 +36514,7 @@ export declare const chatContract: {
36008
36514
  firstResponseAt: z.ZodDate;
36009
36515
  firstResponseTime: z.ZodNumber;
36010
36516
  isLatest: z.ZodBoolean;
36517
+ isBotRoom: z.ZodBoolean;
36011
36518
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
36012
36519
  platformContact: z.ZodObject<{
36013
36520
  id: z.ZodString;
@@ -37364,18 +37871,21 @@ export declare const chatContract: {
37364
37871
  accessToken: z.ZodOptional<z.ZodString>;
37365
37872
  channelSecret: z.ZodOptional<z.ZodString>;
37366
37873
  additionalCredentials: z.ZodOptional<z.ZodAny>;
37874
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37367
37875
  }, "strip", z.ZodTypeAny, {
37368
37876
  id: string;
37369
37877
  name: string;
37370
37878
  accessToken?: string | undefined;
37371
37879
  channelSecret?: string | undefined;
37372
37880
  additionalCredentials?: any;
37881
+ lineRichMenuId?: string | null | undefined;
37373
37882
  }, {
37374
37883
  id: string;
37375
37884
  name: string;
37376
37885
  accessToken?: string | undefined;
37377
37886
  channelSecret?: string | undefined;
37378
37887
  additionalCredentials?: any;
37888
+ lineRichMenuId?: string | null | undefined;
37379
37889
  }>;
37380
37890
  brandName: z.ZodString;
37381
37891
  platformId: z.ZodString;
@@ -37383,6 +37893,25 @@ export declare const chatContract: {
37383
37893
  isReloginRequired: z.ZodBoolean;
37384
37894
  connectedUserName: z.ZodString;
37385
37895
  connectedUserId: z.ZodString;
37896
+ botpressBot: z.ZodNullable<z.ZodObject<{
37897
+ id: z.ZodString;
37898
+ name: z.ZodString;
37899
+ botId: z.ZodString;
37900
+ integrationId: z.ZodString;
37901
+ accessToken: z.ZodString;
37902
+ }, "strip", z.ZodTypeAny, {
37903
+ id: string;
37904
+ name: string;
37905
+ accessToken: string;
37906
+ botId: string;
37907
+ integrationId: string;
37908
+ }, {
37909
+ id: string;
37910
+ name: string;
37911
+ accessToken: string;
37912
+ botId: string;
37913
+ integrationId: string;
37914
+ }>>;
37386
37915
  actor: z.ZodObject<{
37387
37916
  id: z.ZodString;
37388
37917
  createdAt: z.ZodDate;
@@ -37597,6 +38126,7 @@ export declare const chatContract: {
37597
38126
  accessToken?: string | undefined;
37598
38127
  channelSecret?: string | undefined;
37599
38128
  additionalCredentials?: any;
38129
+ lineRichMenuId?: string | null | undefined;
37600
38130
  };
37601
38131
  status: boolean;
37602
38132
  createdAt: Date;
@@ -37651,6 +38181,13 @@ export declare const chatContract: {
37651
38181
  isReloginRequired: boolean;
37652
38182
  connectedUserName: string;
37653
38183
  connectedUserId: string;
38184
+ botpressBot: {
38185
+ id: string;
38186
+ name: string;
38187
+ accessToken: string;
38188
+ botId: string;
38189
+ integrationId: string;
38190
+ } | null;
37654
38191
  }, {
37655
38192
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
37656
38193
  id: string;
@@ -37661,6 +38198,7 @@ export declare const chatContract: {
37661
38198
  accessToken?: string | undefined;
37662
38199
  channelSecret?: string | undefined;
37663
38200
  additionalCredentials?: any;
38201
+ lineRichMenuId?: string | null | undefined;
37664
38202
  };
37665
38203
  status: boolean;
37666
38204
  createdAt: Date;
@@ -37715,6 +38253,13 @@ export declare const chatContract: {
37715
38253
  isReloginRequired: boolean;
37716
38254
  connectedUserName: string;
37717
38255
  connectedUserId: string;
38256
+ botpressBot: {
38257
+ id: string;
38258
+ name: string;
38259
+ accessToken: string;
38260
+ botId: string;
38261
+ integrationId: string;
38262
+ } | null;
37718
38263
  }>;
37719
38264
  cxlog: z.ZodObject<{
37720
38265
  id: z.ZodString;
@@ -38172,6 +38717,7 @@ export declare const chatContract: {
38172
38717
  accessToken?: string | undefined;
38173
38718
  channelSecret?: string | undefined;
38174
38719
  additionalCredentials?: any;
38720
+ lineRichMenuId?: string | null | undefined;
38175
38721
  };
38176
38722
  status: boolean;
38177
38723
  createdAt: Date;
@@ -38226,6 +38772,13 @@ export declare const chatContract: {
38226
38772
  isReloginRequired: boolean;
38227
38773
  connectedUserName: string;
38228
38774
  connectedUserId: string;
38775
+ botpressBot: {
38776
+ id: string;
38777
+ name: string;
38778
+ accessToken: string;
38779
+ botId: string;
38780
+ integrationId: string;
38781
+ } | null;
38229
38782
  };
38230
38783
  direction: "incoming" | "outgoing" | "system";
38231
38784
  status: number;
@@ -38440,6 +38993,7 @@ export declare const chatContract: {
38440
38993
  };
38441
38994
  closedAt: Date;
38442
38995
  lastMessageAt: Date | null;
38996
+ isBotRoom: boolean;
38443
38997
  cxlog: {
38444
38998
  id: string;
38445
38999
  channel: string | null;
@@ -38530,6 +39084,7 @@ export declare const chatContract: {
38530
39084
  accessToken?: string | undefined;
38531
39085
  channelSecret?: string | undefined;
38532
39086
  additionalCredentials?: any;
39087
+ lineRichMenuId?: string | null | undefined;
38533
39088
  };
38534
39089
  status: boolean;
38535
39090
  createdAt: Date;
@@ -38584,6 +39139,13 @@ export declare const chatContract: {
38584
39139
  isReloginRequired: boolean;
38585
39140
  connectedUserName: string;
38586
39141
  connectedUserId: string;
39142
+ botpressBot: {
39143
+ id: string;
39144
+ name: string;
39145
+ accessToken: string;
39146
+ botId: string;
39147
+ integrationId: string;
39148
+ } | null;
38587
39149
  };
38588
39150
  direction: "incoming" | "outgoing" | "system";
38589
39151
  status: number;
@@ -38798,6 +39360,7 @@ export declare const chatContract: {
38798
39360
  };
38799
39361
  closedAt: Date;
38800
39362
  lastMessageAt: Date | null;
39363
+ isBotRoom: boolean;
38801
39364
  cxlog: {
38802
39365
  id: string;
38803
39366
  channel: string | null;
@@ -38880,7 +39443,7 @@ export declare const chatContract: {
38880
39443
  latestIncomingMessage: z.ZodObject<{
38881
39444
  message: z.ZodString;
38882
39445
  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"]>;
39446
+ 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
39447
  readAt: z.ZodDate;
38885
39448
  metadata: z.ZodAny;
38886
39449
  platformId: z.ZodString;
@@ -38892,7 +39455,7 @@ export declare const chatContract: {
38892
39455
  previewUrl: z.ZodString;
38893
39456
  imageSetId: z.ZodString;
38894
39457
  }, "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";
39458
+ 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
39459
  message: string;
38897
39460
  url: string;
38898
39461
  direction: "incoming" | "outgoing" | "system";
@@ -38906,7 +39469,7 @@ export declare const chatContract: {
38906
39469
  metadata?: any;
38907
39470
  template?: any;
38908
39471
  }, {
38909
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
39472
+ 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
39473
  message: string;
38911
39474
  url: string;
38912
39475
  direction: "incoming" | "outgoing" | "system";
@@ -38933,6 +39496,7 @@ export declare const chatContract: {
38933
39496
  accessToken?: string | undefined;
38934
39497
  channelSecret?: string | undefined;
38935
39498
  additionalCredentials?: any;
39499
+ lineRichMenuId?: string | null | undefined;
38936
39500
  };
38937
39501
  status: boolean;
38938
39502
  createdAt: Date;
@@ -38987,6 +39551,13 @@ export declare const chatContract: {
38987
39551
  isReloginRequired: boolean;
38988
39552
  connectedUserName: string;
38989
39553
  connectedUserId: string;
39554
+ botpressBot: {
39555
+ id: string;
39556
+ name: string;
39557
+ accessToken: string;
39558
+ botId: string;
39559
+ integrationId: string;
39560
+ } | null;
38990
39561
  };
38991
39562
  direction: "incoming" | "outgoing" | "system";
38992
39563
  status: number;
@@ -39201,6 +39772,7 @@ export declare const chatContract: {
39201
39772
  };
39202
39773
  closedAt: Date;
39203
39774
  lastMessageAt: Date | null;
39775
+ isBotRoom: boolean;
39204
39776
  cxlog: {
39205
39777
  id: string;
39206
39778
  channel: string | null;
@@ -39281,7 +39853,7 @@ export declare const chatContract: {
39281
39853
  };
39282
39854
  };
39283
39855
  latestIncomingMessage: {
39284
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
39856
+ 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
39857
  message: string;
39286
39858
  url: string;
39287
39859
  direction: "incoming" | "outgoing" | "system";
@@ -39308,6 +39880,7 @@ export declare const chatContract: {
39308
39880
  accessToken?: string | undefined;
39309
39881
  channelSecret?: string | undefined;
39310
39882
  additionalCredentials?: any;
39883
+ lineRichMenuId?: string | null | undefined;
39311
39884
  };
39312
39885
  status: boolean;
39313
39886
  createdAt: Date;
@@ -39362,6 +39935,13 @@ export declare const chatContract: {
39362
39935
  isReloginRequired: boolean;
39363
39936
  connectedUserName: string;
39364
39937
  connectedUserId: string;
39938
+ botpressBot: {
39939
+ id: string;
39940
+ name: string;
39941
+ accessToken: string;
39942
+ botId: string;
39943
+ integrationId: string;
39944
+ } | null;
39365
39945
  };
39366
39946
  direction: "incoming" | "outgoing" | "system";
39367
39947
  status: number;
@@ -39576,6 +40156,7 @@ export declare const chatContract: {
39576
40156
  };
39577
40157
  closedAt: Date;
39578
40158
  lastMessageAt: Date | null;
40159
+ isBotRoom: boolean;
39579
40160
  cxlog: {
39580
40161
  id: string;
39581
40162
  channel: string | null;
@@ -39656,7 +40237,7 @@ export declare const chatContract: {
39656
40237
  };
39657
40238
  };
39658
40239
  latestIncomingMessage: {
39659
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
40240
+ 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
40241
  message: string;
39661
40242
  url: string;
39662
40243
  direction: "incoming" | "outgoing" | "system";
@@ -39685,6 +40266,7 @@ export declare const chatContract: {
39685
40266
  accessToken?: string | undefined;
39686
40267
  channelSecret?: string | undefined;
39687
40268
  additionalCredentials?: any;
40269
+ lineRichMenuId?: string | null | undefined;
39688
40270
  };
39689
40271
  status: boolean;
39690
40272
  createdAt: Date;
@@ -39739,6 +40321,13 @@ export declare const chatContract: {
39739
40321
  isReloginRequired: boolean;
39740
40322
  connectedUserName: string;
39741
40323
  connectedUserId: string;
40324
+ botpressBot: {
40325
+ id: string;
40326
+ name: string;
40327
+ accessToken: string;
40328
+ botId: string;
40329
+ integrationId: string;
40330
+ } | null;
39742
40331
  };
39743
40332
  direction: "incoming" | "outgoing" | "system";
39744
40333
  status: number;
@@ -39953,6 +40542,7 @@ export declare const chatContract: {
39953
40542
  };
39954
40543
  closedAt: Date;
39955
40544
  lastMessageAt: Date | null;
40545
+ isBotRoom: boolean;
39956
40546
  cxlog: {
39957
40547
  id: string;
39958
40548
  channel: string | null;
@@ -40033,7 +40623,7 @@ export declare const chatContract: {
40033
40623
  };
40034
40624
  };
40035
40625
  latestIncomingMessage: {
40036
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
40626
+ 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
40627
  message: string;
40038
40628
  url: string;
40039
40629
  direction: "incoming" | "outgoing" | "system";
@@ -40063,6 +40653,7 @@ export declare const chatContract: {
40063
40653
  accessToken?: string | undefined;
40064
40654
  channelSecret?: string | undefined;
40065
40655
  additionalCredentials?: any;
40656
+ lineRichMenuId?: string | null | undefined;
40066
40657
  };
40067
40658
  status: boolean;
40068
40659
  createdAt: Date;
@@ -40117,6 +40708,13 @@ export declare const chatContract: {
40117
40708
  isReloginRequired: boolean;
40118
40709
  connectedUserName: string;
40119
40710
  connectedUserId: string;
40711
+ botpressBot: {
40712
+ id: string;
40713
+ name: string;
40714
+ accessToken: string;
40715
+ botId: string;
40716
+ integrationId: string;
40717
+ } | null;
40120
40718
  };
40121
40719
  direction: "incoming" | "outgoing" | "system";
40122
40720
  status: number;
@@ -40331,6 +40929,7 @@ export declare const chatContract: {
40331
40929
  };
40332
40930
  closedAt: Date;
40333
40931
  lastMessageAt: Date | null;
40932
+ isBotRoom: boolean;
40334
40933
  cxlog: {
40335
40934
  id: string;
40336
40935
  channel: string | null;
@@ -40411,7 +41010,7 @@ export declare const chatContract: {
40411
41010
  };
40412
41011
  };
40413
41012
  latestIncomingMessage: {
40414
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
41013
+ 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
41014
  message: string;
40416
41015
  url: string;
40417
41016
  direction: "incoming" | "outgoing" | "system";
@@ -40486,18 +41085,21 @@ export declare const chatContract: {
40486
41085
  accessToken: z.ZodOptional<z.ZodString>;
40487
41086
  channelSecret: z.ZodOptional<z.ZodString>;
40488
41087
  additionalCredentials: z.ZodOptional<z.ZodAny>;
41088
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40489
41089
  }, "strip", z.ZodTypeAny, {
40490
41090
  id: string;
40491
41091
  name: string;
40492
41092
  accessToken?: string | undefined;
40493
41093
  channelSecret?: string | undefined;
40494
41094
  additionalCredentials?: any;
41095
+ lineRichMenuId?: string | null | undefined;
40495
41096
  }, {
40496
41097
  id: string;
40497
41098
  name: string;
40498
41099
  accessToken?: string | undefined;
40499
41100
  channelSecret?: string | undefined;
40500
41101
  additionalCredentials?: any;
41102
+ lineRichMenuId?: string | null | undefined;
40501
41103
  }>;
40502
41104
  brandName: z.ZodString;
40503
41105
  platformId: z.ZodString;
@@ -40505,6 +41107,25 @@ export declare const chatContract: {
40505
41107
  isReloginRequired: z.ZodBoolean;
40506
41108
  connectedUserName: z.ZodString;
40507
41109
  connectedUserId: z.ZodString;
41110
+ botpressBot: z.ZodNullable<z.ZodObject<{
41111
+ id: z.ZodString;
41112
+ name: z.ZodString;
41113
+ botId: z.ZodString;
41114
+ integrationId: z.ZodString;
41115
+ accessToken: z.ZodString;
41116
+ }, "strip", z.ZodTypeAny, {
41117
+ id: string;
41118
+ name: string;
41119
+ accessToken: string;
41120
+ botId: string;
41121
+ integrationId: string;
41122
+ }, {
41123
+ id: string;
41124
+ name: string;
41125
+ accessToken: string;
41126
+ botId: string;
41127
+ integrationId: string;
41128
+ }>>;
40508
41129
  actor: z.ZodObject<{
40509
41130
  id: z.ZodString;
40510
41131
  createdAt: z.ZodDate;
@@ -40719,6 +41340,7 @@ export declare const chatContract: {
40719
41340
  accessToken?: string | undefined;
40720
41341
  channelSecret?: string | undefined;
40721
41342
  additionalCredentials?: any;
41343
+ lineRichMenuId?: string | null | undefined;
40722
41344
  };
40723
41345
  status: boolean;
40724
41346
  createdAt: Date;
@@ -40773,6 +41395,13 @@ export declare const chatContract: {
40773
41395
  isReloginRequired: boolean;
40774
41396
  connectedUserName: string;
40775
41397
  connectedUserId: string;
41398
+ botpressBot: {
41399
+ id: string;
41400
+ name: string;
41401
+ accessToken: string;
41402
+ botId: string;
41403
+ integrationId: string;
41404
+ } | null;
40776
41405
  }, {
40777
41406
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
40778
41407
  id: string;
@@ -40783,6 +41412,7 @@ export declare const chatContract: {
40783
41412
  accessToken?: string | undefined;
40784
41413
  channelSecret?: string | undefined;
40785
41414
  additionalCredentials?: any;
41415
+ lineRichMenuId?: string | null | undefined;
40786
41416
  };
40787
41417
  status: boolean;
40788
41418
  createdAt: Date;
@@ -40837,6 +41467,13 @@ export declare const chatContract: {
40837
41467
  isReloginRequired: boolean;
40838
41468
  connectedUserName: string;
40839
41469
  connectedUserId: string;
41470
+ botpressBot: {
41471
+ id: string;
41472
+ name: string;
41473
+ accessToken: string;
41474
+ botId: string;
41475
+ integrationId: string;
41476
+ } | null;
40840
41477
  }>;
40841
41478
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
40842
41479
  status: z.ZodNumber;
@@ -42193,6 +42830,7 @@ export declare const chatContract: {
42193
42830
  }>;
42194
42831
  closedAt: z.ZodDate;
42195
42832
  lastMessageAt: z.ZodNullable<z.ZodDate>;
42833
+ isBotRoom: z.ZodBoolean;
42196
42834
  cxlog: z.ZodObject<{
42197
42835
  id: z.ZodString;
42198
42836
  createdAt: z.ZodDate;
@@ -43337,6 +43975,7 @@ export declare const chatContract: {
43337
43975
  accessToken?: string | undefined;
43338
43976
  channelSecret?: string | undefined;
43339
43977
  additionalCredentials?: any;
43978
+ lineRichMenuId?: string | null | undefined;
43340
43979
  };
43341
43980
  status: boolean;
43342
43981
  createdAt: Date;
@@ -43391,6 +44030,13 @@ export declare const chatContract: {
43391
44030
  isReloginRequired: boolean;
43392
44031
  connectedUserName: string;
43393
44032
  connectedUserId: string;
44033
+ botpressBot: {
44034
+ id: string;
44035
+ name: string;
44036
+ accessToken: string;
44037
+ botId: string;
44038
+ integrationId: string;
44039
+ } | null;
43394
44040
  };
43395
44041
  direction: "incoming" | "outgoing" | "system";
43396
44042
  status: number;
@@ -43702,6 +44348,7 @@ export declare const chatContract: {
43702
44348
  };
43703
44349
  closedAt: Date;
43704
44350
  lastMessageAt: Date | null;
44351
+ isBotRoom: boolean;
43705
44352
  cxlog: {
43706
44353
  id: string;
43707
44354
  channel: string | null;
@@ -43793,6 +44440,7 @@ export declare const chatContract: {
43793
44440
  accessToken?: string | undefined;
43794
44441
  channelSecret?: string | undefined;
43795
44442
  additionalCredentials?: any;
44443
+ lineRichMenuId?: string | null | undefined;
43796
44444
  };
43797
44445
  status: boolean;
43798
44446
  createdAt: Date;
@@ -43847,6 +44495,13 @@ export declare const chatContract: {
43847
44495
  isReloginRequired: boolean;
43848
44496
  connectedUserName: string;
43849
44497
  connectedUserId: string;
44498
+ botpressBot: {
44499
+ id: string;
44500
+ name: string;
44501
+ accessToken: string;
44502
+ botId: string;
44503
+ integrationId: string;
44504
+ } | null;
43850
44505
  };
43851
44506
  direction: "incoming" | "outgoing" | "system";
43852
44507
  status: number;
@@ -44158,6 +44813,7 @@ export declare const chatContract: {
44158
44813
  };
44159
44814
  closedAt: Date;
44160
44815
  lastMessageAt: Date | null;
44816
+ isBotRoom: boolean;
44161
44817
  cxlog: {
44162
44818
  id: string;
44163
44819
  channel: string | null;
@@ -44251,6 +44907,7 @@ export declare const chatContract: {
44251
44907
  accessToken?: string | undefined;
44252
44908
  channelSecret?: string | undefined;
44253
44909
  additionalCredentials?: any;
44910
+ lineRichMenuId?: string | null | undefined;
44254
44911
  };
44255
44912
  status: boolean;
44256
44913
  createdAt: Date;
@@ -44305,6 +44962,13 @@ export declare const chatContract: {
44305
44962
  isReloginRequired: boolean;
44306
44963
  connectedUserName: string;
44307
44964
  connectedUserId: string;
44965
+ botpressBot: {
44966
+ id: string;
44967
+ name: string;
44968
+ accessToken: string;
44969
+ botId: string;
44970
+ integrationId: string;
44971
+ } | null;
44308
44972
  };
44309
44973
  direction: "incoming" | "outgoing" | "system";
44310
44974
  status: number;
@@ -44616,6 +45280,7 @@ export declare const chatContract: {
44616
45280
  };
44617
45281
  closedAt: Date;
44618
45282
  lastMessageAt: Date | null;
45283
+ isBotRoom: boolean;
44619
45284
  cxlog: {
44620
45285
  id: string;
44621
45286
  channel: string | null;
@@ -44710,6 +45375,7 @@ export declare const chatContract: {
44710
45375
  accessToken?: string | undefined;
44711
45376
  channelSecret?: string | undefined;
44712
45377
  additionalCredentials?: any;
45378
+ lineRichMenuId?: string | null | undefined;
44713
45379
  };
44714
45380
  status: boolean;
44715
45381
  createdAt: Date;
@@ -44764,6 +45430,13 @@ export declare const chatContract: {
44764
45430
  isReloginRequired: boolean;
44765
45431
  connectedUserName: string;
44766
45432
  connectedUserId: string;
45433
+ botpressBot: {
45434
+ id: string;
45435
+ name: string;
45436
+ accessToken: string;
45437
+ botId: string;
45438
+ integrationId: string;
45439
+ } | null;
44767
45440
  };
44768
45441
  direction: "incoming" | "outgoing" | "system";
44769
45442
  status: number;
@@ -45075,6 +45748,7 @@ export declare const chatContract: {
45075
45748
  };
45076
45749
  closedAt: Date;
45077
45750
  lastMessageAt: Date | null;
45751
+ isBotRoom: boolean;
45078
45752
  cxlog: {
45079
45753
  id: string;
45080
45754
  channel: string | null;
@@ -45205,18 +45879,21 @@ export declare const chatContract: {
45205
45879
  accessToken: z.ZodOptional<z.ZodString>;
45206
45880
  channelSecret: z.ZodOptional<z.ZodString>;
45207
45881
  additionalCredentials: z.ZodOptional<z.ZodAny>;
45882
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45208
45883
  }, "strip", z.ZodTypeAny, {
45209
45884
  id: string;
45210
45885
  name: string;
45211
45886
  accessToken?: string | undefined;
45212
45887
  channelSecret?: string | undefined;
45213
45888
  additionalCredentials?: any;
45889
+ lineRichMenuId?: string | null | undefined;
45214
45890
  }, {
45215
45891
  id: string;
45216
45892
  name: string;
45217
45893
  accessToken?: string | undefined;
45218
45894
  channelSecret?: string | undefined;
45219
45895
  additionalCredentials?: any;
45896
+ lineRichMenuId?: string | null | undefined;
45220
45897
  }>;
45221
45898
  brandName: z.ZodString;
45222
45899
  platformId: z.ZodString;
@@ -45224,6 +45901,25 @@ export declare const chatContract: {
45224
45901
  isReloginRequired: z.ZodBoolean;
45225
45902
  connectedUserName: z.ZodString;
45226
45903
  connectedUserId: z.ZodString;
45904
+ botpressBot: z.ZodNullable<z.ZodObject<{
45905
+ id: z.ZodString;
45906
+ name: z.ZodString;
45907
+ botId: z.ZodString;
45908
+ integrationId: z.ZodString;
45909
+ accessToken: z.ZodString;
45910
+ }, "strip", z.ZodTypeAny, {
45911
+ id: string;
45912
+ name: string;
45913
+ accessToken: string;
45914
+ botId: string;
45915
+ integrationId: string;
45916
+ }, {
45917
+ id: string;
45918
+ name: string;
45919
+ accessToken: string;
45920
+ botId: string;
45921
+ integrationId: string;
45922
+ }>>;
45227
45923
  actor: z.ZodObject<{
45228
45924
  id: z.ZodString;
45229
45925
  createdAt: z.ZodDate;
@@ -45438,6 +46134,7 @@ export declare const chatContract: {
45438
46134
  accessToken?: string | undefined;
45439
46135
  channelSecret?: string | undefined;
45440
46136
  additionalCredentials?: any;
46137
+ lineRichMenuId?: string | null | undefined;
45441
46138
  };
45442
46139
  status: boolean;
45443
46140
  createdAt: Date;
@@ -45492,6 +46189,13 @@ export declare const chatContract: {
45492
46189
  isReloginRequired: boolean;
45493
46190
  connectedUserName: string;
45494
46191
  connectedUserId: string;
46192
+ botpressBot: {
46193
+ id: string;
46194
+ name: string;
46195
+ accessToken: string;
46196
+ botId: string;
46197
+ integrationId: string;
46198
+ } | null;
45495
46199
  }, {
45496
46200
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
45497
46201
  id: string;
@@ -45502,6 +46206,7 @@ export declare const chatContract: {
45502
46206
  accessToken?: string | undefined;
45503
46207
  channelSecret?: string | undefined;
45504
46208
  additionalCredentials?: any;
46209
+ lineRichMenuId?: string | null | undefined;
45505
46210
  };
45506
46211
  status: boolean;
45507
46212
  createdAt: Date;
@@ -45556,6 +46261,13 @@ export declare const chatContract: {
45556
46261
  isReloginRequired: boolean;
45557
46262
  connectedUserName: string;
45558
46263
  connectedUserId: string;
46264
+ botpressBot: {
46265
+ id: string;
46266
+ name: string;
46267
+ accessToken: string;
46268
+ botId: string;
46269
+ integrationId: string;
46270
+ } | null;
45559
46271
  }>;
45560
46272
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
45561
46273
  status: z.ZodNumber;
@@ -46912,6 +47624,7 @@ export declare const chatContract: {
46912
47624
  }>;
46913
47625
  closedAt: z.ZodDate;
46914
47626
  lastMessageAt: z.ZodNullable<z.ZodDate>;
47627
+ isBotRoom: z.ZodBoolean;
46915
47628
  cxlog: z.ZodObject<{
46916
47629
  id: z.ZodString;
46917
47630
  createdAt: z.ZodDate;
@@ -47369,6 +48082,7 @@ export declare const chatContract: {
47369
48082
  accessToken?: string | undefined;
47370
48083
  channelSecret?: string | undefined;
47371
48084
  additionalCredentials?: any;
48085
+ lineRichMenuId?: string | null | undefined;
47372
48086
  };
47373
48087
  status: boolean;
47374
48088
  createdAt: Date;
@@ -47423,6 +48137,13 @@ export declare const chatContract: {
47423
48137
  isReloginRequired: boolean;
47424
48138
  connectedUserName: string;
47425
48139
  connectedUserId: string;
48140
+ botpressBot: {
48141
+ id: string;
48142
+ name: string;
48143
+ accessToken: string;
48144
+ botId: string;
48145
+ integrationId: string;
48146
+ } | null;
47426
48147
  };
47427
48148
  direction: "incoming" | "outgoing" | "system";
47428
48149
  description: string | null;
@@ -47638,6 +48359,7 @@ export declare const chatContract: {
47638
48359
  };
47639
48360
  closedAt: Date;
47640
48361
  lastMessageAt: Date | null;
48362
+ isBotRoom: boolean;
47641
48363
  cxlog: {
47642
48364
  id: string;
47643
48365
  channel: string | null;
@@ -47728,6 +48450,7 @@ export declare const chatContract: {
47728
48450
  accessToken?: string | undefined;
47729
48451
  channelSecret?: string | undefined;
47730
48452
  additionalCredentials?: any;
48453
+ lineRichMenuId?: string | null | undefined;
47731
48454
  };
47732
48455
  status: boolean;
47733
48456
  createdAt: Date;
@@ -47782,6 +48505,13 @@ export declare const chatContract: {
47782
48505
  isReloginRequired: boolean;
47783
48506
  connectedUserName: string;
47784
48507
  connectedUserId: string;
48508
+ botpressBot: {
48509
+ id: string;
48510
+ name: string;
48511
+ accessToken: string;
48512
+ botId: string;
48513
+ integrationId: string;
48514
+ } | null;
47785
48515
  };
47786
48516
  direction: "incoming" | "outgoing" | "system";
47787
48517
  description: string | null;
@@ -47997,6 +48727,7 @@ export declare const chatContract: {
47997
48727
  };
47998
48728
  closedAt: Date;
47999
48729
  lastMessageAt: Date | null;
48730
+ isBotRoom: boolean;
48000
48731
  cxlog: {
48001
48732
  id: string;
48002
48733
  channel: string | null;
@@ -48089,6 +48820,7 @@ export declare const chatContract: {
48089
48820
  accessToken?: string | undefined;
48090
48821
  channelSecret?: string | undefined;
48091
48822
  additionalCredentials?: any;
48823
+ lineRichMenuId?: string | null | undefined;
48092
48824
  };
48093
48825
  status: boolean;
48094
48826
  createdAt: Date;
@@ -48143,6 +48875,13 @@ export declare const chatContract: {
48143
48875
  isReloginRequired: boolean;
48144
48876
  connectedUserName: string;
48145
48877
  connectedUserId: string;
48878
+ botpressBot: {
48879
+ id: string;
48880
+ name: string;
48881
+ accessToken: string;
48882
+ botId: string;
48883
+ integrationId: string;
48884
+ } | null;
48146
48885
  };
48147
48886
  direction: "incoming" | "outgoing" | "system";
48148
48887
  description: string | null;
@@ -48358,6 +49097,7 @@ export declare const chatContract: {
48358
49097
  };
48359
49098
  closedAt: Date;
48360
49099
  lastMessageAt: Date | null;
49100
+ isBotRoom: boolean;
48361
49101
  cxlog: {
48362
49102
  id: string;
48363
49103
  channel: string | null;
@@ -48451,6 +49191,7 @@ export declare const chatContract: {
48451
49191
  accessToken?: string | undefined;
48452
49192
  channelSecret?: string | undefined;
48453
49193
  additionalCredentials?: any;
49194
+ lineRichMenuId?: string | null | undefined;
48454
49195
  };
48455
49196
  status: boolean;
48456
49197
  createdAt: Date;
@@ -48505,6 +49246,13 @@ export declare const chatContract: {
48505
49246
  isReloginRequired: boolean;
48506
49247
  connectedUserName: string;
48507
49248
  connectedUserId: string;
49249
+ botpressBot: {
49250
+ id: string;
49251
+ name: string;
49252
+ accessToken: string;
49253
+ botId: string;
49254
+ integrationId: string;
49255
+ } | null;
48508
49256
  };
48509
49257
  direction: "incoming" | "outgoing" | "system";
48510
49258
  description: string | null;
@@ -48720,6 +49468,7 @@ export declare const chatContract: {
48720
49468
  };
48721
49469
  closedAt: Date;
48722
49470
  lastMessageAt: Date | null;
49471
+ isBotRoom: boolean;
48723
49472
  cxlog: {
48724
49473
  id: string;
48725
49474
  channel: string | null;
@@ -48859,6 +49608,7 @@ export declare const chatContract: {
48859
49608
  firstResponseAt: z.ZodDate;
48860
49609
  firstResponseTime: z.ZodNumber;
48861
49610
  isLatest: z.ZodBoolean;
49611
+ isBotRoom: z.ZodBoolean;
48862
49612
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
48863
49613
  platformContact: z.ZodObject<{
48864
49614
  id: z.ZodString;
@@ -50215,18 +50965,21 @@ export declare const chatContract: {
50215
50965
  accessToken: z.ZodOptional<z.ZodString>;
50216
50966
  channelSecret: z.ZodOptional<z.ZodString>;
50217
50967
  additionalCredentials: z.ZodOptional<z.ZodAny>;
50968
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50218
50969
  }, "strip", z.ZodTypeAny, {
50219
50970
  id: string;
50220
50971
  name: string;
50221
50972
  accessToken?: string | undefined;
50222
50973
  channelSecret?: string | undefined;
50223
50974
  additionalCredentials?: any;
50975
+ lineRichMenuId?: string | null | undefined;
50224
50976
  }, {
50225
50977
  id: string;
50226
50978
  name: string;
50227
50979
  accessToken?: string | undefined;
50228
50980
  channelSecret?: string | undefined;
50229
50981
  additionalCredentials?: any;
50982
+ lineRichMenuId?: string | null | undefined;
50230
50983
  }>;
50231
50984
  brandName: z.ZodString;
50232
50985
  platformId: z.ZodString;
@@ -50234,6 +50987,25 @@ export declare const chatContract: {
50234
50987
  isReloginRequired: z.ZodBoolean;
50235
50988
  connectedUserName: z.ZodString;
50236
50989
  connectedUserId: z.ZodString;
50990
+ botpressBot: z.ZodNullable<z.ZodObject<{
50991
+ id: z.ZodString;
50992
+ name: z.ZodString;
50993
+ botId: z.ZodString;
50994
+ integrationId: z.ZodString;
50995
+ accessToken: z.ZodString;
50996
+ }, "strip", z.ZodTypeAny, {
50997
+ id: string;
50998
+ name: string;
50999
+ accessToken: string;
51000
+ botId: string;
51001
+ integrationId: string;
51002
+ }, {
51003
+ id: string;
51004
+ name: string;
51005
+ accessToken: string;
51006
+ botId: string;
51007
+ integrationId: string;
51008
+ }>>;
50237
51009
  actor: z.ZodObject<{
50238
51010
  id: z.ZodString;
50239
51011
  createdAt: z.ZodDate;
@@ -50448,6 +51220,7 @@ export declare const chatContract: {
50448
51220
  accessToken?: string | undefined;
50449
51221
  channelSecret?: string | undefined;
50450
51222
  additionalCredentials?: any;
51223
+ lineRichMenuId?: string | null | undefined;
50451
51224
  };
50452
51225
  status: boolean;
50453
51226
  createdAt: Date;
@@ -50502,6 +51275,13 @@ export declare const chatContract: {
50502
51275
  isReloginRequired: boolean;
50503
51276
  connectedUserName: string;
50504
51277
  connectedUserId: string;
51278
+ botpressBot: {
51279
+ id: string;
51280
+ name: string;
51281
+ accessToken: string;
51282
+ botId: string;
51283
+ integrationId: string;
51284
+ } | null;
50505
51285
  }, {
50506
51286
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
50507
51287
  id: string;
@@ -50512,6 +51292,7 @@ export declare const chatContract: {
50512
51292
  accessToken?: string | undefined;
50513
51293
  channelSecret?: string | undefined;
50514
51294
  additionalCredentials?: any;
51295
+ lineRichMenuId?: string | null | undefined;
50515
51296
  };
50516
51297
  status: boolean;
50517
51298
  createdAt: Date;
@@ -50566,6 +51347,13 @@ export declare const chatContract: {
50566
51347
  isReloginRequired: boolean;
50567
51348
  connectedUserName: string;
50568
51349
  connectedUserId: string;
51350
+ botpressBot: {
51351
+ id: string;
51352
+ name: string;
51353
+ accessToken: string;
51354
+ botId: string;
51355
+ integrationId: string;
51356
+ } | null;
50569
51357
  }>;
50570
51358
  cxlog: z.ZodObject<{
50571
51359
  id: z.ZodString;
@@ -51023,6 +51811,7 @@ export declare const chatContract: {
51023
51811
  accessToken?: string | undefined;
51024
51812
  channelSecret?: string | undefined;
51025
51813
  additionalCredentials?: any;
51814
+ lineRichMenuId?: string | null | undefined;
51026
51815
  };
51027
51816
  status: boolean;
51028
51817
  createdAt: Date;
@@ -51077,6 +51866,13 @@ export declare const chatContract: {
51077
51866
  isReloginRequired: boolean;
51078
51867
  connectedUserName: string;
51079
51868
  connectedUserId: string;
51869
+ botpressBot: {
51870
+ id: string;
51871
+ name: string;
51872
+ accessToken: string;
51873
+ botId: string;
51874
+ integrationId: string;
51875
+ } | null;
51080
51876
  };
51081
51877
  direction: "incoming" | "outgoing" | "system";
51082
51878
  status: number;
@@ -51291,6 +52087,7 @@ export declare const chatContract: {
51291
52087
  };
51292
52088
  closedAt: Date;
51293
52089
  lastMessageAt: Date | null;
52090
+ isBotRoom: boolean;
51294
52091
  cxlog: {
51295
52092
  id: string;
51296
52093
  channel: string | null;
@@ -51381,6 +52178,7 @@ export declare const chatContract: {
51381
52178
  accessToken?: string | undefined;
51382
52179
  channelSecret?: string | undefined;
51383
52180
  additionalCredentials?: any;
52181
+ lineRichMenuId?: string | null | undefined;
51384
52182
  };
51385
52183
  status: boolean;
51386
52184
  createdAt: Date;
@@ -51435,6 +52233,13 @@ export declare const chatContract: {
51435
52233
  isReloginRequired: boolean;
51436
52234
  connectedUserName: string;
51437
52235
  connectedUserId: string;
52236
+ botpressBot: {
52237
+ id: string;
52238
+ name: string;
52239
+ accessToken: string;
52240
+ botId: string;
52241
+ integrationId: string;
52242
+ } | null;
51438
52243
  };
51439
52244
  direction: "incoming" | "outgoing" | "system";
51440
52245
  status: number;
@@ -51649,6 +52454,7 @@ export declare const chatContract: {
51649
52454
  };
51650
52455
  closedAt: Date;
51651
52456
  lastMessageAt: Date | null;
52457
+ isBotRoom: boolean;
51652
52458
  cxlog: {
51653
52459
  id: string;
51654
52460
  channel: string | null;
@@ -51741,6 +52547,7 @@ export declare const chatContract: {
51741
52547
  accessToken?: string | undefined;
51742
52548
  channelSecret?: string | undefined;
51743
52549
  additionalCredentials?: any;
52550
+ lineRichMenuId?: string | null | undefined;
51744
52551
  };
51745
52552
  status: boolean;
51746
52553
  createdAt: Date;
@@ -51795,6 +52602,13 @@ export declare const chatContract: {
51795
52602
  isReloginRequired: boolean;
51796
52603
  connectedUserName: string;
51797
52604
  connectedUserId: string;
52605
+ botpressBot: {
52606
+ id: string;
52607
+ name: string;
52608
+ accessToken: string;
52609
+ botId: string;
52610
+ integrationId: string;
52611
+ } | null;
51798
52612
  };
51799
52613
  direction: "incoming" | "outgoing" | "system";
51800
52614
  status: number;
@@ -52009,6 +52823,7 @@ export declare const chatContract: {
52009
52823
  };
52010
52824
  closedAt: Date;
52011
52825
  lastMessageAt: Date | null;
52826
+ isBotRoom: boolean;
52012
52827
  cxlog: {
52013
52828
  id: string;
52014
52829
  channel: string | null;
@@ -52105,6 +52920,7 @@ export declare const chatContract: {
52105
52920
  accessToken?: string | undefined;
52106
52921
  channelSecret?: string | undefined;
52107
52922
  additionalCredentials?: any;
52923
+ lineRichMenuId?: string | null | undefined;
52108
52924
  };
52109
52925
  status: boolean;
52110
52926
  createdAt: Date;
@@ -52159,6 +52975,13 @@ export declare const chatContract: {
52159
52975
  isReloginRequired: boolean;
52160
52976
  connectedUserName: string;
52161
52977
  connectedUserId: string;
52978
+ botpressBot: {
52979
+ id: string;
52980
+ name: string;
52981
+ accessToken: string;
52982
+ botId: string;
52983
+ integrationId: string;
52984
+ } | null;
52162
52985
  };
52163
52986
  direction: "incoming" | "outgoing" | "system";
52164
52987
  status: number;
@@ -52373,6 +53196,7 @@ export declare const chatContract: {
52373
53196
  };
52374
53197
  closedAt: Date;
52375
53198
  lastMessageAt: Date | null;
53199
+ isBotRoom: boolean;
52376
53200
  cxlog: {
52377
53201
  id: string;
52378
53202
  channel: string | null;