@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
@@ -5,6 +5,7 @@ export type GetInstagramPagesQuery = z.infer<typeof GetInstagramPagesQuerySchema
5
5
  export declare const instagramContract: {
6
6
  sendMessage: {
7
7
  body: z.ZodObject<{
8
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
8
9
  room: z.ZodObject<{
9
10
  id: z.ZodString;
10
11
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -359,7 +360,7 @@ export declare const instagramContract: {
359
360
  message: z.ZodObject<{
360
361
  message: z.ZodOptional<z.ZodString>;
361
362
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
362
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
363
+ 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"]>;
363
364
  readAt: z.ZodOptional<z.ZodDate>;
364
365
  metadata: z.ZodOptional<z.ZodAny>;
365
366
  platformId: z.ZodOptional<z.ZodString>;
@@ -375,18 +376,21 @@ export declare const instagramContract: {
375
376
  fileName: z.ZodString;
376
377
  fileSize: z.ZodNumber;
377
378
  fileKey: z.ZodString;
379
+ originalUrl: z.ZodOptional<z.ZodString>;
378
380
  }, "strip", z.ZodTypeAny, {
379
381
  fileName: string;
380
382
  fileKey: string;
381
383
  bucketName: string;
382
384
  fileSize: number;
385
+ originalUrl?: string | undefined;
383
386
  }, {
384
387
  fileName: string;
385
388
  fileKey: string;
386
389
  bucketName: string;
387
390
  fileSize: number;
391
+ originalUrl?: string | undefined;
388
392
  }>>;
389
- sender: z.ZodObject<{
393
+ sender: z.ZodOptional<z.ZodObject<{
390
394
  id: z.ZodString;
391
395
  name: z.ZodString;
392
396
  email: z.ZodString;
@@ -404,17 +408,10 @@ export declare const instagramContract: {
404
408
  name: string;
405
409
  email: string;
406
410
  phone: string | null;
407
- }>;
411
+ }>>;
408
412
  }, "strip", z.ZodTypeAny, {
409
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
413
+ 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";
410
414
  direction: "incoming" | "outgoing" | "system";
411
- sender: {
412
- id: string;
413
- address: string | null;
414
- name: string;
415
- email: string;
416
- phone: string | null;
417
- };
418
415
  message?: string | undefined;
419
416
  readAt?: Date | undefined;
420
417
  metadata?: any;
@@ -431,17 +428,18 @@ export declare const instagramContract: {
431
428
  fileKey: string;
432
429
  bucketName: string;
433
430
  fileSize: number;
431
+ originalUrl?: string | undefined;
434
432
  } | undefined;
435
- }, {
436
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
437
- direction: "incoming" | "outgoing" | "system";
438
- sender: {
433
+ sender?: {
439
434
  id: string;
440
435
  address: string | null;
441
436
  name: string;
442
437
  email: string;
443
438
  phone: string | null;
444
- };
439
+ } | undefined;
440
+ }, {
441
+ 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";
442
+ direction: "incoming" | "outgoing" | "system";
445
443
  message?: string | undefined;
446
444
  readAt?: Date | undefined;
447
445
  metadata?: any;
@@ -458,19 +456,20 @@ export declare const instagramContract: {
458
456
  fileKey: string;
459
457
  bucketName: string;
460
458
  fileSize: number;
459
+ originalUrl?: string | undefined;
461
460
  } | undefined;
462
- }>;
463
- }, "strip", z.ZodTypeAny, {
464
- message: {
465
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
466
- direction: "incoming" | "outgoing" | "system";
467
- sender: {
461
+ sender?: {
468
462
  id: string;
469
463
  address: string | null;
470
464
  name: string;
471
465
  email: string;
472
466
  phone: string | null;
473
- };
467
+ } | undefined;
468
+ }>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ message: {
471
+ 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";
472
+ direction: "incoming" | "outgoing" | "system";
474
473
  message?: string | undefined;
475
474
  readAt?: Date | undefined;
476
475
  metadata?: any;
@@ -487,6 +486,14 @@ export declare const instagramContract: {
487
486
  fileKey: string;
488
487
  bucketName: string;
489
488
  fileSize: number;
489
+ originalUrl?: string | undefined;
490
+ } | undefined;
491
+ sender?: {
492
+ id: string;
493
+ address: string | null;
494
+ name: string;
495
+ email: string;
496
+ phone: string | null;
490
497
  } | undefined;
491
498
  };
492
499
  room: {
@@ -556,17 +563,11 @@ export declare const instagramContract: {
556
563
  metadata?: any;
557
564
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
558
565
  };
566
+ isBot: boolean | null;
559
567
  }, {
560
568
  message: {
561
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
569
+ 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";
562
570
  direction: "incoming" | "outgoing" | "system";
563
- sender: {
564
- id: string;
565
- address: string | null;
566
- name: string;
567
- email: string;
568
- phone: string | null;
569
- };
570
571
  message?: string | undefined;
571
572
  readAt?: Date | undefined;
572
573
  metadata?: any;
@@ -583,6 +584,14 @@ export declare const instagramContract: {
583
584
  fileKey: string;
584
585
  bucketName: string;
585
586
  fileSize: number;
587
+ originalUrl?: string | undefined;
588
+ } | undefined;
589
+ sender?: {
590
+ id: string;
591
+ address: string | null;
592
+ name: string;
593
+ email: string;
594
+ phone: string | null;
586
595
  } | undefined;
587
596
  };
588
597
  room: {
@@ -652,6 +661,7 @@ export declare const instagramContract: {
652
661
  metadata?: any;
653
662
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
654
663
  };
664
+ isBot?: boolean | null | undefined;
655
665
  }>;
656
666
  method: "POST";
657
667
  responses: {
@@ -664,7 +674,7 @@ export declare const instagramContract: {
664
674
  deletedAt: z.ZodNullable<z.ZodDate>;
665
675
  message: z.ZodString;
666
676
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
667
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
677
+ 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"]>;
668
678
  readAt: z.ZodDate;
669
679
  metadata: z.ZodAny;
670
680
  platformId: z.ZodString;
@@ -689,6 +699,7 @@ export declare const instagramContract: {
689
699
  firstResponseAt: z.ZodDate;
690
700
  firstResponseTime: z.ZodNumber;
691
701
  isLatest: z.ZodBoolean;
702
+ isBotRoom: z.ZodBoolean;
692
703
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
693
704
  platformContact: z.ZodObject<{
694
705
  id: z.ZodString;
@@ -1009,9 +1020,10 @@ export declare const instagramContract: {
1009
1020
  fileSize: z.ZodNumber;
1010
1021
  fileKey: z.ZodString;
1011
1022
  fileUrl: z.ZodNullable<z.ZodString>;
1012
- status: z.ZodOptional<z.ZodString>;
1023
+ status: z.ZodNullable<z.ZodString>;
1013
1024
  }, "strip", z.ZodTypeAny, {
1014
1025
  id: string;
1026
+ status: string | null;
1015
1027
  createdAt: Date;
1016
1028
  updatedAt: Date;
1017
1029
  deletedAt: Date | null;
@@ -1020,9 +1032,9 @@ export declare const instagramContract: {
1020
1032
  bucketName: string;
1021
1033
  fileSize: number;
1022
1034
  fileUrl: string | null;
1023
- status?: string | undefined;
1024
1035
  }, {
1025
1036
  id: string;
1037
+ status: string | null;
1026
1038
  createdAt: Date;
1027
1039
  updatedAt: Date;
1028
1040
  deletedAt: Date | null;
@@ -1031,7 +1043,6 @@ export declare const instagramContract: {
1031
1043
  bucketName: string;
1032
1044
  fileSize: number;
1033
1045
  fileUrl: string | null;
1034
- status?: string | undefined;
1035
1046
  }>, "many">;
1036
1047
  }, "strip", z.ZodTypeAny, {
1037
1048
  id: string;
@@ -1058,6 +1069,7 @@ export declare const instagramContract: {
1058
1069
  dateValue: Date | null;
1059
1070
  uploads: {
1060
1071
  id: string;
1072
+ status: string | null;
1061
1073
  createdAt: Date;
1062
1074
  updatedAt: Date;
1063
1075
  deletedAt: Date | null;
@@ -1066,7 +1078,6 @@ export declare const instagramContract: {
1066
1078
  bucketName: string;
1067
1079
  fileSize: number;
1068
1080
  fileUrl: string | null;
1069
- status?: string | undefined;
1070
1081
  }[];
1071
1082
  }, {
1072
1083
  id: string;
@@ -1093,6 +1104,7 @@ export declare const instagramContract: {
1093
1104
  dateValue: Date | null;
1094
1105
  uploads: {
1095
1106
  id: string;
1107
+ status: string | null;
1096
1108
  createdAt: Date;
1097
1109
  updatedAt: Date;
1098
1110
  deletedAt: Date | null;
@@ -1101,7 +1113,6 @@ export declare const instagramContract: {
1101
1113
  bucketName: string;
1102
1114
  fileSize: number;
1103
1115
  fileUrl: string | null;
1104
- status?: string | undefined;
1105
1116
  }[];
1106
1117
  }>, "many">;
1107
1118
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1241,6 +1252,7 @@ export declare const instagramContract: {
1241
1252
  dateValue: Date | null;
1242
1253
  uploads: {
1243
1254
  id: string;
1255
+ status: string | null;
1244
1256
  createdAt: Date;
1245
1257
  updatedAt: Date;
1246
1258
  deletedAt: Date | null;
@@ -1249,7 +1261,6 @@ export declare const instagramContract: {
1249
1261
  bucketName: string;
1250
1262
  fileSize: number;
1251
1263
  fileUrl: string | null;
1252
- status?: string | undefined;
1253
1264
  }[];
1254
1265
  }[];
1255
1266
  company: {
@@ -1337,6 +1348,7 @@ export declare const instagramContract: {
1337
1348
  dateValue: Date | null;
1338
1349
  uploads: {
1339
1350
  id: string;
1351
+ status: string | null;
1340
1352
  createdAt: Date;
1341
1353
  updatedAt: Date;
1342
1354
  deletedAt: Date | null;
@@ -1345,7 +1357,6 @@ export declare const instagramContract: {
1345
1357
  bucketName: string;
1346
1358
  fileSize: number;
1347
1359
  fileUrl: string | null;
1348
- status?: string | undefined;
1349
1360
  }[];
1350
1361
  }[];
1351
1362
  company: {
@@ -1446,6 +1457,7 @@ export declare const instagramContract: {
1446
1457
  dateValue: Date | null;
1447
1458
  uploads: {
1448
1459
  id: string;
1460
+ status: string | null;
1449
1461
  createdAt: Date;
1450
1462
  updatedAt: Date;
1451
1463
  deletedAt: Date | null;
@@ -1454,7 +1466,6 @@ export declare const instagramContract: {
1454
1466
  bucketName: string;
1455
1467
  fileSize: number;
1456
1468
  fileUrl: string | null;
1457
- status?: string | undefined;
1458
1469
  }[];
1459
1470
  }[];
1460
1471
  company: {
@@ -1557,6 +1568,7 @@ export declare const instagramContract: {
1557
1568
  dateValue: Date | null;
1558
1569
  uploads: {
1559
1570
  id: string;
1571
+ status: string | null;
1560
1572
  createdAt: Date;
1561
1573
  updatedAt: Date;
1562
1574
  deletedAt: Date | null;
@@ -1565,7 +1577,6 @@ export declare const instagramContract: {
1565
1577
  bucketName: string;
1566
1578
  fileSize: number;
1567
1579
  fileUrl: string | null;
1568
- status?: string | undefined;
1569
1580
  }[];
1570
1581
  }[];
1571
1582
  company: {
@@ -2064,6 +2075,25 @@ export declare const instagramContract: {
2064
2075
  isReloginRequired: z.ZodBoolean;
2065
2076
  connectedUserName: z.ZodString;
2066
2077
  connectedUserId: z.ZodString;
2078
+ botpressBot: z.ZodNullable<z.ZodObject<{
2079
+ id: z.ZodString;
2080
+ name: z.ZodString;
2081
+ botId: z.ZodString;
2082
+ integrationId: z.ZodString;
2083
+ accessToken: z.ZodString;
2084
+ }, "strip", z.ZodTypeAny, {
2085
+ id: string;
2086
+ name: string;
2087
+ accessToken: string;
2088
+ botId: string;
2089
+ integrationId: string;
2090
+ }, {
2091
+ id: string;
2092
+ name: string;
2093
+ accessToken: string;
2094
+ botId: string;
2095
+ integrationId: string;
2096
+ }>>;
2067
2097
  actor: z.ZodObject<{
2068
2098
  id: z.ZodString;
2069
2099
  createdAt: z.ZodDate;
@@ -2332,6 +2362,13 @@ export declare const instagramContract: {
2332
2362
  isReloginRequired: boolean;
2333
2363
  connectedUserName: string;
2334
2364
  connectedUserId: string;
2365
+ botpressBot: {
2366
+ id: string;
2367
+ name: string;
2368
+ accessToken: string;
2369
+ botId: string;
2370
+ integrationId: string;
2371
+ } | null;
2335
2372
  }, {
2336
2373
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2337
2374
  id: string;
@@ -2396,6 +2433,13 @@ export declare const instagramContract: {
2396
2433
  isReloginRequired: boolean;
2397
2434
  connectedUserName: string;
2398
2435
  connectedUserId: string;
2436
+ botpressBot: {
2437
+ id: string;
2438
+ name: string;
2439
+ accessToken: string;
2440
+ botId: string;
2441
+ integrationId: string;
2442
+ } | null;
2399
2443
  }>;
2400
2444
  cxlog: z.ZodObject<{
2401
2445
  id: z.ZodString;
@@ -2907,6 +2951,13 @@ export declare const instagramContract: {
2907
2951
  isReloginRequired: boolean;
2908
2952
  connectedUserName: string;
2909
2953
  connectedUserId: string;
2954
+ botpressBot: {
2955
+ id: string;
2956
+ name: string;
2957
+ accessToken: string;
2958
+ botId: string;
2959
+ integrationId: string;
2960
+ } | null;
2910
2961
  };
2911
2962
  direction: "incoming" | "outgoing" | "system";
2912
2963
  status: number;
@@ -3008,6 +3059,7 @@ export declare const instagramContract: {
3008
3059
  dateValue: Date | null;
3009
3060
  uploads: {
3010
3061
  id: string;
3062
+ status: string | null;
3011
3063
  createdAt: Date;
3012
3064
  updatedAt: Date;
3013
3065
  deletedAt: Date | null;
@@ -3016,7 +3068,6 @@ export declare const instagramContract: {
3016
3068
  bucketName: string;
3017
3069
  fileSize: number;
3018
3070
  fileUrl: string | null;
3019
- status?: string | undefined;
3020
3071
  }[];
3021
3072
  }[];
3022
3073
  company: {
@@ -3121,6 +3172,7 @@ export declare const instagramContract: {
3121
3172
  };
3122
3173
  closedAt: Date;
3123
3174
  lastMessageAt: Date | null;
3175
+ isBotRoom: boolean;
3124
3176
  cxlog: {
3125
3177
  id: string;
3126
3178
  channel: string | null;
@@ -3265,6 +3317,13 @@ export declare const instagramContract: {
3265
3317
  isReloginRequired: boolean;
3266
3318
  connectedUserName: string;
3267
3319
  connectedUserId: string;
3320
+ botpressBot: {
3321
+ id: string;
3322
+ name: string;
3323
+ accessToken: string;
3324
+ botId: string;
3325
+ integrationId: string;
3326
+ } | null;
3268
3327
  };
3269
3328
  direction: "incoming" | "outgoing" | "system";
3270
3329
  status: number;
@@ -3366,6 +3425,7 @@ export declare const instagramContract: {
3366
3425
  dateValue: Date | null;
3367
3426
  uploads: {
3368
3427
  id: string;
3428
+ status: string | null;
3369
3429
  createdAt: Date;
3370
3430
  updatedAt: Date;
3371
3431
  deletedAt: Date | null;
@@ -3374,7 +3434,6 @@ export declare const instagramContract: {
3374
3434
  bucketName: string;
3375
3435
  fileSize: number;
3376
3436
  fileUrl: string | null;
3377
- status?: string | undefined;
3378
3437
  }[];
3379
3438
  }[];
3380
3439
  company: {
@@ -3479,6 +3538,7 @@ export declare const instagramContract: {
3479
3538
  };
3480
3539
  closedAt: Date;
3481
3540
  lastMessageAt: Date | null;
3541
+ isBotRoom: boolean;
3482
3542
  cxlog: {
3483
3543
  id: string;
3484
3544
  channel: string | null;
@@ -3568,9 +3628,10 @@ export declare const instagramContract: {
3568
3628
  fileSize: z.ZodNumber;
3569
3629
  fileKey: z.ZodString;
3570
3630
  fileUrl: z.ZodNullable<z.ZodString>;
3571
- status: z.ZodOptional<z.ZodString>;
3631
+ status: z.ZodNullable<z.ZodString>;
3572
3632
  }, "strip", z.ZodTypeAny, {
3573
3633
  id: string;
3634
+ status: string | null;
3574
3635
  createdAt: Date;
3575
3636
  updatedAt: Date;
3576
3637
  deletedAt: Date | null;
@@ -3579,9 +3640,9 @@ export declare const instagramContract: {
3579
3640
  bucketName: string;
3580
3641
  fileSize: number;
3581
3642
  fileUrl: string | null;
3582
- status?: string | undefined;
3583
3643
  }, {
3584
3644
  id: string;
3645
+ status: string | null;
3585
3646
  createdAt: Date;
3586
3647
  updatedAt: Date;
3587
3648
  deletedAt: Date | null;
@@ -3590,7 +3651,6 @@ export declare const instagramContract: {
3590
3651
  bucketName: string;
3591
3652
  fileSize: number;
3592
3653
  fileUrl: string | null;
3593
- status?: string | undefined;
3594
3654
  }>;
3595
3655
  repliedMessage: z.ZodLazy<z.ZodObject<{
3596
3656
  id: z.ZodString;
@@ -3599,7 +3659,7 @@ export declare const instagramContract: {
3599
3659
  deletedAt: z.ZodNullable<z.ZodDate>;
3600
3660
  message: z.ZodString;
3601
3661
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3602
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
3662
+ 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"]>;
3603
3663
  readAt: z.ZodDate;
3604
3664
  metadata: z.ZodAny;
3605
3665
  platformId: z.ZodString;
@@ -3620,9 +3680,10 @@ export declare const instagramContract: {
3620
3680
  fileSize: z.ZodNumber;
3621
3681
  fileKey: z.ZodString;
3622
3682
  fileUrl: z.ZodNullable<z.ZodString>;
3623
- status: z.ZodOptional<z.ZodString>;
3683
+ status: z.ZodNullable<z.ZodString>;
3624
3684
  }, "strip", z.ZodTypeAny, {
3625
3685
  id: string;
3686
+ status: string | null;
3626
3687
  createdAt: Date;
3627
3688
  updatedAt: Date;
3628
3689
  deletedAt: Date | null;
@@ -3631,9 +3692,9 @@ export declare const instagramContract: {
3631
3692
  bucketName: string;
3632
3693
  fileSize: number;
3633
3694
  fileUrl: string | null;
3634
- status?: string | undefined;
3635
3695
  }, {
3636
3696
  id: string;
3697
+ status: string | null;
3637
3698
  createdAt: Date;
3638
3699
  updatedAt: Date;
3639
3700
  deletedAt: Date | null;
@@ -3642,7 +3703,6 @@ export declare const instagramContract: {
3642
3703
  bucketName: string;
3643
3704
  fileSize: number;
3644
3705
  fileUrl: string | null;
3645
- status?: string | undefined;
3646
3706
  }>;
3647
3707
  actor: z.ZodObject<{
3648
3708
  id: z.ZodString;
@@ -4257,7 +4317,7 @@ export declare const instagramContract: {
4257
4317
  };
4258
4318
  }>;
4259
4319
  }, "strip", z.ZodTypeAny, {
4260
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4320
+ 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";
4261
4321
  message: string;
4262
4322
  id: string;
4263
4323
  url: string;
@@ -4309,9 +4369,9 @@ export declare const instagramContract: {
4309
4369
  telephonySignature: string | null;
4310
4370
  };
4311
4371
  };
4312
- platformId: string;
4313
4372
  upload: {
4314
4373
  id: string;
4374
+ status: string | null;
4315
4375
  createdAt: Date;
4316
4376
  updatedAt: Date;
4317
4377
  deletedAt: Date | null;
@@ -4320,7 +4380,6 @@ export declare const instagramContract: {
4320
4380
  bucketName: string;
4321
4381
  fileSize: number;
4322
4382
  fileUrl: string | null;
4323
- status?: string | undefined;
4324
4383
  };
4325
4384
  assignee: {
4326
4385
  id: string;
@@ -4366,6 +4425,7 @@ export declare const instagramContract: {
4366
4425
  telephonySignature: string | null;
4367
4426
  };
4368
4427
  };
4428
+ platformId: string;
4369
4429
  readAt: Date;
4370
4430
  platformMessageId: string;
4371
4431
  replyPlatformMessageId: string;
@@ -4419,7 +4479,7 @@ export declare const instagramContract: {
4419
4479
  metadata?: any;
4420
4480
  template?: any;
4421
4481
  }, {
4422
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
4482
+ 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";
4423
4483
  message: string;
4424
4484
  id: string;
4425
4485
  url: string;
@@ -4471,9 +4531,9 @@ export declare const instagramContract: {
4471
4531
  telephonySignature: string | null;
4472
4532
  };
4473
4533
  };
4474
- platformId: string;
4475
4534
  upload: {
4476
4535
  id: string;
4536
+ status: string | null;
4477
4537
  createdAt: Date;
4478
4538
  updatedAt: Date;
4479
4539
  deletedAt: Date | null;
@@ -4482,7 +4542,6 @@ export declare const instagramContract: {
4482
4542
  bucketName: string;
4483
4543
  fileSize: number;
4484
4544
  fileUrl: string | null;
4485
- status?: string | undefined;
4486
4545
  };
4487
4546
  assignee: {
4488
4547
  id: string;
@@ -4528,6 +4587,7 @@ export declare const instagramContract: {
4528
4587
  telephonySignature: string | null;
4529
4588
  };
4530
4589
  };
4590
+ platformId: string;
4531
4591
  readAt: Date;
4532
4592
  platformMessageId: string;
4533
4593
  replyPlatformMessageId: string;
@@ -5219,7 +5279,7 @@ export declare const instagramContract: {
5219
5279
  isActive: boolean;
5220
5280
  }>;
5221
5281
  }, "strip", z.ZodTypeAny, {
5222
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5282
+ 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";
5223
5283
  message: string;
5224
5284
  id: string;
5225
5285
  url: string;
@@ -5271,9 +5331,9 @@ export declare const instagramContract: {
5271
5331
  telephonySignature: string | null;
5272
5332
  };
5273
5333
  };
5274
- platformId: string;
5275
5334
  upload: {
5276
5335
  id: string;
5336
+ status: string | null;
5277
5337
  createdAt: Date;
5278
5338
  updatedAt: Date;
5279
5339
  deletedAt: Date | null;
@@ -5282,7 +5342,6 @@ export declare const instagramContract: {
5282
5342
  bucketName: string;
5283
5343
  fileSize: number;
5284
5344
  fileUrl: string | null;
5285
- status?: string | undefined;
5286
5345
  };
5287
5346
  assignee: {
5288
5347
  id: string;
@@ -5328,6 +5387,7 @@ export declare const instagramContract: {
5328
5387
  telephonySignature: string | null;
5329
5388
  };
5330
5389
  };
5390
+ platformId: string;
5331
5391
  room: {
5332
5392
  id: string;
5333
5393
  channel: {
@@ -5394,6 +5454,13 @@ export declare const instagramContract: {
5394
5454
  isReloginRequired: boolean;
5395
5455
  connectedUserName: string;
5396
5456
  connectedUserId: string;
5457
+ botpressBot: {
5458
+ id: string;
5459
+ name: string;
5460
+ accessToken: string;
5461
+ botId: string;
5462
+ integrationId: string;
5463
+ } | null;
5397
5464
  };
5398
5465
  direction: "incoming" | "outgoing" | "system";
5399
5466
  status: number;
@@ -5495,6 +5562,7 @@ export declare const instagramContract: {
5495
5562
  dateValue: Date | null;
5496
5563
  uploads: {
5497
5564
  id: string;
5565
+ status: string | null;
5498
5566
  createdAt: Date;
5499
5567
  updatedAt: Date;
5500
5568
  deletedAt: Date | null;
@@ -5503,7 +5571,6 @@ export declare const instagramContract: {
5503
5571
  bucketName: string;
5504
5572
  fileSize: number;
5505
5573
  fileUrl: string | null;
5506
- status?: string | undefined;
5507
5574
  }[];
5508
5575
  }[];
5509
5576
  company: {
@@ -5608,6 +5675,7 @@ export declare const instagramContract: {
5608
5675
  };
5609
5676
  closedAt: Date;
5610
5677
  lastMessageAt: Date | null;
5678
+ isBotRoom: boolean;
5611
5679
  cxlog: {
5612
5680
  id: string;
5613
5681
  channel: string | null;
@@ -5703,7 +5771,7 @@ export declare const instagramContract: {
5703
5771
  previewUrl: string;
5704
5772
  imageSetId: string;
5705
5773
  repliedMessage: {
5706
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5774
+ 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";
5707
5775
  message: string;
5708
5776
  id: string;
5709
5777
  url: string;
@@ -5755,9 +5823,9 @@ export declare const instagramContract: {
5755
5823
  telephonySignature: string | null;
5756
5824
  };
5757
5825
  };
5758
- platformId: string;
5759
5826
  upload: {
5760
5827
  id: string;
5828
+ status: string | null;
5761
5829
  createdAt: Date;
5762
5830
  updatedAt: Date;
5763
5831
  deletedAt: Date | null;
@@ -5766,7 +5834,6 @@ export declare const instagramContract: {
5766
5834
  bucketName: string;
5767
5835
  fileSize: number;
5768
5836
  fileUrl: string | null;
5769
- status?: string | undefined;
5770
5837
  };
5771
5838
  assignee: {
5772
5839
  id: string;
@@ -5812,6 +5879,7 @@ export declare const instagramContract: {
5812
5879
  telephonySignature: string | null;
5813
5880
  };
5814
5881
  };
5882
+ platformId: string;
5815
5883
  readAt: Date;
5816
5884
  platformMessageId: string;
5817
5885
  replyPlatformMessageId: string;
@@ -5912,7 +5980,7 @@ export declare const instagramContract: {
5912
5980
  metadata?: any;
5913
5981
  template?: any;
5914
5982
  }, {
5915
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5983
+ 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";
5916
5984
  message: string;
5917
5985
  id: string;
5918
5986
  url: string;
@@ -5964,9 +6032,9 @@ export declare const instagramContract: {
5964
6032
  telephonySignature: string | null;
5965
6033
  };
5966
6034
  };
5967
- platformId: string;
5968
6035
  upload: {
5969
6036
  id: string;
6037
+ status: string | null;
5970
6038
  createdAt: Date;
5971
6039
  updatedAt: Date;
5972
6040
  deletedAt: Date | null;
@@ -5975,7 +6043,6 @@ export declare const instagramContract: {
5975
6043
  bucketName: string;
5976
6044
  fileSize: number;
5977
6045
  fileUrl: string | null;
5978
- status?: string | undefined;
5979
6046
  };
5980
6047
  assignee: {
5981
6048
  id: string;
@@ -6021,6 +6088,7 @@ export declare const instagramContract: {
6021
6088
  telephonySignature: string | null;
6022
6089
  };
6023
6090
  };
6091
+ platformId: string;
6024
6092
  room: {
6025
6093
  id: string;
6026
6094
  channel: {
@@ -6087,6 +6155,13 @@ export declare const instagramContract: {
6087
6155
  isReloginRequired: boolean;
6088
6156
  connectedUserName: string;
6089
6157
  connectedUserId: string;
6158
+ botpressBot: {
6159
+ id: string;
6160
+ name: string;
6161
+ accessToken: string;
6162
+ botId: string;
6163
+ integrationId: string;
6164
+ } | null;
6090
6165
  };
6091
6166
  direction: "incoming" | "outgoing" | "system";
6092
6167
  status: number;
@@ -6188,6 +6263,7 @@ export declare const instagramContract: {
6188
6263
  dateValue: Date | null;
6189
6264
  uploads: {
6190
6265
  id: string;
6266
+ status: string | null;
6191
6267
  createdAt: Date;
6192
6268
  updatedAt: Date;
6193
6269
  deletedAt: Date | null;
@@ -6196,7 +6272,6 @@ export declare const instagramContract: {
6196
6272
  bucketName: string;
6197
6273
  fileSize: number;
6198
6274
  fileUrl: string | null;
6199
- status?: string | undefined;
6200
6275
  }[];
6201
6276
  }[];
6202
6277
  company: {
@@ -6301,6 +6376,7 @@ export declare const instagramContract: {
6301
6376
  };
6302
6377
  closedAt: Date;
6303
6378
  lastMessageAt: Date | null;
6379
+ isBotRoom: boolean;
6304
6380
  cxlog: {
6305
6381
  id: string;
6306
6382
  channel: string | null;
@@ -6396,7 +6472,7 @@ export declare const instagramContract: {
6396
6472
  previewUrl: string;
6397
6473
  imageSetId: string;
6398
6474
  repliedMessage: {
6399
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6475
+ 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";
6400
6476
  message: string;
6401
6477
  id: string;
6402
6478
  url: string;
@@ -6448,9 +6524,9 @@ export declare const instagramContract: {
6448
6524
  telephonySignature: string | null;
6449
6525
  };
6450
6526
  };
6451
- platformId: string;
6452
6527
  upload: {
6453
6528
  id: string;
6529
+ status: string | null;
6454
6530
  createdAt: Date;
6455
6531
  updatedAt: Date;
6456
6532
  deletedAt: Date | null;
@@ -6459,7 +6535,6 @@ export declare const instagramContract: {
6459
6535
  bucketName: string;
6460
6536
  fileSize: number;
6461
6537
  fileUrl: string | null;
6462
- status?: string | undefined;
6463
6538
  };
6464
6539
  assignee: {
6465
6540
  id: string;
@@ -6505,6 +6580,7 @@ export declare const instagramContract: {
6505
6580
  telephonySignature: string | null;
6506
6581
  };
6507
6582
  };
6583
+ platformId: string;
6508
6584
  readAt: Date;
6509
6585
  platformMessageId: string;
6510
6586
  replyPlatformMessageId: string;
@@ -6607,7 +6683,7 @@ export declare const instagramContract: {
6607
6683
  }>;
6608
6684
  }, "strip", z.ZodTypeAny, {
6609
6685
  data: {
6610
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
6686
+ 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";
6611
6687
  message: string;
6612
6688
  id: string;
6613
6689
  url: string;
@@ -6659,9 +6735,9 @@ export declare const instagramContract: {
6659
6735
  telephonySignature: string | null;
6660
6736
  };
6661
6737
  };
6662
- platformId: string;
6663
6738
  upload: {
6664
6739
  id: string;
6740
+ status: string | null;
6665
6741
  createdAt: Date;
6666
6742
  updatedAt: Date;
6667
6743
  deletedAt: Date | null;
@@ -6670,7 +6746,6 @@ export declare const instagramContract: {
6670
6746
  bucketName: string;
6671
6747
  fileSize: number;
6672
6748
  fileUrl: string | null;
6673
- status?: string | undefined;
6674
6749
  };
6675
6750
  assignee: {
6676
6751
  id: string;
@@ -6716,6 +6791,7 @@ export declare const instagramContract: {
6716
6791
  telephonySignature: string | null;
6717
6792
  };
6718
6793
  };
6794
+ platformId: string;
6719
6795
  room: {
6720
6796
  id: string;
6721
6797
  channel: {
@@ -6782,6 +6858,13 @@ export declare const instagramContract: {
6782
6858
  isReloginRequired: boolean;
6783
6859
  connectedUserName: string;
6784
6860
  connectedUserId: string;
6861
+ botpressBot: {
6862
+ id: string;
6863
+ name: string;
6864
+ accessToken: string;
6865
+ botId: string;
6866
+ integrationId: string;
6867
+ } | null;
6785
6868
  };
6786
6869
  direction: "incoming" | "outgoing" | "system";
6787
6870
  status: number;
@@ -6883,6 +6966,7 @@ export declare const instagramContract: {
6883
6966
  dateValue: Date | null;
6884
6967
  uploads: {
6885
6968
  id: string;
6969
+ status: string | null;
6886
6970
  createdAt: Date;
6887
6971
  updatedAt: Date;
6888
6972
  deletedAt: Date | null;
@@ -6891,7 +6975,6 @@ export declare const instagramContract: {
6891
6975
  bucketName: string;
6892
6976
  fileSize: number;
6893
6977
  fileUrl: string | null;
6894
- status?: string | undefined;
6895
6978
  }[];
6896
6979
  }[];
6897
6980
  company: {
@@ -6996,6 +7079,7 @@ export declare const instagramContract: {
6996
7079
  };
6997
7080
  closedAt: Date;
6998
7081
  lastMessageAt: Date | null;
7082
+ isBotRoom: boolean;
6999
7083
  cxlog: {
7000
7084
  id: string;
7001
7085
  channel: string | null;
@@ -7091,7 +7175,7 @@ export declare const instagramContract: {
7091
7175
  previewUrl: string;
7092
7176
  imageSetId: string;
7093
7177
  repliedMessage: {
7094
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7178
+ 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";
7095
7179
  message: string;
7096
7180
  id: string;
7097
7181
  url: string;
@@ -7143,9 +7227,9 @@ export declare const instagramContract: {
7143
7227
  telephonySignature: string | null;
7144
7228
  };
7145
7229
  };
7146
- platformId: string;
7147
7230
  upload: {
7148
7231
  id: string;
7232
+ status: string | null;
7149
7233
  createdAt: Date;
7150
7234
  updatedAt: Date;
7151
7235
  deletedAt: Date | null;
@@ -7154,7 +7238,6 @@ export declare const instagramContract: {
7154
7238
  bucketName: string;
7155
7239
  fileSize: number;
7156
7240
  fileUrl: string | null;
7157
- status?: string | undefined;
7158
7241
  };
7159
7242
  assignee: {
7160
7243
  id: string;
@@ -7200,6 +7283,7 @@ export declare const instagramContract: {
7200
7283
  telephonySignature: string | null;
7201
7284
  };
7202
7285
  };
7286
+ platformId: string;
7203
7287
  readAt: Date;
7204
7288
  platformMessageId: string;
7205
7289
  replyPlatformMessageId: string;
@@ -7303,7 +7387,7 @@ export declare const instagramContract: {
7303
7387
  requestId: string;
7304
7388
  }, {
7305
7389
  data: {
7306
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7390
+ 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";
7307
7391
  message: string;
7308
7392
  id: string;
7309
7393
  url: string;
@@ -7355,9 +7439,9 @@ export declare const instagramContract: {
7355
7439
  telephonySignature: string | null;
7356
7440
  };
7357
7441
  };
7358
- platformId: string;
7359
7442
  upload: {
7360
7443
  id: string;
7444
+ status: string | null;
7361
7445
  createdAt: Date;
7362
7446
  updatedAt: Date;
7363
7447
  deletedAt: Date | null;
@@ -7366,7 +7450,6 @@ export declare const instagramContract: {
7366
7450
  bucketName: string;
7367
7451
  fileSize: number;
7368
7452
  fileUrl: string | null;
7369
- status?: string | undefined;
7370
7453
  };
7371
7454
  assignee: {
7372
7455
  id: string;
@@ -7412,6 +7495,7 @@ export declare const instagramContract: {
7412
7495
  telephonySignature: string | null;
7413
7496
  };
7414
7497
  };
7498
+ platformId: string;
7415
7499
  room: {
7416
7500
  id: string;
7417
7501
  channel: {
@@ -7478,6 +7562,13 @@ export declare const instagramContract: {
7478
7562
  isReloginRequired: boolean;
7479
7563
  connectedUserName: string;
7480
7564
  connectedUserId: string;
7565
+ botpressBot: {
7566
+ id: string;
7567
+ name: string;
7568
+ accessToken: string;
7569
+ botId: string;
7570
+ integrationId: string;
7571
+ } | null;
7481
7572
  };
7482
7573
  direction: "incoming" | "outgoing" | "system";
7483
7574
  status: number;
@@ -7579,6 +7670,7 @@ export declare const instagramContract: {
7579
7670
  dateValue: Date | null;
7580
7671
  uploads: {
7581
7672
  id: string;
7673
+ status: string | null;
7582
7674
  createdAt: Date;
7583
7675
  updatedAt: Date;
7584
7676
  deletedAt: Date | null;
@@ -7587,7 +7679,6 @@ export declare const instagramContract: {
7587
7679
  bucketName: string;
7588
7680
  fileSize: number;
7589
7681
  fileUrl: string | null;
7590
- status?: string | undefined;
7591
7682
  }[];
7592
7683
  }[];
7593
7684
  company: {
@@ -7692,6 +7783,7 @@ export declare const instagramContract: {
7692
7783
  };
7693
7784
  closedAt: Date;
7694
7785
  lastMessageAt: Date | null;
7786
+ isBotRoom: boolean;
7695
7787
  cxlog: {
7696
7788
  id: string;
7697
7789
  channel: string | null;
@@ -7787,7 +7879,7 @@ export declare const instagramContract: {
7787
7879
  previewUrl: string;
7788
7880
  imageSetId: string;
7789
7881
  repliedMessage: {
7790
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7882
+ 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";
7791
7883
  message: string;
7792
7884
  id: string;
7793
7885
  url: string;
@@ -7839,9 +7931,9 @@ export declare const instagramContract: {
7839
7931
  telephonySignature: string | null;
7840
7932
  };
7841
7933
  };
7842
- platformId: string;
7843
7934
  upload: {
7844
7935
  id: string;
7936
+ status: string | null;
7845
7937
  createdAt: Date;
7846
7938
  updatedAt: Date;
7847
7939
  deletedAt: Date | null;
@@ -7850,7 +7942,6 @@ export declare const instagramContract: {
7850
7942
  bucketName: string;
7851
7943
  fileSize: number;
7852
7944
  fileUrl: string | null;
7853
- status?: string | undefined;
7854
7945
  };
7855
7946
  assignee: {
7856
7947
  id: string;
@@ -7896,6 +7987,7 @@ export declare const instagramContract: {
7896
7987
  telephonySignature: string | null;
7897
7988
  };
7898
7989
  };
7990
+ platformId: string;
7899
7991
  readAt: Date;
7900
7992
  platformMessageId: string;
7901
7993
  replyPlatformMessageId: string;