@kl1/contracts 1.1.40-uat → 1.1.42-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/index.js +3293 -3105
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3290 -3105
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +538 -0
  6. package/dist/src/botpress/index.d.ts.map +1 -0
  7. package/dist/src/botpress/schema.d.ts +81 -0
  8. package/dist/src/botpress/schema.d.ts.map +1 -0
  9. package/dist/src/botpress/validation.d.ts +220 -0
  10. package/dist/src/botpress/validation.d.ts.map +1 -0
  11. package/dist/src/channel/index.d.ts +1692 -73
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +36 -0
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/channel/validation.d.ts +7 -0
  16. package/dist/src/channel/validation.d.ts.map +1 -1
  17. package/dist/src/chat/index.d.ts +33647 -32937
  18. package/dist/src/chat/index.d.ts.map +1 -1
  19. package/dist/src/chat/schema.d.ts +186 -70
  20. package/dist/src/chat/schema.d.ts.map +1 -1
  21. package/dist/src/chat/validation.d.ts +199 -107
  22. package/dist/src/chat/validation.d.ts.map +1 -1
  23. package/dist/src/comment/index.d.ts +68 -68
  24. package/dist/src/comment/schema.d.ts +20 -20
  25. package/dist/src/contact/index.d.ts +79 -79
  26. package/dist/src/contact/schema.d.ts +12 -12
  27. package/dist/src/contact/validation.d.ts +49 -49
  28. package/dist/src/contract.d.ts +15114 -68269
  29. package/dist/src/contract.d.ts.map +1 -1
  30. package/dist/src/contract2.d.ts +2 -0
  31. package/dist/src/contract2.d.ts.map +1 -0
  32. package/dist/src/cx-log/index.d.ts +123 -54
  33. package/dist/src/cx-log/index.d.ts.map +1 -1
  34. package/dist/src/cx-log/schema.d.ts +101 -40
  35. package/dist/src/cx-log/schema.d.ts.map +1 -1
  36. package/dist/src/index.d.ts +2 -0
  37. package/dist/src/index.d.ts.map +1 -1
  38. package/dist/src/instagram/index.d.ts +176 -84
  39. package/dist/src/instagram/index.d.ts.map +1 -1
  40. package/dist/src/line/index.d.ts +181 -89
  41. package/dist/src/line/index.d.ts.map +1 -1
  42. package/dist/src/line/validation.d.ts +5 -5
  43. package/dist/src/mail/mail-contract.d.ts +7 -7
  44. package/dist/src/mail/room-contract.d.ts +7 -7
  45. package/dist/src/mail/schemas/room.schema.d.ts +5 -5
  46. package/dist/src/messenger/index.d.ts +211 -85
  47. package/dist/src/messenger/index.d.ts.map +1 -1
  48. package/dist/src/messenger/validation.d.ts +54 -11
  49. package/dist/src/messenger/validation.d.ts.map +1 -1
  50. package/dist/src/public-api/index.d.ts +59 -59
  51. package/dist/src/public-api/schema.d.ts +12 -12
  52. package/dist/src/public-api/validation.d.ts +19 -19
  53. package/dist/src/snippet/index.d.ts +105 -105
  54. package/dist/src/snippet/schema.d.ts +40 -40
  55. package/dist/src/telephony-cdr/index.d.ts +54 -54
  56. package/dist/src/telephony-cdr/schema.d.ts +14 -14
  57. package/dist/src/ticket/index.d.ts +111 -111
  58. package/dist/src/ticket/schema.d.ts +21 -21
  59. package/dist/src/upload/schema.d.ts +3 -3
  60. package/dist/src/viber/index.d.ts +317 -84
  61. package/dist/src/viber/index.d.ts.map +1 -1
  62. package/dist/src/webchat/index.d.ts +224 -87
  63. package/dist/src/webchat/index.d.ts.map +1 -1
  64. package/dist/src/workflow-rule/index.d.ts +158 -26
  65. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  66. package/package.json +1 -1
