@kl1/contracts 1.1.41-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 (40) hide show
  1. package/dist/index.js +2963 -2771
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2961 -2772
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/channel/index.d.ts +1692 -73
  6. package/dist/src/channel/index.d.ts.map +1 -1
  7. package/dist/src/channel/schema.d.ts +36 -0
  8. package/dist/src/channel/schema.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +7 -0
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +767 -59
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +136 -20
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +153 -61
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +3972 -1072
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +75 -0
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +61 -0
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/index.d.ts +1 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/instagram/index.d.ts +145 -53
  26. package/dist/src/instagram/index.d.ts.map +1 -1
  27. package/dist/src/line/index.d.ts +150 -58
  28. package/dist/src/line/index.d.ts.map +1 -1
  29. package/dist/src/line/validation.d.ts +5 -5
  30. package/dist/src/messenger/index.d.ts +180 -54
  31. package/dist/src/messenger/index.d.ts.map +1 -1
  32. package/dist/src/messenger/validation.d.ts +43 -0
  33. package/dist/src/messenger/validation.d.ts.map +1 -1
  34. package/dist/src/viber/index.d.ts +286 -53
  35. package/dist/src/viber/index.d.ts.map +1 -1
  36. package/dist/src/webchat/index.d.ts +192 -53
  37. package/dist/src/webchat/index.d.ts.map +1 -1
  38. package/dist/src/workflow-rule/index.d.ts +132 -0
  39. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  40. package/package.json +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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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,7 +5204,6 @@ export declare const lineContract: {
5144
5204
  telephonySignature: string | null;
5145
5205
  };
5146
5206
  };
5147
- platformId: string;
5148
5207
  upload: {
5149
5208
  id: string;
5150
5209
  status: string | null;
@@ -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,7 +5366,6 @@ export declare const lineContract: {
5306
5366
  telephonySignature: string | null;
5307
5367
  };
5308
5368
  };
5309
- platformId: string;
5310
5369
  upload: {
5311
5370
  id: string;
5312
5371
  status: string | null;
@@ -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,7 +6166,6 @@ export declare const lineContract: {
6106
6166
  telephonySignature: string | null;
6107
6167
  };
6108
6168
  };
6109
- platformId: string;
6110
6169
  upload: {
6111
6170
  id: string;
6112
6171
  status: string | null;
@@ -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;
@@ -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,7 +6658,6 @@ export declare const lineContract: {
6590
6658
  telephonySignature: string | null;
6591
6659
  };
6592
6660
  };
6593
- platformId: string;
6594
6661
  upload: {
6595
6662
  id: string;
6596
6663
  status: string | null;
@@ -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,7 +6867,6 @@ export declare const lineContract: {
6799
6867
  telephonySignature: string | null;
6800
6868
  };
6801
6869
  };
6802
- platformId: string;
6803
6870
  upload: {
6804
6871
  id: string;
6805
6872
  status: string | null;
@@ -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;
@@ -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,7 +7359,6 @@ export declare const lineContract: {
7283
7359
  telephonySignature: string | null;
7284
7360
  };
7285
7361
  };
7286
- platformId: string;
7287
7362
  upload: {
7288
7363
  id: string;
7289
7364
  status: string | null;
@@ -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,7 +7570,6 @@ export declare const lineContract: {
7494
7570
  telephonySignature: string | null;
7495
7571
  };
7496
7572
  };
7497
- platformId: string;
7498
7573
  upload: {
7499
7574
  id: string;
7500
7575
  status: string | null;
@@ -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;
@@ -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,7 +8062,6 @@ export declare const lineContract: {
7978
8062
  telephonySignature: string | null;
7979
8063
  };
7980
8064
  };
7981
- platformId: string;
7982
8065
  upload: {
7983
8066
  id: string;
7984
8067
  status: string | null;
@@ -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,7 +8274,6 @@ export declare const lineContract: {
8190
8274
  telephonySignature: string | null;
8191
8275
  };
8192
8276
  };
8193
- platformId: string;
8194
8277
  upload: {
8195
8278
  id: string;
8196
8279
  status: string | null;
@@ -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;
@@ -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,7 +8766,6 @@ export declare const lineContract: {
8674
8766
  telephonySignature: string | null;
8675
8767
  };
8676
8768
  };
8677
- platformId: string;
8678
8769
  upload: {
8679
8770
  id: string;
8680
8771
  status: string | null;
@@ -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;