@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
@@ -34,14 +34,14 @@ export declare const CxLogSchema: z.ZodObject<{
34
34
  deletedAt: z.ZodNullable<z.ZodDate>;
35
35
  name: z.ZodString;
36
36
  }, "strip", z.ZodTypeAny, {
37
- id: string;
38
37
  name: string;
38
+ id: string;
39
39
  createdAt: Date;
40
40
  updatedAt: Date;
41
41
  deletedAt: Date | null;
42
42
  }, {
43
- id: string;
44
43
  name: string;
44
+ id: string;
45
45
  createdAt: Date;
46
46
  updatedAt: Date;
47
47
  deletedAt: Date | null;
@@ -212,8 +212,8 @@ export declare const CxLogSchema: z.ZodObject<{
212
212
  }[];
213
213
  }[];
214
214
  tags: {
215
- id: string;
216
215
  name: string;
216
+ id: string;
217
217
  createdAt: Date;
218
218
  updatedAt: Date;
219
219
  deletedAt: Date | null;
@@ -263,8 +263,8 @@ export declare const CxLogSchema: z.ZodObject<{
263
263
  }[];
264
264
  }[];
265
265
  tags: {
266
- id: string;
267
266
  name: string;
267
+ id: string;
268
268
  createdAt: Date;
269
269
  updatedAt: Date;
270
270
  deletedAt: Date | null;
@@ -302,16 +302,16 @@ export declare const CxLogSchema: z.ZodObject<{
302
302
  position: z.ZodNumber;
303
303
  isDefault: z.ZodDefault<z.ZodBoolean>;
304
304
  }, "strip", z.ZodTypeAny, {
305
- id: string;
306
305
  name: string;
306
+ id: string;
307
307
  position: number;
308
308
  createdAt: Date;
309
309
  updatedAt: Date;
310
310
  deletedAt: Date | null;
311
311
  isDefault: boolean;
312
312
  }, {
313
- id: string;
314
313
  name: string;
314
+ id: string;
315
315
  position: number;
316
316
  createdAt: Date;
317
317
  updatedAt: Date;
@@ -327,8 +327,8 @@ export declare const CxLogSchema: z.ZodObject<{
327
327
  endedAt: string | null;
328
328
  duration: number | null;
329
329
  holdLabel?: {
330
- id: string;
331
330
  name: string;
331
+ id: string;
332
332
  position: number;
333
333
  createdAt: Date;
334
334
  updatedAt: Date;
@@ -344,8 +344,8 @@ export declare const CxLogSchema: z.ZodObject<{
344
344
  endedAt: string | null;
345
345
  duration: number | null;
346
346
  holdLabel?: {
347
- id: string;
348
347
  name: string;
348
+ id: string;
349
349
  position: number;
350
350
  createdAt: Date;
351
351
  updatedAt: Date;
@@ -403,8 +403,8 @@ export declare const CxLogSchema: z.ZodObject<{
403
403
  }[];
404
404
  }[];
405
405
  tags: {
406
- id: string;
407
406
  name: string;
407
+ id: string;
408
408
  createdAt: Date;
409
409
  updatedAt: Date;
410
410
  deletedAt: Date | null;
@@ -434,8 +434,8 @@ export declare const CxLogSchema: z.ZodObject<{
434
434
  endedAt: string | null;
435
435
  duration: number | null;
436
436
  holdLabel?: {
437
- id: string;
438
437
  name: string;
438
+ id: string;
439
439
  position: number;
440
440
  createdAt: Date;
441
441
  updatedAt: Date;
@@ -493,8 +493,8 @@ export declare const CxLogSchema: z.ZodObject<{
493
493
  }[];
494
494
  }[];
495
495
  tags: {
496
- id: string;
497
496
  name: string;
497
+ id: string;
498
498
  createdAt: Date;
499
499
  updatedAt: Date;
500
500
  deletedAt: Date | null;
@@ -524,8 +524,8 @@ export declare const CxLogSchema: z.ZodObject<{
524
524
  endedAt: string | null;
525
525
  duration: number | null;
526
526
  holdLabel?: {
527
- id: string;
528
527
  name: string;
528
+ id: string;
529
529
  position: number;
530
530
  createdAt: Date;
531
531
  updatedAt: Date;
@@ -597,14 +597,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
597
597
  deletedAt: z.ZodNullable<z.ZodDate>;
598
598
  name: z.ZodString;
599
599
  }, "strip", z.ZodTypeAny, {
600
- id: string;
601
600
  name: string;
601
+ id: string;
602
602
  createdAt: Date;
603
603
  updatedAt: Date;
604
604
  deletedAt: Date | null;
605
605
  }, {
606
- id: string;
607
606
  name: string;
607
+ id: string;
608
608
  createdAt: Date;
609
609
  updatedAt: Date;
610
610
  deletedAt: Date | null;
@@ -775,8 +775,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
775
775
  }[];
776
776
  }[];
777
777
  tags: {
778
- id: string;
779
778
  name: string;
779
+ id: string;
780
780
  createdAt: Date;
781
781
  updatedAt: Date;
782
782
  deletedAt: Date | null;
@@ -826,8 +826,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
826
826
  }[];
827
827
  }[];
828
828
  tags: {
829
- id: string;
830
829
  name: string;
830
+ id: string;
831
831
  createdAt: Date;
832
832
  updatedAt: Date;
833
833
  deletedAt: Date | null;
@@ -875,13 +875,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
875
875
  picture: z.ZodOptional<z.ZodString>;
876
876
  additionalCredentials: z.ZodAny;
877
877
  }, "strip", z.ZodTypeAny, {
878
- id: string;
879
878
  name: string;
879
+ id: string;
880
880
  picture?: string | undefined;
881
881
  additionalCredentials?: any;
882
882
  }, {
883
- id: string;
884
883
  name: string;
884
+ id: string;
885
885
  picture?: string | undefined;
886
886
  additionalCredentials?: any;
887
887
  }>;
@@ -903,14 +903,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
903
903
  deletedAt: z.ZodNullable<z.ZodDate>;
904
904
  name: z.ZodString;
905
905
  }, "strip", z.ZodTypeAny, {
906
- id: string;
907
906
  name: string;
907
+ id: string;
908
908
  createdAt: Date;
909
909
  updatedAt: Date;
910
910
  deletedAt: Date | null;
911
911
  }, {
912
- id: string;
913
912
  name: string;
913
+ id: string;
914
914
  createdAt: Date;
915
915
  updatedAt: Date;
916
916
  deletedAt: Date | null;
@@ -1066,8 +1066,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1066
1066
  createdAt: Date;
1067
1067
  updatedAt: Date;
1068
1068
  deletedAt: Date | null;
1069
- address?: string | null | undefined;
1070
1069
  name?: string | undefined;
1070
+ address?: string | null | undefined;
1071
1071
  phone?: string | null | undefined;
1072
1072
  industry?: string | null | undefined;
1073
1073
  }, {
@@ -1075,8 +1075,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1075
1075
  createdAt: Date;
1076
1076
  updatedAt: Date;
1077
1077
  deletedAt: Date | null;
1078
- address?: string | null | undefined;
1079
1078
  name?: string | undefined;
1079
+ address?: string | null | undefined;
1080
1080
  phone?: string | null | undefined;
1081
1081
  industry?: string | null | undefined;
1082
1082
  }>>;
@@ -1094,13 +1094,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1094
1094
  picture: z.ZodOptional<z.ZodString>;
1095
1095
  additionalCredentials: z.ZodAny;
1096
1096
  }, "strip", z.ZodTypeAny, {
1097
- id: string;
1098
1097
  name: string;
1098
+ id: string;
1099
1099
  picture?: string | undefined;
1100
1100
  additionalCredentials?: any;
1101
1101
  }, {
1102
- id: string;
1103
1102
  name: string;
1103
+ id: string;
1104
1104
  picture?: string | undefined;
1105
1105
  additionalCredentials?: any;
1106
1106
  }>;
@@ -1108,8 +1108,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1108
1108
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1109
1109
  id: string;
1110
1110
  metadata: {
1111
- id: string;
1112
1111
  name: string;
1112
+ id: string;
1113
1113
  picture?: string | undefined;
1114
1114
  additionalCredentials?: any;
1115
1115
  };
@@ -1122,8 +1122,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1122
1122
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1123
1123
  id: string;
1124
1124
  metadata: {
1125
- id: string;
1126
1125
  name: string;
1126
+ id: string;
1127
1127
  picture?: string | undefined;
1128
1128
  additionalCredentials?: any;
1129
1129
  };
@@ -1233,9 +1233,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1233
1233
  fileSize: z.ZodNumber;
1234
1234
  fileKey: z.ZodString;
1235
1235
  fileUrl: z.ZodNullable<z.ZodString>;
1236
- status: z.ZodOptional<z.ZodString>;
1236
+ status: z.ZodNullable<z.ZodString>;
1237
1237
  }, "strip", z.ZodTypeAny, {
1238
1238
  id: string;
1239
+ status: string | null;
1239
1240
  createdAt: Date;
1240
1241
  updatedAt: Date;
1241
1242
  deletedAt: Date | null;
@@ -1244,9 +1245,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1244
1245
  bucketName: string;
1245
1246
  fileSize: number;
1246
1247
  fileUrl: string | null;
1247
- status?: string | undefined;
1248
1248
  }, {
1249
1249
  id: string;
1250
+ status: string | null;
1250
1251
  createdAt: Date;
1251
1252
  updatedAt: Date;
1252
1253
  deletedAt: Date | null;
@@ -1255,7 +1256,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1255
1256
  bucketName: string;
1256
1257
  fileSize: number;
1257
1258
  fileUrl: string | null;
1258
- status?: string | undefined;
1259
1259
  }>, "many">;
1260
1260
  }, "strip", z.ZodTypeAny, {
1261
1261
  id: string;
@@ -1282,6 +1282,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1282
1282
  dateValue: Date | null;
1283
1283
  uploads: {
1284
1284
  id: string;
1285
+ status: string | null;
1285
1286
  createdAt: Date;
1286
1287
  updatedAt: Date;
1287
1288
  deletedAt: Date | null;
@@ -1290,7 +1291,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1290
1291
  bucketName: string;
1291
1292
  fileSize: number;
1292
1293
  fileUrl: string | null;
1293
- status?: string | undefined;
1294
1294
  }[];
1295
1295
  }, {
1296
1296
  id: string;
@@ -1317,6 +1317,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1317
1317
  dateValue: Date | null;
1318
1318
  uploads: {
1319
1319
  id: string;
1320
+ status: string | null;
1320
1321
  createdAt: Date;
1321
1322
  updatedAt: Date;
1322
1323
  deletedAt: Date | null;
@@ -1325,7 +1326,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1325
1326
  bucketName: string;
1326
1327
  fileSize: number;
1327
1328
  fileUrl: string | null;
1328
- status?: string | undefined;
1329
1329
  }[];
1330
1330
  }>, "many">;
1331
1331
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1433,10 +1433,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1433
1433
  };
1434
1434
  }>, "many">>;
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
+ name: string;
1436
1437
  id: string;
1437
1438
  channel: string | null;
1438
1439
  address: string | null;
1439
- name: string;
1440
1440
  createdAt: Date;
1441
1441
  updatedAt: Date;
1442
1442
  deletedAt: Date | null;
@@ -1465,6 +1465,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1465
1465
  dateValue: Date | null;
1466
1466
  uploads: {
1467
1467
  id: string;
1468
+ status: string | null;
1468
1469
  createdAt: Date;
1469
1470
  updatedAt: Date;
1470
1471
  deletedAt: Date | null;
@@ -1473,7 +1474,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1473
1474
  bucketName: string;
1474
1475
  fileSize: number;
1475
1476
  fileUrl: string | null;
1476
- status?: string | undefined;
1477
1477
  }[];
1478
1478
  }[];
1479
1479
  company: {
@@ -1481,8 +1481,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1481
1481
  createdAt: Date;
1482
1482
  updatedAt: Date;
1483
1483
  deletedAt: Date | null;
1484
- address?: string | null | undefined;
1485
1484
  name?: string | undefined;
1485
+ address?: string | null | undefined;
1486
1486
  phone?: string | null | undefined;
1487
1487
  industry?: string | null | undefined;
1488
1488
  } | null;
@@ -1490,8 +1490,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1490
1490
  contactProfile: string | null;
1491
1491
  socialProfileUrl: string | null;
1492
1492
  tags: {
1493
- id: string;
1494
1493
  name: string;
1494
+ id: string;
1495
1495
  createdAt: Date;
1496
1496
  updatedAt: Date;
1497
1497
  deletedAt: Date | null;
@@ -1516,8 +1516,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1516
1516
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1517
1517
  id: string;
1518
1518
  metadata: {
1519
- id: string;
1520
1519
  name: string;
1520
+ id: string;
1521
1521
  picture?: string | undefined;
1522
1522
  additionalCredentials?: any;
1523
1523
  };
@@ -1544,10 +1544,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1544
1544
  };
1545
1545
  }[] | undefined;
