@kl1/contracts 1.2.21-uat → 1.2.23-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) 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 +3170 -590
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +145 -26
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +254 -24
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +26071 -23373
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1838 -1190
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1803 -851
  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 +43536 -12568
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +388 -260
  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 +316 -208
  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 +2157 -845
  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 +163 -75
  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 +140 -72
  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 +16 -16
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +2 -2
  53. package/dist/api-contracts/src/instagram/index.d.ts +1727 -699
  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 +1616 -704
  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 +173 -65
  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 +2118 -2118
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1444 -1444
  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 +12 -12
  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 +468 -468
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +458 -458
  71. package/dist/api-contracts/src/messenger/index.d.ts +1730 -702
  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 +136 -68
  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 +311 -115
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +14 -14
  85. package/dist/api-contracts/src/sms/validation.d.ts +6 -6
  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 +1367 -631
  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 +1379 -643
  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 +1037 -565
  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 +19978 -0
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -0
  116. package/dist/api-contracts/src/whatsapp/schema.d.ts +2 -0
  117. package/dist/api-contracts/src/whatsapp/schema.d.ts.map +1 -0
  118. package/dist/api-contracts/src/whatsapp/validation.d.ts +76 -0
  119. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -0
  120. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  121. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  123. package/dist/api-contracts/src/workflow-rule/index.d.ts +448 -232
  124. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  126. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  127. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  128. package/dist/api-contracts/utils.d.ts +1 -1
  129. package/dist/api-contracts/utils.d.ts.map +1 -1
  130. package/dist/entities/src/enums/chat.d.ts +1 -0
  131. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  132. package/dist/index.js +2491 -2336
  133. package/dist/index.js.map +1 -1
  134. package/dist/index.mjs +2489 -2336
  135. package/dist/index.mjs.map +1 -1
  136. 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;
@@ -1507,45 +1507,93 @@ export declare const chatContract: {
1507
1507
  channelSecret: z.ZodOptional<z.ZodString>;
1508
1508
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1509
1509
  senderId: z.ZodOptional<z.ZodString>;
1510
+ whatsapp: z.ZodOptional<z.ZodObject<{
1511
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1512
+ wabaExternalId: z.ZodString;
1513
+ phoneNumberId: z.ZodString;
1514
+ email: z.ZodString;
1515
+ clientId: z.ZodOptional<z.ZodString>;
1516
+ channelId: z.ZodOptional<z.ZodString>;
1517
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1518
+ apiKey: z.ZodOptional<z.ZodString>;
1519
+ }, "strip", z.ZodTypeAny, {
1520
+ email: string;
1521
+ wabaExternalId: string;
1522
+ phoneNumberId: string;
1523
+ wabaBusinessId?: string | undefined;
1524
+ clientId?: string | undefined;
1525
+ channelId?: string | undefined;
1526
+ status?: "active" | "pending" | undefined;
1527
+ apiKey?: string | undefined;
1528
+ }, {
1529
+ email: string;
1530
+ wabaExternalId: string;
1531
+ phoneNumberId: string;
1532
+ wabaBusinessId?: string | undefined;
1533
+ clientId?: string | undefined;
1534
+ channelId?: string | undefined;
1535
+ status?: "active" | "pending" | undefined;
1536
+ apiKey?: string | undefined;
1537
+ }>>;
1510
1538
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1511
1539
  mobileNumber: z.ZodString;
1512
1540
  apiKey: z.ZodString;
1513
1541
  apiSecret: z.ZodString;
1514
1542
  }, "strip", z.ZodTypeAny, {
1515
- mobileNumber: string;
1516
1543
  apiKey: string;
1544
+ mobileNumber: string;
1517
1545
  apiSecret: string;
1518
1546
  }, {
1519
- mobileNumber: string;
1520
1547
  apiKey: string;
1548
+ mobileNumber: string;
1521
1549
  apiSecret: string;
1522
1550
  }>>;
