@kl1/contracts 1.2.42-uat → 1.2.43-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +1345 -850
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +64 -40
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +76 -48
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +5307 -4759
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1437 -1329
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1189 -995
  27. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  28. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  29. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  30. package/dist/api-contracts/src/company/index.d.ts +4 -4
  31. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  32. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  33. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  34. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  35. package/dist/api-contracts/src/contract.d.ts +14051 -11532
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +300 -274
  38. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-log/schema.d.ts +248 -226
  40. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  41. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  42. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  43. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  44. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  45. package/dist/api-contracts/src/facebook-feed/index.d.ts +1287 -1019
  46. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/facebook-feed/schema.d.ts +103 -85
  48. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/facebook-feed/validation.d.ts +94 -80
  50. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  53. package/dist/api-contracts/src/instagram/index.d.ts +1049 -839
  54. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  56. package/dist/api-contracts/src/line/index.d.ts +1018 -832
  57. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  59. package/dist/api-contracts/src/line/validation.d.ts +99 -77
  60. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  62. package/dist/api-contracts/src/mail/mail-contract.d.ts +2598 -2598
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1474 -1474
  66. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  67. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  68. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  69. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
  71. package/dist/api-contracts/src/messenger/index.d.ts +1052 -842
  72. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  74. package/dist/api-contracts/src/messenger/validation.d.ts +90 -76
  75. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  76. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  77. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  78. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  79. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  80. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  81. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  82. package/dist/api-contracts/src/sms/index.d.ts +171 -131
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  85. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  86. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  87. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  88. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  89. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  90. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  91. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  92. package/dist/api-contracts/src/telegram/index.d.ts +889 -739
  93. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  95. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  96. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  97. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  98. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  99. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  100. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  101. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  102. package/dist/api-contracts/src/user/index.d.ts +23 -23
  103. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  104. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  105. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  106. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  107. package/dist/api-contracts/src/viber/index.d.ts +901 -751
  108. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  110. package/dist/api-contracts/src/webchat/index.d.ts +895 -745
  111. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  113. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  114. package/dist/api-contracts/src/whatsapp/index.d.ts +1115 -774
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  116. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  117. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  118. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  119. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  120. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  121. package/dist/api-contracts/src/workflow-rule/index.d.ts +320 -276
  122. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  123. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  124. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  125. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  126. package/dist/api-contracts/utils.d.ts +1 -1
  127. package/dist/api-contracts/utils.d.ts.map +1 -1
  128. package/dist/entities/src/enums/chat.d.ts +1 -0
  129. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  130. package/dist/index.js +75 -2
  131. package/dist/index.js.map +1 -1
  132. package/dist/index.mjs +75 -2
  133. package/dist/index.mjs.map +1 -1
  134. package/package.json +1 -1
@@ -52,13 +52,13 @@ export declare const chatContract: {
52
52
  picture: z.ZodOptional<z.ZodString>;
53
53
  additionalCredentials: z.ZodAny;
54
54
  }, "strip", z.ZodTypeAny, {
55
- id: string;
56
55
  name: string;
56
+ id: string;
57
57
  picture?: string | undefined;
58
58
  additionalCredentials?: any;
59
59
  }, {
60
- id: string;
61
60
  name: string;
61
+ id: string;
62
62
  picture?: string | undefined;
63
63
  additionalCredentials?: any;
64
64
  }>;
