@kl1/contracts 1.1.41-uat → 1.1.43-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.js +2963 -2771
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2961 -2772
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/channel/index.d.ts +1692 -73
  6. package/dist/src/channel/index.d.ts.map +1 -1
  7. package/dist/src/channel/schema.d.ts +36 -0
  8. package/dist/src/channel/schema.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +7 -0
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +767 -59
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +136 -20
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +153 -61
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +3972 -1072
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +75 -0
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +61 -0
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/index.d.ts +1 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/instagram/index.d.ts +145 -53
  26. package/dist/src/instagram/index.d.ts.map +1 -1
  27. package/dist/src/line/index.d.ts +150 -58
  28. package/dist/src/line/index.d.ts.map +1 -1
  29. package/dist/src/line/validation.d.ts +5 -5
  30. package/dist/src/messenger/index.d.ts +180 -54
  31. package/dist/src/messenger/index.d.ts.map +1 -1
  32. package/dist/src/messenger/validation.d.ts +43 -0
  33. package/dist/src/messenger/validation.d.ts.map +1 -1
  34. package/dist/src/viber/index.d.ts +286 -53
  35. package/dist/src/viber/index.d.ts.map +1 -1
  36. package/dist/src/webchat/index.d.ts +192 -53
  37. package/dist/src/webchat/index.d.ts.map +1 -1
  38. package/dist/src/workflow-rule/index.d.ts +132 -0
  39. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  40. package/package.json +4 -10
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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,7 +4369,6 @@ export declare const instagramContract: {
4309
4369
  telephonySignature: string | null;
4310
4370
  };
4311
4371
  };
4312
- platformId: string;
4313
4372
  upload: {
4314
4373
  id: string;
4315
4374
  status: string | null;
@@ -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,7 +4531,6 @@ export declare const instagramContract: {
4471
4531
  telephonySignature: string | null;
4472
4532
  };
4473
4533
  };
4474
- platformId: string;
4475
4534
  upload: {
4476
4535
  id: string;
4477
4536
  status: string | null;
@@ -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,7 +5331,6 @@ export declare const instagramContract: {
5271
5331
  telephonySignature: string | null;
5272
5332
  };
5273
5333
  };
5274
- platformId: string;
5275
5334
  upload: {
5276
5335
  id: string;
5277
5336
  status: string | null;
@@ -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;
@@ -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,7 +5823,6 @@ export declare const instagramContract: {
5755
5823
  telephonySignature: string | null;
5756
5824
  };
5757
5825
  };
5758
- platformId: string;
5759
5826
  upload: {
5760
5827
  id: string;
5761
5828
  status: string | null;
@@ -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,7 +6032,6 @@ export declare const instagramContract: {
5964
6032
  telephonySignature: string | null;
5965
6033
  };
5966
6034
  };
5967
- platformId: string;
5968
6035
  upload: {
5969
6036
  id: string;
5970
6037
  status: string | null;
@@ -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;
@@ -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,7 +6524,6 @@ export declare const instagramContract: {
6448
6524
  telephonySignature: string | null;
6449
6525
  };
6450
6526
  };
6451
- platformId: string;
6452
6527
  upload: {
6453
6528
  id: string;
6454
6529
  status: string | null;
@@ -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,7 +6735,6 @@ export declare const instagramContract: {
6659
6735
  telephonySignature: string | null;
6660
6736
  };
6661
6737
  };
6662
- platformId: string;
6663
6738
  upload: {
6664
6739
  id: string;
6665
6740
  status: string | null;
@@ -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;
@@ -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,7 +7227,6 @@ export declare const instagramContract: {
7143
7227
  telephonySignature: string | null;
7144
7228
  };
7145
7229
  };
7146
- platformId: string;
7147
7230
  upload: {
7148
7231
  id: string;
7149
7232
  status: string | null;
@@ -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,7 +7439,6 @@ export declare const instagramContract: {
7355
7439
  telephonySignature: string | null;
7356
7440
  };
7357
7441
  };
7358
- platformId: string;
7359
7442
  upload: {
7360
7443
  id: string;
7361
7444
  status: string | null;
@@ -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;
@@ -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,7 +7931,6 @@ export declare const instagramContract: {
7839
7931
  telephonySignature: string | null;
7840
7932
  };
7841
7933
  };
7842
- platformId: string;
7843
7934
  upload: {
7844
7935
  id: string;
7845
7936
  status: string | null;
@@ -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;