@kl1/contracts 1.2.41-uat → 1.2.43-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +1482 -850
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +72 -40
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +86 -48
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +5325 -4547
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1491 -1329
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1268 -995
  27. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  28. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  29. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  30. package/dist/api-contracts/src/company/index.d.ts +4 -4
  31. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  32. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  33. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  34. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  35. package/dist/api-contracts/src/contract.d.ts +14104 -10759
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +311 -274
  38. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-log/schema.d.ts +257 -226
  40. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  41. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  42. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  43. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  44. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  45. package/dist/api-contracts/src/facebook-feed/index.d.ts +1393 -1019
  46. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/facebook-feed/schema.d.ts +110 -85
  48. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -80
  50. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  53. package/dist/api-contracts/src/instagram/index.d.ts +1132 -839
  54. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  56. package/dist/api-contracts/src/line/index.d.ts +1093 -832
  57. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  59. package/dist/api-contracts/src/line/validation.d.ts +108 -77
  60. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  62. package/dist/api-contracts/src/mail/mail-contract.d.ts +2598 -2598
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1474 -1474
  66. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  67. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  68. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  69. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
  71. package/dist/api-contracts/src/messenger/index.d.ts +1135 -842
  72. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  74. package/dist/api-contracts/src/messenger/validation.d.ts +95 -76
  75. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  76. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  77. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  78. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  79. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  80. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  81. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  82. package/dist/api-contracts/src/sms/index.d.ts +187 -131
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  85. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  86. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  87. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  88. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  89. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  90. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  91. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  92. package/dist/api-contracts/src/telegram/index.d.ts +950 -739
  93. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  95. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  96. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  97. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  98. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  99. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  100. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  101. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  102. package/dist/api-contracts/src/user/index.d.ts +23 -23
  103. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  104. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  105. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  106. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  107. package/dist/api-contracts/src/viber/index.d.ts +962 -751
  108. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  110. package/dist/api-contracts/src/webchat/index.d.ts +956 -745
  111. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  113. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  114. package/dist/api-contracts/src/whatsapp/index.d.ts +1186 -774
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  116. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  117. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  118. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  119. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  120. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  121. package/dist/api-contracts/src/workflow-rule/index.d.ts +338 -276
  122. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  123. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  124. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  125. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  126. package/dist/api-contracts/utils.d.ts +1 -1
  127. package/dist/api-contracts/utils.d.ts.map +1 -1
  128. package/dist/entities/src/enums/chat.d.ts +1 -0
  129. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  130. package/dist/index.js +77 -3
  131. package/dist/index.js.map +1 -1
  132. package/dist/index.mjs +77 -3
  133. package/dist/index.mjs.map +1 -1
  134. package/package.json +1 -1
@@ -52,13 +52,13 @@ export declare const chatContract: {
52
52
  picture: z.ZodOptional<z.ZodString>;
53
53
  additionalCredentials: z.ZodAny;
54
54
  }, "strip", z.ZodTypeAny, {
55
- id: string;
56
55
  name: string;
56
+ id: string;
57
57
  picture?: string | undefined;
58
58
  additionalCredentials?: any;
59
59
  }, {
60
- id: string;
61
60
  name: string;
61
+ id: string;
62
62
  picture?: string | undefined;
63
63
  additionalCredentials?: any;
64
64
  }>;