@@ -315,7 +315,7 @@ export declare const lineContract: {
315
315
  message: z.ZodObject<{
316
316
  message: z.ZodOptional<z.ZodString>;
317
317
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
318
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
318
+ 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"]>;
319
319
  readAt: z.ZodOptional<z.ZodDate>;
320
320
  metadata: z.ZodOptional<z.ZodAny>;
321
321
  platformId: z.ZodOptional<z.ZodString>;
@@ -359,7 +359,7 @@ export declare const lineContract: {
359
359
  phone: string | null;
360
360
  }>;
361
361
  }, "strip", z.ZodTypeAny, {
362
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
362
+ 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";
363
363
  direction: "incoming" | "outgoing" | "system";
364
364
  sender: {
365
365
  address: string | null;
@@ -385,7 +385,7 @@ export declare const lineContract: {
385
385
  fileSize: number;
386
386
  } | undefined;
387
387
  }, {
388
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
388
+ 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";
389
389
  direction: "incoming" | "outgoing" | "system";
390
390
  sender: {
391
391
  address: string | null;
@@ -413,7 +413,7 @@ export declare const lineContract: {
413
413
  }>;
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  message: {
416
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
416
+ 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";
417
417
  direction: "incoming" | "outgoing" | "system";
418
418
  sender: {
419
419
  address: string | null;
@@ -499,7 +499,7 @@ export declare const lineContract: {
499
499
  stickerId: number;
500
500
  }, {
501
501
  message: {
502
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
502
+ 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";
503
503
  direction: "incoming" | "outgoing" | "system";
504
504
  sender: {
505
505
  address: string | null;
@@ -840,6 +840,7 @@ export declare const lineContract: {
840
840
  };
841
841
  sendMessage: {
842
842
  body: z.ZodObject<{
843
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
843
844
  room: z.ZodObject<{
844
845
  id: z.ZodString;
845
846
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -1194,7 +1195,7 @@ export declare const lineContract: {
1194
1195
  message: z.ZodObject<{
1195
1196
  message: z.ZodOptional<z.ZodString>;
1196
1197
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1197
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1198
+ 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"]>;
1198
1199
  readAt: z.ZodOptional<z.ZodDate>;
1199
1200
  metadata: z.ZodOptional<z.ZodAny>;
1200
1201
  platformId: z.ZodOptional<z.ZodString>;
@@ -1210,18 +1211,21 @@ export declare const lineContract: {
1210
1211
  fileName: z.ZodString;
1211
1212
  fileSize: z.ZodNumber;
1212
1213
  fileKey: z.ZodString;
1214
+ originalUrl: z.ZodOptional<z.ZodString>;
1213
1215
  }, "strip", z.ZodTypeAny, {
1214
1216
  fileName: string;
1215
1217
  fileKey: string;
1216
1218
  bucketName: string;
1217
1219
  fileSize: number;
1220
+ originalUrl?: string | undefined;
1218
1221
  }, {
1219
1222
  fileName: string;
1220
1223
  fileKey: string;
1221
1224
  bucketName: string;
1222
1225
  fileSize: number;
1226
+ originalUrl?: string | undefined;
1223
1227
  }>>;
1224
- sender: z.ZodObject<{
1228
+ sender: z.ZodOptional<z.ZodObject<{
1225
1229
  id: z.ZodString;
1226
1230
  name: z.ZodString;
1227
1231
  email: z.ZodString;
@@ -1239,17 +1243,10 @@ export declare const lineContract: {
1239
1243
  name: string;
1240
1244
  email: string;
1241
1245
  phone: string | null;
1242
- }>;
1246
+ }>>;
1243
1247
  }, "strip", z.ZodTypeAny, {
1244
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1248
+ 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";
1245
1249
  direction: "incoming" | "outgoing" | "system";
1246
- sender: {
1247
- id: string;
1248
- address: string | null;
1249
- name: string;
1250
- email: string;
1251
- phone: string | null;
1252
- };
1253
1250
  message?: string | undefined;
1254
1251
  readAt?: Date | undefined;
1255
1252
  metadata?: any;
@@ -1266,17 +1263,18 @@ export declare const lineContract: {
1266
1263
  fileKey: string;
1267
1264
  bucketName: string;
1268
1265
  fileSize: number;
1266
+ originalUrl?: string | undefined;
1269
1267
  } | undefined;
1270
- }, {
1271
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1272
- direction: "incoming" | "outgoing" | "system";
1273
- sender: {
1268
+ sender?: {
1274
1269
  id: string;
1275
1270
  address: string | null;
1276
1271
  name: string;
1277
1272
  email: string;
1278
1273
  phone: string | null;
1279
- };
1274
+ } | undefined;
1275
+ }, {
1276
+ 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";
1277
+ direction: "incoming" | "outgoing" | "system";
1280
1278
  message?: string | undefined;
1281
1279
  readAt?: Date | undefined;
1282
1280
  metadata?: any;
@@ -1293,19 +1291,20 @@ export declare const lineContract: {
1293
1291
  fileKey: string;
1294
1292
  bucketName: string;
1295
1293
  fileSize: number;
1294
+ originalUrl?: string | undefined;
1296
1295
  } | undefined;
1297
- }>;
1298
- }, "strip", z.ZodTypeAny, {
1299
- message: {
1300
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1301
- direction: "incoming" | "outgoing" | "system";
1302
- sender: {
1296
+ sender?: {
1303
1297
  id: string;
1304
1298
  address: string | null;
1305
1299
  name: string;
1306
1300
  email: string;
1307
1301
  phone: string | null;
1308
- };
1302
+ } | undefined;
1303
+ }>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ message: {
1306
+ 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";
1307
+ direction: "incoming" | "outgoing" | "system";
1309
1308
  message?: string | undefined;
1310
1309
  readAt?: Date | undefined;
1311
1310
  metadata?: any;
@@ -1322,6 +1321,14 @@ export declare const lineContract: {
1322
1321
  fileKey: string;
1323
1322
  bucketName: string;
1324
1323
  fileSize: number;
1324
+ originalUrl?: string | undefined;
1325
+ } | undefined;
1326
+ sender?: {
1327
+ id: string;
1328
+ address: string | null;
1329
+ name: string;
1330
+ email: string;
1331
+ phone: string | null;
1325
1332
  } | undefined;
1326
1333
  };
1327
1334
  room: {
@@ -1391,17 +1398,11 @@ export declare const lineContract: {
1391
1398
  metadata?: any;
1392
1399
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1393
1400
  };
1401
+ isBot: boolean | null;
1394
1402
  }, {
1395
1403
  message: {
1396
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1404
+ 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";
1397
1405
  direction: "incoming" | "outgoing" | "system";
1398
- sender: {
1399
- id: string;
1400
- address: string | null;
1401
- name: string;
1402
- email: string;
1403
- phone: string | null;
1404
- };
1405
1406
  message?: string | undefined;
1406
1407
  readAt?: Date | undefined;
1407
1408
  metadata?: any;
@@ -1418,6 +1419,14 @@ export declare const lineContract: {
1418
1419
  fileKey: string;
1419
1420
  bucketName: string;
1420
1421
  fileSize: number;
1422
+ originalUrl?: string | undefined;
1423
+ } | undefined;
1424
+ sender?: {
1425
+ id: string;
1426
+ address: string | null;
1427
+ name: string;
1428
+ email: string;
1429
+ phone: string | null;
1421
1430
  } | undefined;
1422
1431
  };
1423
1432
  room: {
@@ -1487,6 +1496,7 @@ export declare const lineContract: {
1487
1496
  metadata?: any;
1488
1497
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1489
1498
  };
1499
+ isBot?: boolean | null | undefined;
1490
1500
  }>;
1491
1501
  method: "POST";
1492
1502
  responses: {
@@ -1499,7 +1509,7 @@ export declare const lineContract: {
1499
1509
  deletedAt: z.ZodNullable<z.ZodDate>;
1500
1510
  message: z.ZodString;
1501
1511
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1502
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
1512
+ 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"]>;
1503
1513
  readAt: z.ZodDate;
1504
1514
  metadata: z.ZodAny;
1505
1515
  platformId: z.ZodString;
@@ -1524,6 +1534,7 @@ export declare const lineContract: {
1524
1534
  firstResponseAt: z.ZodDate;
1525
1535
  firstResponseTime: z.ZodNumber;
1526
1536
  isLatest: z.ZodBoolean;
1537
+ isBotRoom: z.ZodBoolean;
1527
1538
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1528
1539
  platformContact: z.ZodObject<{
1529
1540
  id: z.ZodString;
@@ -1844,9 +1855,10 @@ export declare const lineContract: {
1844
1855
  fileSize: z.ZodNumber;
1845
1856
  fileKey: z.ZodString;
1846
1857
  fileUrl: z.ZodNullable<z.ZodString>;
1847
- status: z.ZodOptional<z.ZodString>;
1858
+ status: z.ZodNullable<z.ZodString>;
1848
1859
  }, "strip", z.ZodTypeAny, {
1849
1860
  id: string;
1861
+ status: string | null;
1850
1862
  createdAt: Date;
1851
1863
  updatedAt: Date;
1852
1864
  deletedAt: Date | null;
@@ -1855,9 +1867,9 @@ export declare const lineContract: {
1855
1867
  bucketName: string;
1856
1868
  fileSize: number;
1857
1869
  fileUrl: string | null;
1858
- status?: string | undefined;
1859
1870
  }, {
1860
1871
  id: string;
1872
+ status: string | null;
1861
1873
  createdAt: Date;
1862
1874
  updatedAt: Date;
1863
1875
  deletedAt: Date | null;
@@ -1866,7 +1878,6 @@ export declare const lineContract: {
1866
1878
  bucketName: string;
1867
1879
  fileSize: number;
1868
1880
  fileUrl: string | null;
1869
- status?: string | undefined;
1870
1881
  }>, "many">;
1871
1882
  }, "strip", z.ZodTypeAny, {
1872
1883
  id: string;
@@ -1893,6 +1904,7 @@ export declare const lineContract: {
1893
1904
  dateValue: Date | null;
1894
1905
  uploads: {
1895
1906
  id: string;
1907
+ status: string | null;
1896
1908
  createdAt: Date;
1897
1909
  updatedAt: Date;
1898
1910
  deletedAt: Date | null;
@@ -1901,7 +1913,6 @@ export declare const lineContract: {
1901
1913
  bucketName: string;
1902
1914
  fileSize: number;
1903
1915
  fileUrl: string | null;
1904
- status?: string | undefined;
1905
1916
  }[];
1906
1917
  }, {
1907
1918
  id: string;
@@ -1928,6 +1939,7 @@ export declare const lineContract: {
1928
1939
  dateValue: Date | null;
1929
1940
  uploads: {
1930
1941
  id: string;
1942
+ status: string | null;
1931
1943
  createdAt: Date;
1932
1944
  updatedAt: Date;
1933
1945
  deletedAt: Date | null;
@@ -1936,7 +1948,6 @@ export declare const lineContract: {
1936
1948
  bucketName: string;
1937
1949
  fileSize: number;
1938
1950
  fileUrl: string | null;
1939
- status?: string | undefined;
1940
1951
  }[];
1941
1952
  }>, "many">;
1942
1953
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -2076,6 +2087,7 @@ export declare const lineContract: {
2076
2087
  dateValue: Date | null;
2077
2088
  uploads: {
2078
2089
  id: string;
2090
+ status: string | null;
2079
2091
  createdAt: Date;
2080
2092
  updatedAt: Date;
2081
2093
  deletedAt: Date | null;
@@ -2084,7 +2096,6 @@ export declare const lineContract: {
2084
2096
  bucketName: string;
2085
2097
  fileSize: number;
2086
2098
  fileUrl: string | null;
2087
- status?: string | undefined;
2088
2099
  }[];
2089
2100
  }[];
2090
2101
  company: {
@@ -2172,6 +2183,7 @@ export declare const lineContract: {
2172
2183
  dateValue: Date | null;
2173
2184
  uploads: {
2174
2185
  id: string;
2186
+ status: string | null;
2175
2187
  createdAt: Date;
2176
2188
  updatedAt: Date;
2177
2189
  deletedAt: Date | null;
@@ -2180,7 +2192,6 @@ export declare const lineContract: {
2180
2192
  bucketName: string;
2181
2193
  fileSize: number;
2182
2194
  fileUrl: string | null;
2183
- status?: string | undefined;
2184
2195
  }[];
2185
2196
  }[];
2186
2197
  company: {
@@ -2281,6 +2292,7 @@ export declare const lineContract: {
2281
2292
  dateValue: Date | null;
2282
2293
  uploads: {
2283
2294
  id: string;
2295
+ status: string | null;
2284
2296
  createdAt: Date;
2285
2297
  updatedAt: Date;
2286
2298
  deletedAt: Date | null;
@@ -2289,7 +2301,6 @@ export declare const lineContract: {
2289
2301
  bucketName: string;
2290
2302
  fileSize: number;
2291
2303
  fileUrl: string | null;
2292
- status?: string | undefined;
2293
2304
  }[];
2294
2305
  }[];
2295
2306
  company: {
@@ -2392,6 +2403,7 @@ export declare const lineContract: {
2392
2403
  dateValue: Date | null;
2393
2404
  uploads: {
2394
2405
  id: string;
2406
+ status: string | null;
2395
2407
  createdAt: Date;
2396
2408
  updatedAt: Date;
2397
2409
  deletedAt: Date | null;
@@ -2400,7 +2412,6 @@ export declare const lineContract: {
2400
2412
  bucketName: string;
2401
2413
  fileSize: number;
2402
2414
  fileUrl: string | null;
2403
- status?: string | undefined;
2404
2415
  }[];
2405
2416
  }[];
2406
2417
  company: {
@@ -2899,6 +2910,25 @@ export declare const lineContract: {
2899
2910
  isReloginRequired: z.ZodBoolean;
2900
2911
  connectedUserName: z.ZodString;
2901
2912
  connectedUserId: z.ZodString;
2913
+ botpressBot: z.ZodNullable<z.ZodObject<{
2914
+ id: z.ZodString;
2915
+ name: z.ZodString;
2916
+ botId: z.ZodString;
2917
+ integrationId: z.ZodString;
2918
+ accessToken: z.ZodString;
2919
+ }, "strip", z.ZodTypeAny, {
2920
+ id: string;
2921
+ name: string;
2922
+ accessToken: string;
2923
+ botId: string;
2924
+ integrationId: string;
2925
+ }, {
2926
+ id: string;
2927
+ name: string;
2928
+ accessToken: string;
2929
+ botId: string;
2930
+ integrationId: string;
2931
+ }>>;
2902
2932
  actor: z.ZodObject<{
2903
2933
  id: z.ZodString;
2904
2934
  createdAt: z.ZodDate;
@@ -3167,6 +3197,13 @@ export declare const lineContract: {
3167
3197
  isReloginRequired: boolean;
3168
3198
  connectedUserName: string;
3169
3199
  connectedUserId: string;
3200
+ botpressBot: {
3201
+ id: string;
3202
+ name: string;
3203
+ accessToken: string;
3204
+ botId: string;
3205
+ integrationId: string;
3206
+ } | null;
3170
3207
  }, {
3171
3208
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3172
3209
  id: string;
@@ -3231,6 +3268,13 @@ export declare const lineContract: {
3231
3268
  isReloginRequired: boolean;
3232
3269
  connectedUserName: string;
3233
3270
  connectedUserId: string;
3271
+ botpressBot: {
3272
+ id: string;
3273
+ name: string;
3274
+ accessToken: string;
3275
+ botId: string;
3276
+ integrationId: string;
3277
+ } | null;
3234
3278
  }>;
3235
3279
  cxlog: z.ZodObject<{
3236
3280
  id: z.ZodString;
@@ -3742,6 +3786,13 @@ export declare const lineContract: {
3742
3786
  isReloginRequired: boolean;
3743
3787
  connectedUserName: string;
3744
3788
  connectedUserId: string;
3789
+ botpressBot: {
3790
+ id: string;
3791
+ name: string;
3792
+ accessToken: string;
3793
+ botId: string;
3794
+ integrationId: string;
3795
+ } | null;
3745
3796
  };
3746
3797
  direction: "incoming" | "outgoing" | "system";
3747
3798
  status: number;
@@ -3843,6 +3894,7 @@ export declare const lineContract: {
3843
3894
  dateValue: Date | null;
3844
3895
  uploads: {
3845
3896
  id: string;
3897
+ status: string | null;
3846
3898
  createdAt: Date;
3847
3899
  updatedAt: Date;
3848
3900
  deletedAt: Date | null;
@@ -3851,7 +3903,6 @@ export declare const lineContract: {
3851
3903
  bucketName: string;
3852
3904
  fileSize: number;
3853
3905
  fileUrl: string | null;
3854
- status?: string | undefined;
3855
3906
  }[];
3856
3907
  }[];
3857
3908
  company: {
@@ -3956,6 +4007,7 @@ export declare const lineContract: {
3956
4007
  };
3957
4008
  closedAt: Date;
3958
4009
  lastMessageAt: Date | null;
4010
+ isBotRoom: boolean;
3959
4011
  cxlog: {
3960
4012
  id: string;
3961
4013
  channel: string | null;
@@ -4100,6 +4152,13 @@ export declare const lineContract: {
4100
4152
  isReloginRequired: boolean;
4101
4153
  connectedUserName: string;
4102
4154
  connectedUserId: string;
4155
+ botpressBot: {
4156
+ id: string;
4157
+ name: string;
4158
+ accessToken: string;
4159
+ botId: string;
4160
+ integrationId: string;
4161
+ } | null;
4103
4162
  };
4104
4163
  direction: "incoming" | "outgoing" | "system";
4105
4164
  status: number;
@@ -4201,6 +4260,7 @@ export declare const lineContract: {
4201
4260
  dateValue: Date | null;
4202
4261
  uploads: {
4203
4262
  id: string;
4263
+ status: string | null;
4204
4264
  createdAt: Date;
4205
4265
  updatedAt: Date;
4206
4266
  deletedAt: Date | null;
@@ -4209,7 +4269,6 @@ export declare const lineContract: {
4209
4269
  bucketName: string;
4210
4270
  fileSize: number;
4211
4271
  fileUrl: string | null;
4212
- status?: string | undefined;
4213
4272
  }[];
4214
4273
  }[];
4215
4274
  company: {
@@ -4314,6 +4373,7 @@ export declare const lineContract: {
4314
4373
  };
4315
4374
  closedAt: Date;
4316
4375
  lastMessageAt: Date | null;
4376
+ isBotRoom: boolean;
4317
4377
  cxlog: {
4318
4378
  id: string;
4319
4379
  channel: string | null;
@@ -4403,9 +4463,10 @@ export declare const lineContract: {
4403
4463
  fileSize: z.ZodNumber;
4404
4464
  fileKey: z.ZodString;
4405
4465
  fileUrl: z.ZodNullable<z.ZodString>;
4406
- status: z.ZodOptional<z.ZodString>;
4466
+ status: z.ZodNullable<z.ZodString>;
4407
4467
  }, "strip", z.ZodTypeAny, {
4408
4468
  id: string;
4469
+ status: string | null;
4409
4470
  createdAt: Date;
4410
4471
  updatedAt: Date;
4411
4472
  deletedAt: Date | null;
@@ -4414,9 +4475,9 @@ export declare const lineContract: {
4414
4475
  bucketName: string;
4415
4476
  fileSize: number;
4416
4477
  fileUrl: string | null;
4417
- status?: string | undefined;
4418
4478
  }, {
4419
4479
  id: string;
4480
+ status: string | null;
4420
4481
  createdAt: Date;
4421
4482
  updatedAt: Date;
4422
4483
  deletedAt: Date | null;
@@ -4425,7 +4486,6 @@ export declare const lineContract: {
4425
4486
  bucketName: string;
4426
4487
  fileSize: number;
4427
4488
  fileUrl: string | null;
4428
- status?: string | undefined;
4429
4489
  }>;
4430
4490
  repliedMessage: z.ZodLazy<z.ZodObject<{
4431
4491
  id: z.ZodString;
@@ -4434,7 +4494,7 @@ export declare const lineContract: {
4434
4494
  deletedAt: z.ZodNullable<z.ZodDate>;
4435
4495
  message: z.ZodString;
4436
4496
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4437
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
4497
+ 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"]>;
4438
4498
  readAt: z.ZodDate;
4439
4499
  metadata: z.ZodAny;
4440
4500
  platformId: z.ZodString;
@@ -4455,9 +4515,10 @@ export declare const lineContract: {
4455
4515
  fileSize: z.ZodNumber;
4456
4516
  fileKey: z.ZodString;
4457
4517
  fileUrl: z.ZodNullable<z.ZodString>;
4458
- status: z.ZodOptional<z.ZodString>;
4518
+ status: z.ZodNullable<z.ZodString>;
4459
4519
  }, "strip", z.ZodTypeAny, {
4460
4520
  id: string;
4521
+ status: string | null;
4461
4522
  createdAt: Date;
4462
4523
  updatedAt: Date;
4463
4524
  deletedAt: Date | null;
@@ -4466,9 +4527,9 @@ export declare const lineContract: {
4466
4527
  bucketName: string;
4467
4528
  fileSize: number;
4468
4529
  fileUrl: string | null;
4469
- status?: string | undefined;
4470
4530
  }, {
4471
4531
  id: string;
4532
+ status: string | null;
4472
4533
  createdAt: Date;
4473
4534
  updatedAt: Date;
4474
4535
  deletedAt: Date | null;
@@ -4477,7 +4538,6 @@ export declare const lineContract: {
4477
4538
  bucketName: string;
4478
4539
  fileSize: number;
4479
4540
  fileUrl: string | null;
4480
- status?: string | undefined;
4481
4541
  }>;
4482
4542
  actor: z.ZodObject<{
4483
4543
  id: z.ZodString;
@@ -5092,7 +5152,7 @@ export declare const lineContract: {
5092
5152
  };
5093
5153
  }>;
5094
5154
  }, "strip", z.ZodTypeAny, {
5095
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5155
+ 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";
5096
5156
  message: string;
5097
5157
  id: string;
5098
5158
  url: string;
@@ -5144,9 +5204,9 @@ export declare const lineContract: {
5144
5204
  telephonySignature: string | null;
5145
5205
  };
5146
5206
  };
5147
- platformId: string;
5148
5207
  upload: {
5149
5208
  id: string;
5209
+ status: string | null;
5150
5210
  createdAt: Date;
5151
5211
  updatedAt: Date;
5152
5212
  deletedAt: Date | null;
@@ -5155,7 +5215,6 @@ export declare const lineContract: {
5155
5215
  bucketName: string;
5156
5216
  fileSize: number;
5157
5217
  fileUrl: string | null;
5158
- status?: string | undefined;
5159
5218
  };
5160
5219
  assignee: {
5161
5220
  id: string;
@@ -5201,6 +5260,7 @@ export declare const lineContract: {
5201
5260
  telephonySignature: string | null;
5202
5261
  };
5203
5262
  };
5263
+ platformId: string;
5204
5264
  readAt: Date;
5205
5265
  platformMessageId: string;
5206
5266
  replyPlatformMessageId: string;
@@ -5254,7 +5314,7 @@ export declare const lineContract: {
5254
5314
  metadata?: any;
5255
5315
  template?: any;
5256
5316
  }, {
5257
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5317
+ 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";
5258
5318
  message: string;
5259
5319
  id: string;
5260
5320
  url: string;
@@ -5306,9 +5366,9 @@ export declare const lineContract: {
5306
5366
  telephonySignature: string | null;
5307
5367
  };
5308
5368
  };
5309
- platformId: string;
5310
5369
  upload: {
5311
5370
  id: string;
5371
+ status: string | null;
5312
5372
  createdAt: Date;
5313
5373
  updatedAt: Date;
5314
5374
  deletedAt: Date | null;
@@ -5317,7 +5377,6 @@ export declare const lineContract: {
5317
5377
  bucketName: string;
5318
5378
  fileSize: number;
5319
5379
  fileUrl: string | null;
5320
- status?: string | undefined;
5321
5380
  };
5322
5381
  assignee: {
5323
5382
  id: string;
@@ -5363,6 +5422,7 @@ export declare const lineContract: {
5363
5422
  telephonySignature: string | null;
5364
5423
  };
5365
5424
  };
5425
+ platformId: string;
5366
5426
  readAt: Date;
5367
5427
  platformMessageId: string;
5368
5428
  replyPlatformMessageId: string;
@@ -6054,7 +6114,7 @@ export declare const lineContract: {
6054
6114
  isActive: boolean;
6055
6115
  }>;
6056
6116
  }, "strip", z.ZodTypeAny, {
6057
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6117
+ 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";
6058
6118
  message: string;
6059
6119
  id: string;
6060
6120
  url: string;
@@ -6106,9 +6166,9 @@ export declare const lineContract: {
6106
6166
  telephonySignature: string | null;
6107
6167
  };
6108
6168
  };
6109
- platformId: string;
6110
6169
  upload: {
6111
6170
  id: string;
6171
+ status: string | null;
6112
6172
  createdAt: Date;
6113
6173
  updatedAt: Date;
6114
6174
  deletedAt: Date | null;
@@ -6117,7 +6177,6 @@ export declare const lineContract: {
6117
6177
  bucketName: string;
6118
6178
  fileSize: number;
6119
6179
  fileUrl: string | null;
6120
- status?: string | undefined;
6121
6180
  };
6122
6181
  assignee: {
6123
6182
  id: string;
@@ -6163,6 +6222,7 @@ export declare const lineContract: {
6163
6222
  telephonySignature: string | null;
6164
6223
  };
6165
6224
  };
6225
+ platformId: string;
6166
6226
  room: {
6167
6227
  id: string;
6168
6228
  channel: {
@@ -6229,6 +6289,13 @@ export declare const lineContract: {
6229
6289
  isReloginRequired: boolean;
6230
6290
  connectedUserName: string;
6231
6291
  connectedUserId: string;
6292
+ botpressBot: {
6293
+ id: string;
6294
+ name: string;
6295
+ accessToken: string;
6296
+ botId: string;
6297
+ integrationId: string;
6298
+ } | null;
6232
6299
  };
6233
6300
  direction: "incoming" | "outgoing" | "system";
6234
6301
  status: number;
@@ -6330,6 +6397,7 @@ export declare const lineContract: {
6330
6397
  dateValue: Date | null;
6331
6398
  uploads: {
6332
6399
  id: string;
6400
+ status: string | null;
6333
6401
  createdAt: Date;
6334
6402
  updatedAt: Date;
6335
6403
  deletedAt: Date | null;
@@ -6338,7 +6406,6 @@ export declare const lineContract: {
6338
6406
  bucketName: string;
6339
6407
  fileSize: number;
6340
6408
  fileUrl: string | null;
6341
- status?: string | undefined;
6342
6409
  }[];
6343
6410
  }[];
6344
6411
  company: {
@@ -6443,6 +6510,7 @@ export declare const lineContract: {
6443
6510
  };
6444
6511
  closedAt: Date;
6445
6512
  lastMessageAt: Date | null;
6513
+ isBotRoom: boolean;
6446
6514
  cxlog: {
6447
6515
  id: string;
6448
6516
  channel: string | null;
@@ -6538,7 +6606,7 @@ export declare const lineContract: {
6538
6606
  previewUrl: string;
6539
6607
  imageSetId: string;
6540
6608
  repliedMessage: {
6541
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6609
+ 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";
6542
6610
  message: string;
6543
6611
  id: string;
6544
6612
  url: string;
@@ -6590,9 +6658,9 @@ export declare const lineContract: {
6590
6658
  telephonySignature: string | null;
6591
6659
  };
6592
6660
  };
6593
- platformId: string;
6594
6661
  upload: {
6595
6662
  id: string;
6663
+ status: string | null;
6596
6664
  createdAt: Date;
6597
6665
  updatedAt: Date;
6598
6666
  deletedAt: Date | null;
@@ -6601,7 +6669,6 @@ export declare const lineContract: {
6601
6669
  bucketName: string;
6602
6670
  fileSize: number;
6603
6671
  fileUrl: string | null;
6604
- status?: string | undefined;
6605
6672
  };
6606
6673
  assignee: {
6607
6674
  id: string;
@@ -6647,6 +6714,7 @@ export declare const lineContract: {
6647
6714
  telephonySignature: string | null;
6648
6715
  };
6649
6716
  };
6717
+ platformId: string;
6650
6718
  readAt: Date;
6651
6719
  platformMessageId: string;
6652
6720
  replyPlatformMessageId: string;
@@ -6747,7 +6815,7 @@ export declare const lineContract: {
6747
6815
  metadata?: any;
6748
6816
  template?: any;
6749
6817
  }, {
6750
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6818
+ 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";
6751
6819
  message: string;
6752
6820
  id: string;
6753
6821
  url: string;
@@ -6799,9 +6867,9 @@ export declare const lineContract: {
6799
6867
  telephonySignature: string | null;
6800
6868
  };
6801
6869
  };
6802
- platformId: string;
6803
6870
  upload: {
6804
6871
  id: string;
6872
+ status: string | null;
6805
6873
  createdAt: Date;
6806
6874
  updatedAt: Date;
6807
6875
  deletedAt: Date | null;
@@ -6810,7 +6878,6 @@ export declare const lineContract: {
6810
6878
  bucketName: string;
6811
6879
  fileSize: number;
6812
6880
  fileUrl: string | null;
6813
- status?: string | undefined;
6814
6881
  };
6815
6882
  assignee: {
6816
6883
  id: string;
@@ -6856,6 +6923,7 @@ export declare const lineContract: {
6856
6923
  telephonySignature: string | null;
6857
6924
  };
6858
6925
  };
6926
+ platformId: string;
6859
6927
  room: {
6860
6928
  id: string;
6861
6929
  channel: {
@@ -6922,6 +6990,13 @@ export declare const lineContract: {
6922
6990
  isReloginRequired: boolean;
6923
6991
  connectedUserName: string;
6924
6992
  connectedUserId: string;
6993
+ botpressBot: {
6994
+ id: string;
6995
+ name: string;
6996
+ accessToken: string;
6997
+ botId: string;
6998
+ integrationId: string;
6999
+ } | null;
6925
7000
  };
6926
7001
  direction: "incoming" | "outgoing" | "system";
6927
7002
  status: number;
@@ -7023,6 +7098,7 @@ export declare const lineContract: {
7023
7098
  dateValue: Date | null;
7024
7099
  uploads: {
7025
7100
  id: string;
7101
+ status: string | null;
7026
7102
  createdAt: Date;
7027
7103
  updatedAt: Date;
7028
7104
  deletedAt: Date | null;
@@ -7031,7 +7107,6 @@ export declare const lineContract: {
7031
7107
  bucketName: string;
7032
7108
  fileSize: number;
7033
7109
  fileUrl: string | null;
7034
- status?: string | undefined;
7035
7110
  }[];
7036
7111
  }[];
7037
7112
  company: {
@@ -7136,6 +7211,7 @@ export declare const lineContract: {
7136
7211
  };
7137
7212
  closedAt: Date;
7138
7213
  lastMessageAt: Date | null;
7214
+ isBotRoom: boolean;
7139
7215
  cxlog: {
7140
7216
  id: string;
7141
7217
  channel: string | null;
@@ -7231,7 +7307,7 @@ export declare const lineContract: {
7231
7307
  previewUrl: string;
7232
7308
  imageSetId: string;
7233
7309
  repliedMessage: {
7234
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7310
+ 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";
7235
7311
  message: string;
7236
7312
  id: string;
7237
7313
  url: string;
@@ -7283,9 +7359,9 @@ export declare const lineContract: {
7283
7359
  telephonySignature: string | null;
7284
7360
  };
7285
7361
  };
7286
- platformId: string;
7287
7362
  upload: {
7288
7363
  id: string;
7364
+ status: string | null;
7289
7365
  createdAt: Date;
7290
7366
  updatedAt: Date;
7291
7367
  deletedAt: Date | null;
@@ -7294,7 +7370,6 @@ export declare const lineContract: {
7294
7370
  bucketName: string;
7295
7371
  fileSize: number;
7296
7372
  fileUrl: string | null;
7297
- status?: string | undefined;
7298
7373
  };
7299
7374
  assignee: {
7300
7375
  id: string;
@@ -7340,6 +7415,7 @@ export declare const lineContract: {
7340
7415
  telephonySignature: string | null;
7341
7416
  };
7342
7417
  };
7418
+ platformId: string;
7343
7419
  readAt: Date;
7344
7420
  platformMessageId: string;
7345
7421
  replyPlatformMessageId: string;
@@ -7442,7 +7518,7 @@ export declare const lineContract: {
7442
7518
  }>;
7443
7519
  }, "strip", z.ZodTypeAny, {
7444
7520
  data: {
7445
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7521
+ 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";
7446
7522
  message: string;
7447
7523
  id: string;
7448
7524
  url: string;
@@ -7494,9 +7570,9 @@ export declare const lineContract: {
7494
7570
  telephonySignature: string | null;
7495
7571
  };
7496
7572
  };
7497
- platformId: string;
7498
7573
  upload: {
7499
7574
  id: string;
7575
+ status: string | null;
7500
7576
  createdAt: Date;
7501
7577
  updatedAt: Date;
7502
7578
  deletedAt: Date | null;
@@ -7505,7 +7581,6 @@ export declare const lineContract: {
7505
7581
  bucketName: string;
7506
7582
  fileSize: number;
7507
7583
  fileUrl: string | null;
7508
- status?: string | undefined;
7509
7584
  };
7510
7585
  assignee: {
7511
7586
  id: string;
@@ -7551,6 +7626,7 @@ export declare const lineContract: {
7551
7626
  telephonySignature: string | null;
7552
7627
  };
7553
7628
  };
7629
+ platformId: string;
7554
7630
  room: {
7555
7631
  id: string;
7556
7632
  channel: {
@@ -7617,6 +7693,13 @@ export declare const lineContract: {
7617
7693
  isReloginRequired: boolean;
7618
7694
  connectedUserName: string;
7619
7695
  connectedUserId: string;
7696
+ botpressBot: {
7697
+ id: string;
7698
+ name: string;
7699
+ accessToken: string;
7700
+ botId: string;
7701
+ integrationId: string;
7702
+ } | null;
7620
7703
  };
7621
7704
  direction: "incoming" | "outgoing" | "system";
7622
7705
  status: number;
@@ -7718,6 +7801,7 @@ export declare const lineContract: {
7718
7801
  dateValue: Date | null;
7719
7802
  uploads: {
7720
7803
  id: string;
7804
+ status: string | null;
7721
7805
  createdAt: Date;
7722
7806
  updatedAt: Date;
7723
7807
  deletedAt: Date | null;
@@ -7726,7 +7810,6 @@ export declare const lineContract: {
7726
7810
  bucketName: string;
7727
7811
  fileSize: number;
7728
7812
  fileUrl: string | null;
7729
- status?: string | undefined;
7730
7813
  }[];
7731
7814
  }[];
7732
7815
  company: {
@@ -7831,6 +7914,7 @@ export declare const lineContract: {
7831
7914
  };
7832
7915
  closedAt: Date;
7833
7916
  lastMessageAt: Date | null;
7917
+ isBotRoom: boolean;
7834
7918
  cxlog: {
7835
7919
  id: string;
7836
7920
  channel: string | null;
@@ -7926,7 +8010,7 @@ export declare const lineContract: {
7926
8010
  previewUrl: string;
7927
8011
  imageSetId: string;
7928
8012
  repliedMessage: {
7929
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8013
+ 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";
7930
8014
  message: string;
7931
8015
  id: string;
7932
8016
  url: string;
@@ -7978,9 +8062,9 @@ export declare const lineContract: {
7978
8062
  telephonySignature: string | null;
7979
8063
  };
7980
8064
  };
7981
- platformId: string;
7982
8065
  upload: {
7983
8066
  id: string;
8067
+ status: string | null;
7984
8068
  createdAt: Date;
7985
8069
  updatedAt: Date;
7986
8070
  deletedAt: Date | null;
@@ -7989,7 +8073,6 @@ export declare const lineContract: {
7989
8073
  bucketName: string;
7990
8074
  fileSize: number;
7991
8075
  fileUrl: string | null;
7992
- status?: string | undefined;
7993
8076
  };
7994
8077
  assignee: {
7995
8078
  id: string;
@@ -8035,6 +8118,7 @@ export declare const lineContract: {
8035
8118
  telephonySignature: string | null;
8036
8119
  };
8037
8120
  };
8121
+ platformId: string;
8038
8122
  readAt: Date;
8039
8123
  platformMessageId: string;
8040
8124
  replyPlatformMessageId: string;
@@ -8138,7 +8222,7 @@ export declare const lineContract: {
8138
8222
  requestId: string;
8139
8223
  }, {
8140
8224
  data: {
8141
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8225
+ 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";
8142
8226
  message: string;
8143
8227
  id: string;
8144
8228
  url: string;
@@ -8190,9 +8274,9 @@ export declare const lineContract: {
8190
8274
  telephonySignature: string | null;
8191
8275
  };
8192
8276
  };
8193
- platformId: string;
8194
8277
  upload: {
8195
8278
  id: string;
8279
+ status: string | null;
8196
8280
  createdAt: Date;
8197
8281
  updatedAt: Date;
8198
8282
  deletedAt: Date | null;
@@ -8201,7 +8285,6 @@ export declare const lineContract: {
8201
8285
  bucketName: string;
8202
8286
  fileSize: number;
8203
8287
  fileUrl: string | null;
8204
- status?: string | undefined;
8205
8288
  };
8206
8289
  assignee: {
8207
8290
  id: string;
@@ -8247,6 +8330,7 @@ export declare const lineContract: {
8247
8330
  telephonySignature: string | null;
8248
8331
  };
8249
8332
  };
8333
+ platformId: string;
8250
8334
  room: {
8251
8335
  id: string;
8252
8336
  channel: {
@@ -8313,6 +8397,13 @@ export declare const lineContract: {
8313
8397
  isReloginRequired: boolean;
8314
8398
  connectedUserName: string;
8315
8399
  connectedUserId: string;
8400
+ botpressBot: {
8401
+ id: string;
8402
+ name: string;
8403
+ accessToken: string;
8404
+ botId: string;
8405
+ integrationId: string;
8406
+ } | null;
8316
8407
  };
8317
8408
  direction: "incoming" | "outgoing" | "system";
8318
8409
  status: number;
@@ -8414,6 +8505,7 @@ export declare const lineContract: {
8414
8505
  dateValue: Date | null;
8415
8506
  uploads: {
8416
8507
  id: string;
8508
+ status: string | null;
8417
8509
  createdAt: Date;
8418
8510
  updatedAt: Date;
8419
8511
  deletedAt: Date | null;
@@ -8422,7 +8514,6 @@ export declare const lineContract: {
8422
8514
  bucketName: string;
8423
8515
  fileSize: number;
8424
8516
  fileUrl: string | null;
8425
- status?: string | undefined;
8426
8517
  }[];
8427
8518
  }[];
8428
8519
  company: {
@@ -8527,6 +8618,7 @@ export declare const lineContract: {
8527
8618
  };
8528
8619
  closedAt: Date;
8529
8620
  lastMessageAt: Date | null;
8621
+ isBotRoom: boolean;
8530
8622
  cxlog: {
8531
8623
  id: string;
8532
8624
  channel: string | null;
@@ -8622,7 +8714,7 @@ export declare const lineContract: {
8622
8714
  previewUrl: string;
8623
8715
  imageSetId: string;
8624
8716
  repliedMessage: {
8625
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8717
+ 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";
8626
8718
  message: string;
8627
8719
  id: string;
8628
8720
  url: string;
@@ -8674,9 +8766,9 @@ export declare const lineContract: {
8674
8766
  telephonySignature: string | null;
8675
8767
  };
8676
8768
  };
8677
- platformId: string;
8678
8769
  upload: {
8679
8770
  id: string;
8771
+ status: string | null;
8680
8772
  createdAt: Date;
8681
8773
  updatedAt: Date;
8682
8774
  deletedAt: Date | null;
@@ -8685,7 +8777,6 @@ export declare const lineContract: {
8685
8777
  bucketName: string;
8686
8778
  fileSize: number;
8687
8779
  fileUrl: string | null;
8688
- status?: string | undefined;
8689
8780
  };
8690
8781
  assignee: {
8691
8782
  id: string;
@@ -8731,6 +8822,7 @@ export declare const lineContract: {
8731
8822
  telephonySignature: string | null;
8732
8823
  };
8733
8824
  };
8825
+ platformId: string;
8734
8826
  readAt: Date;
8735
8827
  platformMessageId: string;
8736
8828
  replyPlatformMessageId: string;