1523
1551
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1524
1552
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1525
1553
  }, "strip", z.ZodTypeAny, {
1526
- id: string;
1527
1554
  name: string;
1555
+ id: string;
1528
1556
  accessToken?: string | undefined;
1529
1557
  channelSecret?: string | undefined;
1530
1558
  additionalCredentials?: any;
1531
1559
  senderId?: string | undefined;
1560
+ whatsapp?: {
1561
+ email: string;
1562
+ wabaExternalId: string;
1563
+ phoneNumberId: string;
1564
+ wabaBusinessId?: string | undefined;
1565
+ clientId?: string | undefined;
1566
+ channelId?: string | undefined;
1567
+ status?: "active" | "pending" | undefined;
1568
+ apiKey?: string | undefined;
1569
+ } | undefined;
1532
1570
  vonageCredentials?: {
1533
- mobileNumber: string;
1534
1571
  apiKey: string;
1572
+ mobileNumber: string;
1535
1573
  apiSecret: string;
1536
1574
  } | undefined;
1537
1575
  lineRichMenuId?: string | null | undefined;
1538
1576
  messengerIntegrationType?: "own" | "business" | undefined;
1539
1577
  }, {
1540
- id: string;
1541
1578
  name: string;
1579
+ id: string;
1542
1580
  accessToken?: string | undefined;
1543
1581
  channelSecret?: string | undefined;
1544
1582
  additionalCredentials?: any;
1545
1583
  senderId?: string | undefined;
1584
+ whatsapp?: {
1585
+ email: string;
1586
+ wabaExternalId: string;
1587
+ phoneNumberId: string;
1588
+ wabaBusinessId?: string | undefined;
1589
+ clientId?: string | undefined;
1590
+ channelId?: string | undefined;
1591
+ status?: "active" | "pending" | undefined;
1592
+ apiKey?: string | undefined;
1593
+ } | undefined;
1546
1594
  vonageCredentials?: {
1547
- mobileNumber: string;
1548
1595
  apiKey: string;
1596
+ mobileNumber: string;
1549
1597
  apiSecret: string;
1550
1598
  } | undefined;
1551
1599
  lineRichMenuId?: string | null | undefined;
@@ -1564,14 +1612,14 @@ export declare const chatContract: {
1564
1612
  integrationId: z.ZodString;
1565
1613
  accessToken: z.ZodString;
1566
1614
  }, "strip", z.ZodTypeAny, {
1567
- id: string;
1568
1615
  name: string;
1616
+ id: string;
1569
1617
  accessToken: string;
1570
1618
  botId: string;
1571
1619
  integrationId: string;
1572
1620
  }, {
1573
- id: string;
1574
1621
  name: string;
1622
+ id: string;
1575
1623
  accessToken: string;
1576
1624
  botId: string;
1577
1625
  integrationId: string;
@@ -1694,9 +1742,9 @@ export declare const chatContract: {
1694
1742
  telephonySignature: string | null;
1695
1743
  }>;
1696
1744
  }, "strip", z.ZodTypeAny, {
1745
+ name: string;
1697
1746
  id: string;
1698
1747
  address: string | null;
1699
- name: string;
1700
1748
  email: string;
1701
1749
  createdAt: Date;
1702
1750
  updatedAt: Date;
@@ -1737,9 +1785,9 @@ export declare const chatContract: {
1737
1785
  telephonySignature: string | null;
1738
1786
  };
1739
1787
  }, {
1788
+ name: string;
1740
1789
  id: string;
1741
1790
  address: string | null;
1742
- name: string;
1743
1791
  email: string;
1744
1792
  createdAt: Date;
1745
1793
  updatedAt: Date;
@@ -1781,19 +1829,29 @@ export declare const chatContract: {
1781
1829
  };
1782
1830
  }>;
1783
1831
  }, "strip", z.ZodTypeAny, {
1832
+ name: string;
1784
1833
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1785
1834
  id: string;
1786
- name: string;
1787
1835
  metadata: {
1788
- id: string;
1789
1836
  name: string;
1837
+ id: string;
1790
1838
  accessToken?: string | undefined;
1791
1839
  channelSecret?: string | undefined;
1792
1840
  additionalCredentials?: any;
1793
1841
  senderId?: string | undefined;
1842
+ whatsapp?: {
1843
+ email: string;
1844
+ wabaExternalId: string;
1845
+ phoneNumberId: string;
1846
+ wabaBusinessId?: string | undefined;
1847
+ clientId?: string | undefined;
1848
+ channelId?: string | undefined;
1849
+ status?: "active" | "pending" | undefined;
1850
+ apiKey?: string | undefined;
1851
+ } | undefined;
1794
1852
  vonageCredentials?: {
1795
- mobileNumber: string;
1796
1853
  apiKey: string;
1854
+ mobileNumber: string;
1797
1855
  apiSecret: string;
1798
1856
  } | undefined;
1799
1857
  lineRichMenuId?: string | null | undefined;
@@ -1804,9 +1862,9 @@ export declare const chatContract: {
1804
1862
  updatedAt: Date;
1805
1863
  deletedAt: Date | null;
1806
1864
  actor: {
1865
+ name: string;
1807
1866
  id: string;
1808
1867
  address: string | null;
1809
- name: string;
1810
1868
  email: string;
1811
1869
  createdAt: Date;
1812
1870
  updatedAt: Date;
@@ -1853,26 +1911,36 @@ export declare const chatContract: {
1853
1911
  connectedUserName: string;
1854
1912
  connectedUserId: string;
1855
1913
  botpressBot: {
1856
- id: string;
1857
1914
  name: string;
1915
+ id: string;
1858
1916
  accessToken: string;
1859
1917
  botId: string;
1860
1918
  integrationId: string;
1861
1919
  } | null;
1862
1920
  }, {
1921
+ name: string;
1863
1922
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1864
1923
  id: string;
1865
- name: string;
1866
1924
  metadata: {
1867
- id: string;
1868
1925
  name: string;
1926
+ id: string;
1869
1927
  accessToken?: string | undefined;
1870
1928
  channelSecret?: string | undefined;
1871
1929
  additionalCredentials?: any;
1872
1930
  senderId?: string | undefined;
1931
+ whatsapp?: {
1932
+ email: string;
1933
+ wabaExternalId: string;
1934
+ phoneNumberId: string;
1935
+ wabaBusinessId?: string | undefined;
1936
+ clientId?: string | undefined;
1937
+ channelId?: string | undefined;
1938
+ status?: "active" | "pending" | undefined;
1939
+ apiKey?: string | undefined;
1940
+ } | undefined;
1873
1941
  vonageCredentials?: {
1874
- mobileNumber: string;
1875
1942
  apiKey: string;
1943
+ mobileNumber: string;
1876
1944
  apiSecret: string;
1877
1945
  } | undefined;
1878
1946
  lineRichMenuId?: string | null | undefined;
@@ -1883,9 +1951,9 @@ export declare const chatContract: {
1883
1951
  updatedAt: Date;
1884
1952
  deletedAt: Date | null;
1885
1953
  actor: {
1954
+ name: string;
1886
1955
  id: string;
1887
1956
  address: string | null;
1888
- name: string;
1889
1957
  email: string;
1890
1958
  createdAt: Date;
1891
1959
  updatedAt: Date;
@@ -1932,8 +2000,8 @@ export declare const chatContract: {
1932
2000
  connectedUserName: string;
1933
2001
  connectedUserId: string;
1934
2002
  botpressBot: {
1935
- id: string;
1936
2003
  name: string;
2004
+ id: string;
1937
2005
  accessToken: string;
1938
2006
  botId: string;
1939
2007
  integrationId: string;
@@ -1970,14 +2038,14 @@ export declare const chatContract: {
1970
2038
  deletedAt: z.ZodNullable<z.ZodDate>;
1971
2039
  name: z.ZodString;
1972
2040
  }, "strip", z.ZodTypeAny, {
1973
- id: string;
1974
2041
  name: string;
2042
+ id: string;
1975
2043
  createdAt: Date;
1976
2044
  updatedAt: Date;
1977
2045
  deletedAt: Date | null;
1978
2046
  }, {
1979
- id: string;
1980
2047
  name: string;
2048
+ id: string;
1981
2049
  createdAt: Date;
1982
2050
  updatedAt: Date;
1983
2051
  deletedAt: Date | null;
@@ -2148,8 +2216,8 @@ export declare const chatContract: {
2148
2216
  }[];
2149
2217
  }[];
2150
2218
  tags: {
2151
- id: string;
2152
2219
  name: string;
2220
+ id: string;
2153
2221
  createdAt: Date;
2154
2222
  updatedAt: Date;
2155
2223
  deletedAt: Date | null;
@@ -2199,8 +2267,8 @@ export declare const chatContract: {
2199
2267
  }[];
2200
2268
  }[];
2201
2269
  tags: {
2202
- id: string;
2203
2270
  name: string;
2271
+ id: string;
2204
2272
  createdAt: Date;
2205
2273
  updatedAt: Date;
2206
2274
  deletedAt: Date | null;
@@ -2267,8 +2335,8 @@ export declare const chatContract: {
2267
2335
  }[];
2268
2336
  }[];
2269
2337
  tags: {
2270
- id: string;
2271
2338
  name: string;
2339
+ id: string;
2272
2340
  createdAt: Date;
2273
2341
  updatedAt: Date;
2274
2342
  deletedAt: Date | null;
@@ -2335,8 +2403,8 @@ export declare const chatContract: {
2335
2403
  }[];
2336
2404
  }[];
2337
2405
  tags: {
2338
- id: string;
2339
2406
  name: string;
2407
+ id: string;
2340
2408
  createdAt: Date;
2341
2409
  updatedAt: Date;
2342
2410
  deletedAt: Date | null;
@@ -2367,17 +2435,17 @@ export declare const chatContract: {
2367
2435
  isActive: z.ZodBoolean;
2368
2436
  type: z.ZodString;
2369
2437
  }, "strip", z.ZodTypeAny, {
2438
+ name: string;
2370
2439
  type: string;
2371
2440
  id: string;
2372
- name: string;
2373
2441
  createdAt: Date;
2374
2442
  updatedAt: Date;
2375
2443
  deletedAt: Date | null;
2376
2444
  isActive: boolean;
2377
2445
  }, {
2446
+ name: string;
2378
2447
  type: string;
2379
2448
  id: string;
2380
- name: string;
2381
2449
  createdAt: Date;
2382
2450
  updatedAt: Date;
2383
2451
  deletedAt: Date | null;
@@ -2387,19 +2455,29 @@ export declare const chatContract: {
2387
2455
  }, "strip", z.ZodTypeAny, {
2388
2456
  id: string;
2389
2457
  channel: {
2458
+ name: string;
2390
2459
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2391
2460
  id: string;
2392
- name: string;
2393
2461
  metadata: {
2394
- id: string;
2395
2462
  name: string;
2463
+ id: string;
2396
2464
  accessToken?: string | undefined;
2397
2465
  channelSecret?: string | undefined;
2398
2466
  additionalCredentials?: any;
2399
2467
  senderId?: string | undefined;
2468
+ whatsapp?: {
2469
+ email: string;
2470
+ wabaExternalId: string;
2471
+ phoneNumberId: string;
2472
+ wabaBusinessId?: string | undefined;
2473
+ clientId?: string | undefined;
2474
+ channelId?: string | undefined;
2475
+ status?: "active" | "pending" | undefined;
2476
+ apiKey?: string | undefined;
2477
+ } | undefined;
2400
2478
  vonageCredentials?: {
2401
- mobileNumber: string;
2402
2479
  apiKey: string;
2480
+ mobileNumber: string;
2403
2481
  apiSecret: string;
2404
2482
  } | undefined;
2405
2483
  lineRichMenuId?: string | null | undefined;
@@ -2410,9 +2488,9 @@ export declare const chatContract: {
2410
2488
  updatedAt: Date;
2411
2489
  deletedAt: Date | null;
2412
2490
  actor: {
2491
+ name: string;
2413
2492
  id: string;
2414
2493
  address: string | null;
2415
- name: string;
2416
2494
  email: string;
2417
2495
  createdAt: Date;
2418
2496
  updatedAt: Date;
@@ -2459,8 +2537,8 @@ export declare const chatContract: {
2459
2537
  connectedUserName: string;
2460
2538
  connectedUserId: string;
2461
2539
  botpressBot: {
2462
- id: string;
2463
2540
  name: string;
2541
+ id: string;
2464
2542
  accessToken: string;
2465
2543
  botId: string;
2466
2544
  integrationId: string;
@@ -2472,9 +2550,9 @@ export declare const chatContract: {
2472
2550
  updatedAt: Date;
2473
2551
  deletedAt: Date | null;
2474
2552
  actor: {
2553
+ name: string;
2475
2554
  id: string;
2476
2555
  address: string | null;
2477
- name: string;
2478
2556
  email: string;
2479
2557
  createdAt: Date;
2480
2558
  updatedAt: Date;
@@ -2525,8 +2603,8 @@ export declare const chatContract: {
2525
2603
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2526
2604
  id: string;
2527
2605
  metadata: {
2528
- id: string;
2529
2606
  name: string;
2607
+ id: string;
2530
2608
  picture?: string | undefined;
2531
2609
  additionalCredentials?: any;
2532
2610
  };
@@ -2534,10 +2612,10 @@ export declare const chatContract: {
2534
2612
  updatedAt: Date;
2535
2613
  deletedAt: Date | null;
2536
2614
  contact: {
2615
+ name: string;
2537
2616
  id: string;
2538
2617
  channel: string | null;
2539
2618
  address: string | null;
2540
- name: string;
2541
2619
  createdAt: Date;
2542
2620
  updatedAt: Date;
2543
2621
  deletedAt: Date | null;
@@ -2582,8 +2660,8 @@ export declare const chatContract: {
2582
2660
  createdAt: Date;
2583
2661
  updatedAt: Date;
2584
2662
  deletedAt: Date | null;
2585
- address?: string | null | undefined;
2586
2663
  name?: string | undefined;
2664
+ address?: string | null | undefined;
2587
2665
  phone?: string | null | undefined;
2588
2666
  industry?: string | null | undefined;
2589
2667
  } | null;
@@ -2591,8 +2669,8 @@ export declare const chatContract: {
2591
2669
  contactProfile: string | null;
2592
2670
  socialProfileUrl: string | null;
2593
2671
  tags: {
2594
- id: string;
2595
2672
  name: string;
2673
+ id: string;
2596
2674
  createdAt: Date;
2597
2675
  updatedAt: Date;
2598
2676
  deletedAt: Date | null;
@@ -2617,8 +2695,8 @@ export declare const chatContract: {
2617
2695
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2618
2696
  id: string;
2619
2697
  metadata: {
2620
- id: string;
2621
2698
  name: string;
2699
+ id: string;
2622
2700
  picture?: string | undefined;
2623
2701
  additionalCredentials?: any;
2624
2702
  };
@@ -2649,9 +2727,9 @@ export declare const chatContract: {
2649
2727
  socialPlatformId: string;
2650
2728
  };
2651
2729
  assignee: {
2730
+ name: string;
2652
2731
  id: string;
2653
2732
  address: string | null;
2654
- name: string;
2655
2733
  email: string;
2656
2734
  createdAt: Date;
2657
2735
  updatedAt: Date;
@@ -2741,8 +2819,8 @@ export declare const chatContract: {
2741
2819
  }[];
2742
2820
  }[];
2743
2821
  tags: {
2744
- id: string;
2745
2822
  name: string;
2823
+ id: string;
2746
2824
  createdAt: Date;
2747
2825
  updatedAt: Date;
2748
2826
  deletedAt: Date | null;
@@ -2765,9 +2843,9 @@ export declare const chatContract: {
2765
2843
  } | null;
2766
2844
  };
2767
2845
  workflowRule: {
2846
+ name: string;
2768
2847
  type: string;
2769
2848
  id: string;
2770
- name: string;
2771
2849
  createdAt: Date;
2772
2850
  updatedAt: Date;
2773
2851
  deletedAt: Date | null;
@@ -2777,19 +2855,29 @@ export declare const chatContract: {
2777
2855
  }, {
2778
2856
  id: string;
2779
2857
  channel: {
2858
+ name: string;
2780
2859
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2781
2860
  id: string;
2782
- name: string;
2783
2861
  metadata: {
2784
- id: string;
2785
2862
  name: string;
2863
+ id: string;
2786
2864
  accessToken?: string | undefined;
2787
2865
  channelSecret?: string | undefined;
2788
2866
  additionalCredentials?: any;
2789
2867
  senderId?: string | undefined;
2868
+ whatsapp?: {
2869
+ email: string;
2870
+ wabaExternalId: string;
2871
+ phoneNumberId: string;
2872
+ wabaBusinessId?: string | undefined;
2873
+ clientId?: string | undefined;
2874
+ channelId?: string | undefined;
2875
+ status?: "active" | "pending" | undefined;
2876
+ apiKey?: string | undefined;
2877
+ } | undefined;
2790
2878
  vonageCredentials?: {
2791
- mobileNumber: string;
2792
2879
  apiKey: string;
2880
+ mobileNumber: string;
2793
2881
  apiSecret: string;
2794
2882
  } | undefined;
2795
2883
  lineRichMenuId?: string | null | undefined;
@@ -2800,9 +2888,9 @@ export declare const chatContract: {
2800
2888
  updatedAt: Date;
2801
2889
  deletedAt: Date | null;
2802
2890
  actor: {
2891
+ name: string;
2803
2892
  id: string;
2804
2893
  address: string | null;
2805
- name: string;
2806
2894
  email: string;
2807
2895
  createdAt: Date;
2808
2896
  updatedAt: Date;
@@ -2849,8 +2937,8 @@ export declare const chatContract: {
2849
2937
  connectedUserName: string;
2850
2938
  connectedUserId: string;
2851
2939
  botpressBot: {
2852
- id: string;
2853
2940
  name: string;
2941
+ id: string;
2854
2942
  accessToken: string;
2855
2943
  botId: string;
2856
2944
  integrationId: string;
@@ -2862,9 +2950,9 @@ export declare const chatContract: {
2862
2950
  updatedAt: Date;
2863
2951
  deletedAt: Date | null;
2864
2952
  actor: {
2953
+ name: string;
2865
2954
  id: string;
2866
2955
  address: string | null;
2867
- name: string;
2868
2956
  email: string;
2869
2957
  createdAt: Date;
2870
2958
  updatedAt: Date;
@@ -2915,8 +3003,8 @@ export declare const chatContract: {
2915
3003
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2916
3004
  id: string;
2917
3005
  metadata: {
2918
- id: string;
2919
3006
  name: string;
3007
+ id: string;
2920
3008
  picture?: string | undefined;
2921
3009
  additionalCredentials?: any;
2922
3010
  };
@@ -2924,10 +3012,10 @@ export declare const chatContract: {
2924
3012
  updatedAt: Date;
2925
3013
  deletedAt: Date | null;
2926
3014
  contact: {
3015
+ name: string;
2927
3016
  id: string;
2928
3017
  channel: string | null;
2929
3018
  address: string | null;
2930
- name: string;
2931
3019
  createdAt: Date;
2932
3020
  updatedAt: Date;
2933
3021
  deletedAt: Date | null;
@@ -2972,8 +3060,8 @@ export declare const chatContract: {
2972
3060
  createdAt: Date;
2973
3061
  updatedAt: Date;
2974
3062
  deletedAt: Date | null;
2975
- address?: string | null | undefined;
2976
3063
  name?: string | undefined;
3064
+ address?: string | null | undefined;
2977
3065
  phone?: string | null | undefined;
2978
3066
  industry?: string | null | undefined;
2979
3067
  } | null;
@@ -2981,8 +3069,8 @@ export declare const chatContract: {
2981
3069
  contactProfile: string | null;
2982
3070
  socialProfileUrl: string | null;
2983
3071
  tags: {
2984
- id: string;
2985
3072
  name: string;
3073
+ id: string;
2986
3074
  createdAt: Date;
2987
3075
  updatedAt: Date;
2988
3076
  deletedAt: Date | null;
@@ -3007,8 +3095,8 @@ export declare const chatContract: {
3007
3095
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3008
3096
  id: string;
3009
3097
  metadata: {
3010
- id: string;
3011
3098
  name: string;
3099
+ id: string;
3012
3100
  picture?: string | undefined;
3013
3101
  additionalCredentials?: any;
3014
3102
  };
@@ -3039,9 +3127,9 @@ export declare const chatContract: {
3039
3127
  socialPlatformId: string;
3040
3128
  };
3041
3129
  assignee: {
3130
+ name: string;
3042
3131
  id: string;
3043
3132
  address: string | null;
3044
- name: string;
3045
3133
  email: string;
3046
3134
  createdAt: Date;
3047
3135
  updatedAt: Date;
@@ -3131,8 +3219,8 @@ export declare const chatContract: {
3131
3219
  }[];
3132
3220
  }[];
3133
3221
  tags: {
3134
- id: string;
3135
3222
  name: string;
3223
+ id: string;
3136
3224
  createdAt: Date;
3137
3225
  updatedAt: Date;
3138
3226
  deletedAt: Date | null;
@@ -3155,9 +3243,9 @@ export declare const chatContract: {
3155
3243
  } | null;
3156
3244
  };
3157
3245
  workflowRule: {
3246
+ name: string;
3158
3247
  type: string;
3159
3248
  id: string;
3160
- name: string;
3161
3249
  createdAt: Date;
3162
3250
  updatedAt: Date;
3163
3251
  deletedAt: Date | null;
@@ -3169,19 +3257,29 @@ export declare const chatContract: {
3169
3257
  data: {
3170
3258
  id: string;
3171
3259
  channel: {
3260
+ name: string;
3172
3261
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3173
3262
  id: string;
3174
- name: string;
3175
3263
  metadata: {
3176
- id: string;
3177
3264
  name: string;
3265
+ id: string;
3178
3266
  accessToken?: string | undefined;
3179
3267
  channelSecret?: string | undefined;
3180
3268
  additionalCredentials?: any;
3181
3269
  senderId?: string | undefined;
3270
+ whatsapp?: {
3271
+ email: string;
3272
+ wabaExternalId: string;
3273
+ phoneNumberId: string;
3274
+ wabaBusinessId?: string | undefined;
3275
+ clientId?: string | undefined;
3276
+ channelId?: string | undefined;
3277
+ status?: "active" | "pending" | undefined;
3278
+ apiKey?: string | undefined;
3279
+ } | undefined;
3182
3280
  vonageCredentials?: {
3183
- mobileNumber: string;
3184
3281
  apiKey: string;
3282
+ mobileNumber: string;
3185
3283
  apiSecret: string;
3186
3284
  } | undefined;
3187
3285
  lineRichMenuId?: string | null | undefined;
@@ -3192,9 +3290,9 @@ export declare const chatContract: {
3192
3290
  updatedAt: Date;
3193
3291
  deletedAt: Date | null;
3194
3292
  actor: {
3293
+ name: string;
3195
3294
  id: string;
3196
3295
  address: string | null;
3197
- name: string;
3198
3296
  email: string;
3199
3297
  createdAt: Date;
3200
3298
  updatedAt: Date;
@@ -3241,8 +3339,8 @@ export declare const chatContract: {
3241
3339
  connectedUserName: string;
3242
3340
  connectedUserId: string;
3243
3341
  botpressBot: {
3244
- id: string;
3245
3342
  name: string;
3343
+ id: string;
3246
3344
  accessToken: string;
3247
3345
  botId: string;
3248
3346
  integrationId: string;
@@ -3254,9 +3352,9 @@ export declare const chatContract: {
3254
3352
  updatedAt: Date;
3255
3353
  deletedAt: Date | null;
3256
3354
  actor: {
3355
+ name: string;
3257
3356
  id: string;
3258
3357
  address: string | null;
3259
- name: string;
3260
3358
  email: string;
3261
3359
  createdAt: Date;
3262
3360
  updatedAt: Date;
@@ -3307,8 +3405,8 @@ export declare const chatContract: {
3307
3405
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3308
3406
  id: string;
3309
3407
  metadata: {
3310
- id: string;
3311
3408
  name: string;
3409
+ id: string;
3312
3410
  picture?: string | undefined;
3313
3411
  additionalCredentials?: any;
3314
3412
  };
@@ -3316,10 +3414,10 @@ export declare const chatContract: {
3316
3414
  updatedAt: Date;
3317
3415
  deletedAt: Date | null;
3318
3416
  contact: {
3417
+ name: string;
3319
3418
  id: string;
3320
3419
  channel: string | null;
3321
3420
  address: string | null;
3322
- name: string;
3323
3421
  createdAt: Date;
3324
3422
  updatedAt: Date;
3325
3423
  deletedAt: Date | null;
@@ -3364,8 +3462,8 @@ export declare const chatContract: {
3364
3462
  createdAt: Date;
3365
3463
  updatedAt: Date;
3366
3464
  deletedAt: Date | null;
3367
- address?: string | null | undefined;
3368
3465
  name?: string | undefined;
3466
+ address?: string | null | undefined;
3369
3467
  phone?: string | null | undefined;
3370
3468
  industry?: string | null | undefined;
3371
3469
  } | null;
@@ -3373,8 +3471,8 @@ export declare const chatContract: {
3373
3471
  contactProfile: string | null;
3374
3472
  socialProfileUrl: string | null;
3375
3473
  tags: {
3376
- id: string;
3377
3474
  name: string;
3475
+ id: string;
3378
3476
  createdAt: Date;
3379
3477
  updatedAt: Date;
3380
3478
  deletedAt: Date | null;
@@ -3399,8 +3497,8 @@ export declare const chatContract: {
3399
3497
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3400
3498
  id: string;
3401
3499
  metadata: {
3402
- id: string;
3403
3500
  name: string;
3501
+ id: string;
3404
3502
  picture?: string | undefined;
3405
3503
  additionalCredentials?: any;
3406
3504
  };
@@ -3431,9 +3529,9 @@ export declare const chatContract: {
3431
3529
  socialPlatformId: string;
3432
3530
  };
3433
3531
  assignee: {
3532
+ name: string;
3434
3533
  id: string;
3435
3534
  address: string | null;
3436
- name: string;
3437
3535
  email: string;
3438
3536
  createdAt: Date;
3439
3537
  updatedAt: Date;
@@ -3523,8 +3621,8 @@ export declare const chatContract: {
3523
3621
  }[];
3524
3622
  }[];
3525
3623
  tags: {
3526
- id: string;
3527
3624
  name: string;
3625
+ id: string;
3528
3626
  createdAt: Date;
3529
3627
  updatedAt: Date;
3530
3628
  deletedAt: Date | null;
@@ -3547,9 +3645,9 @@ export declare const chatContract: {
3547
3645
  } | null;
3548
3646
  };
3549
3647
  workflowRule: {
3648
+ name: string;
3550
3649
  type: string;
3551
3650
  id: string;
3552
- name: string;
3553
3651
  createdAt: Date;
3554
3652
  updatedAt: Date;
3555
3653
  deletedAt: Date | null;
@@ -3562,19 +3660,29 @@ export declare const chatContract: {
3562
3660
  data: {
3563
3661
  id: string;
3564
3662
  channel: {
3663
+ name: string;
3565
3664
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3566
3665
  id: string;
3567
- name: string;
3568
3666
  metadata: {
3569
- id: string;
3570
3667
  name: string;
3668
+ id: string;
3571
3669
  accessToken?: string | undefined;
3572
3670
  channelSecret?: string | undefined;
3573
3671
  additionalCredentials?: any;
3574
3672
  senderId?: string | undefined;
3673
+ whatsapp?: {
3674
+ email: string;
3675
+ wabaExternalId: string;
3676
+ phoneNumberId: string;
3677
+ wabaBusinessId?: string | undefined;
3678
+ clientId?: string | undefined;
3679
+ channelId?: string | undefined;
3680
+ status?: "active" | "pending" | undefined;
3681
+ apiKey?: string | undefined;
3682
+ } | undefined;
3575
3683
  vonageCredentials?: {
3576
- mobileNumber: string;
3577
3684
  apiKey: string;
3685
+ mobileNumber: string;
3578
3686
  apiSecret: string;
3579
3687
  } | undefined;
3580
3688
  lineRichMenuId?: string | null | undefined;
@@ -3585,9 +3693,9 @@ export declare const chatContract: {
3585
3693
  updatedAt: Date;
3586
3694
  deletedAt: Date | null;
3587
3695
  actor: {
3696
+ name: string;
3588
3697
  id: string;
3589
3698
  address: string | null;
3590
- name: string;
3591
3699
  email: string;
3592
3700
  createdAt: Date;
3593
3701
  updatedAt: Date;
@@ -3634,8 +3742,8 @@ export declare const chatContract: {
3634
3742
  connectedUserName: string;
3635
3743
  connectedUserId: string;
3636
3744
  botpressBot: {
3637
- id: string;
3638
3745
  name: string;
3746
+ id: string;
3639
3747
  accessToken: string;
3640
3748
  botId: string;
3641
3749
  integrationId: string;
@@ -3647,9 +3755,9 @@ export declare const chatContract: {
3647
3755
  updatedAt: Date;
3648
3756
  deletedAt: Date | null;
3649
3757
  actor: {
3758
+ name: string;
3650
3759
  id: string;
3651
3760
  address: string | null;
3652
- name: string;
3653
3761
  email: string;
3654
3762
  createdAt: Date;
3655
3763
  updatedAt: Date;
@@ -3700,8 +3808,8 @@ export declare const chatContract: {
3700
3808
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3701
3809
  id: string;
3702
3810
  metadata: {
3703
- id: string;
3704
3811
  name: string;
3812
+ id: string;
3705
3813
  picture?: string | undefined;
3706
3814
  additionalCredentials?: any;
3707
3815
  };
@@ -3709,10 +3817,10 @@ export declare const chatContract: {
3709
3817
  updatedAt: Date;
3710
3818
  deletedAt: Date | null;
3711
3819
  contact: {
3820
+ name: string;
3712
3821
  id: string;
3713
3822
  channel: string | null;
3714
3823
  address: string | null;
3715
- name: string;
3716
3824
  createdAt: Date;
3717
3825
  updatedAt: Date;
3718
3826
  deletedAt: Date | null;
@@ -3757,8 +3865,8 @@ export declare const chatContract: {
3757
3865
  createdAt: Date;
3758
3866
  updatedAt: Date;
3759
3867
  deletedAt: Date | null;
3760
- address?: string | null | undefined;
3761
3868
  name?: string | undefined;
3869
+ address?: string | null | undefined;
3762
3870
  phone?: string | null | undefined;
3763
3871
  industry?: string | null | undefined;
3764
3872
  } | null;
@@ -3766,8 +3874,8 @@ export declare const chatContract: {
3766
3874
  contactProfile: string | null;
3767
3875
  socialProfileUrl: string | null;
3768
3876
  tags: {
3769
- id: string;
3770
3877
  name: string;
3878
+ id: string;
3771
3879
  createdAt: Date;
3772
3880
  updatedAt: Date;
3773
3881
  deletedAt: Date | null;
@@ -3792,8 +3900,8 @@ export declare const chatContract: {
3792
3900
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3793
3901
  id: string;
3794
3902
  metadata: {
3795
- id: string;
3796
3903
  name: string;
3904
+ id: string;
3797
3905
  picture?: string | undefined;
3798
3906
  additionalCredentials?: any;
3799
3907
  };
@@ -3824,9 +3932,9 @@ export declare const chatContract: {
3824
3932
  socialPlatformId: string;
3825
3933
  };
3826
3934
  assignee: {
3935
+ name: string;
3827
3936
  id: string;
3828
3937
  address: string | null;
3829
- name: string;
3830
3938
  email: string;
3831
3939
  createdAt: Date;
3832
3940
  updatedAt: Date;
@@ -3916,8 +4024,8 @@ export declare const chatContract: {
3916
4024
  }[];
3917
4025
  }[];
3918
4026
  tags: {
3919
- id: string;
3920
4027
  name: string;
4028
+ id: string;
3921
4029
  createdAt: Date;
3922
4030
  updatedAt: Date;
3923
4031
  deletedAt: Date | null;
@@ -3940,9 +4048,9 @@ export declare const chatContract: {
3940
4048
  } | null;
3941
4049
  };
3942
4050
  workflowRule: {
4051
+ name: string;
3943
4052
  type: string;
3944
4053
  id: string;
3945
- name: string;
3946
4054
  createdAt: Date;
3947
4055
  updatedAt: Date;
3948
4056
  deletedAt: Date | null;
@@ -4010,45 +4118,93 @@ export declare const chatContract: {
4010
4118
  channelSecret: z.ZodOptional<z.ZodString>;
4011
4119
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4012
4120
  senderId: z.ZodOptional<z.ZodString>;
4121
+ whatsapp: z.ZodOptional<z.ZodObject<{
4122
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
4123
+ wabaExternalId: z.ZodString;
4124
+ phoneNumberId: z.ZodString;
4125
+ email: z.ZodString;
4126
+ clientId: z.ZodOptional<z.ZodString>;
4127
+ channelId: z.ZodOptional<z.ZodString>;
4128
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4129
+ apiKey: z.ZodOptional<z.ZodString>;
4130
+ }, "strip", z.ZodTypeAny, {
4131
+ email: string;
4132
+ wabaExternalId: string;
4133
+ phoneNumberId: string;
4134
+ wabaBusinessId?: string | undefined;
4135
+ clientId?: string | undefined;
4136
+ channelId?: string | undefined;
4137
+ status?: "active" | "pending" | undefined;
4138
+ apiKey?: string | undefined;
4139
+ }, {
4140
+ email: string;
4141
+ wabaExternalId: string;
4142
+ phoneNumberId: string;
4143
+ wabaBusinessId?: string | undefined;
4144
+ clientId?: string | undefined;
4145
+ channelId?: string | undefined;
4146
+ status?: "active" | "pending" | undefined;
4147
+ apiKey?: string | undefined;
4148
+ }>>;
4013
4149
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4014
4150
  mobileNumber: z.ZodString;
4015
4151
  apiKey: z.ZodString;
4016
4152
  apiSecret: z.ZodString;
4017
4153
  }, "strip", z.ZodTypeAny, {
4018
- mobileNumber: string;
4019
4154
  apiKey: string;
4155
+ mobileNumber: string;
4020
4156
  apiSecret: string;
4021
4157
  }, {
4022
- mobileNumber: string;
4023
4158
  apiKey: string;
4159
+ mobileNumber: string;
4024
4160
  apiSecret: string;
4025
4161
  }>>;
4026
4162
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4027
4163
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4028
4164
  }, "strip", z.ZodTypeAny, {
4029
- id: string;
4030
4165
  name: string;
4166
+ id: string;
4031
4167
  accessToken?: string | undefined;
4032
4168
  channelSecret?: string | undefined;
4033
4169
  additionalCredentials?: any;
4034
4170
  senderId?: string | undefined;
4171
+ whatsapp?: {
4172
+ email: string;
4173
+ wabaExternalId: string;
4174
+ phoneNumberId: string;
4175
+ wabaBusinessId?: string | undefined;
4176
+ clientId?: string | undefined;
4177
+ channelId?: string | undefined;
4178
+ status?: "active" | "pending" | undefined;
4179
+ apiKey?: string | undefined;
4180
+ } | undefined;
4035
4181
  vonageCredentials?: {
4036
- mobileNumber: string;
4037
4182
  apiKey: string;
4183
+ mobileNumber: string;
4038
4184
  apiSecret: string;
4039
4185
  } | undefined;
4040
4186
  lineRichMenuId?: string | null | undefined;
4041
4187
  messengerIntegrationType?: "own" | "business" | undefined;
4042
4188
  }, {
4043
- id: string;
4044
4189
  name: string;
4190
+ id: string;
4045
4191
  accessToken?: string | undefined;
4046
4192
  channelSecret?: string | undefined;
4047
4193
  additionalCredentials?: any;
4048
4194
  senderId?: string | undefined;
4195
+ whatsapp?: {
4196
+ email: string;
4197
+ wabaExternalId: string;
4198
+ phoneNumberId: string;
4199
+ wabaBusinessId?: string | undefined;
4200
+ clientId?: string | undefined;
4201
+ channelId?: string | undefined;
4202
+ status?: "active" | "pending" | undefined;
4203
+ apiKey?: string | undefined;
4204
+ } | undefined;
4049
4205
  vonageCredentials?: {
4050
- mobileNumber: string;
4051
4206
  apiKey: string;
4207
+ mobileNumber: string;
4052
4208
  apiSecret: string;
4053
4209
  } | undefined;
4054
4210
  lineRichMenuId?: string | null | undefined;
@@ -4067,14 +4223,14 @@ export declare const chatContract: {
4067
4223
  integrationId: z.ZodString;
4068
4224
  accessToken: z.ZodString;
4069
4225
  }, "strip", z.ZodTypeAny, {
4070
- id: string;
4071
4226
  name: string;
4227
+ id: string;
4072
4228
  accessToken: string;
4073
4229
  botId: string;
4074
4230
  integrationId: string;
4075
4231
  }, {
4076
- id: string;
4077
4232
  name: string;
4233
+ id: string;
4078
4234
  accessToken: string;
4079
4235
  botId: string;
4080
4236
  integrationId: string;
@@ -4197,9 +4353,9 @@ export declare const chatContract: {
4197
4353
  telephonySignature: string | null;
4198
4354
  }>;
4199
4355
  }, "strip", z.ZodTypeAny, {
4356
+ name: string;
4200
4357
  id: string;
4201
4358
  address: string | null;
4202
- name: string;
4203
4359
  email: string;
4204
4360
  createdAt: Date;
4205
4361
  updatedAt: Date;
@@ -4240,9 +4396,9 @@ export declare const chatContract: {
4240
4396
  telephonySignature: string | null;
4241
4397
  };
4242
4398
  }, {
4399
+ name: string;
4243
4400
  id: string;
4244
4401
  address: string | null;
4245
- name: string;
4246
4402
  email: string;
4247
4403
  createdAt: Date;
4248
4404
  updatedAt: Date;
@@ -4284,19 +4440,29 @@ export declare const chatContract: {
4284
4440
  };
4285
4441
  }>;
4286
4442
  }, "strip", z.ZodTypeAny, {
4443
+ name: string;
4287
4444
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4288
4445
  id: string;
4289
- name: string;
4290
4446
  metadata: {
4291
- id: string;
4292
4447
  name: string;
4448
+ id: string;
4293
4449
  accessToken?: string | undefined;
4294
4450
  channelSecret?: string | undefined;
4295
4451
  additionalCredentials?: any;
4296
4452
  senderId?: string | undefined;
4453
+ whatsapp?: {
4454
+ email: string;
4455
+ wabaExternalId: string;
4456
+ phoneNumberId: string;
4457
+ wabaBusinessId?: string | undefined;
4458
+ clientId?: string | undefined;
4459
+ channelId?: string | undefined;
4460
+ status?: "active" | "pending" | undefined;
4461
+ apiKey?: string | undefined;
4462
+ } | undefined;
4297
4463
  vonageCredentials?: {
4298
- mobileNumber: string;
4299
4464
  apiKey: string;
4465
+ mobileNumber: string;
4300
4466
  apiSecret: string;
4301
4467
  } | undefined;
4302
4468
  lineRichMenuId?: string | null | undefined;
@@ -4307,9 +4473,9 @@ export declare const chatContract: {
4307
4473
  updatedAt: Date;
4308
4474
  deletedAt: Date | null;
4309
4475
  actor: {
4476
+ name: string;
4310
4477
  id: string;
4311
4478
  address: string | null;
4312
- name: string;
4313
4479
  email: string;
4314
4480
  createdAt: Date;
4315
4481
  updatedAt: Date;
@@ -4356,26 +4522,36 @@ export declare const chatContract: {
4356
4522
  connectedUserName: string;
4357
4523
  connectedUserId: string;
4358
4524
  botpressBot: {
4359
- id: string;
4360
4525
  name: string;
4526
+ id: string;
4361
4527
  accessToken: string;
4362
4528
  botId: string;
4363
4529
  integrationId: string;
4364
4530
  } | null;
4365
4531
  }, {
4532
+ name: string;
4366
4533
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4367
4534
  id: string;
4368
- name: string;
4369
4535
  metadata: {
4370
- id: string;
4371
4536
  name: string;
4537
+ id: string;
4372
4538
  accessToken?: string | undefined;
4373
4539
  channelSecret?: string | undefined;
4374
4540
  additionalCredentials?: any;
4375
4541
  senderId?: string | undefined;
4542
+ whatsapp?: {
4543
+ email: string;
4544
+ wabaExternalId: string;
4545
+ phoneNumberId: string;
4546
+ wabaBusinessId?: string | undefined;
4547
+ clientId?: string | undefined;
4548
+ channelId?: string | undefined;
4549
+ status?: "active" | "pending" | undefined;
4550
+ apiKey?: string | undefined;
4551
+ } | undefined;
4376
4552
  vonageCredentials?: {
4377
- mobileNumber: string;
4378
4553
  apiKey: string;
4554
+ mobileNumber: string;
4379
4555
  apiSecret: string;
4380
4556
  } | undefined;
4381
4557
  lineRichMenuId?: string | null | undefined;
@@ -4386,9 +4562,9 @@ export declare const chatContract: {
4386
4562
  updatedAt: Date;
4387
4563
  deletedAt: Date | null;
4388
4564
  actor: {
4565
+ name: string;
4389
4566
  id: string;
4390
4567
  address: string | null;
4391
- name: string;
4392
4568
  email: string;
4393
4569
  createdAt: Date;
4394
4570
  updatedAt: Date;
@@ -4435,8 +4611,8 @@ export declare const chatContract: {
4435
4611
  connectedUserName: string;
4436
4612
  connectedUserId: string;
4437
4613
  botpressBot: {
4438
- id: string;
4439
4614
  name: string;
4615
+ id: string;
4440
4616
  accessToken: string;
4441
4617
  botId: string;
4442
4618
  integrationId: string;
@@ -4565,9 +4741,9 @@ export declare const chatContract: {
4565
4741
  telephonySignature: string | null;
4566
4742
  }>;
4567
4743
  }, "strip", z.ZodTypeAny, {
4744
+ name: string;
4568
4745
  id: string;
4569
4746
  address: string | null;
4570
- name: string;
4571
4747
  email: string;
4572
4748
  createdAt: Date;
4573
4749
  updatedAt: Date;
@@ -4608,9 +4784,9 @@ export declare const chatContract: {
4608
4784
  telephonySignature: string | null;
4609
4785
  };
4610
4786
  }, {
4787
+ name: string;
4611
4788
  id: string;
4612
4789
  address: string | null;
4613
- name: string;
4614
4790
  email: string;
4615
4791
  createdAt: Date;
4616
4792
  updatedAt: Date;
@@ -4671,13 +4847,13 @@ export declare const chatContract: {
4671
4847
  picture: z.ZodOptional<z.ZodString>;
4672
4848
  additionalCredentials: z.ZodAny;
4673
4849
  }, "strip", z.ZodTypeAny, {
4674
- id: string;
4675
4850
  name: string;
4851
+ id: string;
4676
4852
  picture?: string | undefined;
4677
4853
  additionalCredentials?: any;
4678
4854
  }, {
4679
- id: string;
4680
4855
  name: string;
4856
+ id: string;
4681
4857
  picture?: string | undefined;
4682
4858
  additionalCredentials?: any;
4683
4859
  }>;
@@ -4699,14 +4875,14 @@ export declare const chatContract: {
4699
4875
  deletedAt: z.ZodNullable<z.ZodDate>;
4700
4876
  name: z.ZodString;
4701
4877
  }, "strip", z.ZodTypeAny, {
4702
- id: string;
4703
4878
  name: string;
4879
+ id: string;
4704
4880
  createdAt: Date;
4705
4881
  updatedAt: Date;
4706
4882
  deletedAt: Date | null;
4707
4883
  }, {
4708
- id: string;
4709
4884
  name: string;
4885
+ id: string;
4710
4886
  createdAt: Date;
4711
4887
  updatedAt: Date;
4712
4888
  deletedAt: Date | null;
@@ -4862,8 +5038,8 @@ export declare const chatContract: {
4862
5038
  createdAt: Date;
4863
5039
  updatedAt: Date;
4864
5040
  deletedAt: Date | null;
4865
- address?: string | null | undefined;
4866
5041
  name?: string | undefined;
5042
+ address?: string | null | undefined;
4867
5043
  phone?: string | null | undefined;
4868
5044
  industry?: string | null | undefined;
4869
5045
  }, {
@@ -4871,8 +5047,8 @@ export declare const chatContract: {
4871
5047
  createdAt: Date;
4872
5048
  updatedAt: Date;
4873
5049
  deletedAt: Date | null;
4874
- address?: string | null | undefined;
4875
5050
  name?: string | undefined;
5051
+ address?: string | null | undefined;
4876
5052
  phone?: string | null | undefined;
4877
5053
  industry?: string | null | undefined;
4878
5054
  }>>;
@@ -4890,13 +5066,13 @@ export declare const chatContract: {
4890
5066
  picture: z.ZodOptional<z.ZodString>;
4891
5067
  additionalCredentials: z.ZodAny;
4892
5068
  }, "strip", z.ZodTypeAny, {
4893
- id: string;
4894
5069
  name: string;
5070
+ id: string;
4895
5071
  picture?: string | undefined;
4896
5072
  additionalCredentials?: any;
4897
5073
  }, {
4898
- id: string;
4899
5074
  name: string;
5075
+ id: string;
4900
5076
  picture?: string | undefined;
4901
5077
  additionalCredentials?: any;
4902
5078
  }>;
@@ -4904,8 +5080,8 @@ export declare const chatContract: {
4904
5080
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4905
5081
  id: string;
4906
5082
  metadata: {
4907
- id: string;
4908
5083
  name: string;
5084
+ id: string;
4909
5085
  picture?: string | undefined;
4910
5086
  additionalCredentials?: any;
4911
5087
  };
@@ -4918,8 +5094,8 @@ export declare const chatContract: {
4918
5094
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4919
5095
  id: string;
4920
5096
  metadata: {
4921
- id: string;
4922
5097
  name: string;
5098
+ id: string;
4923
5099
  picture?: string | undefined;
4924
5100
  additionalCredentials?: any;
4925
5101
  };
@@ -5229,10 +5405,10 @@ export declare const chatContract: {
5229
5405
  };
5230
5406
  }>, "many">>;
5231
5407
  }, "strip", z.ZodTypeAny, {
5408
+ name: string;
5232
5409
  id: string;
5233
5410
  channel: string | null;
5234
5411
  address: string | null;
5235
- name: string;
5236
5412
  createdAt: Date;
5237
5413
  updatedAt: Date;
5238
5414
  deletedAt: Date | null;
@@ -5277,8 +5453,8 @@ export declare const chatContract: {
5277
5453
  createdAt: Date;
5278
5454
  updatedAt: Date;
5279
5455
  deletedAt: Date | null;
5280
- address?: string | null | undefined;
5281
5456
  name?: string | undefined;
5457
+ address?: string | null | undefined;
5282
5458
  phone?: string | null | undefined;
5283
5459
  industry?: string | null | undefined;
5284
5460
  } | null;
@@ -5286,8 +5462,8 @@ export declare const chatContract: {
5286
5462
  contactProfile: string | null;
5287
5463
  socialProfileUrl: string | null;
5288
5464
  tags: {
5289
- id: string;
5290
5465
  name: string;
5466
+ id: string;
5291
5467
  createdAt: Date;
5292
5468
  updatedAt: Date;
5293
5469
  deletedAt: Date | null;
@@ -5312,8 +5488,8 @@ export declare const chatContract: {
5312
5488
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5313
5489
  id: string;
5314
5490
  metadata: {
5315
- id: string;
5316
5491
  name: string;
5492
+ id: string;
5317
5493
  picture?: string | undefined;
5318
5494
  additionalCredentials?: any;
5319
5495
  };
@@ -5340,10 +5516,10 @@ export declare const chatContract: {
5340
5516
  };
5341
5517
  }[] | undefined;
5342
5518
  }, {
5519
+ name: string;
5343
5520
  id: string;
5344
5521
  channel: string | null;
5345
5522
  address: string | null;
5346
- name: string;
5347
5523
  createdAt: Date;
5348
5524
  updatedAt: Date;
5349
5525
  deletedAt: Date | null;
@@ -5388,8 +5564,8 @@ export declare const chatContract: {
5388
5564
  createdAt: Date;
5389
5565
  updatedAt: Date;
5390
5566
  deletedAt: Date | null;
5391
- address?: string | null | undefined;
5392
5567
  name?: string | undefined;
5568
+ address?: string | null | undefined;
5393
5569
  phone?: string | null | undefined;
5394
5570
  industry?: string | null | undefined;
5395
5571
  } | null;
@@ -5397,8 +5573,8 @@ export declare const chatContract: {
5397
5573
  contactProfile: string | null;
5398
5574
  socialProfileUrl: string | null;
5399
5575
  tags: {
5400
- id: string;
5401
5576
  name: string;
5577
+ id: string;
5402
5578
  createdAt: Date;
5403
5579
  updatedAt: Date;
5404
5580
  deletedAt: Date | null;
@@ -5423,8 +5599,8 @@ export declare const chatContract: {
5423
5599
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5424
5600
  id: string;
5425
5601
  metadata: {
5426
- id: string;
5427
5602
  name: string;
5603
+ id: string;
5428
5604
  picture?: string | undefined;
5429
5605
  additionalCredentials?: any;
5430
5606
  };
@@ -5455,8 +5631,8 @@ export declare const chatContract: {
5455
5631
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5456
5632
  id: string;
5457
5633
  metadata: {
5458
- id: string;
5459
5634
  name: string;
5635
+ id: string;
5460
5636
  picture?: string | undefined;
5461
5637
  additionalCredentials?: any;
5462
5638
  };
@@ -5464,10 +5640,10 @@ export declare const chatContract: {
5464
5640
  updatedAt: Date;
5465
5641
  deletedAt: Date | null;
5466
5642
  contact: {
5643
+ name: string;
5467
5644
  id: string;
5468
5645
  channel: string | null;
5469
5646
  address: string | null;
5470
- name: string;
5471
5647
  createdAt: Date;
5472
5648
  updatedAt: Date;
5473
5649
  deletedAt: Date | null;
@@ -5512,8 +5688,8 @@ export declare const chatContract: {
5512
5688
  createdAt: Date;
5513
5689
  updatedAt: Date;
5514
5690
  deletedAt: Date | null;
5515
- address?: string | null | undefined;
5516
5691
  name?: string | undefined;
5692
+ address?: string | null | undefined;
5517
5693
  phone?: string | null | undefined;
5518
5694
  industry?: string | null | undefined;
5519
5695
  } | null;
@@ -5521,8 +5697,8 @@ export declare const chatContract: {
5521
5697
  contactProfile: string | null;
5522
5698
  socialProfileUrl: string | null;
5523
5699
  tags: {
5524
- id: string;
5525
5700
  name: string;
5701
+ id: string;
5526
5702
  createdAt: Date;
5527
5703
  updatedAt: Date;
5528
5704
  deletedAt: Date | null;
@@ -5547,8 +5723,8 @@ export declare const chatContract: {
5547
5723
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5548
5724
  id: string;
5549
5725
  metadata: {
5550
- id: string;
5551
5726
  name: string;
5727
+ id: string;
5552
5728
  picture?: string | undefined;
5553
5729
  additionalCredentials?: any;
5554
5730
  };
@@ -5581,8 +5757,8 @@ export declare const chatContract: {
5581
5757
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5582
5758
  id: string;
5583
5759
  metadata: {
5584
- id: string;
5585
5760
  name: string;
5761
+ id: string;
5586
5762
  picture?: string | undefined;
5587
5763
  additionalCredentials?: any;
5588
5764
  };
@@ -5590,10 +5766,10 @@ export declare const chatContract: {
5590
5766
  updatedAt: Date;
5591
5767
  deletedAt: Date | null;
5592
5768
  contact: {
5769
+ name: string;
5593
5770
  id: string;
5594
5771
  channel: string | null;
5595
5772
  address: string | null;
5596
- name: string;
5597
5773
  createdAt: Date;
5598
5774
  updatedAt: Date;
5599
5775
  deletedAt: Date | null;
@@ -5638,8 +5814,8 @@ export declare const chatContract: {
5638
5814
  createdAt: Date;
5639
5815
  updatedAt: Date;
5640
5816
  deletedAt: Date | null;
5641
- address?: string | null | undefined;
5642
5817
  name?: string | undefined;
5818
+ address?: string | null | undefined;
5643
5819
  phone?: string | null | undefined;
5644
5820
  industry?: string | null | undefined;
5645
5821
  } | null;
@@ -5647,8 +5823,8 @@ export declare const chatContract: {
5647
5823
  contactProfile: string | null;
5648
5824
  socialProfileUrl: string | null;
5649
5825
  tags: {
5650
- id: string;
5651
5826
  name: string;
5827
+ id: string;
5652
5828
  createdAt: Date;
5653
5829
  updatedAt: Date;
5654
5830
  deletedAt: Date | null;
@@ -5673,8 +5849,8 @@ export declare const chatContract: {
5673
5849
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5674
5850
  id: string;
5675
5851
  metadata: {
5676
- id: string;
5677
5852
  name: string;
5853
+ id: string;
5678
5854
  picture?: string | undefined;
5679
5855
  additionalCredentials?: any;
5680
5856
  };
@@ -5822,9 +5998,9 @@ export declare const chatContract: {
5822
5998
  telephonySignature: string | null;
5823
5999
  }>;
5824
6000
  }, "strip", z.ZodTypeAny, {
6001
+ name: string;
5825
6002
  id: string;
5826
6003
  address: string | null;
5827
- name: string;
5828
6004
  email: string;
5829
6005
  createdAt: Date;
5830
6006
  updatedAt: Date;
@@ -5865,9 +6041,9 @@ export declare const chatContract: {
5865
6041
  telephonySignature: string | null;
5866
6042
  };
5867
6043
  }, {
6044
+ name: string;
5868
6045
  id: string;
5869
6046
  address: string | null;
5870
- name: string;
5871
6047
  email: string;
5872
6048
  createdAt: Date;
5873
6049
  updatedAt: Date;
@@ -5942,14 +6118,14 @@ export declare const chatContract: {
5942
6118
  deletedAt: z.ZodNullable<z.ZodDate>;
5943
6119
  name: z.ZodString;
5944
6120
  }, "strip", z.ZodTypeAny, {
5945
- id: string;
5946
6121
  name: string;
6122
+ id: string;
5947
6123
  createdAt: Date;
5948
6124
  updatedAt: Date;
5949
6125
  deletedAt: Date | null;
5950
6126
  }, {
5951
- id: string;
5952
6127
  name: string;
6128
+ id: string;
5953
6129
  createdAt: Date;
5954
6130
  updatedAt: Date;
5955
6131
  deletedAt: Date | null;
@@ -6120,8 +6296,8 @@ export declare const chatContract: {
6120
6296
  }[];
6121
6297
  }[];
6122
6298
  tags: {
6123
- id: string;
6124
6299
  name: string;
6300
+ id: string;
6125
6301
  createdAt: Date;
6126
6302
  updatedAt: Date;
6127
6303
  deletedAt: Date | null;
@@ -6171,8 +6347,8 @@ export declare const chatContract: {
6171
6347
  }[];
6172
6348
  }[];
6173
6349
  tags: {
6174
- id: string;
6175
6350
  name: string;
6351
+ id: string;
6176
6352
  createdAt: Date;
6177
6353
  updatedAt: Date;
6178
6354
  deletedAt: Date | null;
@@ -6239,8 +6415,8 @@ export declare const chatContract: {
6239
6415
  }[];
6240
6416
  }[];
6241
6417
  tags: {
6242
- id: string;
6243
6418
  name: string;
6419
+ id: string;
6244
6420
  createdAt: Date;
6245
6421
  updatedAt: Date;
6246
6422
  deletedAt: Date | null;
@@ -6307,8 +6483,8 @@ export declare const chatContract: {
6307
6483
  }[];
6308
6484
  }[];
6309
6485
  tags: {
6310
- id: string;
6311
6486
  name: string;
6487
+ id: string;
6312
6488
  createdAt: Date;
6313
6489
  updatedAt: Date;
6314
6490
  deletedAt: Date | null;
@@ -6339,17 +6515,17 @@ export declare const chatContract: {
6339
6515
  isActive: z.ZodBoolean;
6340
6516
  type: z.ZodString;
6341
6517
  }, "strip", z.ZodTypeAny, {
6518
+ name: string;
6342
6519
  type: string;
6343
6520
  id: string;
6344
- name: string;
6345
6521
  createdAt: Date;
6346
6522
  updatedAt: Date;
6347
6523
  deletedAt: Date | null;
6348
6524
  isActive: boolean;
6349
6525
  }, {
6526
+ name: string;
6350
6527
  type: string;
6351
6528
  id: string;
6352
- name: string;
6353
6529
  createdAt: Date;
6354
6530
  updatedAt: Date;
6355
6531
  deletedAt: Date | null;
@@ -6360,19 +6536,29 @@ export declare const chatContract: {
6360
6536
  }, "strip", z.ZodTypeAny, {
6361
6537
  id: string;
6362
6538
  channel: {
6539
+ name: string;
6363
6540
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6364
6541
  id: string;
6365
- name: string;
6366
6542
  metadata: {
6367
- id: string;
6368
6543
  name: string;
6544
+ id: string;
6369
6545
  accessToken?: string | undefined;
6370
6546
  channelSecret?: string | undefined;
6371
6547
  additionalCredentials?: any;
6372
6548
  senderId?: string | undefined;
6549
+ whatsapp?: {
6550
+ email: string;
6551
+ wabaExternalId: string;
6552
+ phoneNumberId: string;
6553
+ wabaBusinessId?: string | undefined;
6554
+ clientId?: string | undefined;
6555
+ channelId?: string | undefined;
6556
+ status?: "active" | "pending" | undefined;
6557
+ apiKey?: string | undefined;
6558
+ } | undefined;
6373
6559
  vonageCredentials?: {
6374
- mobileNumber: string;
6375
6560
  apiKey: string;
6561
+ mobileNumber: string;
6376
6562
  apiSecret: string;
6377
6563
  } | undefined;
6378
6564
  lineRichMenuId?: string | null | undefined;
@@ -6383,9 +6569,9 @@ export declare const chatContract: {
6383
6569
  updatedAt: Date;
6384
6570
  deletedAt: Date | null;
6385
6571
  actor: {
6572
+ name: string;
6386
6573
  id: string;
6387
6574
  address: string | null;
6388
- name: string;
6389
6575
  email: string;
6390
6576
  createdAt: Date;
6391
6577
  updatedAt: Date;
@@ -6432,8 +6618,8 @@ export declare const chatContract: {
6432
6618
  connectedUserName: string;
6433
6619
  connectedUserId: string;
6434
6620
  botpressBot: {
6435
- id: string;
6436
6621
  name: string;
6622
+ id: string;
6437
6623
  accessToken: string;
6438
6624
  botId: string;
6439
6625
  integrationId: string;
@@ -6445,9 +6631,9 @@ export declare const chatContract: {
6445
6631
  updatedAt: Date;
6446
6632
  deletedAt: Date | null;
6447
6633
  actor: {
6634
+ name: string;
6448
6635
  id: string;
6449
6636
  address: string | null;
6450
- name: string;
6451
6637
  email: string;
6452
6638
  createdAt: Date;
6453
6639
  updatedAt: Date;
@@ -6498,8 +6684,8 @@ export declare const chatContract: {
6498
6684
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6499
6685
  id: string;
6500
6686
  metadata: {
6501
- id: string;
6502
6687
  name: string;
6688
+ id: string;
6503
6689
  picture?: string | undefined;
6504
6690
  additionalCredentials?: any;
6505
6691
  };
@@ -6507,10 +6693,10 @@ export declare const chatContract: {
6507
6693
  updatedAt: Date;
6508
6694
  deletedAt: Date | null;
6509
6695
  contact: {
6696
+ name: string;
6510
6697
  id: string;
6511
6698
  channel: string | null;
6512
6699
  address: string | null;
6513
- name: string;
6514
6700
  createdAt: Date;
6515
6701
  updatedAt: Date;
6516
6702
  deletedAt: Date | null;
@@ -6555,8 +6741,8 @@ export declare const chatContract: {
6555
6741
  createdAt: Date;
6556
6742
  updatedAt: Date;
6557
6743
  deletedAt: Date | null;
6558
- address?: string | null | undefined;
6559
6744
  name?: string | undefined;
6745
+ address?: string | null | undefined;
6560
6746
  phone?: string | null | undefined;
6561
6747
  industry?: string | null | undefined;
6562
6748
  } | null;
@@ -6564,8 +6750,8 @@ export declare const chatContract: {
6564
6750
  contactProfile: string | null;
6565
6751
  socialProfileUrl: string | null;
6566
6752
  tags: {
6567
- id: string;
6568
6753
  name: string;
6754
+ id: string;
6569
6755
  createdAt: Date;
6570
6756
  updatedAt: Date;
6571
6757
  deletedAt: Date | null;
@@ -6590,8 +6776,8 @@ export declare const chatContract: {
6590
6776
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6591
6777
  id: string;
6592
6778
  metadata: {
6593
- id: string;
6594
6779
  name: string;
6780
+ id: string;
6595
6781
  picture?: string | undefined;
6596
6782
  additionalCredentials?: any;
6597
6783
  };
@@ -6622,9 +6808,9 @@ export declare const chatContract: {
6622
6808
  socialPlatformId: string;
6623
6809
  };
6624
6810
  assignee: {
6811
+ name: string;
6625
6812
  id: string;
6626
6813
  address: string | null;
6627
- name: string;
6628
6814
  email: string;
6629
6815
  createdAt: Date;
6630
6816
  updatedAt: Date;
@@ -6714,8 +6900,8 @@ export declare const chatContract: {
6714
6900
  }[];
6715
6901
  }[];
6716
6902
  tags: {
6717
- id: string;
6718
6903
  name: string;
6904
+ id: string;
6719
6905
  createdAt: Date;
6720
6906
  updatedAt: Date;
6721
6907
  deletedAt: Date | null;
@@ -6738,9 +6924,9 @@ export declare const chatContract: {
6738
6924
  } | null;
6739
6925
  };
6740
6926
  workflowRule: {
6927
+ name: string;
6741
6928
  type: string;
6742
6929
  id: string;
6743
- name: string;
6744
6930
  createdAt: Date;
6745
6931
  updatedAt: Date;
6746
6932
  deletedAt: Date | null;
@@ -6751,19 +6937,29 @@ export declare const chatContract: {
6751
6937
  }, {
6752
6938
  id: string;
6753
6939
  channel: {
6940
+ name: string;
6754
6941
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6755
6942
  id: string;
6756
- name: string;
6757
6943
  metadata: {
6758
- id: string;
6759
6944
  name: string;
6945
+ id: string;
6760
6946
  accessToken?: string | undefined;
6761
6947
  channelSecret?: string | undefined;
6762
6948
  additionalCredentials?: any;
6763
6949
  senderId?: string | undefined;
6950
+ whatsapp?: {
6951
+ email: string;
6952
+ wabaExternalId: string;
6953
+ phoneNumberId: string;
6954
+ wabaBusinessId?: string | undefined;
6955
+ clientId?: string | undefined;
6956
+ channelId?: string | undefined;
6957
+ status?: "active" | "pending" | undefined;
6958
+ apiKey?: string | undefined;
6959
+ } | undefined;
6764
6960
  vonageCredentials?: {
6765
- mobileNumber: string;
6766
6961
  apiKey: string;
6962
+ mobileNumber: string;
6767
6963
  apiSecret: string;
6768
6964
  } | undefined;
6769
6965
  lineRichMenuId?: string | null | undefined;
@@ -6774,9 +6970,9 @@ export declare const chatContract: {
6774
6970
  updatedAt: Date;
6775
6971
  deletedAt: Date | null;
6776
6972
  actor: {
6973
+ name: string;
6777
6974
  id: string;
6778
6975
  address: string | null;
6779
- name: string;
6780
6976
  email: string;
6781
6977
  createdAt: Date;
6782
6978
  updatedAt: Date;
@@ -6823,8 +7019,8 @@ export declare const chatContract: {
6823
7019
  connectedUserName: string;
6824
7020
  connectedUserId: string;
6825
7021
  botpressBot: {
6826
- id: string;
6827
7022
  name: string;
7023
+ id: string;
6828
7024
  accessToken: string;
6829
7025
  botId: string;
6830
7026
  integrationId: string;
@@ -6836,9 +7032,9 @@ export declare const chatContract: {
6836
7032
  updatedAt: Date;
6837
7033
  deletedAt: Date | null;
6838
7034
  actor: {
7035
+ name: string;
6839
7036
  id: string;
6840
7037
  address: string | null;
6841
- name: string;
6842
7038
  email: string;
6843
7039
  createdAt: Date;
6844
7040
  updatedAt: Date;
@@ -6889,8 +7085,8 @@ export declare const chatContract: {
6889
7085
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6890
7086
  id: string;
6891
7087
  metadata: {
6892
- id: string;
6893
7088
  name: string;
7089
+ id: string;
6894
7090
  picture?: string | undefined;
6895
7091
  additionalCredentials?: any;
6896
7092
  };
@@ -6898,10 +7094,10 @@ export declare const chatContract: {
6898
7094
  updatedAt: Date;
6899
7095
  deletedAt: Date | null;
6900
7096
  contact: {
7097
+ name: string;
6901
7098
  id: string;
6902
7099
  channel: string | null;
6903
7100
  address: string | null;
6904
- name: string;
6905
7101
  createdAt: Date;
6906
7102
  updatedAt: Date;
6907
7103
  deletedAt: Date | null;
@@ -6946,8 +7142,8 @@ export declare const chatContract: {
6946
7142
  createdAt: Date;
6947
7143
  updatedAt: Date;
6948
7144
  deletedAt: Date | null;
6949
- address?: string | null | undefined;
6950
7145
  name?: string | undefined;
7146
+ address?: string | null | undefined;
6951
7147
  phone?: string | null | undefined;
6952
7148
  industry?: string | null | undefined;
6953
7149
  } | null;
@@ -6955,8 +7151,8 @@ export declare const chatContract: {
6955
7151
  contactProfile: string | null;
6956
7152
  socialProfileUrl: string | null;
6957
7153
  tags: {
6958
- id: string;
6959
7154
  name: string;
7155
+ id: string;
6960
7156
  createdAt: Date;
6961
7157
  updatedAt: Date;
6962
7158
  deletedAt: Date | null;
@@ -6981,8 +7177,8 @@ export declare const chatContract: {
6981
7177
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6982
7178
  id: string;
6983
7179
  metadata: {
6984
- id: string;
6985
7180
  name: string;
7181
+ id: string;
6986
7182
  picture?: string | undefined;
6987
7183
  additionalCredentials?: any;
6988
7184
  };
@@ -7013,9 +7209,9 @@ export declare const chatContract: {
7013
7209
  socialPlatformId: string;
7014
7210
  };
7015
7211
  assignee: {
7212
+ name: string;
7016
7213
  id: string;
7017
7214
  address: string | null;
7018
- name: string;
7019
7215
  email: string;
7020
7216
  createdAt: Date;
7021
7217
  updatedAt: Date;
@@ -7105,8 +7301,8 @@ export declare const chatContract: {
7105
7301
  }[];
7106
7302
  }[];
7107
7303
  tags: {
7108
- id: string;
7109
7304
  name: string;
7305
+ id: string;
7110
7306
  createdAt: Date;
7111
7307
  updatedAt: Date;
7112
7308
  deletedAt: Date | null;
@@ -7129,9 +7325,9 @@ export declare const chatContract: {
7129
7325
  } | null;
7130
7326
  };
7131
7327
  workflowRule: {
7328
+ name: string;
7132
7329
  type: string;
7133
7330
  id: string;
7134
- name: string;
7135
7331
  createdAt: Date;
7136
7332
  updatedAt: Date;
7137
7333
  deletedAt: Date | null;
@@ -7144,19 +7340,29 @@ export declare const chatContract: {
7144
7340
  data: {
7145
7341
  id: string;
7146
7342
  channel: {
7343
+ name: string;
7147
7344
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7148
7345
  id: string;
7149
- name: string;
7150
7346
  metadata: {
7151
- id: string;
7152
7347
  name: string;
7348
+ id: string;
7153
7349
  accessToken?: string | undefined;
7154
7350
  channelSecret?: string | undefined;
7155
7351
  additionalCredentials?: any;
7156
7352
  senderId?: string | undefined;
7353
+ whatsapp?: {
7354
+ email: string;
7355
+ wabaExternalId: string;
7356
+ phoneNumberId: string;
7357
+ wabaBusinessId?: string | undefined;
7358
+ clientId?: string | undefined;
7359
+ channelId?: string | undefined;
7360
+ status?: "active" | "pending" | undefined;
7361
+ apiKey?: string | undefined;
7362
+ } | undefined;
7157
7363
  vonageCredentials?: {
7158
- mobileNumber: string;
7159
7364
  apiKey: string;
7365
+ mobileNumber: string;
7160
7366
  apiSecret: string;
7161
7367
  } | undefined;
7162
7368
  lineRichMenuId?: string | null | undefined;
@@ -7167,9 +7373,9 @@ export declare const chatContract: {
7167
7373
  updatedAt: Date;
7168
7374
  deletedAt: Date | null;
7169
7375
  actor: {
7376
+ name: string;
7170
7377
  id: string;
7171
7378
  address: string | null;
7172
- name: string;
7173
7379
  email: string;
7174
7380
  createdAt: Date;
7175
7381
  updatedAt: Date;
@@ -7216,8 +7422,8 @@ export declare const chatContract: {
7216
7422
  connectedUserName: string;
7217
7423
  connectedUserId: string;
7218
7424
  botpressBot: {
7219
- id: string;
7220
7425
  name: string;
7426
+ id: string;
7221
7427
  accessToken: string;
7222
7428
  botId: string;
7223
7429
  integrationId: string;
@@ -7229,9 +7435,9 @@ export declare const chatContract: {
7229
7435
  updatedAt: Date;
7230
7436
  deletedAt: Date | null;
7231
7437
  actor: {
7438
+ name: string;
7232
7439
  id: string;
7233
7440
  address: string | null;
7234
- name: string;
7235
7441
  email: string;
7236
7442
  createdAt: Date;
7237
7443
  updatedAt: Date;
@@ -7282,8 +7488,8 @@ export declare const chatContract: {
7282
7488
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7283
7489
  id: string;
7284
7490
  metadata: {
7285
- id: string;
7286
7491
  name: string;
7492
+ id: string;
7287
7493
  picture?: string | undefined;
7288
7494
  additionalCredentials?: any;
7289
7495
  };
@@ -7291,10 +7497,10 @@ export declare const chatContract: {
7291
7497
  updatedAt: Date;
7292
7498
  deletedAt: Date | null;
7293
7499
  contact: {
7500
+ name: string;
7294
7501
  id: string;
7295
7502
  channel: string | null;
7296
7503
  address: string | null;
7297
- name: string;
7298
7504
  createdAt: Date;
7299
7505
  updatedAt: Date;
7300
7506
  deletedAt: Date | null;
@@ -7339,8 +7545,8 @@ export declare const chatContract: {
7339
7545
  createdAt: Date;
7340
7546
  updatedAt: Date;
7341
7547
  deletedAt: Date | null;
7342
- address?: string | null | undefined;
7343
7548
  name?: string | undefined;
7549
+ address?: string | null | undefined;
7344
7550
  phone?: string | null | undefined;
7345
7551
  industry?: string | null | undefined;
7346
7552
  } | null;
@@ -7348,8 +7554,8 @@ export declare const chatContract: {
7348
7554
  contactProfile: string | null;
7349
7555
  socialProfileUrl: string | null;
7350
7556
  tags: {
7351
- id: string;
7352
7557
  name: string;
7558
+ id: string;
7353
7559
  createdAt: Date;
7354
7560
  updatedAt: Date;
7355
7561
  deletedAt: Date | null;
@@ -7374,8 +7580,8 @@ export declare const chatContract: {
7374
7580
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7375
7581
  id: string;
7376
7582
  metadata: {
7377
- id: string;
7378
7583
  name: string;
7584
+ id: string;
7379
7585
  picture?: string | undefined;
7380
7586
  additionalCredentials?: any;
7381
7587
  };
@@ -7406,9 +7612,9 @@ export declare const chatContract: {
7406
7612
  socialPlatformId: string;
7407
7613
  };
7408
7614
  assignee: {
7615
+ name: string;
7409
7616
  id: string;
7410
7617
  address: string | null;
7411
- name: string;
7412
7618
  email: string;
7413
7619
  createdAt: Date;
7414
7620
  updatedAt: Date;
@@ -7498,8 +7704,8 @@ export declare const chatContract: {
7498
7704
  }[];
7499
7705
  }[];
7500
7706
  tags: {
7501
- id: string;
7502
7707
  name: string;
7708
+ id: string;
7503
7709
  createdAt: Date;
7504
7710
  updatedAt: Date;
7505
7711
  deletedAt: Date | null;
@@ -7522,9 +7728,9 @@ export declare const chatContract: {
7522
7728
  } | null;
7523
7729
  };
7524
7730
  workflowRule: {
7731
+ name: string;
7525
7732
  type: string;
7526
7733
  id: string;
7527
- name: string;
7528
7734
  createdAt: Date;
7529
7735
  updatedAt: Date;
7530
7736
  deletedAt: Date | null;
@@ -7538,19 +7744,29 @@ export declare const chatContract: {
7538
7744
  data: {
7539
7745
  id: string;
7540
7746
  channel: {
7747
+ name: string;
7541
7748
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7542
7749
  id: string;
7543
- name: string;
7544
7750
  metadata: {
7545
- id: string;
7546
7751
  name: string;
7752
+ id: string;
7547
7753
  accessToken?: string | undefined;
7548
7754
  channelSecret?: string | undefined;
7549
7755
  additionalCredentials?: any;
7550
7756
  senderId?: string | undefined;
7757
+ whatsapp?: {
7758
+ email: string;
7759
+ wabaExternalId: string;
7760
+ phoneNumberId: string;
7761
+ wabaBusinessId?: string | undefined;
7762
+ clientId?: string | undefined;
7763
+ channelId?: string | undefined;
7764
+ status?: "active" | "pending" | undefined;
7765
+ apiKey?: string | undefined;
7766
+ } | undefined;
7551
7767
  vonageCredentials?: {
7552
- mobileNumber: string;
7553
7768
  apiKey: string;
7769
+ mobileNumber: string;
7554
7770
  apiSecret: string;
7555
7771
  } | undefined;
7556
7772
  lineRichMenuId?: string | null | undefined;
@@ -7561,9 +7777,9 @@ export declare const chatContract: {
7561
7777
  updatedAt: Date;
7562
7778
  deletedAt: Date | null;
7563
7779
  actor: {
7780
+ name: string;
7564
7781
  id: string;
7565
7782
  address: string | null;
7566
- name: string;
7567
7783
  email: string;
7568
7784
  createdAt: Date;
7569
7785
  updatedAt: Date;
@@ -7610,8 +7826,8 @@ export declare const chatContract: {
7610
7826
  connectedUserName: string;
7611
7827
  connectedUserId: string;
7612
7828
  botpressBot: {
7613
- id: string;
7614
7829
  name: string;
7830
+ id: string;
7615
7831
  accessToken: string;
7616
7832
  botId: string;
7617
7833
  integrationId: string;
@@ -7623,9 +7839,9 @@ export declare const chatContract: {
7623
7839
  updatedAt: Date;
7624
7840
  deletedAt: Date | null;
7625
7841
  actor: {
7842
+ name: string;
7626
7843
  id: string;
7627
7844
  address: string | null;
7628
- name: string;
7629
7845
  email: string;
7630
7846
  createdAt: Date;
7631
7847
  updatedAt: Date;
@@ -7676,8 +7892,8 @@ export declare const chatContract: {
7676
7892
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7677
7893
  id: string;
7678
7894
  metadata: {
7679
- id: string;
7680
7895
  name: string;
7896
+ id: string;
7681
7897
  picture?: string | undefined;
7682
7898
  additionalCredentials?: any;
7683
7899
  };
@@ -7685,10 +7901,10 @@ export declare const chatContract: {
7685
7901
  updatedAt: Date;
7686
7902
  deletedAt: Date | null;
7687
7903
  contact: {
7904
+ name: string;
7688
7905
  id: string;
7689
7906
  channel: string | null;
7690
7907
  address: string | null;
7691
- name: string;
7692
7908
  createdAt: Date;
7693
7909
  updatedAt: Date;
7694
7910
  deletedAt: Date | null;
@@ -7733,8 +7949,8 @@ export declare const chatContract: {
7733
7949
  createdAt: Date;
7734
7950
  updatedAt: Date;
7735
7951
  deletedAt: Date | null;
7736
- address?: string | null | undefined;
7737
7952
  name?: string | undefined;
7953
+ address?: string | null | undefined;
7738
7954
  phone?: string | null | undefined;
7739
7955
  industry?: string | null | undefined;
7740
7956
  } | null;
@@ -7742,8 +7958,8 @@ export declare const chatContract: {
7742
7958
  contactProfile: string | null;
7743
7959
  socialProfileUrl: string | null;
7744
7960
  tags: {
7745
- id: string;
7746
7961
  name: string;
7962
+ id: string;
7747
7963
  createdAt: Date;
7748
7964
  updatedAt: Date;
7749
7965
  deletedAt: Date | null;
@@ -7768,8 +7984,8 @@ export declare const chatContract: {
7768
7984
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7769
7985
  id: string;
7770
7986
  metadata: {
7771
- id: string;
7772
7987
  name: string;
7988
+ id: string;
7773
7989
  picture?: string | undefined;
7774
7990
  additionalCredentials?: any;
7775
7991
  };
@@ -7800,9 +8016,9 @@ export declare const chatContract: {
7800
8016
  socialPlatformId: string;
7801
8017
  };
7802
8018
  assignee: {
8019
+ name: string;
7803
8020
  id: string;
7804
8021
  address: string | null;
7805
- name: string;
7806
8022
  email: string;
7807
8023
  createdAt: Date;
7808
8024
  updatedAt: Date;
@@ -7892,8 +8108,8 @@ export declare const chatContract: {
7892
8108
  }[];
7893
8109
  }[];
7894
8110
  tags: {
7895
- id: string;
7896
8111
  name: string;
8112
+ id: string;
7897
8113
  createdAt: Date;
7898
8114
  updatedAt: Date;
7899
8115
  deletedAt: Date | null;
@@ -7916,9 +8132,9 @@ export declare const chatContract: {
7916
8132
  } | null;
7917
8133
  };
7918
8134
  workflowRule: {
8135
+ name: string;
7919
8136
  type: string;
7920
8137
  id: string;
7921
- name: string;
7922
8138
  createdAt: Date;
7923
8139
  updatedAt: Date;
7924
8140
  deletedAt: Date | null;