@@ -80,14 +80,14 @@ export declare const chatContract: {
80
80
  deletedAt: z.ZodNullable<z.ZodDate>;
81
81
  name: z.ZodString;
82
82
  }, "strip", z.ZodTypeAny, {
83
- id: string;
84
83
  name: string;
84
+ id: string;
85
85
  createdAt: Date;
86
86
  updatedAt: Date;
87
87
  deletedAt: Date | null;
88
88
  }, {
89
- id: string;
90
89
  name: string;
90
+ id: string;
91
91
  createdAt: Date;
92
92
  updatedAt: Date;
93
93
  deletedAt: Date | null;
@@ -243,8 +243,8 @@ export declare const chatContract: {
243
243
  createdAt: Date;
244
244
  updatedAt: Date;
245
245
  deletedAt: Date | null;
246
- address?: string | null | undefined;
247
246
  name?: string | undefined;
247
+ address?: string | null | undefined;
248
248
  phone?: string | null | undefined;
249
249
  industry?: string | null | undefined;
250
250
  }, {
@@ -252,8 +252,8 @@ export declare const chatContract: {
252
252
  createdAt: Date;
253
253
  updatedAt: Date;
254
254
  deletedAt: Date | null;
255
- address?: string | null | undefined;
256
255
  name?: string | undefined;
256
+ address?: string | null | undefined;
257
257
  phone?: string | null | undefined;
258
258
  industry?: string | null | undefined;
259
259
  }>>;
@@ -271,13 +271,13 @@ export declare const chatContract: {
271
271
  picture: z.ZodOptional<z.ZodString>;
272
272
  additionalCredentials: z.ZodAny;
273
273
  }, "strip", z.ZodTypeAny, {
274
- id: string;
275
274
  name: string;
275
+ id: string;
276
276
  picture?: string | undefined;
277
277
  additionalCredentials?: any;
278
278
  }, {
279
- id: string;
280
279
  name: string;
280
+ id: string;
281
281
  picture?: string | undefined;
282
282
  additionalCredentials?: any;
283
283
  }>;
@@ -285,8 +285,8 @@ export declare const chatContract: {
285
285
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
286
286
  id: string;
287
287
  metadata: {
288
- id: string;
289
288
  name: string;
289
+ id: string;
290
290
  picture?: string | undefined;
291
291
  additionalCredentials?: any;
292
292
  };
@@ -299,8 +299,8 @@ export declare const chatContract: {
299
299
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
300
300
  id: string;
301
301
  metadata: {
302
- id: string;
303
302
  name: string;
303
+ id: string;
304
304
  picture?: string | undefined;
305
305
  additionalCredentials?: any;
306
306
  };
@@ -610,10 +610,10 @@ export declare const chatContract: {
610
610
  };
611
611
  }>, "many">>;
612
612
  }, "strip", z.ZodTypeAny, {
613
+ name: string;
613
614
  id: string;
614
615
  channel: string | null;
615
616
  address: string | null;
616
- name: string;
617
617
  createdAt: Date;
618
618
  updatedAt: Date;
619
619
  deletedAt: Date | null;
@@ -658,8 +658,8 @@ export declare const chatContract: {
658
658
  createdAt: Date;
659
659
  updatedAt: Date;
660
660
  deletedAt: Date | null;
661
- address?: string | null | undefined;
662
661
  name?: string | undefined;
662
+ address?: string | null | undefined;
663
663
  phone?: string | null | undefined;
664
664
  industry?: string | null | undefined;
665
665
  } | null;
@@ -667,8 +667,8 @@ export declare const chatContract: {
667
667
  contactProfile: string | null;
668
668
  socialProfileUrl: string | null;
669
669
  tags: {
670
- id: string;
671
670
  name: string;
671
+ id: string;
672
672
  createdAt: Date;
673
673
  updatedAt: Date;
674
674
  deletedAt: Date | null;
@@ -693,8 +693,8 @@ export declare const chatContract: {
693
693
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
694
694
  id: string;
695
695
  metadata: {
696
- id: string;
697
696
  name: string;
697
+ id: string;
698
698
  picture?: string | undefined;
699
699
  additionalCredentials?: any;
700
700
  };
@@ -721,10 +721,10 @@ export declare const chatContract: {
721
721
  };
722
722
  }[] | undefined;
723
723
  }, {
724
+ name: string;
724
725
  id: string;
725
726
  channel: string | null;
726
727
  address: string | null;
727
- name: string;
728
728
  createdAt: Date;
729
729
  updatedAt: Date;
730
730
  deletedAt: Date | null;
@@ -769,8 +769,8 @@ export declare const chatContract: {
769
769
  createdAt: Date;
770
770
  updatedAt: Date;
771
771
  deletedAt: Date | null;
772
- address?: string | null | undefined;
773
772
  name?: string | undefined;
773
+ address?: string | null | undefined;
774
774
  phone?: string | null | undefined;
775
775
  industry?: string | null | undefined;
776
776
  } | null;
@@ -778,8 +778,8 @@ export declare const chatContract: {
778
778
  contactProfile: string | null;
779
779
  socialProfileUrl: string | null;
780
780
  tags: {
781
- id: string;
782
781
  name: string;
782
+ id: string;
783
783
  createdAt: Date;
784
784
  updatedAt: Date;
785
785
  deletedAt: Date | null;
@@ -804,8 +804,8 @@ export declare const chatContract: {
804
804
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
805
805
  id: string;
806
806
  metadata: {
807
- id: string;
808
807
  name: string;
808
+ id: string;
809
809
  picture?: string | undefined;
810
810
  additionalCredentials?: any;
811
811
  };
@@ -836,8 +836,8 @@ export declare const chatContract: {
836
836
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
837
837
  id: string;
838
838
  metadata: {
839
- id: string;
840
839
  name: string;
840
+ id: string;
841
841
  picture?: string | undefined;
842
842
  additionalCredentials?: any;
843
843
  };
@@ -845,10 +845,10 @@ export declare const chatContract: {
845
845
  updatedAt: Date;
846
846
  deletedAt: Date | null;
847
847
  contact: {
848
+ name: string;
848
849
  id: string;
849
850
  channel: string | null;
850
851
  address: string | null;
851
- name: string;
852
852
  createdAt: Date;
853
853
  updatedAt: Date;
854
854
  deletedAt: Date | null;
@@ -893,8 +893,8 @@ export declare const chatContract: {
893
893
  createdAt: Date;
894
894
  updatedAt: Date;
895
895
  deletedAt: Date | null;
896
- address?: string | null | undefined;
897
896
  name?: string | undefined;
897
+ address?: string | null | undefined;
898
898
  phone?: string | null | undefined;
899
899
  industry?: string | null | undefined;
900
900
  } | null;
@@ -902,8 +902,8 @@ export declare const chatContract: {
902
902
  contactProfile: string | null;
903
903
  socialProfileUrl: string | null;
904
904
  tags: {
905
- id: string;
906
905
  name: string;
906
+ id: string;
907
907
  createdAt: Date;
908
908
  updatedAt: Date;
909
909
  deletedAt: Date | null;
@@ -928,8 +928,8 @@ export declare const chatContract: {
928
928
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
929
929
  id: string;
930
930
  metadata: {
931
- id: string;
932
931
  name: string;
932
+ id: string;
933
933
  picture?: string | undefined;
934
934
  additionalCredentials?: any;
935
935
  };
@@ -962,8 +962,8 @@ export declare const chatContract: {
962
962
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
963
963
  id: string;
964
964
  metadata: {
965
- id: string;
966
965
  name: string;
966
+ id: string;
967
967
  picture?: string | undefined;
968
968
  additionalCredentials?: any;
969
969
  };
@@ -971,10 +971,10 @@ export declare const chatContract: {
971
971
  updatedAt: Date;
972
972
  deletedAt: Date | null;
973
973
  contact: {
974
+ name: string;
974
975
  id: string;
975
976
  channel: string | null;
976
977
  address: string | null;
977
- name: string;
978
978
  createdAt: Date;
979
979
  updatedAt: Date;
980
980
  deletedAt: Date | null;
@@ -1019,8 +1019,8 @@ export declare const chatContract: {
1019
1019
  createdAt: Date;
1020
1020
  updatedAt: Date;
1021
1021
  deletedAt: Date | null;
1022
- address?: string | null | undefined;
1023
1022
  name?: string | undefined;
1023
+ address?: string | null | undefined;
1024
1024
  phone?: string | null | undefined;
1025
1025
  industry?: string | null | undefined;
1026
1026
  } | null;
@@ -1028,8 +1028,8 @@ export declare const chatContract: {
1028
1028
  contactProfile: string | null;
1029
1029
  socialProfileUrl: string | null;
1030
1030
  tags: {
1031
- id: string;
1032
1031
  name: string;
1032
+ id: string;
1033
1033
  createdAt: Date;
1034
1034
  updatedAt: Date;
1035
1035
  deletedAt: Date | null;
@@ -1054,8 +1054,8 @@ export declare const chatContract: {
1054
1054
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1055
1055
  id: string;
1056
1056
  metadata: {
1057
- id: string;
1058
1057
  name: string;
1058
+ id: string;
1059
1059
  picture?: string | undefined;
1060
1060
  additionalCredentials?: any;
1061
1061
  };
@@ -1203,9 +1203,9 @@ export declare const chatContract: {
1203
1203
  telephonySignature: string | null;
1204
1204
  }>;
1205
1205
  }, "strip", z.ZodTypeAny, {
1206
+ name: string;
1206
1207
  id: string;
1207
1208
  address: string | null;
1208
- name: string;
1209
1209
  email: string;
1210
1210
  createdAt: Date;
1211
1211
  updatedAt: Date;
@@ -1246,9 +1246,9 @@ export declare const chatContract: {
1246
1246
  telephonySignature: string | null;
1247
1247
  };
1248
1248
  }, {
1249
+ name: string;
1249
1250
  id: string;
1250
1251
  address: string | null;
1251
- name: string;
1252
1252
  email: string;
1253
1253
  createdAt: Date;
1254
1254
  updatedAt: Date;
@@ -1407,9 +1407,9 @@ export declare const chatContract: {
1407
1407
  telephonySignature: string | null;
1408
1408
  }>;
1409
1409
  }, "strip", z.ZodTypeAny, {
1410
+ name: string;
1410
1411
  id: string;
1411
1412
  address: string | null;
1412
- name: string;
1413
1413
  email: string;
1414
1414
  createdAt: Date;
1415
1415
  updatedAt: Date;
@@ -1450,9 +1450,9 @@ export declare const chatContract: {
1450
1450
  telephonySignature: string | null;
1451
1451
  };
1452
1452
  }, {
1453
+ name: string;
1453
1454
  id: string;
1454
1455
  address: string | null;
1455
- name: string;
1456
1456
  email: string;
1457
1457
  createdAt: Date;
1458
1458
  updatedAt: Date;
@@ -1514,10 +1514,12 @@ export declare const chatContract: {
1514
1514
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1515
1515
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1516
1516
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1517
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1517
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1518
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1519
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1518
1520
  apiKey: z.ZodOptional<z.ZodString>;
1519
1521
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1520
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1522
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1521
1523
  }, "strip", z.ZodTypeAny, {
1522
1524
  wabaBusinessId?: string | null | undefined;
1523
1525
  wabaExternalId?: string | null | undefined;
@@ -1525,10 +1527,12 @@ export declare const chatContract: {
1525
1527
  email?: string | null | undefined;
1526
1528
  clientId?: string | null | undefined;
1527
1529
  channelId?: string | null | undefined;
1528
- status?: "active" | "pending" | undefined;
1530
+ waapiInstanceId?: string | null | undefined;
1531
+ qr?: string | null | undefined;
1532
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1529
1533
  apiKey?: string | undefined;
1530
1534
  tier?: "basic" | "regular" | "premium" | undefined;
1531
- integrationType?: "meta" | "360dialog" | undefined;
1535
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1532
1536
  }, {
1533
1537
  wabaBusinessId?: string | null | undefined;
1534
1538
  wabaExternalId?: string | null | undefined;
@@ -1536,10 +1540,12 @@ export declare const chatContract: {
1536
1540
  email?: string | null | undefined;
1537
1541
  clientId?: string | null | undefined;
1538
1542
  channelId?: string | null | undefined;
1539
- status?: "active" | "pending" | undefined;
1543
+ waapiInstanceId?: string | null | undefined;
1544
+ qr?: string | null | undefined;
1545
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1540
1546
  apiKey?: string | undefined;
1541
1547
  tier?: "basic" | "regular" | "premium" | undefined;
1542
- integrationType?: "meta" | "360dialog" | undefined;
1548
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1543
1549
  }>>;
1544
1550
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1545
1551
  mobileNumber: z.ZodString;
@@ -1556,9 +1562,10 @@ export declare const chatContract: {
1556
1562
  }>>;
1557
1563
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1558
1564
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1565
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1559
1566
  }, "strip", z.ZodTypeAny, {
1560
- id: string;
1561
1567
  name: string;
1568
+ id: string;
1562
1569
  accessToken?: string | undefined;
1563
1570
  channelSecret?: string | undefined;
1564
1571
  additionalCredentials?: any;
@@ -1570,10 +1577,12 @@ export declare const chatContract: {
1570
1577
  email?: string | null | undefined;
1571
1578
  clientId?: string | null | undefined;
1572
1579
  channelId?: string | null | undefined;
1573
- status?: "active" | "pending" | undefined;
1580
+ waapiInstanceId?: string | null | undefined;
1581
+ qr?: string | null | undefined;
1582
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1574
1583
  apiKey?: string | undefined;
1575
1584
  tier?: "basic" | "regular" | "premium" | undefined;
1576
- integrationType?: "meta" | "360dialog" | undefined;
1585
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1577
1586
  } | undefined;
1578
1587
  vonageCredentials?: {
1579
1588
  apiKey: string;
@@ -1582,9 +1591,10 @@ export declare const chatContract: {
1582
1591
  } | undefined;
1583
1592
  lineRichMenuId?: string | null | undefined;
1584
1593
  messengerIntegrationType?: "own" | "business" | undefined;
1594
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1585
1595
  }, {
1586
- id: string;
1587
1596
  name: string;
1597
+ id: string;
1588
1598
  accessToken?: string | undefined;
1589
1599
  channelSecret?: string | undefined;
1590
1600
  additionalCredentials?: any;
@@ -1596,10 +1606,12 @@ export declare const chatContract: {
1596
1606
  email?: string | null | undefined;
1597
1607
  clientId?: string | null | undefined;
1598
1608
  channelId?: string | null | undefined;
1599
- status?: "active" | "pending" | undefined;
1609
+ waapiInstanceId?: string | null | undefined;
1610
+ qr?: string | null | undefined;
1611
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1600
1612
  apiKey?: string | undefined;
1601
1613
  tier?: "basic" | "regular" | "premium" | undefined;
1602
- integrationType?: "meta" | "360dialog" | undefined;
1614
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1603
1615
  } | undefined;
1604
1616
  vonageCredentials?: {
1605
1617
  apiKey: string;
@@ -1608,6 +1620,7 @@ export declare const chatContract: {
1608
1620
  } | undefined;
1609
1621
  lineRichMenuId?: string | null | undefined;
1610
1622
  messengerIntegrationType?: "own" | "business" | undefined;
1623
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1611
1624
  }>;
1612
1625
  brandName: z.ZodString;
1613
1626
  platformId: z.ZodString;
@@ -1622,14 +1635,14 @@ export declare const chatContract: {
1622
1635
  integrationId: z.ZodString;
1623
1636
  accessToken: z.ZodString;
1624
1637
  }, "strip", z.ZodTypeAny, {
1625
- id: string;
1626
1638
  name: string;
1639
+ id: string;
1627
1640
  accessToken: string;
1628
1641
  botId: string;
1629
1642
  integrationId: string;
1630
1643
  }, {
1631
- id: string;
1632
1644
  name: string;
1645
+ id: string;
1633
1646
  accessToken: string;
1634
1647
  botId: string;
1635
1648
  integrationId: string;
@@ -1752,9 +1765,9 @@ export declare const chatContract: {
1752
1765
  telephonySignature: string | null;
1753
1766
  }>;
1754
1767
  }, "strip", z.ZodTypeAny, {
1768
+ name: string;
1755
1769
  id: string;
1756
1770
  address: string | null;
1757
- name: string;
1758
1771
  email: string;
1759
1772
  createdAt: Date;
1760
1773
  updatedAt: Date;
@@ -1795,9 +1808,9 @@ export declare const chatContract: {
1795
1808
  telephonySignature: string | null;
1796
1809
  };
1797
1810
  }, {
1811
+ name: string;
1798
1812
  id: string;
1799
1813
  address: string | null;
1800
- name: string;
1801
1814
  email: string;
1802
1815
  createdAt: Date;
1803
1816
  updatedAt: Date;
@@ -1839,12 +1852,12 @@ export declare const chatContract: {
1839
1852
  };
1840
1853
  }>;
1841
1854
  }, "strip", z.ZodTypeAny, {
1855
+ name: string;
1842
1856
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1843
1857
  id: string;
1844
- name: string;
1845
1858
  metadata: {
1846
- id: string;
1847
1859
  name: string;
1860
+ id: string;
1848
1861
  accessToken?: string | undefined;
1849
1862
  channelSecret?: string | undefined;
1850
1863
  additionalCredentials?: any;
@@ -1856,10 +1869,12 @@ export declare const chatContract: {
1856
1869
  email?: string | null | undefined;
1857
1870
  clientId?: string | null | undefined;
1858
1871
  channelId?: string | null | undefined;
1859
- status?: "active" | "pending" | undefined;
1872
+ waapiInstanceId?: string | null | undefined;
1873
+ qr?: string | null | undefined;
1874
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1860
1875
  apiKey?: string | undefined;
1861
1876
  tier?: "basic" | "regular" | "premium" | undefined;
1862
- integrationType?: "meta" | "360dialog" | undefined;
1877
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1863
1878
  } | undefined;
1864
1879
  vonageCredentials?: {
1865
1880
  apiKey: string;
@@ -1868,15 +1883,16 @@ export declare const chatContract: {
1868
1883
  } | undefined;
1869
1884
  lineRichMenuId?: string | null | undefined;
1870
1885
  messengerIntegrationType?: "own" | "business" | undefined;
1886
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1871
1887
  };
1872
1888
  status: boolean;
1873
1889
  createdAt: Date;
1874
1890
  updatedAt: Date;
1875
1891
  deletedAt: Date | null;
1876
1892
  actor: {
1893
+ name: string;
1877
1894
  id: string;
1878
1895
  address: string | null;
1879
- name: string;
1880
1896
  email: string;
1881
1897
  createdAt: Date;
1882
1898
  updatedAt: Date;
@@ -1923,19 +1939,19 @@ export declare const chatContract: {
1923
1939
  connectedUserName: string;
1924
1940
  connectedUserId: string;
1925
1941
  botpressBot: {
1926
- id: string;
1927
1942
  name: string;
1943
+ id: string;
1928
1944
  accessToken: string;
1929
1945
  botId: string;
1930
1946
  integrationId: string;
1931
1947
  } | null;
1932
1948
  }, {
1949
+ name: string;
1933
1950
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1934
1951
  id: string;
1935
- name: string;
1936
1952
  metadata: {
1937
- id: string;
1938
1953
  name: string;
1954
+ id: string;
1939
1955
  accessToken?: string | undefined;
1940
1956
  channelSecret?: string | undefined;
1941
1957
  additionalCredentials?: any;
@@ -1947,10 +1963,12 @@ export declare const chatContract: {
1947
1963
  email?: string | null | undefined;
1948
1964
  clientId?: string | null | undefined;
1949
1965
  channelId?: string | null | undefined;
1950
- status?: "active" | "pending" | undefined;
1966
+ waapiInstanceId?: string | null | undefined;
1967
+ qr?: string | null | undefined;
1968
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1951
1969
  apiKey?: string | undefined;
1952
1970
  tier?: "basic" | "regular" | "premium" | undefined;
1953
- integrationType?: "meta" | "360dialog" | undefined;
1971
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1954
1972
  } | undefined;
1955
1973
  vonageCredentials?: {
1956
1974
  apiKey: string;
@@ -1959,15 +1977,16 @@ export declare const chatContract: {
1959
1977
  } | undefined;
1960
1978
  lineRichMenuId?: string | null | undefined;
1961
1979
  messengerIntegrationType?: "own" | "business" | undefined;
1980
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1962
1981
  };
1963
1982
  status: boolean;
1964
1983
  createdAt: Date;
1965
1984
  updatedAt: Date;
1966
1985
  deletedAt: Date | null;
1967
1986
  actor: {
1987
+ name: string;
1968
1988
  id: string;
1969
1989
  address: string | null;
1970
- name: string;
1971
1990
  email: string;
1972
1991
  createdAt: Date;
1973
1992
  updatedAt: Date;
@@ -2014,8 +2033,8 @@ export declare const chatContract: {
2014
2033
  connectedUserName: string;
2015
2034
  connectedUserId: string;
2016
2035
  botpressBot: {
2017
- id: string;
2018
2036
  name: string;
2037
+ id: string;
2019
2038
  accessToken: string;
2020
2039
  botId: string;
2021
2040
  integrationId: string;
@@ -2056,14 +2075,14 @@ export declare const chatContract: {
2056
2075
  deletedAt: z.ZodNullable<z.ZodDate>;
2057
2076
  name: z.ZodString;
2058
2077
  }, "strip", z.ZodTypeAny, {
2059
- id: string;
2060
2078
  name: string;
2079
+ id: string;
2061
2080
  createdAt: Date;
2062
2081
  updatedAt: Date;
2063
2082
  deletedAt: Date | null;
2064
2083
  }, {
2065
- id: string;
2066
2084
  name: string;
2085
+ id: string;
2067
2086
  createdAt: Date;
2068
2087
  updatedAt: Date;
2069
2088
  deletedAt: Date | null;
@@ -2234,8 +2253,8 @@ export declare const chatContract: {
2234
2253
  }[];
2235
2254
  }[];
2236
2255
  tags: {
2237
- id: string;
2238
2256
  name: string;
2257
+ id: string;
2239
2258
  createdAt: Date;
2240
2259
  updatedAt: Date;
2241
2260
  deletedAt: Date | null;
@@ -2285,8 +2304,8 @@ export declare const chatContract: {
2285
2304
  }[];
2286
2305
  }[];
2287
2306
  tags: {
2288
- id: string;
2289
2307
  name: string;
2308
+ id: string;
2290
2309
  createdAt: Date;
2291
2310
  updatedAt: Date;
2292
2311
  deletedAt: Date | null;
@@ -2324,16 +2343,16 @@ export declare const chatContract: {
2324
2343
  position: z.ZodNumber;
2325
2344
  isDefault: z.ZodDefault<z.ZodBoolean>;
2326
2345
  }, "strip", z.ZodTypeAny, {
2327
- id: string;
2328
2346
  name: string;
2347
+ id: string;
2329
2348
  position: number;
2330
2349
  createdAt: Date;
2331
2350
  updatedAt: Date;
2332
2351
  deletedAt: Date | null;
2333
2352
  isDefault: boolean;
2334
2353
  }, {
2335
- id: string;
2336
2354
  name: string;
2355
+ id: string;
2337
2356
  position: number;
2338
2357
  createdAt: Date;
2339
2358
  updatedAt: Date;
@@ -2349,8 +2368,8 @@ export declare const chatContract: {
2349
2368
  endedAt: string | null;
2350
2369
  duration: number | null;
2351
2370
  holdLabel?: {
2352
- id: string;
2353
2371
  name: string;
2372
+ id: string;
2354
2373
  position: number;
2355
2374
  createdAt: Date;
2356
2375
  updatedAt: Date;
@@ -2366,8 +2385,8 @@ export declare const chatContract: {
2366
2385
  endedAt: string | null;
2367
2386
  duration: number | null;
2368
2387
  holdLabel?: {
2369
- id: string;
2370
2388
  name: string;
2389
+ id: string;
2371
2390
  position: number;
2372
2391
  createdAt: Date;
2373
2392
  updatedAt: Date;
@@ -2425,8 +2444,8 @@ export declare const chatContract: {
2425
2444
  }[];
2426
2445
  }[];
2427
2446
  tags: {
2428
- id: string;
2429
2447
  name: string;
2448
+ id: string;
2430
2449
  createdAt: Date;
2431
2450
  updatedAt: Date;
2432
2451
  deletedAt: Date | null;
@@ -2456,8 +2475,8 @@ export declare const chatContract: {
2456
2475
  endedAt: string | null;
2457
2476
  duration: number | null;
2458
2477
  holdLabel?: {
2459
- id: string;
2460
2478
  name: string;
2479
+ id: string;
2461
2480
  position: number;
2462
2481
  createdAt: Date;
2463
2482
  updatedAt: Date;
@@ -2515,8 +2534,8 @@ export declare const chatContract: {
2515
2534
  }[];
2516
2535
  }[];
2517
2536
  tags: {
2518
- id: string;
2519
2537
  name: string;
2538
+ id: string;
2520
2539
  createdAt: Date;
2521
2540
  updatedAt: Date;
2522
2541
  deletedAt: Date | null;
@@ -2546,8 +2565,8 @@ export declare const chatContract: {
2546
2565
  endedAt: string | null;
2547
2566
  duration: number | null;
2548
2567
  holdLabel?: {
2549
- id: string;
2550
2568
  name: string;
2569
+ id: string;
2551
2570
  position: number;
2552
2571
  createdAt: Date;
2553
2572
  updatedAt: Date;
@@ -2565,17 +2584,17 @@ export declare const chatContract: {
2565
2584
  isActive: z.ZodBoolean;
2566
2585
  type: z.ZodString;
2567
2586
  }, "strip", z.ZodTypeAny, {
2587
+ name: string;
2568
2588
  type: string;
2569
2589
  id: string;
2570
- name: string;
2571
2590
  createdAt: Date;
2572
2591
  updatedAt: Date;
2573
2592
  deletedAt: Date | null;
2574
2593
  isActive: boolean;
2575
2594
  }, {
2595
+ name: string;
2576
2596
  type: string;
2577
2597
  id: string;
2578
- name: string;
2579
2598
  createdAt: Date;
2580
2599
  updatedAt: Date;
2581
2600
  deletedAt: Date | null;
@@ -2585,12 +2604,12 @@ export declare const chatContract: {
2585
2604
  }, "strip", z.ZodTypeAny, {
2586
2605
  id: string;
2587
2606
  channel: {
2607
+ name: string;
2588
2608
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2589
2609
  id: string;
2590
- name: string;
2591
2610
  metadata: {
2592
- id: string;
2593
2611
  name: string;
2612
+ id: string;
2594
2613
  accessToken?: string | undefined;
2595
2614
  channelSecret?: string | undefined;
2596
2615
  additionalCredentials?: any;
@@ -2602,10 +2621,12 @@ export declare const chatContract: {
2602
2621
  email?: string | null | undefined;
2603
2622
  clientId?: string | null | undefined;
2604
2623
  channelId?: string | null | undefined;
2605
- status?: "active" | "pending" | undefined;
2624
+ waapiInstanceId?: string | null | undefined;
2625
+ qr?: string | null | undefined;
2626
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2606
2627
  apiKey?: string | undefined;
2607
2628
  tier?: "basic" | "regular" | "premium" | undefined;
2608
- integrationType?: "meta" | "360dialog" | undefined;
2629
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2609
2630
  } | undefined;
2610
2631
  vonageCredentials?: {
2611
2632
  apiKey: string;
@@ -2614,15 +2635,16 @@ export declare const chatContract: {
2614
2635
  } | undefined;
2615
2636
  lineRichMenuId?: string | null | undefined;
2616
2637
  messengerIntegrationType?: "own" | "business" | undefined;
2638
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2617
2639
  };
2618
2640
  status: boolean;
2619
2641
  createdAt: Date;
2620
2642
  updatedAt: Date;
2621
2643
  deletedAt: Date | null;
2622
2644
  actor: {
2645
+ name: string;
2623
2646
  id: string;
2624
2647
  address: string | null;
2625
- name: string;
2626
2648
  email: string;
2627
2649
  createdAt: Date;
2628
2650
  updatedAt: Date;
@@ -2669,8 +2691,8 @@ export declare const chatContract: {
2669
2691
  connectedUserName: string;
2670
2692
  connectedUserId: string;
2671
2693
  botpressBot: {
2672
- id: string;
2673
2694
  name: string;
2695
+ id: string;
2674
2696
  accessToken: string;
2675
2697
  botId: string;
2676
2698
  integrationId: string;
@@ -2682,9 +2704,9 @@ export declare const chatContract: {
2682
2704
  updatedAt: Date;
2683
2705
  deletedAt: Date | null;
2684
2706
  actor: {
2707
+ name: string;
2685
2708
  id: string;
2686
2709
  address: string | null;
2687
- name: string;
2688
2710
  email: string;
2689
2711
  createdAt: Date;
2690
2712
  updatedAt: Date;
@@ -2735,8 +2757,8 @@ export declare const chatContract: {
2735
2757
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2736
2758
  id: string;
2737
2759
  metadata: {
2738
- id: string;
2739
2760
  name: string;
2761
+ id: string;
2740
2762
  picture?: string | undefined;
2741
2763
  additionalCredentials?: any;
2742
2764
  };
@@ -2744,10 +2766,10 @@ export declare const chatContract: {
2744
2766
  updatedAt: Date;
2745
2767
  deletedAt: Date | null;
2746
2768
  contact: {
2769
+ name: string;
2747
2770
  id: string;
2748
2771
  channel: string | null;
2749
2772
  address: string | null;
2750
- name: string;
2751
2773
  createdAt: Date;
2752
2774
  updatedAt: Date;
2753
2775
  deletedAt: Date | null;
@@ -2792,8 +2814,8 @@ export declare const chatContract: {
2792
2814
  createdAt: Date;
2793
2815
  updatedAt: Date;
2794
2816
  deletedAt: Date | null;
2795
- address?: string | null | undefined;
2796
2817
  name?: string | undefined;
2818
+ address?: string | null | undefined;
2797
2819
  phone?: string | null | undefined;
2798
2820
  industry?: string | null | undefined;
2799
2821
  } | null;
@@ -2801,8 +2823,8 @@ export declare const chatContract: {
2801
2823
  contactProfile: string | null;
2802
2824
  socialProfileUrl: string | null;
2803
2825
  tags: {
2804
- id: string;
2805
2826
  name: string;
2827
+ id: string;
2806
2828
  createdAt: Date;
2807
2829
  updatedAt: Date;
2808
2830
  deletedAt: Date | null;
@@ -2827,8 +2849,8 @@ export declare const chatContract: {
2827
2849
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2828
2850
  id: string;
2829
2851
  metadata: {
2830
- id: string;
2831
2852
  name: string;
2853
+ id: string;
2832
2854
  picture?: string | undefined;
2833
2855
  additionalCredentials?: any;
2834
2856
  };
@@ -2859,9 +2881,9 @@ export declare const chatContract: {
2859
2881
  socialPlatformId: string;
2860
2882
  };
2861
2883
  assignee: {
2884
+ name: string;
2862
2885
  id: string;
2863
2886
  address: string | null;
2864
- name: string;
2865
2887
  email: string;
2866
2888
  createdAt: Date;
2867
2889
  updatedAt: Date;
@@ -2955,8 +2977,8 @@ export declare const chatContract: {
2955
2977
  }[];
2956
2978
  }[];
2957
2979
  tags: {
2958
- id: string;
2959
2980
  name: string;
2981
+ id: string;
2960
2982
  createdAt: Date;
2961
2983
  updatedAt: Date;
2962
2984
  deletedAt: Date | null;
@@ -2986,8 +3008,8 @@ export declare const chatContract: {
2986
3008
  endedAt: string | null;
2987
3009
  duration: number | null;
2988
3010
  holdLabel?: {
2989
- id: string;
2990
3011
  name: string;
3012
+ id: string;
2991
3013
  position: number;
2992
3014
  createdAt: Date;
2993
3015
  updatedAt: Date;
@@ -2997,9 +3019,9 @@ export declare const chatContract: {
2997
3019
  }[] | null | undefined;
2998
3020
  };
2999
3021
  workflowRule: {
3022
+ name: string;
3000
3023
  type: string;
3001
3024
  id: string;
3002
- name: string;
3003
3025
  createdAt: Date;
3004
3026
  updatedAt: Date;
3005
3027
  deletedAt: Date | null;
@@ -3009,12 +3031,12 @@ export declare const chatContract: {
3009
3031
  }, {
3010
3032
  id: string;
3011
3033
  channel: {
3034
+ name: string;
3012
3035
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3013
3036
  id: string;
3014
- name: string;
3015
3037
  metadata: {
3016
- id: string;
3017
3038
  name: string;
3039
+ id: string;
3018
3040
  accessToken?: string | undefined;
3019
3041
  channelSecret?: string | undefined;
3020
3042
  additionalCredentials?: any;
@@ -3026,10 +3048,12 @@ export declare const chatContract: {
3026
3048
  email?: string | null | undefined;
3027
3049
  clientId?: string | null | undefined;
3028
3050
  channelId?: string | null | undefined;
3029
- status?: "active" | "pending" | undefined;
3051
+ waapiInstanceId?: string | null | undefined;
3052
+ qr?: string | null | undefined;
3053
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3030
3054
  apiKey?: string | undefined;
3031
3055
  tier?: "basic" | "regular" | "premium" | undefined;
3032
- integrationType?: "meta" | "360dialog" | undefined;
3056
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3033
3057
  } | undefined;
3034
3058
  vonageCredentials?: {
3035
3059
  apiKey: string;
@@ -3038,15 +3062,16 @@ export declare const chatContract: {
3038
3062
  } | undefined;
3039
3063
  lineRichMenuId?: string | null | undefined;
3040
3064
  messengerIntegrationType?: "own" | "business" | undefined;
3065
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3041
3066
  };
3042
3067
  status: boolean;
3043
3068
  createdAt: Date;
3044
3069
  updatedAt: Date;
3045
3070
  deletedAt: Date | null;
3046
3071
  actor: {
3072
+ name: string;
3047
3073
  id: string;
3048
3074
  address: string | null;
3049
- name: string;
3050
3075
  email: string;
3051
3076
  createdAt: Date;
3052
3077
  updatedAt: Date;
@@ -3093,8 +3118,8 @@ export declare const chatContract: {
3093
3118
  connectedUserName: string;
3094
3119
  connectedUserId: string;
3095
3120
  botpressBot: {
3096
- id: string;
3097
3121
  name: string;
3122
+ id: string;
3098
3123
  accessToken: string;
3099
3124
  botId: string;
3100
3125
  integrationId: string;
@@ -3106,9 +3131,9 @@ export declare const chatContract: {
3106
3131
  updatedAt: Date;
3107
3132
  deletedAt: Date | null;
3108
3133
  actor: {
3134
+ name: string;
3109
3135
  id: string;
3110
3136
  address: string | null;
3111
- name: string;
3112
3137
  email: string;
3113
3138
  createdAt: Date;
3114
3139
  updatedAt: Date;
@@ -3159,8 +3184,8 @@ export declare const chatContract: {
3159
3184
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3160
3185
  id: string;
3161
3186
  metadata: {
3162
- id: string;
3163
3187
  name: string;
3188
+ id: string;
3164
3189
  picture?: string | undefined;
3165
3190
  additionalCredentials?: any;
3166
3191
  };
@@ -3168,10 +3193,10 @@ export declare const chatContract: {
3168
3193
  updatedAt: Date;
3169
3194
  deletedAt: Date | null;
3170
3195
  contact: {
3196
+ name: string;
3171
3197
  id: string;
3172
3198
  channel: string | null;
3173
3199
  address: string | null;
3174
- name: string;
3175
3200
  createdAt: Date;
3176
3201
  updatedAt: Date;
3177
3202
  deletedAt: Date | null;
@@ -3216,8 +3241,8 @@ export declare const chatContract: {
3216
3241
  createdAt: Date;
3217
3242
  updatedAt: Date;
3218
3243
  deletedAt: Date | null;
3219
- address?: string | null | undefined;
3220
3244
  name?: string | undefined;
3245
+ address?: string | null | undefined;
3221
3246
  phone?: string | null | undefined;
3222
3247
  industry?: string | null | undefined;
3223
3248
  } | null;
@@ -3225,8 +3250,8 @@ export declare const chatContract: {
3225
3250
  contactProfile: string | null;
3226
3251
  socialProfileUrl: string | null;
3227
3252
  tags: {
3228
- id: string;
3229
3253
  name: string;
3254
+ id: string;
3230
3255
  createdAt: Date;
3231
3256
  updatedAt: Date;
3232
3257
  deletedAt: Date | null;
@@ -3251,8 +3276,8 @@ export declare const chatContract: {
3251
3276
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3252
3277
  id: string;
3253
3278
  metadata: {
3254
- id: string;
3255
3279
  name: string;
3280
+ id: string;
3256
3281
  picture?: string | undefined;
3257
3282
  additionalCredentials?: any;
3258
3283
  };
@@ -3283,9 +3308,9 @@ export declare const chatContract: {
3283
3308
  socialPlatformId: string;
3284
3309
  };
3285
3310
  assignee: {
3311
+ name: string;
3286
3312
  id: string;
3287
3313
  address: string | null;
3288
- name: string;
3289
3314
  email: string;
3290
3315
  createdAt: Date;
3291
3316
  updatedAt: Date;
@@ -3379,8 +3404,8 @@ export declare const chatContract: {
3379
3404
  }[];
3380
3405
  }[];
3381
3406
  tags: {
3382
- id: string;
3383
3407
  name: string;
3408
+ id: string;
3384
3409
  createdAt: Date;
3385
3410
  updatedAt: Date;
3386
3411
  deletedAt: Date | null;
@@ -3410,8 +3435,8 @@ export declare const chatContract: {
3410
3435
  endedAt: string | null;
3411
3436
  duration: number | null;
3412
3437
  holdLabel?: {
3413
- id: string;
3414
3438
  name: string;
3439
+ id: string;
3415
3440
  position: number;
3416
3441
  createdAt: Date;
3417
3442
  updatedAt: Date;
@@ -3421,9 +3446,9 @@ export declare const chatContract: {
3421
3446
  }[] | null | undefined;
3422
3447
  };
3423
3448
  workflowRule: {
3449
+ name: string;
3424
3450
  type: string;
3425
3451
  id: string;
3426
- name: string;
3427
3452
  createdAt: Date;
3428
3453
  updatedAt: Date;
3429
3454
  deletedAt: Date | null;
@@ -3435,12 +3460,12 @@ export declare const chatContract: {
3435
3460
  data: {
3436
3461
  id: string;
3437
3462
  channel: {
3463
+ name: string;
3438
3464
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3439
3465
  id: string;
3440
- name: string;
3441
3466
  metadata: {
3442
- id: string;
3443
3467
  name: string;
3468
+ id: string;
3444
3469
  accessToken?: string | undefined;
3445
3470
  channelSecret?: string | undefined;
3446
3471
  additionalCredentials?: any;
@@ -3452,10 +3477,12 @@ export declare const chatContract: {
3452
3477
  email?: string | null | undefined;
3453
3478
  clientId?: string | null | undefined;
3454
3479
  channelId?: string | null | undefined;
3455
- status?: "active" | "pending" | undefined;
3480
+ waapiInstanceId?: string | null | undefined;
3481
+ qr?: string | null | undefined;
3482
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3456
3483
  apiKey?: string | undefined;
3457
3484
  tier?: "basic" | "regular" | "premium" | undefined;
3458
- integrationType?: "meta" | "360dialog" | undefined;
3485
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3459
3486
  } | undefined;
3460
3487
  vonageCredentials?: {
3461
3488
  apiKey: string;
@@ -3464,15 +3491,16 @@ export declare const chatContract: {
3464
3491
  } | undefined;
3465
3492
  lineRichMenuId?: string | null | undefined;
3466
3493
  messengerIntegrationType?: "own" | "business" | undefined;
3494
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3467
3495
  };
3468
3496
  status: boolean;
3469
3497
  createdAt: Date;
3470
3498
  updatedAt: Date;
3471
3499
  deletedAt: Date | null;
3472
3500
  actor: {
3501
+ name: string;
3473
3502
  id: string;
3474
3503
  address: string | null;
3475
- name: string;
3476
3504
  email: string;
3477
3505
  createdAt: Date;
3478
3506
  updatedAt: Date;
@@ -3519,8 +3547,8 @@ export declare const chatContract: {
3519
3547
  connectedUserName: string;
3520
3548
  connectedUserId: string;
3521
3549
  botpressBot: {
3522
- id: string;
3523
3550
  name: string;
3551
+ id: string;
3524
3552
  accessToken: string;
3525
3553
  botId: string;
3526
3554
  integrationId: string;
@@ -3532,9 +3560,9 @@ export declare const chatContract: {
3532
3560
  updatedAt: Date;
3533
3561
  deletedAt: Date | null;
3534
3562
  actor: {
3563
+ name: string;
3535
3564
  id: string;
3536
3565
  address: string | null;
3537
- name: string;
3538
3566
  email: string;
3539
3567
  createdAt: Date;
3540
3568
  updatedAt: Date;
@@ -3585,8 +3613,8 @@ export declare const chatContract: {
3585
3613
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3586
3614
  id: string;
3587
3615
  metadata: {
3588
- id: string;
3589
3616
  name: string;
3617
+ id: string;
3590
3618
  picture?: string | undefined;
3591
3619
  additionalCredentials?: any;
3592
3620
  };
@@ -3594,10 +3622,10 @@ export declare const chatContract: {
3594
3622
  updatedAt: Date;
3595
3623
  deletedAt: Date | null;
3596
3624
  contact: {
3625
+ name: string;
3597
3626
  id: string;
3598
3627
  channel: string | null;
3599
3628
  address: string | null;
3600
- name: string;
3601
3629
  createdAt: Date;
3602
3630
  updatedAt: Date;
3603
3631
  deletedAt: Date | null;
@@ -3642,8 +3670,8 @@ export declare const chatContract: {
3642
3670
  createdAt: Date;
3643
3671
  updatedAt: Date;
3644
3672
  deletedAt: Date | null;
3645
- address?: string | null | undefined;
3646
3673
  name?: string | undefined;
3674
+ address?: string | null | undefined;
3647
3675
  phone?: string | null | undefined;
3648
3676
  industry?: string | null | undefined;
3649
3677
  } | null;
@@ -3651,8 +3679,8 @@ export declare const chatContract: {
3651
3679
  contactProfile: string | null;
3652
3680
  socialProfileUrl: string | null;
3653
3681
  tags: {
3654
- id: string;
3655
3682
  name: string;
3683
+ id: string;
3656
3684
  createdAt: Date;
3657
3685
  updatedAt: Date;
3658
3686
  deletedAt: Date | null;
@@ -3677,8 +3705,8 @@ export declare const chatContract: {
3677
3705
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3678
3706
  id: string;
3679
3707
  metadata: {
3680
- id: string;
3681
3708
  name: string;
3709
+ id: string;
3682
3710
  picture?: string | undefined;
3683
3711
  additionalCredentials?: any;
3684
3712
  };
@@ -3709,9 +3737,9 @@ export declare const chatContract: {
3709
3737
  socialPlatformId: string;
3710
3738
  };
3711
3739
  assignee: {
3740
+ name: string;
3712
3741
  id: string;
3713
3742
  address: string | null;
3714
- name: string;
3715
3743
  email: string;
3716
3744
  createdAt: Date;
3717
3745
  updatedAt: Date;
@@ -3805,8 +3833,8 @@ export declare const chatContract: {
3805
3833
  }[];
3806
3834
  }[];
3807
3835
  tags: {
3808
- id: string;
3809
3836
  name: string;
3837
+ id: string;
3810
3838
  createdAt: Date;
3811
3839
  updatedAt: Date;
3812
3840
  deletedAt: Date | null;
@@ -3836,8 +3864,8 @@ export declare const chatContract: {
3836
3864
  endedAt: string | null;
3837
3865
  duration: number | null;
3838
3866
  holdLabel?: {
3839
- id: string;
3840
3867
  name: string;
3868
+ id: string;
3841
3869
  position: number;
3842
3870
  createdAt: Date;
3843
3871
  updatedAt: Date;
@@ -3847,9 +3875,9 @@ export declare const chatContract: {
3847
3875
  }[] | null | undefined;
3848
3876
  };
3849
3877
  workflowRule: {
3878
+ name: string;
3850
3879
  type: string;
3851
3880
  id: string;
3852
- name: string;
3853
3881
  createdAt: Date;
3854
3882
  updatedAt: Date;
3855
3883
  deletedAt: Date | null;
@@ -3862,12 +3890,12 @@ export declare const chatContract: {
3862
3890
  data: {
3863
3891
  id: string;
3864
3892
  channel: {
3893
+ name: string;
3865
3894
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3866
3895
  id: string;
3867
- name: string;
3868
3896
  metadata: {
3869
- id: string;
3870
3897
  name: string;
3898
+ id: string;
3871
3899
  accessToken?: string | undefined;
3872
3900
  channelSecret?: string | undefined;
3873
3901
  additionalCredentials?: any;
@@ -3879,10 +3907,12 @@ export declare const chatContract: {
3879
3907
  email?: string | null | undefined;
3880
3908
  clientId?: string | null | undefined;
3881
3909
  channelId?: string | null | undefined;
3882
- status?: "active" | "pending" | undefined;
3910
+ waapiInstanceId?: string | null | undefined;
3911
+ qr?: string | null | undefined;
3912
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3883
3913
  apiKey?: string | undefined;
3884
3914
  tier?: "basic" | "regular" | "premium" | undefined;
3885
- integrationType?: "meta" | "360dialog" | undefined;
3915
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3886
3916
  } | undefined;
3887
3917
  vonageCredentials?: {
3888
3918
  apiKey: string;
@@ -3891,15 +3921,16 @@ export declare const chatContract: {
3891
3921
  } | undefined;
3892
3922
  lineRichMenuId?: string | null | undefined;
3893
3923
  messengerIntegrationType?: "own" | "business" | undefined;
3924
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3894
3925
  };
3895
3926
  status: boolean;
3896
3927
  createdAt: Date;
3897
3928
  updatedAt: Date;
3898
3929
  deletedAt: Date | null;
3899
3930
  actor: {
3931
+ name: string;
3900
3932
  id: string;
3901
3933
  address: string | null;
3902
- name: string;
3903
3934
  email: string;
3904
3935
  createdAt: Date;
3905
3936
  updatedAt: Date;
@@ -3946,8 +3977,8 @@ export declare const chatContract: {
3946
3977
  connectedUserName: string;
3947
3978
  connectedUserId: string;
3948
3979
  botpressBot: {
3949
- id: string;
3950
3980
  name: string;
3981
+ id: string;
3951
3982
  accessToken: string;
3952
3983
  botId: string;
3953
3984
  integrationId: string;
@@ -3959,9 +3990,9 @@ export declare const chatContract: {
3959
3990
  updatedAt: Date;
3960
3991
  deletedAt: Date | null;
3961
3992
  actor: {
3993
+ name: string;
3962
3994
  id: string;
3963
3995
  address: string | null;
3964
- name: string;
3965
3996
  email: string;
3966
3997
  createdAt: Date;
3967
3998
  updatedAt: Date;
@@ -4012,8 +4043,8 @@ export declare const chatContract: {
4012
4043
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4013
4044
  id: string;
4014
4045
  metadata: {
4015
- id: string;
4016
4046
  name: string;
4047
+ id: string;
4017
4048
  picture?: string | undefined;
4018
4049
  additionalCredentials?: any;
4019
4050
  };
@@ -4021,10 +4052,10 @@ export declare const chatContract: {
4021
4052
  updatedAt: Date;
4022
4053
  deletedAt: Date | null;
4023
4054
  contact: {
4055
+ name: string;
4024
4056
  id: string;
4025
4057
  channel: string | null;
4026
4058
  address: string | null;
4027
- name: string;
4028
4059
  createdAt: Date;
4029
4060
  updatedAt: Date;
4030
4061
  deletedAt: Date | null;
@@ -4069,8 +4100,8 @@ export declare const chatContract: {
4069
4100
  createdAt: Date;
4070
4101
  updatedAt: Date;
4071
4102
  deletedAt: Date | null;
4072
- address?: string | null | undefined;
4073
4103
  name?: string | undefined;
4104
+ address?: string | null | undefined;
4074
4105
  phone?: string | null | undefined;
4075
4106
  industry?: string | null | undefined;
4076
4107
  } | null;
@@ -4078,8 +4109,8 @@ export declare const chatContract: {
4078
4109
  contactProfile: string | null;
4079
4110
  socialProfileUrl: string | null;
4080
4111
  tags: {
4081
- id: string;
4082
4112
  name: string;
4113
+ id: string;
4083
4114
  createdAt: Date;
4084
4115
  updatedAt: Date;
4085
4116
  deletedAt: Date | null;
@@ -4104,8 +4135,8 @@ export declare const chatContract: {
4104
4135
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4105
4136
  id: string;
4106
4137
  metadata: {
4107
- id: string;
4108
4138
  name: string;
4139
+ id: string;
4109
4140
  picture?: string | undefined;
4110
4141
  additionalCredentials?: any;
4111
4142
  };
@@ -4136,9 +4167,9 @@ export declare const chatContract: {
4136
4167
  socialPlatformId: string;
4137
4168
  };
4138
4169
  assignee: {
4170
+ name: string;
4139
4171
  id: string;
4140
4172
  address: string | null;
4141
- name: string;
4142
4173
  email: string;
4143
4174
  createdAt: Date;
4144
4175
  updatedAt: Date;
@@ -4232,8 +4263,8 @@ export declare const chatContract: {
4232
4263
  }[];
4233
4264
  }[];
4234
4265
  tags: {
4235
- id: string;
4236
4266
  name: string;
4267
+ id: string;
4237
4268
  createdAt: Date;
4238
4269
  updatedAt: Date;
4239
4270
  deletedAt: Date | null;
@@ -4263,8 +4294,8 @@ export declare const chatContract: {
4263
4294
  endedAt: string | null;
4264
4295
  duration: number | null;
4265
4296
  holdLabel?: {
4266
- id: string;
4267
4297
  name: string;
4298
+ id: string;
4268
4299
  position: number;
4269
4300
  createdAt: Date;
4270
4301
  updatedAt: Date;
@@ -4274,9 +4305,9 @@ export declare const chatContract: {
4274
4305
  }[] | null | undefined;
4275
4306
  };
4276
4307
  workflowRule: {
4308
+ name: string;
4277
4309
  type: string;
4278
4310
  id: string;
4279
- name: string;
4280
4311
  createdAt: Date;
4281
4312
  updatedAt: Date;
4282
4313
  deletedAt: Date | null;
@@ -4351,10 +4382,12 @@ export declare const chatContract: {
4351
4382
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4352
4383
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4353
4384
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4354
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4385
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4386
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4387
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
4355
4388
  apiKey: z.ZodOptional<z.ZodString>;
4356
4389
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4357
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
4390
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
4358
4391
  }, "strip", z.ZodTypeAny, {
4359
4392
  wabaBusinessId?: string | null | undefined;
4360
4393
  wabaExternalId?: string | null | undefined;
@@ -4362,10 +4395,12 @@ export declare const chatContract: {
4362
4395
  email?: string | null | undefined;
4363
4396
  clientId?: string | null | undefined;
4364
4397
  channelId?: string | null | undefined;
4365
- status?: "active" | "pending" | undefined;
4398
+ waapiInstanceId?: string | null | undefined;
4399
+ qr?: string | null | undefined;
4400
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4366
4401
  apiKey?: string | undefined;
4367
4402
  tier?: "basic" | "regular" | "premium" | undefined;
4368
- integrationType?: "meta" | "360dialog" | undefined;
4403
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4369
4404
  }, {
4370
4405
  wabaBusinessId?: string | null | undefined;
4371
4406
  wabaExternalId?: string | null | undefined;
@@ -4373,10 +4408,12 @@ export declare const chatContract: {
4373
4408
  email?: string | null | undefined;
4374
4409
  clientId?: string | null | undefined;
4375
4410
  channelId?: string | null | undefined;
4376
- status?: "active" | "pending" | undefined;
4411
+ waapiInstanceId?: string | null | undefined;
4412
+ qr?: string | null | undefined;
4413
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4377
4414
  apiKey?: string | undefined;
4378
4415
  tier?: "basic" | "regular" | "premium" | undefined;
4379
- integrationType?: "meta" | "360dialog" | undefined;
4416
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4380
4417
  }>>;
4381
4418
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4382
4419
  mobileNumber: z.ZodString;
@@ -4393,9 +4430,10 @@ export declare const chatContract: {
4393
4430
  }>>;
4394
4431
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4395
4432
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4433
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4396
4434
  }, "strip", z.ZodTypeAny, {
4397
- id: string;
4398
4435
  name: string;
4436
+ id: string;
4399
4437
  accessToken?: string | undefined;
4400
4438
  channelSecret?: string | undefined;
4401
4439
  additionalCredentials?: any;
@@ -4407,10 +4445,12 @@ export declare const chatContract: {
4407
4445
  email?: string | null | undefined;
4408
4446
  clientId?: string | null | undefined;
4409
4447
  channelId?: string | null | undefined;
4410
- status?: "active" | "pending" | undefined;
4448
+ waapiInstanceId?: string | null | undefined;
4449
+ qr?: string | null | undefined;
4450
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4411
4451
  apiKey?: string | undefined;
4412
4452
  tier?: "basic" | "regular" | "premium" | undefined;
4413
- integrationType?: "meta" | "360dialog" | undefined;
4453
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4414
4454
  } | undefined;
4415
4455
  vonageCredentials?: {
4416
4456
  apiKey: string;
@@ -4419,9 +4459,10 @@ export declare const chatContract: {
4419
4459
  } | undefined;
4420
4460
  lineRichMenuId?: string | null | undefined;
4421
4461
  messengerIntegrationType?: "own" | "business" | undefined;
4462
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4422
4463
  }, {
4423
- id: string;
4424
4464
  name: string;
4465
+ id: string;
4425
4466
  accessToken?: string | undefined;
4426
4467
  channelSecret?: string | undefined;
4427
4468
  additionalCredentials?: any;
@@ -4433,10 +4474,12 @@ export declare const chatContract: {
4433
4474
  email?: string | null | undefined;
4434
4475
  clientId?: string | null | undefined;
4435
4476
  channelId?: string | null | undefined;
4436
- status?: "active" | "pending" | undefined;
4477
+ waapiInstanceId?: string | null | undefined;
4478
+ qr?: string | null | undefined;
4479
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4437
4480
  apiKey?: string | undefined;
4438
4481
  tier?: "basic" | "regular" | "premium" | undefined;
4439
- integrationType?: "meta" | "360dialog" | undefined;
4482
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4440
4483
  } | undefined;
4441
4484
  vonageCredentials?: {
4442
4485
  apiKey: string;
@@ -4445,6 +4488,7 @@ export declare const chatContract: {
4445
4488
  } | undefined;
4446
4489
  lineRichMenuId?: string | null | undefined;
4447
4490
  messengerIntegrationType?: "own" | "business" | undefined;
4491
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4448
4492
  }>;
4449
4493
  brandName: z.ZodString;
4450
4494
  platformId: z.ZodString;
@@ -4459,14 +4503,14 @@ export declare const chatContract: {
4459
4503
  integrationId: z.ZodString;
4460
4504
  accessToken: z.ZodString;
4461
4505
  }, "strip", z.ZodTypeAny, {
4462
- id: string;
4463
4506
  name: string;
4507
+ id: string;
4464
4508
  accessToken: string;
4465
4509
  botId: string;
4466
4510
  integrationId: string;
4467
4511
  }, {
4468
- id: string;
4469
4512
  name: string;
4513
+ id: string;
4470
4514
  accessToken: string;
4471
4515
  botId: string;
4472
4516
  integrationId: string;
@@ -4589,9 +4633,9 @@ export declare const chatContract: {
4589
4633
  telephonySignature: string | null;
4590
4634
  }>;
4591
4635
  }, "strip", z.ZodTypeAny, {
4636
+ name: string;
4592
4637
  id: string;
4593
4638
  address: string | null;
4594
- name: string;
4595
4639
  email: string;
4596
4640
  createdAt: Date;
4597
4641
  updatedAt: Date;
@@ -4632,9 +4676,9 @@ export declare const chatContract: {
4632
4676
  telephonySignature: string | null;
4633
4677
  };
4634
4678
  }, {
4679
+ name: string;
4635
4680
  id: string;
4636
4681
  address: string | null;
4637
- name: string;
4638
4682
  email: string;
4639
4683
  createdAt: Date;
4640
4684
  updatedAt: Date;
@@ -4676,12 +4720,12 @@ export declare const chatContract: {
4676
4720
  };
4677
4721
  }>;
4678
4722
  }, "strip", z.ZodTypeAny, {
4723
+ name: string;
4679
4724
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4680
4725
  id: string;
4681
- name: string;
4682
4726
  metadata: {
4683
- id: string;
4684
4727
  name: string;
4728
+ id: string;
4685
4729
  accessToken?: string | undefined;
4686
4730
  channelSecret?: string | undefined;
4687
4731
  additionalCredentials?: any;
@@ -4693,10 +4737,12 @@ export declare const chatContract: {
4693
4737
  email?: string | null | undefined;
4694
4738
  clientId?: string | null | undefined;
4695
4739
  channelId?: string | null | undefined;
4696
- status?: "active" | "pending" | undefined;
4740
+ waapiInstanceId?: string | null | undefined;
4741
+ qr?: string | null | undefined;
4742
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4697
4743
  apiKey?: string | undefined;
4698
4744
  tier?: "basic" | "regular" | "premium" | undefined;
4699
- integrationType?: "meta" | "360dialog" | undefined;
4745
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4700
4746
  } | undefined;
4701
4747
  vonageCredentials?: {
4702
4748
  apiKey: string;
@@ -4705,15 +4751,16 @@ export declare const chatContract: {
4705
4751
  } | undefined;
4706
4752
  lineRichMenuId?: string | null | undefined;
4707
4753
  messengerIntegrationType?: "own" | "business" | undefined;
4754
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4708
4755
  };
4709
4756
  status: boolean;
4710
4757
  createdAt: Date;
4711
4758
  updatedAt: Date;
4712
4759
  deletedAt: Date | null;
4713
4760
  actor: {
4761
+ name: string;
4714
4762
  id: string;
4715
4763
  address: string | null;
4716
- name: string;
4717
4764
  email: string;
4718
4765
  createdAt: Date;
4719
4766
  updatedAt: Date;
@@ -4760,19 +4807,19 @@ export declare const chatContract: {
4760
4807
  connectedUserName: string;
4761
4808
  connectedUserId: string;
4762
4809
  botpressBot: {
4763
- id: string;
4764
4810
  name: string;
4811
+ id: string;
4765
4812
  accessToken: string;
4766
4813
  botId: string;
4767
4814
  integrationId: string;
4768
4815
  } | null;
4769
4816
  }, {
4817
+ name: string;
4770
4818
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4771
4819
  id: string;
4772
- name: string;
4773
4820
  metadata: {
4774
- id: string;
4775
4821
  name: string;
4822
+ id: string;
4776
4823
  accessToken?: string | undefined;
4777
4824
  channelSecret?: string | undefined;
4778
4825
  additionalCredentials?: any;
@@ -4784,10 +4831,12 @@ export declare const chatContract: {
4784
4831
  email?: string | null | undefined;
4785
4832
  clientId?: string | null | undefined;
4786
4833
  channelId?: string | null | undefined;
4787
- status?: "active" | "pending" | undefined;
4834
+ waapiInstanceId?: string | null | undefined;
4835
+ qr?: string | null | undefined;
4836
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4788
4837
  apiKey?: string | undefined;
4789
4838
  tier?: "basic" | "regular" | "premium" | undefined;
4790
- integrationType?: "meta" | "360dialog" | undefined;
4839
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4791
4840
  } | undefined;
4792
4841
  vonageCredentials?: {
4793
4842
  apiKey: string;
@@ -4796,15 +4845,16 @@ export declare const chatContract: {
4796
4845
  } | undefined;
4797
4846
  lineRichMenuId?: string | null | undefined;
4798
4847
  messengerIntegrationType?: "own" | "business" | undefined;
4848
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4799
4849
  };
4800
4850
  status: boolean;
4801
4851
  createdAt: Date;
4802
4852
  updatedAt: Date;
4803
4853
  deletedAt: Date | null;
4804
4854
  actor: {
4855
+ name: string;
4805
4856
  id: string;
4806
4857
  address: string | null;
4807
- name: string;
4808
4858
  email: string;
4809
4859
  createdAt: Date;
4810
4860
  updatedAt: Date;
@@ -4851,8 +4901,8 @@ export declare const chatContract: {
4851
4901
  connectedUserName: string;
4852
4902
  connectedUserId: string;
4853
4903
  botpressBot: {
4854
- id: string;
4855
4904
  name: string;
4905
+ id: string;
4856
4906
  accessToken: string;
4857
4907
  botId: string;
4858
4908
  integrationId: string;
@@ -4981,9 +5031,9 @@ export declare const chatContract: {
4981
5031
  telephonySignature: string | null;
4982
5032
  }>;
4983
5033
  }, "strip", z.ZodTypeAny, {
5034
+ name: string;
4984
5035
  id: string;
4985
5036
  address: string | null;
4986
- name: string;
4987
5037
  email: string;
4988
5038
  createdAt: Date;
4989
5039
  updatedAt: Date;
@@ -5024,9 +5074,9 @@ export declare const chatContract: {
5024
5074
  telephonySignature: string | null;
5025
5075
  };
5026
5076
  }, {
5077
+ name: string;
5027
5078
  id: string;
5028
5079
  address: string | null;
5029
- name: string;
5030
5080
  email: string;
5031
5081
  createdAt: Date;
5032
5082
  updatedAt: Date;
@@ -5087,13 +5137,13 @@ export declare const chatContract: {
5087
5137
  picture: z.ZodOptional<z.ZodString>;
5088
5138
  additionalCredentials: z.ZodAny;
5089
5139
  }, "strip", z.ZodTypeAny, {
5090
- id: string;
5091
5140
  name: string;
5141
+ id: string;
5092
5142
  picture?: string | undefined;
5093
5143
  additionalCredentials?: any;
5094
5144
  }, {
5095
- id: string;
5096
5145
  name: string;
5146
+ id: string;
5097
5147
  picture?: string | undefined;
5098
5148
  additionalCredentials?: any;
5099
5149
  }>;
@@ -5115,14 +5165,14 @@ export declare const chatContract: {
5115
5165
  deletedAt: z.ZodNullable<z.ZodDate>;
5116
5166
  name: z.ZodString;
5117
5167
  }, "strip", z.ZodTypeAny, {
5118
- id: string;
5119
5168
  name: string;
5169
+ id: string;
5120
5170
  createdAt: Date;
5121
5171
  updatedAt: Date;
5122
5172
  deletedAt: Date | null;
5123
5173
  }, {
5124
- id: string;
5125
5174
  name: string;
5175
+ id: string;
5126
5176
  createdAt: Date;
5127
5177
  updatedAt: Date;
5128
5178
  deletedAt: Date | null;
@@ -5278,8 +5328,8 @@ export declare const chatContract: {
5278
5328
  createdAt: Date;
5279
5329
  updatedAt: Date;
5280
5330
  deletedAt: Date | null;
5281
- address?: string | null | undefined;
5282
5331
  name?: string | undefined;
5332
+ address?: string | null | undefined;
5283
5333
  phone?: string | null | undefined;
5284
5334
  industry?: string | null | undefined;
5285
5335
  }, {
@@ -5287,8 +5337,8 @@ export declare const chatContract: {
5287
5337
  createdAt: Date;
5288
5338
  updatedAt: Date;
5289
5339
  deletedAt: Date | null;
5290
- address?: string | null | undefined;
5291
5340
  name?: string | undefined;
5341
+ address?: string | null | undefined;
5292
5342
  phone?: string | null | undefined;
5293
5343
  industry?: string | null | undefined;
5294
5344
  }>>;
@@ -5306,13 +5356,13 @@ export declare const chatContract: {
5306
5356
  picture: z.ZodOptional<z.ZodString>;
5307
5357
  additionalCredentials: z.ZodAny;
5308
5358
  }, "strip", z.ZodTypeAny, {
5309
- id: string;
5310
5359
  name: string;
5360
+ id: string;
5311
5361
  picture?: string | undefined;
5312
5362
  additionalCredentials?: any;
5313
5363
  }, {
5314
- id: string;
5315
5364
  name: string;
5365
+ id: string;
5316
5366
  picture?: string | undefined;
5317
5367
  additionalCredentials?: any;
5318
5368
  }>;
@@ -5320,8 +5370,8 @@ export declare const chatContract: {
5320
5370
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5321
5371
  id: string;
5322
5372
  metadata: {
5323
- id: string;
5324
5373
  name: string;
5374
+ id: string;
5325
5375
  picture?: string | undefined;
5326
5376
  additionalCredentials?: any;
5327
5377
  };
@@ -5334,8 +5384,8 @@ export declare const chatContract: {
5334
5384
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5335
5385
  id: string;
5336
5386
  metadata: {
5337
- id: string;
5338
5387
  name: string;
5388
+ id: string;
5339
5389
  picture?: string | undefined;
5340
5390
  additionalCredentials?: any;
5341
5391
  };
@@ -5645,10 +5695,10 @@ export declare const chatContract: {
5645
5695
  };
5646
5696
  }>, "many">>;
5647
5697
  }, "strip", z.ZodTypeAny, {
5698
+ name: string;
5648
5699
  id: string;
5649
5700
  channel: string | null;
5650
5701
  address: string | null;
5651
- name: string;
5652
5702
  createdAt: Date;
5653
5703
  updatedAt: Date;
5654
5704
  deletedAt: Date | null;
@@ -5693,8 +5743,8 @@ export declare const chatContract: {
5693
5743
  createdAt: Date;
5694
5744
  updatedAt: Date;
5695
5745
  deletedAt: Date | null;
5696
- address?: string | null | undefined;
5697
5746
  name?: string | undefined;
5747
+ address?: string | null | undefined;
5698
5748
  phone?: string | null | undefined;
5699
5749
  industry?: string | null | undefined;
5700
5750
  } | null;
@@ -5702,8 +5752,8 @@ export declare const chatContract: {
5702
5752
  contactProfile: string | null;
5703
5753
  socialProfileUrl: string | null;
5704
5754
  tags: {
5705
- id: string;
5706
5755
  name: string;
5756
+ id: string;
5707
5757
  createdAt: Date;
5708
5758
  updatedAt: Date;
5709
5759
  deletedAt: Date | null;
@@ -5728,8 +5778,8 @@ export declare const chatContract: {
5728
5778
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5729
5779
  id: string;
5730
5780
  metadata: {
5731
- id: string;
5732
5781
  name: string;
5782
+ id: string;
5733
5783
  picture?: string | undefined;
5734
5784
  additionalCredentials?: any;
5735
5785
  };
@@ -5756,10 +5806,10 @@ export declare const chatContract: {
5756
5806
  };
5757
5807
  }[] | undefined;
5758
5808
  }, {
5809
+ name: string;
5759
5810
  id: string;
5760
5811
  channel: string | null;
5761
5812
  address: string | null;
5762
- name: string;
5763
5813
  createdAt: Date;
5764
5814
  updatedAt: Date;
5765
5815
  deletedAt: Date | null;
@@ -5804,8 +5854,8 @@ export declare const chatContract: {
5804
5854
  createdAt: Date;
5805
5855
  updatedAt: Date;
5806
5856
  deletedAt: Date | null;
5807
- address?: string | null | undefined;
5808
5857
  name?: string | undefined;
5858
+ address?: string | null | undefined;
5809
5859
  phone?: string | null | undefined;
5810
5860
  industry?: string | null | undefined;
5811
5861
  } | null;
@@ -5813,8 +5863,8 @@ export declare const chatContract: {
5813
5863
  contactProfile: string | null;
5814
5864
  socialProfileUrl: string | null;
5815
5865
  tags: {
5816
- id: string;
5817
5866
  name: string;
5867
+ id: string;
5818
5868
  createdAt: Date;
5819
5869
  updatedAt: Date;
5820
5870
  deletedAt: Date | null;
@@ -5839,8 +5889,8 @@ export declare const chatContract: {
5839
5889
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5840
5890
  id: string;
5841
5891
  metadata: {
5842
- id: string;
5843
5892
  name: string;
5893
+ id: string;
5844
5894
  picture?: string | undefined;
5845
5895
  additionalCredentials?: any;
5846
5896
  };
@@ -5871,8 +5921,8 @@ export declare const chatContract: {
5871
5921
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5872
5922
  id: string;
5873
5923
  metadata: {
5874
- id: string;
5875
5924
  name: string;
5925
+ id: string;
5876
5926
  picture?: string | undefined;
5877
5927
  additionalCredentials?: any;
5878
5928
  };
@@ -5880,10 +5930,10 @@ export declare const chatContract: {
5880
5930
  updatedAt: Date;
5881
5931
  deletedAt: Date | null;
5882
5932
  contact: {
5933
+ name: string;
5883
5934
  id: string;
5884
5935
  channel: string | null;
5885
5936
  address: string | null;
5886
- name: string;
5887
5937
  createdAt: Date;
5888
5938
  updatedAt: Date;
5889
5939
  deletedAt: Date | null;
@@ -5928,8 +5978,8 @@ export declare const chatContract: {
5928
5978
  createdAt: Date;
5929
5979
  updatedAt: Date;
5930
5980
  deletedAt: Date | null;
5931
- address?: string | null | undefined;
5932
5981
  name?: string | undefined;
5982
+ address?: string | null | undefined;
5933
5983
  phone?: string | null | undefined;
5934
5984
  industry?: string | null | undefined;
5935
5985
  } | null;
@@ -5937,8 +5987,8 @@ export declare const chatContract: {
5937
5987
  contactProfile: string | null;
5938
5988
  socialProfileUrl: string | null;
5939
5989
  tags: {
5940
- id: string;
5941
5990
  name: string;
5991
+ id: string;
5942
5992
  createdAt: Date;
5943
5993
  updatedAt: Date;
5944
5994
  deletedAt: Date | null;
@@ -5963,8 +6013,8 @@ export declare const chatContract: {
5963
6013
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5964
6014
  id: string;
5965
6015
  metadata: {
5966
- id: string;
5967
6016
  name: string;
6017
+ id: string;
5968
6018
  picture?: string | undefined;
5969
6019
  additionalCredentials?: any;
5970
6020
  };
@@ -5997,8 +6047,8 @@ export declare const chatContract: {
5997
6047
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5998
6048
  id: string;
5999
6049
  metadata: {
6000
- id: string;
6001
6050
  name: string;
6051
+ id: string;
6002
6052
  picture?: string | undefined;
6003
6053
  additionalCredentials?: any;
6004
6054
  };
@@ -6006,10 +6056,10 @@ export declare const chatContract: {
6006
6056
  updatedAt: Date;
6007
6057
  deletedAt: Date | null;
6008
6058
  contact: {
6059
+ name: string;
6009
6060
  id: string;
6010
6061
  channel: string | null;
6011
6062
  address: string | null;
6012
- name: string;
6013
6063
  createdAt: Date;
6014
6064
  updatedAt: Date;
6015
6065
  deletedAt: Date | null;
@@ -6054,8 +6104,8 @@ export declare const chatContract: {
6054
6104
  createdAt: Date;
6055
6105
  updatedAt: Date;
6056
6106
  deletedAt: Date | null;
6057
- address?: string | null | undefined;
6058
6107
  name?: string | undefined;
6108
+ address?: string | null | undefined;
6059
6109
  phone?: string | null | undefined;
6060
6110
  industry?: string | null | undefined;
6061
6111
  } | null;
@@ -6063,8 +6113,8 @@ export declare const chatContract: {
6063
6113
  contactProfile: string | null;
6064
6114
  socialProfileUrl: string | null;
6065
6115
  tags: {
6066
- id: string;
6067
6116
  name: string;
6117
+ id: string;
6068
6118
  createdAt: Date;
6069
6119
  updatedAt: Date;
6070
6120
  deletedAt: Date | null;
@@ -6089,8 +6139,8 @@ export declare const chatContract: {
6089
6139
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6090
6140
  id: string;
6091
6141
  metadata: {
6092
- id: string;
6093
6142
  name: string;
6143
+ id: string;
6094
6144
  picture?: string | undefined;
6095
6145
  additionalCredentials?: any;
6096
6146
  };
@@ -6238,9 +6288,9 @@ export declare const chatContract: {
6238
6288
  telephonySignature: string | null;
6239
6289
  }>;
6240
6290
  }, "strip", z.ZodTypeAny, {
6291
+ name: string;
6241
6292
  id: string;
6242
6293
  address: string | null;
6243
- name: string;
6244
6294
  email: string;
6245
6295
  createdAt: Date;
6246
6296
  updatedAt: Date;
@@ -6281,9 +6331,9 @@ export declare const chatContract: {
6281
6331
  telephonySignature: string | null;
6282
6332
  };
6283
6333
  }, {
6334
+ name: string;
6284
6335
  id: string;
6285
6336
  address: string | null;
6286
- name: string;
6287
6337
  email: string;
6288
6338
  createdAt: Date;
6289
6339
  updatedAt: Date;
@@ -6362,14 +6412,14 @@ export declare const chatContract: {
6362
6412
  deletedAt: z.ZodNullable<z.ZodDate>;
6363
6413
  name: z.ZodString;
6364
6414
  }, "strip", z.ZodTypeAny, {
6365
- id: string;
6366
6415
  name: string;
6416
+ id: string;
6367
6417
  createdAt: Date;
6368
6418
  updatedAt: Date;
6369
6419
  deletedAt: Date | null;
6370
6420
  }, {
6371
- id: string;
6372
6421
  name: string;
6422
+ id: string;
6373
6423
  createdAt: Date;
6374
6424
  updatedAt: Date;
6375
6425
  deletedAt: Date | null;
@@ -6540,8 +6590,8 @@ export declare const chatContract: {
6540
6590
  }[];
6541
6591
  }[];
6542
6592
  tags: {
6543
- id: string;
6544
6593
  name: string;
6594
+ id: string;
6545
6595
  createdAt: Date;
6546
6596
  updatedAt: Date;
6547
6597
  deletedAt: Date | null;
@@ -6591,8 +6641,8 @@ export declare const chatContract: {
6591
6641
  }[];
6592
6642
  }[];
6593
6643
  tags: {
6594
- id: string;
6595
6644
  name: string;
6645
+ id: string;
6596
6646
  createdAt: Date;
6597
6647
  updatedAt: Date;
6598
6648
  deletedAt: Date | null;
@@ -6630,16 +6680,16 @@ export declare const chatContract: {
6630
6680
  position: z.ZodNumber;
6631
6681
  isDefault: z.ZodDefault<z.ZodBoolean>;
6632
6682
  }, "strip", z.ZodTypeAny, {
6633
- id: string;
6634
6683
  name: string;
6684
+ id: string;
6635
6685
  position: number;
6636
6686
  createdAt: Date;
6637
6687
  updatedAt: Date;
6638
6688
  deletedAt: Date | null;
6639
6689
  isDefault: boolean;
6640
6690
  }, {
6641
- id: string;
6642
6691
  name: string;
6692
+ id: string;
6643
6693
  position: number;
6644
6694
  createdAt: Date;
6645
6695
  updatedAt: Date;
@@ -6655,8 +6705,8 @@ export declare const chatContract: {
6655
6705
  endedAt: string | null;
6656
6706
  duration: number | null;
6657
6707
  holdLabel?: {
6658
- id: string;
6659
6708
  name: string;
6709
+ id: string;
6660
6710
  position: number;
6661
6711
  createdAt: Date;
6662
6712
  updatedAt: Date;
@@ -6672,8 +6722,8 @@ export declare const chatContract: {
6672
6722
  endedAt: string | null;
6673
6723
  duration: number | null;
6674
6724
  holdLabel?: {
6675
- id: string;
6676
6725
  name: string;
6726
+ id: string;
6677
6727
  position: number;
6678
6728
  createdAt: Date;
6679
6729
  updatedAt: Date;
@@ -6731,8 +6781,8 @@ export declare const chatContract: {
6731
6781
  }[];
6732
6782
  }[];
6733
6783
  tags: {
6734
- id: string;
6735
6784
  name: string;
6785
+ id: string;
6736
6786
  createdAt: Date;
6737
6787
  updatedAt: Date;
6738
6788
  deletedAt: Date | null;
@@ -6762,8 +6812,8 @@ export declare const chatContract: {
6762
6812
  endedAt: string | null;
6763
6813
  duration: number | null;
6764
6814
  holdLabel?: {
6765
- id: string;
6766
6815
  name: string;
6816
+ id: string;
6767
6817
  position: number;
6768
6818
  createdAt: Date;
6769
6819
  updatedAt: Date;
@@ -6821,8 +6871,8 @@ export declare const chatContract: {
6821
6871
  }[];
6822
6872
  }[];
6823
6873
  tags: {
6824
- id: string;
6825
6874
  name: string;
6875
+ id: string;
6826
6876
  createdAt: Date;
6827
6877
  updatedAt: Date;
6828
6878
  deletedAt: Date | null;
@@ -6852,8 +6902,8 @@ export declare const chatContract: {
6852
6902
  endedAt: string | null;
6853
6903
  duration: number | null;
6854
6904
  holdLabel?: {
6855
- id: string;
6856
6905
  name: string;
6906
+ id: string;
6857
6907
  position: number;
6858
6908
  createdAt: Date;
6859
6909
  updatedAt: Date;
@@ -6871,17 +6921,17 @@ export declare const chatContract: {
6871
6921
  isActive: z.ZodBoolean;
6872
6922
  type: z.ZodString;
6873
6923
  }, "strip", z.ZodTypeAny, {
6924
+ name: string;
6874
6925
  type: string;
6875
6926
  id: string;
6876
- name: string;
6877
6927
  createdAt: Date;
6878
6928
  updatedAt: Date;
6879
6929
  deletedAt: Date | null;
6880
6930
  isActive: boolean;
6881
6931
  }, {
6932
+ name: string;
6882
6933
  type: string;
6883
6934
  id: string;
6884
- name: string;
6885
6935
  createdAt: Date;
6886
6936
  updatedAt: Date;
6887
6937
  deletedAt: Date | null;
@@ -6892,12 +6942,12 @@ export declare const chatContract: {
6892
6942
  }, "strip", z.ZodTypeAny, {
6893
6943
  id: string;
6894
6944
  channel: {
6945
+ name: string;
6895
6946
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6896
6947
  id: string;
6897
- name: string;
6898
6948
  metadata: {
6899
- id: string;
6900
6949
  name: string;
6950
+ id: string;
6901
6951
  accessToken?: string | undefined;
6902
6952
  channelSecret?: string | undefined;
6903
6953
  additionalCredentials?: any;
@@ -6909,10 +6959,12 @@ export declare const chatContract: {
6909
6959
  email?: string | null | undefined;
6910
6960
  clientId?: string | null | undefined;
6911
6961
  channelId?: string | null | undefined;
6912
- status?: "active" | "pending" | undefined;
6962
+ waapiInstanceId?: string | null | undefined;
6963
+ qr?: string | null | undefined;
6964
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6913
6965
  apiKey?: string | undefined;
6914
6966
  tier?: "basic" | "regular" | "premium" | undefined;
6915
- integrationType?: "meta" | "360dialog" | undefined;
6967
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6916
6968
  } | undefined;
6917
6969
  vonageCredentials?: {
6918
6970
  apiKey: string;
@@ -6921,15 +6973,16 @@ export declare const chatContract: {
6921
6973
  } | undefined;
6922
6974
  lineRichMenuId?: string | null | undefined;
6923
6975
  messengerIntegrationType?: "own" | "business" | undefined;
6976
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6924
6977
  };
6925
6978
  status: boolean;
6926
6979
  createdAt: Date;
6927
6980
  updatedAt: Date;
6928
6981
  deletedAt: Date | null;
6929
6982
  actor: {
6983
+ name: string;
6930
6984
  id: string;
6931
6985
  address: string | null;
6932
- name: string;
6933
6986
  email: string;
6934
6987
  createdAt: Date;
6935
6988
  updatedAt: Date;
@@ -6976,8 +7029,8 @@ export declare const chatContract: {
6976
7029
  connectedUserName: string;
6977
7030
  connectedUserId: string;
6978
7031
  botpressBot: {
6979
- id: string;
6980
7032
  name: string;
7033
+ id: string;
6981
7034
  accessToken: string;
6982
7035
  botId: string;
6983
7036
  integrationId: string;
@@ -6989,9 +7042,9 @@ export declare const chatContract: {
6989
7042
  updatedAt: Date;
6990
7043
  deletedAt: Date | null;
6991
7044
  actor: {
7045
+ name: string;
6992
7046
  id: string;
6993
7047
  address: string | null;
6994
- name: string;
6995
7048
  email: string;
6996
7049
  createdAt: Date;
6997
7050
  updatedAt: Date;
@@ -7042,8 +7095,8 @@ export declare const chatContract: {
7042
7095
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7043
7096
  id: string;
7044
7097
  metadata: {
7045
- id: string;
7046
7098
  name: string;
7099
+ id: string;
7047
7100
  picture?: string | undefined;
7048
7101
  additionalCredentials?: any;
7049
7102
  };
@@ -7051,10 +7104,10 @@ export declare const chatContract: {
7051
7104
  updatedAt: Date;
7052
7105
  deletedAt: Date | null;
7053
7106
  contact: {
7107
+ name: string;
7054
7108
  id: string;
7055
7109
  channel: string | null;
7056
7110
  address: string | null;
7057
- name: string;
7058
7111
  createdAt: Date;
7059
7112
  updatedAt: Date;
7060
7113
  deletedAt: Date | null;
@@ -7099,8 +7152,8 @@ export declare const chatContract: {
7099
7152
  createdAt: Date;
7100
7153
  updatedAt: Date;
7101
7154
  deletedAt: Date | null;
7102
- address?: string | null | undefined;
7103
7155
  name?: string | undefined;
7156
+ address?: string | null | undefined;
7104
7157
  phone?: string | null | undefined;
7105
7158
  industry?: string | null | undefined;
7106
7159
  } | null;
@@ -7108,8 +7161,8 @@ export declare const chatContract: {
7108
7161
  contactProfile: string | null;
7109
7162
  socialProfileUrl: string | null;
7110
7163
  tags: {
7111
- id: string;
7112
7164
  name: string;
7165
+ id: string;
7113
7166
  createdAt: Date;
7114
7167
  updatedAt: Date;
7115
7168
  deletedAt: Date | null;
@@ -7134,8 +7187,8 @@ export declare const chatContract: {
7134
7187
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7135
7188
  id: string;
7136
7189
  metadata: {
7137
- id: string;
7138
7190
  name: string;
7191
+ id: string;
7139
7192
  picture?: string | undefined;
7140
7193
  additionalCredentials?: any;
7141
7194
  };
@@ -7166,9 +7219,9 @@ export declare const chatContract: {
7166
7219
  socialPlatformId: string;
7167
7220
  };
7168
7221
  assignee: {
7222
+ name: string;
7169
7223
  id: string;
7170
7224
  address: string | null;
7171
- name: string;
7172
7225
  email: string;
7173
7226
  createdAt: Date;
7174
7227
  updatedAt: Date;
@@ -7262,8 +7315,8 @@ export declare const chatContract: {
7262
7315
  }[];
7263
7316
  }[];
7264
7317
  tags: {
7265
- id: string;
7266
7318
  name: string;
7319
+ id: string;
7267
7320
  createdAt: Date;
7268
7321
  updatedAt: Date;
7269
7322
  deletedAt: Date | null;
@@ -7293,8 +7346,8 @@ export declare const chatContract: {
7293
7346
  endedAt: string | null;
7294
7347
  duration: number | null;
7295
7348
  holdLabel?: {
7296
- id: string;
7297
7349
  name: string;
7350
+ id: string;
7298
7351
  position: number;
7299
7352
  createdAt: Date;
7300
7353
  updatedAt: Date;
@@ -7304,9 +7357,9 @@ export declare const chatContract: {
7304
7357
  }[] | null | undefined;
7305
7358
  };
7306
7359
  workflowRule: {
7360
+ name: string;
7307
7361
  type: string;
7308
7362
  id: string;
7309
- name: string;
7310
7363
  createdAt: Date;
7311
7364
  updatedAt: Date;
7312
7365
  deletedAt: Date | null;
@@ -7317,12 +7370,12 @@ export declare const chatContract: {
7317
7370
  }, {
7318
7371
  id: string;
7319
7372
  channel: {
7373
+ name: string;
7320
7374
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7321
7375
  id: string;
7322
- name: string;
7323
7376
  metadata: {
7324
- id: string;
7325
7377
  name: string;
7378
+ id: string;
7326
7379
  accessToken?: string | undefined;
7327
7380
  channelSecret?: string | undefined;
7328
7381
  additionalCredentials?: any;
@@ -7334,10 +7387,12 @@ export declare const chatContract: {
7334
7387
  email?: string | null | undefined;
7335
7388
  clientId?: string | null | undefined;
7336
7389
  channelId?: string | null | undefined;
7337
- status?: "active" | "pending" | undefined;
7390
+ waapiInstanceId?: string | null | undefined;
7391
+ qr?: string | null | undefined;
7392
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7338
7393
  apiKey?: string | undefined;
7339
7394
  tier?: "basic" | "regular" | "premium" | undefined;
7340
- integrationType?: "meta" | "360dialog" | undefined;
7395
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7341
7396
  } | undefined;
7342
7397
  vonageCredentials?: {
7343
7398
  apiKey: string;
@@ -7346,15 +7401,16 @@ export declare const chatContract: {
7346
7401
  } | undefined;
7347
7402
  lineRichMenuId?: string | null | undefined;
7348
7403
  messengerIntegrationType?: "own" | "business" | undefined;
7404
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7349
7405
  };
7350
7406
  status: boolean;
7351
7407
  createdAt: Date;
7352
7408
  updatedAt: Date;
7353
7409
  deletedAt: Date | null;
7354
7410
  actor: {
7411
+ name: string;
7355
7412
  id: string;
7356
7413
  address: string | null;
7357
- name: string;
7358
7414
  email: string;
7359
7415
  createdAt: Date;
7360
7416
  updatedAt: Date;
@@ -7401,8 +7457,8 @@ export declare const chatContract: {
7401
7457
  connectedUserName: string;
7402
7458
  connectedUserId: string;
7403
7459
  botpressBot: {
7404
- id: string;
7405
7460
  name: string;
7461
+ id: string;
7406
7462
  accessToken: string;
7407
7463
  botId: string;
7408
7464
  integrationId: string;
@@ -7414,9 +7470,9 @@ export declare const chatContract: {
7414
7470
  updatedAt: Date;
7415
7471
  deletedAt: Date | null;
7416
7472
  actor: {
7473
+ name: string;
7417
7474
  id: string;
7418
7475
  address: string | null;
7419
- name: string;
7420
7476
  email: string;
7421
7477
  createdAt: Date;
7422
7478
  updatedAt: Date;
@@ -7467,8 +7523,8 @@ export declare const chatContract: {
7467
7523
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7468
7524
  id: string;
7469
7525
  metadata: {
7470
- id: string;
7471
7526
  name: string;
7527
+ id: string;
7472
7528
  picture?: string | undefined;
7473
7529
  additionalCredentials?: any;
7474
7530
  };
@@ -7476,10 +7532,10 @@ export declare const chatContract: {
7476
7532
  updatedAt: Date;
7477
7533
  deletedAt: Date | null;
7478
7534
  contact: {
7535
+ name: string;
7479
7536
  id: string;
7480
7537
  channel: string | null;
7481
7538
  address: string | null;
7482
- name: string;
7483
7539
  createdAt: Date;
7484
7540
  updatedAt: Date;
7485
7541
  deletedAt: Date | null;
@@ -7524,8 +7580,8 @@ export declare const chatContract: {
7524
7580
  createdAt: Date;
7525
7581
  updatedAt: Date;
7526
7582
  deletedAt: Date | null;
7527
- address?: string | null | undefined;
7528
7583
  name?: string | undefined;
7584
+ address?: string | null | undefined;
7529
7585
  phone?: string | null | undefined;
7530
7586
  industry?: string | null | undefined;
7531
7587
  } | null;
@@ -7533,8 +7589,8 @@ export declare const chatContract: {
7533
7589
  contactProfile: string | null;
7534
7590
  socialProfileUrl: string | null;
7535
7591
  tags: {
7536
- id: string;
7537
7592
  name: string;
7593
+ id: string;
7538
7594
  createdAt: Date;
7539
7595
  updatedAt: Date;
7540
7596
  deletedAt: Date | null;
@@ -7559,8 +7615,8 @@ export declare const chatContract: {
7559
7615
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7560
7616
  id: string;
7561
7617
  metadata: {
7562
- id: string;
7563
7618
  name: string;
7619
+ id: string;
7564
7620
  picture?: string | undefined;
7565
7621
  additionalCredentials?: any;
7566
7622
  };
@@ -7591,9 +7647,9 @@ export declare const chatContract: {
7591
7647
  socialPlatformId: string;
7592
7648
  };
7593
7649
  assignee: {
7650
+ name: string;
7594
7651
  id: string;
7595
7652
  address: string | null;
7596
- name: string;
7597
7653
  email: string;
7598
7654
  createdAt: Date;
7599
7655
  updatedAt: Date;
@@ -7687,8 +7743,8 @@ export declare const chatContract: {
7687
7743
  }[];
7688
7744
  }[];
7689
7745
  tags: {
7690
- id: string;
7691
7746
  name: string;
7747
+ id: string;
7692
7748
  createdAt: Date;
7693
7749
  updatedAt: Date;
7694
7750
  deletedAt: Date | null;
@@ -7718,8 +7774,8 @@ export declare const chatContract: {
7718
7774
  endedAt: string | null;
7719
7775
  duration: number | null;
7720
7776
  holdLabel?: {
7721
- id: string;
7722
7777
  name: string;
7778
+ id: string;
7723
7779
  position: number;
7724
7780
  createdAt: Date;
7725
7781
  updatedAt: Date;
@@ -7729,9 +7785,9 @@ export declare const chatContract: {
7729
7785
  }[] | null | undefined;
7730
7786
  };
7731
7787
  workflowRule: {
7788
+ name: string;
7732
7789
  type: string;
7733
7790
  id: string;
7734
- name: string;
7735
7791
  createdAt: Date;
7736
7792
  updatedAt: Date;
7737
7793
  deletedAt: Date | null;
@@ -7744,12 +7800,12 @@ export declare const chatContract: {
7744
7800
  data: {
7745
7801
  id: string;
7746
7802
  channel: {
7803
+ name: string;
7747
7804
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7748
7805
  id: string;
7749
- name: string;
7750
7806
  metadata: {
7751
- id: string;
7752
7807
  name: string;
7808
+ id: string;
7753
7809
  accessToken?: string | undefined;
7754
7810
  channelSecret?: string | undefined;
7755
7811
  additionalCredentials?: any;
@@ -7761,10 +7817,12 @@ export declare const chatContract: {
7761
7817
  email?: string | null | undefined;
7762
7818
  clientId?: string | null | undefined;
7763
7819
  channelId?: string | null | undefined;
7764
- status?: "active" | "pending" | undefined;
7820
+ waapiInstanceId?: string | null | undefined;
7821
+ qr?: string | null | undefined;
7822
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7765
7823
  apiKey?: string | undefined;
7766
7824
  tier?: "basic" | "regular" | "premium" | undefined;
7767
- integrationType?: "meta" | "360dialog" | undefined;
7825
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7768
7826
  } | undefined;
7769
7827
  vonageCredentials?: {
7770
7828
  apiKey: string;
@@ -7773,15 +7831,16 @@ export declare const chatContract: {
7773
7831
  } | undefined;
7774
7832
  lineRichMenuId?: string | null | undefined;
7775
7833
  messengerIntegrationType?: "own" | "business" | undefined;
7834
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7776
7835
  };
7777
7836
  status: boolean;
7778
7837
  createdAt: Date;
7779
7838
  updatedAt: Date;
7780
7839
  deletedAt: Date | null;
7781
7840
  actor: {
7841
+ name: string;
7782
7842
  id: string;
7783
7843
  address: string | null;
7784
- name: string;
7785
7844
  email: string;
7786
7845
  createdAt: Date;
7787
7846
  updatedAt: Date;
@@ -7828,8 +7887,8 @@ export declare const chatContract: {
7828
7887
  connectedUserName: string;
7829
7888
  connectedUserId: string;
7830
7889
  botpressBot: {
7831
- id: string;
7832
7890
  name: string;
7891
+ id: string;
7833
7892
  accessToken: string;
7834
7893
  botId: string;
7835
7894
  integrationId: string;
@@ -7841,9 +7900,9 @@ export declare const chatContract: {
7841
7900
  updatedAt: Date;
7842
7901
  deletedAt: Date | null;
7843
7902
  actor: {
7903
+ name: string;
7844
7904
  id: string;
7845
7905
  address: string | null;
7846
- name: string;
7847
7906
  email: string;
7848
7907
  createdAt: Date;
7849
7908
  updatedAt: Date;
@@ -7894,8 +7953,8 @@ export declare const chatContract: {
7894
7953
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7895
7954
  id: string;
7896
7955
  metadata: {
7897
- id: string;
7898
7956
  name: string;
7957
+ id: string;
7899
7958
  picture?: string | undefined;
7900
7959
  additionalCredentials?: any;
7901
7960
  };
@@ -7903,10 +7962,10 @@ export declare const chatContract: {
7903
7962
  updatedAt: Date;
7904
7963
  deletedAt: Date | null;
7905
7964
  contact: {
7965
+ name: string;
7906
7966
  id: string;
7907
7967
  channel: string | null;
7908
7968
  address: string | null;
7909
- name: string;
7910
7969
  createdAt: Date;
7911
7970
  updatedAt: Date;
7912
7971
  deletedAt: Date | null;
@@ -7951,8 +8010,8 @@ export declare const chatContract: {
7951
8010
  createdAt: Date;
7952
8011
  updatedAt: Date;
7953
8012
  deletedAt: Date | null;
7954
- address?: string | null | undefined;
7955
8013
  name?: string | undefined;
8014
+ address?: string | null | undefined;
7956
8015
  phone?: string | null | undefined;
7957
8016
  industry?: string | null | undefined;
7958
8017
  } | null;
@@ -7960,8 +8019,8 @@ export declare const chatContract: {
7960
8019
  contactProfile: string | null;
7961
8020
  socialProfileUrl: string | null;
7962
8021
  tags: {
7963
- id: string;
7964
8022
  name: string;
8023
+ id: string;
7965
8024
  createdAt: Date;
7966
8025
  updatedAt: Date;
7967
8026
  deletedAt: Date | null;
@@ -7986,8 +8045,8 @@ export declare const chatContract: {
7986
8045
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7987
8046
  id: string;
7988
8047
  metadata: {
7989
- id: string;
7990
8048
  name: string;
8049
+ id: string;
7991
8050
  picture?: string | undefined;
7992
8051
  additionalCredentials?: any;
7993
8052
  };
@@ -8018,9 +8077,9 @@ export declare const chatContract: {
8018
8077
  socialPlatformId: string;
8019
8078
  };
8020
8079
  assignee: {
8080
+ name: string;
8021
8081
  id: string;
8022
8082
  address: string | null;
8023
- name: string;
8024
8083
  email: string;
8025
8084
  createdAt: Date;
8026
8085
  updatedAt: Date;
@@ -8114,8 +8173,8 @@ export declare const chatContract: {
8114
8173
  }[];
8115
8174
  }[];
8116
8175
  tags: {
8117
- id: string;
8118
8176
  name: string;
8177
+ id: string;
8119
8178
  createdAt: Date;
8120
8179
  updatedAt: Date;
8121
8180
  deletedAt: Date | null;
@@ -8145,8 +8204,8 @@ export declare const chatContract: {
8145
8204
  endedAt: string | null;
8146
8205
  duration: number | null;
8147
8206
  holdLabel?: {
8148
- id: string;
8149
8207
  name: string;
8208
+ id: string;
8150
8209
  position: number;
8151
8210
  createdAt: Date;
8152
8211
  updatedAt: Date;
@@ -8156,9 +8215,9 @@ export declare const chatContract: {
8156
8215
  }[] | null | undefined;
8157
8216
  };
8158
8217
  workflowRule: {
8218
+ name: string;
8159
8219
  type: string;
8160
8220
  id: string;
8161
- name: string;
8162
8221
  createdAt: Date;
8163
8222
  updatedAt: Date;
8164
8223
  deletedAt: Date | null;
@@ -8172,12 +8231,12 @@ export declare const chatContract: {
8172
8231
  data: {
8173
8232
  id: string;
8174
8233
  channel: {
8234
+ name: string;
8175
8235
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8176
8236
  id: string;
8177
- name: string;
8178
8237
  metadata: {
8179
- id: string;
8180
8238
  name: string;
8239
+ id: string;
8181
8240
  accessToken?: string | undefined;
8182
8241
  channelSecret?: string | undefined;
8183
8242
  additionalCredentials?: any;
@@ -8189,10 +8248,12 @@ export declare const chatContract: {
8189
8248
  email?: string | null | undefined;
8190
8249
  clientId?: string | null | undefined;
8191
8250
  channelId?: string | null | undefined;
8192
- status?: "active" | "pending" | undefined;
8251
+ waapiInstanceId?: string | null | undefined;
8252
+ qr?: string | null | undefined;
8253
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8193
8254
  apiKey?: string | undefined;
8194
8255
  tier?: "basic" | "regular" | "premium" | undefined;
8195
- integrationType?: "meta" | "360dialog" | undefined;
8256
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8196
8257
  } | undefined;
8197
8258
  vonageCredentials?: {
8198
8259
  apiKey: string;
@@ -8201,15 +8262,16 @@ export declare const chatContract: {
8201
8262
  } | undefined;
8202
8263
  lineRichMenuId?: string | null | undefined;
8203
8264
  messengerIntegrationType?: "own" | "business" | undefined;
8265
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8204
8266
  };
8205
8267
  status: boolean;
8206
8268
  createdAt: Date;
8207
8269
  updatedAt: Date;
8208
8270
  deletedAt: Date | null;
8209
8271
  actor: {
8272
+ name: string;
8210
8273
  id: string;
8211
8274
  address: string | null;
8212
- name: string;
8213
8275
  email: string;
8214
8276
  createdAt: Date;
8215
8277
  updatedAt: Date;
@@ -8256,8 +8318,8 @@ export declare const chatContract: {
8256
8318
  connectedUserName: string;
8257
8319
  connectedUserId: string;
8258
8320
  botpressBot: {
8259
- id: string;
8260
8321
  name: string;
8322
+ id: string;
8261
8323
  accessToken: string;
8262
8324
  botId: string;
8263
8325
  integrationId: string;
@@ -8269,9 +8331,9 @@ export declare const chatContract: {
8269
8331
  updatedAt: Date;
8270
8332
  deletedAt: Date | null;
8271
8333
  actor: {
8334
+ name: string;
8272
8335
  id: string;
8273
8336
  address: string | null;
8274
- name: string;
8275
8337
  email: string;
8276
8338
  createdAt: Date;
8277
8339
  updatedAt: Date;
@@ -8322,8 +8384,8 @@ export declare const chatContract: {
8322
8384
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8323
8385
  id: string;
8324
8386
  metadata: {
8325
- id: string;
8326
8387
  name: string;
8388
+ id: string;
8327
8389
  picture?: string | undefined;
8328
8390
  additionalCredentials?: any;
8329
8391
  };
@@ -8331,10 +8393,10 @@ export declare const chatContract: {
8331
8393
  updatedAt: Date;
8332
8394
  deletedAt: Date | null;
8333
8395
  contact: {
8396
+ name: string;
8334
8397
  id: string;
8335
8398
  channel: string | null;
8336
8399
  address: string | null;
8337
- name: string;
8338
8400
  createdAt: Date;
8339
8401
  updatedAt: Date;
8340
8402
  deletedAt: Date | null;
@@ -8379,8 +8441,8 @@ export declare const chatContract: {
8379
8441
  createdAt: Date;
8380
8442
  updatedAt: Date;
8381
8443
  deletedAt: Date | null;
8382
- address?: string | null | undefined;
8383
8444
  name?: string | undefined;
8445
+ address?: string | null | undefined;
8384
8446
  phone?: string | null | undefined;
8385
8447
  industry?: string | null | undefined;
8386
8448
  } | null;
@@ -8388,8 +8450,8 @@ export declare const chatContract: {
8388
8450
  contactProfile: string | null;
8389
8451
  socialProfileUrl: string | null;
8390
8452
  tags: {
8391
- id: string;
8392
8453
  name: string;
8454
+ id: string;
8393
8455
  createdAt: Date;
8394
8456
  updatedAt: Date;
8395
8457
  deletedAt: Date | null;
@@ -8414,8 +8476,8 @@ export declare const chatContract: {
8414
8476
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8415
8477
  id: string;
8416
8478
  metadata: {
8417
- id: string;
8418
8479
  name: string;
8480
+ id: string;
8419
8481
  picture?: string | undefined;
8420
8482
  additionalCredentials?: any;
8421
8483
  };
@@ -8446,9 +8508,9 @@ export declare const chatContract: {
8446
8508
  socialPlatformId: string;
8447
8509
  };
8448
8510
  assignee: {
8511
+ name: string;
8449
8512
  id: string;
8450
8513
  address: string | null;
8451
- name: string;
8452
8514
  email: string;
8453
8515
  createdAt: Date;
8454
8516
  updatedAt: Date;
@@ -8542,8 +8604,8 @@ export declare const chatContract: {
8542
8604
  }[];
8543
8605
  }[];
8544
8606
  tags: {
8545
- id: string;
8546
8607
  name: string;
8608
+ id: string;
8547
8609
  createdAt: Date;
8548
8610
  updatedAt: Date;
8549
8611
  deletedAt: Date | null;
@@ -8573,8 +8635,8 @@ export declare const chatContract: {
8573
8635
  endedAt: string | null;
8574
8636
  duration: number | null;
8575
8637
  holdLabel?: {
8576
- id: string;
8577
8638
  name: string;
8639
+ id: string;
8578
8640
  position: number;
8579
8641
  createdAt: Date;
8580
8642
  updatedAt: Date;
@@ -8584,9 +8646,9 @@ export declare const chatContract: {
8584
8646
  }[] | null | undefined;
8585
8647
  };
8586
8648
  workflowRule: {
8649
+ name: string;
8587
8650
  type: string;
8588
8651
  id: string;
8589
- name: string;
8590
8652
  createdAt: Date;
8591
8653
  updatedAt: Date;
8592
8654
  deletedAt: Date | null;