@kl1/contracts 1.2.28-uat → 1.2.30-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) 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 +467 -467
  17. package/dist/api-contracts/src/channel/schema.d.ts +16 -16
  18. package/dist/api-contracts/src/channel/validation.d.ts +20 -20
  19. package/dist/api-contracts/src/chat/index.d.ts +6049 -5850
  20. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/schema.d.ts +1384 -1384
  22. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/chat/validation.d.ts +1149 -950
  24. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  26. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  27. package/dist/api-contracts/src/company/index.d.ts +4 -4
  28. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  29. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  30. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  31. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  32. package/dist/api-contracts/src/contract.d.ts +12081 -12081
  33. package/dist/api-contracts/src/cx-intelligence/index.d.ts +54 -0
  34. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  35. package/dist/api-contracts/src/cx-log/index.d.ts +248 -248
  36. package/dist/api-contracts/src/cx-log/schema.d.ts +295 -198
  37. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  39. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  40. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  41. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts +912 -912
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
  44. package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
  45. package/dist/api-contracts/src/hold-label/index.d.ts +124 -16
  46. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/hold-label/schema.d.ts +40 -2
  48. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/instagram/index.d.ts +800 -800
  50. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  51. package/dist/api-contracts/src/line/index.d.ts +812 -812
  52. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  53. package/dist/api-contracts/src/line/validation.d.ts +50 -50
  54. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  55. package/dist/api-contracts/src/mail/mail-contract.d.ts +3021 -2526
  56. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  58. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  59. package/dist/api-contracts/src/mail/room-contract.d.ts +1939 -1444
  60. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  62. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  63. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  64. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +633 -468
  65. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +589 -458
  67. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/messenger/index.d.ts +803 -803
  69. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  70. package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
  71. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  72. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  73. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  74. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  75. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  76. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  77. package/dist/api-contracts/src/sms/index.d.ts +86 -86
  78. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  79. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  80. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  81. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  82. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  83. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  84. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  85. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  86. package/dist/api-contracts/src/telegram/index.d.ts +762 -762
  87. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  88. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  89. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  90. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  91. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  92. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  93. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  94. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  95. package/dist/api-contracts/src/user/index.d.ts +23 -23
  96. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  97. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  98. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  99. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  100. package/dist/api-contracts/src/viber/index.d.ts +772 -772
  101. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  102. package/dist/api-contracts/src/webchat/index.d.ts +766 -766
  103. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  104. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  105. package/dist/api-contracts/src/whatsapp/index.d.ts +766 -766
  106. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  107. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  108. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  109. package/dist/api-contracts/src/workflow-rule/index.d.ts +371 -371
  110. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  111. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  112. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  113. package/dist/api-contracts/utils.d.ts +1 -1
  114. package/dist/api-contracts/utils.d.ts.map +1 -1
  115. package/dist/index.js +326 -326
  116. package/dist/index.js.map +1 -1
  117. package/dist/index.mjs +326 -326
  118. package/dist/index.mjs.map +1 -1
  119. 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
- name: string;
56
55
  id: string;
56
+ name: string;
57
57
  picture?: string | undefined;
58
58
  additionalCredentials?: any;
