@kl1/contracts 1.1.58 → 1.1.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +7 -7
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +25 -25
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +71 -311
  6. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/automation-queue/index.d.ts +101 -101
  8. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  9. package/dist/api-contracts/src/base-contract.d.ts +3 -3
  10. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  11. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  12. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  14. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  15. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  16. package/dist/api-contracts/src/category/index.d.ts +30 -30
  17. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  18. package/dist/api-contracts/src/channel/index.d.ts +2566 -1792
  19. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/schema.d.ts +139 -109
  21. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/channel/validation.d.ts +160 -118
  23. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/index.d.ts +7354 -6531
  25. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/schema.d.ts +2366 -2167
  27. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/chat/validation.d.ts +1854 -1563
  29. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/comment/index.d.ts +328 -328
  31. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  32. package/dist/api-contracts/src/company/index.d.ts +9 -9
  33. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  34. package/dist/api-contracts/src/contact/index.d.ts +399 -399
  35. package/dist/api-contracts/src/contact/schema.d.ts +38 -38
  36. package/dist/api-contracts/src/contact/validation.d.ts +190 -190
  37. package/dist/api-contracts/src/contract.d.ts +43684 -28896
  38. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-intelligence/index.d.ts +9 -9
  40. package/dist/api-contracts/src/cx-log/index.d.ts +545 -393
  41. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/cx-log/schema.d.ts +402 -321
  43. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  44. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  45. package/dist/api-contracts/src/dashboard/index.d.ts +167 -189
  46. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/dashboard/schema.d.ts +44 -87
  48. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  50. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/extension/index.d.ts +103 -22
  52. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/facebook-feed/index.d.ts +2170 -1768
  54. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/facebook-feed/schema.d.ts +168 -141
  56. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  57. package/dist/api-contracts/src/facebook-feed/validation.d.ts +147 -126
  58. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  59. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  60. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  61. package/dist/api-contracts/src/index.d.ts +5 -0
  62. package/dist/api-contracts/src/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/instagram/index.d.ts +1747 -1432
  64. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  66. package/dist/api-contracts/src/line/index.d.ts +1646 -1367
  67. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  69. package/dist/api-contracts/src/line/validation.d.ts +165 -132
  70. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  71. package/dist/api-contracts/src/mail/account-contract.d.ts +116 -116
  72. package/dist/api-contracts/src/mail/mail-contract.d.ts +2535 -2535
  73. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +38 -38
  74. package/dist/api-contracts/src/mail/message-contract.d.ts +278 -278
  75. package/dist/api-contracts/src/mail/room-contract.d.ts +1490 -1490
  76. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  77. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +12 -12
  78. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  79. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  80. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +471 -471
  81. package/dist/api-contracts/src/messenger/index.d.ts +1750 -1435
  82. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  84. package/dist/api-contracts/src/messenger/validation.d.ts +143 -122
  85. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  87. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  88. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  89. package/dist/api-contracts/src/permission/index.d.ts +3 -3
  90. package/dist/api-contracts/src/presence-status/index.d.ts +15 -15
  91. package/dist/api-contracts/src/public-api/index.d.ts +143 -143
  92. package/dist/api-contracts/src/public-api/schema.d.ts +22 -22
  93. package/dist/api-contracts/src/public-api/validation.d.ts +39 -39
  94. package/dist/api-contracts/src/role/index.d.ts +15 -15
  95. package/dist/api-contracts/src/sms/index.d.ts +2717 -270
  96. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/sms/schema.d.ts +30 -8
  98. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  100. package/dist/api-contracts/src/snippet/index.d.ts +147 -147
  101. package/dist/api-contracts/src/snippet/schema.d.ts +50 -50
  102. package/dist/api-contracts/src/subscription/index.d.ts +267 -186
  103. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/subscription/schema.d.ts +247 -216
  105. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  106. package/dist/api-contracts/src/subscription/validation.d.ts +18 -0
  107. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  108. package/dist/api-contracts/src/tag/index.d.ts +24 -24
  109. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  110. package/dist/api-contracts/src/telegram/index.d.ts +1407 -1182
  111. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  113. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +57 -112
  114. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  115. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +14 -31
  116. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/telephony-cdr/index.d.ts +282 -282
  118. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +72 -72
  120. package/dist/api-contracts/src/telephony-extension/index.d.ts +3 -3
  121. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/ticket/index.d.ts +515 -515
  123. package/dist/api-contracts/src/ticket/schema.d.ts +63 -63
  124. package/dist/api-contracts/src/upload/index.d.ts +6 -6
  125. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  126. package/dist/api-contracts/src/user/index.d.ts +41 -41
  127. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  128. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  129. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +26 -18
  130. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  131. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +24 -14
  132. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  133. package/dist/api-contracts/src/viber/index.d.ts +1419 -1194
  134. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  135. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  136. package/dist/api-contracts/src/webchat/index.d.ts +1413 -1188
  137. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  139. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  140. package/dist/api-contracts/src/whatsapp/index.d.ts +1758 -1287
  141. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  142. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  143. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  144. package/dist/api-contracts/src/widget/index.d.ts +51 -51
  145. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  146. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  147. package/dist/api-contracts/src/workflow-rule/index.d.ts +8703 -417
  148. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  149. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  150. package/dist/api-contracts/src/wrap-up-form/index.d.ts +44 -44
  151. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  152. package/dist/api-contracts/utils.d.ts +1 -1
  153. package/dist/api-contracts/utils.d.ts.map +1 -1
  154. package/dist/entities/src/enums/chat.d.ts +1 -0
  155. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  156. package/dist/index.js +4832 -4295
  157. package/dist/index.js.map +1 -1
  158. package/dist/index.mjs +4821 -4289
  159. package/dist/index.mjs.map +1 -1
  160. package/package.json +7 -3