1546
1546
  }, {
1547
+ name: string;
1547
1548
  id: string;
1548
1549
  channel: string | null;
1549
1550
  address: string | null;
1550
- name: string;
1551
1551
  createdAt: Date;
1552
1552
  updatedAt: Date;
1553
1553
  deletedAt: Date | null;
@@ -1576,6 +1576,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1576
1576
  dateValue: Date | null;
1577
1577
  uploads: {
1578
1578
  id: string;
1579
+ status: string | null;
1579
1580
  createdAt: Date;
1580
1581
  updatedAt: Date;
1581
1582
  deletedAt: Date | null;
@@ -1584,7 +1585,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1584
1585
  bucketName: string;
1585
1586
  fileSize: number;
1586
1587
  fileUrl: string | null;
1587
- status?: string | undefined;
1588
1588
  }[];
1589
1589
  }[];
1590
1590
  company: {
@@ -1592,8 +1592,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1592
1592
  createdAt: Date;
1593
1593
  updatedAt: Date;
1594
1594
  deletedAt: Date | null;
1595
- address?: string | null | undefined;
1596
1595
  name?: string | undefined;
1596
+ address?: string | null | undefined;
1597
1597
  phone?: string | null | undefined;
1598
1598
  industry?: string | null | undefined;
1599
1599
  } | null;
@@ -1601,8 +1601,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1601
1601
  contactProfile: string | null;
1602
1602
  socialProfileUrl: string | null;
1603
1603
  tags: {
1604
- id: string;
1605
1604
  name: string;
1605
+ id: string;
1606
1606
  createdAt: Date;
1607
1607
  updatedAt: Date;
1608
1608
  deletedAt: Date | null;
@@ -1627,8 +1627,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1627
1627
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1628
1628
  id: string;
1629
1629
  metadata: {
1630
- id: string;
1631
1630
  name: string;
1631
+ id: string;
1632
1632
  picture?: string | undefined;
1633
1633
  additionalCredentials?: any;
1634
1634
  };
@@ -1659,8 +1659,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1659
1659
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1660
1660
  id: string;
1661
1661
  metadata: {
1662
- id: string;
1663
1662
  name: string;
1663
+ id: string;
1664
1664
  picture?: string | undefined;
1665
1665
  additionalCredentials?: any;
1666
1666
  };
@@ -1668,10 +1668,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1668
1668
  updatedAt: Date;
1669
1669
  deletedAt: Date | null;
1670
1670
  contact: {
1671
+ name: string;
1671
1672
  id: string;
1672
1673
  channel: string | null;
1673
1674
  address: string | null;
1674
- name: string;
1675
1675
  createdAt: Date;
1676
1676
  updatedAt: Date;
1677
1677
  deletedAt: Date | null;
@@ -1700,6 +1700,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1700
1700
  dateValue: Date | null;
1701
1701
  uploads: {
1702
1702
  id: string;
1703
+ status: string | null;
1703
1704
  createdAt: Date;
1704
1705
  updatedAt: Date;
1705
1706
  deletedAt: Date | null;
@@ -1708,7 +1709,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1708
1709
  bucketName: string;
1709
1710
  fileSize: number;
1710
1711
  fileUrl: string | null;
1711
- status?: string | undefined;
1712
1712
  }[];
1713
1713
  }[];
1714
1714
  company: {
@@ -1716,8 +1716,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1716
1716
  createdAt: Date;
1717
1717
  updatedAt: Date;
1718
1718
  deletedAt: Date | null;
1719
- address?: string | null | undefined;
1720
1719
  name?: string | undefined;
1720
+ address?: string | null | undefined;
1721
1721
  phone?: string | null | undefined;
1722
1722
  industry?: string | null | undefined;
1723
1723
  } | null;
@@ -1725,8 +1725,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1725
1725
  contactProfile: string | null;
1726
1726
  socialProfileUrl: string | null;
1727
1727
  tags: {
1728
- id: string;
1729
1728
  name: string;
1729
+ id: string;
1730
1730
  createdAt: Date;
1731
1731
  updatedAt: Date;
1732
1732
  deletedAt: Date | null;
@@ -1751,8 +1751,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1751
1751
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1752
1752
  id: string;
1753
1753
  metadata: {
1754
- id: string;
1755
1754
  name: string;
1755
+ id: string;
1756
1756
  picture?: string | undefined;
1757
1757
  additionalCredentials?: any;
1758
1758
  };
@@ -1785,8 +1785,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1785
1785
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1786
1786
  id: string;
1787
1787
  metadata: {
1788
- id: string;
1789
1788
  name: string;
1789
+ id: string;
1790
1790
  picture?: string | undefined;
1791
1791
  additionalCredentials?: any;
1792
1792
  };
@@ -1794,10 +1794,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1794
1794
  updatedAt: Date;
1795
1795
  deletedAt: Date | null;
1796
1796
  contact: {
1797
+ name: string;
1797
1798
  id: string;
1798
1799
  channel: string | null;
1799
1800
  address: string | null;
1800
- name: string;
1801
1801
  createdAt: Date;
1802
1802
  updatedAt: Date;
1803
1803
  deletedAt: Date | null;
@@ -1826,6 +1826,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1826
1826
  dateValue: Date | null;
1827
1827
  uploads: {
1828
1828
  id: string;
1829
+ status: string | null;
1829
1830
  createdAt: Date;
1830
1831
  updatedAt: Date;
1831
1832
  deletedAt: Date | null;
@@ -1834,7 +1835,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1834
1835
  bucketName: string;
1835
1836
  fileSize: number;
1836
1837
  fileUrl: string | null;
1837
- status?: string | undefined;
1838
1838
  }[];
1839
1839
  }[];
1840
1840
  company: {
@@ -1842,8 +1842,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1842
1842
  createdAt: Date;
1843
1843
  updatedAt: Date;
1844
1844
  deletedAt: Date | null;
1845
- address?: string | null | undefined;
1846
1845
  name?: string | undefined;
1846
+ address?: string | null | undefined;
1847
1847
  phone?: string | null | undefined;
1848
1848
  industry?: string | null | undefined;
1849
1849
  } | null;
@@ -1851,8 +1851,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1851
1851
  contactProfile: string | null;
1852
1852
  socialProfileUrl: string | null;
1853
1853
  tags: {
1854
- id: string;
1855
1854
  name: string;
1855
+ id: string;
1856
1856
  createdAt: Date;
1857
1857
  updatedAt: Date;
1858
1858
  deletedAt: Date | null;
@@ -1877,8 +1877,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1877
1877
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1878
1878
  id: string;
1879
1879
  metadata: {
1880
- id: string;
1881
1880
  name: string;
1881
+ id: string;
1882
1882
  picture?: string | undefined;
1883
1883
  additionalCredentials?: any;
1884
1884
  };
@@ -2026,9 +2026,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2026
2026
  telephonySignature: string | null;
2027
2027
  }>;
2028
2028
  }, "strip", z.ZodTypeAny, {
2029
+ name: string;
2029
2030
  id: string;
2030
2031
  address: string | null;
2031
- name: string;
2032
2032
  email: string;
2033
2033
  createdAt: Date;
2034
2034
  updatedAt: Date;
@@ -2069,9 +2069,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2069
2069
  telephonySignature: string | null;
2070
2070
  };
2071
2071
  }, {
2072
+ name: string;
2072
2073
  id: string;
2073
2074
  address: string | null;
2074
- name: string;
2075
2075
  email: string;
2076
2076
  createdAt: Date;
2077
2077
  updatedAt: Date;
@@ -2230,9 +2230,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2230
2230
  telephonySignature: string | null;
2231
2231
  }>;
2232
2232
  }, "strip", z.ZodTypeAny, {
2233
+ name: string;
2233
2234
  id: string;
2234
2235
  address: string | null;
2235
- name: string;
2236
2236
  email: string;
2237
2237
  createdAt: Date;
2238
2238
  updatedAt: Date;
@@ -2273,9 +2273,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2273
2273
  telephonySignature: string | null;
2274
2274
  };
2275
2275
  }, {
2276
+ name: string;
2276
2277
  id: string;
2277
2278
  address: string | null;
2278
- name: string;
2279
2279
  email: string;
2280
2280
  createdAt: Date;
2281
2281
  updatedAt: Date;
@@ -2331,35 +2331,44 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2331
2331
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2332
2332
  senderId: z.ZodOptional<z.ZodString>;
2333
2333
  whatsapp: z.ZodOptional<z.ZodObject<{
2334
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2335
- wabaExternalId: z.ZodString;
2336
- phoneNumberId: z.ZodString;
2337
- email: z.ZodString;
2338
- clientId: z.ZodOptional<z.ZodString>;
2339
- channelId: z.ZodOptional<z.ZodString>;
2340
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2334
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2335
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2336
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2337
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2338
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2339
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2340
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2341
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2342
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2341
2343
  apiKey: z.ZodOptional<z.ZodString>;
2342
2344
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2345
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2343
2346
  }, "strip", z.ZodTypeAny, {
2344
- email: string;
2345
- wabaExternalId: string;
2346
- phoneNumberId: string;
2347
- wabaBusinessId?: string | undefined;
2348
- clientId?: string | undefined;
2349
- channelId?: string | undefined;
2350
- status?: "active" | "pending" | undefined;
2347
+ wabaBusinessId?: string | null | undefined;
2348
+ wabaExternalId?: string | null | undefined;
2349
+ phoneNumberId?: string | null | undefined;
2350
+ email?: string | null | undefined;
2351
+ clientId?: string | null | undefined;
2352
+ channelId?: string | null | undefined;
2353
+ waapiInstanceId?: string | null | undefined;
2354
+ qr?: string | null | undefined;
2355
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2351
2356
  apiKey?: string | undefined;
2352
2357
  tier?: "basic" | "regular" | "premium" | undefined;
2358
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2353
2359
  }, {
2354
- email: string;
2355
- wabaExternalId: string;
2356
- phoneNumberId: string;
2357
- wabaBusinessId?: string | undefined;
2358
- clientId?: string | undefined;
2359
- channelId?: string | undefined;
2360
- status?: "active" | "pending" | undefined;
2360
+ wabaBusinessId?: string | null | undefined;
2361
+ wabaExternalId?: string | null | undefined;
2362
+ phoneNumberId?: string | null | undefined;
2363
+ email?: string | null | undefined;
2364
+ clientId?: string | null | undefined;
2365
+ channelId?: string | null | undefined;
2366
+ waapiInstanceId?: string | null | undefined;
2367
+ qr?: string | null | undefined;
2368
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2361
2369
  apiKey?: string | undefined;
2362
2370
  tier?: "basic" | "regular" | "premium" | undefined;
2371
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2363
2372
  }>>;
2364
2373
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2365
2374
  mobileNumber: z.ZodString;
@@ -2378,22 +2387,25 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2378
2387
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2379
2388
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2380
2389
  }, "strip", z.ZodTypeAny, {
2381
- id: string;
2382
2390
  name: string;
2391
+ id: string;
2383
2392
  accessToken?: string | undefined;
2384
2393
  channelSecret?: string | undefined;
2385
2394
  additionalCredentials?: any;
2386
2395
  senderId?: string | undefined;
2387
2396
  whatsapp?: {
2388
- email: string;
2389
- wabaExternalId: string;
2390
- phoneNumberId: string;
2391
- wabaBusinessId?: string | undefined;
2392
- clientId?: string | undefined;
2393
- channelId?: string | undefined;
2394
- status?: "active" | "pending" | undefined;
2397
+ wabaBusinessId?: string | null | undefined;
2398
+ wabaExternalId?: string | null | undefined;
2399
+ phoneNumberId?: string | null | undefined;
2400
+ email?: string | null | undefined;
2401
+ clientId?: string | null | undefined;
2402
+ channelId?: string | null | undefined;
2403
+ waapiInstanceId?: string | null | undefined;
2404
+ qr?: string | null | undefined;
2405
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2395
2406
  apiKey?: string | undefined;
2396
2407
  tier?: "basic" | "regular" | "premium" | undefined;
2408
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2397
2409
  } | undefined;
2398
2410
  vonageCredentials?: {
2399
2411
  apiKey: string;
@@ -2404,22 +2416,25 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2404
2416
  messengerIntegrationType?: "own" | "business" | undefined;
2405
2417
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2406
2418
  }, {
2407
- id: string;
2408
2419
  name: string;
2420
+ id: string;
2409
2421
  accessToken?: string | undefined;
2410
2422
  channelSecret?: string | undefined;
2411
2423
  additionalCredentials?: any;
2412
2424
  senderId?: string | undefined;
2413
2425
  whatsapp?: {
2414
- email: string;
2415
- wabaExternalId: string;
2416
- phoneNumberId: string;
2417
- wabaBusinessId?: string | undefined;
2418
- clientId?: string | undefined;
2419
- channelId?: string | undefined;
2420
- status?: "active" | "pending" | undefined;
2426
+ wabaBusinessId?: string | null | undefined;
2427
+ wabaExternalId?: string | null | undefined;
2428
+ phoneNumberId?: string | null | undefined;
2429
+ email?: string | null | undefined;
2430
+ clientId?: string | null | undefined;
2431
+ channelId?: string | null | undefined;
2432
+ waapiInstanceId?: string | null | undefined;
2433
+ qr?: string | null | undefined;
2434
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2421
2435
  apiKey?: string | undefined;
2422
2436
  tier?: "basic" | "regular" | "premium" | undefined;
2437
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2423
2438
  } | undefined;
2424
2439
  vonageCredentials?: {
2425
2440
  apiKey: string;
@@ -2443,14 +2458,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2443
2458
  integrationId: z.ZodString;
2444
2459
  accessToken: z.ZodString;
2445
2460
  }, "strip", z.ZodTypeAny, {
2446
- id: string;
2447
2461
  name: string;
2462
+ id: string;
2448
2463
  accessToken: string;
2449
2464
  botId: string;
2450
2465
  integrationId: string;
2451
2466
  }, {
2452
- id: string;
2453
2467
  name: string;
2468
+ id: string;
2454
2469
  accessToken: string;
2455
2470
  botId: string;
2456
2471
  integrationId: string;
@@ -2573,9 +2588,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2573
2588
  telephonySignature: string | null;
2574
2589
  }>;
2575
2590
  }, "strip", z.ZodTypeAny, {
2591
+ name: string;
2576
2592
  id: string;
2577
2593
  address: string | null;
2578
- name: string;
2579
2594
  email: string;
2580
2595
  createdAt: Date;
2581
2596
  updatedAt: Date;
@@ -2616,9 +2631,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2616
2631
  telephonySignature: string | null;
2617
2632
  };
2618
2633
  }, {
2634
+ name: string;
2619
2635
  id: string;
2620
2636
  address: string | null;
2621
- name: string;
2622
2637
  email: string;
2623
2638
  createdAt: Date;
2624
2639
  updatedAt: Date;
@@ -2660,26 +2675,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2660
2675
  };