59
59
  }, {
60
- name: string;
61
60
  id: string;
61
+ name: 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
- name: string;
84
83
  id: string;
84
+ name: string;
85
85
  createdAt: Date;
86
86
  updatedAt: Date;
87
87
  deletedAt: Date | null;
88
88
  }, {
89
- name: string;
90
89
  id: string;
90
+ name: 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
- name?: string | undefined;
247
246
  address?: string | null | undefined;
247
+ name?: string | 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
- name?: string | undefined;
256
255
  address?: string | null | undefined;
256
+ name?: string | 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
- name: string;
275
274
  id: string;
275
+ name: string;
276
276
  picture?: string | undefined;
277
277
  additionalCredentials?: any;
278
278
  }, {
279
- name: string;
280
279
  id: string;
280
+ name: 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
- name: string;
289
288
  id: string;
289
+ name: 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
- name: string;
303
302
  id: string;
303
+ name: 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;
614
613
  id: string;
615
614
  channel: string | null;
616
615
  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
- name?: string | undefined;
662
661
  address?: string | null | undefined;
662
+ name?: string | 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
- name: string;
671
670
  id: string;
671
+ name: 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
- name: string;
697
696
  id: string;
697
+ name: 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;
725
724
  id: string;
726
725
  channel: string | null;
727
726
  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
- name?: string | undefined;
773
772
  address?: string | null | undefined;
773
+ name?: string | 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
- name: string;
782
781
  id: string;
782
+ name: 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
- name: string;
808
807
  id: string;
808
+ name: 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
- name: string;
840
839
  id: string;
840
+ name: 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;
849
848
  id: string;
850
849
  channel: string | null;
851
850
  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
- name?: string | undefined;
897
896
  address?: string | null | undefined;
897
+ name?: string | 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
- name: string;
906
905
  id: string;
906
+ name: 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
- name: string;
932
931
  id: string;
932
+ name: 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
- name: string;
966
965
  id: string;
966
+ name: 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;
975
974
  id: string;
976
975
  channel: string | null;
977
976
  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
- name?: string | undefined;
1023
1022
  address?: string | null | undefined;
1023
+ name?: string | 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
- name: string;
1032
1031
  id: string;
1032
+ name: 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
- name: string;
1058
1057
  id: string;
1058
+ name: 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;
1207
1206
  id: string;
1208
1207
  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;
1250
1249
  id: string;
1251
1250
  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;
1411
1410
  id: string;
1412
1411
  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;
1454
1453
  id: string;
1455
1454
  address: string | null;
1455
+ name: string;
1456
1456
  email: string;
1457
1457
  createdAt: Date;
1458
1458
  updatedAt: Date;
@@ -1554,8 +1554,8 @@ export declare const chatContract: {
1554
1554
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1555
1555
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1556
1556
  }, "strip", z.ZodTypeAny, {
1557
- name: string;
1558
1557
  id: string;
1558
+ name: string;
1559
1559
  accessToken?: string | undefined;
1560
1560
  channelSecret?: string | undefined;
1561
1561
  additionalCredentials?: any;
@@ -1579,8 +1579,8 @@ export declare const chatContract: {
1579
1579
  lineRichMenuId?: string | null | undefined;
1580
1580
  messengerIntegrationType?: "own" | "business" | undefined;
1581
1581
  }, {
1582
- name: string;
1583
1582
  id: string;
1583
+ name: string;
1584
1584
  accessToken?: string | undefined;
1585
1585
  channelSecret?: string | undefined;
1586
1586
  additionalCredentials?: any;
@@ -1617,14 +1617,14 @@ export declare const chatContract: {
1617
1617
  integrationId: z.ZodString;
1618
1618
  accessToken: z.ZodString;
1619
1619
  }, "strip", z.ZodTypeAny, {
1620
- name: string;
1621
1620
  id: string;
1621
+ name: string;
1622
1622
  accessToken: string;
1623
1623
  botId: string;
1624
1624
  integrationId: string;
1625
1625
  }, {
1626
- name: string;
1627
1626
  id: string;
1627
+ name: string;
1628
1628
  accessToken: string;
1629
1629
  botId: string;
1630
1630
  integrationId: string;
@@ -1747,9 +1747,9 @@ export declare const chatContract: {
1747
1747
  telephonySignature: string | null;
1748
1748
  }>;
1749
1749
  }, "strip", z.ZodTypeAny, {
1750
- name: string;
1751
1750
  id: string;
1752
1751
  address: string | null;
1752
+ name: string;
1753
1753
  email: string;
1754
1754
  createdAt: Date;
1755
1755
  updatedAt: Date;
@@ -1790,9 +1790,9 @@ export declare const chatContract: {
1790
1790
  telephonySignature: string | null;
1791
1791
  };
1792
1792
  }, {
1793
- name: string;
1794
1793
  id: string;
1795
1794
  address: string | null;
1795
+ name: string;
1796
1796
  email: string;
1797
1797
  createdAt: Date;
1798
1798
  updatedAt: Date;
@@ -1834,12 +1834,12 @@ export declare const chatContract: {
1834
1834
  };
1835
1835
  }>;
1836
1836
  }, "strip", z.ZodTypeAny, {
1837
- name: string;
1838
1837
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1839
1838
  id: string;
1839
+ name: string;
1840
1840
  metadata: {
1841
- name: string;
1842
1841
  id: string;
1842
+ name: string;
1843
1843
  accessToken?: string | undefined;
1844
1844
  channelSecret?: string | undefined;
1845
1845
  additionalCredentials?: any;
@@ -1868,9 +1868,9 @@ export declare const chatContract: {
1868
1868
  updatedAt: Date;
1869
1869
  deletedAt: Date | null;
1870
1870
  actor: {
1871
- name: string;
1872
1871
  id: string;
1873
1872
  address: string | null;
1873
+ name: string;
1874
1874
  email: string;
1875
1875
  createdAt: Date;
1876
1876
  updatedAt: Date;
@@ -1917,19 +1917,19 @@ export declare const chatContract: {
1917
1917
  connectedUserName: string;
1918
1918
  connectedUserId: string;
1919
1919
  botpressBot: {
1920
- name: string;
1921
1920
  id: string;
1921
+ name: string;
1922
1922
  accessToken: string;
1923
1923
  botId: string;
1924
1924
  integrationId: string;
1925
1925
  } | null;
1926
1926
  }, {
1927
- name: string;
1928
1927
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1929
1928
  id: string;
1929
+ name: string;
1930
1930
  metadata: {
1931
- name: string;
1932
1931
  id: string;
1932
+ name: string;
1933
1933
  accessToken?: string | undefined;
1934
1934
  channelSecret?: string | undefined;
1935
1935
  additionalCredentials?: any;
@@ -1958,9 +1958,9 @@ export declare const chatContract: {
1958
1958
  updatedAt: Date;
1959
1959
  deletedAt: Date | null;
1960
1960
  actor: {
1961
- name: string;
1962
1961
  id: string;
1963
1962
  address: string | null;
1963
+ name: string;
1964
1964
  email: string;
1965
1965
  createdAt: Date;
1966
1966
  updatedAt: Date;
@@ -2007,26 +2007,26 @@ export declare const chatContract: {
2007
2007
  connectedUserName: string;
2008
2008
  connectedUserId: string;
2009
2009
  botpressBot: {
2010
- name: string;
2011
2010
  id: string;
2011
+ name: string;
2012
2012
  accessToken: string;
2013
2013
  botId: string;
2014
2014
  integrationId: string;
2015
2015
  } | null;
2016
2016
  }>;
2017
- cxlog: z.ZodObject<{
2017
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2018
2018
  id: z.ZodString;
2019
- channel: z.ZodNullable<z.ZodString>;
2020
- direction: z.ZodNullable<z.ZodString>;
2021
2019
  createdAt: z.ZodDate;
2022
2020
  updatedAt: z.ZodDate;
2023
2021
  deletedAt: z.ZodNullable<z.ZodDate>;
2024
- entityId: z.ZodString;
2025
- queueId: z.ZodNullable<z.ZodString>;
2026
- contactId: z.ZodNullable<z.ZodString>;
2027
2022
  caseId: z.ZodNumber;
2023
+ entityId: z.ZodString;
2028
2024
  entityName: z.ZodString;
2025
+ contactId: z.ZodNullable<z.ZodString>;
2026
+ channel: z.ZodNullable<z.ZodString>;
2027
+ queueId: z.ZodNullable<z.ZodString>;
2029
2028
  agentId: z.ZodNullable<z.ZodString>;
2029
+ direction: z.ZodNullable<z.ZodString>;
2030
2030
  startedDate: z.ZodNullable<z.ZodDate>;
2031
2031
  handledTime: z.ZodNullable<z.ZodNumber>;
2032
2032
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -2045,14 +2045,14 @@ export declare const chatContract: {
2045
2045
  deletedAt: z.ZodNullable<z.ZodDate>;
2046
2046
  name: z.ZodString;
2047
2047
  }, "strip", z.ZodTypeAny, {
2048
- name: string;
2049
2048
  id: string;
2049
+ name: string;
2050
2050
  createdAt: Date;
2051
2051
  updatedAt: Date;
2052
2052
  deletedAt: Date | null;
2053
2053
  }, {
2054
- name: string;
2055
2054
  id: string;
2055
+ name: string;
2056
2056
  createdAt: Date;
2057
2057
  updatedAt: Date;
2058
2058
  deletedAt: Date | null;
@@ -2223,8 +2223,8 @@ export declare const chatContract: {
2223
2223
  }[];
2224
2224
  }[];
2225
2225
  tags: {
2226
- name: string;
2227
2226
  id: string;
2227
+ name: string;
2228
2228
  createdAt: Date;
2229
2229
  updatedAt: Date;
2230
2230
  deletedAt: Date | null;
@@ -2274,8 +2274,8 @@ export declare const chatContract: {
2274
2274
  }[];
2275
2275
  }[];
2276
2276
  tags: {
2277
- name: string;
2278
2277
  id: string;
2278
+ name: string;
2279
2279
  createdAt: Date;
2280
2280
  updatedAt: Date;
2281
2281
  deletedAt: Date | null;
@@ -2296,7 +2296,7 @@ export declare const chatContract: {
2296
2296
  dateValue: Date | null;
2297
2297
  }[] | null | undefined;
2298
2298
  }>>;
2299
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2299
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2300
2300
  id: z.ZodString;
2301
2301
  createdAt: z.ZodDate;
2302
2302
  updatedAt: z.ZodDate;
@@ -2304,7 +2304,7 @@ export declare const chatContract: {
2304
2304
  startedAt: z.ZodString;
2305
2305
  endedAt: z.ZodNullable<z.ZodString>;
2306
2306
  duration: z.ZodNullable<z.ZodNumber>;
2307
- holdLabel: z.ZodObject<{
2307
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2308
2308
  id: z.ZodString;
2309
2309
  createdAt: z.ZodDate;
2310
2310
  updatedAt: z.ZodDate;
@@ -2312,20 +2312,20 @@ export declare const chatContract: {
2312
2312
  name: z.ZodString;
2313
2313
  position: z.ZodNumber;
2314
2314
  }, "strip", z.ZodTypeAny, {
2315
- name: string;
2316
2315
  id: string;
2316
+ name: string;
2317
2317
  position: number;
2318
2318
  createdAt: Date;
2319
2319
  updatedAt: Date;
2320
2320
  deletedAt: Date | null;
2321
2321
  }, {
2322
- name: string;
2323
2322
  id: string;
2323
+ name: string;
2324
2324
  position: number;
2325
2325
  createdAt: Date;
2326
2326
  updatedAt: Date;
2327
2327
  deletedAt: Date | null;
2328
- }>;
2328
+ }>>>;
2329
2329
  }, "strip", z.ZodTypeAny, {
2330
2330
  id: string;
2331
2331
  createdAt: Date;
@@ -2334,14 +2334,14 @@ export declare const chatContract: {
2334
2334
  startedAt: string;
2335
2335
  endedAt: string | null;
2336
2336
  duration: number | null;
2337
- holdLabel: {
2338
- name: string;
2337
+ holdLabel?: {
2339
2338
  id: string;
2339
+ name: string;
2340
2340
  position: number;
2341
2341
  createdAt: Date;
2342
2342
  updatedAt: Date;
2343
2343
  deletedAt: Date | null;
2344
- };
2344
+ } | null | undefined;
2345
2345
  }, {
2346
2346
  id: string;
2347
2347
  createdAt: Date;
@@ -2350,14 +2350,14 @@ export declare const chatContract: {
2350
2350
  startedAt: string;
2351
2351
  endedAt: string | null;
2352
2352
  duration: number | null;
2353
- holdLabel: {
2354
- name: string;
2353
+ holdLabel?: {
2355
2354
  id: string;
2355
+ name: string;
2356
2356
  position: number;
2357
2357
  createdAt: Date;
2358
2358
  updatedAt: Date;
2359
2359
  deletedAt: Date | null;
2360
- };
2360
+ } | null | undefined;
2361
2361
  }>, "many">>>;
2362
2362
  }, "strip", z.ZodTypeAny, {
2363
2363
  id: string;
@@ -2405,8 +2405,8 @@ export declare const chatContract: {
2405
2405
  }[];
2406
2406
  }[];
2407
2407
  tags: {
2408
- name: string;
2409
2408
  id: string;
2409
+ name: string;
2410
2410
  createdAt: Date;
2411
2411
  updatedAt: Date;
2412
2412
  deletedAt: Date | null;
@@ -2435,14 +2435,14 @@ export declare const chatContract: {
2435
2435
  startedAt: string;
2436
2436
  endedAt: string | null;
2437
2437
  duration: number | null;
2438
- holdLabel: {
2439
- name: string;
2438
+ holdLabel?: {
2440
2439
  id: string;
2440
+ name: string;
2441
2441
  position: number;
2442
2442
  createdAt: Date;
2443
2443
  updatedAt: Date;
2444
2444
  deletedAt: Date | null;
2445
- };
2445
+ } | null | undefined;
2446
2446
  }[] | null | undefined;
2447
2447
  }, {
2448
2448
  id: string;
@@ -2490,8 +2490,8 @@ export declare const chatContract: {
2490
2490
  }[];
2491
2491
  }[];
2492
2492
  tags: {
2493
- name: string;
2494
2493
  id: string;
2494
+ name: string;
2495
2495
  createdAt: Date;
2496
2496
  updatedAt: Date;
2497
2497
  deletedAt: Date | null;
@@ -2520,16 +2520,16 @@ export declare const chatContract: {
2520
2520
  startedAt: string;
2521
2521
  endedAt: string | null;
2522
2522
  duration: number | null;
2523
- holdLabel: {
2524
- name: string;
2523
+ holdLabel?: {
2525
2524
  id: string;
2525
+ name: string;
2526
2526
  position: number;
2527
2527
  createdAt: Date;
2528
2528
  updatedAt: Date;
2529
2529
  deletedAt: Date | null;
2530
- };
2530
+ } | null | undefined;
2531
2531
  }[] | null | undefined;
2532
- }>;
2532
+ }>>>;
2533
2533
  workflowRule: z.ZodObject<{
2534
2534
  id: z.ZodString;
2535
2535
  createdAt: z.ZodDate;
@@ -2539,17 +2539,17 @@ export declare const chatContract: {
2539
2539
  isActive: z.ZodBoolean;
2540
2540
  type: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
- name: string;
2543
2542
  type: string;
2544
2543
  id: string;
2544
+ name: string;
2545
2545
  createdAt: Date;
2546
2546
  updatedAt: Date;
2547
2547
  deletedAt: Date | null;
2548
2548
  isActive: boolean;
2549
2549
  }, {
2550
- name: string;
2551
2550
  type: string;
2552
2551
  id: string;
2552
+ name: string;
2553
2553
  createdAt: Date;
2554
2554
  updatedAt: Date;
2555
2555
  deletedAt: Date | null;
@@ -2559,12 +2559,12 @@ export declare const chatContract: {
2559
2559
  }, "strip", z.ZodTypeAny, {
2560
2560
  id: string;
2561
2561
  channel: {
2562
- name: string;
2563
2562
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2564
2563
  id: string;
2564
+ name: string;
2565
2565
  metadata: {
2566
- name: string;
2567
2566
  id: string;
2567
+ name: string;
2568
2568
  accessToken?: string | undefined;
2569
2569
  channelSecret?: string | undefined;
2570
2570
  additionalCredentials?: any;
@@ -2593,9 +2593,9 @@ export declare const chatContract: {
2593
2593
  updatedAt: Date;
2594
2594
  deletedAt: Date | null;
2595
2595
  actor: {
2596
- name: string;
2597
2596
  id: string;
2598
2597
  address: string | null;
2598
+ name: string;
2599
2599
  email: string;
2600
2600
  createdAt: Date;
2601
2601
  updatedAt: Date;
@@ -2642,8 +2642,8 @@ export declare const chatContract: {
2642
2642
  connectedUserName: string;
2643
2643
  connectedUserId: string;
2644
2644
  botpressBot: {
2645
- name: string;
2646
2645
  id: string;
2646
+ name: string;
2647
2647
  accessToken: string;
2648
2648
  botId: string;
2649
2649
  integrationId: string;
@@ -2655,9 +2655,9 @@ export declare const chatContract: {
2655
2655
  updatedAt: Date;
2656
2656
  deletedAt: Date | null;
2657
2657
  actor: {
2658
- name: string;
2659
2658
  id: string;
2660
2659
  address: string | null;
2660
+ name: string;
2661
2661
  email: string;
2662
2662
  createdAt: Date;
2663
2663
  updatedAt: Date;
@@ -2708,8 +2708,8 @@ export declare const chatContract: {
2708
2708
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2709
2709
  id: string;
2710
2710
  metadata: {
2711
- name: string;
2712
2711
  id: string;
2712
+ name: string;
2713
2713
  picture?: string | undefined;
2714
2714
  additionalCredentials?: any;
2715
2715
  };
@@ -2717,10 +2717,10 @@ export declare const chatContract: {
2717
2717
  updatedAt: Date;
2718
2718
  deletedAt: Date | null;
2719
2719
  contact: {
2720
- name: string;
2721
2720
  id: string;
2722
2721
  channel: string | null;
2723
2722
  address: string | null;
2723
+ name: string;
2724
2724
  createdAt: Date;
2725
2725
  updatedAt: Date;
2726
2726
  deletedAt: Date | null;
@@ -2765,8 +2765,8 @@ export declare const chatContract: {
2765
2765
  createdAt: Date;
2766
2766
  updatedAt: Date;
2767
2767
  deletedAt: Date | null;
2768
- name?: string | undefined;
2769
2768
  address?: string | null | undefined;
2769
+ name?: string | undefined;
2770
2770
  phone?: string | null | undefined;
2771
2771
  industry?: string | null | undefined;
2772
2772
  } | null;
@@ -2774,8 +2774,8 @@ export declare const chatContract: {
2774
2774
  contactProfile: string | null;
2775
2775
  socialProfileUrl: string | null;
2776
2776
  tags: {
2777
- name: string;
2778
2777
  id: string;
2778
+ name: string;
2779
2779
  createdAt: Date;
2780
2780
  updatedAt: Date;
2781
2781
  deletedAt: Date | null;
@@ -2800,8 +2800,8 @@ export declare const chatContract: {
2800
2800
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2801
2801
  id: string;
2802
2802
  metadata: {
2803
- name: string;
2804
2803
  id: string;
2804
+ name: string;
2805
2805
  picture?: string | undefined;
2806
2806
  additionalCredentials?: any;
2807
2807
  };
@@ -2832,9 +2832,9 @@ export declare const chatContract: {
2832
2832
  socialPlatformId: string;
2833
2833
  };
2834
2834
  assignee: {
2835
- name: string;
2836
2835
  id: string;
2837
2836
  address: string | null;
2837
+ name: string;
2838
2838
  email: string;
2839
2839
  createdAt: Date;
2840
2840
  updatedAt: Date;
@@ -2878,7 +2878,16 @@ export declare const chatContract: {
2878
2878
  closedAt: Date;
2879
2879
  lastMessageAt: Date | null;
2880
2880
  isBotRoom: boolean;
2881
- cxlog: {
2881
+ workflowRule: {
2882
+ type: string;
2883
+ id: string;
2884
+ name: string;
2885
+ createdAt: Date;
2886
+ updatedAt: Date;
2887
+ deletedAt: Date | null;
2888
+ isActive: boolean;
2889
+ };
2890
+ cxlog?: {
2882
2891
  id: string;
2883
2892
  channel: string | null;
2884
2893
  direction: string | null;
@@ -2924,8 +2933,8 @@ export declare const chatContract: {
2924
2933
  }[];
2925
2934
  }[];
2926
2935
  tags: {
2927
- name: string;
2928
2936
  id: string;
2937
+ name: string;
2929
2938
  createdAt: Date;
2930
2939
  updatedAt: Date;
2931
2940
  deletedAt: Date | null;
@@ -2954,35 +2963,26 @@ export declare const chatContract: {
2954
2963
  startedAt: string;
2955
2964
  endedAt: string | null;
2956
2965
  duration: number | null;
2957
- holdLabel: {
2958
- name: string;
2966
+ holdLabel?: {
2959
2967
  id: string;
2968
+ name: string;
2960
2969
  position: number;
2961
2970
  createdAt: Date;
2962
2971
  updatedAt: Date;
2963
2972
  deletedAt: Date | null;
2964
- };
2973
+ } | null | undefined;
2965
2974
  }[] | null | undefined;
2966
- };
2967
- workflowRule: {
2968
- name: string;
2969
- type: string;
2970
- id: string;
2971
- createdAt: Date;
2972
- updatedAt: Date;
2973
- deletedAt: Date | null;
2974
- isActive: boolean;
2975
- };
2975
+ } | null | undefined;
2976
2976
  automationQueueId?: string | null | undefined;
2977
2977
  }, {
2978
2978
  id: string;
2979
2979
  channel: {
2980
- name: string;
2981
2980
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2982
2981
  id: string;
2982
+ name: string;
2983
2983
  metadata: {
2984
- name: string;
2985
2984
  id: string;
2985
+ name: string;
2986
2986
  accessToken?: string | undefined;
2987
2987
  channelSecret?: string | undefined;
2988
2988
  additionalCredentials?: any;
@@ -3011,9 +3011,9 @@ export declare const chatContract: {
3011
3011
  updatedAt: Date;
3012
3012
  deletedAt: Date | null;
3013
3013
  actor: {
3014
- name: string;
3015
3014
  id: string;
3016
3015
  address: string | null;
3016
+ name: string;
3017
3017
  email: string;
3018
3018
  createdAt: Date;
3019
3019
  updatedAt: Date;
@@ -3060,8 +3060,8 @@ export declare const chatContract: {
3060
3060
  connectedUserName: string;
3061
3061
  connectedUserId: string;
3062
3062
  botpressBot: {
3063
- name: string;
3064
3063
  id: string;
3064
+ name: string;
3065
3065
  accessToken: string;
3066
3066
  botId: string;
3067
3067
  integrationId: string;
@@ -3073,9 +3073,9 @@ export declare const chatContract: {
3073
3073
  updatedAt: Date;
3074
3074
  deletedAt: Date | null;
3075
3075
  actor: {
3076
- name: string;
3077
3076
  id: string;
3078
3077
  address: string | null;
3078
+ name: string;
3079
3079
  email: string;
3080
3080
  createdAt: Date;
3081
3081
  updatedAt: Date;
@@ -3126,8 +3126,8 @@ export declare const chatContract: {
3126
3126
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3127
3127
  id: string;
3128
3128
  metadata: {
3129
- name: string;
3130
3129
  id: string;
3130
+ name: string;
3131
3131
  picture?: string | undefined;
3132
3132
  additionalCredentials?: any;
3133
3133
  };
@@ -3135,10 +3135,10 @@ export declare const chatContract: {
3135
3135
  updatedAt: Date;
3136
3136
  deletedAt: Date | null;
3137
3137
  contact: {
3138
- name: string;
3139
3138
  id: string;
3140
3139
  channel: string | null;
3141
3140
  address: string | null;
3141
+ name: string;
3142
3142
  createdAt: Date;
3143
3143
  updatedAt: Date;
3144
3144
  deletedAt: Date | null;
@@ -3183,8 +3183,8 @@ export declare const chatContract: {
3183
3183
  createdAt: Date;
3184
3184
  updatedAt: Date;
3185
3185
  deletedAt: Date | null;
3186
- name?: string | undefined;
3187
3186
  address?: string | null | undefined;
3187
+ name?: string | undefined;
3188
3188
  phone?: string | null | undefined;
3189
3189
  industry?: string | null | undefined;
3190
3190
  } | null;
@@ -3192,8 +3192,8 @@ export declare const chatContract: {
3192
3192
  contactProfile: string | null;
3193
3193
  socialProfileUrl: string | null;
3194
3194
  tags: {
3195
- name: string;
3196
3195
  id: string;
3196
+ name: string;
3197
3197
  createdAt: Date;
3198
3198
  updatedAt: Date;
3199
3199
  deletedAt: Date | null;
@@ -3218,8 +3218,8 @@ export declare const chatContract: {
3218
3218
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3219
3219
  id: string;
3220
3220
  metadata: {
3221
- name: string;
3222
3221
  id: string;
3222
+ name: string;
3223
3223
  picture?: string | undefined;
3224
3224
  additionalCredentials?: any;
3225
3225
  };
@@ -3250,9 +3250,9 @@ export declare const chatContract: {
3250
3250
  socialPlatformId: string;
3251
3251
  };
3252
3252
  assignee: {
3253
- name: string;
3254
3253
  id: string;
3255
3254
  address: string | null;
3255
+ name: string;
3256
3256
  email: string;
3257
3257
  createdAt: Date;
3258
3258
  updatedAt: Date;
@@ -3296,7 +3296,16 @@ export declare const chatContract: {
3296
3296
  closedAt: Date;
3297
3297
  lastMessageAt: Date | null;
3298
3298
  isBotRoom: boolean;
3299
- cxlog: {
3299
+ workflowRule: {
3300
+ type: string;
3301
+ id: string;
3302
+ name: string;
3303
+ createdAt: Date;
3304
+ updatedAt: Date;
3305
+ deletedAt: Date | null;
3306
+ isActive: boolean;
3307
+ };
3308
+ cxlog?: {
3300
3309
  id: string;
3301
3310
  channel: string | null;
3302
3311
  direction: string | null;
@@ -3342,8 +3351,8 @@ export declare const chatContract: {
3342
3351
  }[];
3343
3352
  }[];
3344
3353
  tags: {
3345
- name: string;
3346
3354
  id: string;
3355
+ name: string;
3347
3356
  createdAt: Date;
3348
3357
  updatedAt: Date;
3349
3358
  deletedAt: Date | null;
@@ -3372,37 +3381,28 @@ export declare const chatContract: {
3372
3381
  startedAt: string;
3373
3382
  endedAt: string | null;
3374
3383
  duration: number | null;
3375
- holdLabel: {
3376
- name: string;
3384
+ holdLabel?: {
3377
3385
  id: string;
3386
+ name: string;
3378
3387
  position: number;
3379
3388
  createdAt: Date;
3380
3389
  updatedAt: Date;
3381
3390
  deletedAt: Date | null;
3382
- };
3391
+ } | null | undefined;
3383
3392
  }[] | null | undefined;
3384
- };
3385
- workflowRule: {
3386
- name: string;
3387
- type: string;
3388
- id: string;
3389
- createdAt: Date;
3390
- updatedAt: Date;
3391
- deletedAt: Date | null;
3392
- isActive: boolean;
3393
- };
3393
+ } | null | undefined;
3394
3394
  automationQueueId?: string | null | undefined;
3395
3395
  }>;
3396
3396
  }, "strip", z.ZodTypeAny, {
3397
3397
  data: {
3398
3398
  id: string;
3399
3399
  channel: {
3400
- name: string;
3401
3400
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3402
3401
  id: string;
3402
+ name: string;
3403
3403
  metadata: {
3404
- name: string;
3405
3404
  id: string;
3405
+ name: string;
3406
3406
  accessToken?: string | undefined;
3407
3407
  channelSecret?: string | undefined;
3408
3408
  additionalCredentials?: any;
@@ -3431,9 +3431,9 @@ export declare const chatContract: {
3431
3431
  updatedAt: Date;
3432
3432
  deletedAt: Date | null;
3433
3433
  actor: {
3434
- name: string;
3435
3434
  id: string;
3436
3435
  address: string | null;
3436
+ name: string;
3437
3437
  email: string;
3438
3438
  createdAt: Date;
3439
3439
  updatedAt: Date;
@@ -3480,8 +3480,8 @@ export declare const chatContract: {
3480
3480
  connectedUserName: string;
3481
3481
  connectedUserId: string;
3482
3482
  botpressBot: {
3483
- name: string;
3484
3483
  id: string;
3484
+ name: string;
3485
3485
  accessToken: string;
3486
3486
  botId: string;
3487
3487
  integrationId: string;
@@ -3493,9 +3493,9 @@ export declare const chatContract: {
3493
3493
  updatedAt: Date;
3494
3494
  deletedAt: Date | null;
3495
3495
  actor: {
3496
- name: string;
3497
3496
  id: string;
3498
3497
  address: string | null;
3498
+ name: string;
3499
3499
  email: string;
3500
3500
  createdAt: Date;
3501
3501
  updatedAt: Date;
@@ -3546,8 +3546,8 @@ export declare const chatContract: {
3546
3546
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3547
3547
  id: string;
3548
3548
  metadata: {
3549
- name: string;
3550
3549
  id: string;
3550
+ name: string;
3551
3551
  picture?: string | undefined;
3552
3552
  additionalCredentials?: any;
3553
3553
  };
@@ -3555,10 +3555,10 @@ export declare const chatContract: {
3555
3555
  updatedAt: Date;
3556
3556
  deletedAt: Date | null;
3557
3557
  contact: {
3558
- name: string;
3559
3558
  id: string;
3560
3559
  channel: string | null;
3561
3560
  address: string | null;
3561
+ name: string;
3562
3562
  createdAt: Date;
3563
3563
  updatedAt: Date;
3564
3564
  deletedAt: Date | null;
@@ -3603,8 +3603,8 @@ export declare const chatContract: {
3603
3603
  createdAt: Date;
3604
3604
  updatedAt: Date;
3605
3605
  deletedAt: Date | null;
3606
- name?: string | undefined;
3607
3606
  address?: string | null | undefined;
3607
+ name?: string | undefined;
3608
3608
  phone?: string | null | undefined;
3609
3609
  industry?: string | null | undefined;
3610
3610
  } | null;
@@ -3612,8 +3612,8 @@ export declare const chatContract: {
3612
3612
  contactProfile: string | null;
3613
3613
  socialProfileUrl: string | null;
3614
3614
  tags: {
3615
- name: string;
3616
3615
  id: string;
3616
+ name: string;
3617
3617
  createdAt: Date;
3618
3618
  updatedAt: Date;
3619
3619
  deletedAt: Date | null;
@@ -3638,8 +3638,8 @@ export declare const chatContract: {
3638
3638
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3639
3639
  id: string;
3640
3640
  metadata: {
3641
- name: string;
3642
3641
  id: string;
3642
+ name: string;
3643
3643
  picture?: string | undefined;
3644
3644
  additionalCredentials?: any;
3645
3645
  };
@@ -3670,9 +3670,9 @@ export declare const chatContract: {
3670
3670
  socialPlatformId: string;
3671
3671
  };
3672
3672
  assignee: {
3673
- name: string;
3674
3673
  id: string;
3675
3674
  address: string | null;
3675
+ name: string;
3676
3676
  email: string;
3677
3677
  createdAt: Date;
3678
3678
  updatedAt: Date;
@@ -3716,14 +3716,23 @@ export declare const chatContract: {
3716
3716
  closedAt: Date;
3717
3717
  lastMessageAt: Date | null;
3718
3718
  isBotRoom: boolean;
3719
- cxlog: {
3719
+ workflowRule: {
3720
+ type: string;
3720
3721
  id: string;
3721
- channel: string | null;
3722
- direction: string | null;
3722
+ name: string;
3723
3723
  createdAt: Date;
3724
3724
  updatedAt: Date;
3725
3725
  deletedAt: Date | null;
3726
- entityId: string;
3726
+ isActive: boolean;
3727
+ };
3728
+ cxlog?: {
3729
+ id: string;
3730
+ channel: string | null;
3731
+ direction: string | null;
3732
+ createdAt: Date;
3733
+ updatedAt: Date;
3734
+ deletedAt: Date | null;
3735
+ entityId: string;
3727
3736
  queueId: string | null;
3728
3737
  contactId: string | null;
3729
3738
  caseId: number;
@@ -3762,8 +3771,8 @@ export declare const chatContract: {
3762
3771
  }[];
3763
3772
  }[];
3764
3773
  tags: {
3765
- name: string;
3766
3774
  id: string;
3775
+ name: string;
3767
3776
  createdAt: Date;
3768
3777
  updatedAt: Date;
3769
3778
  deletedAt: Date | null;
@@ -3792,25 +3801,16 @@ export declare const chatContract: {
3792
3801
  startedAt: string;
3793
3802
  endedAt: string | null;
3794
3803
  duration: number | null;
3795
- holdLabel: {
3796
- name: string;
3804
+ holdLabel?: {
3797
3805
  id: string;
3806
+ name: string;
3798
3807
  position: number;
3799
3808
  createdAt: Date;
3800
3809
  updatedAt: Date;
3801
3810
  deletedAt: Date | null;
3802
- };
3811
+ } | null | undefined;
3803
3812
  }[] | null | undefined;
3804
- };
3805
- workflowRule: {
3806
- name: string;
3807
- type: string;
3808
- id: string;
3809
- createdAt: Date;
3810
- updatedAt: Date;
3811
- deletedAt: Date | null;
3812
- isActive: boolean;
3813
- };
3813
+ } | null | undefined;
3814
3814
  automationQueueId?: string | null | undefined;
3815
3815
  };
3816
3816
  requestId: string;
@@ -3818,12 +3818,12 @@ export declare const chatContract: {
3818
3818
  data: {
3819
3819
  id: string;
3820
3820
  channel: {
3821
- name: string;
3822
3821
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3823
3822
  id: string;
3823
+ name: string;
3824
3824
  metadata: {
3825
- name: string;
3826
3825
  id: string;
3826
+ name: string;
3827
3827
  accessToken?: string | undefined;
3828
3828
  channelSecret?: string | undefined;
3829
3829
  additionalCredentials?: any;
@@ -3852,9 +3852,9 @@ export declare const chatContract: {
3852
3852
  updatedAt: Date;
3853
3853
  deletedAt: Date | null;
3854
3854
  actor: {
3855
- name: string;
3856
3855
  id: string;
3857
3856
  address: string | null;
3857
+ name: string;
3858
3858
  email: string;
3859
3859
  createdAt: Date;
3860
3860
  updatedAt: Date;
@@ -3901,8 +3901,8 @@ export declare const chatContract: {
3901
3901
  connectedUserName: string;
3902
3902
  connectedUserId: string;
3903
3903
  botpressBot: {
3904
- name: string;
3905
3904
  id: string;
3905
+ name: string;
3906
3906
  accessToken: string;
3907
3907
  botId: string;
3908
3908
  integrationId: string;
@@ -3914,9 +3914,9 @@ export declare const chatContract: {
3914
3914
  updatedAt: Date;
3915
3915
  deletedAt: Date | null;
3916
3916
  actor: {
3917
- name: string;
3918
3917
  id: string;
3919
3918
  address: string | null;
3919
+ name: string;
3920
3920
  email: string;
3921
3921
  createdAt: Date;
3922
3922
  updatedAt: Date;
@@ -3967,8 +3967,8 @@ export declare const chatContract: {
3967
3967
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3968
3968
  id: string;
3969
3969
  metadata: {
3970
- name: string;
3971
3970
  id: string;
3971
+ name: string;
3972
3972
  picture?: string | undefined;
3973
3973
  additionalCredentials?: any;
3974
3974
  };
@@ -3976,10 +3976,10 @@ export declare const chatContract: {
3976
3976
  updatedAt: Date;
3977
3977
  deletedAt: Date | null;
3978
3978
  contact: {
3979
- name: string;
3980
3979
  id: string;
3981
3980
  channel: string | null;
3982
3981
  address: string | null;
3982
+ name: string;
3983
3983
  createdAt: Date;
3984
3984
  updatedAt: Date;
3985
3985
  deletedAt: Date | null;
@@ -4024,8 +4024,8 @@ export declare const chatContract: {
4024
4024
  createdAt: Date;
4025
4025
  updatedAt: Date;
4026
4026
  deletedAt: Date | null;
4027
- name?: string | undefined;
4028
4027
  address?: string | null | undefined;
4028
+ name?: string | undefined;
4029
4029
  phone?: string | null | undefined;
4030
4030
  industry?: string | null | undefined;
4031
4031
  } | null;
@@ -4033,8 +4033,8 @@ export declare const chatContract: {
4033
4033
  contactProfile: string | null;
4034
4034
  socialProfileUrl: string | null;
4035
4035
  tags: {
4036
- name: string;
4037
4036
  id: string;
4037
+ name: string;
4038
4038
  createdAt: Date;
4039
4039
  updatedAt: Date;
4040
4040
  deletedAt: Date | null;
@@ -4059,8 +4059,8 @@ export declare const chatContract: {
4059
4059
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4060
4060
  id: string;
4061
4061
  metadata: {
4062
- name: string;
4063
4062
  id: string;
4063
+ name: string;
4064
4064
  picture?: string | undefined;
4065
4065
  additionalCredentials?: any;
4066
4066
  };
@@ -4091,9 +4091,9 @@ export declare const chatContract: {
4091
4091
  socialPlatformId: string;
4092
4092
  };
4093
4093
  assignee: {
4094
- name: string;
4095
4094
  id: string;
4096
4095
  address: string | null;
4096
+ name: string;
4097
4097
  email: string;
4098
4098
  createdAt: Date;
4099
4099
  updatedAt: Date;
@@ -4137,7 +4137,16 @@ export declare const chatContract: {
4137
4137
  closedAt: Date;
4138
4138
  lastMessageAt: Date | null;
4139
4139
  isBotRoom: boolean;
4140
- cxlog: {
4140
+ workflowRule: {
4141
+ type: string;
4142
+ id: string;
4143
+ name: string;
4144
+ createdAt: Date;
4145
+ updatedAt: Date;
4146
+ deletedAt: Date | null;
4147
+ isActive: boolean;
4148
+ };
4149
+ cxlog?: {
4141
4150
  id: string;
4142
4151
  channel: string | null;
4143
4152
  direction: string | null;
@@ -4183,8 +4192,8 @@ export declare const chatContract: {
4183
4192
  }[];
4184
4193
  }[];
4185
4194
  tags: {
4186
- name: string;
4187
4195
  id: string;
4196
+ name: string;
4188
4197
  createdAt: Date;
4189
4198
  updatedAt: Date;
4190
4199
  deletedAt: Date | null;
@@ -4213,25 +4222,16 @@ export declare const chatContract: {
4213
4222
  startedAt: string;
4214
4223
  endedAt: string | null;
4215
4224
  duration: number | null;
4216
- holdLabel: {
4217
- name: string;
4225
+ holdLabel?: {
4218
4226
  id: string;
4227
+ name: string;
4219
4228
  position: number;
4220
4229
  createdAt: Date;
4221
4230
  updatedAt: Date;
4222
4231
  deletedAt: Date | null;
4223
- };
4232
+ } | null | undefined;
4224
4233
  }[] | null | undefined;
4225
- };
4226
- workflowRule: {
4227
- name: string;
4228
- type: string;
4229
- id: string;
4230
- createdAt: Date;
4231
- updatedAt: Date;
4232
- deletedAt: Date | null;
4233
- isActive: boolean;
4234
- };
4234
+ } | null | undefined;
4235
4235
  automationQueueId?: string | null | undefined;
4236
4236
  };
4237
4237
  requestId: string;
@@ -4341,8 +4341,8 @@ export declare const chatContract: {
4341
4341
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4342
4342
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
4343
4343
  }, "strip", z.ZodTypeAny, {
4344
- name: string;
4345
4344
  id: string;
4345
+ name: string;
4346
4346
  accessToken?: string | undefined;
4347
4347
  channelSecret?: string | undefined;
4348
4348
  additionalCredentials?: any;
@@ -4366,8 +4366,8 @@ export declare const chatContract: {
4366
4366
  lineRichMenuId?: string | null | undefined;
4367
4367
  messengerIntegrationType?: "own" | "business" | undefined;
4368
4368
  }, {
4369
- name: string;
4370
4369
  id: string;
4370
+ name: string;
4371
4371
  accessToken?: string | undefined;
4372
4372
  channelSecret?: string | undefined;
4373
4373
  additionalCredentials?: any;
@@ -4404,14 +4404,14 @@ export declare const chatContract: {
4404
4404
  integrationId: z.ZodString;
4405
4405
  accessToken: z.ZodString;
4406
4406
  }, "strip", z.ZodTypeAny, {
4407
- name: string;
4408
4407
  id: string;
4408
+ name: string;
4409
4409
  accessToken: string;
4410
4410
  botId: string;
4411
4411
  integrationId: string;
4412
4412
  }, {
4413
- name: string;
4414
4413
  id: string;
4414
+ name: string;
4415
4415
  accessToken: string;
4416
4416
  botId: string;
4417
4417
  integrationId: string;
@@ -4534,9 +4534,9 @@ export declare const chatContract: {
4534
4534
  telephonySignature: string | null;
4535
4535
  }>;
4536
4536
  }, "strip", z.ZodTypeAny, {
4537
- name: string;
4538
4537
  id: string;
4539
4538
  address: string | null;
4539
+ name: string;
4540
4540
  email: string;
4541
4541
  createdAt: Date;
4542
4542
  updatedAt: Date;
@@ -4577,9 +4577,9 @@ export declare const chatContract: {
4577
4577
  telephonySignature: string | null;
4578
4578
  };
4579
4579
  }, {
4580
- name: string;
4581
4580
  id: string;
4582
4581
  address: string | null;
4582
+ name: string;
4583
4583
  email: string;
4584
4584
  createdAt: Date;
4585
4585
  updatedAt: Date;
@@ -4621,12 +4621,12 @@ export declare const chatContract: {
4621
4621
  };
4622
4622
  }>;
4623
4623
  }, "strip", z.ZodTypeAny, {
4624
- name: string;
4625
4624
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4626
4625
  id: string;
4626
+ name: string;
4627
4627
  metadata: {
4628
- name: string;
4629
4628
  id: string;
4629
+ name: string;
4630
4630
  accessToken?: string | undefined;
4631
4631
  channelSecret?: string | undefined;
4632
4632
  additionalCredentials?: any;
@@ -4655,9 +4655,9 @@ export declare const chatContract: {
4655
4655
  updatedAt: Date;
4656
4656
  deletedAt: Date | null;
4657
4657
  actor: {
4658
- name: string;
4659
4658
  id: string;
4660
4659
  address: string | null;
4660
+ name: string;
4661
4661
  email: string;
4662
4662
  createdAt: Date;
4663
4663
  updatedAt: Date;
@@ -4704,19 +4704,19 @@ export declare const chatContract: {
4704
4704
  connectedUserName: string;
4705
4705
  connectedUserId: string;
4706
4706
  botpressBot: {
4707
- name: string;
4708
4707
  id: string;
4708
+ name: string;
4709
4709
  accessToken: string;
4710
4710
  botId: string;
4711
4711
  integrationId: string;
4712
4712
  } | null;
4713
4713
  }, {
4714
- name: string;
4715
4714
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4716
4715
  id: string;
4716
+ name: string;
4717
4717
  metadata: {
4718
- name: string;
4719
4718
  id: string;
4719
+ name: string;
4720
4720
  accessToken?: string | undefined;
4721
4721
  channelSecret?: string | undefined;
4722
4722
  additionalCredentials?: any;
@@ -4745,9 +4745,9 @@ export declare const chatContract: {
4745
4745
  updatedAt: Date;
4746
4746
  deletedAt: Date | null;
4747
4747
  actor: {
4748
- name: string;
4749
4748
  id: string;
4750
4749
  address: string | null;
4750
+ name: string;
4751
4751
  email: string;
4752
4752
  createdAt: Date;
4753
4753
  updatedAt: Date;
@@ -4794,8 +4794,8 @@ export declare const chatContract: {
4794
4794
  connectedUserName: string;
4795
4795
  connectedUserId: string;
4796
4796
  botpressBot: {
4797
- name: string;
4798
4797
  id: string;
4798
+ name: string;
4799
4799
  accessToken: string;
4800
4800
  botId: string;
4801
4801
  integrationId: string;
@@ -4924,9 +4924,9 @@ export declare const chatContract: {
4924
4924
  telephonySignature: string | null;
4925
4925
  }>;
4926
4926
  }, "strip", z.ZodTypeAny, {
4927
- name: string;
4928
4927
  id: string;
4929
4928
  address: string | null;
4929
+ name: string;
4930
4930
  email: string;
4931
4931
  createdAt: Date;
4932
4932
  updatedAt: Date;
@@ -4967,9 +4967,9 @@ export declare const chatContract: {
4967
4967
  telephonySignature: string | null;
4968
4968
  };
4969
4969
  }, {
4970
- name: string;
4971
4970
  id: string;
4972
4971
  address: string | null;
4972
+ name: string;
4973
4973
  email: string;
4974
4974
  createdAt: Date;
4975
4975
  updatedAt: Date;
@@ -5030,13 +5030,13 @@ export declare const chatContract: {
5030
5030
  picture: z.ZodOptional<z.ZodString>;
5031
5031
  additionalCredentials: z.ZodAny;
5032
5032
  }, "strip", z.ZodTypeAny, {
5033
- name: string;
5034
5033
  id: string;
5034
+ name: string;
5035
5035
  picture?: string | undefined;
5036
5036
  additionalCredentials?: any;
5037
5037
  }, {
5038
- name: string;
5039
5038
  id: string;
5039
+ name: string;
5040
5040
  picture?: string | undefined;
5041
5041
  additionalCredentials?: any;
5042
5042
  }>;
@@ -5058,14 +5058,14 @@ export declare const chatContract: {
5058
5058
  deletedAt: z.ZodNullable<z.ZodDate>;
5059
5059
  name: z.ZodString;
5060
5060
  }, "strip", z.ZodTypeAny, {
5061
- name: string;
5062
5061
  id: string;
5062
+ name: string;
5063
5063
  createdAt: Date;
5064
5064
  updatedAt: Date;
5065
5065
  deletedAt: Date | null;
5066
5066
  }, {
5067
- name: string;
5068
5067
  id: string;
5068
+ name: string;
5069
5069
  createdAt: Date;
5070
5070
  updatedAt: Date;
5071
5071
  deletedAt: Date | null;
@@ -5221,8 +5221,8 @@ export declare const chatContract: {
5221
5221
  createdAt: Date;
5222
5222
  updatedAt: Date;
5223
5223
  deletedAt: Date | null;
5224
- name?: string | undefined;
5225
5224
  address?: string | null | undefined;
5225
+ name?: string | undefined;
5226
5226
  phone?: string | null | undefined;
5227
5227
  industry?: string | null | undefined;
5228
5228
  }, {
@@ -5230,8 +5230,8 @@ export declare const chatContract: {
5230
5230
  createdAt: Date;
5231
5231
  updatedAt: Date;
5232
5232
  deletedAt: Date | null;
5233
- name?: string | undefined;
5234
5233
  address?: string | null | undefined;
5234
+ name?: string | undefined;
5235
5235
  phone?: string | null | undefined;
5236
5236
  industry?: string | null | undefined;
5237
5237
  }>>;
@@ -5249,13 +5249,13 @@ export declare const chatContract: {
5249
5249
  picture: z.ZodOptional<z.ZodString>;
5250
5250
  additionalCredentials: z.ZodAny;
5251
5251
  }, "strip", z.ZodTypeAny, {
5252
- name: string;
5253
5252
  id: string;
5253
+ name: string;
5254
5254
  picture?: string | undefined;
5255
5255
  additionalCredentials?: any;
5256
5256
  }, {
5257
- name: string;
5258
5257
  id: string;
5258
+ name: string;
5259
5259
  picture?: string | undefined;
5260
5260
  additionalCredentials?: any;
5261
5261
  }>;
@@ -5263,8 +5263,8 @@ export declare const chatContract: {
5263
5263
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5264
5264
  id: string;
5265
5265
  metadata: {
5266
- name: string;
5267
5266
  id: string;
5267
+ name: string;
5268
5268
  picture?: string | undefined;
5269
5269
  additionalCredentials?: any;
5270
5270
  };
@@ -5277,8 +5277,8 @@ export declare const chatContract: {
5277
5277
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5278
5278
  id: string;
5279
5279
  metadata: {
5280
- name: string;
5281
5280
  id: string;
5281
+ name: string;
5282
5282
  picture?: string | undefined;
5283
5283
  additionalCredentials?: any;
5284
5284
  };
@@ -5588,10 +5588,10 @@ export declare const chatContract: {
5588
5588
  };
5589
5589
  }>, "many">>;
5590
5590
  }, "strip", z.ZodTypeAny, {
5591
- name: string;
5592
5591
  id: string;
5593
5592
  channel: string | null;
5594
5593
  address: string | null;
5594
+ name: string;
5595
5595
  createdAt: Date;
5596
5596
  updatedAt: Date;
5597
5597
  deletedAt: Date | null;
@@ -5636,8 +5636,8 @@ export declare const chatContract: {
5636
5636
  createdAt: Date;
5637
5637
  updatedAt: Date;
5638
5638
  deletedAt: Date | null;
5639
- name?: string | undefined;
5640
5639
  address?: string | null | undefined;
5640
+ name?: string | undefined;
5641
5641
  phone?: string | null | undefined;
5642
5642
  industry?: string | null | undefined;
5643
5643
  } | null;
@@ -5645,8 +5645,8 @@ export declare const chatContract: {
5645
5645
  contactProfile: string | null;
5646
5646
  socialProfileUrl: string | null;
5647
5647
  tags: {
5648
- name: string;
5649
5648
  id: string;
5649
+ name: string;
5650
5650
  createdAt: Date;
5651
5651
  updatedAt: Date;
5652
5652
  deletedAt: Date | null;
@@ -5671,8 +5671,8 @@ export declare const chatContract: {
5671
5671
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5672
5672
  id: string;
5673
5673
  metadata: {
5674
- name: string;
5675
5674
  id: string;
5675
+ name: string;
5676
5676
  picture?: string | undefined;
5677
5677
  additionalCredentials?: any;
5678
5678
  };
@@ -5699,10 +5699,10 @@ export declare const chatContract: {
5699
5699
  };
5700
5700
  }[] | undefined;
5701
5701
  }, {
5702
- name: string;
5703
5702
  id: string;
5704
5703
  channel: string | null;
5705
5704
  address: string | null;
5705
+ name: string;
5706
5706
  createdAt: Date;
5707
5707
  updatedAt: Date;
5708
5708
  deletedAt: Date | null;
@@ -5747,8 +5747,8 @@ export declare const chatContract: {
5747
5747
  createdAt: Date;
5748
5748
  updatedAt: Date;
5749
5749
  deletedAt: Date | null;
5750
- name?: string | undefined;
5751
5750
  address?: string | null | undefined;
5751
+ name?: string | undefined;
5752
5752
  phone?: string | null | undefined;
5753
5753
  industry?: string | null | undefined;
5754
5754
  } | null;
@@ -5756,8 +5756,8 @@ export declare const chatContract: {
5756
5756
  contactProfile: string | null;
5757
5757
  socialProfileUrl: string | null;
5758
5758
  tags: {
5759
- name: string;
5760
5759
  id: string;
5760
+ name: string;
5761
5761
  createdAt: Date;
5762
5762
  updatedAt: Date;
5763
5763
  deletedAt: Date | null;
@@ -5782,8 +5782,8 @@ export declare const chatContract: {
5782
5782
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5783
5783
  id: string;
5784
5784
  metadata: {
5785
- name: string;
5786
5785
  id: string;
5786
+ name: string;
5787
5787
  picture?: string | undefined;
5788
5788
  additionalCredentials?: any;
5789
5789
  };
@@ -5814,8 +5814,8 @@ export declare const chatContract: {
5814
5814
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5815
5815
  id: string;
5816
5816
  metadata: {
5817
- name: string;
5818
5817
  id: string;
5818
+ name: string;
5819
5819
  picture?: string | undefined;
5820
5820
  additionalCredentials?: any;
5821
5821
  };
@@ -5823,10 +5823,10 @@ export declare const chatContract: {
5823
5823
  updatedAt: Date;
5824
5824
  deletedAt: Date | null;
5825
5825
  contact: {
5826
- name: string;
5827
5826
  id: string;
5828
5827
  channel: string | null;
5829
5828
  address: string | null;
5829
+ name: string;
5830
5830
  createdAt: Date;
5831
5831
  updatedAt: Date;
5832
5832
  deletedAt: Date | null;
@@ -5871,8 +5871,8 @@ export declare const chatContract: {
5871
5871
  createdAt: Date;
5872
5872
  updatedAt: Date;
5873
5873
  deletedAt: Date | null;
5874
- name?: string | undefined;
5875
5874
  address?: string | null | undefined;
5875
+ name?: string | undefined;
5876
5876
  phone?: string | null | undefined;
5877
5877
  industry?: string | null | undefined;
5878
5878
  } | null;
@@ -5880,8 +5880,8 @@ export declare const chatContract: {
5880
5880
  contactProfile: string | null;
5881
5881
  socialProfileUrl: string | null;
5882
5882
  tags: {
5883
- name: string;
5884
5883
  id: string;
5884
+ name: string;
5885
5885
  createdAt: Date;
5886
5886
  updatedAt: Date;
5887
5887
  deletedAt: Date | null;
@@ -5906,8 +5906,8 @@ export declare const chatContract: {
5906
5906
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5907
5907
  id: string;
5908
5908
  metadata: {
5909
- name: string;
5910
5909
  id: string;
5910
+ name: string;
5911
5911
  picture?: string | undefined;
5912
5912
  additionalCredentials?: any;
5913
5913
  };
@@ -5940,8 +5940,8 @@ export declare const chatContract: {
5940
5940
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5941
5941
  id: string;
5942
5942
  metadata: {
5943
- name: string;
5944
5943
  id: string;
5944
+ name: string;
5945
5945
  picture?: string | undefined;
5946
5946
  additionalCredentials?: any;
5947
5947
  };
@@ -5949,10 +5949,10 @@ export declare const chatContract: {
5949
5949
  updatedAt: Date;
5950
5950
  deletedAt: Date | null;
5951
5951
  contact: {
5952
- name: string;
5953
5952
  id: string;
5954
5953
  channel: string | null;
5955
5954
  address: string | null;
5955
+ name: string;
5956
5956
  createdAt: Date;
5957
5957
  updatedAt: Date;
5958
5958
  deletedAt: Date | null;
@@ -5997,8 +5997,8 @@ export declare const chatContract: {
5997
5997
  createdAt: Date;
5998
5998
  updatedAt: Date;
5999
5999
  deletedAt: Date | null;
6000
- name?: string | undefined;
6001
6000
  address?: string | null | undefined;
6001
+ name?: string | undefined;
6002
6002
  phone?: string | null | undefined;
6003
6003
  industry?: string | null | undefined;
6004
6004
  } | null;
@@ -6006,8 +6006,8 @@ export declare const chatContract: {
6006
6006
  contactProfile: string | null;
6007
6007
  socialProfileUrl: string | null;
6008
6008
  tags: {
6009
- name: string;
6010
6009
  id: string;
6010
+ name: string;
6011
6011
  createdAt: Date;
6012
6012
  updatedAt: Date;
6013
6013
  deletedAt: Date | null;
@@ -6032,8 +6032,8 @@ export declare const chatContract: {
6032
6032
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6033
6033
  id: string;
6034
6034
  metadata: {
6035
- name: string;
6036
6035
  id: string;
6036
+ name: string;
6037
6037
  picture?: string | undefined;
6038
6038
  additionalCredentials?: any;
6039
6039
  };
@@ -6181,9 +6181,9 @@ export declare const chatContract: {
6181
6181
  telephonySignature: string | null;
6182
6182
  }>;
6183
6183
  }, "strip", z.ZodTypeAny, {
6184
- name: string;
6185
6184
  id: string;
6186
6185
  address: string | null;
6186
+ name: string;
6187
6187
  email: string;
6188
6188
  createdAt: Date;
6189
6189
  updatedAt: Date;
@@ -6224,9 +6224,9 @@ export declare const chatContract: {
6224
6224
  telephonySignature: string | null;
6225
6225
  };
6226
6226
  }, {
6227
- name: string;
6228
6227
  id: string;
6229
6228
  address: string | null;
6229
+ name: string;
6230
6230
  email: string;
6231
6231
  createdAt: Date;
6232
6232
  updatedAt: Date;
@@ -6270,19 +6270,19 @@ export declare const chatContract: {
6270
6270
  closedAt: z.ZodDate;
6271
6271
  lastMessageAt: z.ZodNullable<z.ZodDate>;
6272
6272
  isBotRoom: z.ZodBoolean;
6273
- cxlog: z.ZodObject<{
6273
+ cxlog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6274
6274
  id: z.ZodString;
6275
- channel: z.ZodNullable<z.ZodString>;
6276
- direction: z.ZodNullable<z.ZodString>;
6277
6275
  createdAt: z.ZodDate;
6278
6276
  updatedAt: z.ZodDate;
6279
6277
  deletedAt: z.ZodNullable<z.ZodDate>;
6280
- entityId: z.ZodString;
6281
- queueId: z.ZodNullable<z.ZodString>;
6282
- contactId: z.ZodNullable<z.ZodString>;
6283
6278
  caseId: z.ZodNumber;
6279
+ entityId: z.ZodString;
6284
6280
  entityName: z.ZodString;
6281
+ contactId: z.ZodNullable<z.ZodString>;
6282
+ channel: z.ZodNullable<z.ZodString>;
6283
+ queueId: z.ZodNullable<z.ZodString>;
6285
6284
  agentId: z.ZodNullable<z.ZodString>;
6285
+ direction: z.ZodNullable<z.ZodString>;
6286
6286
  startedDate: z.ZodNullable<z.ZodDate>;
6287
6287
  handledTime: z.ZodNullable<z.ZodNumber>;
6288
6288
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -6301,14 +6301,14 @@ export declare const chatContract: {
6301
6301
  deletedAt: z.ZodNullable<z.ZodDate>;
6302
6302
  name: z.ZodString;
6303
6303
  }, "strip", z.ZodTypeAny, {
6304
- name: string;
6305
6304
  id: string;
6305
+ name: string;
6306
6306
  createdAt: Date;
6307
6307
  updatedAt: Date;
6308
6308
  deletedAt: Date | null;
6309
6309
  }, {
6310
- name: string;
6311
6310
  id: string;
6311
+ name: string;
6312
6312
  createdAt: Date;
6313
6313
  updatedAt: Date;
6314
6314
  deletedAt: Date | null;
@@ -6479,8 +6479,8 @@ export declare const chatContract: {
6479
6479
  }[];
6480
6480
  }[];
6481
6481
  tags: {
6482
- name: string;
6483
6482
  id: string;
6483
+ name: string;
6484
6484
  createdAt: Date;
6485
6485
  updatedAt: Date;
6486
6486
  deletedAt: Date | null;
@@ -6530,8 +6530,8 @@ export declare const chatContract: {
6530
6530
  }[];
6531
6531
  }[];
6532
6532
  tags: {
6533
- name: string;
6534
6533
  id: string;
6534
+ name: string;
6535
6535
  createdAt: Date;
6536
6536
  updatedAt: Date;
6537
6537
  deletedAt: Date | null;
@@ -6552,7 +6552,7 @@ export declare const chatContract: {
6552
6552
  dateValue: Date | null;
6553
6553
  }[] | null | undefined;
6554
6554
  }>>;
6555
- holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
6555
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6556
6556
  id: z.ZodString;
6557
6557
  createdAt: z.ZodDate;
6558
6558
  updatedAt: z.ZodDate;
@@ -6560,7 +6560,7 @@ export declare const chatContract: {
6560
6560
  startedAt: z.ZodString;
6561
6561
  endedAt: z.ZodNullable<z.ZodString>;
6562
6562
  duration: z.ZodNullable<z.ZodNumber>;
6563
- holdLabel: z.ZodObject<{
6563
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6564
6564
  id: z.ZodString;
6565
6565
  createdAt: z.ZodDate;
6566
6566
  updatedAt: z.ZodDate;
@@ -6568,20 +6568,20 @@ export declare const chatContract: {
6568
6568
  name: z.ZodString;
6569
6569
  position: z.ZodNumber;
6570
6570
  }, "strip", z.ZodTypeAny, {
6571
- name: string;
6572
6571
  id: string;
6572
+ name: string;
6573
6573
  position: number;
6574
6574
  createdAt: Date;
6575
6575
  updatedAt: Date;
6576
6576
  deletedAt: Date | null;
6577
6577
  }, {
6578
- name: string;
6579
6578
  id: string;
6579
+ name: string;
6580
6580
  position: number;
6581
6581
  createdAt: Date;
6582
6582
  updatedAt: Date;
6583
6583
  deletedAt: Date | null;
6584
- }>;
6584
+ }>>>;
6585
6585
  }, "strip", z.ZodTypeAny, {
6586
6586
  id: string;
6587
6587
  createdAt: Date;
@@ -6590,14 +6590,14 @@ export declare const chatContract: {
6590
6590
  startedAt: string;
6591
6591
  endedAt: string | null;
6592
6592
  duration: number | null;
6593
- holdLabel: {
6594
- name: string;
6593
+ holdLabel?: {
6595
6594
  id: string;
6595
+ name: string;
6596
6596
  position: number;
6597
6597
  createdAt: Date;
6598
6598
  updatedAt: Date;
6599
6599
  deletedAt: Date | null;
6600
- };
6600
+ } | null | undefined;
6601
6601
  }, {
6602
6602
  id: string;
6603
6603
  createdAt: Date;
@@ -6606,14 +6606,14 @@ export declare const chatContract: {
6606
6606
  startedAt: string;
6607
6607
  endedAt: string | null;
6608
6608
  duration: number | null;
6609
- holdLabel: {
6610
- name: string;
6609
+ holdLabel?: {
6611
6610
  id: string;
6611
+ name: string;
6612
6612
  position: number;
6613
6613
  createdAt: Date;
6614
6614
  updatedAt: Date;
6615
6615
  deletedAt: Date | null;
6616
- };
6616
+ } | null | undefined;
6617
6617
  }>, "many">>>;
6618
6618
  }, "strip", z.ZodTypeAny, {
6619
6619
  id: string;
@@ -6661,8 +6661,8 @@ export declare const chatContract: {
6661
6661
  }[];
6662
6662
  }[];
6663
6663
  tags: {
6664
- name: string;
6665
6664
  id: string;
6665
+ name: string;
6666
6666
  createdAt: Date;
6667
6667
  updatedAt: Date;
6668
6668
  deletedAt: Date | null;
@@ -6691,14 +6691,14 @@ export declare const chatContract: {
6691
6691
  startedAt: string;
6692
6692
  endedAt: string | null;
6693
6693
  duration: number | null;
6694
- holdLabel: {
6695
- name: string;
6694
+ holdLabel?: {
6696
6695
  id: string;
6696
+ name: string;
6697
6697
  position: number;
6698
6698
  createdAt: Date;
6699
6699
  updatedAt: Date;
6700
6700
  deletedAt: Date | null;
6701
- };
6701
+ } | null | undefined;
6702
6702
  }[] | null | undefined;
6703
6703
  }, {
6704
6704
  id: string;
@@ -6746,8 +6746,8 @@ export declare const chatContract: {
6746
6746
  }[];
6747
6747
  }[];
6748
6748
  tags: {
6749
- name: string;
6750
6749
  id: string;
6750
+ name: string;
6751
6751
  createdAt: Date;
6752
6752
  updatedAt: Date;
6753
6753
  deletedAt: Date | null;
@@ -6776,16 +6776,16 @@ export declare const chatContract: {
6776
6776
  startedAt: string;
6777
6777
  endedAt: string | null;
6778
6778
  duration: number | null;
6779
- holdLabel: {
6780
- name: string;
6779
+ holdLabel?: {
6781
6780
  id: string;
6781
+ name: string;
6782
6782
  position: number;
6783
6783
  createdAt: Date;
6784
6784
  updatedAt: Date;
6785
6785
  deletedAt: Date | null;
6786
- };
6786
+ } | null | undefined;
6787
6787
  }[] | null | undefined;
6788
- }>;
6788
+ }>>>;
6789
6789
  workflowRule: z.ZodObject<{
6790
6790
  id: z.ZodString;
6791
6791
  createdAt: z.ZodDate;
@@ -6795,17 +6795,17 @@ export declare const chatContract: {
6795
6795
  isActive: z.ZodBoolean;
6796
6796
  type: z.ZodString;
6797
6797
  }, "strip", z.ZodTypeAny, {
6798
- name: string;
6799
6798
  type: string;
6800
6799
  id: string;
6800
+ name: string;
6801
6801
  createdAt: Date;
6802
6802
  updatedAt: Date;
6803
6803
  deletedAt: Date | null;
6804
6804
  isActive: boolean;
6805
6805
  }, {
6806
- name: string;
6807
6806
  type: string;
6808
6807
  id: string;
6808
+ name: string;
6809
6809
  createdAt: Date;
6810
6810
  updatedAt: Date;
6811
6811
  deletedAt: Date | null;
@@ -6816,12 +6816,12 @@ export declare const chatContract: {
6816
6816
  }, "strip", z.ZodTypeAny, {
6817
6817
  id: string;
6818
6818
  channel: {
6819
- name: string;
6820
6819
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6821
6820
  id: string;
6821
+ name: string;
6822
6822
  metadata: {
6823
- name: string;
6824
6823
  id: string;
6824
+ name: string;
6825
6825
  accessToken?: string | undefined;
6826
6826
  channelSecret?: string | undefined;
6827
6827
  additionalCredentials?: any;
@@ -6850,9 +6850,9 @@ export declare const chatContract: {
6850
6850
  updatedAt: Date;
6851
6851
  deletedAt: Date | null;
6852
6852
  actor: {
6853
- name: string;
6854
6853
  id: string;
6855
6854
  address: string | null;
6855
+ name: string;
6856
6856
  email: string;
6857
6857
  createdAt: Date;
6858
6858
  updatedAt: Date;
@@ -6899,8 +6899,8 @@ export declare const chatContract: {
6899
6899
  connectedUserName: string;
6900
6900
  connectedUserId: string;
6901
6901
  botpressBot: {
6902
- name: string;
6903
6902
  id: string;
6903
+ name: string;
6904
6904
  accessToken: string;
6905
6905
  botId: string;
6906
6906
  integrationId: string;
@@ -6912,9 +6912,9 @@ export declare const chatContract: {
6912
6912
  updatedAt: Date;
6913
6913
  deletedAt: Date | null;
6914
6914
  actor: {
6915
- name: string;
6916
6915
  id: string;
6917
6916
  address: string | null;
6917
+ name: string;
6918
6918
  email: string;
6919
6919
  createdAt: Date;
6920
6920
  updatedAt: Date;
@@ -6965,8 +6965,8 @@ export declare const chatContract: {
6965
6965
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6966
6966
  id: string;
6967
6967
  metadata: {
6968
- name: string;
6969
6968
  id: string;
6969
+ name: string;
6970
6970
  picture?: string | undefined;
6971
6971
  additionalCredentials?: any;
6972
6972
  };
@@ -6974,10 +6974,10 @@ export declare const chatContract: {
6974
6974
  updatedAt: Date;
6975
6975
  deletedAt: Date | null;
6976
6976
  contact: {
6977
- name: string;
6978
6977
  id: string;
6979
6978
  channel: string | null;
6980
6979
  address: string | null;
6980
+ name: string;
6981
6981
  createdAt: Date;
6982
6982
  updatedAt: Date;
6983
6983
  deletedAt: Date | null;
@@ -7022,8 +7022,8 @@ export declare const chatContract: {
7022
7022
  createdAt: Date;
7023
7023
  updatedAt: Date;
7024
7024
  deletedAt: Date | null;
7025
- name?: string | undefined;
7026
7025
  address?: string | null | undefined;
7026
+ name?: string | undefined;
7027
7027
  phone?: string | null | undefined;
7028
7028
  industry?: string | null | undefined;
7029
7029
  } | null;
@@ -7031,8 +7031,8 @@ export declare const chatContract: {
7031
7031
  contactProfile: string | null;
7032
7032
  socialProfileUrl: string | null;
7033
7033
  tags: {
7034
- name: string;
7035
7034
  id: string;
7035
+ name: string;
7036
7036
  createdAt: Date;
7037
7037
  updatedAt: Date;
7038
7038
  deletedAt: Date | null;
@@ -7057,8 +7057,8 @@ export declare const chatContract: {
7057
7057
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7058
7058
  id: string;
7059
7059
  metadata: {
7060
- name: string;
7061
7060
  id: string;
7061
+ name: string;
7062
7062
  picture?: string | undefined;
7063
7063
  additionalCredentials?: any;
7064
7064
  };
@@ -7089,9 +7089,9 @@ export declare const chatContract: {
7089
7089
  socialPlatformId: string;
7090
7090
  };
7091
7091
  assignee: {
7092
- name: string;
7093
7092
  id: string;
7094
7093
  address: string | null;
7094
+ name: string;
7095
7095
  email: string;
7096
7096
  createdAt: Date;
7097
7097
  updatedAt: Date;
@@ -7135,7 +7135,17 @@ export declare const chatContract: {
7135
7135
  closedAt: Date;
7136
7136
  lastMessageAt: Date | null;
7137
7137
  isBotRoom: boolean;
7138
- cxlog: {
7138
+ workflowRule: {
7139
+ type: string;
7140
+ id: string;
7141
+ name: string;
7142
+ createdAt: Date;
7143
+ updatedAt: Date;
7144
+ deletedAt: Date | null;
7145
+ isActive: boolean;
7146
+ };
7147
+ solveMessage: string;
7148
+ cxlog?: {
7139
7149
  id: string;
7140
7150
  channel: string | null;
7141
7151
  direction: string | null;
@@ -7181,8 +7191,8 @@ export declare const chatContract: {
7181
7191
  }[];
7182
7192
  }[];
7183
7193
  tags: {
7184
- name: string;
7185
7194
  id: string;
7195
+ name: string;
7186
7196
  createdAt: Date;
7187
7197
  updatedAt: Date;
7188
7198
  deletedAt: Date | null;
@@ -7211,36 +7221,26 @@ export declare const chatContract: {
7211
7221
  startedAt: string;
7212
7222
  endedAt: string | null;
7213
7223
  duration: number | null;
7214
- holdLabel: {
7215
- name: string;
7224
+ holdLabel?: {
7216
7225
  id: string;
7226
+ name: string;
7217
7227
  position: number;
7218
7228
  createdAt: Date;
7219
7229
  updatedAt: Date;
7220
7230
  deletedAt: Date | null;
7221
- };
7231
+ } | null | undefined;
7222
7232
  }[] | null | undefined;
7223
- };
7224
- workflowRule: {
7225
- name: string;
7226
- type: string;
7227
- id: string;
7228
- createdAt: Date;
7229
- updatedAt: Date;
7230
- deletedAt: Date | null;
7231
- isActive: boolean;
7232
- };
7233
- solveMessage: string;
7233
+ } | null | undefined;
7234
7234
  automationQueueId?: string | null | undefined;
7235
7235
  }, {
7236
7236
  id: string;
7237
7237
  channel: {
7238
- name: string;
7239
7238
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7240
7239
  id: string;
7240
+ name: string;
7241
7241
  metadata: {
7242
- name: string;
7243
7242
  id: string;
7243
+ name: string;
7244
7244
  accessToken?: string | undefined;
7245
7245
  channelSecret?: string | undefined;
7246
7246
  additionalCredentials?: any;
@@ -7269,9 +7269,9 @@ export declare const chatContract: {
7269
7269
  updatedAt: Date;
7270
7270
  deletedAt: Date | null;
7271
7271
  actor: {
7272
- name: string;
7273
7272
  id: string;
7274
7273
  address: string | null;
7274
+ name: string;
7275
7275
  email: string;
7276
7276
  createdAt: Date;
7277
7277
  updatedAt: Date;
@@ -7318,8 +7318,8 @@ export declare const chatContract: {
7318
7318
  connectedUserName: string;
7319
7319
  connectedUserId: string;
7320
7320
  botpressBot: {
7321
- name: string;
7322
7321
  id: string;
7322
+ name: string;
7323
7323
  accessToken: string;
7324
7324
  botId: string;
7325
7325
  integrationId: string;
@@ -7331,9 +7331,9 @@ export declare const chatContract: {
7331
7331
  updatedAt: Date;
7332
7332
  deletedAt: Date | null;
7333
7333
  actor: {
7334
- name: string;
7335
7334
  id: string;
7336
7335
  address: string | null;
7336
+ name: string;
7337
7337
  email: string;
7338
7338
  createdAt: Date;
7339
7339
  updatedAt: Date;
@@ -7384,8 +7384,8 @@ export declare const chatContract: {
7384
7384
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7385
7385
  id: string;
7386
7386
  metadata: {
7387
- name: string;
7388
7387
  id: string;
7388
+ name: string;
7389
7389
  picture?: string | undefined;
7390
7390
  additionalCredentials?: any;
7391
7391
  };
@@ -7393,10 +7393,10 @@ export declare const chatContract: {
7393
7393
  updatedAt: Date;
7394
7394
  deletedAt: Date | null;
7395
7395
  contact: {
7396
- name: string;
7397
7396
  id: string;
7398
7397
  channel: string | null;
7399
7398
  address: string | null;
7399
+ name: string;
7400
7400
  createdAt: Date;
7401
7401
  updatedAt: Date;
7402
7402
  deletedAt: Date | null;
@@ -7441,8 +7441,8 @@ export declare const chatContract: {
7441
7441
  createdAt: Date;
7442
7442
  updatedAt: Date;
7443
7443
  deletedAt: Date | null;
7444
- name?: string | undefined;
7445
7444
  address?: string | null | undefined;
7445
+ name?: string | undefined;
7446
7446
  phone?: string | null | undefined;
7447
7447
  industry?: string | null | undefined;
7448
7448
  } | null;
@@ -7450,8 +7450,8 @@ export declare const chatContract: {
7450
7450
  contactProfile: string | null;
7451
7451
  socialProfileUrl: string | null;
7452
7452
  tags: {
7453
- name: string;
7454
7453
  id: string;
7454
+ name: string;
7455
7455
  createdAt: Date;
7456
7456
  updatedAt: Date;
7457
7457
  deletedAt: Date | null;
@@ -7476,8 +7476,8 @@ export declare const chatContract: {
7476
7476
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7477
7477
  id: string;
7478
7478
  metadata: {
7479
- name: string;
7480
7479
  id: string;
7480
+ name: string;
7481
7481
  picture?: string | undefined;
7482
7482
  additionalCredentials?: any;
7483
7483
  };
@@ -7508,9 +7508,9 @@ export declare const chatContract: {
7508
7508
  socialPlatformId: string;
7509
7509
  };
7510
7510
  assignee: {
7511
- name: string;
7512
7511
  id: string;
7513
7512
  address: string | null;
7513
+ name: string;
7514
7514
  email: string;
7515
7515
  createdAt: Date;
7516
7516
  updatedAt: Date;
@@ -7554,7 +7554,17 @@ export declare const chatContract: {
7554
7554
  closedAt: Date;
7555
7555
  lastMessageAt: Date | null;
7556
7556
  isBotRoom: boolean;
7557
- cxlog: {
7557
+ workflowRule: {
7558
+ type: string;
7559
+ id: string;
7560
+ name: string;
7561
+ createdAt: Date;
7562
+ updatedAt: Date;
7563
+ deletedAt: Date | null;
7564
+ isActive: boolean;
7565
+ };
7566
+ solveMessage: string;
7567
+ cxlog?: {
7558
7568
  id: string;
7559
7569
  channel: string | null;
7560
7570
  direction: string | null;
@@ -7600,8 +7610,8 @@ export declare const chatContract: {
7600
7610
  }[];
7601
7611
  }[];
7602
7612
  tags: {
7603
- name: string;
7604
7613
  id: string;
7614
+ name: string;
7605
7615
  createdAt: Date;
7606
7616
  updatedAt: Date;
7607
7617
  deletedAt: Date | null;
@@ -7630,38 +7640,28 @@ export declare const chatContract: {
7630
7640
  startedAt: string;
7631
7641
  endedAt: string | null;
7632
7642
  duration: number | null;
7633
- holdLabel: {
7634
- name: string;
7643
+ holdLabel?: {
7635
7644
  id: string;
7645
+ name: string;
7636
7646
  position: number;
7637
7647
  createdAt: Date;
7638
7648
  updatedAt: Date;
7639
7649
  deletedAt: Date | null;
7640
- };
7650
+ } | null | undefined;
7641
7651
  }[] | null | undefined;
7642
- };
7643
- workflowRule: {
7644
- name: string;
7645
- type: string;
7646
- id: string;
7647
- createdAt: Date;
7648
- updatedAt: Date;
7649
- deletedAt: Date | null;
7650
- isActive: boolean;
7651
- };
7652
- solveMessage: string;
7652
+ } | null | undefined;
7653
7653
  automationQueueId?: string | null | undefined;
7654
7654
  }>;
7655
7655
  }, "strip", z.ZodTypeAny, {
7656
7656
  data: {
7657
7657
  id: string;
7658
7658
  channel: {
7659
- name: string;
7660
7659
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7661
7660
  id: string;
7661
+ name: string;
7662
7662
  metadata: {
7663
- name: string;
7664
7663
  id: string;
7664
+ name: string;
7665
7665
  accessToken?: string | undefined;
7666
7666
  channelSecret?: string | undefined;
7667
7667
  additionalCredentials?: any;
@@ -7690,9 +7690,9 @@ export declare const chatContract: {
7690
7690
  updatedAt: Date;
7691
7691
  deletedAt: Date | null;
7692
7692
  actor: {
7693
- name: string;
7694
7693
  id: string;
7695
7694
  address: string | null;
7695
+ name: string;
7696
7696
  email: string;
7697
7697
  createdAt: Date;
7698
7698
  updatedAt: Date;
@@ -7739,8 +7739,8 @@ export declare const chatContract: {
7739
7739
  connectedUserName: string;
7740
7740
  connectedUserId: string;
7741
7741
  botpressBot: {
7742
- name: string;
7743
7742
  id: string;
7743
+ name: string;
7744
7744
  accessToken: string;
7745
7745
  botId: string;
7746
7746
  integrationId: string;
@@ -7752,9 +7752,9 @@ export declare const chatContract: {
7752
7752
  updatedAt: Date;
7753
7753
  deletedAt: Date | null;
7754
7754
  actor: {
7755
- name: string;
7756
7755
  id: string;
7757
7756
  address: string | null;
7757
+ name: string;
7758
7758
  email: string;
7759
7759
  createdAt: Date;
7760
7760
  updatedAt: Date;
@@ -7805,8 +7805,8 @@ export declare const chatContract: {
7805
7805
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7806
7806
  id: string;
7807
7807
  metadata: {
7808
- name: string;
7809
7808
  id: string;
7809
+ name: string;
7810
7810
  picture?: string | undefined;
7811
7811
  additionalCredentials?: any;
7812
7812
  };
@@ -7814,10 +7814,10 @@ export declare const chatContract: {
7814
7814
  updatedAt: Date;
7815
7815
  deletedAt: Date | null;
7816
7816
  contact: {
7817
- name: string;
7818
7817
  id: string;
7819
7818
  channel: string | null;
7820
7819
  address: string | null;
7820
+ name: string;
7821
7821
  createdAt: Date;
7822
7822
  updatedAt: Date;
7823
7823
  deletedAt: Date | null;
@@ -7862,8 +7862,8 @@ export declare const chatContract: {
7862
7862
  createdAt: Date;
7863
7863
  updatedAt: Date;
7864
7864
  deletedAt: Date | null;
7865
- name?: string | undefined;
7866
7865
  address?: string | null | undefined;
7866
+ name?: string | undefined;
7867
7867
  phone?: string | null | undefined;
7868
7868
  industry?: string | null | undefined;
7869
7869
  } | null;
@@ -7871,8 +7871,8 @@ export declare const chatContract: {
7871
7871
  contactProfile: string | null;
7872
7872
  socialProfileUrl: string | null;
7873
7873
  tags: {
7874
- name: string;
7875
7874
  id: string;
7875
+ name: string;
7876
7876
  createdAt: Date;
7877
7877
  updatedAt: Date;
7878
7878
  deletedAt: Date | null;
@@ -7897,8 +7897,8 @@ export declare const chatContract: {
7897
7897
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7898
7898
  id: string;
7899
7899
  metadata: {
7900
- name: string;
7901
7900
  id: string;
7901
+ name: string;
7902
7902
  picture?: string | undefined;
7903
7903
  additionalCredentials?: any;
7904
7904
  };
@@ -7929,9 +7929,9 @@ export declare const chatContract: {
7929
7929
  socialPlatformId: string;
7930
7930
  };
7931
7931
  assignee: {
7932
- name: string;
7933
7932
  id: string;
7934
7933
  address: string | null;
7934
+ name: string;
7935
7935
  email: string;
7936
7936
  createdAt: Date;
7937
7937
  updatedAt: Date;
@@ -7975,7 +7975,17 @@ export declare const chatContract: {
7975
7975
  closedAt: Date;
7976
7976
  lastMessageAt: Date | null;
7977
7977
  isBotRoom: boolean;
7978
- cxlog: {
7978
+ workflowRule: {
7979
+ type: string;
7980
+ id: string;
7981
+ name: string;
7982
+ createdAt: Date;
7983
+ updatedAt: Date;
7984
+ deletedAt: Date | null;
7985
+ isActive: boolean;
7986
+ };
7987
+ solveMessage: string;
7988
+ cxlog?: {
7979
7989
  id: string;
7980
7990
  channel: string | null;
7981
7991
  direction: string | null;
@@ -8021,8 +8031,8 @@ export declare const chatContract: {
8021
8031
  }[];
8022
8032
  }[];
8023
8033
  tags: {
8024
- name: string;
8025
8034
  id: string;
8035
+ name: string;
8026
8036
  createdAt: Date;
8027
8037
  updatedAt: Date;
8028
8038
  deletedAt: Date | null;
@@ -8051,26 +8061,16 @@ export declare const chatContract: {
8051
8061
  startedAt: string;
8052
8062
  endedAt: string | null;
8053
8063
  duration: number | null;
8054
- holdLabel: {
8055
- name: string;
8064
+ holdLabel?: {
8056
8065
  id: string;
8066
+ name: string;
8057
8067
  position: number;
8058
8068
  createdAt: Date;
8059
8069
  updatedAt: Date;
8060
8070
  deletedAt: Date | null;
8061
- };
8071
+ } | null | undefined;
8062
8072
  }[] | null | undefined;
8063
- };
8064
- workflowRule: {
8065
- name: string;
8066
- type: string;
8067
- id: string;
8068
- createdAt: Date;
8069
- updatedAt: Date;
8070
- deletedAt: Date | null;
8071
- isActive: boolean;
8072
- };
8073
- solveMessage: string;
8073
+ } | null | undefined;
8074
8074
  automationQueueId?: string | null | undefined;
8075
8075
  };
8076
8076
  requestId: string;
@@ -8078,12 +8078,12 @@ export declare const chatContract: {
8078
8078
  data: {
8079
8079
  id: string;
8080
8080
  channel: {
8081
- name: string;
8082
8081
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8083
8082
  id: string;
8083
+ name: string;
8084
8084
  metadata: {
8085
- name: string;
8086
8085
  id: string;
8086
+ name: string;
8087
8087
  accessToken?: string | undefined;
8088
8088
  channelSecret?: string | undefined;
8089
8089
  additionalCredentials?: any;
@@ -8112,9 +8112,9 @@ export declare const chatContract: {
8112
8112
  updatedAt: Date;
8113
8113
  deletedAt: Date | null;
8114
8114
  actor: {
8115
- name: string;
8116
8115
  id: string;
8117
8116
  address: string | null;
8117
+ name: string;
8118
8118
  email: string;
8119
8119
  createdAt: Date;
8120
8120
  updatedAt: Date;
@@ -8161,8 +8161,8 @@ export declare const chatContract: {
8161
8161
  connectedUserName: string;
8162
8162
  connectedUserId: string;
8163
8163
  botpressBot: {
8164
- name: string;
8165
8164
  id: string;
8165
+ name: string;
8166
8166
  accessToken: string;
8167
8167
  botId: string;
8168
8168
  integrationId: string;
@@ -8174,9 +8174,9 @@ export declare const chatContract: {
8174
8174
  updatedAt: Date;
8175
8175
  deletedAt: Date | null;
8176
8176
  actor: {
8177
- name: string;
8178
8177
  id: string;
8179
8178
  address: string | null;
8179
+ name: string;
8180
8180
  email: string;
8181
8181
  createdAt: Date;
8182
8182
  updatedAt: Date;
@@ -8227,8 +8227,8 @@ export declare const chatContract: {
8227
8227
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8228
8228
  id: string;
8229
8229
  metadata: {
8230
- name: string;
8231
8230
  id: string;
8231
+ name: string;
8232
8232
  picture?: string | undefined;
8233
8233
  additionalCredentials?: any;
8234
8234
  };
@@ -8236,10 +8236,10 @@ export declare const chatContract: {
8236
8236
  updatedAt: Date;
8237
8237
  deletedAt: Date | null;
8238
8238
  contact: {
8239
- name: string;
8240
8239
  id: string;
8241
8240
  channel: string | null;
8242
8241
  address: string | null;
8242
+ name: string;
8243
8243
  createdAt: Date;
8244
8244
  updatedAt: Date;
8245
8245
  deletedAt: Date | null;
@@ -8284,8 +8284,8 @@ export declare const chatContract: {
8284
8284
  createdAt: Date;
8285
8285
  updatedAt: Date;
8286
8286
  deletedAt: Date | null;
8287
- name?: string | undefined;
8288
8287
  address?: string | null | undefined;
8288
+ name?: string | undefined;
8289
8289
  phone?: string | null | undefined;
8290
8290
  industry?: string | null | undefined;
8291
8291
  } | null;
@@ -8293,8 +8293,8 @@ export declare const chatContract: {
8293
8293
  contactProfile: string | null;
8294
8294
  socialProfileUrl: string | null;
8295
8295
  tags: {
8296
- name: string;
8297
8296
  id: string;
8297
+ name: string;
8298
8298
  createdAt: Date;
8299
8299
  updatedAt: Date;
8300
8300
  deletedAt: Date | null;
@@ -8319,8 +8319,8 @@ export declare const chatContract: {
8319
8319
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8320
8320
  id: string;
8321
8321
  metadata: {
8322
- name: string;
8323
8322
  id: string;
8323
+ name: string;
8324
8324
  picture?: string | undefined;
8325
8325
  additionalCredentials?: any;
8326
8326
  };
@@ -8351,9 +8351,9 @@ export declare const chatContract: {
8351
8351
  socialPlatformId: string;
8352
8352
  };
8353
8353
  assignee: {
8354
- name: string;
8355
8354
  id: string;
8356
8355
  address: string | null;
8356
+ name: string;
8357
8357
  email: string;
8358
8358
  createdAt: Date;
8359
8359
  updatedAt: Date;
@@ -8397,7 +8397,17 @@ export declare const chatContract: {
8397
8397
  closedAt: Date;
8398
8398
  lastMessageAt: Date | null;
8399
8399
  isBotRoom: boolean;
8400
- cxlog: {
8400
+ workflowRule: {
8401
+ type: string;
8402
+ id: string;
8403
+ name: string;
8404
+ createdAt: Date;
8405
+ updatedAt: Date;
8406
+ deletedAt: Date | null;
8407
+ isActive: boolean;
8408
+ };
8409
+ solveMessage: string;
8410
+ cxlog?: {
8401
8411
  id: string;
8402
8412
  channel: string | null;
8403
8413
  direction: string | null;
@@ -8443,8 +8453,8 @@ export declare const chatContract: {
8443
8453
  }[];
8444
8454
  }[];
8445
8455
  tags: {
8446
- name: string;
8447
8456
  id: string;
8457
+ name: string;
8448
8458
  createdAt: Date;
8449
8459
  updatedAt: Date;
8450
8460
  deletedAt: Date | null;
@@ -8473,26 +8483,16 @@ export declare const chatContract: {
8473
8483
  startedAt: string;
8474
8484
  endedAt: string | null;
8475
8485
  duration: number | null;
8476
- holdLabel: {
8477
- name: string;
8486
+ holdLabel?: {
8478
8487
  id: string;
8488
+ name: string;
8479
8489
  position: number;
8480
8490
  createdAt: Date;
8481
8491
  updatedAt: Date;
8482
8492
  deletedAt: Date | null;
8483
- };
8493
+ } | null | undefined;
8484
8494
  }[] | null | undefined;
8485
- };
8486
- workflowRule: {
8487
- name: string;
8488
- type: string;
8489
- id: string;
8490
- createdAt: Date;
8491
- updatedAt: Date;
8492
- deletedAt: Date | null;
8493
- isActive: boolean;
8494
- };
8495
- solveMessage: string;
8495
+ } | null | undefined;
8496
8496
  automationQueueId?: string | null | undefined;
8497
8497
  };
8498
8498
  requestId: string;