@@ -55,7 +55,7 @@ export declare const cxLogContract: {
55
55
  agentIds?: string[] | undefined;
56
56
  direction?: ("inbound" | "outbound")[] | undefined;
57
57
  disposition?: string[] | undefined;
58
- sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
58
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
59
59
  csatScore?: string[] | undefined;
60
60
  sla?: "meet" | "unmeet" | undefined;
61
61
  tags?: string[] | undefined;
@@ -84,7 +84,7 @@ export declare const cxLogContract: {
84
84
  agentIds?: string[] | undefined;
85
85
  direction?: ("inbound" | "outbound")[] | undefined;
86
86
  disposition?: string[] | undefined;
87
- sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
87
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
88
88
  csatScore?: string[] | undefined;
89
89
  sla?: "meet" | "unmeet" | undefined;
90
90
  tags?: string[] | undefined;
@@ -172,14 +172,14 @@ export declare const cxLogContract: {
172
172
  deletedAt: z.ZodNullable<z.ZodDate>;
173
173
  name: z.ZodString;
174
174
  }, "strip", z.ZodTypeAny, {
175
- id: string;
176
175
  name: string;
176
+ id: string;
177
177
  createdAt: Date;
178
178
  updatedAt: Date;
179
179
  deletedAt: Date | null;
180
180
  }, {
181
- id: string;
182
181
  name: string;
182
+ id: string;
183
183
  createdAt: Date;
184
184
  updatedAt: Date;
185
185
  deletedAt: Date | null;
@@ -350,8 +350,8 @@ export declare const cxLogContract: {
350
350
  }[];
351
351
  }[];
352
352
  tags: {
353
- id: string;
354
353
  name: string;
354
+ id: string;
355
355
  createdAt: Date;
356
356
  updatedAt: Date;
357
357
  deletedAt: Date | null;
@@ -401,8 +401,8 @@ export declare const cxLogContract: {
401
401
  }[];
402
402
  }[];
403
403
  tags: {
404
- id: string;
405
404
  name: string;
405
+ id: string;
406
406
  createdAt: Date;
407
407
  updatedAt: Date;
408
408
  deletedAt: Date | null;
@@ -450,13 +450,13 @@ export declare const cxLogContract: {
450
450
  picture: z.ZodOptional<z.ZodString>;
451
451
  additionalCredentials: z.ZodAny;
452
452
  }, "strip", z.ZodTypeAny, {
453
- id: string;
454
453
  name: string;
454
+ id: string;
455
455
  picture?: string | undefined;
456
456
  additionalCredentials?: any;
457
457
  }, {
458
- id: string;
459
458
  name: string;
459
+ id: string;
460
460
  picture?: string | undefined;
461
461
  additionalCredentials?: any;
462
462
  }>;
@@ -478,14 +478,14 @@ export declare const cxLogContract: {
478
478
  deletedAt: z.ZodNullable<z.ZodDate>;
479
479
  name: z.ZodString;
480
480
  }, "strip", z.ZodTypeAny, {
481
- id: string;
482
481
  name: string;
482
+ id: string;
483
483
  createdAt: Date;
484
484
  updatedAt: Date;
485
485
  deletedAt: Date | null;
486
486
  }, {
487
- id: string;
488
487
  name: string;
488
+ id: string;
489
489
  createdAt: Date;
490
490
  updatedAt: Date;
491
491
  deletedAt: Date | null;
@@ -641,8 +641,8 @@ export declare const cxLogContract: {
641
641
  createdAt: Date;
642
642
  updatedAt: Date;
643
643
  deletedAt: Date | null;
644
- address?: string | null | undefined;
645
644
  name?: string | undefined;
645
+ address?: string | null | undefined;
646
646
  phone?: string | null | undefined;
647
647
  industry?: string | null | undefined;
648
648
  }, {
@@ -650,8 +650,8 @@ export declare const cxLogContract: {
650
650
  createdAt: Date;
651
651
  updatedAt: Date;
652
652
  deletedAt: Date | null;
653
- address?: string | null | undefined;
654
653
  name?: string | undefined;
654
+ address?: string | null | undefined;
655
655
  phone?: string | null | undefined;
656
656
  industry?: string | null | undefined;
657
657
  }>>;
@@ -669,13 +669,13 @@ export declare const cxLogContract: {
669
669
  picture: z.ZodOptional<z.ZodString>;
670
670
  additionalCredentials: z.ZodAny;
671
671
  }, "strip", z.ZodTypeAny, {
672
- id: string;
673
672
  name: string;
673
+ id: string;
674
674
  picture?: string | undefined;
675
675
  additionalCredentials?: any;
676
676
  }, {
677
- id: string;
678
677
  name: string;
678
+ id: string;
679
679
  picture?: string | undefined;
680
680
  additionalCredentials?: any;
681
681
  }>;
@@ -683,8 +683,8 @@ export declare const cxLogContract: {
683
683
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
684
684
  id: string;
685
685
  metadata: {
686
- id: string;
687
686
  name: string;
687
+ id: string;
688
688
  picture?: string | undefined;
689
689
  additionalCredentials?: any;
690
690
  };
@@ -697,8 +697,8 @@ export declare const cxLogContract: {
697
697
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
698
698
  id: string;
699
699
  metadata: {
700
- id: string;
701
700
  name: string;
701
+ id: string;
702
702
  picture?: string | undefined;
703
703
  additionalCredentials?: any;
704
704
  };
@@ -808,9 +808,10 @@ export declare const cxLogContract: {
808
808
  fileSize: z.ZodNumber;
809
809
  fileKey: z.ZodString;
810
810
  fileUrl: z.ZodNullable<z.ZodString>;
811
- status: z.ZodOptional<z.ZodString>;
811
+ status: z.ZodNullable<z.ZodString>;
812
812
  }, "strip", z.ZodTypeAny, {
813
813
  id: string;
814
+ status: string | null;
814
815
  createdAt: Date;
815
816
  updatedAt: Date;
816
817
  deletedAt: Date | null;
@@ -819,9 +820,9 @@ export declare const cxLogContract: {
819
820
  bucketName: string;
820
821
  fileSize: number;
821
822
  fileUrl: string | null;
822
- status?: string | undefined;
823
823
  }, {
824
824
  id: string;
825
+ status: string | null;
825
826
  createdAt: Date;
826
827
  updatedAt: Date;
827
828
  deletedAt: Date | null;
@@ -830,7 +831,6 @@ export declare const cxLogContract: {
830
831
  bucketName: string;
831
832
  fileSize: number;
832
833
  fileUrl: string | null;
833
- status?: string | undefined;
834
834
  }>, "many">;
835
835
  }, "strip", z.ZodTypeAny, {
836
836
  id: string;
@@ -857,6 +857,7 @@ export declare const cxLogContract: {
857
857
  dateValue: Date | null;
858
858
  uploads: {
859
859
  id: string;
860
+ status: string | null;
860
861
  createdAt: Date;
861
862
  updatedAt: Date;
862
863
  deletedAt: Date | null;
@@ -865,7 +866,6 @@ export declare const cxLogContract: {
865
866
  bucketName: string;
866
867
  fileSize: number;
867
868
  fileUrl: string | null;
868
- status?: string | undefined;
869
869
  }[];
870
870
  }, {
871
871
  id: string;
@@ -892,6 +892,7 @@ export declare const cxLogContract: {
892
892
  dateValue: Date | null;
893
893
  uploads: {
894
894
  id: string;
895
+ status: string | null;
895
896
  createdAt: Date;
896
897
  updatedAt: Date;
897
898
  deletedAt: Date | null;
@@ -900,7 +901,6 @@ export declare const cxLogContract: {
900
901
  bucketName: string;
901
902
  fileSize: number;
902
903
  fileUrl: string | null;
903
- status?: string | undefined;
904
904
  }[];
905
905
  }>, "many">;
906
906
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1008,10 +1008,10 @@ export declare const cxLogContract: {
1008
1008
  };
1009
1009
  }>, "many">>;
1010
1010
  }, "strip", z.ZodTypeAny, {
1011
+ name: string;
1011
1012
  id: string;
1012
1013
  channel: string | null;
1013
1014
  address: string | null;
1014
- name: string;
1015
1015
  createdAt: Date;
1016
1016
  updatedAt: Date;
1017
1017
  deletedAt: Date | null;
@@ -1040,6 +1040,7 @@ export declare const cxLogContract: {
1040
1040
  dateValue: Date | null;
1041
1041
  uploads: {
1042
1042
  id: string;
1043
+ status: string | null;
1043
1044
  createdAt: Date;
1044
1045
  updatedAt: Date;
1045
1046
  deletedAt: Date | null;
@@ -1048,7 +1049,6 @@ export declare const cxLogContract: {
1048
1049
  bucketName: string;
1049
1050
  fileSize: number;
1050
1051
  fileUrl: string | null;
1051
- status?: string | undefined;
1052
1052
  }[];
1053
1053
  }[];
1054
1054
  company: {
@@ -1056,8 +1056,8 @@ export declare const cxLogContract: {
1056
1056
  createdAt: Date;
1057
1057
  updatedAt: Date;
1058
1058
  deletedAt: Date | null;
1059
- address?: string | null | undefined;
1060
1059
  name?: string | undefined;
1060
+ address?: string | null | undefined;
1061
1061
  phone?: string | null | undefined;
1062
1062
  industry?: string | null | undefined;
1063
1063
  } | null;
@@ -1065,8 +1065,8 @@ export declare const cxLogContract: {
1065
1065
  contactProfile: string | null;
1066
1066
  socialProfileUrl: string | null;
1067
1067
  tags: {
1068
- id: string;
1069
1068
  name: string;
1069
+ id: string;
1070
1070
  createdAt: Date;
1071
1071
  updatedAt: Date;
1072
1072
  deletedAt: Date | null;
@@ -1091,8 +1091,8 @@ export declare const cxLogContract: {
1091
1091
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1092
1092
  id: string;
1093
1093
  metadata: {
1094
- id: string;
1095
1094
  name: string;
1095
+ id: string;
1096
1096
  picture?: string | undefined;
1097
1097
  additionalCredentials?: any;
1098
1098
  };
@@ -1119,10 +1119,10 @@ export declare const cxLogContract: {
1119
1119
  };
1120
1120
  }[] | undefined;
1121
1121
  }, {
1122
+ name: string;
1122
1123
  id: string;
1123
1124
  channel: string | null;
1124
1125
  address: string | null;
1125
- name: string;
1126
1126
  createdAt: Date;
1127
1127
  updatedAt: Date;
1128
1128
  deletedAt: Date | null;
@@ -1151,6 +1151,7 @@ export declare const cxLogContract: {
1151
1151
  dateValue: Date | null;
1152
1152
  uploads: {
1153
1153
  id: string;
1154
+ status: string | null;
1154
1155
  createdAt: Date;
1155
1156
  updatedAt: Date;
1156
1157
  deletedAt: Date | null;
@@ -1159,7 +1160,6 @@ export declare const cxLogContract: {
1159
1160
  bucketName: string;
1160
1161
  fileSize: number;
1161
1162
  fileUrl: string | null;
1162
- status?: string | undefined;
1163
1163
  }[];
1164
1164
  }[];
1165
1165
  company: {
@@ -1167,8 +1167,8 @@ export declare const cxLogContract: {
1167
1167
  createdAt: Date;
1168
1168
  updatedAt: Date;
1169
1169
  deletedAt: Date | null;
1170
- address?: string | null | undefined;
1171
1170
  name?: string | undefined;
1171
+ address?: string | null | undefined;
1172
1172
  phone?: string | null | undefined;
1173
1173
  industry?: string | null | undefined;
1174
1174
  } | null;
@@ -1176,8 +1176,8 @@ export declare const cxLogContract: {
1176
1176
  contactProfile: string | null;
1177
1177
  socialProfileUrl: string | null;
1178
1178
  tags: {
1179
- id: string;
1180
1179
  name: string;
1180
+ id: string;
1181
1181
  createdAt: Date;
1182
1182
  updatedAt: Date;
1183
1183
  deletedAt: Date | null;
@@ -1202,8 +1202,8 @@ export declare const cxLogContract: {
1202
1202
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1203
1203
  id: string;
1204
1204
  metadata: {
1205
- id: string;
1206
1205
  name: string;
1206
+ id: string;
1207
1207
  picture?: string | undefined;
1208
1208
  additionalCredentials?: any;
1209
1209
  };
@@ -1234,8 +1234,8 @@ export declare const cxLogContract: {
1234
1234
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1235
1235
  id: string;
1236
1236
  metadata: {
1237
- id: string;
1238
1237
  name: string;
1238
+ id: string;
1239
1239
  picture?: string | undefined;
1240
1240
  additionalCredentials?: any;
1241
1241
  };
@@ -1243,10 +1243,10 @@ export declare const cxLogContract: {
1243
1243
  updatedAt: Date;
1244
1244
  deletedAt: Date | null;
1245
1245
  contact: {
1246
+ name: string;
1246
1247
  id: string;
1247
1248
  channel: string | null;
1248
1249
  address: string | null;
1249
- name: string;
1250
1250
  createdAt: Date;
1251
1251
  updatedAt: Date;
1252
1252
  deletedAt: Date | null;
@@ -1275,6 +1275,7 @@ export declare const cxLogContract: {
1275
1275
  dateValue: Date | null;
1276
1276
  uploads: {
1277
1277
  id: string;
1278
+ status: string | null;
1278
1279
  createdAt: Date;
1279
1280
  updatedAt: Date;
1280
1281
  deletedAt: Date | null;
@@ -1283,7 +1284,6 @@ export declare const cxLogContract: {
1283
1284
  bucketName: string;
1284
1285
  fileSize: number;
1285
1286
  fileUrl: string | null;
1286
- status?: string | undefined;
1287
1287
  }[];
1288
1288
  }[];
1289
1289
  company: {
@@ -1291,8 +1291,8 @@ export declare const cxLogContract: {
1291
1291
  createdAt: Date;
1292
1292
  updatedAt: Date;
1293
1293
  deletedAt: Date | null;
1294
- address?: string | null | undefined;
1295
1294
  name?: string | undefined;
1295
+ address?: string | null | undefined;
1296
1296
  phone?: string | null | undefined;
1297
1297
  industry?: string | null | undefined;
1298
1298
  } | null;
@@ -1300,8 +1300,8 @@ export declare const cxLogContract: {
1300
1300
  contactProfile: string | null;
1301
1301
  socialProfileUrl: string | null;
1302
1302
  tags: {
1303
- id: string;
1304
1303
  name: string;
1304
+ id: string;
1305
1305
  createdAt: Date;
1306
1306
  updatedAt: Date;
1307
1307
  deletedAt: Date | null;
@@ -1326,8 +1326,8 @@ export declare const cxLogContract: {
1326
1326
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1327
1327
  id: string;
1328
1328
  metadata: {
1329
- id: string;
1330
1329
  name: string;
1330
+ id: string;
1331
1331
  picture?: string | undefined;
1332
1332
  additionalCredentials?: any;
1333
1333
  };
@@ -1360,8 +1360,8 @@ export declare const cxLogContract: {
1360
1360
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1361
1361
  id: string;
1362
1362
  metadata: {
1363
- id: string;
1364
1363
  name: string;
1364
+ id: string;
1365
1365
  picture?: string | undefined;
1366
1366
  additionalCredentials?: any;
1367
1367
  };
@@ -1369,10 +1369,10 @@ export declare const cxLogContract: {
1369
1369
  updatedAt: Date;
1370
1370
  deletedAt: Date | null;
1371
1371
  contact: {
1372
+ name: string;
1372
1373
  id: string;
1373
1374
  channel: string | null;
1374
1375
  address: string | null;
1375
- name: string;
1376
1376
  createdAt: Date;
1377
1377
  updatedAt: Date;
1378
1378
  deletedAt: Date | null;
@@ -1401,6 +1401,7 @@ export declare const cxLogContract: {
1401
1401
  dateValue: Date | null;
1402
1402
  uploads: {
1403
1403
  id: string;
1404
+ status: string | null;
1404
1405
  createdAt: Date;
1405
1406
  updatedAt: Date;
1406
1407
  deletedAt: Date | null;
@@ -1409,7 +1410,6 @@ export declare const cxLogContract: {
1409
1410
  bucketName: string;
1410
1411
  fileSize: number;
1411
1412
  fileUrl: string | null;
1412
- status?: string | undefined;
1413
1413
  }[];
1414
1414
  }[];
1415
1415
  company: {
@@ -1417,8 +1417,8 @@ export declare const cxLogContract: {
1417
1417
  createdAt: Date;
1418
1418
  updatedAt: Date;
1419
1419
  deletedAt: Date | null;
1420
- address?: string | null | undefined;
1421
1420
  name?: string | undefined;
1421
+ address?: string | null | undefined;
1422
1422
  phone?: string | null | undefined;
1423
1423
  industry?: string | null | undefined;
1424
1424
  } | null;
@@ -1426,8 +1426,8 @@ export declare const cxLogContract: {
1426
1426
  contactProfile: string | null;
1427
1427
  socialProfileUrl: string | null;
1428
1428
  tags: {
1429
- id: string;
1430
1429
  name: string;
1430
+ id: string;
1431
1431
  createdAt: Date;
1432
1432
  updatedAt: Date;
1433
1433
  deletedAt: Date | null;
@@ -1452,8 +1452,8 @@ export declare const cxLogContract: {
1452
1452
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1453
1453
  id: string;
1454
1454
  metadata: {
1455
- id: string;
1456
1455
  name: string;
1456
+ id: string;
1457
1457
  picture?: string | undefined;
1458
1458
  additionalCredentials?: any;
1459
1459
  };
@@ -1601,9 +1601,9 @@ export declare const cxLogContract: {
1601
1601
  telephonySignature: string | null;
1602
1602
  }>;
1603
1603
  }, "strip", z.ZodTypeAny, {
1604
+ name: string;
1604
1605
  id: string;
1605
1606
  address: string | null;
1606
- name: string;
1607
1607
  email: string;
1608
1608
  createdAt: Date;
1609
1609
  updatedAt: Date;
@@ -1644,9 +1644,9 @@ export declare const cxLogContract: {
1644
1644
  telephonySignature: string | null;
1645
1645
  };
1646
1646
  }, {
1647
+ name: string;
1647
1648
  id: string;
1648
1649
  address: string | null;
1649
- name: string;
1650
1650
  email: string;
1651
1651
  createdAt: Date;
1652
1652
  updatedAt: Date;
@@ -1805,9 +1805,9 @@ export declare const cxLogContract: {
1805
1805
  telephonySignature: string | null;
1806
1806
  }>;
1807
1807
  }, "strip", z.ZodTypeAny, {
1808
+ name: string;
1808
1809
  id: string;
1809
1810
  address: string | null;
1810
- name: string;
1811
1811
  email: string;
1812
1812
  createdAt: Date;
1813
1813
  updatedAt: Date;
@@ -1848,9 +1848,9 @@ export declare const cxLogContract: {
1848
1848
  telephonySignature: string | null;
1849
1849
  };
1850
1850
  }, {
1851
+ name: string;
1851
1852
  id: string;
1852
1853
  address: string | null;
1853
- name: string;
1854
1854
  email: string;
1855
1855
  createdAt: Date;
1856
1856
  updatedAt: Date;
@@ -1906,35 +1906,44 @@ export declare const cxLogContract: {
1906
1906
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1907
1907
  senderId: z.ZodOptional<z.ZodString>;
1908
1908
  whatsapp: z.ZodOptional<z.ZodObject<{
1909
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1910
- wabaExternalId: z.ZodString;
1911
- phoneNumberId: z.ZodString;
1912
- email: z.ZodString;
1913
- clientId: z.ZodOptional<z.ZodString>;
1914
- channelId: z.ZodOptional<z.ZodString>;
1915
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1909
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1910
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1911
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1912
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1913
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1914
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1915
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1916
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1917
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1916
1918
  apiKey: z.ZodOptional<z.ZodString>;
1917
1919
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1920
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1918
1921
  }, "strip", z.ZodTypeAny, {
1919
- email: string;
1920
- wabaExternalId: string;
1921
- phoneNumberId: string;
1922
- wabaBusinessId?: string | undefined;
1923
- clientId?: string | undefined;
1924
- channelId?: string | undefined;
1925
- status?: "active" | "pending" | undefined;
1922
+ wabaBusinessId?: string | null | undefined;
1923
+ wabaExternalId?: string | null | undefined;
1924
+ phoneNumberId?: string | null | undefined;
1925
+ email?: string | null | undefined;
1926
+ clientId?: string | null | undefined;
1927
+ channelId?: string | null | undefined;
1928
+ waapiInstanceId?: string | null | undefined;
1929
+ qr?: string | null | undefined;
1930
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1926
1931
  apiKey?: string | undefined;
1927
1932
  tier?: "basic" | "regular" | "premium" | undefined;
1933
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1928
1934
  }, {
1929
- email: string;
1930
- wabaExternalId: string;
1931
- phoneNumberId: string;
1932
- wabaBusinessId?: string | undefined;
1933
- clientId?: string | undefined;
1934
- channelId?: string | undefined;
1935
- status?: "active" | "pending" | undefined;
1935
+ wabaBusinessId?: string | null | undefined;
1936
+ wabaExternalId?: string | null | undefined;
1937
+ phoneNumberId?: string | null | undefined;
1938
+ email?: string | null | undefined;
1939
+ clientId?: string | null | undefined;
1940
+ channelId?: string | null | undefined;
1941
+ waapiInstanceId?: string | null | undefined;
1942
+ qr?: string | null | undefined;
1943
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1936
1944
  apiKey?: string | undefined;
1937
1945
  tier?: "basic" | "regular" | "premium" | undefined;
1946
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1938
1947
  }>>;
1939
1948
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1940
1949
  mobileNumber: z.ZodString;
@@ -1953,22 +1962,25 @@ export declare const cxLogContract: {
1953
1962
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1954
1963
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1955
1964
  }, "strip", z.ZodTypeAny, {
1956
- id: string;
1957
1965
  name: string;
1966
+ id: string;
1958
1967
  accessToken?: string | undefined;
1959
1968
  channelSecret?: string | undefined;
1960
1969
  additionalCredentials?: any;
1961
1970
  senderId?: string | undefined;
1962
1971
  whatsapp?: {
1963
- email: string;
1964
- wabaExternalId: string;
1965
- phoneNumberId: string;
1966
- wabaBusinessId?: string | undefined;
1967
- clientId?: string | undefined;
1968
- channelId?: string | undefined;
1969
- status?: "active" | "pending" | undefined;
1972
+ wabaBusinessId?: string | null | undefined;
1973
+ wabaExternalId?: string | null | undefined;
1974
+ phoneNumberId?: string | null | undefined;
1975
+ email?: string | null | undefined;
1976
+ clientId?: string | null | undefined;
1977
+ channelId?: string | null | undefined;
1978
+ waapiInstanceId?: string | null | undefined;
1979
+ qr?: string | null | undefined;
1980
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1970
1981
  apiKey?: string | undefined;
1971
1982
  tier?: "basic" | "regular" | "premium" | undefined;
1983
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1972
1984
  } | undefined;
1973
1985
  vonageCredentials?: {
1974
1986
  apiKey: string;
@@ -1979,22 +1991,25 @@ export declare const cxLogContract: {
1979
1991
  messengerIntegrationType?: "own" | "business" | undefined;
1980
1992
  facebookFeedIntegrationType?: "own" | "business" | undefined;
1981
1993
  }, {
1982
- id: string;
1983
1994
  name: string;
1995
+ id: string;
1984
1996
  accessToken?: string | undefined;
1985
1997
  channelSecret?: string | undefined;
1986
1998
  additionalCredentials?: any;
1987
1999
  senderId?: string | undefined;
1988
2000
  whatsapp?: {
1989
- email: string;
1990
- wabaExternalId: string;
1991
- phoneNumberId: string;
1992
- wabaBusinessId?: string | undefined;
1993
- clientId?: string | undefined;
1994
- channelId?: string | undefined;
1995
- status?: "active" | "pending" | undefined;
2001
+ wabaBusinessId?: string | null | undefined;
2002
+ wabaExternalId?: string | null | undefined;
2003
+ phoneNumberId?: string | null | undefined;
2004
+ email?: string | null | undefined;
2005
+ clientId?: string | null | undefined;
2006
+ channelId?: string | null | undefined;
2007
+ waapiInstanceId?: string | null | undefined;
2008
+ qr?: string | null | undefined;
2009
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1996
2010
  apiKey?: string | undefined;
1997
2011
  tier?: "basic" | "regular" | "premium" | undefined;
2012
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1998
2013
  } | undefined;
1999
2014
  vonageCredentials?: {
2000
2015
  apiKey: string;
@@ -2018,14 +2033,14 @@ export declare const cxLogContract: {
2018
2033
  integrationId: z.ZodString;
2019
2034
  accessToken: z.ZodString;
2020
2035
  }, "strip", z.ZodTypeAny, {
2021
- id: string;
2022
2036
  name: string;
2037
+ id: string;
2023
2038
  accessToken: string;
2024
2039
  botId: string;
2025
2040
  integrationId: string;
2026
2041
  }, {
2027
- id: string;
2028
2042
  name: string;
2043
+ id: string;
2029
2044
  accessToken: string;
2030
2045
  botId: string;
2031
2046
  integrationId: string;
@@ -2148,9 +2163,9 @@ export declare const cxLogContract: {
2148
2163
  telephonySignature: string | null;
2149
2164
  }>;
2150
2165
  }, "strip", z.ZodTypeAny, {
2166
+ name: string;
2151
2167
  id: string;
2152
2168
  address: string | null;
2153
- name: string;
2154
2169
  email: string;
2155
2170
  createdAt: Date;
2156
2171
  updatedAt: Date;
@@ -2191,9 +2206,9 @@ export declare const cxLogContract: {
2191
2206
  telephonySignature: string | null;
2192
2207
  };
2193
2208
  }, {
2209
+ name: string;
2194
2210
  id: string;
2195
2211
  address: string | null;
2196
- name: string;
2197
2212
  email: string;
2198
2213
  createdAt: Date;
2199
2214
  updatedAt: Date;
@@ -2235,26 +2250,29 @@ export declare const cxLogContract: {
2235
2250
  };
2236
2251
  }>;
2237
2252
  }, "strip", z.ZodTypeAny, {
2253
+ name: string;
2238
2254
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2239
2255
  id: string;
2240
- name: string;
2241
2256
  metadata: {
2242
- id: string;
2243
2257
  name: string;
2258
+ id: string;
2244
2259
  accessToken?: string | undefined;
2245
2260
  channelSecret?: string | undefined;
2246
2261
  additionalCredentials?: any;
2247
2262
  senderId?: string | undefined;
2248
2263
  whatsapp?: {
2249
- email: string;
2250
- wabaExternalId: string;
2251
- phoneNumberId: string;
2252
- wabaBusinessId?: string | undefined;
2253
- clientId?: string | undefined;
2254
- channelId?: string | undefined;
2255
- status?: "active" | "pending" | undefined;
2264
+ wabaBusinessId?: string | null | undefined;
2265
+ wabaExternalId?: string | null | undefined;
2266
+ phoneNumberId?: string | null | undefined;
2267
+ email?: string | null | undefined;
2268
+ clientId?: string | null | undefined;
2269
+ channelId?: string | null | undefined;
2270
+ waapiInstanceId?: string | null | undefined;
2271
+ qr?: string | null | undefined;
2272
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2256
2273
  apiKey?: string | undefined;
2257
2274
  tier?: "basic" | "regular" | "premium" | undefined;
2275
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2258
2276
  } | undefined;
2259
2277
  vonageCredentials?: {
2260
2278
  apiKey: string;
@@ -2270,9 +2288,9 @@ export declare const cxLogContract: {
2270
2288
  updatedAt: Date;
2271
2289
  deletedAt: Date | null;
2272
2290
  actor: {
2291
+ name: string;
2273
2292
  id: string;
2274
2293
  address: string | null;
2275
- name: string;
2276
2294
  email: string;
2277
2295
  createdAt: Date;
2278
2296
  updatedAt: Date;
@@ -2319,33 +2337,36 @@ export declare const cxLogContract: {
2319
2337
  connectedUserName: string;
2320
2338
  connectedUserId: string;
2321
2339
  botpressBot: {
2322
- id: string;
2323
2340
  name: string;
2341
+ id: string;
2324
2342
  accessToken: string;
2325
2343
  botId: string;
2326
2344
  integrationId: string;
2327
2345
  } | null;
2328
2346
  }, {
2347
+ name: string;
2329
2348
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2330
2349
  id: string;
2331
- name: string;
2332
2350
  metadata: {
2333
- id: string;
2334
2351
  name: string;
2352
+ id: string;
2335
2353
  accessToken?: string | undefined;
2336
2354
  channelSecret?: string | undefined;
2337
2355
  additionalCredentials?: any;
2338
2356
  senderId?: string | undefined;
2339
2357
  whatsapp?: {
2340
- email: string;
2341
- wabaExternalId: string;
2342
- phoneNumberId: string;
2343
- wabaBusinessId?: string | undefined;
2344
- clientId?: string | undefined;
2345
- channelId?: string | undefined;
2346
- status?: "active" | "pending" | undefined;
2358
+ wabaBusinessId?: string | null | undefined;
2359
+ wabaExternalId?: string | null | undefined;
2360
+ phoneNumberId?: string | null | undefined;
2361
+ email?: string | null | undefined;
2362
+ clientId?: string | null | undefined;
2363
+ channelId?: string | null | undefined;
2364
+ waapiInstanceId?: string | null | undefined;
2365
+ qr?: string | null | undefined;
2366
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2347
2367
  apiKey?: string | undefined;
2348
2368
  tier?: "basic" | "regular" | "premium" | undefined;
2369
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2349
2370
  } | undefined;
2350
2371
  vonageCredentials?: {
2351
2372
  apiKey: string;
@@ -2361,9 +2382,9 @@ export declare const cxLogContract: {
2361
2382
  updatedAt: Date;
2362
2383
  deletedAt: Date | null;
2363
2384
  actor: {
2385
+ name: string;
2364
2386
  id: string;
2365
2387
  address: string | null;
2366
- name: string;
2367
2388
  email: string;
2368
2389
  createdAt: Date;
2369
2390
  updatedAt: Date;
@@ -2410,8 +2431,8 @@ export declare const cxLogContract: {
2410
2431
  connectedUserName: string;
2411
2432
  connectedUserId: string;
2412
2433
  botpressBot: {
2413
- id: string;
2414
2434
  name: string;
2435
+ id: string;
2415
2436
  accessToken: string;
2416
2437
  botId: string;
2417
2438
  integrationId: string;
@@ -2420,26 +2441,29 @@ export declare const cxLogContract: {
2420
2441
  }, "strip", z.ZodTypeAny, {
2421
2442
  id: string;
2422
2443
  channel: {
2444
+ name: string;
2423
2445
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2424
2446
  id: string;
2425
- name: string;
2426
2447
  metadata: {
2427
- id: string;
2428
2448
  name: string;
2449
+ id: string;
2429
2450
  accessToken?: string | undefined;
2430
2451
  channelSecret?: string | undefined;
2431
2452
  additionalCredentials?: any;
2432
2453
  senderId?: string | undefined;
2433
2454
  whatsapp?: {
2434
- email: string;
2435
- wabaExternalId: string;
2436
- phoneNumberId: string;
2437
- wabaBusinessId?: string | undefined;
2438
- clientId?: string | undefined;
2439
- channelId?: string | undefined;
2440
- status?: "active" | "pending" | undefined;
2455
+ wabaBusinessId?: string | null | undefined;
2456
+ wabaExternalId?: string | null | undefined;
2457
+ phoneNumberId?: string | null | undefined;
2458
+ email?: string | null | undefined;
2459
+ clientId?: string | null | undefined;
2460
+ channelId?: string | null | undefined;
2461
+ waapiInstanceId?: string | null | undefined;
2462
+ qr?: string | null | undefined;
2463
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2441
2464
  apiKey?: string | undefined;
2442
2465
  tier?: "basic" | "regular" | "premium" | undefined;
2466
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2443
2467
  } | undefined;
2444
2468
  vonageCredentials?: {
2445
2469
  apiKey: string;
@@ -2455,9 +2479,9 @@ export declare const cxLogContract: {
2455
2479
  updatedAt: Date;
2456
2480
  deletedAt: Date | null;
2457
2481
  actor: {
2482
+ name: string;
2458
2483
  id: string;
2459
2484
  address: string | null;
2460
- name: string;
2461
2485
  email: string;
2462
2486
  createdAt: Date;
2463
2487
  updatedAt: Date;
@@ -2504,8 +2528,8 @@ export declare const cxLogContract: {
2504
2528
  connectedUserName: string;
2505
2529
  connectedUserId: string;
2506
2530
  botpressBot: {
2507
- id: string;
2508
2531
  name: string;
2532
+ id: string;
2509
2533
  accessToken: string;
2510
2534
  botId: string;
2511
2535
  integrationId: string;
@@ -2516,9 +2540,9 @@ export declare const cxLogContract: {
2516
2540
  updatedAt: Date;
2517
2541
  deletedAt: Date | null;
2518
2542
  actor: {
2543
+ name: string;
2519
2544
  id: string;
2520
2545
  address: string | null;
2521
- name: string;
2522
2546
  email: string;
2523
2547
  createdAt: Date;
2524
2548
  updatedAt: Date;
@@ -2570,8 +2594,8 @@ export declare const cxLogContract: {
2570
2594
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2571
2595
  id: string;
2572
2596
  metadata: {
2573
- id: string;
2574
2597
  name: string;
2598
+ id: string;
2575
2599
  picture?: string | undefined;
2576
2600
  additionalCredentials?: any;
2577
2601
  };
@@ -2579,10 +2603,10 @@ export declare const cxLogContract: {
2579
2603
  updatedAt: Date;
2580
2604
  deletedAt: Date | null;
2581
2605
  contact: {
2606
+ name: string;
2582
2607
  id: string;
2583
2608
  channel: string | null;
2584
2609
  address: string | null;
2585
- name: string;
2586
2610
  createdAt: Date;
2587
2611
  updatedAt: Date;
2588
2612
  deletedAt: Date | null;
@@ -2611,6 +2635,7 @@ export declare const cxLogContract: {
2611
2635
  dateValue: Date | null;
2612
2636
  uploads: {
2613
2637
  id: string;
2638
+ status: string | null;
2614
2639
  createdAt: Date;
2615
2640
  updatedAt: Date;
2616
2641
  deletedAt: Date | null;
@@ -2619,7 +2644,6 @@ export declare const cxLogContract: {
2619
2644
  bucketName: string;
2620
2645
  fileSize: number;
2621
2646
  fileUrl: string | null;
2622
- status?: string | undefined;
2623
2647
  }[];
2624
2648
  }[];
2625
2649
  company: {
@@ -2627,8 +2651,8 @@ export declare const cxLogContract: {
2627
2651
  createdAt: Date;
2628
2652
  updatedAt: Date;
2629
2653
  deletedAt: Date | null;
2630
- address?: string | null | undefined;
2631
2654
  name?: string | undefined;
2655
+ address?: string | null | undefined;
2632
2656
  phone?: string | null | undefined;
2633
2657
  industry?: string | null | undefined;
2634
2658
  } | null;
@@ -2636,8 +2660,8 @@ export declare const cxLogContract: {
2636
2660
  contactProfile: string | null;
2637
2661
  socialProfileUrl: string | null;
2638
2662
  tags: {
2639
- id: string;
2640
2663
  name: string;
2664
+ id: string;
2641
2665
  createdAt: Date;
2642
2666
  updatedAt: Date;
2643
2667
  deletedAt: Date | null;
@@ -2662,8 +2686,8 @@ export declare const cxLogContract: {
2662
2686
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2663
2687
  id: string;
2664
2688
  metadata: {
2665
- id: string;
2666
2689
  name: string;
2690
+ id: string;
2667
2691
  picture?: string | undefined;
2668
2692
  additionalCredentials?: any;
2669
2693
  };
@@ -2694,9 +2718,9 @@ export declare const cxLogContract: {
2694
2718
  socialPlatformId: string;
2695
2719
  };
2696
2720
  assignee: {
2721
+ name: string;
2697
2722
  id: string;
2698
2723
  address: string | null;
2699
- name: string;
2700
2724
  email: string;
2701
2725
  createdAt: Date;
2702
2726
  updatedAt: Date;
@@ -2740,26 +2764,29 @@ export declare const cxLogContract: {
2740
2764
  }, {
2741
2765
  id: string;
2742
2766
  channel: {
2767
+ name: string;
2743
2768
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2744
2769
  id: string;
2745
- name: string;
2746
2770
  metadata: {
2747
- id: string;
2748
2771
  name: string;
2772
+ id: string;
2749
2773
  accessToken?: string | undefined;
2750
2774
  channelSecret?: string | undefined;
2751
2775
  additionalCredentials?: any;
2752
2776
  senderId?: string | undefined;
2753
2777
  whatsapp?: {
2754
- email: string;
2755
- wabaExternalId: string;
2756
- phoneNumberId: string;
2757
- wabaBusinessId?: string | undefined;
2758
- clientId?: string | undefined;
2759
- channelId?: string | undefined;
2760
- status?: "active" | "pending" | undefined;
2778
+ wabaBusinessId?: string | null | undefined;
2779
+ wabaExternalId?: string | null | undefined;
2780
+ phoneNumberId?: string | null | undefined;
2781
+ email?: string | null | undefined;
2782
+ clientId?: string | null | undefined;
2783
+ channelId?: string | null | undefined;
2784
+ waapiInstanceId?: string | null | undefined;
2785
+ qr?: string | null | undefined;
2786
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2761
2787
  apiKey?: string | undefined;
2762
2788
  tier?: "basic" | "regular" | "premium" | undefined;
2789
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2763
2790
  } | undefined;
2764
2791
  vonageCredentials?: {
2765
2792
  apiKey: string;
@@ -2775,9 +2802,9 @@ export declare const cxLogContract: {
2775
2802
  updatedAt: Date;
2776
2803
  deletedAt: Date | null;
2777
2804
  actor: {
2805
+ name: string;
2778
2806
  id: string;
2779
2807
  address: string | null;
2780
- name: string;
2781
2808
  email: string;
2782
2809
  createdAt: Date;
2783
2810
  updatedAt: Date;
@@ -2824,8 +2851,8 @@ export declare const cxLogContract: {
2824
2851
  connectedUserName: string;
2825
2852
  connectedUserId: string;
2826
2853
  botpressBot: {
2827
- id: string;
2828
2854
  name: string;
2855
+ id: string;
2829
2856
  accessToken: string;
2830
2857
  botId: string;
2831
2858
  integrationId: string;
@@ -2836,9 +2863,9 @@ export declare const cxLogContract: {
2836
2863
  updatedAt: Date;
2837
2864
  deletedAt: Date | null;
2838
2865
  actor: {
2866
+ name: string;
2839
2867
  id: string;
2840
2868
  address: string | null;
2841
- name: string;
2842
2869
  email: string;
2843
2870
  createdAt: Date;
2844
2871
  updatedAt: Date;
@@ -2890,8 +2917,8 @@ export declare const cxLogContract: {
2890
2917
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2891
2918
  id: string;
2892
2919
  metadata: {
2893
- id: string;
2894
2920
  name: string;
2921
+ id: string;
2895
2922
  picture?: string | undefined;
2896
2923
  additionalCredentials?: any;
2897
2924
  };
@@ -2899,10 +2926,10 @@ export declare const cxLogContract: {
2899
2926
  updatedAt: Date;
2900
2927
  deletedAt: Date | null;
2901
2928
  contact: {
2929
+ name: string;
2902
2930
  id: string;
2903
2931
  channel: string | null;
2904
2932
  address: string | null;
2905
- name: string;
2906
2933
  createdAt: Date;
2907
2934
  updatedAt: Date;
2908
2935
  deletedAt: Date | null;
@@ -2931,6 +2958,7 @@ export declare const cxLogContract: {
2931
2958
  dateValue: Date | null;
2932
2959
  uploads: {
2933
2960
  id: string;
2961
+ status: string | null;
2934
2962
  createdAt: Date;
2935
2963
  updatedAt: Date;
2936
2964
  deletedAt: Date | null;
@@ -2939,7 +2967,6 @@ export declare const cxLogContract: {
2939
2967
  bucketName: string;
2940
2968
  fileSize: number;
2941
2969
  fileUrl: string | null;
2942
- status?: string | undefined;
2943
2970
  }[];
2944
2971
  }[];
2945
2972
  company: {
@@ -2947,8 +2974,8 @@ export declare const cxLogContract: {
2947
2974
  createdAt: Date;
2948
2975
  updatedAt: Date;
2949
2976
  deletedAt: Date | null;
2950
- address?: string | null | undefined;
2951
2977
  name?: string | undefined;
2978
+ address?: string | null | undefined;
2952
2979
  phone?: string | null | undefined;
2953
2980
  industry?: string | null | undefined;
2954
2981
  } | null;
@@ -2956,8 +2983,8 @@ export declare const cxLogContract: {
2956
2983
  contactProfile: string | null;
2957
2984
  socialProfileUrl: string | null;
2958
2985
  tags: {
2959
- id: string;
2960
2986
  name: string;
2987
+ id: string;
2961
2988
  createdAt: Date;
2962
2989
  updatedAt: Date;
2963
2990
  deletedAt: Date | null;
@@ -2982,8 +3009,8 @@ export declare const cxLogContract: {
2982
3009
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2983
3010
  id: string;
2984
3011
  metadata: {
2985
- id: string;
2986
3012
  name: string;
3013
+ id: string;
2987
3014
  picture?: string | undefined;
2988
3015
  additionalCredentials?: any;
2989
3016
  };
@@ -3014,9 +3041,9 @@ export declare const cxLogContract: {
3014
3041
  socialPlatformId: string;
3015
3042
  };
3016
3043
  assignee: {
3044
+ name: string;
3017
3045
  id: string;
3018
3046
  address: string | null;
3019
- name: string;
3020
3047
  email: string;
3021
3048
  createdAt: Date;
3022
3049
  updatedAt: Date;
@@ -3089,14 +3116,14 @@ export declare const cxLogContract: {
3089
3116
  deletedAt: z.ZodNullable<z.ZodDate>;
3090
3117
  name: z.ZodString;
3091
3118
  }, "strip", z.ZodTypeAny, {
3092
- id: string;
3093
3119
  name: string;
3120
+ id: string;
3094
3121
  createdAt: Date;
3095
3122
  updatedAt: Date;
3096
3123
  deletedAt: Date | null;
3097
3124
  }, {
3098
- id: string;
3099
3125
  name: string;
3126
+ id: string;
3100
3127
  createdAt: Date;
3101
3128
  updatedAt: Date;
3102
3129
  deletedAt: Date | null;
@@ -3252,8 +3279,8 @@ export declare const cxLogContract: {
3252
3279
  createdAt: Date;
3253
3280
  updatedAt: Date;
3254
3281
  deletedAt: Date | null;
3255
- address?: string | null | undefined;
3256
3282
  name?: string | undefined;
3283
+ address?: string | null | undefined;
3257
3284
  phone?: string | null | undefined;
3258
3285
  industry?: string | null | undefined;
3259
3286
  }, {
@@ -3261,8 +3288,8 @@ export declare const cxLogContract: {
3261
3288
  createdAt: Date;
3262
3289
  updatedAt: Date;
3263
3290
  deletedAt: Date | null;
3264
- address?: string | null | undefined;
3265
3291
  name?: string | undefined;
3292
+ address?: string | null | undefined;
3266
3293
  phone?: string | null | undefined;
3267
3294
  industry?: string | null | undefined;
3268
3295
  }>>;
@@ -3280,13 +3307,13 @@ export declare const cxLogContract: {
3280
3307
  picture: z.ZodOptional<z.ZodString>;
3281
3308
  additionalCredentials: z.ZodAny;
3282
3309
  }, "strip", z.ZodTypeAny, {
3283
- id: string;
3284
3310
  name: string;
3311
+ id: string;
3285
3312
  picture?: string | undefined;
3286
3313
  additionalCredentials?: any;
3287
3314
  }, {
3288
- id: string;
3289
3315
  name: string;
3316
+ id: string;
3290
3317
  picture?: string | undefined;
3291
3318
  additionalCredentials?: any;
3292
3319
  }>;
@@ -3294,8 +3321,8 @@ export declare const cxLogContract: {
3294
3321
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3295
3322
  id: string;
3296
3323
  metadata: {
3297
- id: string;
3298
3324
  name: string;
3325
+ id: string;
3299
3326
  picture?: string | undefined;
3300
3327
  additionalCredentials?: any;
3301
3328
  };
@@ -3308,8 +3335,8 @@ export declare const cxLogContract: {
3308
3335
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3309
3336
  id: string;
3310
3337
  metadata: {
3311
- id: string;
3312
3338
  name: string;
3339
+ id: string;
3313
3340
  picture?: string | undefined;
3314
3341
  additionalCredentials?: any;
3315
3342
  };
@@ -3419,9 +3446,10 @@ export declare const cxLogContract: {
3419
3446
  fileSize: z.ZodNumber;
3420
3447
  fileKey: z.ZodString;
3421
3448
  fileUrl: z.ZodNullable<z.ZodString>;
3422
- status: z.ZodOptional<z.ZodString>;
3449
+ status: z.ZodNullable<z.ZodString>;
3423
3450
  }, "strip", z.ZodTypeAny, {
3424
3451
  id: string;
3452
+ status: string | null;
3425
3453
  createdAt: Date;
3426
3454
  updatedAt: Date;
3427
3455
  deletedAt: Date | null;
@@ -3430,9 +3458,9 @@ export declare const cxLogContract: {
3430
3458
  bucketName: string;
3431
3459
  fileSize: number;
3432
3460
  fileUrl: string | null;
3433
- status?: string | undefined;
3434
3461
  }, {
3435
3462
  id: string;
3463
+ status: string | null;
3436
3464
  createdAt: Date;
3437
3465
  updatedAt: Date;
3438
3466
  deletedAt: Date | null;
@@ -3441,7 +3469,6 @@ export declare const cxLogContract: {
3441
3469
  bucketName: string;
3442
3470
  fileSize: number;
3443
3471
  fileUrl: string | null;
3444
- status?: string | undefined;
3445
3472
  }>, "many">;
3446
3473
  }, "strip", z.ZodTypeAny, {
3447
3474
  id: string;
@@ -3468,6 +3495,7 @@ export declare const cxLogContract: {
3468
3495
  dateValue: Date | null;
3469
3496
  uploads: {
3470
3497
  id: string;
3498
+ status: string | null;
3471
3499
  createdAt: Date;
3472
3500
  updatedAt: Date;
3473
3501
  deletedAt: Date | null;
@@ -3476,7 +3504,6 @@ export declare const cxLogContract: {
3476
3504
  bucketName: string;
3477
3505
  fileSize: number;
3478
3506
  fileUrl: string | null;
3479
- status?: string | undefined;
3480
3507
  }[];
3481
3508
  }, {
3482
3509
  id: string;
@@ -3503,6 +3530,7 @@ export declare const cxLogContract: {
3503
3530
  dateValue: Date | null;
3504
3531
  uploads: {
3505
3532
  id: string;
3533
+ status: string | null;
3506
3534
  createdAt: Date;
3507
3535
  updatedAt: Date;
3508
3536
  deletedAt: Date | null;
@@ -3511,7 +3539,6 @@ export declare const cxLogContract: {
3511
3539
  bucketName: string;
3512
3540
  fileSize: number;
3513
3541
  fileUrl: string | null;
3514
- status?: string | undefined;
3515
3542
  }[];
3516
3543
  }>, "many">;
3517
3544
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3619,10 +3646,10 @@ export declare const cxLogContract: {
3619
3646
  };
3620
3647
  }>, "many">>;
3621
3648
  }, "strip", z.ZodTypeAny, {
3649
+ name: string;
3622
3650
  id: string;
3623
3651
  channel: string | null;
3624
3652
  address: string | null;
3625
- name: string;
3626
3653
  createdAt: Date;
3627
3654
  updatedAt: Date;
3628
3655
  deletedAt: Date | null;
@@ -3651,6 +3678,7 @@ export declare const cxLogContract: {
3651
3678
  dateValue: Date | null;
3652
3679
  uploads: {
3653
3680
  id: string;
3681
+ status: string | null;
3654
3682
  createdAt: Date;
3655
3683
  updatedAt: Date;
3656
3684
  deletedAt: Date | null;
@@ -3659,7 +3687,6 @@ export declare const cxLogContract: {
3659
3687
  bucketName: string;
3660
3688
  fileSize: number;
3661
3689
  fileUrl: string | null;
3662
- status?: string | undefined;
3663
3690
  }[];
3664
3691
  }[];
3665
3692
  company: {
@@ -3667,8 +3694,8 @@ export declare const cxLogContract: {
3667
3694
  createdAt: Date;
3668
3695
  updatedAt: Date;
3669
3696
  deletedAt: Date | null;
3670
- address?: string | null | undefined;
3671
3697
  name?: string | undefined;
3698
+ address?: string | null | undefined;
3672
3699
  phone?: string | null | undefined;
3673
3700
  industry?: string | null | undefined;
3674
3701
  } | null;
@@ -3676,8 +3703,8 @@ export declare const cxLogContract: {
3676
3703
  contactProfile: string | null;
3677
3704
  socialProfileUrl: string | null;
3678
3705
  tags: {
3679
- id: string;
3680
3706
  name: string;
3707
+ id: string;
3681
3708
  createdAt: Date;
3682
3709
  updatedAt: Date;
3683
3710
  deletedAt: Date | null;
@@ -3702,8 +3729,8 @@ export declare const cxLogContract: {
3702
3729
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3703
3730
  id: string;
3704
3731
  metadata: {
3705
- id: string;
3706
3732
  name: string;
3733
+ id: string;
3707
3734
  picture?: string | undefined;
3708
3735
  additionalCredentials?: any;
3709
3736
  };
@@ -3730,10 +3757,10 @@ export declare const cxLogContract: {
3730
3757
  };
3731
3758
  }[] | undefined;
3732
3759
  }, {
3760
+ name: string;
3733
3761
  id: string;
3734
3762
  channel: string | null;
3735
3763
  address: string | null;
3736
- name: string;
3737
3764
  createdAt: Date;
3738
3765
  updatedAt: Date;
3739
3766
  deletedAt: Date | null;
@@ -3762,6 +3789,7 @@ export declare const cxLogContract: {
3762
3789
  dateValue: Date | null;
3763
3790
  uploads: {
3764
3791
  id: string;
3792
+ status: string | null;
3765
3793
  createdAt: Date;
3766
3794
  updatedAt: Date;
3767
3795
  deletedAt: Date | null;
@@ -3770,7 +3798,6 @@ export declare const cxLogContract: {
3770
3798
  bucketName: string;
3771
3799
  fileSize: number;
3772
3800
  fileUrl: string | null;
3773
- status?: string | undefined;
3774
3801
  }[];
3775
3802
  }[];
3776
3803
  company: {
@@ -3778,8 +3805,8 @@ export declare const cxLogContract: {
3778
3805
  createdAt: Date;
3779
3806
  updatedAt: Date;
3780
3807
  deletedAt: Date | null;
3781
- address?: string | null | undefined;
3782
3808
  name?: string | undefined;
3809
+ address?: string | null | undefined;
3783
3810
  phone?: string | null | undefined;
3784
3811
  industry?: string | null | undefined;
3785
3812
  } | null;
@@ -3787,8 +3814,8 @@ export declare const cxLogContract: {
3787
3814
  contactProfile: string | null;
3788
3815
  socialProfileUrl: string | null;
3789
3816
  tags: {
3790
- id: string;
3791
3817
  name: string;
3818
+ id: string;
3792
3819
  createdAt: Date;
3793
3820
  updatedAt: Date;
3794
3821
  deletedAt: Date | null;
@@ -3813,8 +3840,8 @@ export declare const cxLogContract: {
3813
3840
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3814
3841
  id: string;
3815
3842
  metadata: {
3816
- id: string;
3817
3843
  name: string;
3844
+ id: string;
3818
3845
  picture?: string | undefined;
3819
3846
  additionalCredentials?: any;
3820
3847
  };
@@ -3887,9 +3914,10 @@ export declare const cxLogContract: {
3887
3914
  fileSize: z.ZodNumber;
3888
3915
  fileKey: z.ZodString;
3889
3916
  fileUrl: z.ZodNullable<z.ZodString>;
3890
- status: z.ZodOptional<z.ZodString>;
3917
+ status: z.ZodNullable<z.ZodString>;
3891
3918
  }, "strip", z.ZodTypeAny, {
3892
3919
  id: string;
3920
+ status: string | null;
3893
3921
  createdAt: Date;
3894
3922
  updatedAt: Date;
3895
3923
  deletedAt: Date | null;
@@ -3898,9 +3926,9 @@ export declare const cxLogContract: {
3898
3926
  bucketName: string;
3899
3927
  fileSize: number;
3900
3928
  fileUrl: string | null;
3901
- status?: string | undefined;
3902
3929
  }, {
3903
3930
  id: string;
3931
+ status: string | null;
3904
3932
  createdAt: Date;
3905
3933
  updatedAt: Date;
3906
3934
  deletedAt: Date | null;
@@ -3909,7 +3937,6 @@ export declare const cxLogContract: {
3909
3937
  bucketName: string;
3910
3938
  fileSize: number;
3911
3939
  fileUrl: string | null;
3912
- status?: string | undefined;
3913
3940
  }>>>;
3914
3941
  callParticipants: z.ZodNullable<z.ZodObject<{
3915
3942
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4032,9 +4059,9 @@ export declare const cxLogContract: {
4032
4059
  telephonySignature: string | null;
4033
4060
  }>;
4034
4061
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4062
+ name: string;
4035
4063
  id: string;
4036
4064
  address: string | null;
4037
- name: string;
4038
4065
  email: string;
4039
4066
  createdAt: Date;
4040
4067
  updatedAt: Date;
@@ -4044,9 +4071,9 @@ export declare const cxLogContract: {
4044
4071
  phone: string | null;
4045
4072
  notificationCount: number | null;
4046
4073
  }, {
4074
+ name: string;
4047
4075
  id: string;
4048
4076
  address: string | null;
4049
- name: string;
4050
4077
  email: string;
4051
4078
  createdAt: Date;
4052
4079
  updatedAt: Date;
@@ -4069,9 +4096,9 @@ export declare const cxLogContract: {
4069
4096
  }, "strip", z.ZodTypeAny, {
4070
4097
  id: string;
4071
4098
  user: {
4099
+ name: string;
4072
4100
  id: string;
4073
4101
  address: string | null;
4074
- name: string;
4075
4102
  email: string;
4076
4103
  createdAt: Date;
4077
4104
  updatedAt: Date;
@@ -4094,9 +4121,9 @@ export declare const cxLogContract: {
4094
4121
  }, {
4095
4122
  id: string;
4096
4123
  user: {
4124
+ name: string;
4097
4125
  id: string;
4098
4126
  address: string | null;
4099
- name: string;
4100
4127
  email: string;
4101
4128
  createdAt: Date;
4102
4129
  updatedAt: Date;
@@ -4237,9 +4264,9 @@ export declare const cxLogContract: {
4237
4264
  telephonySignature: string | null;
4238
4265
  }>;
4239
4266
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4267
+ name: string;
4240
4268
  id: string;
4241
4269
  address: string | null;
4242
- name: string;
4243
4270
  email: string;
4244
4271
  createdAt: Date;
4245
4272
  updatedAt: Date;
@@ -4249,9 +4276,9 @@ export declare const cxLogContract: {
4249
4276
  phone: string | null;
4250
4277
  notificationCount: number | null;
4251
4278
  }, {
4279
+ name: string;
4252
4280
  id: string;
4253
4281
  address: string | null;
4254
- name: string;
4255
4282
  email: string;
4256
4283
  createdAt: Date;
4257
4284
  updatedAt: Date;
@@ -4274,9 +4301,9 @@ export declare const cxLogContract: {
4274
4301
  }, "strip", z.ZodTypeAny, {
4275
4302
  id: string;
4276
4303
  user: {
4304
+ name: string;
4277
4305
  id: string;
4278
4306
  address: string | null;
4279
- name: string;
4280
4307
  email: string;
4281
4308
  createdAt: Date;
4282
4309
  updatedAt: Date;
@@ -4299,9 +4326,9 @@ export declare const cxLogContract: {
4299
4326
  }, {
4300
4327
  id: string;
4301
4328
  user: {
4329
+ name: string;
4302
4330
  id: string;
4303
4331
  address: string | null;
4304
- name: string;
4305
4332
  email: string;
4306
4333
  createdAt: Date;
4307
4334
  updatedAt: Date;
@@ -4326,9 +4353,9 @@ export declare const cxLogContract: {
4326
4353
  callTo?: {
4327
4354
  id: string;
4328
4355
  user: {
4356
+ name: string;
4329
4357
  id: string;
4330
4358
  address: string | null;
4331
- name: string;
4332
4359
  email: string;
4333
4360
  createdAt: Date;
4334
4361
  updatedAt: Date;
@@ -4352,9 +4379,9 @@ export declare const cxLogContract: {
4352
4379
  callFrom?: {
4353
4380
  id: string;
4354
4381
  user: {
4382
+ name: string;
4355
4383
  id: string;
4356
4384
  address: string | null;
4357
- name: string;
4358
4385
  email: string;
4359
4386
  createdAt: Date;
4360
4387
  updatedAt: Date;
@@ -4379,9 +4406,9 @@ export declare const cxLogContract: {
4379
4406
  callTo?: {
4380
4407
  id: string;
4381
4408
  user: {
4409
+ name: string;
4382
4410
  id: string;
4383
4411
  address: string | null;
4384
- name: string;
4385
4412
  email: string;
4386
4413
  createdAt: Date;
4387
4414
  updatedAt: Date;
@@ -4405,9 +4432,9 @@ export declare const cxLogContract: {
4405
4432
  callFrom?: {
4406
4433
  id: string;
4407
4434
  user: {
4435
+ name: string;
4408
4436
  id: string;
4409
4437
  address: string | null;
4410
- name: string;
4411
4438
  email: string;
4412
4439
  createdAt: Date;
4413
4440
  updatedAt: Date;
@@ -4561,9 +4588,9 @@ export declare const cxLogContract: {
4561
4588
  telephonySignature: string | null;
4562
4589
  }>;
4563
4590
  }, "strip", z.ZodTypeAny, {
4591
+ name: string;
4564
4592
  id: string;
4565
4593
  address: string | null;
4566
- name: string;
4567
4594
  email: string;
4568
4595
  createdAt: Date;
4569
4596
  updatedAt: Date;
@@ -4604,9 +4631,9 @@ export declare const cxLogContract: {
4604
4631
  telephonySignature: string | null;
4605
4632
  };
4606
4633
  }, {
4634
+ name: string;
4607
4635
  id: string;
4608
4636
  address: string | null;
4609
- name: string;
4610
4637
  email: string;
4611
4638
  createdAt: Date;
4612
4639
  updatedAt: Date;
@@ -4660,9 +4687,9 @@ export declare const cxLogContract: {
4660
4687
  extensionName: string;
4661
4688
  telephonySignature: string | null;
4662
4689
  user?: {
4690
+ name: string;
4663
4691
  id: string;
4664
4692
  address: string | null;
4665
- name: string;
4666
4693
  email: string;
4667
4694
  createdAt: Date;
4668
4695
  updatedAt: Date;
@@ -4716,9 +4743,9 @@ export declare const cxLogContract: {
4716
4743
  extensionName: string;
4717
4744
  telephonySignature: string | null;
4718
4745
  user?: {
4746
+ name: string;
4719
4747
  id: string;
4720
4748
  address: string | null;
4721
- name: string;
4722
4749
  email: string;
4723
4750
  createdAt: Date;
4724
4751
  updatedAt: Date;
@@ -4788,9 +4815,9 @@ export declare const cxLogContract: {
4788
4815
  callTo?: {
4789
4816
  id: string;
4790
4817
  user: {
4818
+ name: string;
4791
4819
  id: string;
4792
4820
  address: string | null;
4793
- name: string;
4794
4821
  email: string;
4795
4822
  createdAt: Date;
4796
4823
  updatedAt: Date;
@@ -4814,9 +4841,9 @@ export declare const cxLogContract: {
4814
4841
  callFrom?: {
4815
4842
  id: string;
4816
4843
  user: {
4844
+ name: string;
4817
4845
  id: string;
4818
4846
  address: string | null;
4819
- name: string;
4820
4847
  email: string;
4821
4848
  createdAt: Date;
4822
4849
  updatedAt: Date;
@@ -4842,10 +4869,10 @@ export declare const cxLogContract: {
4842
4869
  telephonyQueueId: string | null;
4843
4870
  contactId: string | null;
4844
4871
  contact?: {
4872
+ name: string;
4845
4873
  id: string;
4846
4874
  channel: string | null;
4847
4875
  address: string | null;
4848
- name: string;
4849
4876
  createdAt: Date;
4850
4877
  updatedAt: Date;
4851
4878
  deletedAt: Date | null;
@@ -4874,6 +4901,7 @@ export declare const cxLogContract: {
4874
4901
  dateValue: Date | null;
4875
4902
  uploads: {
4876
4903
  id: string;
4904
+ status: string | null;
4877
4905
  createdAt: Date;
4878
4906
  updatedAt: Date;
4879
4907
  deletedAt: Date | null;
@@ -4882,7 +4910,6 @@ export declare const cxLogContract: {
4882
4910
  bucketName: string;
4883
4911
  fileSize: number;
4884
4912
  fileUrl: string | null;
4885
- status?: string | undefined;
4886
4913
  }[];
4887
4914
  }[];
4888
4915
  company: {
@@ -4890,8 +4917,8 @@ export declare const cxLogContract: {
4890
4917
  createdAt: Date;
4891
4918
  updatedAt: Date;
4892
4919
  deletedAt: Date | null;
4893
- address?: string | null | undefined;
4894
4920
  name?: string | undefined;
4921
+ address?: string | null | undefined;
4895
4922
  phone?: string | null | undefined;
4896
4923
  industry?: string | null | undefined;
4897
4924
  } | null;
@@ -4899,8 +4926,8 @@ export declare const cxLogContract: {
4899
4926
  contactProfile: string | null;
4900
4927
  socialProfileUrl: string | null;
4901
4928
  tags: {
4902
- id: string;
4903
4929
  name: string;
4930
+ id: string;
4904
4931
  createdAt: Date;
4905
4932
  updatedAt: Date;
4906
4933
  deletedAt: Date | null;
@@ -4925,8 +4952,8 @@ export declare const cxLogContract: {
4925
4952
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4926
4953
  id: string;
4927
4954
  metadata: {
4928
- id: string;
4929
4955
  name: string;
4956
+ id: string;
4930
4957
  picture?: string | undefined;
4931
4958
  additionalCredentials?: any;
4932
4959
  };
@@ -4965,6 +4992,7 @@ export declare const cxLogContract: {
4965
4992
  } | null | undefined;
4966
4993
  upload?: {
4967
4994
  id: string;
4995
+ status: string | null;
4968
4996
  createdAt: Date;
4969
4997
  updatedAt: Date;
4970
4998
  deletedAt: Date | null;
@@ -4973,7 +5001,6 @@ export declare const cxLogContract: {
4973
5001
  bucketName: string;
4974
5002
  fileSize: number;
4975
5003
  fileUrl: string | null;
4976
- status?: string | undefined;
4977
5004
  } | null | undefined;
4978
5005
  extension?: {
4979
5006
  id: string;
@@ -4988,9 +5015,9 @@ export declare const cxLogContract: {
4988
5015
  extensionName: string;
4989
5016
  telephonySignature: string | null;
4990
5017
  user?: {
5018
+ name: string;
4991
5019
  id: string;
4992
5020
  address: string | null;
4993
- name: string;
4994
5021
  email: string;
4995
5022
  createdAt: Date;
4996
5023
  updatedAt: Date;
@@ -5058,9 +5085,9 @@ export declare const cxLogContract: {
5058
5085
  callTo?: {
5059
5086
  id: string;
5060
5087
  user: {
5088
+ name: string;
5061
5089
  id: string;
5062
5090
  address: string | null;
5063
- name: string;
5064
5091
  email: string;
5065
5092
  createdAt: Date;
5066
5093
  updatedAt: Date;
@@ -5084,9 +5111,9 @@ export declare const cxLogContract: {
5084
5111
  callFrom?: {
5085
5112
  id: string;
5086
5113
  user: {
5114
+ name: string;
5087
5115
  id: string;
5088
5116
  address: string | null;
5089
- name: string;
5090
5117
  email: string;
5091
5118
  createdAt: Date;
5092
5119
  updatedAt: Date;
@@ -5112,10 +5139,10 @@ export declare const cxLogContract: {
5112
5139
  telephonyQueueId: string | null;
5113
5140
  contactId: string | null;
5114
5141
  contact?: {
5142
+ name: string;
5115
5143
  id: string;
5116
5144
  channel: string | null;
5117
5145
  address: string | null;
5118
- name: string;
5119
5146
  createdAt: Date;
5120
5147
  updatedAt: Date;
5121
5148
  deletedAt: Date | null;
@@ -5144,6 +5171,7 @@ export declare const cxLogContract: {
5144
5171
  dateValue: Date | null;
5145
5172
  uploads: {
5146
5173
  id: string;
5174
+ status: string | null;
5147
5175
  createdAt: Date;
5148
5176
  updatedAt: Date;
5149
5177
  deletedAt: Date | null;
@@ -5152,7 +5180,6 @@ export declare const cxLogContract: {
5152
5180
  bucketName: string;
5153
5181
  fileSize: number;
5154
5182
  fileUrl: string | null;
5155
- status?: string | undefined;
5156
5183
  }[];
5157
5184
  }[];
5158
5185
  company: {
@@ -5160,8 +5187,8 @@ export declare const cxLogContract: {
5160
5187
  createdAt: Date;
5161
5188
  updatedAt: Date;
5162
5189
  deletedAt: Date | null;
5163
- address?: string | null | undefined;
5164
5190
  name?: string | undefined;
5191
+ address?: string | null | undefined;
5165
5192
  phone?: string | null | undefined;
5166
5193
  industry?: string | null | undefined;
5167
5194
  } | null;
@@ -5169,8 +5196,8 @@ export declare const cxLogContract: {
5169
5196
  contactProfile: string | null;
5170
5197
  socialProfileUrl: string | null;
5171
5198
  tags: {
5172
- id: string;
5173
5199
  name: string;
5200
+ id: string;
5174
5201
  createdAt: Date;
5175
5202
  updatedAt: Date;
5176
5203
  deletedAt: Date | null;
@@ -5195,8 +5222,8 @@ export declare const cxLogContract: {
5195
5222
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5196
5223
  id: string;
5197
5224
  metadata: {
5198
- id: string;
5199
5225
  name: string;
5226
+ id: string;
5200
5227
  picture?: string | undefined;
5201
5228
  additionalCredentials?: any;
5202
5229
  };
@@ -5235,6 +5262,7 @@ export declare const cxLogContract: {
5235
5262
  } | null | undefined;
5236
5263
  upload?: {
5237
5264
  id: string;
5265
+ status: string | null;
5238
5266
  createdAt: Date;
5239
5267
  updatedAt: Date;
5240
5268
  deletedAt: Date | null;
@@ -5243,7 +5271,6 @@ export declare const cxLogContract: {
5243
5271
  bucketName: string;
5244
5272
  fileSize: number;
5245
5273
  fileUrl: string | null;
5246
- status?: string | undefined;
5247
5274
  } | null | undefined;
5248
5275
  extension?: {
5249
5276
  id: string;
@@ -5258,9 +5285,9 @@ export declare const cxLogContract: {
5258
5285
  extensionName: string;
5259
5286
  telephonySignature: string | null;
5260
5287
  user?: {
5288
+ name: string;
5261
5289
  id: string;
5262
5290
  address: string | null;
5263
- name: string;
5264
5291
  email: string;
5265
5292
  createdAt: Date;
5266
5293
  updatedAt: Date;
@@ -5328,14 +5355,14 @@ export declare const cxLogContract: {
5328
5355
  deletedAt: z.ZodNullable<z.ZodDate>;
5329
5356
  name: z.ZodString;
5330
5357
  }, "strip", z.ZodTypeAny, {
5331
- id: string;
5332
5358
  name: string;
5359
+ id: string;
5333
5360
  createdAt: Date;
5334
5361
  updatedAt: Date;
5335
5362
  deletedAt: Date | null;
5336
5363
  }, {
5337
- id: string;
5338
5364
  name: string;
5365
+ id: string;
5339
5366
  createdAt: Date;
5340
5367
  updatedAt: Date;
5341
5368
  deletedAt: Date | null;
@@ -5491,8 +5518,8 @@ export declare const cxLogContract: {
5491
5518
  createdAt: Date;
5492
5519
  updatedAt: Date;
5493
5520
  deletedAt: Date | null;
5494
- address?: string | null | undefined;
5495
5521
  name?: string | undefined;
5522
+ address?: string | null | undefined;
5496
5523
  phone?: string | null | undefined;
5497
5524
  industry?: string | null | undefined;
5498
5525
  }, {
@@ -5500,8 +5527,8 @@ export declare const cxLogContract: {
5500
5527
  createdAt: Date;
5501
5528
  updatedAt: Date;
5502
5529
  deletedAt: Date | null;
5503
- address?: string | null | undefined;
5504
5530
  name?: string | undefined;
5531
+ address?: string | null | undefined;
5505
5532
  phone?: string | null | undefined;
5506
5533
  industry?: string | null | undefined;
5507
5534
  }>>;
@@ -5519,13 +5546,13 @@ export declare const cxLogContract: {
5519
5546
  picture: z.ZodOptional<z.ZodString>;
5520
5547
  additionalCredentials: z.ZodAny;
5521
5548
  }, "strip", z.ZodTypeAny, {
5522
- id: string;
5523
5549
  name: string;
5550
+ id: string;
5524
5551
  picture?: string | undefined;
5525
5552
  additionalCredentials?: any;
5526
5553
  }, {
5527
- id: string;
5528
5554
  name: string;
5555
+ id: string;
5529
5556
  picture?: string | undefined;
5530
5557
  additionalCredentials?: any;
5531
5558
  }>;
@@ -5533,8 +5560,8 @@ export declare const cxLogContract: {
5533
5560
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5534
5561
  id: string;
5535
5562
  metadata: {
5536
- id: string;
5537
5563
  name: string;
5564
+ id: string;
5538
5565
  picture?: string | undefined;
5539
5566
  additionalCredentials?: any;
5540
5567
  };
@@ -5547,8 +5574,8 @@ export declare const cxLogContract: {
5547
5574
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5548
5575
  id: string;
5549
5576
  metadata: {
5550
- id: string;
5551
5577
  name: string;
5578
+ id: string;
5552
5579
  picture?: string | undefined;
5553
5580
  additionalCredentials?: any;
5554
5581
  };
@@ -5658,9 +5685,10 @@ export declare const cxLogContract: {
5658
5685
  fileSize: z.ZodNumber;
5659
5686
  fileKey: z.ZodString;
5660
5687
  fileUrl: z.ZodNullable<z.ZodString>;
5661
- status: z.ZodOptional<z.ZodString>;
5688
+ status: z.ZodNullable<z.ZodString>;
5662
5689
  }, "strip", z.ZodTypeAny, {
5663
5690
  id: string;
5691
+ status: string | null;
5664
5692
  createdAt: Date;
5665
5693
  updatedAt: Date;
5666
5694
  deletedAt: Date | null;
@@ -5669,9 +5697,9 @@ export declare const cxLogContract: {
5669
5697
  bucketName: string;
5670
5698
  fileSize: number;
5671
5699
  fileUrl: string | null;
5672
- status?: string | undefined;
5673
5700
  }, {
5674
5701
  id: string;
5702
+ status: string | null;
5675
5703
  createdAt: Date;
5676
5704
  updatedAt: Date;
5677
5705
  deletedAt: Date | null;
@@ -5680,7 +5708,6 @@ export declare const cxLogContract: {
5680
5708
  bucketName: string;
5681
5709
  fileSize: number;
5682
5710
  fileUrl: string | null;
5683
- status?: string | undefined;
5684
5711
  }>, "many">;
5685
5712
  }, "strip", z.ZodTypeAny, {
5686
5713
  id: string;
@@ -5707,6 +5734,7 @@ export declare const cxLogContract: {
5707
5734
  dateValue: Date | null;
5708
5735
  uploads: {
5709
5736
  id: string;
5737
+ status: string | null;
5710
5738
  createdAt: Date;
5711
5739
  updatedAt: Date;
5712
5740
  deletedAt: Date | null;
@@ -5715,7 +5743,6 @@ export declare const cxLogContract: {
5715
5743
  bucketName: string;
5716
5744
  fileSize: number;
5717
5745
  fileUrl: string | null;
5718
- status?: string | undefined;
5719
5746
  }[];
5720
5747
  }, {
5721
5748
  id: string;
@@ -5742,6 +5769,7 @@ export declare const cxLogContract: {
5742
5769
  dateValue: Date | null;
5743
5770
  uploads: {
5744
5771
  id: string;
5772
+ status: string | null;
5745
5773
  createdAt: Date;
5746
5774
  updatedAt: Date;
5747
5775
  deletedAt: Date | null;
@@ -5750,7 +5778,6 @@ export declare const cxLogContract: {
5750
5778
  bucketName: string;
5751
5779
  fileSize: number;
5752
5780
  fileUrl: string | null;
5753
- status?: string | undefined;
5754
5781
  }[];
5755
5782
  }>, "many">;
5756
5783
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5858,10 +5885,10 @@ export declare const cxLogContract: {
5858
5885
  };
5859
5886
  }>, "many">>;
5860
5887
  }, "strip", z.ZodTypeAny, {
5888
+ name: string;
5861
5889
  id: string;
5862
5890
  channel: string | null;
5863
5891
  address: string | null;
5864
- name: string;
5865
5892
  createdAt: Date;
5866
5893
  updatedAt: Date;
5867
5894
  deletedAt: Date | null;
@@ -5890,6 +5917,7 @@ export declare const cxLogContract: {
5890
5917
  dateValue: Date | null;
5891
5918
  uploads: {
5892
5919
  id: string;
5920
+ status: string | null;
5893
5921
  createdAt: Date;
5894
5922
  updatedAt: Date;
5895
5923
  deletedAt: Date | null;
@@ -5898,7 +5926,6 @@ export declare const cxLogContract: {
5898
5926
  bucketName: string;
5899
5927
  fileSize: number;
5900
5928
  fileUrl: string | null;
5901
- status?: string | undefined;
5902
5929
  }[];
5903
5930
  }[];
5904
5931
  company: {
@@ -5906,8 +5933,8 @@ export declare const cxLogContract: {
5906
5933
  createdAt: Date;
5907
5934
  updatedAt: Date;
5908
5935
  deletedAt: Date | null;
5909
- address?: string | null | undefined;
5910
5936
  name?: string | undefined;
5937
+ address?: string | null | undefined;
5911
5938
  phone?: string | null | undefined;
5912
5939
  industry?: string | null | undefined;
5913
5940
  } | null;
@@ -5915,8 +5942,8 @@ export declare const cxLogContract: {
5915
5942
  contactProfile: string | null;
5916
5943
  socialProfileUrl: string | null;
5917
5944
  tags: {
5918
- id: string;
5919
5945
  name: string;
5946
+ id: string;
5920
5947
  createdAt: Date;
5921
5948
  updatedAt: Date;
5922
5949
  deletedAt: Date | null;
@@ -5941,8 +5968,8 @@ export declare const cxLogContract: {
5941
5968
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5942
5969
  id: string;
5943
5970
  metadata: {
5944
- id: string;
5945
5971
  name: string;
5972
+ id: string;
5946
5973
  picture?: string | undefined;
5947
5974
  additionalCredentials?: any;
5948
5975
  };
@@ -5969,10 +5996,10 @@ export declare const cxLogContract: {
5969
5996
  };
5970
5997
  }[] | undefined;
5971
5998
  }, {
5999
+ name: string;
5972
6000
  id: string;
5973
6001
  channel: string | null;
5974
6002
  address: string | null;
5975
- name: string;
5976
6003
  createdAt: Date;
5977
6004
  updatedAt: Date;
5978
6005
  deletedAt: Date | null;
@@ -6001,6 +6028,7 @@ export declare const cxLogContract: {
6001
6028
  dateValue: Date | null;
6002
6029
  uploads: {
6003
6030
  id: string;
6031
+ status: string | null;
6004
6032
  createdAt: Date;
6005
6033
  updatedAt: Date;
6006
6034
  deletedAt: Date | null;
@@ -6009,7 +6037,6 @@ export declare const cxLogContract: {
6009
6037
  bucketName: string;
6010
6038
  fileSize: number;
6011
6039
  fileUrl: string | null;
6012
- status?: string | undefined;
6013
6040
  }[];
6014
6041
  }[];
6015
6042
  company: {
@@ -6017,8 +6044,8 @@ export declare const cxLogContract: {
6017
6044
  createdAt: Date;
6018
6045
  updatedAt: Date;
6019
6046
  deletedAt: Date | null;
6020
- address?: string | null | undefined;
6021
6047
  name?: string | undefined;
6048
+ address?: string | null | undefined;
6022
6049
  phone?: string | null | undefined;
6023
6050
  industry?: string | null | undefined;
6024
6051
  } | null;
@@ -6026,8 +6053,8 @@ export declare const cxLogContract: {
6026
6053
  contactProfile: string | null;
6027
6054
  socialProfileUrl: string | null;
6028
6055
  tags: {
6029
- id: string;
6030
6056
  name: string;
6057
+ id: string;
6031
6058
  createdAt: Date;
6032
6059
  updatedAt: Date;
6033
6060
  deletedAt: Date | null;
@@ -6052,8 +6079,8 @@ export declare const cxLogContract: {
6052
6079
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6053
6080
  id: string;
6054
6081
  metadata: {
6055
- id: string;
6056
6082
  name: string;
6083
+ id: string;
6057
6084
  picture?: string | undefined;
6058
6085
  additionalCredentials?: any;
6059
6086
  };
@@ -6198,9 +6225,9 @@ export declare const cxLogContract: {
6198
6225
  telephonySignature: string | null;
6199
6226
  }>;
6200
6227
  }, "strip", z.ZodTypeAny, {
6228
+ name: string;
6201
6229
  id: string;
6202
6230
  address: string | null;
6203
- name: string;
6204
6231
  email: string;
6205
6232
  createdAt: Date;
6206
6233
  updatedAt: Date;
@@ -6241,9 +6268,9 @@ export declare const cxLogContract: {
6241
6268
  telephonySignature: string | null;
6242
6269
  };
6243
6270
  }, {
6271
+ name: string;
6244
6272
  id: string;
6245
6273
  address: string | null;
6246
- name: string;
6247
6274
  email: string;
6248
6275
  createdAt: Date;
6249
6276
  updatedAt: Date;
@@ -6402,9 +6429,9 @@ export declare const cxLogContract: {
6402
6429
  telephonySignature: string | null;
6403
6430
  }>;
6404
6431
  }, "strip", z.ZodTypeAny, {
6432
+ name: string;
6405
6433
  id: string;
6406
6434
  address: string | null;
6407
- name: string;
6408
6435
  email: string;
6409
6436
  createdAt: Date;
6410
6437
  updatedAt: Date;
@@ -6445,9 +6472,9 @@ export declare const cxLogContract: {
6445
6472
  telephonySignature: string | null;
6446
6473
  };
6447
6474
  }, {
6475
+ name: string;
6448
6476
  id: string;
6449
6477
  address: string | null;
6450
- name: string;
6451
6478
  email: string;
6452
6479
  createdAt: Date;
6453
6480
  updatedAt: Date;
@@ -6606,9 +6633,9 @@ export declare const cxLogContract: {
6606
6633
  telephonySignature: string | null;
6607
6634
  }>;
6608
6635
  }, "strip", z.ZodTypeAny, {
6636
+ name: string;
6609
6637
  id: string;
6610
6638
  address: string | null;
6611
- name: string;
6612
6639
  email: string;
6613
6640
  createdAt: Date;
6614
6641
  updatedAt: Date;
@@ -6649,9 +6676,9 @@ export declare const cxLogContract: {
6649
6676
  telephonySignature: string | null;
6650
6677
  };
6651
6678
  }, {
6679
+ name: string;
6652
6680
  id: string;
6653
6681
  address: string | null;
6654
- name: string;
6655
6682
  email: string;
6656
6683
  createdAt: Date;
6657
6684
  updatedAt: Date;
@@ -6693,6 +6720,34 @@ export declare const cxLogContract: {
6693
6720
  };
6694
6721
  }>>;
6695
6722
  contactLabel: z.ZodArray<z.ZodString, "many">;
6723
+ cxIntelligence: z.ZodObject<{
6724
+ id: z.ZodString;
6725
+ intelligenceType: z.ZodString;
6726
+ provider: z.ZodString;
6727
+ cxLogId: z.ZodString;
6728
+ transcript: z.ZodString;
6729
+ summary: z.ZodString;
6730
+ usage: z.ZodNumber;
6731
+ usageUnit: z.ZodString;
6732
+ }, "strip", z.ZodTypeAny, {
6733
+ id: string;
6734
+ summary: string;
6735
+ cxLogId: string;
6736
+ intelligenceType: string;
6737
+ provider: string;
6738
+ transcript: string;
6739
+ usage: number;
6740
+ usageUnit: string;
6741
+ }, {
6742
+ id: string;
6743
+ summary: string;
6744
+ cxLogId: string;
6745
+ intelligenceType: string;
6746
+ provider: string;
6747
+ transcript: string;
6748
+ usage: number;
6749
+ usageUnit: string;
6750
+ }>;
6696
6751
  }, "strip", z.ZodTypeAny, {
6697
6752
  id: string;
6698
6753
  channel: string | null;
@@ -6702,10 +6757,10 @@ export declare const cxLogContract: {
6702
6757
  deletedAt: Date | null;
6703
6758
  entityId: string;
6704
6759
  contact: {
6760
+ name: string;
6705
6761
  id: string;
6706
6762
  channel: string | null;
6707
6763
  address: string | null;
6708
- name: string;
6709
6764
  createdAt: Date;
6710
6765
  updatedAt: Date;
6711
6766
  deletedAt: Date | null;
@@ -6734,6 +6789,7 @@ export declare const cxLogContract: {
6734
6789
  dateValue: Date | null;
6735
6790
  uploads: {
6736
6791
  id: string;
6792
+ status: string | null;
6737
6793
  createdAt: Date;
6738
6794
  updatedAt: Date;
6739
6795
  deletedAt: Date | null;
@@ -6742,7 +6798,6 @@ export declare const cxLogContract: {
6742
6798
  bucketName: string;
6743
6799
  fileSize: number;
6744
6800
  fileUrl: string | null;
6745
- status?: string | undefined;
6746
6801
  }[];
6747
6802
  }[];
6748
6803
  company: {
@@ -6750,8 +6805,8 @@ export declare const cxLogContract: {
6750
6805
  createdAt: Date;
6751
6806
  updatedAt: Date;
6752
6807
  deletedAt: Date | null;
6753
- address?: string | null | undefined;
6754
6808
  name?: string | undefined;
6809
+ address?: string | null | undefined;
6755
6810
  phone?: string | null | undefined;
6756
6811
  industry?: string | null | undefined;
6757
6812
  } | null;
@@ -6759,8 +6814,8 @@ export declare const cxLogContract: {
6759
6814
  contactProfile: string | null;
6760
6815
  socialProfileUrl: string | null;
6761
6816
  tags: {
6762
- id: string;
6763
6817
  name: string;
6818
+ id: string;
6764
6819
  createdAt: Date;
6765
6820
  updatedAt: Date;
6766
6821
  deletedAt: Date | null;
@@ -6785,8 +6840,8 @@ export declare const cxLogContract: {
6785
6840
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6786
6841
  id: string;
6787
6842
  metadata: {
6788
- id: string;
6789
6843
  name: string;
6844
+ id: string;
6790
6845
  picture?: string | undefined;
6791
6846
  additionalCredentials?: any;
6792
6847
  };
@@ -6852,8 +6907,8 @@ export declare const cxLogContract: {
6852
6907
  }[];
6853
6908
  }[];
6854
6909
  tags: {
6855
- id: string;
6856
6910
  name: string;
6911
+ id: string;
6857
6912
  createdAt: Date;
6858
6913
  updatedAt: Date;
6859
6914
  deletedAt: Date | null;
@@ -6892,26 +6947,29 @@ export declare const cxLogContract: {
6892
6947
  room: {
6893
6948
  id: string;
6894
6949
  channel: {
6950
+ name: string;
6895
6951
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6896
6952
  id: string;
6897
- name: string;
6898
6953
  metadata: {
6899
- id: string;
6900
6954
  name: string;
6955
+ id: string;
6901
6956
  accessToken?: string | undefined;
6902
6957
  channelSecret?: string | undefined;
6903
6958
  additionalCredentials?: any;
6904
6959
  senderId?: string | undefined;
6905
6960
  whatsapp?: {
6906
- email: string;
6907
- wabaExternalId: string;
6908
- phoneNumberId: string;
6909
- wabaBusinessId?: string | undefined;
6910
- clientId?: string | undefined;
6911
- channelId?: string | undefined;
6912
- status?: "active" | "pending" | undefined;
6961
+ wabaBusinessId?: string | null | undefined;
6962
+ wabaExternalId?: string | null | undefined;
6963
+ phoneNumberId?: string | null | undefined;
6964
+ email?: string | null | undefined;
6965
+ clientId?: string | null | undefined;
6966
+ channelId?: string | null | undefined;
6967
+ waapiInstanceId?: string | null | undefined;
6968
+ qr?: string | null | undefined;
6969
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6913
6970
  apiKey?: string | undefined;
6914
6971
  tier?: "basic" | "regular" | "premium" | undefined;
6972
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6915
6973
  } | undefined;
6916
6974
  vonageCredentials?: {
6917
6975
  apiKey: string;
@@ -6927,9 +6985,9 @@ export declare const cxLogContract: {
6927
6985
  updatedAt: Date;
6928
6986
  deletedAt: Date | null;
6929
6987
  actor: {
6988
+ name: string;
6930
6989
  id: string;
6931
6990
  address: string | null;
6932
- name: string;
6933
6991
  email: string;
6934
6992
  createdAt: Date;
6935
6993
  updatedAt: Date;
@@ -6976,8 +7034,8 @@ export declare const cxLogContract: {
6976
7034
  connectedUserName: string;
6977
7035
  connectedUserId: string;
6978
7036
  botpressBot: {
6979
- id: string;
6980
7037
  name: string;
7038
+ id: string;
6981
7039
  accessToken: string;
6982
7040
  botId: string;
6983
7041
  integrationId: string;
@@ -6988,9 +7046,9 @@ export declare const cxLogContract: {
6988
7046
  updatedAt: Date;
6989
7047
  deletedAt: Date | null;
6990
7048
  actor: {
7049
+ name: string;
6991
7050
  id: string;
6992
7051
  address: string | null;
6993
- name: string;
6994
7052
  email: string;
6995
7053
  createdAt: Date;
6996
7054
  updatedAt: Date;
@@ -7042,8 +7100,8 @@ export declare const cxLogContract: {
7042
7100
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7043
7101
  id: string;
7044
7102
  metadata: {
7045
- id: string;
7046
7103
  name: string;
7104
+ id: string;
7047
7105
  picture?: string | undefined;
7048
7106
  additionalCredentials?: any;
7049
7107
  };
@@ -7051,10 +7109,10 @@ export declare const cxLogContract: {
7051
7109
  updatedAt: Date;
7052
7110
  deletedAt: Date | null;
7053
7111
  contact: {
7112
+ name: string;
7054
7113
  id: string;
7055
7114
  channel: string | null;
7056
7115
  address: string | null;
7057
- name: string;
7058
7116
  createdAt: Date;
7059
7117
  updatedAt: Date;
7060
7118
  deletedAt: Date | null;
@@ -7083,6 +7141,7 @@ export declare const cxLogContract: {
7083
7141
  dateValue: Date | null;
7084
7142
  uploads: {
7085
7143
  id: string;
7144
+ status: string | null;
7086
7145
  createdAt: Date;
7087
7146
  updatedAt: Date;
7088
7147
  deletedAt: Date | null;
@@ -7091,7 +7150,6 @@ export declare const cxLogContract: {
7091
7150
  bucketName: string;
7092
7151
  fileSize: number;
7093
7152
  fileUrl: string | null;
7094
- status?: string | undefined;
7095
7153
  }[];
7096
7154
  }[];
7097
7155
  company: {
@@ -7099,8 +7157,8 @@ export declare const cxLogContract: {
7099
7157
  createdAt: Date;
7100
7158
  updatedAt: Date;
7101
7159
  deletedAt: Date | null;
7102
- address?: string | null | undefined;
7103
7160
  name?: string | undefined;
7161
+ address?: string | null | undefined;
7104
7162
  phone?: string | null | undefined;
7105
7163
  industry?: string | null | undefined;
7106
7164
  } | null;
@@ -7108,8 +7166,8 @@ export declare const cxLogContract: {
7108
7166
  contactProfile: string | null;
7109
7167
  socialProfileUrl: string | null;
7110
7168
  tags: {
7111
- id: string;
7112
7169
  name: string;
7170
+ id: string;
7113
7171
  createdAt: Date;
7114
7172
  updatedAt: Date;
7115
7173
  deletedAt: Date | null;
@@ -7134,8 +7192,8 @@ export declare const cxLogContract: {
7134
7192
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7135
7193
  id: string;
7136
7194
  metadata: {
7137
- id: string;
7138
7195
  name: string;
7196
+ id: string;
7139
7197
  picture?: string | undefined;
7140
7198
  additionalCredentials?: any;
7141
7199
  };
@@ -7166,9 +7224,9 @@ export declare const cxLogContract: {
7166
7224
  socialPlatformId: string;
7167
7225
  };
7168
7226
  assignee: {
7227
+ name: string;
7169
7228
  id: string;
7170
7229
  address: string | null;
7171
- name: string;
7172
7230
  email: string;
7173
7231
  createdAt: Date;
7174
7232
  updatedAt: Date;
@@ -7236,9 +7294,9 @@ export declare const cxLogContract: {
7236
7294
  callTo?: {
7237
7295
  id: string;
7238
7296
  user: {
7297
+ name: string;
7239
7298
  id: string;
7240
7299
  address: string | null;
7241
- name: string;
7242
7300
  email: string;
7243
7301
  createdAt: Date;
7244
7302
  updatedAt: Date;
@@ -7262,9 +7320,9 @@ export declare const cxLogContract: {
7262
7320
  callFrom?: {
7263
7321
  id: string;
7264
7322
  user: {
7323
+ name: string;
7265
7324
  id: string;
7266
7325
  address: string | null;
7267
- name: string;
7268
7326
  email: string;
7269
7327
  createdAt: Date;
7270
7328
  updatedAt: Date;
@@ -7290,10 +7348,10 @@ export declare const cxLogContract: {
7290
7348
  telephonyQueueId: string | null;
7291
7349
  contactId: string | null;
7292
7350
  contact?: {
7351
+ name: string;
7293
7352
  id: string;
7294
7353
  channel: string | null;
7295
7354
  address: string | null;
7296
- name: string;
7297
7355
  createdAt: Date;
7298
7356
  updatedAt: Date;
7299
7357
  deletedAt: Date | null;
@@ -7322,6 +7380,7 @@ export declare const cxLogContract: {
7322
7380
  dateValue: Date | null;
7323
7381
  uploads: {
7324
7382
  id: string;
7383
+ status: string | null;
7325
7384
  createdAt: Date;
7326
7385
  updatedAt: Date;
7327
7386
  deletedAt: Date | null;
@@ -7330,7 +7389,6 @@ export declare const cxLogContract: {
7330
7389
  bucketName: string;
7331
7390
  fileSize: number;
7332
7391
  fileUrl: string | null;
7333
- status?: string | undefined;
7334
7392
  }[];
7335
7393
  }[];
7336
7394
  company: {
@@ -7338,8 +7396,8 @@ export declare const cxLogContract: {
7338
7396
  createdAt: Date;
7339
7397
  updatedAt: Date;
7340
7398
  deletedAt: Date | null;
7341
- address?: string | null | undefined;
7342
7399
  name?: string | undefined;
7400
+ address?: string | null | undefined;
7343
7401
  phone?: string | null | undefined;
7344
7402
  industry?: string | null | undefined;
7345
7403
  } | null;
@@ -7347,8 +7405,8 @@ export declare const cxLogContract: {
7347
7405
  contactProfile: string | null;
7348
7406
  socialProfileUrl: string | null;
7349
7407
  tags: {
7350
- id: string;
7351
7408
  name: string;
7409
+ id: string;
7352
7410
  createdAt: Date;
7353
7411
  updatedAt: Date;
7354
7412
  deletedAt: Date | null;
@@ -7373,8 +7431,8 @@ export declare const cxLogContract: {
7373
7431
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7374
7432
  id: string;
7375
7433
  metadata: {
7376
- id: string;
7377
7434
  name: string;
7435
+ id: string;
7378
7436
  picture?: string | undefined;
7379
7437
  additionalCredentials?: any;
7380
7438
  };
@@ -7413,6 +7471,7 @@ export declare const cxLogContract: {
7413
7471
  } | null | undefined;
7414
7472
  upload?: {
7415
7473
  id: string;
7474
+ status: string | null;
7416
7475
  createdAt: Date;
7417
7476
  updatedAt: Date;
7418
7477
  deletedAt: Date | null;
@@ -7421,7 +7480,6 @@ export declare const cxLogContract: {
7421
7480
  bucketName: string;
7422
7481
  fileSize: number;
7423
7482
  fileUrl: string | null;
7424
- status?: string | undefined;
7425
7483
  } | null | undefined;
7426
7484
  extension?: {
7427
7485
  id: string;
@@ -7436,9 +7494,9 @@ export declare const cxLogContract: {
7436
7494
  extensionName: string;
7437
7495
  telephonySignature: string | null;
7438
7496
  user?: {
7497
+ name: string;
7439
7498
  id: string;
7440
7499
  address: string | null;
7441
- name: string;
7442
7500
  email: string;
7443
7501
  createdAt: Date;
7444
7502
  updatedAt: Date;
@@ -7485,9 +7543,9 @@ export declare const cxLogContract: {
7485
7543
  queueName?: string | null | undefined;
7486
7544
  } | null;
7487
7545
  firstAssignee: {
7546
+ name: string;
7488
7547
  id: string;
7489
7548
  address: string | null;
7490
- name: string;
7491
7549
  email: string;
7492
7550
  createdAt: Date;
7493
7551
  updatedAt: Date;
@@ -7529,9 +7587,9 @@ export declare const cxLogContract: {
7529
7587
  };
7530
7588
  } | null;
7531
7589
  agent: {
7590
+ name: string;
7532
7591
  id: string;
7533
7592
  address: string | null;
7534
- name: string;
7535
7593
  email: string;
7536
7594
  createdAt: Date;
7537
7595
  updatedAt: Date;
@@ -7573,9 +7631,9 @@ export declare const cxLogContract: {
7573
7631
  };
7574
7632
  } | null;
7575
7633
  closedAssignee: {
7634
+ name: string;
7576
7635
  id: string;
7577
7636
  address: string | null;
7578
- name: string;
7579
7637
  email: string;
7580
7638
  createdAt: Date;
7581
7639
  updatedAt: Date;
@@ -7617,6 +7675,16 @@ export declare const cxLogContract: {
7617
7675
  };
7618
7676
  } | null;
7619
7677
  contactLabel: string[];
7678
+ cxIntelligence: {
7679
+ id: string;
7680
+ summary: string;
7681
+ cxLogId: string;
7682
+ intelligenceType: string;
7683
+ provider: string;
7684
+ transcript: string;
7685
+ usage: number;
7686
+ usageUnit: string;
7687
+ };
7620
7688
  }, {
7621
7689
  id: string;
7622
7690
  channel: string | null;
@@ -7626,10 +7694,10 @@ export declare const cxLogContract: {
7626
7694
  deletedAt: Date | null;
7627
7695
  entityId: string;
7628
7696
  contact: {
7697
+ name: string;
7629
7698
  id: string;
7630
7699
  channel: string | null;
7631
7700
  address: string | null;
7632
- name: string;
7633
7701
  createdAt: Date;
7634
7702
  updatedAt: Date;
7635
7703
  deletedAt: Date | null;
@@ -7658,6 +7726,7 @@ export declare const cxLogContract: {
7658
7726
  dateValue: Date | null;
7659
7727
  uploads: {
7660
7728
  id: string;
7729
+ status: string | null;
7661
7730
  createdAt: Date;
7662
7731
  updatedAt: Date;
7663
7732
  deletedAt: Date | null;
@@ -7666,7 +7735,6 @@ export declare const cxLogContract: {
7666
7735
  bucketName: string;
7667
7736
  fileSize: number;
7668
7737
  fileUrl: string | null;
7669
- status?: string | undefined;
7670
7738
  }[];
7671
7739
  }[];
7672
7740
  company: {
@@ -7674,8 +7742,8 @@ export declare const cxLogContract: {
7674
7742
  createdAt: Date;
7675
7743
  updatedAt: Date;
7676
7744
  deletedAt: Date | null;
7677
- address?: string | null | undefined;
7678
7745
  name?: string | undefined;
7746
+ address?: string | null | undefined;
7679
7747
  phone?: string | null | undefined;
7680
7748
  industry?: string | null | undefined;
7681
7749
  } | null;
@@ -7683,8 +7751,8 @@ export declare const cxLogContract: {
7683
7751
  contactProfile: string | null;
7684
7752
  socialProfileUrl: string | null;
7685
7753
  tags: {
7686
- id: string;
7687
7754
  name: string;
7755
+ id: string;
7688
7756
  createdAt: Date;
7689
7757
  updatedAt: Date;
7690
7758
  deletedAt: Date | null;
@@ -7709,8 +7777,8 @@ export declare const cxLogContract: {
7709
7777
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7710
7778
  id: string;
7711
7779
  metadata: {
7712
- id: string;
7713
7780
  name: string;
7781
+ id: string;
7714
7782
  picture?: string | undefined;
7715
7783
  additionalCredentials?: any;
7716
7784
  };
@@ -7776,8 +7844,8 @@ export declare const cxLogContract: {
7776
7844
  }[];
7777
7845
  }[];
7778
7846
  tags: {
7779
- id: string;
7780
7847
  name: string;
7848
+ id: string;
7781
7849
  createdAt: Date;
7782
7850
  updatedAt: Date;
7783
7851
  deletedAt: Date | null;
@@ -7816,26 +7884,29 @@ export declare const cxLogContract: {
7816
7884
  room: {
7817
7885
  id: string;
7818
7886
  channel: {
7887
+ name: string;
7819
7888
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7820
7889
  id: string;
7821
- name: string;
7822
7890
  metadata: {
7823
- id: string;
7824
7891
  name: string;
7892
+ id: string;
7825
7893
  accessToken?: string | undefined;
7826
7894
  channelSecret?: string | undefined;
7827
7895
  additionalCredentials?: any;
7828
7896
  senderId?: string | undefined;
7829
7897
  whatsapp?: {
7830
- email: string;
7831
- wabaExternalId: string;
7832
- phoneNumberId: string;
7833
- wabaBusinessId?: string | undefined;
7834
- clientId?: string | undefined;
7835
- channelId?: string | undefined;
7836
- status?: "active" | "pending" | undefined;
7898
+ wabaBusinessId?: string | null | undefined;
7899
+ wabaExternalId?: string | null | undefined;
7900
+ phoneNumberId?: string | null | undefined;
7901
+ email?: string | null | undefined;
7902
+ clientId?: string | null | undefined;
7903
+ channelId?: string | null | undefined;
7904
+ waapiInstanceId?: string | null | undefined;
7905
+ qr?: string | null | undefined;
7906
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7837
7907
  apiKey?: string | undefined;
7838
7908
  tier?: "basic" | "regular" | "premium" | undefined;
7909
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7839
7910
  } | undefined;
7840
7911
  vonageCredentials?: {
7841
7912
  apiKey: string;
@@ -7851,9 +7922,9 @@ export declare const cxLogContract: {
7851
7922
  updatedAt: Date;
7852
7923
  deletedAt: Date | null;
7853
7924
  actor: {
7925
+ name: string;
7854
7926
  id: string;
7855
7927
  address: string | null;
7856
- name: string;
7857
7928
  email: string;
7858
7929
  createdAt: Date;
7859
7930
  updatedAt: Date;
@@ -7900,8 +7971,8 @@ export declare const cxLogContract: {
7900
7971
  connectedUserName: string;
7901
7972
  connectedUserId: string;
7902
7973
  botpressBot: {
7903
- id: string;
7904
7974
  name: string;
7975
+ id: string;
7905
7976
  accessToken: string;
7906
7977
  botId: string;
7907
7978
  integrationId: string;
@@ -7912,9 +7983,9 @@ export declare const cxLogContract: {
7912
7983
  updatedAt: Date;
7913
7984
  deletedAt: Date | null;
7914
7985
  actor: {
7986
+ name: string;
7915
7987
  id: string;
7916
7988
  address: string | null;
7917
- name: string;
7918
7989
  email: string;
7919
7990
  createdAt: Date;
7920
7991
  updatedAt: Date;
@@ -7966,8 +8037,8 @@ export declare const cxLogContract: {
7966
8037
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7967
8038
  id: string;
7968
8039
  metadata: {
7969
- id: string;
7970
8040
  name: string;
8041
+ id: string;
7971
8042
  picture?: string | undefined;
7972
8043
  additionalCredentials?: any;
7973
8044
  };
@@ -7975,10 +8046,10 @@ export declare const cxLogContract: {
7975
8046
  updatedAt: Date;
7976
8047
  deletedAt: Date | null;
7977
8048
  contact: {
8049
+ name: string;
7978
8050
  id: string;
7979
8051
  channel: string | null;
7980
8052
  address: string | null;
7981
- name: string;
7982
8053
  createdAt: Date;
7983
8054
  updatedAt: Date;
7984
8055
  deletedAt: Date | null;
@@ -8007,6 +8078,7 @@ export declare const cxLogContract: {
8007
8078
  dateValue: Date | null;
8008
8079
  uploads: {
8009
8080
  id: string;
8081
+ status: string | null;
8010
8082
  createdAt: Date;
8011
8083
  updatedAt: Date;
8012
8084
  deletedAt: Date | null;
@@ -8015,7 +8087,6 @@ export declare const cxLogContract: {
8015
8087
  bucketName: string;
8016
8088
  fileSize: number;
8017
8089
  fileUrl: string | null;
8018
- status?: string | undefined;
8019
8090
  }[];
8020
8091
  }[];
8021
8092
  company: {
@@ -8023,8 +8094,8 @@ export declare const cxLogContract: {
8023
8094
  createdAt: Date;
8024
8095
  updatedAt: Date;
8025
8096
  deletedAt: Date | null;
8026
- address?: string | null | undefined;
8027
8097
  name?: string | undefined;
8098
+ address?: string | null | undefined;
8028
8099
  phone?: string | null | undefined;
8029
8100
  industry?: string | null | undefined;
8030
8101
  } | null;
@@ -8032,8 +8103,8 @@ export declare const cxLogContract: {
8032
8103
  contactProfile: string | null;
8033
8104
  socialProfileUrl: string | null;
8034
8105
  tags: {
8035
- id: string;
8036
8106
  name: string;
8107
+ id: string;
8037
8108
  createdAt: Date;
8038
8109
  updatedAt: Date;
8039
8110
  deletedAt: Date | null;
@@ -8058,8 +8129,8 @@ export declare const cxLogContract: {
8058
8129
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8059
8130
  id: string;
8060
8131
  metadata: {
8061
- id: string;
8062
8132
  name: string;
8133
+ id: string;
8063
8134
  picture?: string | undefined;
8064
8135
  additionalCredentials?: any;
8065
8136
  };
@@ -8090,9 +8161,9 @@ export declare const cxLogContract: {
8090
8161
  socialPlatformId: string;
8091
8162
  };
8092
8163
  assignee: {
8164
+ name: string;
8093
8165
  id: string;
8094
8166
  address: string | null;
8095
- name: string;
8096
8167
  email: string;
8097
8168
  createdAt: Date;
8098
8169
  updatedAt: Date;
@@ -8160,9 +8231,9 @@ export declare const cxLogContract: {
8160
8231
  callTo?: {
8161
8232
  id: string;
8162
8233
  user: {
8234
+ name: string;
8163
8235
  id: string;
8164
8236
  address: string | null;
8165
- name: string;
8166
8237
  email: string;
8167
8238
  createdAt: Date;
8168
8239
  updatedAt: Date;
@@ -8186,9 +8257,9 @@ export declare const cxLogContract: {
8186
8257
  callFrom?: {
8187
8258
  id: string;
8188
8259
  user: {
8260
+ name: string;
8189
8261
  id: string;
8190
8262
  address: string | null;
8191
- name: string;
8192
8263
  email: string;
8193
8264
  createdAt: Date;
8194
8265
  updatedAt: Date;
@@ -8214,10 +8285,10 @@ export declare const cxLogContract: {
8214
8285
  telephonyQueueId: string | null;
8215
8286
  contactId: string | null;
8216
8287
  contact?: {
8288
+ name: string;
8217
8289
  id: string;
8218
8290
  channel: string | null;
8219
8291
  address: string | null;
8220
- name: string;
8221
8292
  createdAt: Date;
8222
8293
  updatedAt: Date;
8223
8294
  deletedAt: Date | null;
@@ -8246,6 +8317,7 @@ export declare const cxLogContract: {
8246
8317
  dateValue: Date | null;
8247
8318
  uploads: {
8248
8319
  id: string;
8320
+ status: string | null;
8249
8321
  createdAt: Date;
8250
8322
  updatedAt: Date;
8251
8323
  deletedAt: Date | null;
@@ -8254,7 +8326,6 @@ export declare const cxLogContract: {
8254
8326
  bucketName: string;
8255
8327
  fileSize: number;
8256
8328
  fileUrl: string | null;
8257
- status?: string | undefined;
8258
8329
  }[];
8259
8330
  }[];
8260
8331
  company: {
@@ -8262,8 +8333,8 @@ export declare const cxLogContract: {
8262
8333
  createdAt: Date;
8263
8334
  updatedAt: Date;
8264
8335
  deletedAt: Date | null;
8265
- address?: string | null | undefined;
8266
8336
  name?: string | undefined;
8337
+ address?: string | null | undefined;
8267
8338
  phone?: string | null | undefined;
8268
8339
  industry?: string | null | undefined;
8269
8340
  } | null;
@@ -8271,8 +8342,8 @@ export declare const cxLogContract: {
8271
8342
  contactProfile: string | null;
8272
8343
  socialProfileUrl: string | null;
8273
8344
  tags: {
8274
- id: string;
8275
8345
  name: string;
8346
+ id: string;
8276
8347
  createdAt: Date;
8277
8348
  updatedAt: Date;
8278
8349
  deletedAt: Date | null;
@@ -8297,8 +8368,8 @@ export declare const cxLogContract: {
8297
8368
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8298
8369
  id: string;
8299
8370
  metadata: {
8300
- id: string;
8301
8371
  name: string;
8372
+ id: string;
8302
8373
  picture?: string | undefined;
8303
8374
  additionalCredentials?: any;
8304
8375
  };
@@ -8337,6 +8408,7 @@ export declare const cxLogContract: {
8337
8408
  } | null | undefined;
8338
8409
  upload?: {
8339
8410
  id: string;
8411
+ status: string | null;
8340
8412
  createdAt: Date;
8341
8413
  updatedAt: Date;
8342
8414
  deletedAt: Date | null;
@@ -8345,7 +8417,6 @@ export declare const cxLogContract: {
8345
8417
  bucketName: string;
8346
8418
  fileSize: number;
8347
8419
  fileUrl: string | null;
8348
- status?: string | undefined;
8349
8420
  } | null | undefined;
8350
8421
  extension?: {
8351
8422
  id: string;
@@ -8360,9 +8431,9 @@ export declare const cxLogContract: {
8360
8431
  extensionName: string;
8361
8432
  telephonySignature: string | null;
8362
8433
  user?: {
8434
+ name: string;
8363
8435
  id: string;
8364
8436
  address: string | null;
8365
- name: string;
8366
8437
  email: string;
8367
8438
  createdAt: Date;
8368
8439
  updatedAt: Date;
@@ -8409,9 +8480,9 @@ export declare const cxLogContract: {
8409
8480
  queueName?: string | null | undefined;
8410
8481
  } | null;
8411
8482
  firstAssignee: {
8483
+ name: string;
8412
8484
  id: string;
8413
8485
  address: string | null;
8414
- name: string;
8415
8486
  email: string;
8416
8487
  createdAt: Date;
8417
8488
  updatedAt: Date;
@@ -8453,9 +8524,9 @@ export declare const cxLogContract: {
8453
8524
  };
8454
8525
  } | null;
8455
8526
  agent: {
8527
+ name: string;
8456
8528
  id: string;
8457
8529
  address: string | null;
8458
- name: string;
8459
8530
  email: string;
8460
8531
  createdAt: Date;
8461
8532
  updatedAt: Date;
@@ -8497,9 +8568,9 @@ export declare const cxLogContract: {
8497
8568
  };
8498
8569
  } | null;
8499
8570
  closedAssignee: {
8571
+ name: string;
8500
8572
  id: string;
8501
8573
  address: string | null;
8502
- name: string;
8503
8574
  email: string;
8504
8575
  createdAt: Date;
8505
8576
  updatedAt: Date;
@@ -8541,6 +8612,16 @@ export declare const cxLogContract: {
8541
8612
  };
8542
8613
  } | null;
8543
8614
  contactLabel: string[];
8615
+ cxIntelligence: {
8616
+ id: string;
8617
+ summary: string;
8618
+ cxLogId: string;
8619
+ intelligenceType: string;
8620
+ provider: string;
8621
+ transcript: string;
8622
+ usage: number;
8623
+ usageUnit: string;
8624
+ };
8544
8625
  }>, "many">;
8545
8626
  }, "strip", z.ZodTypeAny, {
8546
8627
  total: number;
@@ -8556,10 +8637,10 @@ export declare const cxLogContract: {
8556
8637
  deletedAt: Date | null;
8557
8638
  entityId: string;
8558
8639
  contact: {
8640
+ name: string;
8559
8641
  id: string;
8560
8642
  channel: string | null;
8561
8643
  address: string | null;
8562
- name: string;
8563
8644
  createdAt: Date;
8564
8645
  updatedAt: Date;
8565
8646
  deletedAt: Date | null;
@@ -8588,6 +8669,7 @@ export declare const cxLogContract: {
8588
8669
  dateValue: Date | null;
8589
8670
  uploads: {
8590
8671
  id: string;
8672
+ status: string | null;
8591
8673
  createdAt: Date;
8592
8674
  updatedAt: Date;
8593
8675
  deletedAt: Date | null;
@@ -8596,7 +8678,6 @@ export declare const cxLogContract: {
8596
8678
  bucketName: string;
8597
8679
  fileSize: number;
8598
8680
  fileUrl: string | null;
8599
- status?: string | undefined;
8600
8681
  }[];
8601
8682
  }[];
8602
8683
  company: {
@@ -8604,8 +8685,8 @@ export declare const cxLogContract: {
8604
8685
  createdAt: Date;
8605
8686
  updatedAt: Date;
8606
8687
  deletedAt: Date | null;
8607
- address?: string | null | undefined;
8608
8688
  name?: string | undefined;
8689
+ address?: string | null | undefined;
8609
8690
  phone?: string | null | undefined;
8610
8691
  industry?: string | null | undefined;
8611
8692
  } | null;
@@ -8613,8 +8694,8 @@ export declare const cxLogContract: {
8613
8694
  contactProfile: string | null;
8614
8695
  socialProfileUrl: string | null;
8615
8696
  tags: {
8616
- id: string;
8617
8697
  name: string;
8698
+ id: string;
8618
8699
  createdAt: Date;
8619
8700
  updatedAt: Date;
8620
8701
  deletedAt: Date | null;
@@ -8639,8 +8720,8 @@ export declare const cxLogContract: {
8639
8720
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8640
8721
  id: string;
8641
8722
  metadata: {
8642
- id: string;
8643
8723
  name: string;
8724
+ id: string;
8644
8725
  picture?: string | undefined;
8645
8726
  additionalCredentials?: any;
8646
8727
  };
@@ -8706,8 +8787,8 @@ export declare const cxLogContract: {
8706
8787
  }[];
8707
8788
  }[];
8708
8789
  tags: {
8709
- id: string;
8710
8790
  name: string;
8791
+ id: string;
8711
8792
  createdAt: Date;
8712
8793
  updatedAt: Date;
8713
8794
  deletedAt: Date | null;
@@ -8746,26 +8827,29 @@ export declare const cxLogContract: {
8746
8827
  room: {
8747
8828
  id: string;
8748
8829
  channel: {
8830
+ name: string;
8749
8831
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8750
8832
  id: string;
8751
- name: string;
8752
8833
  metadata: {
8753
- id: string;
8754
8834
  name: string;
8835
+ id: string;
8755
8836
  accessToken?: string | undefined;
8756
8837
  channelSecret?: string | undefined;
8757
8838
  additionalCredentials?: any;
8758
8839
  senderId?: string | undefined;
8759
8840
  whatsapp?: {
8760
- email: string;
8761
- wabaExternalId: string;
8762
- phoneNumberId: string;
8763
- wabaBusinessId?: string | undefined;
8764
- clientId?: string | undefined;
8765
- channelId?: string | undefined;
8766
- status?: "active" | "pending" | undefined;
8841
+ wabaBusinessId?: string | null | undefined;
8842
+ wabaExternalId?: string | null | undefined;
8843
+ phoneNumberId?: string | null | undefined;
8844
+ email?: string | null | undefined;
8845
+ clientId?: string | null | undefined;
8846
+ channelId?: string | null | undefined;
8847
+ waapiInstanceId?: string | null | undefined;
8848
+ qr?: string | null | undefined;
8849
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8767
8850
  apiKey?: string | undefined;
8768
8851
  tier?: "basic" | "regular" | "premium" | undefined;
8852
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8769
8853
  } | undefined;
8770
8854
  vonageCredentials?: {
8771
8855
  apiKey: string;
@@ -8781,9 +8865,9 @@ export declare const cxLogContract: {
8781
8865
  updatedAt: Date;
8782
8866
  deletedAt: Date | null;
8783
8867
  actor: {
8868
+ name: string;
8784
8869
  id: string;
8785
8870
  address: string | null;
8786
- name: string;
8787
8871
  email: string;
8788
8872
  createdAt: Date;
8789
8873
  updatedAt: Date;
@@ -8830,8 +8914,8 @@ export declare const cxLogContract: {
8830
8914
  connectedUserName: string;
8831
8915
  connectedUserId: string;
8832
8916
  botpressBot: {
8833
- id: string;
8834
8917
  name: string;
8918
+ id: string;
8835
8919
  accessToken: string;
8836
8920
  botId: string;
8837
8921
  integrationId: string;
@@ -8842,9 +8926,9 @@ export declare const cxLogContract: {
8842
8926
  updatedAt: Date;
8843
8927
  deletedAt: Date | null;
8844
8928
  actor: {
8929
+ name: string;
8845
8930
  id: string;
8846
8931
  address: string | null;
8847
- name: string;
8848
8932
  email: string;
8849
8933
  createdAt: Date;
8850
8934
  updatedAt: Date;
@@ -8896,8 +8980,8 @@ export declare const cxLogContract: {
8896
8980
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8897
8981
  id: string;
8898
8982
  metadata: {
8899
- id: string;
8900
8983
  name: string;
8984
+ id: string;
8901
8985
  picture?: string | undefined;
8902
8986
  additionalCredentials?: any;
8903
8987
  };
@@ -8905,10 +8989,10 @@ export declare const cxLogContract: {
8905
8989
  updatedAt: Date;
8906
8990
  deletedAt: Date | null;
8907
8991
  contact: {
8992
+ name: string;
8908
8993
  id: string;
8909
8994
  channel: string | null;
8910
8995
  address: string | null;
8911
- name: string;
8912
8996
  createdAt: Date;
8913
8997
  updatedAt: Date;
8914
8998
  deletedAt: Date | null;
@@ -8937,6 +9021,7 @@ export declare const cxLogContract: {
8937
9021
  dateValue: Date | null;
8938
9022
  uploads: {
8939
9023
  id: string;
9024
+ status: string | null;
8940
9025
  createdAt: Date;
8941
9026
  updatedAt: Date;
8942
9027
  deletedAt: Date | null;
@@ -8945,7 +9030,6 @@ export declare const cxLogContract: {
8945
9030
  bucketName: string;
8946
9031
  fileSize: number;
8947
9032
  fileUrl: string | null;
8948
- status?: string | undefined;
8949
9033
  }[];
8950
9034
  }[];
8951
9035
  company: {
@@ -8953,8 +9037,8 @@ export declare const cxLogContract: {
8953
9037
  createdAt: Date;
8954
9038
  updatedAt: Date;
8955
9039
  deletedAt: Date | null;
8956
- address?: string | null | undefined;
8957
9040
  name?: string | undefined;
9041
+ address?: string | null | undefined;
8958
9042
  phone?: string | null | undefined;
8959
9043
  industry?: string | null | undefined;
8960
9044
  } | null;
@@ -8962,8 +9046,8 @@ export declare const cxLogContract: {
8962
9046
  contactProfile: string | null;
8963
9047
  socialProfileUrl: string | null;
8964
9048
  tags: {
8965
- id: string;
8966
9049
  name: string;
9050
+ id: string;
8967
9051
  createdAt: Date;
8968
9052
  updatedAt: Date;
8969
9053
  deletedAt: Date | null;
@@ -8988,8 +9072,8 @@ export declare const cxLogContract: {
8988
9072
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8989
9073
  id: string;
8990
9074
  metadata: {
8991
- id: string;
8992
9075
  name: string;
9076
+ id: string;
8993
9077
  picture?: string | undefined;
8994
9078
  additionalCredentials?: any;
8995
9079
  };
@@ -9020,9 +9104,9 @@ export declare const cxLogContract: {
9020
9104
  socialPlatformId: string;
9021
9105
  };
9022
9106
  assignee: {
9107
+ name: string;
9023
9108
  id: string;
9024
9109
  address: string | null;
9025
- name: string;
9026
9110
  email: string;
9027
9111
  createdAt: Date;
9028
9112
  updatedAt: Date;
@@ -9090,9 +9174,9 @@ export declare const cxLogContract: {
9090
9174
  callTo?: {
9091
9175
  id: string;
9092
9176
  user: {
9177
+ name: string;
9093
9178
  id: string;
9094
9179
  address: string | null;
9095
- name: string;
9096
9180
  email: string;
9097
9181
  createdAt: Date;
9098
9182
  updatedAt: Date;
@@ -9116,9 +9200,9 @@ export declare const cxLogContract: {
9116
9200
  callFrom?: {
9117
9201
  id: string;
9118
9202
  user: {
9203
+ name: string;
9119
9204
  id: string;
9120
9205
  address: string | null;
9121
- name: string;
9122
9206
  email: string;
9123
9207
  createdAt: Date;
9124
9208
  updatedAt: Date;
@@ -9144,10 +9228,10 @@ export declare const cxLogContract: {
9144
9228
  telephonyQueueId: string | null;
9145
9229
  contactId: string | null;
9146
9230
  contact?: {
9231
+ name: string;
9147
9232
  id: string;
9148
9233
  channel: string | null;
9149
9234
  address: string | null;
9150
- name: string;
9151
9235
  createdAt: Date;
9152
9236
  updatedAt: Date;
9153
9237
  deletedAt: Date | null;
@@ -9176,6 +9260,7 @@ export declare const cxLogContract: {
9176
9260
  dateValue: Date | null;
9177
9261
  uploads: {
9178
9262
  id: string;
9263
+ status: string | null;
9179
9264
  createdAt: Date;
9180
9265
  updatedAt: Date;
9181
9266
  deletedAt: Date | null;
@@ -9184,7 +9269,6 @@ export declare const cxLogContract: {
9184
9269
  bucketName: string;
9185
9270
  fileSize: number;
9186
9271
  fileUrl: string | null;
9187
- status?: string | undefined;
9188
9272
  }[];
9189
9273
  }[];
9190
9274
  company: {
@@ -9192,8 +9276,8 @@ export declare const cxLogContract: {
9192
9276
  createdAt: Date;
9193
9277
  updatedAt: Date;
9194
9278
  deletedAt: Date | null;
9195
- address?: string | null | undefined;
9196
9279
  name?: string | undefined;
9280
+ address?: string | null | undefined;
9197
9281
  phone?: string | null | undefined;
9198
9282
  industry?: string | null | undefined;
9199
9283
  } | null;
@@ -9201,8 +9285,8 @@ export declare const cxLogContract: {
9201
9285
  contactProfile: string | null;
9202
9286
  socialProfileUrl: string | null;
9203
9287
  tags: {
9204
- id: string;
9205
9288
  name: string;
9289
+ id: string;
9206
9290
  createdAt: Date;
9207
9291
  updatedAt: Date;
9208
9292
  deletedAt: Date | null;
@@ -9227,8 +9311,8 @@ export declare const cxLogContract: {
9227
9311
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9228
9312
  id: string;
9229
9313
  metadata: {
9230
- id: string;
9231
9314
  name: string;
9315
+ id: string;
9232
9316
  picture?: string | undefined;
9233
9317
  additionalCredentials?: any;
9234
9318
  };
@@ -9267,6 +9351,7 @@ export declare const cxLogContract: {
9267
9351
  } | null | undefined;
9268
9352
  upload?: {
9269
9353
  id: string;
9354
+ status: string | null;
9270
9355
  createdAt: Date;
9271
9356
  updatedAt: Date;
9272
9357
  deletedAt: Date | null;
@@ -9275,7 +9360,6 @@ export declare const cxLogContract: {
9275
9360
  bucketName: string;
9276
9361
  fileSize: number;
9277
9362
  fileUrl: string | null;
9278
- status?: string | undefined;
9279
9363
  } | null | undefined;
9280
9364
  extension?: {
9281
9365
  id: string;
@@ -9290,9 +9374,9 @@ export declare const cxLogContract: {
9290
9374
  extensionName: string;
9291
9375
  telephonySignature: string | null;
9292
9376
  user?: {
9377
+ name: string;
9293
9378
  id: string;
9294
9379
  address: string | null;
9295
- name: string;
9296
9380
  email: string;
9297
9381
  createdAt: Date;
9298
9382
  updatedAt: Date;
@@ -9339,9 +9423,9 @@ export declare const cxLogContract: {
9339
9423
  queueName?: string | null | undefined;
9340
9424
  } | null;
9341
9425
  firstAssignee: {
9426
+ name: string;
9342
9427
  id: string;
9343
9428
  address: string | null;
9344
- name: string;
9345
9429
  email: string;
9346
9430
  createdAt: Date;
9347
9431
  updatedAt: Date;
@@ -9383,9 +9467,9 @@ export declare const cxLogContract: {
9383
9467
  };
9384
9468
  } | null;
9385
9469
  agent: {
9470
+ name: string;
9386
9471
  id: string;
9387
9472
  address: string | null;
9388
- name: string;
9389
9473
  email: string;
9390
9474
  createdAt: Date;
9391
9475
  updatedAt: Date;
@@ -9427,9 +9511,9 @@ export declare const cxLogContract: {
9427
9511
  };
9428
9512
  } | null;
9429
9513
  closedAssignee: {
9514
+ name: string;
9430
9515
  id: string;
9431
9516
  address: string | null;
9432
- name: string;
9433
9517
  email: string;
9434
9518
  createdAt: Date;
9435
9519
  updatedAt: Date;
@@ -9471,6 +9555,16 @@ export declare const cxLogContract: {
9471
9555
  };
9472
9556
  } | null;
9473
9557
  contactLabel: string[];
9558
+ cxIntelligence: {
9559
+ id: string;
9560
+ summary: string;
9561
+ cxLogId: string;
9562
+ intelligenceType: string;
9563
+ provider: string;
9564
+ transcript: string;
9565
+ usage: number;
9566
+ usageUnit: string;
9567
+ };
9474
9568
  }[];
9475
9569
  }, {
9476
9570
  total: number;
@@ -9486,10 +9580,10 @@ export declare const cxLogContract: {
9486
9580
  deletedAt: Date | null;
9487
9581
  entityId: string;
9488
9582
  contact: {
9583
+ name: string;
9489
9584
  id: string;
9490
9585
  channel: string | null;
9491
9586
  address: string | null;
9492
- name: string;
9493
9587
  createdAt: Date;
9494
9588
  updatedAt: Date;
9495
9589
  deletedAt: Date | null;
@@ -9518,6 +9612,7 @@ export declare const cxLogContract: {
9518
9612
  dateValue: Date | null;
9519
9613
  uploads: {
9520
9614
  id: string;
9615
+ status: string | null;
9521
9616
  createdAt: Date;
9522
9617
  updatedAt: Date;
9523
9618
  deletedAt: Date | null;
@@ -9526,7 +9621,6 @@ export declare const cxLogContract: {
9526
9621
  bucketName: string;
9527
9622
  fileSize: number;
9528
9623
  fileUrl: string | null;
9529
- status?: string | undefined;
9530
9624
  }[];
9531
9625
  }[];
9532
9626
  company: {
@@ -9534,8 +9628,8 @@ export declare const cxLogContract: {
9534
9628
  createdAt: Date;
9535
9629
  updatedAt: Date;
9536
9630
  deletedAt: Date | null;
9537
- address?: string | null | undefined;
9538
9631
  name?: string | undefined;
9632
+ address?: string | null | undefined;
9539
9633
  phone?: string | null | undefined;
9540
9634
  industry?: string | null | undefined;
9541
9635
  } | null;
@@ -9543,8 +9637,8 @@ export declare const cxLogContract: {
9543
9637
  contactProfile: string | null;
9544
9638
  socialProfileUrl: string | null;
9545
9639
  tags: {
9546
- id: string;
9547
9640
  name: string;
9641
+ id: string;
9548
9642
  createdAt: Date;
9549
9643
  updatedAt: Date;
9550
9644
  deletedAt: Date | null;
@@ -9569,8 +9663,8 @@ export declare const cxLogContract: {
9569
9663
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9570
9664
  id: string;
9571
9665
  metadata: {
9572
- id: string;
9573
9666
  name: string;
9667
+ id: string;
9574
9668
  picture?: string | undefined;
9575
9669
  additionalCredentials?: any;
9576
9670
  };
@@ -9636,8 +9730,8 @@ export declare const cxLogContract: {
9636
9730
  }[];
9637
9731
  }[];
9638
9732
  tags: {
9639
- id: string;
9640
9733
  name: string;
9734
+ id: string;
9641
9735
  createdAt: Date;
9642
9736
  updatedAt: Date;
9643
9737
  deletedAt: Date | null;
@@ -9676,26 +9770,29 @@ export declare const cxLogContract: {
9676
9770
  room: {
9677
9771
  id: string;
9678
9772
  channel: {
9773
+ name: string;
9679
9774
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9680
9775
  id: string;
9681
- name: string;
9682
9776
  metadata: {
9683
- id: string;
9684
9777
  name: string;
9778
+ id: string;
9685
9779
  accessToken?: string | undefined;
9686
9780
  channelSecret?: string | undefined;
9687
9781
  additionalCredentials?: any;
9688
9782
  senderId?: string | undefined;
9689
9783
  whatsapp?: {
9690
- email: string;
9691
- wabaExternalId: string;
9692
- phoneNumberId: string;
9693
- wabaBusinessId?: string | undefined;
9694
- clientId?: string | undefined;
9695
- channelId?: string | undefined;
9696
- status?: "active" | "pending" | undefined;
9784
+ wabaBusinessId?: string | null | undefined;
9785
+ wabaExternalId?: string | null | undefined;
9786
+ phoneNumberId?: string | null | undefined;
9787
+ email?: string | null | undefined;
9788
+ clientId?: string | null | undefined;
9789
+ channelId?: string | null | undefined;
9790
+ waapiInstanceId?: string | null | undefined;
9791
+ qr?: string | null | undefined;
9792
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9697
9793
  apiKey?: string | undefined;
9698
9794
  tier?: "basic" | "regular" | "premium" | undefined;
9795
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9699
9796
  } | undefined;
9700
9797
  vonageCredentials?: {
9701
9798
  apiKey: string;
@@ -9711,9 +9808,9 @@ export declare const cxLogContract: {
9711
9808
  updatedAt: Date;
9712
9809
  deletedAt: Date | null;
9713
9810
  actor: {
9811
+ name: string;
9714
9812
  id: string;
9715
9813
  address: string | null;
9716
- name: string;
9717
9814
  email: string;
9718
9815
  createdAt: Date;
9719
9816
  updatedAt: Date;
@@ -9760,8 +9857,8 @@ export declare const cxLogContract: {
9760
9857
  connectedUserName: string;
9761
9858
  connectedUserId: string;
9762
9859
  botpressBot: {
9763
- id: string;
9764
9860
  name: string;
9861
+ id: string;
9765
9862
  accessToken: string;
9766
9863
  botId: string;
9767
9864
  integrationId: string;
@@ -9772,9 +9869,9 @@ export declare const cxLogContract: {
9772
9869
  updatedAt: Date;
9773
9870
  deletedAt: Date | null;
9774
9871
  actor: {
9872
+ name: string;
9775
9873
  id: string;
9776
9874
  address: string | null;
9777
- name: string;
9778
9875
  email: string;
9779
9876
  createdAt: Date;
9780
9877
  updatedAt: Date;
@@ -9826,8 +9923,8 @@ export declare const cxLogContract: {
9826
9923
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9827
9924
  id: string;
9828
9925
  metadata: {
9829
- id: string;
9830
9926
  name: string;
9927
+ id: string;
9831
9928
  picture?: string | undefined;
9832
9929
  additionalCredentials?: any;
9833
9930
  };
@@ -9835,10 +9932,10 @@ export declare const cxLogContract: {
9835
9932
  updatedAt: Date;
9836
9933
  deletedAt: Date | null;
9837
9934
  contact: {
9935
+ name: string;
9838
9936
  id: string;
9839
9937
  channel: string | null;
9840
9938
  address: string | null;
9841
- name: string;
9842
9939
  createdAt: Date;
9843
9940
  updatedAt: Date;
9844
9941
  deletedAt: Date | null;
@@ -9867,6 +9964,7 @@ export declare const cxLogContract: {
9867
9964
  dateValue: Date | null;
9868
9965
  uploads: {
9869
9966
  id: string;
9967
+ status: string | null;
9870
9968
  createdAt: Date;
9871
9969
  updatedAt: Date;
9872
9970
  deletedAt: Date | null;
@@ -9875,7 +9973,6 @@ export declare const cxLogContract: {
9875
9973
  bucketName: string;
9876
9974
  fileSize: number;
9877
9975
  fileUrl: string | null;
9878
- status?: string | undefined;
9879
9976
  }[];
9880
9977
  }[];
9881
9978
  company: {
@@ -9883,8 +9980,8 @@ export declare const cxLogContract: {
9883
9980
  createdAt: Date;
9884
9981
  updatedAt: Date;
9885
9982
  deletedAt: Date | null;
9886
- address?: string | null | undefined;
9887
9983
  name?: string | undefined;
9984
+ address?: string | null | undefined;
9888
9985
  phone?: string | null | undefined;
9889
9986
  industry?: string | null | undefined;
9890
9987
  } | null;
@@ -9892,8 +9989,8 @@ export declare const cxLogContract: {
9892
9989
  contactProfile: string | null;
9893
9990
  socialProfileUrl: string | null;
9894
9991
  tags: {
9895
- id: string;
9896
9992
  name: string;
9993
+ id: string;
9897
9994
  createdAt: Date;
9898
9995
  updatedAt: Date;
9899
9996
  deletedAt: Date | null;
@@ -9918,8 +10015,8 @@ export declare const cxLogContract: {
9918
10015
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9919
10016
  id: string;
9920
10017
  metadata: {
9921
- id: string;
9922
10018
  name: string;
10019
+ id: string;
9923
10020
  picture?: string | undefined;
9924
10021
  additionalCredentials?: any;
9925
10022
  };
@@ -9950,9 +10047,9 @@ export declare const cxLogContract: {
9950
10047
  socialPlatformId: string;
9951
10048
  };
9952
10049
  assignee: {
10050
+ name: string;
9953
10051
  id: string;
9954
10052
  address: string | null;
9955
- name: string;
9956
10053
  email: string;
9957
10054
  createdAt: Date;
9958
10055
  updatedAt: Date;
@@ -10020,9 +10117,9 @@ export declare const cxLogContract: {
10020
10117
  callTo?: {
10021
10118
  id: string;
10022
10119
  user: {
10120
+ name: string;
10023
10121
  id: string;
10024
10122
  address: string | null;
10025
- name: string;
10026
10123
  email: string;
10027
10124
  createdAt: Date;
10028
10125
  updatedAt: Date;
@@ -10046,9 +10143,9 @@ export declare const cxLogContract: {
10046
10143
  callFrom?: {
10047
10144
  id: string;
10048
10145
  user: {
10146
+ name: string;
10049
10147
  id: string;
10050
10148
  address: string | null;
10051
- name: string;
10052
10149
  email: string;
10053
10150
  createdAt: Date;
10054
10151
  updatedAt: Date;
@@ -10074,10 +10171,10 @@ export declare const cxLogContract: {
10074
10171
  telephonyQueueId: string | null;
10075
10172
  contactId: string | null;
10076
10173
  contact?: {
10174
+ name: string;
10077
10175
  id: string;
10078
10176
  channel: string | null;
10079
10177
  address: string | null;
10080
- name: string;
10081
10178
  createdAt: Date;
10082
10179
  updatedAt: Date;
10083
10180
  deletedAt: Date | null;
@@ -10106,6 +10203,7 @@ export declare const cxLogContract: {
10106
10203
  dateValue: Date | null;
10107
10204
  uploads: {
10108
10205
  id: string;
10206
+ status: string | null;
10109
10207
  createdAt: Date;
10110
10208
  updatedAt: Date;
10111
10209
  deletedAt: Date | null;
@@ -10114,7 +10212,6 @@ export declare const cxLogContract: {
10114
10212
  bucketName: string;
10115
10213
  fileSize: number;
10116
10214
  fileUrl: string | null;
10117
- status?: string | undefined;
10118
10215
  }[];
10119
10216
  }[];
10120
10217
  company: {
@@ -10122,8 +10219,8 @@ export declare const cxLogContract: {
10122
10219
  createdAt: Date;
10123
10220
  updatedAt: Date;
10124
10221
  deletedAt: Date | null;
10125
- address?: string | null | undefined;
10126
10222
  name?: string | undefined;
10223
+ address?: string | null | undefined;
10127
10224
  phone?: string | null | undefined;
10128
10225
  industry?: string | null | undefined;
10129
10226
  } | null;
@@ -10131,8 +10228,8 @@ export declare const cxLogContract: {
10131
10228
  contactProfile: string | null;
10132
10229
  socialProfileUrl: string | null;
10133
10230
  tags: {
10134
- id: string;
10135
10231
  name: string;
10232
+ id: string;
10136
10233
  createdAt: Date;
10137
10234
  updatedAt: Date;
10138
10235
  deletedAt: Date | null;
@@ -10157,8 +10254,8 @@ export declare const cxLogContract: {
10157
10254
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10158
10255
  id: string;
10159
10256
  metadata: {
10160
- id: string;
10161
10257
  name: string;
10258
+ id: string;
10162
10259
  picture?: string | undefined;
10163
10260
  additionalCredentials?: any;
10164
10261
  };
@@ -10197,6 +10294,7 @@ export declare const cxLogContract: {
10197
10294
  } | null | undefined;
10198
10295
  upload?: {
10199
10296
  id: string;
10297
+ status: string | null;
10200
10298
  createdAt: Date;
10201
10299
  updatedAt: Date;
10202
10300
  deletedAt: Date | null;
@@ -10205,7 +10303,6 @@ export declare const cxLogContract: {
10205
10303
  bucketName: string;
10206
10304
  fileSize: number;
10207
10305
  fileUrl: string | null;
10208
- status?: string | undefined;
10209
10306
  } | null | undefined;
10210
10307
  extension?: {
10211
10308
  id: string;
@@ -10220,9 +10317,9 @@ export declare const cxLogContract: {
10220
10317
  extensionName: string;
10221
10318
  telephonySignature: string | null;
10222
10319
  user?: {
10320
+ name: string;
10223
10321
  id: string;
10224
10322
  address: string | null;
10225
- name: string;
10226
10323
  email: string;
10227
10324
  createdAt: Date;
10228
10325
  updatedAt: Date;
@@ -10269,9 +10366,9 @@ export declare const cxLogContract: {
10269
10366
  queueName?: string | null | undefined;
10270
10367
  } | null;
10271
10368
  firstAssignee: {
10369
+ name: string;
10272
10370
  id: string;
10273
10371
  address: string | null;
10274
- name: string;
10275
10372
  email: string;
10276
10373
  createdAt: Date;
10277
10374
  updatedAt: Date;
@@ -10313,9 +10410,9 @@ export declare const cxLogContract: {
10313
10410
  };
10314
10411
  } | null;
10315
10412
  agent: {
10413
+ name: string;
10316
10414
  id: string;
10317
10415
  address: string | null;
10318
- name: string;
10319
10416
  email: string;
10320
10417
  createdAt: Date;
10321
10418
  updatedAt: Date;
@@ -10357,9 +10454,9 @@ export declare const cxLogContract: {
10357
10454
  };
10358
10455
  } | null;
10359
10456
  closedAssignee: {
10457
+ name: string;
10360
10458
  id: string;
10361
10459
  address: string | null;
10362
- name: string;
10363
10460
  email: string;
10364
10461
  createdAt: Date;
10365
10462
  updatedAt: Date;
@@ -10401,6 +10498,16 @@ export declare const cxLogContract: {
10401
10498
  };
10402
10499
  } | null;
10403
10500
  contactLabel: string[];
10501
+ cxIntelligence: {
10502
+ id: string;
10503
+ summary: string;
10504
+ cxLogId: string;
10505
+ intelligenceType: string;
10506
+ provider: string;
10507
+ transcript: string;
10508
+ usage: number;
10509
+ usageUnit: string;
10510
+ };
10404
10511
  }[];
10405
10512
  }>;
10406
10513
  401: z.ZodObject<{
@@ -10417,17 +10524,17 @@ export declare const cxLogContract: {
10417
10524
  path: "/cx-logs";
10418
10525
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10419
10526
  'x-tenant': z.ZodString;
10420
- authorization: z.ZodString;
10527
+ 'x-service-token': z.ZodString;
10421
10528
  'x-code': z.ZodOptional<z.ZodString>;
10422
10529
  'x-client-timezone': z.ZodDefault<z.ZodString>;
10423
10530
  }, "strip", z.ZodTypeAny, {
10424
10531
  'x-tenant': string;
10425
- authorization: string;
10532
+ 'x-service-token': string;
10426
10533
  'x-client-timezone': string;
10427
10534
  'x-code'?: string | undefined;
10428
10535
  }, {
10429
10536
  'x-tenant': string;
10430
- authorization: string;
10537
+ 'x-service-token': string;
10431
10538
  'x-code'?: string | undefined;
10432
10539
  'x-client-timezone'?: string | undefined;
10433
10540
  }>>>;
@@ -10483,7 +10590,7 @@ export declare const cxLogContract: {
10483
10590
  agentIds?: string[] | undefined;
10484
10591
  direction?: ("inbound" | "outbound")[] | undefined;
10485
10592
  disposition?: string[] | undefined;
10486
- sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
10593
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10487
10594
  csatScore?: string[] | undefined;
10488
10595
  sla?: "meet" | "unmeet" | undefined;
10489
10596
  tags?: string[] | undefined;
@@ -10512,7 +10619,7 @@ export declare const cxLogContract: {
10512
10619
  agentIds?: string[] | undefined;
10513
10620
  direction?: ("inbound" | "outbound")[] | undefined;
10514
10621
  disposition?: string[] | undefined;
10515
- sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
10622
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10516
10623
  csatScore?: string[] | undefined;
10517
10624
  sla?: "meet" | "unmeet" | undefined;
10518
10625
  tags?: string[] | undefined;
@@ -10547,17 +10654,62 @@ export declare const cxLogContract: {
10547
10654
  path: "/cx-logs/export";
10548
10655
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10549
10656
  'x-tenant': z.ZodString;
10550
- authorization: z.ZodString;
10657
+ 'x-service-token': z.ZodString;
10658
+ 'x-code': z.ZodOptional<z.ZodString>;
10659
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10660
+ }, "strip", z.ZodTypeAny, {
10661
+ 'x-tenant': string;
10662
+ 'x-service-token': string;
10663
+ 'x-client-timezone': string;
10664
+ 'x-code'?: string | undefined;
10665
+ }, {
10666
+ 'x-tenant': string;
10667
+ 'x-service-token': string;
10668
+ 'x-code'?: string | undefined;
10669
+ 'x-client-timezone'?: string | undefined;
10670
+ }>>>;
10671
+ };
10672
+ syncSla: {
10673
+ body: null;
10674
+ summary: "Export cx-logs";
10675
+ method: "POST";
10676
+ responses: {
10677
+ 200: null;
10678
+ 401: z.ZodObject<{
10679
+ message: z.ZodString;
10680
+ error: z.ZodAny;
10681
+ }, "strip", z.ZodTypeAny, {
10682
+ message: string;
10683
+ error?: any;
10684
+ }, {
10685
+ message: string;
10686
+ error?: any;
10687
+ }>;
10688
+ 500: z.ZodObject<{
10689
+ message: z.ZodString;
10690
+ error: z.ZodAny;
10691
+ }, "strip", z.ZodTypeAny, {
10692
+ message: string;
10693
+ error?: any;
10694
+ }, {
10695
+ message: string;
10696
+ error?: any;
10697
+ }>;
10698
+ };
10699
+ path: "/cx-logs/sync-sla";
10700
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10701
+ 'x-tenant': z.ZodString;
10702
+ 'x-service-token': z.ZodString;
10551
10703
  'x-code': z.ZodOptional<z.ZodString>;
10552
10704
  'x-client-timezone': z.ZodDefault<z.ZodString>;
10553
10705
  }, "strip", z.ZodTypeAny, {
10554
10706
  'x-tenant': string;
10555
- authorization: string;
10707
+ 'x-service-token': string;
10556
10708
  'x-client-timezone': string;
10557
10709
  'x-code'?: string | undefined;
10558
10710
  }, {
10559
10711
  'x-tenant': string;
10560
- authorization: string;
10712
+ 'x-service-token': string;
10561
10713
  'x-code'?: string | undefined;
10562
10714
  'x-client-timezone'?: string | undefined;
10563
10715
  }>>>;