2661
2676
  }>;
2662
2677
  }, "strip", z.ZodTypeAny, {
2678
+ name: string;
2663
2679
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2664
2680
  id: string;
2665
- name: string;
2666
2681
  metadata: {
2667
- id: string;
2668
2682
  name: string;
2683
+ id: string;
2669
2684
  accessToken?: string | undefined;
2670
2685
  channelSecret?: string | undefined;
2671
2686
  additionalCredentials?: any;
2672
2687
  senderId?: string | undefined;
2673
2688
  whatsapp?: {
2674
- email: string;
2675
- wabaExternalId: string;
2676
- phoneNumberId: string;
2677
- wabaBusinessId?: string | undefined;
2678
- clientId?: string | undefined;
2679
- channelId?: string | undefined;
2680
- status?: "active" | "pending" | undefined;
2689
+ wabaBusinessId?: string | null | undefined;
2690
+ wabaExternalId?: string | null | undefined;
2691
+ phoneNumberId?: string | null | undefined;
2692
+ email?: string | null | undefined;
2693
+ clientId?: string | null | undefined;
2694
+ channelId?: string | null | undefined;
2695
+ waapiInstanceId?: string | null | undefined;
2696
+ qr?: string | null | undefined;
2697
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2681
2698
  apiKey?: string | undefined;
2682
2699
  tier?: "basic" | "regular" | "premium" | undefined;
2700
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2683
2701
  } | undefined;
2684
2702
  vonageCredentials?: {
2685
2703
  apiKey: string;
@@ -2695,9 +2713,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2695
2713
  updatedAt: Date;
2696
2714
  deletedAt: Date | null;
2697
2715
  actor: {
2716
+ name: string;
2698
2717
  id: string;
2699
2718
  address: string | null;
2700
- name: string;
2701
2719
  email: string;
2702
2720
  createdAt: Date;
2703
2721
  updatedAt: Date;
@@ -2744,33 +2762,36 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2744
2762
  connectedUserName: string;
2745
2763
  connectedUserId: string;
2746
2764
  botpressBot: {
2747
- id: string;
2748
2765
  name: string;
2766
+ id: string;
2749
2767
  accessToken: string;
2750
2768
  botId: string;
2751
2769
  integrationId: string;
2752
2770
  } | null;
2753
2771
  }, {
2772
+ name: string;
2754
2773
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2755
2774
  id: string;
2756
- name: string;
2757
2775
  metadata: {
2758
- id: string;
2759
2776
  name: string;
2777
+ id: string;
2760
2778
  accessToken?: string | undefined;
2761
2779
  channelSecret?: string | undefined;
2762
2780
  additionalCredentials?: any;
2763
2781
  senderId?: string | undefined;
2764
2782
  whatsapp?: {
2765
- email: string;
2766
- wabaExternalId: string;
2767
- phoneNumberId: string;
2768
- wabaBusinessId?: string | undefined;
2769
- clientId?: string | undefined;
2770
- channelId?: string | undefined;
2771
- status?: "active" | "pending" | undefined;
2783
+ wabaBusinessId?: string | null | undefined;
2784
+ wabaExternalId?: string | null | undefined;
2785
+ phoneNumberId?: string | null | undefined;
2786
+ email?: string | null | undefined;
2787
+ clientId?: string | null | undefined;
2788
+ channelId?: string | null | undefined;
2789
+ waapiInstanceId?: string | null | undefined;
2790
+ qr?: string | null | undefined;
2791
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2772
2792
  apiKey?: string | undefined;
2773
2793
  tier?: "basic" | "regular" | "premium" | undefined;
2794
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2774
2795
  } | undefined;
2775
2796
  vonageCredentials?: {
2776
2797
  apiKey: string;
@@ -2786,9 +2807,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2786
2807
  updatedAt: Date;
2787
2808
  deletedAt: Date | null;
2788
2809
  actor: {
2810
+ name: string;
2789
2811
  id: string;
2790
2812
  address: string | null;
2791
- name: string;
2792
2813
  email: string;
2793
2814
  createdAt: Date;
2794
2815
  updatedAt: Date;
@@ -2835,8 +2856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2835
2856
  connectedUserName: string;
2836
2857
  connectedUserId: string;
2837
2858
  botpressBot: {
2838
- id: string;
2839
2859
  name: string;
2860
+ id: string;
2840
2861
  accessToken: string;
2841
2862
  botId: string;
2842
2863
  integrationId: string;
@@ -2845,26 +2866,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2845
2866
  }, "strip", z.ZodTypeAny, {
2846
2867
  id: string;
2847
2868
  channel: {
2869
+ name: string;
2848
2870
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2849
2871
  id: string;
2850
- name: string;
2851
2872
  metadata: {
2852
- id: string;
2853
2873
  name: string;
2874
+ id: string;
2854
2875
  accessToken?: string | undefined;
2855
2876
  channelSecret?: string | undefined;
2856
2877
  additionalCredentials?: any;
2857
2878
  senderId?: string | undefined;
2858
2879
  whatsapp?: {
2859
- email: string;
2860
- wabaExternalId: string;
2861
- phoneNumberId: string;
2862
- wabaBusinessId?: string | undefined;
2863
- clientId?: string | undefined;
2864
- channelId?: string | undefined;
2865
- status?: "active" | "pending" | undefined;
2880
+ wabaBusinessId?: string | null | undefined;
2881
+ wabaExternalId?: string | null | undefined;
2882
+ phoneNumberId?: string | null | undefined;
2883
+ email?: string | null | undefined;
2884
+ clientId?: string | null | undefined;
2885
+ channelId?: string | null | undefined;
2886
+ waapiInstanceId?: string | null | undefined;
2887
+ qr?: string | null | undefined;
2888
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2866
2889
  apiKey?: string | undefined;
2867
2890
  tier?: "basic" | "regular" | "premium" | undefined;
2891
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2868
2892
  } | undefined;
2869
2893
  vonageCredentials?: {
2870
2894
  apiKey: string;
@@ -2880,9 +2904,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2880
2904
  updatedAt: Date;
2881
2905
  deletedAt: Date | null;
2882
2906
  actor: {
2907
+ name: string;
2883
2908
  id: string;
2884
2909
  address: string | null;
2885
- name: string;
2886
2910
  email: string;
2887
2911
  createdAt: Date;
2888
2912
  updatedAt: Date;
@@ -2929,8 +2953,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2929
2953
  connectedUserName: string;
2930
2954
  connectedUserId: string;
2931
2955
  botpressBot: {
2932
- id: string;
2933
2956
  name: string;
2957
+ id: string;
2934
2958
  accessToken: string;
2935
2959
  botId: string;
2936
2960
  integrationId: string;
@@ -2941,9 +2965,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2941
2965
  updatedAt: Date;
2942
2966
  deletedAt: Date | null;
2943
2967
  actor: {
2968
+ name: string;
2944
2969
  id: string;
2945
2970
  address: string | null;
2946
- name: string;
2947
2971
  email: string;
2948
2972
  createdAt: Date;
2949
2973
  updatedAt: Date;
@@ -2995,8 +3019,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2995
3019
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2996
3020
  id: string;
2997
3021
  metadata: {
2998
- id: string;
2999
3022
  name: string;
3023
+ id: string;
3000
3024
  picture?: string | undefined;
3001
3025
  additionalCredentials?: any;
3002
3026
  };
@@ -3004,10 +3028,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3004
3028
  updatedAt: Date;
3005
3029
  deletedAt: Date | null;
3006
3030
  contact: {
3031
+ name: string;
3007
3032
  id: string;
3008
3033
  channel: string | null;
3009
3034
  address: string | null;
3010
- name: string;
3011
3035
  createdAt: Date;
3012
3036
  updatedAt: Date;
3013
3037
  deletedAt: Date | null;
@@ -3036,6 +3060,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3036
3060
  dateValue: Date | null;
3037
3061
  uploads: {
3038
3062
  id: string;
3063
+ status: string | null;
3039
3064
  createdAt: Date;
3040
3065
  updatedAt: Date;
3041
3066
  deletedAt: Date | null;
@@ -3044,7 +3069,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3044
3069
  bucketName: string;
3045
3070
  fileSize: number;
3046
3071
  fileUrl: string | null;
3047
- status?: string | undefined;
3048
3072
  }[];
3049
3073
  }[];
3050
3074
  company: {
@@ -3052,8 +3076,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3052
3076
  createdAt: Date;
3053
3077
  updatedAt: Date;
3054
3078
  deletedAt: Date | null;
3055
- address?: string | null | undefined;
3056
3079
  name?: string | undefined;
3080
+ address?: string | null | undefined;
3057
3081
  phone?: string | null | undefined;
3058
3082
  industry?: string | null | undefined;
3059
3083
  } | null;
@@ -3061,8 +3085,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3061
3085
  contactProfile: string | null;
3062
3086
  socialProfileUrl: string | null;
3063
3087
  tags: {
3064
- id: string;
3065
3088
  name: string;
3089
+ id: string;
3066
3090
  createdAt: Date;
3067
3091
  updatedAt: Date;
3068
3092
  deletedAt: Date | null;
@@ -3087,8 +3111,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3087
3111
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3088
3112
  id: string;
3089
3113
  metadata: {
3090
- id: string;
3091
3114
  name: string;
3115
+ id: string;
3092
3116
  picture?: string | undefined;
3093
3117
  additionalCredentials?: any;
3094
3118
  };
@@ -3119,9 +3143,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3119
3143
  socialPlatformId: string;
3120
3144
  };
3121
3145
  assignee: {
3146
+ name: string;
3122
3147
  id: string;
3123
3148
  address: string | null;
3124
- name: string;
3125
3149
  email: string;
3126
3150
  createdAt: Date;
3127
3151
  updatedAt: Date;
@@ -3165,26 +3189,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3165
3189
  }, {
3166
3190
  id: string;
3167
3191
  channel: {
3192
+ name: string;
3168
3193
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3169
3194
  id: string;
3170
- name: string;
3171
3195
  metadata: {
3172
- id: string;
3173
3196
  name: string;
3197
+ id: string;
3174
3198
  accessToken?: string | undefined;
3175
3199
  channelSecret?: string | undefined;
3176
3200
  additionalCredentials?: any;
3177
3201
  senderId?: string | undefined;
3178
3202
  whatsapp?: {
3179
- email: string;
3180
- wabaExternalId: string;
3181
- phoneNumberId: string;
3182
- wabaBusinessId?: string | undefined;
3183
- clientId?: string | undefined;
3184
- channelId?: string | undefined;
3185
- status?: "active" | "pending" | undefined;
3203
+ wabaBusinessId?: string | null | undefined;
3204
+ wabaExternalId?: string | null | undefined;
3205
+ phoneNumberId?: string | null | undefined;
3206
+ email?: string | null | undefined;
3207
+ clientId?: string | null | undefined;
3208
+ channelId?: string | null | undefined;
3209
+ waapiInstanceId?: string | null | undefined;
3210
+ qr?: string | null | undefined;
3211
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3186
3212
  apiKey?: string | undefined;
3187
3213
  tier?: "basic" | "regular" | "premium" | undefined;
3214
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3188
3215
  } | undefined;
3189
3216
  vonageCredentials?: {
3190
3217
  apiKey: string;
@@ -3200,9 +3227,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3200
3227
  updatedAt: Date;
3201
3228
  deletedAt: Date | null;
3202
3229
  actor: {
3230
+ name: string;
3203
3231
  id: string;
3204
3232
  address: string | null;
3205
- name: string;
3206
3233
  email: string;
3207
3234
  createdAt: Date;
3208
3235
  updatedAt: Date;
@@ -3249,8 +3276,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3249
3276
  connectedUserName: string;
3250
3277
  connectedUserId: string;
3251
3278
  botpressBot: {
3252
- id: string;
3253
3279
  name: string;
3280
+ id: string;
3254
3281
  accessToken: string;
3255
3282
  botId: string;
3256
3283
  integrationId: string;
@@ -3261,9 +3288,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3261
3288
  updatedAt: Date;
3262
3289
  deletedAt: Date | null;
3263
3290
  actor: {
3291
+ name: string;
3264
3292
  id: string;
3265
3293
  address: string | null;
3266
- name: string;
3267
3294
  email: string;
3268
3295
  createdAt: Date;
3269
3296
  updatedAt: Date;
@@ -3315,8 +3342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3315
3342
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3316
3343
  id: string;
3317
3344
  metadata: {
3318
- id: string;
3319
3345
  name: string;
3346
+ id: string;
3320
3347
  picture?: string | undefined;
3321
3348
  additionalCredentials?: any;
3322
3349
  };
@@ -3324,10 +3351,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3324
3351
  updatedAt: Date;
3325
3352
  deletedAt: Date | null;
3326
3353
  contact: {
3354
+ name: string;
3327
3355
  id: string;
3328
3356
  channel: string | null;
3329
3357
  address: string | null;
3330
- name: string;
3331
3358
  createdAt: Date;
3332
3359
  updatedAt: Date;
3333
3360
  deletedAt: Date | null;
@@ -3356,6 +3383,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3356
3383
  dateValue: Date | null;
3357
3384
  uploads: {
3358
3385
  id: string;
3386
+ status: string | null;
3359
3387
  createdAt: Date;
3360
3388
  updatedAt: Date;
3361
3389
  deletedAt: Date | null;
@@ -3364,7 +3392,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3364
3392
  bucketName: string;
3365
3393
  fileSize: number;
3366
3394
  fileUrl: string | null;
3367
- status?: string | undefined;
3368
3395
  }[];
3369
3396
  }[];
3370
3397
  company: {
@@ -3372,8 +3399,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3372
3399
  createdAt: Date;
3373
3400
  updatedAt: Date;
3374
3401
  deletedAt: Date | null;
3375
- address?: string | null | undefined;
3376
3402
  name?: string | undefined;
3403
+ address?: string | null | undefined;
3377
3404
  phone?: string | null | undefined;
3378
3405
  industry?: string | null | undefined;
3379
3406
  } | null;
@@ -3381,8 +3408,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3381
3408
  contactProfile: string | null;
3382
3409
  socialProfileUrl: string | null;
3383
3410
  tags: {
3384
- id: string;
3385
3411
  name: string;
3412
+ id: string;
3386
3413
  createdAt: Date;
3387
3414
  updatedAt: Date;
3388
3415
  deletedAt: Date | null;
@@ -3407,8 +3434,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3407
3434
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3408
3435
  id: string;
3409
3436
  metadata: {
3410
- id: string;
3411
3437
  name: string;
3438
+ id: string;
3412
3439
  picture?: string | undefined;
3413
3440
  additionalCredentials?: any;
3414
3441
  };
@@ -3439,9 +3466,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3439
3466
  socialPlatformId: string;
3440
3467
  };
3441
3468
  assignee: {
3469
+ name: string;
3442
3470
  id: string;
3443
3471
  address: string | null;
3444
- name: string;
3445
3472
  email: string;
3446
3473
  createdAt: Date;
3447
3474
  updatedAt: Date;
@@ -3514,14 +3541,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3514
3541
  deletedAt: z.ZodNullable<z.ZodDate>;
3515
3542
  name: z.ZodString;
3516
3543
  }, "strip", z.ZodTypeAny, {
3517
- id: string;
3518
3544
  name: string;
3545
+ id: string;
3519
3546
  createdAt: Date;
3520
3547
  updatedAt: Date;
3521
3548
  deletedAt: Date | null;
3522
3549
  }, {
3523
- id: string;
3524
3550
  name: string;
3551
+ id: string;
3525
3552
  createdAt: Date;
3526
3553
  updatedAt: Date;
3527
3554
  deletedAt: Date | null;
@@ -3677,8 +3704,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3677
3704
  createdAt: Date;
3678
3705
  updatedAt: Date;
3679
3706
  deletedAt: Date | null;
3680
- address?: string | null | undefined;
3681
3707
  name?: string | undefined;
3708
+ address?: string | null | undefined;
3682
3709
  phone?: string | null | undefined;
3683
3710
  industry?: string | null | undefined;
3684
3711
  }, {
@@ -3686,8 +3713,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3686
3713
  createdAt: Date;
3687
3714
  updatedAt: Date;
3688
3715
  deletedAt: Date | null;
3689
- address?: string | null | undefined;
3690
3716
  name?: string | undefined;
3717
+ address?: string | null | undefined;
3691
3718
  phone?: string | null | undefined;
3692
3719
  industry?: string | null | undefined;
3693
3720
  }>>;
@@ -3705,13 +3732,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3705
3732
  picture: z.ZodOptional<z.ZodString>;
3706
3733
  additionalCredentials: z.ZodAny;
3707
3734
  }, "strip", z.ZodTypeAny, {
3708
- id: string;
3709
3735
  name: string;
3736
+ id: string;
3710
3737
  picture?: string | undefined;
3711
3738
  additionalCredentials?: any;
3712
3739
  }, {
3713
- id: string;
3714
3740
  name: string;
3741
+ id: string;
3715
3742
  picture?: string | undefined;
3716
3743
  additionalCredentials?: any;
3717
3744
  }>;
@@ -3719,8 +3746,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3719
3746
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3720
3747
  id: string;
3721
3748
  metadata: {
3722
- id: string;
3723
3749
  name: string;
3750
+ id: string;
3724
3751
  picture?: string | undefined;
3725
3752
  additionalCredentials?: any;
3726
3753
  };
@@ -3733,8 +3760,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3733
3760
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3734
3761
  id: string;
3735
3762
  metadata: {
3736
- id: string;
3737
3763
  name: string;
3764
+ id: string;
3738
3765
  picture?: string | undefined;
3739
3766
  additionalCredentials?: any;
3740
3767
  };
@@ -3844,9 +3871,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3844
3871
  fileSize: z.ZodNumber;
3845
3872
  fileKey: z.ZodString;
3846
3873
  fileUrl: z.ZodNullable<z.ZodString>;
3847
- status: z.ZodOptional<z.ZodString>;
3874
+ status: z.ZodNullable<z.ZodString>;
3848
3875
  }, "strip", z.ZodTypeAny, {
3849
3876
  id: string;
3877
+ status: string | null;
3850
3878
  createdAt: Date;
3851
3879
  updatedAt: Date;
3852
3880
  deletedAt: Date | null;
@@ -3855,9 +3883,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3855
3883
  bucketName: string;
3856
3884
  fileSize: number;
3857
3885
  fileUrl: string | null;
3858
- status?: string | undefined;
3859
3886
  }, {
3860
3887
  id: string;
3888
+ status: string | null;
3861
3889
  createdAt: Date;
3862
3890
  updatedAt: Date;
3863
3891
  deletedAt: Date | null;
@@ -3866,7 +3894,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3866
3894
  bucketName: string;
3867
3895
  fileSize: number;
3868
3896
  fileUrl: string | null;
3869
- status?: string | undefined;
3870
3897
  }>, "many">;
3871
3898
  }, "strip", z.ZodTypeAny, {
3872
3899
  id: string;
@@ -3893,6 +3920,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3893
3920
  dateValue: Date | null;
3894
3921
  uploads: {
3895
3922
  id: string;
3923
+ status: string | null;
3896
3924
  createdAt: Date;
3897
3925
  updatedAt: Date;
3898
3926
  deletedAt: Date | null;
@@ -3901,7 +3929,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3901
3929
  bucketName: string;
3902
3930
  fileSize: number;
3903
3931
  fileUrl: string | null;
3904
- status?: string | undefined;
3905
3932
  }[];
3906
3933
  }, {
3907
3934
  id: string;
@@ -3928,6 +3955,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3928
3955
  dateValue: Date | null;
3929
3956
  uploads: {
3930
3957
  id: string;
3958
+ status: string | null;
3931
3959
  createdAt: Date;
3932
3960
  updatedAt: Date;
3933
3961
  deletedAt: Date | null;
@@ -3936,7 +3964,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3936
3964
  bucketName: string;
3937
3965
  fileSize: number;
3938
3966
  fileUrl: string | null;
3939
- status?: string | undefined;
3940
3967
  }[];
3941
3968
  }>, "many">;
3942
3969
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4044,10 +4071,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4044
4071
  };
4045
4072
  }>, "many">>;
4046
4073
  }, "strip", z.ZodTypeAny, {
4074
+ name: string;
4047
4075
  id: string;
4048
4076
  channel: string | null;
4049
4077
  address: string | null;
4050
- name: string;
4051
4078
  createdAt: Date;
4052
4079
  updatedAt: Date;
4053
4080
  deletedAt: Date | null;
@@ -4076,6 +4103,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4076
4103
  dateValue: Date | null;
4077
4104
  uploads: {
4078
4105
  id: string;
4106
+ status: string | null;
4079
4107
  createdAt: Date;
4080
4108
  updatedAt: Date;
4081
4109
  deletedAt: Date | null;
@@ -4084,7 +4112,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4084
4112
  bucketName: string;
4085
4113
  fileSize: number;
4086
4114
  fileUrl: string | null;
4087
- status?: string | undefined;
4088
4115
  }[];
4089
4116
  }[];
4090
4117
  company: {
@@ -4092,8 +4119,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4092
4119
  createdAt: Date;
4093
4120
  updatedAt: Date;
4094
4121
  deletedAt: Date | null;
4095
- address?: string | null | undefined;
4096
4122
  name?: string | undefined;
4123
+ address?: string | null | undefined;
4097
4124
  phone?: string | null | undefined;
4098
4125
  industry?: string | null | undefined;
4099
4126
  } | null;
@@ -4101,8 +4128,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4101
4128
  contactProfile: string | null;
4102
4129
  socialProfileUrl: string | null;
4103
4130
  tags: {
4104
- id: string;
4105
4131
  name: string;
4132
+ id: string;
4106
4133
  createdAt: Date;
4107
4134
  updatedAt: Date;
4108
4135
  deletedAt: Date | null;
@@ -4127,8 +4154,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4127
4154
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4128
4155
  id: string;
4129
4156
  metadata: {
4130
- id: string;
4131
4157
  name: string;
4158
+ id: string;
4132
4159
  picture?: string | undefined;
4133
4160
  additionalCredentials?: any;
4134
4161
  };
@@ -4155,10 +4182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4155
4182
  };
4156
4183
  }[] | undefined;
4157
4184
  }, {
4185
+ name: string;
4158
4186
  id: string;
4159
4187
  channel: string | null;
4160
4188
  address: string | null;
4161
- name: string;
4162
4189
  createdAt: Date;
4163
4190
  updatedAt: Date;
4164
4191
  deletedAt: Date | null;
@@ -4187,6 +4214,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4187
4214
  dateValue: Date | null;
4188
4215
  uploads: {
4189
4216
  id: string;
4217
+ status: string | null;
4190
4218
  createdAt: Date;
4191
4219
  updatedAt: Date;
4192
4220
  deletedAt: Date | null;
@@ -4195,7 +4223,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4195
4223
  bucketName: string;
4196
4224
  fileSize: number;
4197
4225
  fileUrl: string | null;
4198
- status?: string | undefined;
4199
4226
  }[];
4200
4227
  }[];
4201
4228
  company: {
@@ -4203,8 +4230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4203
4230
  createdAt: Date;
4204
4231
  updatedAt: Date;
4205
4232
  deletedAt: Date | null;
4206
- address?: string | null | undefined;
4207
4233
  name?: string | undefined;
4234
+ address?: string | null | undefined;
4208
4235
  phone?: string | null | undefined;
4209
4236
  industry?: string | null | undefined;
4210
4237
  } | null;
@@ -4212,8 +4239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4212
4239
  contactProfile: string | null;
4213
4240
  socialProfileUrl: string | null;
4214
4241
  tags: {
4215
- id: string;
4216
4242
  name: string;
4243
+ id: string;
4217
4244
  createdAt: Date;
4218
4245
  updatedAt: Date;
4219
4246
  deletedAt: Date | null;
@@ -4238,8 +4265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4238
4265
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4239
4266
  id: string;
4240
4267
  metadata: {
4241
- id: string;
4242
4268
  name: string;
4269
+ id: string;
4243
4270
  picture?: string | undefined;
4244
4271
  additionalCredentials?: any;
4245
4272
  };
@@ -4312,9 +4339,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4312
4339
  fileSize: z.ZodNumber;
4313
4340
  fileKey: z.ZodString;
4314
4341
  fileUrl: z.ZodNullable<z.ZodString>;
4315
- status: z.ZodOptional<z.ZodString>;
4342
+ status: z.ZodNullable<z.ZodString>;
4316
4343
  }, "strip", z.ZodTypeAny, {
4317
4344
  id: string;
4345
+ status: string | null;
4318
4346
  createdAt: Date;
4319
4347
  updatedAt: Date;
4320
4348
  deletedAt: Date | null;
@@ -4323,9 +4351,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4323
4351
  bucketName: string;
4324
4352
  fileSize: number;
4325
4353
  fileUrl: string | null;
4326
- status?: string | undefined;
4327
4354
  }, {
4328
4355
  id: string;
4356
+ status: string | null;
4329
4357
  createdAt: Date;
4330
4358
  updatedAt: Date;
4331
4359
  deletedAt: Date | null;
@@ -4334,7 +4362,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4334
4362
  bucketName: string;
4335
4363
  fileSize: number;
4336
4364
  fileUrl: string | null;
4337
- status?: string | undefined;
4338
4365
  }>>>;
4339
4366
  callParticipants: z.ZodNullable<z.ZodObject<{
4340
4367
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4457,9 +4484,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4457
4484
  telephonySignature: string | null;
4458
4485
  }>;
4459
4486
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4487
+ name: string;
4460
4488
  id: string;
4461
4489
  address: string | null;
4462
- name: string;
4463
4490
  email: string;
4464
4491
  createdAt: Date;
4465
4492
  updatedAt: Date;
@@ -4469,9 +4496,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4469
4496
  phone: string | null;
4470
4497
  notificationCount: number | null;
4471
4498
  }, {
4499
+ name: string;
4472
4500
  id: string;
4473
4501
  address: string | null;
4474
- name: string;
4475
4502
  email: string;
4476
4503
  createdAt: Date;
4477
4504
  updatedAt: Date;
@@ -4494,9 +4521,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4494
4521
  }, "strip", z.ZodTypeAny, {
4495
4522
  id: string;
4496
4523
  user: {
4524
+ name: string;
4497
4525
  id: string;
4498
4526
  address: string | null;
4499
- name: string;
4500
4527
  email: string;
4501
4528
  createdAt: Date;
4502
4529
  updatedAt: Date;
@@ -4519,9 +4546,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4519
4546
  }, {
4520
4547
  id: string;
4521
4548
  user: {
4549
+ name: string;
4522
4550
  id: string;
4523
4551
  address: string | null;
4524
- name: string;
4525
4552
  email: string;
4526
4553
  createdAt: Date;
4527
4554
  updatedAt: Date;
@@ -4662,9 +4689,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4662
4689
  telephonySignature: string | null;
4663
4690
  }>;
4664
4691
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4692
+ name: string;
4665
4693
  id: string;
4666
4694
  address: string | null;
4667
- name: string;
4668
4695
  email: string;
4669
4696
  createdAt: Date;
4670
4697
  updatedAt: Date;
@@ -4674,9 +4701,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4674
4701
  phone: string | null;
4675
4702
  notificationCount: number | null;
4676
4703
  }, {
4704
+ name: string;
4677
4705
  id: string;
4678
4706
  address: string | null;
4679
- name: string;
4680
4707
  email: string;
4681
4708
  createdAt: Date;
4682
4709
  updatedAt: Date;
@@ -4699,9 +4726,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4699
4726
  }, "strip", z.ZodTypeAny, {
4700
4727
  id: string;
4701
4728
  user: {
4729
+ name: string;
4702
4730
  id: string;
4703
4731
  address: string | null;
4704
- name: string;
4705
4732
  email: string;
4706
4733
  createdAt: Date;
4707
4734
  updatedAt: Date;
@@ -4724,9 +4751,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4724
4751
  }, {
4725
4752
  id: string;
4726
4753
  user: {
4754
+ name: string;
4727
4755
  id: string;
4728
4756
  address: string | null;
4729
- name: string;
4730
4757
  email: string;
4731
4758
  createdAt: Date;
4732
4759
  updatedAt: Date;
@@ -4751,9 +4778,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4751
4778
  callTo?: {
4752
4779
  id: string;
4753
4780
  user: {
4781
+ name: string;
4754
4782
  id: string;
4755
4783
  address: string | null;
4756
- name: string;
4757
4784
  email: string;
4758
4785
  createdAt: Date;
4759
4786
  updatedAt: Date;
@@ -4777,9 +4804,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4777
4804
  callFrom?: {
4778
4805
  id: string;
4779
4806
  user: {
4807
+ name: string;
4780
4808
  id: string;
4781
4809
  address: string | null;
4782
- name: string;
4783
4810
  email: string;
4784
4811
  createdAt: Date;
4785
4812
  updatedAt: Date;
@@ -4804,9 +4831,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4804
4831
  callTo?: {
4805
4832
  id: string;
4806
4833
  user: {
4834
+ name: string;
4807
4835
  id: string;
4808
4836
  address: string | null;
4809
- name: string;
4810
4837
  email: string;
4811
4838
  createdAt: Date;
4812
4839
  updatedAt: Date;
@@ -4830,9 +4857,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4830
4857
  callFrom?: {
4831
4858
  id: string;
4832
4859
  user: {
4860
+ name: string;
4833
4861
  id: string;
4834
4862
  address: string | null;
4835
- name: string;
4836
4863
  email: string;
4837
4864
  createdAt: Date;
4838
4865
  updatedAt: Date;
@@ -4986,9 +5013,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4986
5013
  telephonySignature: string | null;
4987
5014
  }>;
4988
5015
  }, "strip", z.ZodTypeAny, {
5016
+ name: string;
4989
5017
  id: string;
4990
5018
  address: string | null;
4991
- name: string;
4992
5019
  email: string;
4993
5020
  createdAt: Date;
4994
5021
  updatedAt: Date;
@@ -5029,9 +5056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5029
5056
  telephonySignature: string | null;
5030
5057
  };
5031
5058
  }, {
5059
+ name: string;
5032
5060
  id: string;
5033
5061
  address: string | null;
5034
- name: string;
5035
5062
  email: string;
5036
5063
  createdAt: Date;
5037
5064
  updatedAt: Date;
@@ -5085,9 +5112,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5085
5112
  extensionName: string;
5086
5113
  telephonySignature: string | null;
5087
5114
  user?: {
5115
+ name: string;
5088
5116
  id: string;
5089
5117
  address: string | null;
5090
- name: string;
5091
5118
  email: string;
5092
5119
  createdAt: Date;
5093
5120
  updatedAt: Date;
@@ -5141,9 +5168,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5141
5168
  extensionName: string;
5142
5169
  telephonySignature: string | null;
5143
5170
  user?: {
5171
+ name: string;
5144
5172
  id: string;
5145
5173
  address: string | null;
5146
- name: string;
5147
5174
  email: string;
5148
5175
  createdAt: Date;
5149
5176
  updatedAt: Date;
@@ -5213,9 +5240,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5213
5240
  callTo?: {
5214
5241
  id: string;
5215
5242
  user: {
5243
+ name: string;
5216
5244
  id: string;
5217
5245
  address: string | null;
5218
- name: string;
5219
5246
  email: string;
5220
5247
  createdAt: Date;
5221
5248
  updatedAt: Date;
@@ -5239,9 +5266,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5239
5266
  callFrom?: {
5240
5267
  id: string;
5241
5268
  user: {
5269
+ name: string;
5242
5270
  id: string;
5243
5271
  address: string | null;
5244
- name: string;
5245
5272
  email: string;
5246
5273
  createdAt: Date;
5247
5274
  updatedAt: Date;
@@ -5267,10 +5294,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5267
5294
  telephonyQueueId: string | null;
5268
5295
  contactId: string | null;
5269
5296
  contact?: {
5297
+ name: string;
5270
5298
  id: string;
5271
5299
  channel: string | null;
5272
5300
  address: string | null;
5273
- name: string;
5274
5301
  createdAt: Date;
5275
5302
  updatedAt: Date;
5276
5303
  deletedAt: Date | null;
@@ -5299,6 +5326,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5299
5326
  dateValue: Date | null;
5300
5327
  uploads: {
5301
5328
  id: string;
5329
+ status: string | null;
5302
5330
  createdAt: Date;
5303
5331
  updatedAt: Date;
5304
5332
  deletedAt: Date | null;
@@ -5307,7 +5335,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5307
5335
  bucketName: string;
5308
5336
  fileSize: number;
5309
5337
  fileUrl: string | null;
5310
- status?: string | undefined;
5311
5338
  }[];
5312
5339
  }[];
5313
5340
  company: {
@@ -5315,8 +5342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5315
5342
  createdAt: Date;
5316
5343
  updatedAt: Date;
5317
5344
  deletedAt: Date | null;
5318
- address?: string | null | undefined;
5319
5345
  name?: string | undefined;
5346
+ address?: string | null | undefined;
5320
5347
  phone?: string | null | undefined;
5321
5348
  industry?: string | null | undefined;
5322
5349
  } | null;
@@ -5324,8 +5351,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5324
5351
  contactProfile: string | null;
5325
5352
  socialProfileUrl: string | null;
5326
5353
  tags: {
5327
- id: string;
5328
5354
  name: string;
5355
+ id: string;
5329
5356
  createdAt: Date;
5330
5357
  updatedAt: Date;
5331
5358
  deletedAt: Date | null;
@@ -5350,8 +5377,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5350
5377
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5351
5378
  id: string;
5352
5379
  metadata: {
5353
- id: string;
5354
5380
  name: string;
5381
+ id: string;
5355
5382
  picture?: string | undefined;
5356
5383
  additionalCredentials?: any;
5357
5384
  };
@@ -5390,6 +5417,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5390
5417
  } | null | undefined;
5391
5418
  upload?: {
5392
5419
  id: string;
5420
+ status: string | null;
5393
5421
  createdAt: Date;
5394
5422
  updatedAt: Date;
5395
5423
  deletedAt: Date | null;
@@ -5398,7 +5426,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5398
5426
  bucketName: string;
5399
5427
  fileSize: number;
5400
5428
  fileUrl: string | null;
5401
- status?: string | undefined;
5402
5429
  } | null | undefined;
5403
5430
  extension?: {
5404
5431
  id: string;
@@ -5413,9 +5440,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5413
5440
  extensionName: string;
5414
5441
  telephonySignature: string | null;
5415
5442
  user?: {
5443
+ name: string;
5416
5444
  id: string;
5417
5445
  address: string | null;
5418
- name: string;
5419
5446
  email: string;
5420
5447
  createdAt: Date;
5421
5448
  updatedAt: Date;
@@ -5483,9 +5510,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5483
5510
  callTo?: {
5484
5511
  id: string;
5485
5512
  user: {
5513
+ name: string;
5486
5514
  id: string;
5487
5515
  address: string | null;
5488
- name: string;
5489
5516
  email: string;
5490
5517
  createdAt: Date;
5491
5518
  updatedAt: Date;
@@ -5509,9 +5536,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5509
5536
  callFrom?: {
5510
5537
  id: string;
5511
5538
  user: {
5539
+ name: string;
5512
5540
  id: string;
5513
5541
  address: string | null;
5514
- name: string;
5515
5542
  email: string;
5516
5543
  createdAt: Date;
5517
5544
  updatedAt: Date;
@@ -5537,10 +5564,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5537
5564
  telephonyQueueId: string | null;
5538
5565
  contactId: string | null;
5539
5566
  contact?: {
5567
+ name: string;
5540
5568
  id: string;
5541
5569
  channel: string | null;
5542
5570
  address: string | null;
5543
- name: string;
5544
5571
  createdAt: Date;
5545
5572
  updatedAt: Date;
5546
5573
  deletedAt: Date | null;
@@ -5569,6 +5596,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5569
5596
  dateValue: Date | null;
5570
5597
  uploads: {
5571
5598
  id: string;
5599
+ status: string | null;
5572
5600
  createdAt: Date;
5573
5601
  updatedAt: Date;
5574
5602
  deletedAt: Date | null;
@@ -5577,7 +5605,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5577
5605
  bucketName: string;
5578
5606
  fileSize: number;
5579
5607
  fileUrl: string | null;
5580
- status?: string | undefined;
5581
5608
  }[];
5582
5609
  }[];
5583
5610
  company: {
@@ -5585,8 +5612,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5585
5612
  createdAt: Date;
5586
5613
  updatedAt: Date;
5587
5614
  deletedAt: Date | null;
5588
- address?: string | null | undefined;
5589
5615
  name?: string | undefined;
5616
+ address?: string | null | undefined;
5590
5617
  phone?: string | null | undefined;
5591
5618
  industry?: string | null | undefined;
5592
5619
  } | null;
@@ -5594,8 +5621,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5594
5621
  contactProfile: string | null;
5595
5622
  socialProfileUrl: string | null;
5596
5623
  tags: {
5597
- id: string;
5598
5624
  name: string;
5625
+ id: string;
5599
5626
  createdAt: Date;
5600
5627
  updatedAt: Date;
5601
5628
  deletedAt: Date | null;
@@ -5620,8 +5647,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5620
5647
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5621
5648
  id: string;
5622
5649
  metadata: {
5623
- id: string;
5624
5650
  name: string;
5651
+ id: string;
5625
5652
  picture?: string | undefined;
5626
5653
  additionalCredentials?: any;
5627
5654
  };
@@ -5660,6 +5687,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5660
5687
  } | null | undefined;
5661
5688
  upload?: {
5662
5689
  id: string;
5690
+ status: string | null;
5663
5691
  createdAt: Date;
5664
5692
  updatedAt: Date;
5665
5693
  deletedAt: Date | null;
@@ -5668,7 +5696,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5668
5696
  bucketName: string;
5669
5697
  fileSize: number;
5670
5698
  fileUrl: string | null;
5671
- status?: string | undefined;
5672
5699
  } | null | undefined;
5673
5700
  extension?: {
5674
5701
  id: string;
@@ -5683,9 +5710,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5683
5710
  extensionName: string;
5684
5711
  telephonySignature: string | null;
5685
5712
  user?: {
5713
+ name: string;
5686
5714
  id: string;
5687
5715
  address: string | null;
5688
- name: string;
5689
5716
  email: string;
5690
5717
  createdAt: Date;
5691
5718
  updatedAt: Date;
@@ -5753,14 +5780,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5753
5780
  deletedAt: z.ZodNullable<z.ZodDate>;
5754
5781
  name: z.ZodString;
5755
5782
  }, "strip", z.ZodTypeAny, {
5756
- id: string;
5757
5783
  name: string;
5784
+ id: string;
5758
5785
  createdAt: Date;
5759
5786
  updatedAt: Date;
5760
5787
  deletedAt: Date | null;
5761
5788
  }, {
5762
- id: string;
5763
5789
  name: string;
5790
+ id: string;
5764
5791
  createdAt: Date;
5765
5792
  updatedAt: Date;
5766
5793
  deletedAt: Date | null;
@@ -5916,8 +5943,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5916
5943
  createdAt: Date;
5917
5944
  updatedAt: Date;
5918
5945
  deletedAt: Date | null;
5919
- address?: string | null | undefined;
5920
5946
  name?: string | undefined;
5947
+ address?: string | null | undefined;
5921
5948
  phone?: string | null | undefined;
5922
5949
  industry?: string | null | undefined;
5923
5950
  }, {
@@ -5925,8 +5952,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5925
5952
  createdAt: Date;
5926
5953
  updatedAt: Date;
5927
5954
  deletedAt: Date | null;
5928
- address?: string | null | undefined;
5929
5955
  name?: string | undefined;
5956
+ address?: string | null | undefined;
5930
5957
  phone?: string | null | undefined;
5931
5958
  industry?: string | null | undefined;
5932
5959
  }>>;
@@ -5944,13 +5971,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5944
5971
  picture: z.ZodOptional<z.ZodString>;
5945
5972
  additionalCredentials: z.ZodAny;
5946
5973
  }, "strip", z.ZodTypeAny, {
5947
- id: string;
5948
5974
  name: string;
5975
+ id: string;
5949
5976
  picture?: string | undefined;
5950
5977
  additionalCredentials?: any;
5951
5978
  }, {
5952
- id: string;
5953
5979
  name: string;
5980
+ id: string;
5954
5981
  picture?: string | undefined;
5955
5982
  additionalCredentials?: any;
5956
5983
  }>;
@@ -5958,8 +5985,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5958
5985
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5959
5986
  id: string;
5960
5987
  metadata: {
5961
- id: string;
5962
5988
  name: string;
5989
+ id: string;
5963
5990
  picture?: string | undefined;
5964
5991
  additionalCredentials?: any;
5965
5992
  };
@@ -5972,8 +5999,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5972
5999
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5973
6000
  id: string;
5974
6001
  metadata: {
5975
- id: string;
5976
6002
  name: string;
6003
+ id: string;
5977
6004
  picture?: string | undefined;
5978
6005
  additionalCredentials?: any;
5979
6006
  };
@@ -6083,9 +6110,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6083
6110
  fileSize: z.ZodNumber;
6084
6111
  fileKey: z.ZodString;
6085
6112
  fileUrl: z.ZodNullable<z.ZodString>;
6086
- status: z.ZodOptional<z.ZodString>;
6113
+ status: z.ZodNullable<z.ZodString>;
6087
6114
  }, "strip", z.ZodTypeAny, {
6088
6115
  id: string;
6116
+ status: string | null;
6089
6117
  createdAt: Date;
6090
6118
  updatedAt: Date;
6091
6119
  deletedAt: Date | null;
@@ -6094,9 +6122,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6094
6122
  bucketName: string;
6095
6123
  fileSize: number;
6096
6124
  fileUrl: string | null;
6097
- status?: string | undefined;
6098
6125
  }, {
6099
6126
  id: string;
6127
+ status: string | null;
6100
6128
  createdAt: Date;
6101
6129
  updatedAt: Date;
6102
6130
  deletedAt: Date | null;
@@ -6105,7 +6133,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6105
6133
  bucketName: string;
6106
6134
  fileSize: number;
6107
6135
  fileUrl: string | null;
6108
- status?: string | undefined;
6109
6136
  }>, "many">;
6110
6137
  }, "strip", z.ZodTypeAny, {
6111
6138
  id: string;
@@ -6132,6 +6159,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6132
6159
  dateValue: Date | null;
6133
6160
  uploads: {
6134
6161
  id: string;
6162
+ status: string | null;
6135
6163
  createdAt: Date;
6136
6164
  updatedAt: Date;
6137
6165
  deletedAt: Date | null;
@@ -6140,7 +6168,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6140
6168
  bucketName: string;
6141
6169
  fileSize: number;
6142
6170
  fileUrl: string | null;
6143
- status?: string | undefined;
6144
6171
  }[];
6145
6172
  }, {
6146
6173
  id: string;
@@ -6167,6 +6194,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6167
6194
  dateValue: Date | null;
6168
6195
  uploads: {
6169
6196
  id: string;
6197
+ status: string | null;
6170
6198
  createdAt: Date;
6171
6199
  updatedAt: Date;
6172
6200
  deletedAt: Date | null;
@@ -6175,7 +6203,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6175
6203
  bucketName: string;
6176
6204
  fileSize: number;
6177
6205
  fileUrl: string | null;
6178
- status?: string | undefined;
6179
6206
  }[];
6180
6207
  }>, "many">;
6181
6208
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6283,10 +6310,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6283
6310
  };
6284
6311
  }>, "many">>;
6285
6312
  }, "strip", z.ZodTypeAny, {
6313
+ name: string;
6286
6314
  id: string;
6287
6315
  channel: string | null;
6288
6316
  address: string | null;
6289
- name: string;
6290
6317
  createdAt: Date;
6291
6318
  updatedAt: Date;
6292
6319
  deletedAt: Date | null;
@@ -6315,6 +6342,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6315
6342
  dateValue: Date | null;
6316
6343
  uploads: {
6317
6344
  id: string;
6345
+ status: string | null;
6318
6346
  createdAt: Date;
6319
6347
  updatedAt: Date;
6320
6348
  deletedAt: Date | null;
@@ -6323,7 +6351,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6323
6351
  bucketName: string;
6324
6352
  fileSize: number;
6325
6353
  fileUrl: string | null;
6326
- status?: string | undefined;
6327
6354
  }[];
6328
6355
  }[];
6329
6356
  company: {
@@ -6331,8 +6358,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6331
6358
  createdAt: Date;
6332
6359
  updatedAt: Date;
6333
6360
  deletedAt: Date | null;
6334
- address?: string | null | undefined;
6335
6361
  name?: string | undefined;
6362
+ address?: string | null | undefined;
6336
6363
  phone?: string | null | undefined;
6337
6364
  industry?: string | null | undefined;
6338
6365
  } | null;
@@ -6340,8 +6367,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6340
6367
  contactProfile: string | null;
6341
6368
  socialProfileUrl: string | null;
6342
6369
  tags: {
6343
- id: string;
6344
6370
  name: string;
6371
+ id: string;
6345
6372
  createdAt: Date;
6346
6373
  updatedAt: Date;
6347
6374
  deletedAt: Date | null;
@@ -6366,8 +6393,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6366
6393
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6367
6394
  id: string;
6368
6395
  metadata: {
6369
- id: string;
6370
6396
  name: string;
6397
+ id: string;
6371
6398
  picture?: string | undefined;
6372
6399
  additionalCredentials?: any;
6373
6400
  };
@@ -6394,10 +6421,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6394
6421
  };
6395
6422
  }[] | undefined;
6396
6423
  }, {
6424
+ name: string;
6397
6425
  id: string;
6398
6426
  channel: string | null;
6399
6427
  address: string | null;
6400
- name: string;
6401
6428
  createdAt: Date;
6402
6429
  updatedAt: Date;
6403
6430
  deletedAt: Date | null;
@@ -6426,6 +6453,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6426
6453
  dateValue: Date | null;
6427
6454
  uploads: {
6428
6455
  id: string;
6456
+ status: string | null;
6429
6457
  createdAt: Date;
6430
6458
  updatedAt: Date;
6431
6459
  deletedAt: Date | null;
@@ -6434,7 +6462,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6434
6462
  bucketName: string;
6435
6463
  fileSize: number;
6436
6464
  fileUrl: string | null;
6437
- status?: string | undefined;
6438
6465
  }[];
6439
6466
  }[];
6440
6467
  company: {
@@ -6442,8 +6469,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6442
6469
  createdAt: Date;
6443
6470
  updatedAt: Date;
6444
6471
  deletedAt: Date | null;
6445
- address?: string | null | undefined;
6446
6472
  name?: string | undefined;
6473
+ address?: string | null | undefined;
6447
6474
  phone?: string | null | undefined;
6448
6475
  industry?: string | null | undefined;
6449
6476
  } | null;
@@ -6451,8 +6478,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6451
6478
  contactProfile: string | null;
6452
6479
  socialProfileUrl: string | null;
6453
6480
  tags: {
6454
- id: string;
6455
6481
  name: string;
6482
+ id: string;
6456
6483
  createdAt: Date;
6457
6484
  updatedAt: Date;
6458
6485
  deletedAt: Date | null;
@@ -6477,8 +6504,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6477
6504
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6478
6505
  id: string;
6479
6506
  metadata: {
6480
- id: string;
6481
6507
  name: string;
6508
+ id: string;
6482
6509
  picture?: string | undefined;
6483
6510
  additionalCredentials?: any;
6484
6511
  };
@@ -6623,9 +6650,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6623
6650
  telephonySignature: string | null;
6624
6651
  }>;
6625
6652
  }, "strip", z.ZodTypeAny, {
6653
+ name: string;
6626
6654
  id: string;
6627
6655
  address: string | null;
6628
- name: string;
6629
6656
  email: string;
6630
6657
  createdAt: Date;
6631
6658
  updatedAt: Date;
@@ -6666,9 +6693,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6666
6693
  telephonySignature: string | null;
6667
6694
  };
6668
6695
  }, {
6696
+ name: string;
6669
6697
  id: string;
6670
6698
  address: string | null;
6671
- name: string;
6672
6699
  email: string;
6673
6700
  createdAt: Date;
6674
6701
  updatedAt: Date;
@@ -6827,9 +6854,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6827
6854
  telephonySignature: string | null;
6828
6855
  }>;
6829
6856
  }, "strip", z.ZodTypeAny, {
6857
+ name: string;
6830
6858
  id: string;
6831
6859
  address: string | null;
6832
- name: string;
6833
6860
  email: string;
6834
6861
  createdAt: Date;
6835
6862
  updatedAt: Date;
@@ -6870,9 +6897,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6870
6897
  telephonySignature: string | null;
6871
6898
  };
6872
6899
  }, {
6900
+ name: string;
6873
6901
  id: string;
6874
6902
  address: string | null;
6875
- name: string;
6876
6903
  email: string;
6877
6904
  createdAt: Date;
6878
6905
  updatedAt: Date;
@@ -7031,9 +7058,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7031
7058
  telephonySignature: string | null;
7032
7059
  }>;
7033
7060
  }, "strip", z.ZodTypeAny, {
7061
+ name: string;
7034
7062
  id: string;
7035
7063
  address: string | null;
7036
- name: string;
7037
7064
  email: string;
7038
7065
  createdAt: Date;
7039
7066
  updatedAt: Date;
@@ -7074,9 +7101,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7074
7101
  telephonySignature: string | null;
7075
7102
  };
7076
7103
  }, {
7104
+ name: string;
7077
7105
  id: string;
7078
7106
  address: string | null;
7079
- name: string;
7080
7107
  email: string;
7081
7108
  createdAt: Date;
7082
7109
  updatedAt: Date;
@@ -7118,6 +7145,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7118
7145
  };
7119
7146
  }>>;
7120
7147
  contactLabel: z.ZodArray<z.ZodString, "many">;
7148
+ cxIntelligence: z.ZodObject<{
7149
+ id: z.ZodString;
7150
+ intelligenceType: z.ZodString;
7151
+ provider: z.ZodString;
7152
+ cxLogId: z.ZodString;
7153
+ transcript: z.ZodString;
7154
+ summary: z.ZodString;
7155
+ usage: z.ZodNumber;
7156
+ usageUnit: z.ZodString;
7157
+ }, "strip", z.ZodTypeAny, {
7158
+ id: string;
7159
+ summary: string;
7160
+ cxLogId: string;
7161
+ intelligenceType: string;
7162
+ provider: string;
7163
+ transcript: string;
7164
+ usage: number;
7165
+ usageUnit: string;
7166
+ }, {
7167
+ id: string;
7168
+ summary: string;
7169
+ cxLogId: string;
7170
+ intelligenceType: string;
7171
+ provider: string;
7172
+ transcript: string;
7173
+ usage: number;
7174
+ usageUnit: string;
7175
+ }>;
7121
7176
  }, "strip", z.ZodTypeAny, {
7122
7177
  id: string;
7123
7178
  channel: string | null;
@@ -7127,10 +7182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7127
7182
  deletedAt: Date | null;
7128
7183
  entityId: string;
7129
7184
  contact: {
7185
+ name: string;
7130
7186
  id: string;
7131
7187
  channel: string | null;
7132
7188
  address: string | null;
7133
- name: string;
7134
7189
  createdAt: Date;
7135
7190
  updatedAt: Date;
7136
7191
  deletedAt: Date | null;
@@ -7159,6 +7214,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7159
7214
  dateValue: Date | null;
7160
7215
  uploads: {
7161
7216
  id: string;
7217
+ status: string | null;
7162
7218
  createdAt: Date;
7163
7219
  updatedAt: Date;
7164
7220
  deletedAt: Date | null;
@@ -7167,7 +7223,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7167
7223
  bucketName: string;
7168
7224
  fileSize: number;
7169
7225
  fileUrl: string | null;
7170
- status?: string | undefined;
7171
7226
  }[];
7172
7227
  }[];
7173
7228
  company: {
@@ -7175,8 +7230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7175
7230
  createdAt: Date;
7176
7231
  updatedAt: Date;
7177
7232
  deletedAt: Date | null;
7178
- address?: string | null | undefined;
7179
7233
  name?: string | undefined;
7234
+ address?: string | null | undefined;
7180
7235
  phone?: string | null | undefined;
7181
7236
  industry?: string | null | undefined;
7182
7237
  } | null;
@@ -7184,8 +7239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7184
7239
  contactProfile: string | null;
7185
7240
  socialProfileUrl: string | null;
7186
7241
  tags: {
7187
- id: string;
7188
7242
  name: string;
7243
+ id: string;
7189
7244
  createdAt: Date;
7190
7245
  updatedAt: Date;
7191
7246
  deletedAt: Date | null;
@@ -7210,8 +7265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7210
7265
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7211
7266
  id: string;
7212
7267
  metadata: {
7213
- id: string;
7214
7268
  name: string;
7269
+ id: string;
7215
7270
  picture?: string | undefined;
7216
7271
  additionalCredentials?: any;
7217
7272
  };
@@ -7277,8 +7332,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7277
7332
  }[];
7278
7333
  }[];
7279
7334
  tags: {
7280
- id: string;
7281
7335
  name: string;
7336
+ id: string;
7282
7337
  createdAt: Date;
7283
7338
  updatedAt: Date;
7284
7339
  deletedAt: Date | null;
@@ -7317,26 +7372,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7317
7372
  room: {
7318
7373
  id: string;
7319
7374
  channel: {
7375
+ name: string;
7320
7376
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7321
7377
  id: string;
7322
- name: string;
7323
7378
  metadata: {
7324
- id: string;
7325
7379
  name: string;
7380
+ id: string;
7326
7381
  accessToken?: string | undefined;
7327
7382
  channelSecret?: string | undefined;
7328
7383
  additionalCredentials?: any;
7329
7384
  senderId?: string | undefined;
7330
7385
  whatsapp?: {
7331
- email: string;
7332
- wabaExternalId: string;
7333
- phoneNumberId: string;
7334
- wabaBusinessId?: string | undefined;
7335
- clientId?: string | undefined;
7336
- channelId?: string | undefined;
7337
- status?: "active" | "pending" | undefined;
7386
+ wabaBusinessId?: string | null | undefined;
7387
+ wabaExternalId?: string | null | undefined;
7388
+ phoneNumberId?: string | null | undefined;
7389
+ email?: string | null | undefined;
7390
+ clientId?: string | null | undefined;
7391
+ channelId?: string | null | undefined;
7392
+ waapiInstanceId?: string | null | undefined;
7393
+ qr?: string | null | undefined;
7394
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7338
7395
  apiKey?: string | undefined;
7339
7396
  tier?: "basic" | "regular" | "premium" | undefined;
7397
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7340
7398
  } | undefined;
7341
7399
  vonageCredentials?: {
7342
7400
  apiKey: string;
@@ -7352,9 +7410,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7352
7410
  updatedAt: Date;
7353
7411
  deletedAt: Date | null;
7354
7412
  actor: {
7413
+ name: string;
7355
7414
  id: string;
7356
7415
  address: string | null;
7357
- name: string;
7358
7416
  email: string;
7359
7417
  createdAt: Date;
7360
7418
  updatedAt: Date;
@@ -7401,8 +7459,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7401
7459
  connectedUserName: string;
7402
7460
  connectedUserId: string;
7403
7461
  botpressBot: {
7404
- id: string;
7405
7462
  name: string;
7463
+ id: string;
7406
7464
  accessToken: string;
7407
7465
  botId: string;
7408
7466
  integrationId: string;
@@ -7413,9 +7471,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7413
7471
  updatedAt: Date;
7414
7472
  deletedAt: Date | null;
7415
7473
  actor: {
7474
+ name: string;
7416
7475
  id: string;
7417
7476
  address: string | null;
7418
- name: string;
7419
7477
  email: string;
7420
7478
  createdAt: Date;
7421
7479
  updatedAt: Date;
@@ -7467,8 +7525,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7467
7525
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7468
7526
  id: string;
7469
7527
  metadata: {
7470
- id: string;
7471
7528
  name: string;
7529
+ id: string;
7472
7530
  picture?: string | undefined;
7473
7531
  additionalCredentials?: any;
7474
7532
  };
@@ -7476,10 +7534,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7476
7534
  updatedAt: Date;
7477
7535
  deletedAt: Date | null;
7478
7536
  contact: {
7537
+ name: string;
7479
7538
  id: string;
7480
7539
  channel: string | null;
7481
7540
  address: string | null;
7482
- name: string;
7483
7541
  createdAt: Date;
7484
7542
  updatedAt: Date;
7485
7543
  deletedAt: Date | null;
@@ -7508,6 +7566,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7508
7566
  dateValue: Date | null;
7509
7567
  uploads: {
7510
7568
  id: string;
7569
+ status: string | null;
7511
7570
  createdAt: Date;
7512
7571
  updatedAt: Date;
7513
7572
  deletedAt: Date | null;
@@ -7516,7 +7575,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7516
7575
  bucketName: string;
7517
7576
  fileSize: number;
7518
7577
  fileUrl: string | null;
7519
- status?: string | undefined;
7520
7578
  }[];
7521
7579
  }[];
7522
7580
  company: {
@@ -7524,8 +7582,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7524
7582
  createdAt: Date;
7525
7583
  updatedAt: Date;
7526
7584
  deletedAt: Date | null;
7527
- address?: string | null | undefined;
7528
7585
  name?: string | undefined;
7586
+ address?: string | null | undefined;
7529
7587
  phone?: string | null | undefined;
7530
7588
  industry?: string | null | undefined;
7531
7589
  } | null;
@@ -7533,8 +7591,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7533
7591
  contactProfile: string | null;
7534
7592
  socialProfileUrl: string | null;
7535
7593
  tags: {
7536
- id: string;
7537
7594
  name: string;
7595
+ id: string;
7538
7596
  createdAt: Date;
7539
7597
  updatedAt: Date;
7540
7598
  deletedAt: Date | null;
@@ -7559,8 +7617,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7559
7617
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7560
7618
  id: string;
7561
7619
  metadata: {
7562
- id: string;
7563
7620
  name: string;
7621
+ id: string;
7564
7622
  picture?: string | undefined;
7565
7623
  additionalCredentials?: any;
7566
7624
  };
@@ -7591,9 +7649,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7591
7649
  socialPlatformId: string;
7592
7650
  };
7593
7651
  assignee: {
7652
+ name: string;
7594
7653
  id: string;
7595
7654
  address: string | null;
7596
- name: string;
7597
7655
  email: string;
7598
7656
  createdAt: Date;
7599
7657
  updatedAt: Date;
@@ -7661,9 +7719,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7661
7719
  callTo?: {
7662
7720
  id: string;
7663
7721
  user: {
7722
+ name: string;
7664
7723
  id: string;
7665
7724
  address: string | null;
7666
- name: string;
7667
7725
  email: string;
7668
7726
  createdAt: Date;
7669
7727
  updatedAt: Date;
@@ -7687,9 +7745,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7687
7745
  callFrom?: {
7688
7746
  id: string;
7689
7747
  user: {
7748
+ name: string;
7690
7749
  id: string;
7691
7750
  address: string | null;
7692
- name: string;
7693
7751
  email: string;
7694
7752
  createdAt: Date;
7695
7753
  updatedAt: Date;
@@ -7715,10 +7773,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7715
7773
  telephonyQueueId: string | null;
7716
7774
  contactId: string | null;
7717
7775
  contact?: {
7776
+ name: string;
7718
7777
  id: string;
7719
7778
  channel: string | null;
7720
7779
  address: string | null;
7721
- name: string;
7722
7780
  createdAt: Date;
7723
7781
  updatedAt: Date;
7724
7782
  deletedAt: Date | null;
@@ -7747,6 +7805,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7747
7805
  dateValue: Date | null;
7748
7806
  uploads: {
7749
7807
  id: string;
7808
+ status: string | null;
7750
7809
  createdAt: Date;
7751
7810
  updatedAt: Date;
7752
7811
  deletedAt: Date | null;
@@ -7755,7 +7814,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7755
7814
  bucketName: string;
7756
7815
  fileSize: number;
7757
7816
  fileUrl: string | null;
7758
- status?: string | undefined;
7759
7817
  }[];
7760
7818
  }[];
7761
7819
  company: {
@@ -7763,8 +7821,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7763
7821
  createdAt: Date;
7764
7822
  updatedAt: Date;
7765
7823
  deletedAt: Date | null;
7766
- address?: string | null | undefined;
7767
7824
  name?: string | undefined;
7825
+ address?: string | null | undefined;
7768
7826
  phone?: string | null | undefined;
7769
7827
  industry?: string | null | undefined;
7770
7828
  } | null;
@@ -7772,8 +7830,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7772
7830
  contactProfile: string | null;
7773
7831
  socialProfileUrl: string | null;
7774
7832
  tags: {
7775
- id: string;
7776
7833
  name: string;
7834
+ id: string;
7777
7835
  createdAt: Date;
7778
7836
  updatedAt: Date;
7779
7837
  deletedAt: Date | null;
@@ -7798,8 +7856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7798
7856
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7799
7857
  id: string;
7800
7858
  metadata: {
7801
- id: string;
7802
7859
  name: string;
7860
+ id: string;
7803
7861
  picture?: string | undefined;
7804
7862
  additionalCredentials?: any;
7805
7863
  };
@@ -7838,6 +7896,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7838
7896
  } | null | undefined;
7839
7897
  upload?: {
7840
7898
  id: string;
7899
+ status: string | null;
7841
7900
  createdAt: Date;
7842
7901
  updatedAt: Date;
7843
7902
  deletedAt: Date | null;
@@ -7846,7 +7905,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7846
7905
  bucketName: string;
7847
7906
  fileSize: number;
7848
7907
  fileUrl: string | null;
7849
- status?: string | undefined;
7850
7908
  } | null | undefined;
7851
7909
  extension?: {
7852
7910
  id: string;
@@ -7861,9 +7919,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7861
7919
  extensionName: string;
7862
7920
  telephonySignature: string | null;
7863
7921
  user?: {
7922
+ name: string;
7864
7923
  id: string;
7865
7924
  address: string | null;
7866
- name: string;
7867
7925
  email: string;
7868
7926
  createdAt: Date;
7869
7927
  updatedAt: Date;
@@ -7910,9 +7968,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7910
7968
  queueName?: string | null | undefined;
7911
7969
  } | null;
7912
7970
  firstAssignee: {
7971
+ name: string;
7913
7972
  id: string;
7914
7973
  address: string | null;
7915
- name: string;
7916
7974
  email: string;
7917
7975
  createdAt: Date;
7918
7976
  updatedAt: Date;
@@ -7954,9 +8012,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7954
8012
  };
7955
8013
  } | null;
7956
8014
  agent: {
8015
+ name: string;
7957
8016
  id: string;
7958
8017
  address: string | null;
7959
- name: string;
7960
8018
  email: string;
7961
8019
  createdAt: Date;
7962
8020
  updatedAt: Date;
@@ -7998,9 +8056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7998
8056
  };
7999
8057
  } | null;
8000
8058
  closedAssignee: {
8059
+ name: string;
8001
8060
  id: string;
8002
8061
  address: string | null;
8003
- name: string;
8004
8062
  email: string;
8005
8063
  createdAt: Date;
8006
8064
  updatedAt: Date;
@@ -8042,6 +8100,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8042
8100
  };
8043
8101
  } | null;
8044
8102
  contactLabel: string[];
8103
+ cxIntelligence: {
8104
+ id: string;
8105
+ summary: string;
8106
+ cxLogId: string;
8107
+ intelligenceType: string;
8108
+ provider: string;
8109
+ transcript: string;
8110
+ usage: number;
8111
+ usageUnit: string;
8112
+ };
8045
8113
  }, {
8046
8114
  id: string;
8047
8115
  channel: string | null;
@@ -8051,10 +8119,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8051
8119
  deletedAt: Date | null;
8052
8120
  entityId: string;
8053
8121
  contact: {
8122
+ name: string;
8054
8123
  id: string;
8055
8124
  channel: string | null;
8056
8125
  address: string | null;
8057
- name: string;
8058
8126
  createdAt: Date;
8059
8127
  updatedAt: Date;
8060
8128
  deletedAt: Date | null;
@@ -8083,6 +8151,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8083
8151
  dateValue: Date | null;
8084
8152
  uploads: {
8085
8153
  id: string;
8154
+ status: string | null;
8086
8155
  createdAt: Date;
8087
8156
  updatedAt: Date;
8088
8157
  deletedAt: Date | null;
@@ -8091,7 +8160,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8091
8160
  bucketName: string;
8092
8161
  fileSize: number;
8093
8162
  fileUrl: string | null;
8094
- status?: string | undefined;
8095
8163
  }[];
8096
8164
  }[];
8097
8165
  company: {
@@ -8099,8 +8167,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8099
8167
  createdAt: Date;
8100
8168
  updatedAt: Date;
8101
8169
  deletedAt: Date | null;
8102
- address?: string | null | undefined;
8103
8170
  name?: string | undefined;
8171
+ address?: string | null | undefined;
8104
8172
  phone?: string | null | undefined;
8105
8173
  industry?: string | null | undefined;
8106
8174
  } | null;
@@ -8108,8 +8176,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8108
8176
  contactProfile: string | null;
8109
8177
  socialProfileUrl: string | null;
8110
8178
  tags: {
8111
- id: string;
8112
8179
  name: string;
8180
+ id: string;
8113
8181
  createdAt: Date;
8114
8182
  updatedAt: Date;
8115
8183
  deletedAt: Date | null;
@@ -8134,8 +8202,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8134
8202
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8135
8203
  id: string;
8136
8204
  metadata: {
8137
- id: string;
8138
8205
  name: string;
8206
+ id: string;
8139
8207
  picture?: string | undefined;
8140
8208
  additionalCredentials?: any;
8141
8209
  };
@@ -8201,8 +8269,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8201
8269
  }[];
8202
8270
  }[];
8203
8271
  tags: {
8204
- id: string;
8205
8272
  name: string;
8273
+ id: string;
8206
8274
  createdAt: Date;
8207
8275
  updatedAt: Date;
8208
8276
  deletedAt: Date | null;
@@ -8241,26 +8309,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8241
8309
  room: {
8242
8310
  id: string;
8243
8311
  channel: {
8312
+ name: string;
8244
8313
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8245
8314
  id: string;
8246
- name: string;
8247
8315
  metadata: {
8248
- id: string;
8249
8316
  name: string;
8317
+ id: string;
8250
8318
  accessToken?: string | undefined;
8251
8319
  channelSecret?: string | undefined;
8252
8320
  additionalCredentials?: any;
8253
8321
  senderId?: string | undefined;
8254
8322
  whatsapp?: {
8255
- email: string;
8256
- wabaExternalId: string;
8257
- phoneNumberId: string;
8258
- wabaBusinessId?: string | undefined;
8259
- clientId?: string | undefined;
8260
- channelId?: string | undefined;
8261
- status?: "active" | "pending" | undefined;
8323
+ wabaBusinessId?: string | null | undefined;
8324
+ wabaExternalId?: string | null | undefined;
8325
+ phoneNumberId?: string | null | undefined;
8326
+ email?: string | null | undefined;
8327
+ clientId?: string | null | undefined;
8328
+ channelId?: string | null | undefined;
8329
+ waapiInstanceId?: string | null | undefined;
8330
+ qr?: string | null | undefined;
8331
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8262
8332
  apiKey?: string | undefined;
8263
8333
  tier?: "basic" | "regular" | "premium" | undefined;
8334
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8264
8335
  } | undefined;
8265
8336
  vonageCredentials?: {
8266
8337
  apiKey: string;
@@ -8276,9 +8347,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8276
8347
  updatedAt: Date;
8277
8348
  deletedAt: Date | null;
8278
8349
  actor: {
8350
+ name: string;
8279
8351
  id: string;
8280
8352
  address: string | null;
8281
- name: string;
8282
8353
  email: string;
8283
8354
  createdAt: Date;
8284
8355
  updatedAt: Date;
@@ -8325,8 +8396,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8325
8396
  connectedUserName: string;
8326
8397
  connectedUserId: string;
8327
8398
  botpressBot: {
8328
- id: string;
8329
8399
  name: string;
8400
+ id: string;
8330
8401
  accessToken: string;
8331
8402
  botId: string;
8332
8403
  integrationId: string;
@@ -8337,9 +8408,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8337
8408
  updatedAt: Date;
8338
8409
  deletedAt: Date | null;
8339
8410
  actor: {
8411
+ name: string;
8340
8412
  id: string;
8341
8413
  address: string | null;
8342
- name: string;
8343
8414
  email: string;
8344
8415
  createdAt: Date;
8345
8416
  updatedAt: Date;
@@ -8391,8 +8462,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8391
8462
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8392
8463
  id: string;
8393
8464
  metadata: {
8394
- id: string;
8395
8465
  name: string;
8466
+ id: string;
8396
8467
  picture?: string | undefined;
8397
8468
  additionalCredentials?: any;
8398
8469
  };
@@ -8400,10 +8471,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8400
8471
  updatedAt: Date;
8401
8472
  deletedAt: Date | null;
8402
8473
  contact: {
8474
+ name: string;
8403
8475
  id: string;
8404
8476
  channel: string | null;
8405
8477
  address: string | null;
8406
- name: string;
8407
8478
  createdAt: Date;
8408
8479
  updatedAt: Date;
8409
8480
  deletedAt: Date | null;
@@ -8432,6 +8503,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8432
8503
  dateValue: Date | null;
8433
8504
  uploads: {
8434
8505
  id: string;
8506
+ status: string | null;
8435
8507
  createdAt: Date;
8436
8508
  updatedAt: Date;
8437
8509
  deletedAt: Date | null;
@@ -8440,7 +8512,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8440
8512
  bucketName: string;
8441
8513
  fileSize: number;
8442
8514
  fileUrl: string | null;
8443
- status?: string | undefined;
8444
8515
  }[];
8445
8516
  }[];
8446
8517
  company: {
@@ -8448,8 +8519,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8448
8519
  createdAt: Date;
8449
8520
  updatedAt: Date;
8450
8521
  deletedAt: Date | null;
8451
- address?: string | null | undefined;
8452
8522
  name?: string | undefined;
8523
+ address?: string | null | undefined;
8453
8524
  phone?: string | null | undefined;
8454
8525
  industry?: string | null | undefined;
8455
8526
  } | null;
@@ -8457,8 +8528,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8457
8528
  contactProfile: string | null;
8458
8529
  socialProfileUrl: string | null;
8459
8530
  tags: {
8460
- id: string;
8461
8531
  name: string;
8532
+ id: string;
8462
8533
  createdAt: Date;
8463
8534
  updatedAt: Date;
8464
8535
  deletedAt: Date | null;
@@ -8483,8 +8554,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8483
8554
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8484
8555
  id: string;
8485
8556
  metadata: {
8486
- id: string;
8487
8557
  name: string;
8558
+ id: string;
8488
8559
  picture?: string | undefined;
8489
8560
  additionalCredentials?: any;
8490
8561
  };
@@ -8515,9 +8586,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8515
8586
  socialPlatformId: string;
8516
8587
  };
8517
8588
  assignee: {
8589
+ name: string;
8518
8590
  id: string;
8519
8591
  address: string | null;
8520
- name: string;
8521
8592
  email: string;
8522
8593
  createdAt: Date;
8523
8594
  updatedAt: Date;
@@ -8585,9 +8656,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8585
8656
  callTo?: {
8586
8657
  id: string;
8587
8658
  user: {
8659
+ name: string;
8588
8660
  id: string;
8589
8661
  address: string | null;
8590
- name: string;
8591
8662
  email: string;
8592
8663
  createdAt: Date;
8593
8664
  updatedAt: Date;
@@ -8611,9 +8682,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8611
8682
  callFrom?: {
8612
8683
  id: string;
8613
8684
  user: {
8685
+ name: string;
8614
8686
  id: string;
8615
8687
  address: string | null;
8616
- name: string;
8617
8688
  email: string;
8618
8689
  createdAt: Date;
8619
8690
  updatedAt: Date;
@@ -8639,10 +8710,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8639
8710
  telephonyQueueId: string | null;
8640
8711
  contactId: string | null;
8641
8712
  contact?: {
8713
+ name: string;
8642
8714
  id: string;
8643
8715
  channel: string | null;
8644
8716
  address: string | null;
8645
- name: string;
8646
8717
  createdAt: Date;
8647
8718
  updatedAt: Date;
8648
8719
  deletedAt: Date | null;
@@ -8671,6 +8742,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8671
8742
  dateValue: Date | null;
8672
8743
  uploads: {
8673
8744
  id: string;
8745
+ status: string | null;
8674
8746
  createdAt: Date;
8675
8747
  updatedAt: Date;
8676
8748
  deletedAt: Date | null;
@@ -8679,7 +8751,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8679
8751
  bucketName: string;
8680
8752
  fileSize: number;
8681
8753
  fileUrl: string | null;
8682
- status?: string | undefined;
8683
8754
  }[];
8684
8755
  }[];
8685
8756
  company: {
@@ -8687,8 +8758,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8687
8758
  createdAt: Date;
8688
8759
  updatedAt: Date;
8689
8760
  deletedAt: Date | null;
8690
- address?: string | null | undefined;
8691
8761
  name?: string | undefined;
8762
+ address?: string | null | undefined;
8692
8763
  phone?: string | null | undefined;
8693
8764
  industry?: string | null | undefined;
8694
8765
  } | null;
@@ -8696,8 +8767,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8696
8767
  contactProfile: string | null;
8697
8768
  socialProfileUrl: string | null;
8698
8769
  tags: {
8699
- id: string;
8700
8770
  name: string;
8771
+ id: string;
8701
8772
  createdAt: Date;
8702
8773
  updatedAt: Date;
8703
8774
  deletedAt: Date | null;
@@ -8722,8 +8793,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8722
8793
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8723
8794
  id: string;
8724
8795
  metadata: {
8725
- id: string;
8726
8796
  name: string;
8797
+ id: string;
8727
8798
  picture?: string | undefined;
8728
8799
  additionalCredentials?: any;
8729
8800
  };
@@ -8762,6 +8833,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8762
8833
  } | null | undefined;
8763
8834
  upload?: {
8764
8835
  id: string;
8836
+ status: string | null;
8765
8837
  createdAt: Date;
8766
8838
  updatedAt: Date;
8767
8839
  deletedAt: Date | null;
@@ -8770,7 +8842,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8770
8842
  bucketName: string;
8771
8843
  fileSize: number;
8772
8844
  fileUrl: string | null;
8773
- status?: string | undefined;
8774
8845
  } | null | undefined;
8775
8846
  extension?: {
8776
8847
  id: string;
@@ -8785,9 +8856,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8785
8856
  extensionName: string;
8786
8857
  telephonySignature: string | null;
8787
8858
  user?: {
8859
+ name: string;
8788
8860
  id: string;
8789
8861
  address: string | null;
8790
- name: string;
8791
8862
  email: string;
8792
8863
  createdAt: Date;
8793
8864
  updatedAt: Date;
@@ -8834,9 +8905,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8834
8905
  queueName?: string | null | undefined;
8835
8906
  } | null;
8836
8907
  firstAssignee: {
8908
+ name: string;
8837
8909
  id: string;
8838
8910
  address: string | null;
8839
- name: string;
8840
8911
  email: string;
8841
8912
  createdAt: Date;
8842
8913
  updatedAt: Date;
@@ -8878,9 +8949,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8878
8949
  };
8879
8950
  } | null;
8880
8951
  agent: {
8952
+ name: string;
8881
8953
  id: string;
8882
8954
  address: string | null;
8883
- name: string;
8884
8955
  email: string;
8885
8956
  createdAt: Date;
8886
8957
  updatedAt: Date;
@@ -8922,9 +8993,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8922
8993
  };
8923
8994
  } | null;
8924
8995
  closedAssignee: {
8996
+ name: string;
8925
8997
  id: string;
8926
8998
  address: string | null;
8927
- name: string;
8928
8999
  email: string;
8929
9000
  createdAt: Date;
8930
9001
  updatedAt: Date;
@@ -8966,5 +9037,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8966
9037
  };
8967
9038
  } | null;
8968
9039
  contactLabel: string[];
9040
+ cxIntelligence: {
9041
+ id: string;
9042
+ summary: string;
9043
+ cxLogId: string;
9044
+ intelligenceType: string;
9045
+ provider: string;
9046
+ transcript: string;
9047
+ usage: number;
9048
+ usageUnit: string;
9049
+ };
8969
9050
  }>;
8970
9051
  //# sourceMappingURL=schema.d.ts.map