@@ -80,14 +80,14 @@ export declare const chatContract: {
80
80
  deletedAt: z.ZodNullable<z.ZodDate>;
81
81
  name: z.ZodString;
82
82
  }, "strip", z.ZodTypeAny, {
83
- id: string;
84
83
  name: string;
84
+ id: string;
85
85
  createdAt: Date;
86
86
  updatedAt: Date;
87
87
  deletedAt: Date | null;
88
88
  }, {
89
- id: string;
90
89
  name: string;
90
+ id: string;
91
91
  createdAt: Date;
92
92
  updatedAt: Date;
93
93
  deletedAt: Date | null;
@@ -243,8 +243,8 @@ export declare const chatContract: {
243
243
  createdAt: Date;
244
244
  updatedAt: Date;
245
245
  deletedAt: Date | null;
246
- address?: string | null | undefined;
247
246
  name?: string | undefined;
247
+ address?: string | null | undefined;
248
248
  phone?: string | null | undefined;
249
249
  industry?: string | null | undefined;
250
250
  }, {
@@ -252,8 +252,8 @@ export declare const chatContract: {
252
252
  createdAt: Date;
253
253
  updatedAt: Date;
254
254
  deletedAt: Date | null;
255
- address?: string | null | undefined;
256
255
  name?: string | undefined;
256
+ address?: string | null | undefined;
257
257
  phone?: string | null | undefined;
258
258
  industry?: string | null | undefined;
259
259
  }>>;
@@ -271,13 +271,13 @@ export declare const chatContract: {
271
271
  picture: z.ZodOptional<z.ZodString>;
272
272
  additionalCredentials: z.ZodAny;
273
273
  }, "strip", z.ZodTypeAny, {
274
- id: string;
275
274
  name: string;
275
+ id: string;
276
276
  picture?: string | undefined;
277
277
  additionalCredentials?: any;
278
278
  }, {
279
- id: string;
280
279
  name: string;
280
+ id: string;
281
281
  picture?: string | undefined;
282
282
  additionalCredentials?: any;
283
283
  }>;
@@ -285,8 +285,8 @@ export declare const chatContract: {
285
285
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
286
286
  id: string;
287
287
  metadata: {
288
- id: string;
289
288
  name: string;
289
+ id: string;
290
290
  picture?: string | undefined;
291
291
  additionalCredentials?: any;
292
292
  };
@@ -299,8 +299,8 @@ export declare const chatContract: {
299
299
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
300
300
  id: string;
301
301
  metadata: {
302
- id: string;
303
302
  name: string;
303
+ id: string;
304
304
  picture?: string | undefined;
305
305
  additionalCredentials?: any;
306
306
  };
@@ -610,10 +610,10 @@ export declare const chatContract: {
610
610
  };
611
611
  }>, "many">>;
612
612
  }, "strip", z.ZodTypeAny, {
613
+ name: string;
613
614
  id: string;
614
615
  channel: string | null;
615
616
  address: string | null;
616
- name: string;
617
617
  createdAt: Date;
618
618
  updatedAt: Date;
619
619
  deletedAt: Date | null;
@@ -658,8 +658,8 @@ export declare const chatContract: {
658
658
  createdAt: Date;
659
659
  updatedAt: Date;
660
660
  deletedAt: Date | null;
661
- address?: string | null | undefined;
662
661
  name?: string | undefined;
662
+ address?: string | null | undefined;
663
663
  phone?: string | null | undefined;
664
664
  industry?: string | null | undefined;
665
665
  } | null;
@@ -667,8 +667,8 @@ export declare const chatContract: {
667
667
  contactProfile: string | null;
668
668
  socialProfileUrl: string | null;
669
669
  tags: {
670
- id: string;
671
670
  name: string;
671
+ id: string;
672
672
  createdAt: Date;
673
673
  updatedAt: Date;
674
674
  deletedAt: Date | null;
@@ -693,8 +693,8 @@ export declare const chatContract: {
693
693
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
694
694
  id: string;
695
695
  metadata: {
696
- id: string;
697
696
  name: string;
697
+ id: string;
698
698
  picture?: string | undefined;
699
699
  additionalCredentials?: any;
700
700
  };
@@ -721,10 +721,10 @@ export declare const chatContract: {
721
721
  };
722
722
  }[] | undefined;
723
723
  }, {
724
+ name: string;
724
725
  id: string;
725
726
  channel: string | null;
726
727
  address: string | null;
727
- name: string;
728
728
  createdAt: Date;
729
729
  updatedAt: Date;
730
730
  deletedAt: Date | null;
@@ -769,8 +769,8 @@ export declare const chatContract: {
769
769
  createdAt: Date;
770
770
  updatedAt: Date;
771
771
  deletedAt: Date | null;
772
- address?: string | null | undefined;
773
772
  name?: string | undefined;
773
+ address?: string | null | undefined;
774
774
  phone?: string | null | undefined;
775
775
  industry?: string | null | undefined;
776
776
  } | null;
@@ -778,8 +778,8 @@ export declare const chatContract: {
778
778
  contactProfile: string | null;
779
779
  socialProfileUrl: string | null;
780
780
  tags: {
781
- id: string;
782
781
  name: string;
782
+ id: string;
783
783
  createdAt: Date;
784
784
  updatedAt: Date;
785
785
  deletedAt: Date | null;
@@ -804,8 +804,8 @@ export declare const chatContract: {
804
804
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
805
805
  id: string;
806
806
  metadata: {
807
- id: string;
808
807
  name: string;
808
+ id: string;
809
809
  picture?: string | undefined;
810
810
  additionalCredentials?: any;
811
811
  };
@@ -836,8 +836,8 @@ export declare const chatContract: {
836
836
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
837
837
  id: string;
838
838
  metadata: {
839
- id: string;
840
839
  name: string;
840
+ id: string;
841
841
  picture?: string | undefined;
842
842
  additionalCredentials?: any;
843
843
  };
@@ -845,10 +845,10 @@ export declare const chatContract: {
845
845
  updatedAt: Date;
846
846
  deletedAt: Date | null;
847
847
  contact: {
848
+ name: string;
848
849
  id: string;
849
850
  channel: string | null;
850
851
  address: string | null;
851
- name: string;
852
852
  createdAt: Date;
853
853
  updatedAt: Date;
854
854
  deletedAt: Date | null;
@@ -893,8 +893,8 @@ export declare const chatContract: {
893
893
  createdAt: Date;
894
894
  updatedAt: Date;
895
895
  deletedAt: Date | null;
896
- address?: string | null | undefined;
897
896
  name?: string | undefined;
897
+ address?: string | null | undefined;
898
898
  phone?: string | null | undefined;
899
899
  industry?: string | null | undefined;
900
900
  } | null;
@@ -902,8 +902,8 @@ export declare const chatContract: {
902
902
  contactProfile: string | null;
903
903
  socialProfileUrl: string | null;
904
904
  tags: {
905
- id: string;
906
905
  name: string;
906
+ id: string;
907
907
  createdAt: Date;
908
908
  updatedAt: Date;
909
909
  deletedAt: Date | null;
@@ -928,8 +928,8 @@ export declare const chatContract: {
928
928
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
929
929
  id: string;
930
930
  metadata: {
931
- id: string;
932
931
  name: string;
932
+ id: string;
933
933
  picture?: string | undefined;
934
934
  additionalCredentials?: any;
935
935
  };
@@ -962,8 +962,8 @@ export declare const chatContract: {
962
962
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
963
963
  id: string;
964
964
  metadata: {
965
- id: string;
966
965
  name: string;
966
+ id: string;
967
967
  picture?: string | undefined;
968
968
  additionalCredentials?: any;
969
969
  };
@@ -971,10 +971,10 @@ export declare const chatContract: {
971
971
  updatedAt: Date;
972
972
  deletedAt: Date | null;
973
973
  contact: {
974
+ name: string;
974
975
  id: string;
975
976
  channel: string | null;
976
977
  address: string | null;
977
- name: string;
978
978
  createdAt: Date;
979
979
  updatedAt: Date;
980
980
  deletedAt: Date | null;
@@ -1019,8 +1019,8 @@ export declare const chatContract: {
1019
1019
  createdAt: Date;
1020
1020
  updatedAt: Date;
1021
1021
  deletedAt: Date | null;
1022
- address?: string | null | undefined;
1023
1022
  name?: string | undefined;
1023
+ address?: string | null | undefined;
1024
1024
  phone?: string | null | undefined;
1025
1025
  industry?: string | null | undefined;
1026
1026
  } | null;
@@ -1028,8 +1028,8 @@ export declare const chatContract: {
1028
1028
  contactProfile: string | null;
1029
1029
  socialProfileUrl: string | null;
1030
1030
  tags: {
1031
- id: string;
1032
1031
  name: string;
1032
+ id: string;
1033
1033
  createdAt: Date;
1034
1034
  updatedAt: Date;
1035
1035
  deletedAt: Date | null;
@@ -1054,8 +1054,8 @@ export declare const chatContract: {
1054
1054
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1055
1055
  id: string;
1056
1056
  metadata: {
1057
- id: string;
1058
1057
  name: string;
1058
+ id: string;
1059
1059
  picture?: string | undefined;
1060
1060
  additionalCredentials?: any;
1061
1061
  };
@@ -1203,9 +1203,9 @@ export declare const chatContract: {
1203
1203
  telephonySignature: string | null;
1204
1204
  }>;
1205
1205
  }, "strip", z.ZodTypeAny, {
1206
+ name: string;
1206
1207
  id: string;
1207
1208
  address: string | null;
1208
- name: string;
1209
1209
  email: string;
1210
1210
  createdAt: Date;
1211
1211
  updatedAt: Date;
@@ -1246,9 +1246,9 @@ export declare const chatContract: {
1246
1246
  telephonySignature: string | null;
1247
1247
  };
1248
1248
  }, {
1249
+ name: string;
1249
1250
  id: string;
1250
1251
  address: string | null;
1251
- name: string;
1252
1252
  email: string;
1253
1253
  createdAt: Date;
1254
1254
  updatedAt: Date;
@@ -1407,9 +1407,9 @@ export declare const chatContract: {
1407
1407
  telephonySignature: string | null;
1408
1408
  }>;
1409
1409
  }, "strip", z.ZodTypeAny, {
1410
+ name: string;
1410
1411
  id: string;
1411
1412
  address: string | null;
1412
- name: string;
1413
1413
  email: string;
1414
1414
  createdAt: Date;
1415
1415
  updatedAt: Date;
@@ -1450,9 +1450,9 @@ export declare const chatContract: {
1450
1450
  telephonySignature: string | null;
1451
1451
  };
1452
1452
  }, {
1453
+ name: string;
1453
1454
  id: string;
1454
1455
  address: string | null;
1455
- name: string;
1456
1456
  email: string;
1457
1457
  createdAt: Date;
1458
1458
  updatedAt: Date;
@@ -1514,10 +1514,12 @@ export declare const chatContract: {
1514
1514
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1515
1515
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1516
1516
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1517
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1517
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1518
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1519
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1518
1520
  apiKey: z.ZodOptional<z.ZodString>;
1519
1521
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1520
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1522
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1521
1523
  }, "strip", z.ZodTypeAny, {
1522
1524
  wabaBusinessId?: string | null | undefined;
1523
1525
  wabaExternalId?: string | null | undefined;
@@ -1525,10 +1527,12 @@ export declare const chatContract: {
1525
1527
  email?: string | null | undefined;
1526
1528
  clientId?: string | null | undefined;
1527
1529
  channelId?: string | null | undefined;
1528
- status?: "active" | "pending" | undefined;
1530
+ waapiInstanceId?: string | null | undefined;
1531
+ qr?: string | null | undefined;
1532
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1529
1533
  apiKey?: string | undefined;
1530
1534
  tier?: "basic" | "regular" | "premium" | undefined;
1531
- integrationType?: "meta" | "360dialog" | undefined;
1535
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1532
1536
  }, {
1533
1537
  wabaBusinessId?: string | null | undefined;
1534
1538
  wabaExternalId?: string | null | undefined;
@@ -1536,10 +1540,12 @@ export declare const chatContract: {
1536
1540
  email?: string | null | undefined;
1537
1541
  clientId?: string | null | undefined;
1538
1542
  channelId?: string | null | undefined;
1539
- status?: "active" | "pending" | undefined;
1543
+ waapiInstanceId?: string | null | undefined;
1544
+ qr?: string | null | undefined;
1545
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1540
1546
  apiKey?: string | undefined;
1541
1547
  tier?: "basic" | "regular" | "premium" | undefined;
1542
- integrationType?: "meta" | "360dialog" | undefined;
1548
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1543
1549
  }>>;
1544
1550
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1545
1551
  mobileNumber: z.ZodString;
@@ -1558,8 +1564,8 @@ export declare const chatContract: {
1558
1564
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1559
1565
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1560
1566
  }, "strip", z.ZodTypeAny, {
1561
- id: string;
1562
1567
  name: string;
1568
+ id: string;
1563
1569
  accessToken?: string | undefined;
1564
1570
  channelSecret?: string | undefined;
1565
1571
  additionalCredentials?: any;
@@ -1571,10 +1577,12 @@ export declare const chatContract: {
1571
1577
  email?: string | null | undefined;
1572
1578
  clientId?: string | null | undefined;
1573
1579
  channelId?: string | null | undefined;
1574
- status?: "active" | "pending" | undefined;
1580
+ waapiInstanceId?: string | null | undefined;
1581
+ qr?: string | null | undefined;
1582
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1575
1583
  apiKey?: string | undefined;
1576
1584
  tier?: "basic" | "regular" | "premium" | undefined;
1577
- integrationType?: "meta" | "360dialog" | undefined;
1585
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1578
1586
  } | undefined;
1579
1587
  vonageCredentials?: {
1580
1588
  apiKey: string;
@@ -1585,8 +1593,8 @@ export declare const chatContract: {
1585
1593
  messengerIntegrationType?: "own" | "business" | undefined;
1586
1594
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1587
1595
  }, {
1588
- id: string;
1589
1596
  name: string;
1597
+ id: string;
1590
1598
  accessToken?: string | undefined;
1591
1599
  channelSecret?: string | undefined;
1592
1600
  additionalCredentials?: any;
@@ -1598,10 +1606,12 @@ export declare const chatContract: {
1598
1606
  email?: string | null | undefined;
1599
1607
  clientId?: string | null | undefined;
1600
1608
  channelId?: string | null | undefined;
1601
- status?: "active" | "pending" | undefined;
1609
+ waapiInstanceId?: string | null | undefined;
1610
+ qr?: string | null | undefined;
1611
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1602
1612
  apiKey?: string | undefined;
1603
1613
  tier?: "basic" | "regular" | "premium" | undefined;
1604
- integrationType?: "meta" | "360dialog" | undefined;
1614
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1605
1615
  } | undefined;
1606
1616
  vonageCredentials?: {
1607
1617
  apiKey: string;
@@ -1625,14 +1635,14 @@ export declare const chatContract: {
1625
1635
  integrationId: z.ZodString;
1626
1636
  accessToken: z.ZodString;
1627
1637
  }, "strip", z.ZodTypeAny, {
1628
- id: string;
1629
1638
  name: string;
1639
+ id: string;
1630
1640
  accessToken: string;
1631
1641
  botId: string;
1632
1642
  integrationId: string;
1633
1643
  }, {
1634
- id: string;
1635
1644
  name: string;
1645
+ id: string;
1636
1646
  accessToken: string;
1637
1647
  botId: string;
1638
1648
  integrationId: string;
@@ -1755,9 +1765,9 @@ export declare const chatContract: {
1755
1765
  telephonySignature: string | null;
1756
1766
  }>;
1757
1767
  }, "strip", z.ZodTypeAny, {
1768
+ name: string;
1758
1769
  id: string;
1759
1770
  address: string | null;
1760
- name: string;
1761
1771
  email: string;
1762
1772
  createdAt: Date;
1763
1773
  updatedAt: Date;
@@ -1798,9 +1808,9 @@ export declare const chatContract: {
1798
1808
  telephonySignature: string | null;
1799
1809
  };
1800
1810
  }, {
1811
+ name: string;
1801
1812
  id: string;
1802
1813
  address: string | null;
1803
- name: string;
1804
1814
  email: string;
1805
1815
  createdAt: Date;
1806
1816
  updatedAt: Date;
@@ -1842,12 +1852,12 @@ export declare const chatContract: {
1842
1852
  };
1843
1853
  }>;
1844
1854
  }, "strip", z.ZodTypeAny, {
1855
+ name: string;
1845
1856
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1846
1857
  id: string;
1847
- name: string;
1848
1858
  metadata: {
1849
- id: string;
1850
1859
  name: string;
1860
+ id: string;
1851
1861
  accessToken?: string | undefined;
1852
1862
  channelSecret?: string | undefined;
1853
1863
  additionalCredentials?: any;
@@ -1859,10 +1869,12 @@ export declare const chatContract: {
1859
1869
  email?: string | null | undefined;
1860
1870
  clientId?: string | null | undefined;
1861
1871
  channelId?: string | null | undefined;
1862
- status?: "active" | "pending" | undefined;
1872
+ waapiInstanceId?: string | null | undefined;
1873
+ qr?: string | null | undefined;
1874
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1863
1875
  apiKey?: string | undefined;
1864
1876
  tier?: "basic" | "regular" | "premium" | undefined;
1865
- integrationType?: "meta" | "360dialog" | undefined;
1877
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1866
1878
  } | undefined;
1867
1879
  vonageCredentials?: {
1868
1880
  apiKey: string;
@@ -1878,9 +1890,9 @@ export declare const chatContract: {
1878
1890
  updatedAt: Date;
1879
1891
  deletedAt: Date | null;
1880
1892
  actor: {
1893
+ name: string;
1881
1894
  id: string;
1882
1895
  address: string | null;
1883
- name: string;
1884
1896
  email: string;
1885
1897
  createdAt: Date;
1886
1898
  updatedAt: Date;
@@ -1927,19 +1939,19 @@ export declare const chatContract: {
1927
1939
  connectedUserName: string;
1928
1940
  connectedUserId: string;
1929
1941
  botpressBot: {
1930
- id: string;
1931
1942
  name: string;
1943
+ id: string;
1932
1944
  accessToken: string;
1933
1945
  botId: string;
1934
1946
  integrationId: string;
1935
1947
  } | null;
1936
1948
  }, {
1949
+ name: string;
1937
1950
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1938
1951
  id: string;
1939
- name: string;
1940
1952
  metadata: {
1941
- id: string;
1942
1953
  name: string;
1954
+ id: string;
1943
1955
  accessToken?: string | undefined;
1944
1956
  channelSecret?: string | undefined;
1945
1957
  additionalCredentials?: any;
@@ -1951,10 +1963,12 @@ export declare const chatContract: {
1951
1963
  email?: string | null | undefined;
1952
1964
  clientId?: string | null | undefined;
1953
1965
  channelId?: string | null | undefined;
1954
- status?: "active" | "pending" | undefined;
1966
+ waapiInstanceId?: string | null | undefined;
1967
+ qr?: string | null | undefined;
1968
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1955
1969
  apiKey?: string | undefined;
1956
1970
  tier?: "basic" | "regular" | "premium" | undefined;
1957
- integrationType?: "meta" | "360dialog" | undefined;
1971
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1958
1972
  } | undefined;
1959
1973
  vonageCredentials?: {
1960
1974
  apiKey: string;
@@ -1970,9 +1984,9 @@ export declare const chatContract: {
1970
1984
  updatedAt: Date;
1971
1985
  deletedAt: Date | null;
1972
1986
  actor: {
1987
+ name: string;
1973
1988
  id: string;
1974
1989
  address: string | null;
1975
- name: string;
1976
1990
  email: string;
1977
1991
  createdAt: Date;
1978
1992
  updatedAt: Date;
@@ -2019,8 +2033,8 @@ export declare const chatContract: {
2019
2033
  connectedUserName: string;
2020
2034
  connectedUserId: string;
2021
2035
  botpressBot: {
2022
- id: string;
2023
2036
  name: string;
2037
+ id: string;
2024
2038
  accessToken: string;
2025
2039
  botId: string;
2026
2040
  integrationId: string;
@@ -2061,14 +2075,14 @@ export declare const chatContract: {
2061
2075
  deletedAt: z.ZodNullable<z.ZodDate>;
2062
2076
  name: z.ZodString;
2063
2077
  }, "strip", z.ZodTypeAny, {
2064
- id: string;
2065
2078
  name: string;
2079
+ id: string;
2066
2080
  createdAt: Date;
2067
2081
  updatedAt: Date;
2068
2082
  deletedAt: Date | null;
2069
2083
  }, {
2070
- id: string;
2071
2084
  name: string;
2085
+ id: string;
2072
2086
  createdAt: Date;
2073
2087
  updatedAt: Date;
2074
2088
  deletedAt: Date | null;
@@ -2239,8 +2253,8 @@ export declare const chatContract: {
2239
2253
  }[];
2240
2254
  }[];
2241
2255
  tags: {
2242
- id: string;
2243
2256
  name: string;
2257
+ id: string;
2244
2258
  createdAt: Date;
2245
2259
  updatedAt: Date;
2246
2260
  deletedAt: Date | null;
@@ -2290,8 +2304,8 @@ export declare const chatContract: {
2290
2304
  }[];
2291
2305
  }[];
2292
2306
  tags: {
2293
- id: string;
2294
2307
  name: string;
2308
+ id: string;
2295
2309
  createdAt: Date;
2296
2310
  updatedAt: Date;
2297
2311
  deletedAt: Date | null;
@@ -2329,16 +2343,16 @@ export declare const chatContract: {
2329
2343
  position: z.ZodNumber;
2330
2344
  isDefault: z.ZodDefault<z.ZodBoolean>;
2331
2345
  }, "strip", z.ZodTypeAny, {
2332
- id: string;
2333
2346
  name: string;
2347
+ id: string;
2334
2348
  position: number;
2335
2349
  createdAt: Date;
2336
2350
  updatedAt: Date;
2337
2351
  deletedAt: Date | null;
2338
2352
  isDefault: boolean;
2339
2353
  }, {
2340
- id: string;
2341
2354
  name: string;
2355
+ id: string;
2342
2356
  position: number;
2343
2357
  createdAt: Date;
2344
2358
  updatedAt: Date;
@@ -2354,8 +2368,8 @@ export declare const chatContract: {
2354
2368
  endedAt: string | null;
2355
2369
  duration: number | null;
2356
2370
  holdLabel?: {
2357
- id: string;
2358
2371
  name: string;
2372
+ id: string;
2359
2373
  position: number;
2360
2374
  createdAt: Date;
2361
2375
  updatedAt: Date;
@@ -2371,8 +2385,8 @@ export declare const chatContract: {
2371
2385
  endedAt: string | null;
2372
2386
  duration: number | null;
2373
2387
  holdLabel?: {
2374
- id: string;
2375
2388
  name: string;
2389
+ id: string;
2376
2390
  position: number;
2377
2391
  createdAt: Date;
2378
2392
  updatedAt: Date;
@@ -2430,8 +2444,8 @@ export declare const chatContract: {
2430
2444
  }[];
2431
2445
  }[];
2432
2446
  tags: {
2433
- id: string;
2434
2447
  name: string;
2448
+ id: string;
2435
2449
  createdAt: Date;
2436
2450
  updatedAt: Date;
2437
2451
  deletedAt: Date | null;
@@ -2461,8 +2475,8 @@ export declare const chatContract: {
2461
2475
  endedAt: string | null;
2462
2476
  duration: number | null;
2463
2477
  holdLabel?: {
2464
- id: string;
2465
2478
  name: string;
2479
+ id: string;
2466
2480
  position: number;
2467
2481
  createdAt: Date;
2468
2482
  updatedAt: Date;
@@ -2520,8 +2534,8 @@ export declare const chatContract: {
2520
2534
  }[];
2521
2535
  }[];
2522
2536
  tags: {
2523
- id: string;
2524
2537
  name: string;
2538
+ id: string;
2525
2539
  createdAt: Date;
2526
2540
  updatedAt: Date;
2527
2541
  deletedAt: Date | null;
@@ -2551,8 +2565,8 @@ export declare const chatContract: {
2551
2565
  endedAt: string | null;
2552
2566
  duration: number | null;
2553
2567
  holdLabel?: {
2554
- id: string;
2555
2568
  name: string;
2569
+ id: string;
2556
2570
  position: number;
2557
2571
  createdAt: Date;
2558
2572
  updatedAt: Date;
@@ -2570,17 +2584,17 @@ export declare const chatContract: {
2570
2584
  isActive: z.ZodBoolean;
2571
2585
  type: z.ZodString;
2572
2586
  }, "strip", z.ZodTypeAny, {
2587
+ name: string;
2573
2588
  type: string;
2574
2589
  id: string;
2575
- name: string;
2576
2590
  createdAt: Date;
2577
2591
  updatedAt: Date;
2578
2592
  deletedAt: Date | null;
2579
2593
  isActive: boolean;
2580
2594
  }, {
2595
+ name: string;
2581
2596
  type: string;
2582
2597
  id: string;
2583
- name: string;
2584
2598
  createdAt: Date;
2585
2599
  updatedAt: Date;
2586
2600
  deletedAt: Date | null;
@@ -2590,12 +2604,12 @@ export declare const chatContract: {
2590
2604
  }, "strip", z.ZodTypeAny, {
2591
2605
  id: string;
2592
2606
  channel: {
2607
+ name: string;
2593
2608
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2594
2609
  id: string;
2595
- name: string;
2596
2610
  metadata: {
2597
- id: string;
2598
2611
  name: string;
2612
+ id: string;
2599
2613
  accessToken?: string | undefined;
2600
2614
  channelSecret?: string | undefined;
2601
2615
  additionalCredentials?: any;
@@ -2607,10 +2621,12 @@ export declare const chatContract: {
2607
2621
  email?: string | null | undefined;
2608
2622
  clientId?: string | null | undefined;
2609
2623
  channelId?: string | null | undefined;
2610
- status?: "active" | "pending" | undefined;
2624
+ waapiInstanceId?: string | null | undefined;
2625
+ qr?: string | null | undefined;
2626
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2611
2627
  apiKey?: string | undefined;
2612
2628
  tier?: "basic" | "regular" | "premium" | undefined;
2613
- integrationType?: "meta" | "360dialog" | undefined;
2629
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2614
2630
  } | undefined;
2615
2631
  vonageCredentials?: {
2616
2632
  apiKey: string;
@@ -2626,9 +2642,9 @@ export declare const chatContract: {
2626
2642
  updatedAt: Date;
2627
2643
  deletedAt: Date | null;
2628
2644
  actor: {
2645
+ name: string;
2629
2646
  id: string;
2630
2647
  address: string | null;
2631
- name: string;
2632
2648
  email: string;
2633
2649
  createdAt: Date;
2634
2650
  updatedAt: Date;
@@ -2675,8 +2691,8 @@ export declare const chatContract: {
2675
2691
  connectedUserName: string;
2676
2692
  connectedUserId: string;
2677
2693
  botpressBot: {
2678
- id: string;
2679
2694
  name: string;
2695
+ id: string;
2680
2696
  accessToken: string;
2681
2697
  botId: string;
2682
2698
  integrationId: string;
@@ -2688,9 +2704,9 @@ export declare const chatContract: {
2688
2704
  updatedAt: Date;
2689
2705
  deletedAt: Date | null;
2690
2706
  actor: {
2707
+ name: string;
2691
2708
  id: string;
2692
2709
  address: string | null;
2693
- name: string;
2694
2710
  email: string;
2695
2711
  createdAt: Date;
2696
2712
  updatedAt: Date;
@@ -2741,8 +2757,8 @@ export declare const chatContract: {
2741
2757
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2742
2758
  id: string;
2743
2759
  metadata: {
2744
- id: string;
2745
2760
  name: string;
2761
+ id: string;
2746
2762
  picture?: string | undefined;
2747
2763
  additionalCredentials?: any;
2748
2764
  };
@@ -2750,10 +2766,10 @@ export declare const chatContract: {
2750
2766
  updatedAt: Date;
2751
2767
  deletedAt: Date | null;
2752
2768
  contact: {
2769
+ name: string;
2753
2770
  id: string;
2754
2771
  channel: string | null;
2755
2772
  address: string | null;
2756
- name: string;
2757
2773
  createdAt: Date;
2758
2774
  updatedAt: Date;
2759
2775
  deletedAt: Date | null;
@@ -2798,8 +2814,8 @@ export declare const chatContract: {
2798
2814
  createdAt: Date;
2799
2815
  updatedAt: Date;
2800
2816
  deletedAt: Date | null;
2801
- address?: string | null | undefined;
2802
2817
  name?: string | undefined;
2818
+ address?: string | null | undefined;
2803
2819
  phone?: string | null | undefined;
2804
2820
  industry?: string | null | undefined;
2805
2821
  } | null;
@@ -2807,8 +2823,8 @@ export declare const chatContract: {
2807
2823
  contactProfile: string | null;
2808
2824
  socialProfileUrl: string | null;
2809
2825
  tags: {
2810
- id: string;
2811
2826
  name: string;
2827
+ id: string;
2812
2828
  createdAt: Date;
2813
2829
  updatedAt: Date;
2814
2830
  deletedAt: Date | null;
@@ -2833,8 +2849,8 @@ export declare const chatContract: {
2833
2849
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2834
2850
  id: string;
2835
2851
  metadata: {
2836
- id: string;
2837
2852
  name: string;
2853
+ id: string;
2838
2854
  picture?: string | undefined;
2839
2855
  additionalCredentials?: any;
2840
2856
  };
@@ -2865,9 +2881,9 @@ export declare const chatContract: {
2865
2881
  socialPlatformId: string;
2866
2882
  };
2867
2883
  assignee: {
2884
+ name: string;
2868
2885
  id: string;
2869
2886
  address: string | null;
2870
- name: string;
2871
2887
  email: string;
2872
2888
  createdAt: Date;
2873
2889
  updatedAt: Date;
@@ -2961,8 +2977,8 @@ export declare const chatContract: {
2961
2977
  }[];
2962
2978
  }[];
2963
2979
  tags: {
2964
- id: string;
2965
2980
  name: string;
2981
+ id: string;
2966
2982
  createdAt: Date;
2967
2983
  updatedAt: Date;
2968
2984
  deletedAt: Date | null;
@@ -2992,8 +3008,8 @@ export declare const chatContract: {
2992
3008
  endedAt: string | null;
2993
3009
  duration: number | null;
2994
3010
  holdLabel?: {
2995
- id: string;
2996
3011
  name: string;
3012
+ id: string;
2997
3013
  position: number;
2998
3014
  createdAt: Date;
2999
3015
  updatedAt: Date;
@@ -3003,9 +3019,9 @@ export declare const chatContract: {
3003
3019
  }[] | null | undefined;
3004
3020
  };
3005
3021
  workflowRule: {
3022
+ name: string;
3006
3023
  type: string;
3007
3024
  id: string;
3008
- name: string;
3009
3025
  createdAt: Date;
3010
3026
  updatedAt: Date;
3011
3027
  deletedAt: Date | null;
@@ -3015,12 +3031,12 @@ export declare const chatContract: {
3015
3031
  }, {
3016
3032
  id: string;
3017
3033
  channel: {
3034
+ name: string;
3018
3035
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3019
3036
  id: string;
3020
- name: string;
3021
3037
  metadata: {
3022
- id: string;
3023
3038
  name: string;
3039
+ id: string;
3024
3040
  accessToken?: string | undefined;
3025
3041
  channelSecret?: string | undefined;
3026
3042
  additionalCredentials?: any;
@@ -3032,10 +3048,12 @@ export declare const chatContract: {
3032
3048
  email?: string | null | undefined;
3033
3049
  clientId?: string | null | undefined;
3034
3050
  channelId?: string | null | undefined;
3035
- status?: "active" | "pending" | undefined;
3051
+ waapiInstanceId?: string | null | undefined;
3052
+ qr?: string | null | undefined;
3053
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3036
3054
  apiKey?: string | undefined;
3037
3055
  tier?: "basic" | "regular" | "premium" | undefined;
3038
- integrationType?: "meta" | "360dialog" | undefined;
3056
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3039
3057
  } | undefined;
3040
3058
  vonageCredentials?: {
3041
3059
  apiKey: string;
@@ -3051,9 +3069,9 @@ export declare const chatContract: {
3051
3069
  updatedAt: Date;
3052
3070
  deletedAt: Date | null;
3053
3071
  actor: {
3072
+ name: string;
3054
3073
  id: string;
3055
3074
  address: string | null;
3056
- name: string;
3057
3075
  email: string;
3058
3076
  createdAt: Date;
3059
3077
  updatedAt: Date;
@@ -3100,8 +3118,8 @@ export declare const chatContract: {
3100
3118
  connectedUserName: string;
3101
3119
  connectedUserId: string;
3102
3120
  botpressBot: {
3103
- id: string;
3104
3121
  name: string;
3122
+ id: string;
3105
3123
  accessToken: string;
3106
3124
  botId: string;
3107
3125
  integrationId: string;
@@ -3113,9 +3131,9 @@ export declare const chatContract: {
3113
3131
  updatedAt: Date;
3114
3132
  deletedAt: Date | null;
3115
3133
  actor: {
3134
+ name: string;
3116
3135
  id: string;
3117
3136
  address: string | null;
3118
- name: string;
3119
3137
  email: string;
3120
3138
  createdAt: Date;
3121
3139
  updatedAt: Date;
@@ -3166,8 +3184,8 @@ export declare const chatContract: {
3166
3184
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3167
3185
  id: string;
3168
3186
  metadata: {
3169
- id: string;
3170
3187
  name: string;
3188
+ id: string;
3171
3189
  picture?: string | undefined;
3172
3190
  additionalCredentials?: any;
3173
3191
  };
@@ -3175,10 +3193,10 @@ export declare const chatContract: {
3175
3193
  updatedAt: Date;
3176
3194
  deletedAt: Date | null;
3177
3195
  contact: {
3196
+ name: string;
3178
3197
  id: string;
3179
3198
  channel: string | null;
3180
3199
  address: string | null;
3181
- name: string;
3182
3200
  createdAt: Date;
3183
3201
  updatedAt: Date;
3184
3202
  deletedAt: Date | null;
@@ -3223,8 +3241,8 @@ export declare const chatContract: {
3223
3241
  createdAt: Date;
3224
3242
  updatedAt: Date;
3225
3243
  deletedAt: Date | null;
3226
- address?: string | null | undefined;
3227
3244
  name?: string | undefined;
3245
+ address?: string | null | undefined;
3228
3246
  phone?: string | null | undefined;
3229
3247
  industry?: string | null | undefined;
3230
3248
  } | null;
@@ -3232,8 +3250,8 @@ export declare const chatContract: {
3232
3250
  contactProfile: string | null;
3233
3251
  socialProfileUrl: string | null;
3234
3252
  tags: {
3235
- id: string;
3236
3253
  name: string;
3254
+ id: string;
3237
3255
  createdAt: Date;
3238
3256
  updatedAt: Date;
3239
3257
  deletedAt: Date | null;
@@ -3258,8 +3276,8 @@ export declare const chatContract: {
3258
3276
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3259
3277
  id: string;
3260
3278
  metadata: {
3261
- id: string;
3262
3279
  name: string;
3280
+ id: string;
3263
3281
  picture?: string | undefined;
3264
3282
  additionalCredentials?: any;
3265
3283
  };
@@ -3290,9 +3308,9 @@ export declare const chatContract: {
3290
3308
  socialPlatformId: string;
3291
3309
  };
3292
3310
  assignee: {
3311
+ name: string;
3293
3312
  id: string;
3294
3313
  address: string | null;
3295
- name: string;
3296
3314
  email: string;
3297
3315
  createdAt: Date;
3298
3316
  updatedAt: Date;
@@ -3386,8 +3404,8 @@ export declare const chatContract: {
3386
3404
  }[];
3387
3405
  }[];
3388
3406
  tags: {
3389
- id: string;
3390
3407
  name: string;
3408
+ id: string;
3391
3409
  createdAt: Date;
3392
3410
  updatedAt: Date;
3393
3411
  deletedAt: Date | null;
@@ -3417,8 +3435,8 @@ export declare const chatContract: {
3417
3435
  endedAt: string | null;
3418
3436
  duration: number | null;
3419
3437
  holdLabel?: {
3420
- id: string;
3421
3438
  name: string;
3439
+ id: string;
3422
3440
  position: number;
3423
3441
  createdAt: Date;
3424
3442
  updatedAt: Date;
@@ -3428,9 +3446,9 @@ export declare const chatContract: {
3428
3446
  }[] | null | undefined;
3429
3447
  };
3430
3448
  workflowRule: {
3449
+ name: string;
3431
3450
  type: string;
3432
3451
  id: string;
3433
- name: string;
3434
3452
  createdAt: Date;
3435
3453
  updatedAt: Date;
3436
3454
  deletedAt: Date | null;
@@ -3442,12 +3460,12 @@ export declare const chatContract: {
3442
3460
  data: {
3443
3461
  id: string;
3444
3462
  channel: {
3463
+ name: string;
3445
3464
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3446
3465
  id: string;
3447
- name: string;
3448
3466
  metadata: {
3449
- id: string;
3450
3467
  name: string;
3468
+ id: string;
3451
3469
  accessToken?: string | undefined;
3452
3470
  channelSecret?: string | undefined;
3453
3471
  additionalCredentials?: any;
@@ -3459,10 +3477,12 @@ export declare const chatContract: {
3459
3477
  email?: string | null | undefined;
3460
3478
  clientId?: string | null | undefined;
3461
3479
  channelId?: string | null | undefined;
3462
- status?: "active" | "pending" | undefined;
3480
+ waapiInstanceId?: string | null | undefined;
3481
+ qr?: string | null | undefined;
3482
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3463
3483
  apiKey?: string | undefined;
3464
3484
  tier?: "basic" | "regular" | "premium" | undefined;
3465
- integrationType?: "meta" | "360dialog" | undefined;
3485
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3466
3486
  } | undefined;
3467
3487
  vonageCredentials?: {
3468
3488
  apiKey: string;
@@ -3478,9 +3498,9 @@ export declare const chatContract: {
3478
3498
  updatedAt: Date;
3479
3499
  deletedAt: Date | null;
3480
3500
  actor: {
3501
+ name: string;
3481
3502
  id: string;
3482
3503
  address: string | null;
3483
- name: string;
3484
3504
  email: string;
3485
3505
  createdAt: Date;
3486
3506
  updatedAt: Date;
@@ -3527,8 +3547,8 @@ export declare const chatContract: {
3527
3547
  connectedUserName: string;
3528
3548
  connectedUserId: string;
3529
3549
  botpressBot: {
3530
- id: string;
3531
3550
  name: string;
3551
+ id: string;
3532
3552
  accessToken: string;
3533
3553
  botId: string;
3534
3554
  integrationId: string;
@@ -3540,9 +3560,9 @@ export declare const chatContract: {
3540
3560
  updatedAt: Date;
3541
3561
  deletedAt: Date | null;
3542
3562
  actor: {
3563
+ name: string;
3543
3564
  id: string;
3544
3565
  address: string | null;
3545
- name: string;
3546
3566
  email: string;
3547
3567
  createdAt: Date;
3548
3568
  updatedAt: Date;
@@ -3593,8 +3613,8 @@ export declare const chatContract: {
3593
3613
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3594
3614
  id: string;
3595
3615
  metadata: {
3596
- id: string;
3597
3616
  name: string;
3617
+ id: string;
3598
3618
  picture?: string | undefined;
3599
3619
  additionalCredentials?: any;
3600
3620
  };
@@ -3602,10 +3622,10 @@ export declare const chatContract: {
3602
3622
  updatedAt: Date;
3603
3623
  deletedAt: Date | null;
3604
3624
  contact: {
3625
+ name: string;
3605
3626
  id: string;
3606
3627
  channel: string | null;
3607
3628
  address: string | null;
3608
- name: string;
3609
3629
  createdAt: Date;
3610
3630
  updatedAt: Date;
3611
3631
  deletedAt: Date | null;
@@ -3650,8 +3670,8 @@ export declare const chatContract: {
3650
3670
  createdAt: Date;
3651
3671
  updatedAt: Date;
3652
3672
  deletedAt: Date | null;
3653
- address?: string | null | undefined;
3654
3673
  name?: string | undefined;
3674
+ address?: string | null | undefined;
3655
3675
  phone?: string | null | undefined;
3656
3676
  industry?: string | null | undefined;
3657
3677
  } | null;
@@ -3659,8 +3679,8 @@ export declare const chatContract: {
3659
3679
  contactProfile: string | null;
3660
3680
  socialProfileUrl: string | null;
3661
3681
  tags: {
3662
- id: string;
3663
3682
  name: string;
3683
+ id: string;
3664
3684
  createdAt: Date;
3665
3685
  updatedAt: Date;
3666
3686
  deletedAt: Date | null;
@@ -3685,8 +3705,8 @@ export declare const chatContract: {
3685
3705
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3686
3706
  id: string;
3687
3707
  metadata: {
3688
- id: string;
3689
3708
  name: string;
3709
+ id: string;
3690
3710
  picture?: string | undefined;
3691
3711
  additionalCredentials?: any;
3692
3712
  };
@@ -3717,9 +3737,9 @@ export declare const chatContract: {
3717
3737
  socialPlatformId: string;
3718
3738
  };
3719
3739
  assignee: {
3740
+ name: string;
3720
3741
  id: string;
3721
3742
  address: string | null;
3722
- name: string;
3723
3743
  email: string;
3724
3744
  createdAt: Date;
3725
3745
  updatedAt: Date;
@@ -3813,8 +3833,8 @@ export declare const chatContract: {
3813
3833
  }[];
3814
3834
  }[];
3815
3835
  tags: {
3816
- id: string;
3817
3836
  name: string;
3837
+ id: string;
3818
3838
  createdAt: Date;
3819
3839
  updatedAt: Date;
3820
3840
  deletedAt: Date | null;
@@ -3844,8 +3864,8 @@ export declare const chatContract: {
3844
3864
  endedAt: string | null;
3845
3865
  duration: number | null;
3846
3866
  holdLabel?: {
3847
- id: string;
3848
3867
  name: string;
3868
+ id: string;
3849
3869
  position: number;
3850
3870
  createdAt: Date;
3851
3871
  updatedAt: Date;
@@ -3855,9 +3875,9 @@ export declare const chatContract: {
3855
3875
  }[] | null | undefined;
3856
3876
  };
3857
3877
  workflowRule: {
3878
+ name: string;
3858
3879
  type: string;
3859
3880
  id: string;
3860
- name: string;
3861
3881
  createdAt: Date;
3862
3882
  updatedAt: Date;
3863
3883
  deletedAt: Date | null;
@@ -3870,12 +3890,12 @@ export declare const chatContract: {
3870
3890
  data: {
3871
3891
  id: string;
3872
3892
  channel: {
3893
+ name: string;
3873
3894
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3874
3895
  id: string;
3875
- name: string;
3876
3896
  metadata: {
3877
- id: string;
3878
3897
  name: string;
3898
+ id: string;
3879
3899
  accessToken?: string | undefined;
3880
3900
  channelSecret?: string | undefined;
3881
3901
  additionalCredentials?: any;
@@ -3887,10 +3907,12 @@ export declare const chatContract: {
3887
3907
  email?: string | null | undefined;
3888
3908
  clientId?: string | null | undefined;
3889
3909
  channelId?: string | null | undefined;
3890
- status?: "active" | "pending" | undefined;
3910
+ waapiInstanceId?: string | null | undefined;
3911
+ qr?: string | null | undefined;
3912
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3891
3913
  apiKey?: string | undefined;
3892
3914
  tier?: "basic" | "regular" | "premium" | undefined;
3893
- integrationType?: "meta" | "360dialog" | undefined;
3915
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3894
3916
  } | undefined;
3895
3917
  vonageCredentials?: {
3896
3918
  apiKey: string;
@@ -3906,9 +3928,9 @@ export declare const chatContract: {
3906
3928
  updatedAt: Date;
3907
3929
  deletedAt: Date | null;
3908
3930
  actor: {
3931
+ name: string;
3909
3932
  id: string;
3910
3933
  address: string | null;
3911
- name: string;
3912
3934
  email: string;
3913
3935
  createdAt: Date;
3914
3936
  updatedAt: Date;
@@ -3955,8 +3977,8 @@ export declare const chatContract: {
3955
3977
  connectedUserName: string;
3956
3978
  connectedUserId: string;
3957
3979
  botpressBot: {
3958
- id: string;
3959
3980
  name: string;
3981
+ id: string;
3960
3982
  accessToken: string;
3961
3983
  botId: string;
3962
3984
  integrationId: string;
@@ -3968,9 +3990,9 @@ export declare const chatContract: {
3968
3990
  updatedAt: Date;
3969
3991
  deletedAt: Date | null;
3970
3992
  actor: {
3993
+ name: string;
3971
3994
  id: string;
3972
3995
  address: string | null;
3973
- name: string;
3974
3996
  email: string;
3975
3997
  createdAt: Date;
3976
3998
  updatedAt: Date;
@@ -4021,8 +4043,8 @@ export declare const chatContract: {
4021
4043
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4022
4044
  id: string;
4023
4045
  metadata: {
4024
- id: string;
4025
4046
  name: string;
4047
+ id: string;
4026
4048
  picture?: string | undefined;
4027
4049
  additionalCredentials?: any;
4028
4050
  };
@@ -4030,10 +4052,10 @@ export declare const chatContract: {
4030
4052
  updatedAt: Date;
4031
4053
  deletedAt: Date | null;
4032
4054
  contact: {
4055
+ name: string;
4033
4056
  id: string;
4034
4057
  channel: string | null;
4035
4058
  address: string | null;
4036
- name: string;
4037
4059
  createdAt: Date;
4038
4060
  updatedAt: Date;
4039
4061
  deletedAt: Date | null;
@@ -4078,8 +4100,8 @@ export declare const chatContract: {
4078
4100
  createdAt: Date;
4079
4101
  updatedAt: Date;
4080
4102
  deletedAt: Date | null;
4081
- address?: string | null | undefined;
4082
4103
  name?: string | undefined;
4104
+ address?: string | null | undefined;
4083
4105
  phone?: string | null | undefined;
4084
4106
  industry?: string | null | undefined;
4085
4107
  } | null;
@@ -4087,8 +4109,8 @@ export declare const chatContract: {
4087
4109
  contactProfile: string | null;
4088
4110
  socialProfileUrl: string | null;
4089
4111
  tags: {
4090
- id: string;
4091
4112
  name: string;
4113
+ id: string;
4092
4114
  createdAt: Date;
4093
4115
  updatedAt: Date;
4094
4116
  deletedAt: Date | null;
@@ -4113,8 +4135,8 @@ export declare const chatContract: {
4113
4135
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4114
4136
  id: string;
4115
4137
  metadata: {
4116
- id: string;
4117
4138
  name: string;
4139
+ id: string;
4118
4140
  picture?: string | undefined;
4119
4141
  additionalCredentials?: any;
4120
4142
  };
@@ -4145,9 +4167,9 @@ export declare const chatContract: {
4145
4167
  socialPlatformId: string;
4146
4168
  };
4147
4169
  assignee: {
4170
+ name: string;
4148
4171
  id: string;
4149
4172
  address: string | null;
4150
- name: string;
4151
4173
  email: string;
4152
4174
  createdAt: Date;
4153
4175
  updatedAt: Date;
@@ -4241,8 +4263,8 @@ export declare const chatContract: {
4241
4263
  }[];
4242
4264
  }[];
4243
4265
  tags: {
4244
- id: string;
4245
4266
  name: string;
4267
+ id: string;
4246
4268
  createdAt: Date;
4247
4269
  updatedAt: Date;
4248
4270
  deletedAt: Date | null;
@@ -4272,8 +4294,8 @@ export declare const chatContract: {
4272
4294
  endedAt: string | null;
4273
4295
  duration: number | null;
4274
4296
  holdLabel?: {
4275
- id: string;
4276
4297
  name: string;
4298
+ id: string;
4277
4299
  position: number;
4278
4300
  createdAt: Date;
4279
4301
  updatedAt: Date;
@@ -4283,9 +4305,9 @@ export declare const chatContract: {
4283
4305
  }[] | null | undefined;
4284
4306
  };
4285
4307
  workflowRule: {
4308
+ name: string;
4286
4309
  type: string;
4287
4310
  id: string;
4288
- name: string;
4289
4311
  createdAt: Date;
4290
4312
  updatedAt: Date;
4291
4313
  deletedAt: Date | null;
@@ -4360,10 +4382,12 @@ export declare const chatContract: {
4360
4382
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4361
4383
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4362
4384
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4363
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4385
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4386
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4387
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
4364
4388
  apiKey: z.ZodOptional<z.ZodString>;
4365
4389
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4366
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
4390
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
4367
4391
  }, "strip", z.ZodTypeAny, {
4368
4392
  wabaBusinessId?: string | null | undefined;
4369
4393
  wabaExternalId?: string | null | undefined;
@@ -4371,10 +4395,12 @@ export declare const chatContract: {
4371
4395
  email?: string | null | undefined;
4372
4396
  clientId?: string | null | undefined;
4373
4397
  channelId?: string | null | undefined;
4374
- status?: "active" | "pending" | undefined;
4398
+ waapiInstanceId?: string | null | undefined;
4399
+ qr?: string | null | undefined;
4400
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4375
4401
  apiKey?: string | undefined;
4376
4402
  tier?: "basic" | "regular" | "premium" | undefined;
4377
- integrationType?: "meta" | "360dialog" | undefined;
4403
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4378
4404
  }, {
4379
4405
  wabaBusinessId?: string | null | undefined;
4380
4406
  wabaExternalId?: string | null | undefined;
@@ -4382,10 +4408,12 @@ export declare const chatContract: {
4382
4408
  email?: string | null | undefined;
4383
4409
  clientId?: string | null | undefined;
4384
4410
  channelId?: string | null | undefined;
4385
- status?: "active" | "pending" | undefined;
4411
+ waapiInstanceId?: string | null | undefined;
4412
+ qr?: string | null | undefined;
4413
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4386
4414
  apiKey?: string | undefined;
4387
4415
  tier?: "basic" | "regular" | "premium" | undefined;
4388
- integrationType?: "meta" | "360dialog" | undefined;
4416
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4389
4417
  }>>;
4390
4418
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4391
4419
  mobileNumber: z.ZodString;
@@ -4404,8 +4432,8 @@ export declare const chatContract: {
4404
4432
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4405
4433
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4406
4434
  }, "strip", z.ZodTypeAny, {
4407
- id: string;
4408
4435
  name: string;
4436
+ id: string;
4409
4437
  accessToken?: string | undefined;
4410
4438
  channelSecret?: string | undefined;
4411
4439
  additionalCredentials?: any;
@@ -4417,10 +4445,12 @@ export declare const chatContract: {
4417
4445
  email?: string | null | undefined;
4418
4446
  clientId?: string | null | undefined;
4419
4447
  channelId?: string | null | undefined;
4420
- status?: "active" | "pending" | undefined;
4448
+ waapiInstanceId?: string | null | undefined;
4449
+ qr?: string | null | undefined;
4450
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4421
4451
  apiKey?: string | undefined;
4422
4452
  tier?: "basic" | "regular" | "premium" | undefined;
4423
- integrationType?: "meta" | "360dialog" | undefined;
4453
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4424
4454
  } | undefined;
4425
4455
  vonageCredentials?: {
4426
4456
  apiKey: string;
@@ -4431,8 +4461,8 @@ export declare const chatContract: {
4431
4461
  messengerIntegrationType?: "own" | "business" | undefined;
4432
4462
  facebookFeedIntegrationType?: "own" | "business" | undefined;
4433
4463
  }, {
4434
- id: string;
4435
4464
  name: string;
4465
+ id: string;
4436
4466
  accessToken?: string | undefined;
4437
4467
  channelSecret?: string | undefined;
4438
4468
  additionalCredentials?: any;
@@ -4444,10 +4474,12 @@ export declare const chatContract: {
4444
4474
  email?: string | null | undefined;
4445
4475
  clientId?: string | null | undefined;
4446
4476
  channelId?: string | null | undefined;
4447
- status?: "active" | "pending" | undefined;
4477
+ waapiInstanceId?: string | null | undefined;
4478
+ qr?: string | null | undefined;
4479
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4448
4480
  apiKey?: string | undefined;
4449
4481
  tier?: "basic" | "regular" | "premium" | undefined;
4450
- integrationType?: "meta" | "360dialog" | undefined;
4482
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4451
4483
  } | undefined;
4452
4484
  vonageCredentials?: {
4453
4485
  apiKey: string;
@@ -4471,14 +4503,14 @@ export declare const chatContract: {
4471
4503
  integrationId: z.ZodString;
4472
4504
  accessToken: z.ZodString;
4473
4505
  }, "strip", z.ZodTypeAny, {
4474
- id: string;
4475
4506
  name: string;
4507
+ id: string;
4476
4508
  accessToken: string;
4477
4509
  botId: string;
4478
4510
  integrationId: string;
4479
4511
  }, {
4480
- id: string;
4481
4512
  name: string;
4513
+ id: string;
4482
4514
  accessToken: string;
4483
4515
  botId: string;
4484
4516
  integrationId: string;
@@ -4601,9 +4633,9 @@ export declare const chatContract: {
4601
4633
  telephonySignature: string | null;
4602
4634
  }>;
4603
4635
  }, "strip", z.ZodTypeAny, {
4636
+ name: string;
4604
4637
  id: string;
4605
4638
  address: string | null;
4606
- name: string;
4607
4639
  email: string;
4608
4640
  createdAt: Date;
4609
4641
  updatedAt: Date;
@@ -4644,9 +4676,9 @@ export declare const chatContract: {
4644
4676
  telephonySignature: string | null;
4645
4677
  };
4646
4678
  }, {
4679
+ name: string;
4647
4680
  id: string;
4648
4681
  address: string | null;
4649
- name: string;
4650
4682
  email: string;
4651
4683
  createdAt: Date;
4652
4684
  updatedAt: Date;
@@ -4688,12 +4720,12 @@ export declare const chatContract: {
4688
4720
  };
4689
4721
  }>;
4690
4722
  }, "strip", z.ZodTypeAny, {
4723
+ name: string;
4691
4724
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4692
4725
  id: string;
4693
- name: string;
4694
4726
  metadata: {
4695
- id: string;
4696
4727
  name: string;
4728
+ id: string;
4697
4729
  accessToken?: string | undefined;
4698
4730
  channelSecret?: string | undefined;
4699
4731
  additionalCredentials?: any;
@@ -4705,10 +4737,12 @@ export declare const chatContract: {
4705
4737
  email?: string | null | undefined;
4706
4738
  clientId?: string | null | undefined;
4707
4739
  channelId?: string | null | undefined;
4708
- status?: "active" | "pending" | undefined;
4740
+ waapiInstanceId?: string | null | undefined;
4741
+ qr?: string | null | undefined;
4742
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4709
4743
  apiKey?: string | undefined;
4710
4744
  tier?: "basic" | "regular" | "premium" | undefined;
4711
- integrationType?: "meta" | "360dialog" | undefined;
4745
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4712
4746
  } | undefined;
4713
4747
  vonageCredentials?: {
4714
4748
  apiKey: string;
@@ -4724,9 +4758,9 @@ export declare const chatContract: {
4724
4758
  updatedAt: Date;
4725
4759
  deletedAt: Date | null;
4726
4760
  actor: {
4761
+ name: string;
4727
4762
  id: string;
4728
4763
  address: string | null;
4729
- name: string;
4730
4764
  email: string;
4731
4765
  createdAt: Date;
4732
4766
  updatedAt: Date;
@@ -4773,19 +4807,19 @@ export declare const chatContract: {
4773
4807
  connectedUserName: string;
4774
4808
  connectedUserId: string;
4775
4809
  botpressBot: {
4776
- id: string;
4777
4810
  name: string;
4811
+ id: string;
4778
4812
  accessToken: string;
4779
4813
  botId: string;
4780
4814
  integrationId: string;
4781
4815
  } | null;
4782
4816
  }, {
4817
+ name: string;
4783
4818
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4784
4819
  id: string;
4785
- name: string;
4786
4820
  metadata: {
4787
- id: string;
4788
4821
  name: string;
4822
+ id: string;
4789
4823
  accessToken?: string | undefined;
4790
4824
  channelSecret?: string | undefined;
4791
4825
  additionalCredentials?: any;
@@ -4797,10 +4831,12 @@ export declare const chatContract: {
4797
4831
  email?: string | null | undefined;
4798
4832
  clientId?: string | null | undefined;
4799
4833
  channelId?: string | null | undefined;
4800
- status?: "active" | "pending" | undefined;
4834
+ waapiInstanceId?: string | null | undefined;
4835
+ qr?: string | null | undefined;
4836
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4801
4837
  apiKey?: string | undefined;
4802
4838
  tier?: "basic" | "regular" | "premium" | undefined;
4803
- integrationType?: "meta" | "360dialog" | undefined;
4839
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4804
4840
  } | undefined;
4805
4841
  vonageCredentials?: {
4806
4842
  apiKey: string;
@@ -4816,9 +4852,9 @@ export declare const chatContract: {
4816
4852
  updatedAt: Date;
4817
4853
  deletedAt: Date | null;
4818
4854
  actor: {
4855
+ name: string;
4819
4856
  id: string;
4820
4857
  address: string | null;
4821
- name: string;
4822
4858
  email: string;
4823
4859
  createdAt: Date;
4824
4860
  updatedAt: Date;
@@ -4865,8 +4901,8 @@ export declare const chatContract: {
4865
4901
  connectedUserName: string;
4866
4902
  connectedUserId: string;
4867
4903
  botpressBot: {
4868
- id: string;
4869
4904
  name: string;
4905
+ id: string;
4870
4906
  accessToken: string;
4871
4907
  botId: string;
4872
4908
  integrationId: string;
@@ -4995,9 +5031,9 @@ export declare const chatContract: {
4995
5031
  telephonySignature: string | null;
4996
5032
  }>;
4997
5033
  }, "strip", z.ZodTypeAny, {
5034
+ name: string;
4998
5035
  id: string;
4999
5036
  address: string | null;
5000
- name: string;
5001
5037
  email: string;
5002
5038
  createdAt: Date;
5003
5039
  updatedAt: Date;
@@ -5038,9 +5074,9 @@ export declare const chatContract: {
5038
5074
  telephonySignature: string | null;
5039
5075
  };
5040
5076
  }, {
5077
+ name: string;
5041
5078
  id: string;
5042
5079
  address: string | null;
5043
- name: string;
5044
5080
  email: string;
5045
5081
  createdAt: Date;
5046
5082
  updatedAt: Date;
@@ -5101,13 +5137,13 @@ export declare const chatContract: {
5101
5137
  picture: z.ZodOptional<z.ZodString>;
5102
5138
  additionalCredentials: z.ZodAny;
5103
5139
  }, "strip", z.ZodTypeAny, {
5104
- id: string;
5105
5140
  name: string;
5141
+ id: string;
5106
5142
  picture?: string | undefined;
5107
5143
  additionalCredentials?: any;
5108
5144
  }, {
5109
- id: string;
5110
5145
  name: string;
5146
+ id: string;
5111
5147
  picture?: string | undefined;
5112
5148
  additionalCredentials?: any;
5113
5149
  }>;
@@ -5129,14 +5165,14 @@ export declare const chatContract: {
5129
5165
  deletedAt: z.ZodNullable<z.ZodDate>;
5130
5166
  name: z.ZodString;
5131
5167
  }, "strip", z.ZodTypeAny, {
5132
- id: string;
5133
5168
  name: string;
5169
+ id: string;
5134
5170
  createdAt: Date;
5135
5171
  updatedAt: Date;
5136
5172
  deletedAt: Date | null;
5137
5173
  }, {
5138
- id: string;
5139
5174
  name: string;
5175
+ id: string;
5140
5176
  createdAt: Date;
5141
5177
  updatedAt: Date;
5142
5178
  deletedAt: Date | null;
@@ -5292,8 +5328,8 @@ export declare const chatContract: {
5292
5328
  createdAt: Date;
5293
5329
  updatedAt: Date;
5294
5330
  deletedAt: Date | null;
5295
- address?: string | null | undefined;
5296
5331
  name?: string | undefined;
5332
+ address?: string | null | undefined;
5297
5333
  phone?: string | null | undefined;
5298
5334
  industry?: string | null | undefined;
5299
5335
  }, {
@@ -5301,8 +5337,8 @@ export declare const chatContract: {
5301
5337
  createdAt: Date;
5302
5338
  updatedAt: Date;
5303
5339
  deletedAt: Date | null;
5304
- address?: string | null | undefined;
5305
5340
  name?: string | undefined;
5341
+ address?: string | null | undefined;
5306
5342
  phone?: string | null | undefined;
5307
5343
  industry?: string | null | undefined;
5308
5344
  }>>;
@@ -5320,13 +5356,13 @@ export declare const chatContract: {
5320
5356
  picture: z.ZodOptional<z.ZodString>;
5321
5357
  additionalCredentials: z.ZodAny;
5322
5358
  }, "strip", z.ZodTypeAny, {
5323
- id: string;
5324
5359
  name: string;
5360
+ id: string;
5325
5361
  picture?: string | undefined;
5326
5362
  additionalCredentials?: any;
5327
5363
  }, {
5328
- id: string;
5329
5364
  name: string;
5365
+ id: string;
5330
5366
  picture?: string | undefined;
5331
5367
  additionalCredentials?: any;
5332
5368
  }>;
@@ -5334,8 +5370,8 @@ export declare const chatContract: {
5334
5370
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5335
5371
  id: string;
5336
5372
  metadata: {
5337
- id: string;
5338
5373
  name: string;
5374
+ id: string;
5339
5375
  picture?: string | undefined;
5340
5376
  additionalCredentials?: any;
5341
5377
  };
@@ -5348,8 +5384,8 @@ export declare const chatContract: {
5348
5384
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5349
5385
  id: string;
5350
5386
  metadata: {
5351
- id: string;
5352
5387
  name: string;
5388
+ id: string;
5353
5389
  picture?: string | undefined;
5354
5390
  additionalCredentials?: any;
5355
5391
  };
@@ -5659,10 +5695,10 @@ export declare const chatContract: {
5659
5695
  };
5660
5696
  }>, "many">>;
5661
5697
  }, "strip", z.ZodTypeAny, {
5698
+ name: string;
5662
5699
  id: string;
5663
5700
  channel: string | null;
5664
5701
  address: string | null;
5665
- name: string;
5666
5702
  createdAt: Date;
5667
5703
  updatedAt: Date;
5668
5704
  deletedAt: Date | null;
@@ -5707,8 +5743,8 @@ export declare const chatContract: {
5707
5743
  createdAt: Date;
5708
5744
  updatedAt: Date;
5709
5745
  deletedAt: Date | null;
5710
- address?: string | null | undefined;
5711
5746
  name?: string | undefined;
5747
+ address?: string | null | undefined;
5712
5748
  phone?: string | null | undefined;
5713
5749
  industry?: string | null | undefined;
5714
5750
  } | null;
@@ -5716,8 +5752,8 @@ export declare const chatContract: {
5716
5752
  contactProfile: string | null;
5717
5753
  socialProfileUrl: string | null;
5718
5754
  tags: {
5719
- id: string;
5720
5755
  name: string;
5756
+ id: string;
5721
5757
  createdAt: Date;
5722
5758
  updatedAt: Date;
5723
5759
  deletedAt: Date | null;
@@ -5742,8 +5778,8 @@ export declare const chatContract: {
5742
5778
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5743
5779
  id: string;
5744
5780
  metadata: {
5745
- id: string;
5746
5781
  name: string;
5782
+ id: string;
5747
5783
  picture?: string | undefined;
5748
5784
  additionalCredentials?: any;
5749
5785
  };
@@ -5770,10 +5806,10 @@ export declare const chatContract: {
5770
5806
  };
5771
5807
  }[] | undefined;
5772
5808
  }, {
5809
+ name: string;
5773
5810
  id: string;
5774
5811
  channel: string | null;
5775
5812
  address: string | null;
5776
- name: string;
5777
5813
  createdAt: Date;
5778
5814
  updatedAt: Date;
5779
5815
  deletedAt: Date | null;
@@ -5818,8 +5854,8 @@ export declare const chatContract: {
5818
5854
  createdAt: Date;
5819
5855
  updatedAt: Date;
5820
5856
  deletedAt: Date | null;
5821
- address?: string | null | undefined;
5822
5857
  name?: string | undefined;
5858
+ address?: string | null | undefined;
5823
5859
  phone?: string | null | undefined;
5824
5860
  industry?: string | null | undefined;
5825
5861
  } | null;
@@ -5827,8 +5863,8 @@ export declare const chatContract: {
5827
5863
  contactProfile: string | null;
5828
5864
  socialProfileUrl: string | null;
5829
5865
  tags: {
5830
- id: string;
5831
5866
  name: string;
5867
+ id: string;
5832
5868
  createdAt: Date;
5833
5869
  updatedAt: Date;
5834
5870
  deletedAt: Date | null;
@@ -5853,8 +5889,8 @@ export declare const chatContract: {
5853
5889
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5854
5890
  id: string;
5855
5891
  metadata: {
5856
- id: string;
5857
5892
  name: string;
5893
+ id: string;
5858
5894
  picture?: string | undefined;
5859
5895
  additionalCredentials?: any;
5860
5896
  };
@@ -5885,8 +5921,8 @@ export declare const chatContract: {
5885
5921
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5886
5922
  id: string;
5887
5923
  metadata: {
5888
- id: string;
5889
5924
  name: string;
5925
+ id: string;
5890
5926
  picture?: string | undefined;
5891
5927
  additionalCredentials?: any;
5892
5928
  };
@@ -5894,10 +5930,10 @@ export declare const chatContract: {
5894
5930
  updatedAt: Date;
5895
5931
  deletedAt: Date | null;
5896
5932
  contact: {
5933
+ name: string;
5897
5934
  id: string;
5898
5935
  channel: string | null;
5899
5936
  address: string | null;
5900
- name: string;
5901
5937
  createdAt: Date;
5902
5938
  updatedAt: Date;
5903
5939
  deletedAt: Date | null;
@@ -5942,8 +5978,8 @@ export declare const chatContract: {
5942
5978
  createdAt: Date;
5943
5979
  updatedAt: Date;
5944
5980
  deletedAt: Date | null;
5945
- address?: string | null | undefined;
5946
5981
  name?: string | undefined;
5982
+ address?: string | null | undefined;
5947
5983
  phone?: string | null | undefined;
5948
5984
  industry?: string | null | undefined;
5949
5985
  } | null;
@@ -5951,8 +5987,8 @@ export declare const chatContract: {
5951
5987
  contactProfile: string | null;
5952
5988
  socialProfileUrl: string | null;
5953
5989
  tags: {
5954
- id: string;
5955
5990
  name: string;
5991
+ id: string;
5956
5992
  createdAt: Date;
5957
5993
  updatedAt: Date;
5958
5994
  deletedAt: Date | null;
@@ -5977,8 +6013,8 @@ export declare const chatContract: {
5977
6013
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5978
6014
  id: string;
5979
6015
  metadata: {
5980
- id: string;
5981
6016
  name: string;
6017
+ id: string;
5982
6018
  picture?: string | undefined;
5983
6019
  additionalCredentials?: any;
5984
6020
  };
@@ -6011,8 +6047,8 @@ export declare const chatContract: {
6011
6047
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6012
6048
  id: string;
6013
6049
  metadata: {
6014
- id: string;
6015
6050
  name: string;
6051
+ id: string;
6016
6052
  picture?: string | undefined;
6017
6053
  additionalCredentials?: any;
6018
6054
  };
@@ -6020,10 +6056,10 @@ export declare const chatContract: {
6020
6056
  updatedAt: Date;
6021
6057
  deletedAt: Date | null;
6022
6058
  contact: {
6059
+ name: string;
6023
6060
  id: string;
6024
6061
  channel: string | null;
6025
6062
  address: string | null;
6026
- name: string;
6027
6063
  createdAt: Date;
6028
6064
  updatedAt: Date;
6029
6065
  deletedAt: Date | null;
@@ -6068,8 +6104,8 @@ export declare const chatContract: {
6068
6104
  createdAt: Date;
6069
6105
  updatedAt: Date;
6070
6106
  deletedAt: Date | null;
6071
- address?: string | null | undefined;
6072
6107
  name?: string | undefined;
6108
+ address?: string | null | undefined;
6073
6109
  phone?: string | null | undefined;
6074
6110
  industry?: string | null | undefined;
6075
6111
  } | null;
@@ -6077,8 +6113,8 @@ export declare const chatContract: {
6077
6113
  contactProfile: string | null;
6078
6114
  socialProfileUrl: string | null;
6079
6115
  tags: {
6080
- id: string;
6081
6116
  name: string;
6117
+ id: string;
6082
6118
  createdAt: Date;
6083
6119
  updatedAt: Date;
6084
6120
  deletedAt: Date | null;
@@ -6103,8 +6139,8 @@ export declare const chatContract: {
6103
6139
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6104
6140
  id: string;
6105
6141
  metadata: {
6106
- id: string;
6107
6142
  name: string;
6143
+ id: string;
6108
6144
  picture?: string | undefined;
6109
6145
  additionalCredentials?: any;
6110
6146
  };
@@ -6252,9 +6288,9 @@ export declare const chatContract: {
6252
6288
  telephonySignature: string | null;
6253
6289
  }>;
6254
6290
  }, "strip", z.ZodTypeAny, {
6291
+ name: string;
6255
6292
  id: string;
6256
6293
  address: string | null;
6257
- name: string;
6258
6294
  email: string;
6259
6295
  createdAt: Date;
6260
6296
  updatedAt: Date;
@@ -6295,9 +6331,9 @@ export declare const chatContract: {
6295
6331
  telephonySignature: string | null;
6296
6332
  };
6297
6333
  }, {
6334
+ name: string;
6298
6335
  id: string;
6299
6336
  address: string | null;
6300
- name: string;
6301
6337
  email: string;
6302
6338
  createdAt: Date;
6303
6339
  updatedAt: Date;
@@ -6376,14 +6412,14 @@ export declare const chatContract: {
6376
6412
  deletedAt: z.ZodNullable<z.ZodDate>;
6377
6413
  name: z.ZodString;
6378
6414
  }, "strip", z.ZodTypeAny, {
6379
- id: string;
6380
6415
  name: string;
6416
+ id: string;
6381
6417
  createdAt: Date;
6382
6418
  updatedAt: Date;
6383
6419
  deletedAt: Date | null;
6384
6420
  }, {
6385
- id: string;
6386
6421
  name: string;
6422
+ id: string;
6387
6423
  createdAt: Date;
6388
6424
  updatedAt: Date;
6389
6425
  deletedAt: Date | null;
@@ -6554,8 +6590,8 @@ export declare const chatContract: {
6554
6590
  }[];
6555
6591
  }[];
6556
6592
  tags: {
6557
- id: string;
6558
6593
  name: string;
6594
+ id: string;
6559
6595
  createdAt: Date;
6560
6596
  updatedAt: Date;
6561
6597
  deletedAt: Date | null;
@@ -6605,8 +6641,8 @@ export declare const chatContract: {
6605
6641
  }[];
6606
6642
  }[];
6607
6643
  tags: {
6608
- id: string;
6609
6644
  name: string;
6645
+ id: string;
6610
6646
  createdAt: Date;
6611
6647
  updatedAt: Date;
6612
6648
  deletedAt: Date | null;
@@ -6644,16 +6680,16 @@ export declare const chatContract: {
6644
6680
  position: z.ZodNumber;
6645
6681
  isDefault: z.ZodDefault<z.ZodBoolean>;
6646
6682
  }, "strip", z.ZodTypeAny, {
6647
- id: string;
6648
6683
  name: string;
6684
+ id: string;
6649
6685
  position: number;
6650
6686
  createdAt: Date;
6651
6687
  updatedAt: Date;
6652
6688
  deletedAt: Date | null;
6653
6689
  isDefault: boolean;
6654
6690
  }, {
6655
- id: string;
6656
6691
  name: string;
6692
+ id: string;
6657
6693
  position: number;
6658
6694
  createdAt: Date;
6659
6695
  updatedAt: Date;
@@ -6669,8 +6705,8 @@ export declare const chatContract: {
6669
6705
  endedAt: string | null;
6670
6706
  duration: number | null;
6671
6707
  holdLabel?: {
6672
- id: string;
6673
6708
  name: string;
6709
+ id: string;
6674
6710
  position: number;
6675
6711
  createdAt: Date;
6676
6712
  updatedAt: Date;
@@ -6686,8 +6722,8 @@ export declare const chatContract: {
6686
6722
  endedAt: string | null;
6687
6723
  duration: number | null;
6688
6724
  holdLabel?: {
6689
- id: string;
6690
6725
  name: string;
6726
+ id: string;
6691
6727
  position: number;
6692
6728
  createdAt: Date;
6693
6729
  updatedAt: Date;
@@ -6745,8 +6781,8 @@ export declare const chatContract: {
6745
6781
  }[];
6746
6782
  }[];
6747
6783
  tags: {
6748
- id: string;
6749
6784
  name: string;
6785
+ id: string;
6750
6786
  createdAt: Date;
6751
6787
  updatedAt: Date;
6752
6788
  deletedAt: Date | null;
@@ -6776,8 +6812,8 @@ export declare const chatContract: {
6776
6812
  endedAt: string | null;
6777
6813
  duration: number | null;
6778
6814
  holdLabel?: {
6779
- id: string;
6780
6815
  name: string;
6816
+ id: string;
6781
6817
  position: number;
6782
6818
  createdAt: Date;
6783
6819
  updatedAt: Date;
@@ -6835,8 +6871,8 @@ export declare const chatContract: {
6835
6871
  }[];
6836
6872
  }[];
6837
6873
  tags: {
6838
- id: string;
6839
6874
  name: string;
6875
+ id: string;
6840
6876
  createdAt: Date;
6841
6877
  updatedAt: Date;
6842
6878
  deletedAt: Date | null;
@@ -6866,8 +6902,8 @@ export declare const chatContract: {
6866
6902
  endedAt: string | null;
6867
6903
  duration: number | null;
6868
6904
  holdLabel?: {
6869
- id: string;
6870
6905
  name: string;
6906
+ id: string;
6871
6907
  position: number;
6872
6908
  createdAt: Date;
6873
6909
  updatedAt: Date;
@@ -6885,17 +6921,17 @@ export declare const chatContract: {
6885
6921
  isActive: z.ZodBoolean;
6886
6922
  type: z.ZodString;
6887
6923
  }, "strip", z.ZodTypeAny, {
6924
+ name: string;
6888
6925
  type: string;
6889
6926
  id: string;
6890
- name: string;
6891
6927
  createdAt: Date;
6892
6928
  updatedAt: Date;
6893
6929
  deletedAt: Date | null;
6894
6930
  isActive: boolean;
6895
6931
  }, {
6932
+ name: string;
6896
6933
  type: string;
6897
6934
  id: string;
6898
- name: string;
6899
6935
  createdAt: Date;
6900
6936
  updatedAt: Date;
6901
6937
  deletedAt: Date | null;
@@ -6906,12 +6942,12 @@ export declare const chatContract: {
6906
6942
  }, "strip", z.ZodTypeAny, {
6907
6943
  id: string;
6908
6944
  channel: {
6945
+ name: string;
6909
6946
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6910
6947
  id: string;
6911
- name: string;
6912
6948
  metadata: {
6913
- id: string;
6914
6949
  name: string;
6950
+ id: string;
6915
6951
  accessToken?: string | undefined;
6916
6952
  channelSecret?: string | undefined;
6917
6953
  additionalCredentials?: any;
@@ -6923,10 +6959,12 @@ export declare const chatContract: {
6923
6959
  email?: string | null | undefined;
6924
6960
  clientId?: string | null | undefined;
6925
6961
  channelId?: string | null | undefined;
6926
- status?: "active" | "pending" | undefined;
6962
+ waapiInstanceId?: string | null | undefined;
6963
+ qr?: string | null | undefined;
6964
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6927
6965
  apiKey?: string | undefined;
6928
6966
  tier?: "basic" | "regular" | "premium" | undefined;
6929
- integrationType?: "meta" | "360dialog" | undefined;
6967
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6930
6968
  } | undefined;
6931
6969
  vonageCredentials?: {
6932
6970
  apiKey: string;
@@ -6942,9 +6980,9 @@ export declare const chatContract: {
6942
6980
  updatedAt: Date;
6943
6981
  deletedAt: Date | null;
6944
6982
  actor: {
6983
+ name: string;
6945
6984
  id: string;
6946
6985
  address: string | null;
6947
- name: string;
6948
6986
  email: string;
6949
6987
  createdAt: Date;
6950
6988
  updatedAt: Date;
@@ -6991,8 +7029,8 @@ export declare const chatContract: {
6991
7029
  connectedUserName: string;
6992
7030
  connectedUserId: string;
6993
7031
  botpressBot: {
6994
- id: string;
6995
7032
  name: string;
7033
+ id: string;
6996
7034
  accessToken: string;
6997
7035
  botId: string;
6998
7036
  integrationId: string;
@@ -7004,9 +7042,9 @@ export declare const chatContract: {
7004
7042
  updatedAt: Date;
7005
7043
  deletedAt: Date | null;
7006
7044
  actor: {
7045
+ name: string;
7007
7046
  id: string;
7008
7047
  address: string | null;
7009
- name: string;
7010
7048
  email: string;
7011
7049
  createdAt: Date;
7012
7050
  updatedAt: Date;
@@ -7057,8 +7095,8 @@ export declare const chatContract: {
7057
7095
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7058
7096
  id: string;
7059
7097
  metadata: {
7060
- id: string;
7061
7098
  name: string;
7099
+ id: string;
7062
7100
  picture?: string | undefined;
7063
7101
  additionalCredentials?: any;
7064
7102
  };
@@ -7066,10 +7104,10 @@ export declare const chatContract: {
7066
7104
  updatedAt: Date;
7067
7105
  deletedAt: Date | null;
7068
7106
  contact: {
7107
+ name: string;
7069
7108
  id: string;
7070
7109
  channel: string | null;
7071
7110
  address: string | null;
7072
- name: string;
7073
7111
  createdAt: Date;
7074
7112
  updatedAt: Date;
7075
7113
  deletedAt: Date | null;
@@ -7114,8 +7152,8 @@ export declare const chatContract: {
7114
7152
  createdAt: Date;
7115
7153
  updatedAt: Date;
7116
7154
  deletedAt: Date | null;
7117
- address?: string | null | undefined;
7118
7155
  name?: string | undefined;
7156
+ address?: string | null | undefined;
7119
7157
  phone?: string | null | undefined;
7120
7158
  industry?: string | null | undefined;
7121
7159
  } | null;
@@ -7123,8 +7161,8 @@ export declare const chatContract: {
7123
7161
  contactProfile: string | null;
7124
7162
  socialProfileUrl: string | null;
7125
7163
  tags: {
7126
- id: string;
7127
7164
  name: string;
7165
+ id: string;
7128
7166
  createdAt: Date;
7129
7167
  updatedAt: Date;
7130
7168
  deletedAt: Date | null;
@@ -7149,8 +7187,8 @@ export declare const chatContract: {
7149
7187
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7150
7188
  id: string;
7151
7189
  metadata: {
7152
- id: string;
7153
7190
  name: string;
7191
+ id: string;
7154
7192
  picture?: string | undefined;
7155
7193
  additionalCredentials?: any;
7156
7194
  };
@@ -7181,9 +7219,9 @@ export declare const chatContract: {
7181
7219
  socialPlatformId: string;
7182
7220
  };
7183
7221
  assignee: {
7222
+ name: string;
7184
7223
  id: string;
7185
7224
  address: string | null;
7186
- name: string;
7187
7225
  email: string;
7188
7226
  createdAt: Date;
7189
7227
  updatedAt: Date;
@@ -7277,8 +7315,8 @@ export declare const chatContract: {
7277
7315
  }[];
7278
7316
  }[];
7279
7317
  tags: {
7280
- id: string;
7281
7318
  name: string;
7319
+ id: string;
7282
7320
  createdAt: Date;
7283
7321
  updatedAt: Date;
7284
7322
  deletedAt: Date | null;
@@ -7308,8 +7346,8 @@ export declare const chatContract: {
7308
7346
  endedAt: string | null;
7309
7347
  duration: number | null;
7310
7348
  holdLabel?: {
7311
- id: string;
7312
7349
  name: string;
7350
+ id: string;
7313
7351
  position: number;
7314
7352
  createdAt: Date;
7315
7353
  updatedAt: Date;
@@ -7319,9 +7357,9 @@ export declare const chatContract: {
7319
7357
  }[] | null | undefined;
7320
7358
  };
7321
7359
  workflowRule: {
7360
+ name: string;
7322
7361
  type: string;
7323
7362
  id: string;
7324
- name: string;
7325
7363
  createdAt: Date;
7326
7364
  updatedAt: Date;
7327
7365
  deletedAt: Date | null;
@@ -7332,12 +7370,12 @@ export declare const chatContract: {
7332
7370
  }, {
7333
7371
  id: string;
7334
7372
  channel: {
7373
+ name: string;
7335
7374
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7336
7375
  id: string;
7337
- name: string;
7338
7376
  metadata: {
7339
- id: string;
7340
7377
  name: string;
7378
+ id: string;
7341
7379
  accessToken?: string | undefined;
7342
7380
  channelSecret?: string | undefined;
7343
7381
  additionalCredentials?: any;
@@ -7349,10 +7387,12 @@ export declare const chatContract: {
7349
7387
  email?: string | null | undefined;
7350
7388
  clientId?: string | null | undefined;
7351
7389
  channelId?: string | null | undefined;
7352
- status?: "active" | "pending" | undefined;
7390
+ waapiInstanceId?: string | null | undefined;
7391
+ qr?: string | null | undefined;
7392
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7353
7393
  apiKey?: string | undefined;
7354
7394
  tier?: "basic" | "regular" | "premium" | undefined;
7355
- integrationType?: "meta" | "360dialog" | undefined;
7395
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7356
7396
  } | undefined;
7357
7397
  vonageCredentials?: {
7358
7398
  apiKey: string;
@@ -7368,9 +7408,9 @@ export declare const chatContract: {
7368
7408
  updatedAt: Date;
7369
7409
  deletedAt: Date | null;
7370
7410
  actor: {
7411
+ name: string;
7371
7412
  id: string;
7372
7413
  address: string | null;
7373
- name: string;
7374
7414
  email: string;
7375
7415
  createdAt: Date;
7376
7416
  updatedAt: Date;
@@ -7417,8 +7457,8 @@ export declare const chatContract: {
7417
7457
  connectedUserName: string;
7418
7458
  connectedUserId: string;
7419
7459
  botpressBot: {
7420
- id: string;
7421
7460
  name: string;
7461
+ id: string;
7422
7462
  accessToken: string;
7423
7463
  botId: string;
7424
7464
  integrationId: string;
@@ -7430,9 +7470,9 @@ export declare const chatContract: {
7430
7470
  updatedAt: Date;
7431
7471
  deletedAt: Date | null;
7432
7472
  actor: {
7473
+ name: string;
7433
7474
  id: string;
7434
7475
  address: string | null;
7435
- name: string;
7436
7476
  email: string;
7437
7477
  createdAt: Date;
7438
7478
  updatedAt: Date;
@@ -7483,8 +7523,8 @@ export declare const chatContract: {
7483
7523
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7484
7524
  id: string;
7485
7525
  metadata: {
7486
- id: string;
7487
7526
  name: string;
7527
+ id: string;
7488
7528
  picture?: string | undefined;
7489
7529
  additionalCredentials?: any;
7490
7530
  };
@@ -7492,10 +7532,10 @@ export declare const chatContract: {
7492
7532
  updatedAt: Date;
7493
7533
  deletedAt: Date | null;
7494
7534
  contact: {
7535
+ name: string;
7495
7536
  id: string;
7496
7537
  channel: string | null;
7497
7538
  address: string | null;
7498
- name: string;
7499
7539
  createdAt: Date;
7500
7540
  updatedAt: Date;
7501
7541
  deletedAt: Date | null;
@@ -7540,8 +7580,8 @@ export declare const chatContract: {
7540
7580
  createdAt: Date;
7541
7581
  updatedAt: Date;
7542
7582
  deletedAt: Date | null;
7543
- address?: string | null | undefined;
7544
7583
  name?: string | undefined;
7584
+ address?: string | null | undefined;
7545
7585
  phone?: string | null | undefined;
7546
7586
  industry?: string | null | undefined;
7547
7587
  } | null;
@@ -7549,8 +7589,8 @@ export declare const chatContract: {
7549
7589
  contactProfile: string | null;
7550
7590
  socialProfileUrl: string | null;
7551
7591
  tags: {
7552
- id: string;
7553
7592
  name: string;
7593
+ id: string;
7554
7594
  createdAt: Date;
7555
7595
  updatedAt: Date;
7556
7596
  deletedAt: Date | null;
@@ -7575,8 +7615,8 @@ export declare const chatContract: {
7575
7615
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7576
7616
  id: string;
7577
7617
  metadata: {
7578
- id: string;
7579
7618
  name: string;
7619
+ id: string;
7580
7620
  picture?: string | undefined;
7581
7621
  additionalCredentials?: any;
7582
7622
  };
@@ -7607,9 +7647,9 @@ export declare const chatContract: {
7607
7647
  socialPlatformId: string;
7608
7648
  };
7609
7649
  assignee: {
7650
+ name: string;
7610
7651
  id: string;
7611
7652
  address: string | null;
7612
- name: string;
7613
7653
  email: string;
7614
7654
  createdAt: Date;
7615
7655
  updatedAt: Date;
@@ -7703,8 +7743,8 @@ export declare const chatContract: {
7703
7743
  }[];
7704
7744
  }[];
7705
7745
  tags: {
7706
- id: string;
7707
7746
  name: string;
7747
+ id: string;
7708
7748
  createdAt: Date;
7709
7749
  updatedAt: Date;
7710
7750
  deletedAt: Date | null;
@@ -7734,8 +7774,8 @@ export declare const chatContract: {
7734
7774
  endedAt: string | null;
7735
7775
  duration: number | null;
7736
7776
  holdLabel?: {
7737
- id: string;
7738
7777
  name: string;
7778
+ id: string;
7739
7779
  position: number;
7740
7780
  createdAt: Date;
7741
7781
  updatedAt: Date;
@@ -7745,9 +7785,9 @@ export declare const chatContract: {
7745
7785
  }[] | null | undefined;
7746
7786
  };
7747
7787
  workflowRule: {
7788
+ name: string;
7748
7789
  type: string;
7749
7790
  id: string;
7750
- name: string;
7751
7791
  createdAt: Date;
7752
7792
  updatedAt: Date;
7753
7793
  deletedAt: Date | null;
@@ -7760,12 +7800,12 @@ export declare const chatContract: {
7760
7800
  data: {
7761
7801
  id: string;
7762
7802
  channel: {
7803
+ name: string;
7763
7804
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7764
7805
  id: string;
7765
- name: string;
7766
7806
  metadata: {
7767
- id: string;
7768
7807
  name: string;
7808
+ id: string;
7769
7809
  accessToken?: string | undefined;
7770
7810
  channelSecret?: string | undefined;
7771
7811
  additionalCredentials?: any;
@@ -7777,10 +7817,12 @@ export declare const chatContract: {
7777
7817
  email?: string | null | undefined;
7778
7818
  clientId?: string | null | undefined;
7779
7819
  channelId?: string | null | undefined;
7780
- status?: "active" | "pending" | undefined;
7820
+ waapiInstanceId?: string | null | undefined;
7821
+ qr?: string | null | undefined;
7822
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7781
7823
  apiKey?: string | undefined;
7782
7824
  tier?: "basic" | "regular" | "premium" | undefined;
7783
- integrationType?: "meta" | "360dialog" | undefined;
7825
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7784
7826
  } | undefined;
7785
7827
  vonageCredentials?: {
7786
7828
  apiKey: string;
@@ -7796,9 +7838,9 @@ export declare const chatContract: {
7796
7838
  updatedAt: Date;
7797
7839
  deletedAt: Date | null;
7798
7840
  actor: {
7841
+ name: string;
7799
7842
  id: string;
7800
7843
  address: string | null;
7801
- name: string;
7802
7844
  email: string;
7803
7845
  createdAt: Date;
7804
7846
  updatedAt: Date;
@@ -7845,8 +7887,8 @@ export declare const chatContract: {
7845
7887
  connectedUserName: string;
7846
7888
  connectedUserId: string;
7847
7889
  botpressBot: {
7848
- id: string;
7849
7890
  name: string;
7891
+ id: string;
7850
7892
  accessToken: string;
7851
7893
  botId: string;
7852
7894
  integrationId: string;
@@ -7858,9 +7900,9 @@ export declare const chatContract: {
7858
7900
  updatedAt: Date;
7859
7901
  deletedAt: Date | null;
7860
7902
  actor: {
7903
+ name: string;
7861
7904
  id: string;
7862
7905
  address: string | null;
7863
- name: string;
7864
7906
  email: string;
7865
7907
  createdAt: Date;
7866
7908
  updatedAt: Date;
@@ -7911,8 +7953,8 @@ export declare const chatContract: {
7911
7953
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7912
7954
  id: string;
7913
7955
  metadata: {
7914
- id: string;
7915
7956
  name: string;
7957
+ id: string;
7916
7958
  picture?: string | undefined;
7917
7959
  additionalCredentials?: any;
7918
7960
  };
@@ -7920,10 +7962,10 @@ export declare const chatContract: {
7920
7962
  updatedAt: Date;
7921
7963
  deletedAt: Date | null;
7922
7964
  contact: {
7965
+ name: string;
7923
7966
  id: string;
7924
7967
  channel: string | null;
7925
7968
  address: string | null;
7926
- name: string;
7927
7969
  createdAt: Date;
7928
7970
  updatedAt: Date;
7929
7971
  deletedAt: Date | null;
@@ -7968,8 +8010,8 @@ export declare const chatContract: {
7968
8010
  createdAt: Date;
7969
8011
  updatedAt: Date;
7970
8012
  deletedAt: Date | null;
7971
- address?: string | null | undefined;
7972
8013
  name?: string | undefined;
8014
+ address?: string | null | undefined;
7973
8015
  phone?: string | null | undefined;
7974
8016
  industry?: string | null | undefined;
7975
8017
  } | null;
@@ -7977,8 +8019,8 @@ export declare const chatContract: {
7977
8019
  contactProfile: string | null;
7978
8020
  socialProfileUrl: string | null;
7979
8021
  tags: {
7980
- id: string;
7981
8022
  name: string;
8023
+ id: string;
7982
8024
  createdAt: Date;
7983
8025
  updatedAt: Date;
7984
8026
  deletedAt: Date | null;
@@ -8003,8 +8045,8 @@ export declare const chatContract: {
8003
8045
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8004
8046
  id: string;
8005
8047
  metadata: {
8006
- id: string;
8007
8048
  name: string;
8049
+ id: string;
8008
8050
  picture?: string | undefined;
8009
8051
  additionalCredentials?: any;
8010
8052
  };
@@ -8035,9 +8077,9 @@ export declare const chatContract: {
8035
8077
  socialPlatformId: string;
8036
8078
  };
8037
8079
  assignee: {
8080
+ name: string;
8038
8081
  id: string;
8039
8082
  address: string | null;
8040
- name: string;
8041
8083
  email: string;
8042
8084
  createdAt: Date;
8043
8085
  updatedAt: Date;
@@ -8131,8 +8173,8 @@ export declare const chatContract: {
8131
8173
  }[];
8132
8174
  }[];
8133
8175
  tags: {
8134
- id: string;
8135
8176
  name: string;
8177
+ id: string;
8136
8178
  createdAt: Date;
8137
8179
  updatedAt: Date;
8138
8180
  deletedAt: Date | null;
@@ -8162,8 +8204,8 @@ export declare const chatContract: {
8162
8204
  endedAt: string | null;
8163
8205
  duration: number | null;
8164
8206
  holdLabel?: {
8165
- id: string;
8166
8207
  name: string;
8208
+ id: string;
8167
8209
  position: number;
8168
8210
  createdAt: Date;
8169
8211
  updatedAt: Date;
@@ -8173,9 +8215,9 @@ export declare const chatContract: {
8173
8215
  }[] | null | undefined;
8174
8216
  };
8175
8217
  workflowRule: {
8218
+ name: string;
8176
8219
  type: string;
8177
8220
  id: string;
8178
- name: string;
8179
8221
  createdAt: Date;
8180
8222
  updatedAt: Date;
8181
8223
  deletedAt: Date | null;
@@ -8189,12 +8231,12 @@ export declare const chatContract: {
8189
8231
  data: {
8190
8232
  id: string;
8191
8233
  channel: {
8234
+ name: string;
8192
8235
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8193
8236
  id: string;
8194
- name: string;
8195
8237
  metadata: {
8196
- id: string;
8197
8238
  name: string;
8239
+ id: string;
8198
8240
  accessToken?: string | undefined;
8199
8241
  channelSecret?: string | undefined;
8200
8242
  additionalCredentials?: any;
@@ -8206,10 +8248,12 @@ export declare const chatContract: {
8206
8248
  email?: string | null | undefined;
8207
8249
  clientId?: string | null | undefined;
8208
8250
  channelId?: string | null | undefined;
8209
- status?: "active" | "pending" | undefined;
8251
+ waapiInstanceId?: string | null | undefined;
8252
+ qr?: string | null | undefined;
8253
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8210
8254
  apiKey?: string | undefined;
8211
8255
  tier?: "basic" | "regular" | "premium" | undefined;
8212
- integrationType?: "meta" | "360dialog" | undefined;
8256
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8213
8257
  } | undefined;
8214
8258
  vonageCredentials?: {
8215
8259
  apiKey: string;
@@ -8225,9 +8269,9 @@ export declare const chatContract: {
8225
8269
  updatedAt: Date;
8226
8270
  deletedAt: Date | null;
8227
8271
  actor: {
8272
+ name: string;
8228
8273
  id: string;
8229
8274
  address: string | null;
8230
- name: string;
8231
8275
  email: string;
8232
8276
  createdAt: Date;
8233
8277
  updatedAt: Date;
@@ -8274,8 +8318,8 @@ export declare const chatContract: {
8274
8318
  connectedUserName: string;
8275
8319
  connectedUserId: string;
8276
8320
  botpressBot: {
8277
- id: string;
8278
8321
  name: string;
8322
+ id: string;
8279
8323
  accessToken: string;
8280
8324
  botId: string;
8281
8325
  integrationId: string;
@@ -8287,9 +8331,9 @@ export declare const chatContract: {
8287
8331
  updatedAt: Date;
8288
8332
  deletedAt: Date | null;
8289
8333
  actor: {
8334
+ name: string;
8290
8335
  id: string;
8291
8336
  address: string | null;
8292
- name: string;
8293
8337
  email: string;
8294
8338
  createdAt: Date;
8295
8339
  updatedAt: Date;
@@ -8340,8 +8384,8 @@ export declare const chatContract: {
8340
8384
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8341
8385
  id: string;
8342
8386
  metadata: {
8343
- id: string;
8344
8387
  name: string;
8388
+ id: string;
8345
8389
  picture?: string | undefined;
8346
8390
  additionalCredentials?: any;
8347
8391
  };
@@ -8349,10 +8393,10 @@ export declare const chatContract: {
8349
8393
  updatedAt: Date;
8350
8394
  deletedAt: Date | null;
8351
8395
  contact: {
8396
+ name: string;
8352
8397
  id: string;
8353
8398
  channel: string | null;
8354
8399
  address: string | null;
8355
- name: string;
8356
8400
  createdAt: Date;
8357
8401
  updatedAt: Date;
8358
8402
  deletedAt: Date | null;
@@ -8397,8 +8441,8 @@ export declare const chatContract: {
8397
8441
  createdAt: Date;
8398
8442
  updatedAt: Date;
8399
8443
  deletedAt: Date | null;
8400
- address?: string | null | undefined;
8401
8444
  name?: string | undefined;
8445
+ address?: string | null | undefined;
8402
8446
  phone?: string | null | undefined;
8403
8447
  industry?: string | null | undefined;
8404
8448
  } | null;
@@ -8406,8 +8450,8 @@ export declare const chatContract: {
8406
8450
  contactProfile: string | null;
8407
8451
  socialProfileUrl: string | null;
8408
8452
  tags: {
8409
- id: string;
8410
8453
  name: string;
8454
+ id: string;
8411
8455
  createdAt: Date;
8412
8456
  updatedAt: Date;
8413
8457
  deletedAt: Date | null;
@@ -8432,8 +8476,8 @@ export declare const chatContract: {
8432
8476
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8433
8477
  id: string;
8434
8478
  metadata: {
8435
- id: string;
8436
8479
  name: string;
8480
+ id: string;
8437
8481
  picture?: string | undefined;
8438
8482
  additionalCredentials?: any;
8439
8483
  };
@@ -8464,9 +8508,9 @@ export declare const chatContract: {
8464
8508
  socialPlatformId: string;
8465
8509
  };
8466
8510
  assignee: {
8511
+ name: string;
8467
8512
  id: string;
8468
8513
  address: string | null;
8469
- name: string;
8470
8514
  email: string;
8471
8515
  createdAt: Date;
8472
8516
  updatedAt: Date;
@@ -8560,8 +8604,8 @@ export declare const chatContract: {
8560
8604
  }[];
8561
8605
  }[];
8562
8606
  tags: {
8563
- id: string;
8564
8607
  name: string;
8608
+ id: string;
8565
8609
  createdAt: Date;
8566
8610
  updatedAt: Date;
8567
8611
  deletedAt: Date | null;
@@ -8591,8 +8635,8 @@ export declare const chatContract: {
8591
8635
  endedAt: string | null;
8592
8636
  duration: number | null;
8593
8637
  holdLabel?: {
8594
- id: string;
8595
8638
  name: string;
8639
+ id: string;
8596
8640
  position: number;
8597
8641
  createdAt: Date;
8598
8642
  updatedAt: Date;
@@ -8602,9 +8646,9 @@ export declare const chatContract: {
8602
8646
  }[] | null | undefined;
8603
8647
  };
8604
8648
  workflowRule: {
8649
+ name: string;
8605
8650
  type: string;
8606
8651
  id: string;
8607
- name: string;
8608
8652
  createdAt: Date;
8609
8653
  updatedAt: Date;
8610
8654
  deletedAt: Date | null;