@kl1/contracts 1.2.41-uat → 1.2.43-uat

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 (134) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +1482 -850
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +72 -40
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +86 -48
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +5325 -4547
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1491 -1329
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1268 -995
  27. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  28. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  29. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  30. package/dist/api-contracts/src/company/index.d.ts +4 -4
  31. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  32. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  33. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  34. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  35. package/dist/api-contracts/src/contract.d.ts +14104 -10759
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +311 -274
  38. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-log/schema.d.ts +257 -226
  40. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  41. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  42. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  43. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  44. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  45. package/dist/api-contracts/src/facebook-feed/index.d.ts +1393 -1019
  46. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/facebook-feed/schema.d.ts +110 -85
  48. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -80
  50. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  53. package/dist/api-contracts/src/instagram/index.d.ts +1132 -839
  54. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  56. package/dist/api-contracts/src/line/index.d.ts +1093 -832
  57. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  59. package/dist/api-contracts/src/line/validation.d.ts +108 -77
  60. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  62. package/dist/api-contracts/src/mail/mail-contract.d.ts +2598 -2598
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1474 -1474
  66. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  67. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  68. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  69. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
  71. package/dist/api-contracts/src/messenger/index.d.ts +1135 -842
  72. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  74. package/dist/api-contracts/src/messenger/validation.d.ts +95 -76
  75. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  76. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  77. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  78. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  79. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  80. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  81. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  82. package/dist/api-contracts/src/sms/index.d.ts +187 -131
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  85. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  86. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  87. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  88. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  89. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  90. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  91. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  92. package/dist/api-contracts/src/telegram/index.d.ts +950 -739
  93. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  95. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  96. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  97. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  98. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  99. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  100. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  101. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  102. package/dist/api-contracts/src/user/index.d.ts +23 -23
  103. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  104. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  105. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  106. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  107. package/dist/api-contracts/src/viber/index.d.ts +962 -751
  108. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  110. package/dist/api-contracts/src/webchat/index.d.ts +956 -745
  111. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  113. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  114. package/dist/api-contracts/src/whatsapp/index.d.ts +1186 -774
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  116. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  117. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  118. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  119. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  120. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  121. package/dist/api-contracts/src/workflow-rule/index.d.ts +338 -276
  122. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  123. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  124. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  125. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  126. package/dist/api-contracts/utils.d.ts +1 -1
  127. package/dist/api-contracts/utils.d.ts.map +1 -1
  128. package/dist/entities/src/enums/chat.d.ts +1 -0
  129. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  130. package/dist/index.js +77 -3
  131. package/dist/index.js.map +1 -1
  132. package/dist/index.mjs +77 -3
  133. package/dist/index.mjs.map +1 -1
  134. package/package.json +1 -1
@@ -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
  };
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -2337,10 +2337,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2337
2337
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2338
2338
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2339
2339
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2340
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
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"]>>;
2343
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2345
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2344
2346
  }, "strip", z.ZodTypeAny, {
2345
2347
  wabaBusinessId?: string | null | undefined;
2346
2348
  wabaExternalId?: string | null | undefined;
@@ -2348,10 +2350,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2348
2350
  email?: string | null | undefined;
2349
2351
  clientId?: string | null | undefined;
2350
2352
  channelId?: string | null | undefined;
2351
- status?: "active" | "pending" | undefined;
2353
+ waapiInstanceId?: string | null | undefined;
2354
+ qr?: string | null | undefined;
2355
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2352
2356
  apiKey?: string | undefined;
2353
2357
  tier?: "basic" | "regular" | "premium" | undefined;
2354
- integrationType?: "meta" | "360dialog" | undefined;
2358
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2355
2359
  }, {
2356
2360
  wabaBusinessId?: string | null | undefined;
2357
2361
  wabaExternalId?: string | null | undefined;
@@ -2359,10 +2363,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2359
2363
  email?: string | null | undefined;
2360
2364
  clientId?: string | null | undefined;
2361
2365
  channelId?: string | null | undefined;
2362
- status?: "active" | "pending" | undefined;
2366
+ waapiInstanceId?: string | null | undefined;
2367
+ qr?: string | null | undefined;
2368
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2363
2369
  apiKey?: string | undefined;
2364
2370
  tier?: "basic" | "regular" | "premium" | undefined;
2365
- integrationType?: "meta" | "360dialog" | undefined;
2371
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2366
2372
  }>>;
2367
2373
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2368
2374
  mobileNumber: z.ZodString;
@@ -2379,9 +2385,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2379
2385
  }>>;
2380
2386
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2381
2387
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2388
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2382
2389
  }, "strip", z.ZodTypeAny, {
2383
- id: string;
2384
2390
  name: string;
2391
+ id: string;
2385
2392
  accessToken?: string | undefined;
2386
2393
  channelSecret?: string | undefined;
2387
2394
  additionalCredentials?: any;
@@ -2393,10 +2400,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2393
2400
  email?: string | null | undefined;
2394
2401
  clientId?: string | null | undefined;
2395
2402
  channelId?: string | null | undefined;
2396
- status?: "active" | "pending" | undefined;
2403
+ waapiInstanceId?: string | null | undefined;
2404
+ qr?: string | null | undefined;
2405
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2397
2406
  apiKey?: string | undefined;
2398
2407
  tier?: "basic" | "regular" | "premium" | undefined;
2399
- integrationType?: "meta" | "360dialog" | undefined;
2408
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2400
2409
  } | undefined;
2401
2410
  vonageCredentials?: {
2402
2411
  apiKey: string;
@@ -2405,9 +2414,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2405
2414
  } | undefined;
2406
2415
  lineRichMenuId?: string | null | undefined;
2407
2416
  messengerIntegrationType?: "own" | "business" | undefined;
2417
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2408
2418
  }, {
2409
- id: string;
2410
2419
  name: string;
2420
+ id: string;
2411
2421
  accessToken?: string | undefined;
2412
2422
  channelSecret?: string | undefined;
2413
2423
  additionalCredentials?: any;
@@ -2419,10 +2429,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2419
2429
  email?: string | null | undefined;
2420
2430
  clientId?: string | null | undefined;
2421
2431
  channelId?: string | null | undefined;
2422
- status?: "active" | "pending" | undefined;
2432
+ waapiInstanceId?: string | null | undefined;
2433
+ qr?: string | null | undefined;
2434
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2423
2435
  apiKey?: string | undefined;
2424
2436
  tier?: "basic" | "regular" | "premium" | undefined;
2425
- integrationType?: "meta" | "360dialog" | undefined;
2437
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2426
2438
  } | undefined;
2427
2439
  vonageCredentials?: {
2428
2440
  apiKey: string;
@@ -2431,6 +2443,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2431
2443
  } | undefined;
2432
2444
  lineRichMenuId?: string | null | undefined;
2433
2445
  messengerIntegrationType?: "own" | "business" | undefined;
2446
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2434
2447
  }>;
2435
2448
  brandName: z.ZodString;
2436
2449
  platformId: z.ZodString;
@@ -2445,14 +2458,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2445
2458
  integrationId: z.ZodString;
2446
2459
  accessToken: z.ZodString;
2447
2460
  }, "strip", z.ZodTypeAny, {
2448
- id: string;
2449
2461
  name: string;
2462
+ id: string;
2450
2463
  accessToken: string;
2451
2464
  botId: string;
2452
2465
  integrationId: string;
2453
2466
  }, {
2454
- id: string;
2455
2467
  name: string;
2468
+ id: string;
2456
2469
  accessToken: string;
2457
2470
  botId: string;
2458
2471
  integrationId: string;
@@ -2575,9 +2588,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2575
2588
  telephonySignature: string | null;
2576
2589
  }>;
2577
2590
  }, "strip", z.ZodTypeAny, {
2591
+ name: string;
2578
2592
  id: string;
2579
2593
  address: string | null;
2580
- name: string;
2581
2594
  email: string;
2582
2595
  createdAt: Date;
2583
2596
  updatedAt: Date;
@@ -2618,9 +2631,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2618
2631
  telephonySignature: string | null;
2619
2632
  };
2620
2633
  }, {
2634
+ name: string;
2621
2635
  id: string;
2622
2636
  address: string | null;
2623
- name: string;
2624
2637
  email: string;
2625
2638
  createdAt: Date;
2626
2639
  updatedAt: Date;
@@ -2662,12 +2675,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2662
2675
  };
2663
2676
  }>;
2664
2677
  }, "strip", z.ZodTypeAny, {
2678
+ name: string;
2665
2679
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2666
2680
  id: string;
2667
- name: string;
2668
2681
  metadata: {
2669
- id: string;
2670
2682
  name: string;
2683
+ id: string;
2671
2684
  accessToken?: string | undefined;
2672
2685
  channelSecret?: string | undefined;
2673
2686
  additionalCredentials?: any;
@@ -2679,10 +2692,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2679
2692
  email?: string | null | undefined;
2680
2693
  clientId?: string | null | undefined;
2681
2694
  channelId?: string | null | undefined;
2682
- status?: "active" | "pending" | undefined;
2695
+ waapiInstanceId?: string | null | undefined;
2696
+ qr?: string | null | undefined;
2697
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2683
2698
  apiKey?: string | undefined;
2684
2699
  tier?: "basic" | "regular" | "premium" | undefined;
2685
- integrationType?: "meta" | "360dialog" | undefined;
2700
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2686
2701
  } | undefined;
2687
2702
  vonageCredentials?: {
2688
2703
  apiKey: string;
@@ -2691,15 +2706,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2691
2706
  } | undefined;
2692
2707
  lineRichMenuId?: string | null | undefined;
2693
2708
  messengerIntegrationType?: "own" | "business" | undefined;
2709
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2694
2710
  };
2695
2711
  status: boolean;
2696
2712
  createdAt: Date;
2697
2713
  updatedAt: Date;
2698
2714
  deletedAt: Date | null;
2699
2715
  actor: {
2716
+ name: string;
2700
2717
  id: string;
2701
2718
  address: string | null;
2702
- name: string;
2703
2719
  email: string;
2704
2720
  createdAt: Date;
2705
2721
  updatedAt: Date;
@@ -2746,19 +2762,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2746
2762
  connectedUserName: string;
2747
2763
  connectedUserId: string;
2748
2764
  botpressBot: {
2749
- id: string;
2750
2765
  name: string;
2766
+ id: string;
2751
2767
  accessToken: string;
2752
2768
  botId: string;
2753
2769
  integrationId: string;
2754
2770
  } | null;
2755
2771
  }, {
2772
+ name: string;
2756
2773
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2757
2774
  id: string;
2758
- name: string;
2759
2775
  metadata: {
2760
- id: string;
2761
2776
  name: string;
2777
+ id: string;
2762
2778
  accessToken?: string | undefined;
2763
2779
  channelSecret?: string | undefined;
2764
2780
  additionalCredentials?: any;
@@ -2770,10 +2786,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2770
2786
  email?: string | null | undefined;
2771
2787
  clientId?: string | null | undefined;
2772
2788
  channelId?: string | null | undefined;
2773
- status?: "active" | "pending" | undefined;
2789
+ waapiInstanceId?: string | null | undefined;
2790
+ qr?: string | null | undefined;
2791
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2774
2792
  apiKey?: string | undefined;
2775
2793
  tier?: "basic" | "regular" | "premium" | undefined;
2776
- integrationType?: "meta" | "360dialog" | undefined;
2794
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2777
2795
  } | undefined;
2778
2796
  vonageCredentials?: {
2779
2797
  apiKey: string;
@@ -2782,15 +2800,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2782
2800
  } | undefined;
2783
2801
  lineRichMenuId?: string | null | undefined;
2784
2802
  messengerIntegrationType?: "own" | "business" | undefined;
2803
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2785
2804
  };
2786
2805
  status: boolean;
2787
2806
  createdAt: Date;
2788
2807
  updatedAt: Date;
2789
2808
  deletedAt: Date | null;
2790
2809
  actor: {
2810
+ name: string;
2791
2811
  id: string;
2792
2812
  address: string | null;
2793
- name: string;
2794
2813
  email: string;
2795
2814
  createdAt: Date;
2796
2815
  updatedAt: Date;
@@ -2837,8 +2856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2837
2856
  connectedUserName: string;
2838
2857
  connectedUserId: string;
2839
2858
  botpressBot: {
2840
- id: string;
2841
2859
  name: string;
2860
+ id: string;
2842
2861
  accessToken: string;
2843
2862
  botId: string;
2844
2863
  integrationId: string;
@@ -2847,12 +2866,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2847
2866
  }, "strip", z.ZodTypeAny, {
2848
2867
  id: string;
2849
2868
  channel: {
2869
+ name: string;
2850
2870
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2851
2871
  id: string;
2852
- name: string;
2853
2872
  metadata: {
2854
- id: string;
2855
2873
  name: string;
2874
+ id: string;
2856
2875
  accessToken?: string | undefined;
2857
2876
  channelSecret?: string | undefined;
2858
2877
  additionalCredentials?: any;
@@ -2864,10 +2883,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2864
2883
  email?: string | null | undefined;
2865
2884
  clientId?: string | null | undefined;
2866
2885
  channelId?: string | null | undefined;
2867
- status?: "active" | "pending" | undefined;
2886
+ waapiInstanceId?: string | null | undefined;
2887
+ qr?: string | null | undefined;
2888
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2868
2889
  apiKey?: string | undefined;
2869
2890
  tier?: "basic" | "regular" | "premium" | undefined;
2870
- integrationType?: "meta" | "360dialog" | undefined;
2891
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2871
2892
  } | undefined;
2872
2893
  vonageCredentials?: {
2873
2894
  apiKey: string;
@@ -2876,15 +2897,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2876
2897
  } | undefined;
2877
2898
  lineRichMenuId?: string | null | undefined;
2878
2899
  messengerIntegrationType?: "own" | "business" | undefined;
2900
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2879
2901
  };
2880
2902
  status: boolean;
2881
2903
  createdAt: Date;
2882
2904
  updatedAt: Date;
2883
2905
  deletedAt: Date | null;
2884
2906
  actor: {
2907
+ name: string;
2885
2908
  id: string;
2886
2909
  address: string | null;
2887
- name: string;
2888
2910
  email: string;
2889
2911
  createdAt: Date;
2890
2912
  updatedAt: Date;
@@ -2931,8 +2953,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2931
2953
  connectedUserName: string;
2932
2954
  connectedUserId: string;
2933
2955
  botpressBot: {
2934
- id: string;
2935
2956
  name: string;
2957
+ id: string;
2936
2958
  accessToken: string;
2937
2959
  botId: string;
2938
2960
  integrationId: string;
@@ -2943,9 +2965,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2943
2965
  updatedAt: Date;
2944
2966
  deletedAt: Date | null;
2945
2967
  actor: {
2968
+ name: string;
2946
2969
  id: string;
2947
2970
  address: string | null;
2948
- name: string;
2949
2971
  email: string;
2950
2972
  createdAt: Date;
2951
2973
  updatedAt: Date;
@@ -2997,8 +3019,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2997
3019
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2998
3020
  id: string;
2999
3021
  metadata: {
3000
- id: string;
3001
3022
  name: string;
3023
+ id: string;
3002
3024
  picture?: string | undefined;
3003
3025
  additionalCredentials?: any;
3004
3026
  };
@@ -3006,10 +3028,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3006
3028
  updatedAt: Date;
3007
3029
  deletedAt: Date | null;
3008
3030
  contact: {
3031
+ name: string;
3009
3032
  id: string;
3010
3033
  channel: string | null;
3011
3034
  address: string | null;
3012
- name: string;
3013
3035
  createdAt: Date;
3014
3036
  updatedAt: Date;
3015
3037
  deletedAt: Date | null;
@@ -3054,8 +3076,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3054
3076
  createdAt: Date;
3055
3077
  updatedAt: Date;
3056
3078
  deletedAt: Date | null;
3057
- address?: string | null | undefined;
3058
3079
  name?: string | undefined;
3080
+ address?: string | null | undefined;
3059
3081
  phone?: string | null | undefined;
3060
3082
  industry?: string | null | undefined;
3061
3083
  } | null;
@@ -3063,8 +3085,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3063
3085
  contactProfile: string | null;
3064
3086
  socialProfileUrl: string | null;
3065
3087
  tags: {
3066
- id: string;
3067
3088
  name: string;
3089
+ id: string;
3068
3090
  createdAt: Date;
3069
3091
  updatedAt: Date;
3070
3092
  deletedAt: Date | null;
@@ -3089,8 +3111,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3089
3111
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3090
3112
  id: string;
3091
3113
  metadata: {
3092
- id: string;
3093
3114
  name: string;
3115
+ id: string;
3094
3116
  picture?: string | undefined;
3095
3117
  additionalCredentials?: any;
3096
3118
  };
@@ -3121,9 +3143,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3121
3143
  socialPlatformId: string;
3122
3144
  };
3123
3145
  assignee: {
3146
+ name: string;
3124
3147
  id: string;
3125
3148
  address: string | null;
3126
- name: string;
3127
3149
  email: string;
3128
3150
  createdAt: Date;
3129
3151
  updatedAt: Date;
@@ -3167,12 +3189,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3167
3189
  }, {
3168
3190
  id: string;
3169
3191
  channel: {
3192
+ name: string;
3170
3193
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3171
3194
  id: string;
3172
- name: string;
3173
3195
  metadata: {
3174
- id: string;
3175
3196
  name: string;
3197
+ id: string;
3176
3198
  accessToken?: string | undefined;
3177
3199
  channelSecret?: string | undefined;
3178
3200
  additionalCredentials?: any;
@@ -3184,10 +3206,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3184
3206
  email?: string | null | undefined;
3185
3207
  clientId?: string | null | undefined;
3186
3208
  channelId?: string | null | undefined;
3187
- status?: "active" | "pending" | undefined;
3209
+ waapiInstanceId?: string | null | undefined;
3210
+ qr?: string | null | undefined;
3211
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3188
3212
  apiKey?: string | undefined;
3189
3213
  tier?: "basic" | "regular" | "premium" | undefined;
3190
- integrationType?: "meta" | "360dialog" | undefined;
3214
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3191
3215
  } | undefined;
3192
3216
  vonageCredentials?: {
3193
3217
  apiKey: string;
@@ -3196,15 +3220,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3196
3220
  } | undefined;
3197
3221
  lineRichMenuId?: string | null | undefined;
3198
3222
  messengerIntegrationType?: "own" | "business" | undefined;
3223
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3199
3224
  };
3200
3225
  status: boolean;
3201
3226
  createdAt: Date;
3202
3227
  updatedAt: Date;
3203
3228
  deletedAt: Date | null;
3204
3229
  actor: {
3230
+ name: string;
3205
3231
  id: string;
3206
3232
  address: string | null;
3207
- name: string;
3208
3233
  email: string;
3209
3234
  createdAt: Date;
3210
3235
  updatedAt: Date;
@@ -3251,8 +3276,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3251
3276
  connectedUserName: string;
3252
3277
  connectedUserId: string;
3253
3278
  botpressBot: {
3254
- id: string;
3255
3279
  name: string;
3280
+ id: string;
3256
3281
  accessToken: string;
3257
3282
  botId: string;
3258
3283
  integrationId: string;
@@ -3263,9 +3288,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3263
3288
  updatedAt: Date;
3264
3289
  deletedAt: Date | null;
3265
3290
  actor: {
3291
+ name: string;
3266
3292
  id: string;
3267
3293
  address: string | null;
3268
- name: string;
3269
3294
  email: string;
3270
3295
  createdAt: Date;
3271
3296
  updatedAt: Date;
@@ -3317,8 +3342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3317
3342
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3318
3343
  id: string;
3319
3344
  metadata: {
3320
- id: string;
3321
3345
  name: string;
3346
+ id: string;
3322
3347
  picture?: string | undefined;
3323
3348
  additionalCredentials?: any;
3324
3349
  };
@@ -3326,10 +3351,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3326
3351
  updatedAt: Date;
3327
3352
  deletedAt: Date | null;
3328
3353
  contact: {
3354
+ name: string;
3329
3355
  id: string;
3330
3356
  channel: string | null;
3331
3357
  address: string | null;
3332
- name: string;
3333
3358
  createdAt: Date;
3334
3359
  updatedAt: Date;
3335
3360
  deletedAt: Date | null;
@@ -3374,8 +3399,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3374
3399
  createdAt: Date;
3375
3400
  updatedAt: Date;
3376
3401
  deletedAt: Date | null;
3377
- address?: string | null | undefined;
3378
3402
  name?: string | undefined;
3403
+ address?: string | null | undefined;
3379
3404
  phone?: string | null | undefined;
3380
3405
  industry?: string | null | undefined;
3381
3406
  } | null;
@@ -3383,8 +3408,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3383
3408
  contactProfile: string | null;
3384
3409
  socialProfileUrl: string | null;
3385
3410
  tags: {
3386
- id: string;
3387
3411
  name: string;
3412
+ id: string;
3388
3413
  createdAt: Date;
3389
3414
  updatedAt: Date;
3390
3415
  deletedAt: Date | null;
@@ -3409,8 +3434,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3409
3434
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3410
3435
  id: string;
3411
3436
  metadata: {
3412
- id: string;
3413
3437
  name: string;
3438
+ id: string;
3414
3439
  picture?: string | undefined;
3415
3440
  additionalCredentials?: any;
3416
3441
  };
@@ -3441,9 +3466,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3441
3466
  socialPlatformId: string;
3442
3467
  };
3443
3468
  assignee: {
3469
+ name: string;
3444
3470
  id: string;
3445
3471
  address: string | null;
3446
- name: string;
3447
3472
  email: string;
3448
3473
  createdAt: Date;
3449
3474
  updatedAt: Date;
@@ -3516,14 +3541,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3516
3541
  deletedAt: z.ZodNullable<z.ZodDate>;
3517
3542
  name: z.ZodString;
3518
3543
  }, "strip", z.ZodTypeAny, {
3519
- id: string;
3520
3544
  name: string;
3545
+ id: string;
3521
3546
  createdAt: Date;
3522
3547
  updatedAt: Date;
3523
3548
  deletedAt: Date | null;
3524
3549
  }, {
3525
- id: string;
3526
3550
  name: string;
3551
+ id: string;
3527
3552
  createdAt: Date;
3528
3553
  updatedAt: Date;
3529
3554
  deletedAt: Date | null;
@@ -3679,8 +3704,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3679
3704
  createdAt: Date;
3680
3705
  updatedAt: Date;
3681
3706
  deletedAt: Date | null;
3682
- address?: string | null | undefined;
3683
3707
  name?: string | undefined;
3708
+ address?: string | null | undefined;
3684
3709
  phone?: string | null | undefined;
3685
3710
  industry?: string | null | undefined;
3686
3711
  }, {
@@ -3688,8 +3713,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3688
3713
  createdAt: Date;
3689
3714
  updatedAt: Date;
3690
3715
  deletedAt: Date | null;
3691
- address?: string | null | undefined;
3692
3716
  name?: string | undefined;
3717
+ address?: string | null | undefined;
3693
3718
  phone?: string | null | undefined;
3694
3719
  industry?: string | null | undefined;
3695
3720
  }>>;
@@ -3707,13 +3732,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3707
3732
  picture: z.ZodOptional<z.ZodString>;
3708
3733
  additionalCredentials: z.ZodAny;
3709
3734
  }, "strip", z.ZodTypeAny, {
3710
- id: string;
3711
3735
  name: string;
3736
+ id: string;
3712
3737
  picture?: string | undefined;
3713
3738
  additionalCredentials?: any;
3714
3739
  }, {
3715
- id: string;
3716
3740
  name: string;
3741
+ id: string;
3717
3742
  picture?: string | undefined;
3718
3743
  additionalCredentials?: any;
3719
3744
  }>;
@@ -3721,8 +3746,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3721
3746
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3722
3747
  id: string;
3723
3748
  metadata: {
3724
- id: string;
3725
3749
  name: string;
3750
+ id: string;
3726
3751
  picture?: string | undefined;
3727
3752
  additionalCredentials?: any;
3728
3753
  };
@@ -3735,8 +3760,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3735
3760
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3736
3761
  id: string;
3737
3762
  metadata: {
3738
- id: string;
3739
3763
  name: string;
3764
+ id: string;
3740
3765
  picture?: string | undefined;
3741
3766
  additionalCredentials?: any;
3742
3767
  };
@@ -4046,10 +4071,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4046
4071
  };
4047
4072
  }>, "many">>;
4048
4073
  }, "strip", z.ZodTypeAny, {
4074
+ name: string;
4049
4075
  id: string;
4050
4076
  channel: string | null;
4051
4077
  address: string | null;
4052
- name: string;
4053
4078
  createdAt: Date;
4054
4079
  updatedAt: Date;
4055
4080
  deletedAt: Date | null;
@@ -4094,8 +4119,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4094
4119
  createdAt: Date;
4095
4120
  updatedAt: Date;
4096
4121
  deletedAt: Date | null;
4097
- address?: string | null | undefined;
4098
4122
  name?: string | undefined;
4123
+ address?: string | null | undefined;
4099
4124
  phone?: string | null | undefined;
4100
4125
  industry?: string | null | undefined;
4101
4126
  } | null;
@@ -4103,8 +4128,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4103
4128
  contactProfile: string | null;
4104
4129
  socialProfileUrl: string | null;
4105
4130
  tags: {
4106
- id: string;
4107
4131
  name: string;
4132
+ id: string;
4108
4133
  createdAt: Date;
4109
4134
  updatedAt: Date;
4110
4135
  deletedAt: Date | null;
@@ -4129,8 +4154,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4129
4154
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4130
4155
  id: string;
4131
4156
  metadata: {
4132
- id: string;
4133
4157
  name: string;
4158
+ id: string;
4134
4159
  picture?: string | undefined;
4135
4160
  additionalCredentials?: any;
4136
4161
  };
@@ -4157,10 +4182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4157
4182
  };
4158
4183
  }[] | undefined;
4159
4184
  }, {
4185
+ name: string;
4160
4186
  id: string;
4161
4187
  channel: string | null;
4162
4188
  address: string | null;
4163
- name: string;
4164
4189
  createdAt: Date;
4165
4190
  updatedAt: Date;
4166
4191
  deletedAt: Date | null;
@@ -4205,8 +4230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4205
4230
  createdAt: Date;
4206
4231
  updatedAt: Date;
4207
4232
  deletedAt: Date | null;
4208
- address?: string | null | undefined;
4209
4233
  name?: string | undefined;
4234
+ address?: string | null | undefined;
4210
4235
  phone?: string | null | undefined;
4211
4236
  industry?: string | null | undefined;
4212
4237
  } | null;
@@ -4214,8 +4239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4214
4239
  contactProfile: string | null;
4215
4240
  socialProfileUrl: string | null;
4216
4241
  tags: {
4217
- id: string;
4218
4242
  name: string;
4243
+ id: string;
4219
4244
  createdAt: Date;
4220
4245
  updatedAt: Date;
4221
4246
  deletedAt: Date | null;
@@ -4240,8 +4265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4240
4265
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4241
4266
  id: string;
4242
4267
  metadata: {
4243
- id: string;
4244
4268
  name: string;
4269
+ id: string;
4245
4270
  picture?: string | undefined;
4246
4271
  additionalCredentials?: any;
4247
4272
  };
@@ -4459,9 +4484,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4459
4484
  telephonySignature: string | null;
4460
4485
  }>;
4461
4486
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4487
+ name: string;
4462
4488
  id: string;
4463
4489
  address: string | null;
4464
- name: string;
4465
4490
  email: string;
4466
4491
  createdAt: Date;
4467
4492
  updatedAt: Date;
@@ -4471,9 +4496,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4471
4496
  phone: string | null;
4472
4497
  notificationCount: number | null;
4473
4498
  }, {
4499
+ name: string;
4474
4500
  id: string;
4475
4501
  address: string | null;
4476
- name: string;
4477
4502
  email: string;
4478
4503
  createdAt: Date;
4479
4504
  updatedAt: Date;
@@ -4496,9 +4521,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4496
4521
  }, "strip", z.ZodTypeAny, {
4497
4522
  id: string;
4498
4523
  user: {
4524
+ name: string;
4499
4525
  id: string;
4500
4526
  address: string | null;
4501
- name: string;
4502
4527
  email: string;
4503
4528
  createdAt: Date;
4504
4529
  updatedAt: Date;
@@ -4521,9 +4546,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4521
4546
  }, {
4522
4547
  id: string;
4523
4548
  user: {
4549
+ name: string;
4524
4550
  id: string;
4525
4551
  address: string | null;
4526
- name: string;
4527
4552
  email: string;
4528
4553
  createdAt: Date;
4529
4554
  updatedAt: Date;
@@ -4664,9 +4689,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4664
4689
  telephonySignature: string | null;
4665
4690
  }>;
4666
4691
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4692
+ name: string;
4667
4693
  id: string;
4668
4694
  address: string | null;
4669
- name: string;
4670
4695
  email: string;
4671
4696
  createdAt: Date;
4672
4697
  updatedAt: Date;
@@ -4676,9 +4701,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4676
4701
  phone: string | null;
4677
4702
  notificationCount: number | null;
4678
4703
  }, {
4704
+ name: string;
4679
4705
  id: string;
4680
4706
  address: string | null;
4681
- name: string;
4682
4707
  email: string;
4683
4708
  createdAt: Date;
4684
4709
  updatedAt: Date;
@@ -4701,9 +4726,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4701
4726
  }, "strip", z.ZodTypeAny, {
4702
4727
  id: string;
4703
4728
  user: {
4729
+ name: string;
4704
4730
  id: string;
4705
4731
  address: string | null;
4706
- name: string;
4707
4732
  email: string;
4708
4733
  createdAt: Date;
4709
4734
  updatedAt: Date;
@@ -4726,9 +4751,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4726
4751
  }, {
4727
4752
  id: string;
4728
4753
  user: {
4754
+ name: string;
4729
4755
  id: string;
4730
4756
  address: string | null;
4731
- name: string;
4732
4757
  email: string;
4733
4758
  createdAt: Date;
4734
4759
  updatedAt: Date;
@@ -4753,9 +4778,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4753
4778
  callTo?: {
4754
4779
  id: string;
4755
4780
  user: {
4781
+ name: string;
4756
4782
  id: string;
4757
4783
  address: string | null;
4758
- name: string;
4759
4784
  email: string;
4760
4785
  createdAt: Date;
4761
4786
  updatedAt: Date;
@@ -4779,9 +4804,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4779
4804
  callFrom?: {
4780
4805
  id: string;
4781
4806
  user: {
4807
+ name: string;
4782
4808
  id: string;
4783
4809
  address: string | null;
4784
- name: string;
4785
4810
  email: string;
4786
4811
  createdAt: Date;
4787
4812
  updatedAt: Date;
@@ -4806,9 +4831,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4806
4831
  callTo?: {
4807
4832
  id: string;
4808
4833
  user: {
4834
+ name: string;
4809
4835
  id: string;
4810
4836
  address: string | null;
4811
- name: string;
4812
4837
  email: string;
4813
4838
  createdAt: Date;
4814
4839
  updatedAt: Date;
@@ -4832,9 +4857,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4832
4857
  callFrom?: {
4833
4858
  id: string;
4834
4859
  user: {
4860
+ name: string;
4835
4861
  id: string;
4836
4862
  address: string | null;
4837
- name: string;
4838
4863
  email: string;
4839
4864
  createdAt: Date;
4840
4865
  updatedAt: Date;
@@ -4988,9 +5013,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4988
5013
  telephonySignature: string | null;
4989
5014
  }>;
4990
5015
  }, "strip", z.ZodTypeAny, {
5016
+ name: string;
4991
5017
  id: string;
4992
5018
  address: string | null;
4993
- name: string;
4994
5019
  email: string;
4995
5020
  createdAt: Date;
4996
5021
  updatedAt: Date;
@@ -5031,9 +5056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5031
5056
  telephonySignature: string | null;
5032
5057
  };
5033
5058
  }, {
5059
+ name: string;
5034
5060
  id: string;
5035
5061
  address: string | null;
5036
- name: string;
5037
5062
  email: string;
5038
5063
  createdAt: Date;
5039
5064
  updatedAt: Date;
@@ -5087,9 +5112,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5087
5112
  extensionName: string;
5088
5113
  telephonySignature: string | null;
5089
5114
  user?: {
5115
+ name: string;
5090
5116
  id: string;
5091
5117
  address: string | null;
5092
- name: string;
5093
5118
  email: string;
5094
5119
  createdAt: Date;
5095
5120
  updatedAt: Date;
@@ -5143,9 +5168,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5143
5168
  extensionName: string;
5144
5169
  telephonySignature: string | null;
5145
5170
  user?: {
5171
+ name: string;
5146
5172
  id: string;
5147
5173
  address: string | null;
5148
- name: string;
5149
5174
  email: string;
5150
5175
  createdAt: Date;
5151
5176
  updatedAt: Date;
@@ -5215,9 +5240,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5215
5240
  callTo?: {
5216
5241
  id: string;
5217
5242
  user: {
5243
+ name: string;
5218
5244
  id: string;
5219
5245
  address: string | null;
5220
- name: string;
5221
5246
  email: string;
5222
5247
  createdAt: Date;
5223
5248
  updatedAt: Date;
@@ -5241,9 +5266,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5241
5266
  callFrom?: {
5242
5267
  id: string;
5243
5268
  user: {
5269
+ name: string;
5244
5270
  id: string;
5245
5271
  address: string | null;
5246
- name: string;
5247
5272
  email: string;
5248
5273
  createdAt: Date;
5249
5274
  updatedAt: Date;
@@ -5269,10 +5294,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5269
5294
  telephonyQueueId: string | null;
5270
5295
  contactId: string | null;
5271
5296
  contact?: {
5297
+ name: string;
5272
5298
  id: string;
5273
5299
  channel: string | null;
5274
5300
  address: string | null;
5275
- name: string;
5276
5301
  createdAt: Date;
5277
5302
  updatedAt: Date;
5278
5303
  deletedAt: Date | null;
@@ -5317,8 +5342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5317
5342
  createdAt: Date;
5318
5343
  updatedAt: Date;
5319
5344
  deletedAt: Date | null;
5320
- address?: string | null | undefined;
5321
5345
  name?: string | undefined;
5346
+ address?: string | null | undefined;
5322
5347
  phone?: string | null | undefined;
5323
5348
  industry?: string | null | undefined;
5324
5349
  } | null;
@@ -5326,8 +5351,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5326
5351
  contactProfile: string | null;
5327
5352
  socialProfileUrl: string | null;
5328
5353
  tags: {
5329
- id: string;
5330
5354
  name: string;
5355
+ id: string;
5331
5356
  createdAt: Date;
5332
5357
  updatedAt: Date;
5333
5358
  deletedAt: Date | null;
@@ -5352,8 +5377,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5352
5377
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5353
5378
  id: string;
5354
5379
  metadata: {
5355
- id: string;
5356
5380
  name: string;
5381
+ id: string;
5357
5382
  picture?: string | undefined;
5358
5383
  additionalCredentials?: any;
5359
5384
  };
@@ -5415,9 +5440,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5415
5440
  extensionName: string;
5416
5441
  telephonySignature: string | null;
5417
5442
  user?: {
5443
+ name: string;
5418
5444
  id: string;
5419
5445
  address: string | null;
5420
- name: string;
5421
5446
  email: string;
5422
5447
  createdAt: Date;
5423
5448
  updatedAt: Date;
@@ -5485,9 +5510,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5485
5510
  callTo?: {
5486
5511
  id: string;
5487
5512
  user: {
5513
+ name: string;
5488
5514
  id: string;
5489
5515
  address: string | null;
5490
- name: string;
5491
5516
  email: string;
5492
5517
  createdAt: Date;
5493
5518
  updatedAt: Date;
@@ -5511,9 +5536,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5511
5536
  callFrom?: {
5512
5537
  id: string;
5513
5538
  user: {
5539
+ name: string;
5514
5540
  id: string;
5515
5541
  address: string | null;
5516
- name: string;
5517
5542
  email: string;
5518
5543
  createdAt: Date;
5519
5544
  updatedAt: Date;
@@ -5539,10 +5564,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5539
5564
  telephonyQueueId: string | null;
5540
5565
  contactId: string | null;
5541
5566
  contact?: {
5567
+ name: string;
5542
5568
  id: string;
5543
5569
  channel: string | null;
5544
5570
  address: string | null;
5545
- name: string;
5546
5571
  createdAt: Date;
5547
5572
  updatedAt: Date;
5548
5573
  deletedAt: Date | null;
@@ -5587,8 +5612,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5587
5612
  createdAt: Date;
5588
5613
  updatedAt: Date;
5589
5614
  deletedAt: Date | null;
5590
- address?: string | null | undefined;
5591
5615
  name?: string | undefined;
5616
+ address?: string | null | undefined;
5592
5617
  phone?: string | null | undefined;
5593
5618
  industry?: string | null | undefined;
5594
5619
  } | null;
@@ -5596,8 +5621,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5596
5621
  contactProfile: string | null;
5597
5622
  socialProfileUrl: string | null;
5598
5623
  tags: {
5599
- id: string;
5600
5624
  name: string;
5625
+ id: string;
5601
5626
  createdAt: Date;
5602
5627
  updatedAt: Date;
5603
5628
  deletedAt: Date | null;
@@ -5622,8 +5647,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5622
5647
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5623
5648
  id: string;
5624
5649
  metadata: {
5625
- id: string;
5626
5650
  name: string;
5651
+ id: string;
5627
5652
  picture?: string | undefined;
5628
5653
  additionalCredentials?: any;
5629
5654
  };
@@ -5685,9 +5710,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5685
5710
  extensionName: string;
5686
5711
  telephonySignature: string | null;
5687
5712
  user?: {
5713
+ name: string;
5688
5714
  id: string;
5689
5715
  address: string | null;
5690
- name: string;
5691
5716
  email: string;
5692
5717
  createdAt: Date;
5693
5718
  updatedAt: Date;
@@ -5755,14 +5780,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5755
5780
  deletedAt: z.ZodNullable<z.ZodDate>;
5756
5781
  name: z.ZodString;
5757
5782
  }, "strip", z.ZodTypeAny, {
5758
- id: string;
5759
5783
  name: string;
5784
+ id: string;
5760
5785
  createdAt: Date;
5761
5786
  updatedAt: Date;
5762
5787
  deletedAt: Date | null;
5763
5788
  }, {
5764
- id: string;
5765
5789
  name: string;
5790
+ id: string;
5766
5791
  createdAt: Date;
5767
5792
  updatedAt: Date;
5768
5793
  deletedAt: Date | null;
@@ -5918,8 +5943,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5918
5943
  createdAt: Date;
5919
5944
  updatedAt: Date;
5920
5945
  deletedAt: Date | null;
5921
- address?: string | null | undefined;
5922
5946
  name?: string | undefined;
5947
+ address?: string | null | undefined;
5923
5948
  phone?: string | null | undefined;
5924
5949
  industry?: string | null | undefined;
5925
5950
  }, {
@@ -5927,8 +5952,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5927
5952
  createdAt: Date;
5928
5953
  updatedAt: Date;
5929
5954
  deletedAt: Date | null;
5930
- address?: string | null | undefined;
5931
5955
  name?: string | undefined;
5956
+ address?: string | null | undefined;
5932
5957
  phone?: string | null | undefined;
5933
5958
  industry?: string | null | undefined;
5934
5959
  }>>;
@@ -5946,13 +5971,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5946
5971
  picture: z.ZodOptional<z.ZodString>;
5947
5972
  additionalCredentials: z.ZodAny;
5948
5973
  }, "strip", z.ZodTypeAny, {
5949
- id: string;
5950
5974
  name: string;
5975
+ id: string;
5951
5976
  picture?: string | undefined;
5952
5977
  additionalCredentials?: any;
5953
5978
  }, {
5954
- id: string;
5955
5979
  name: string;
5980
+ id: string;
5956
5981
  picture?: string | undefined;
5957
5982
  additionalCredentials?: any;
5958
5983
  }>;
@@ -5960,8 +5985,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5960
5985
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5961
5986
  id: string;
5962
5987
  metadata: {
5963
- id: string;
5964
5988
  name: string;
5989
+ id: string;
5965
5990
  picture?: string | undefined;
5966
5991
  additionalCredentials?: any;
5967
5992
  };
@@ -5974,8 +5999,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5974
5999
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5975
6000
  id: string;
5976
6001
  metadata: {
5977
- id: string;
5978
6002
  name: string;
6003
+ id: string;
5979
6004
  picture?: string | undefined;
5980
6005
  additionalCredentials?: any;
5981
6006
  };
@@ -6285,10 +6310,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6285
6310
  };
6286
6311
  }>, "many">>;
6287
6312
  }, "strip", z.ZodTypeAny, {
6313
+ name: string;
6288
6314
  id: string;
6289
6315
  channel: string | null;
6290
6316
  address: string | null;
6291
- name: string;
6292
6317
  createdAt: Date;
6293
6318
  updatedAt: Date;
6294
6319
  deletedAt: Date | null;
@@ -6333,8 +6358,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6333
6358
  createdAt: Date;
6334
6359
  updatedAt: Date;
6335
6360
  deletedAt: Date | null;
6336
- address?: string | null | undefined;
6337
6361
  name?: string | undefined;
6362
+ address?: string | null | undefined;
6338
6363
  phone?: string | null | undefined;
6339
6364
  industry?: string | null | undefined;
6340
6365
  } | null;
@@ -6342,8 +6367,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6342
6367
  contactProfile: string | null;
6343
6368
  socialProfileUrl: string | null;
6344
6369
  tags: {
6345
- id: string;
6346
6370
  name: string;
6371
+ id: string;
6347
6372
  createdAt: Date;
6348
6373
  updatedAt: Date;
6349
6374
  deletedAt: Date | null;
@@ -6368,8 +6393,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6368
6393
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6369
6394
  id: string;
6370
6395
  metadata: {
6371
- id: string;
6372
6396
  name: string;
6397
+ id: string;
6373
6398
  picture?: string | undefined;
6374
6399
  additionalCredentials?: any;
6375
6400
  };
@@ -6396,10 +6421,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6396
6421
  };
6397
6422
  }[] | undefined;
6398
6423
  }, {
6424
+ name: string;
6399
6425
  id: string;
6400
6426
  channel: string | null;
6401
6427
  address: string | null;
6402
- name: string;
6403
6428
  createdAt: Date;
6404
6429
  updatedAt: Date;
6405
6430
  deletedAt: Date | null;
@@ -6444,8 +6469,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6444
6469
  createdAt: Date;
6445
6470
  updatedAt: Date;
6446
6471
  deletedAt: Date | null;
6447
- address?: string | null | undefined;
6448
6472
  name?: string | undefined;
6473
+ address?: string | null | undefined;
6449
6474
  phone?: string | null | undefined;
6450
6475
  industry?: string | null | undefined;
6451
6476
  } | null;
@@ -6453,8 +6478,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6453
6478
  contactProfile: string | null;
6454
6479
  socialProfileUrl: string | null;
6455
6480
  tags: {
6456
- id: string;
6457
6481
  name: string;
6482
+ id: string;
6458
6483
  createdAt: Date;
6459
6484
  updatedAt: Date;
6460
6485
  deletedAt: Date | null;
@@ -6479,8 +6504,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6479
6504
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6480
6505
  id: string;
6481
6506
  metadata: {
6482
- id: string;
6483
6507
  name: string;
6508
+ id: string;
6484
6509
  picture?: string | undefined;
6485
6510
  additionalCredentials?: any;
6486
6511
  };
@@ -6625,9 +6650,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6625
6650
  telephonySignature: string | null;
6626
6651
  }>;
6627
6652
  }, "strip", z.ZodTypeAny, {
6653
+ name: string;
6628
6654
  id: string;
6629
6655
  address: string | null;
6630
- name: string;
6631
6656
  email: string;
6632
6657
  createdAt: Date;
6633
6658
  updatedAt: Date;
@@ -6668,9 +6693,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6668
6693
  telephonySignature: string | null;
6669
6694
  };
6670
6695
  }, {
6696
+ name: string;
6671
6697
  id: string;
6672
6698
  address: string | null;
6673
- name: string;
6674
6699
  email: string;
6675
6700
  createdAt: Date;
6676
6701
  updatedAt: Date;
@@ -6829,9 +6854,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6829
6854
  telephonySignature: string | null;
6830
6855
  }>;
6831
6856
  }, "strip", z.ZodTypeAny, {
6857
+ name: string;
6832
6858
  id: string;
6833
6859
  address: string | null;
6834
- name: string;
6835
6860
  email: string;
6836
6861
  createdAt: Date;
6837
6862
  updatedAt: Date;
@@ -6872,9 +6897,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6872
6897
  telephonySignature: string | null;
6873
6898
  };
6874
6899
  }, {
6900
+ name: string;
6875
6901
  id: string;
6876
6902
  address: string | null;
6877
- name: string;
6878
6903
  email: string;
6879
6904
  createdAt: Date;
6880
6905
  updatedAt: Date;
@@ -7033,9 +7058,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7033
7058
  telephonySignature: string | null;
7034
7059
  }>;
7035
7060
  }, "strip", z.ZodTypeAny, {
7061
+ name: string;
7036
7062
  id: string;
7037
7063
  address: string | null;
7038
- name: string;
7039
7064
  email: string;
7040
7065
  createdAt: Date;
7041
7066
  updatedAt: Date;
@@ -7076,9 +7101,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7076
7101
  telephonySignature: string | null;
7077
7102
  };
7078
7103
  }, {
7104
+ name: string;
7079
7105
  id: string;
7080
7106
  address: string | null;
7081
- name: string;
7082
7107
  email: string;
7083
7108
  createdAt: Date;
7084
7109
  updatedAt: Date;
@@ -7157,10 +7182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7157
7182
  deletedAt: Date | null;
7158
7183
  entityId: string;
7159
7184
  contact: {
7185
+ name: string;
7160
7186
  id: string;
7161
7187
  channel: string | null;
7162
7188
  address: string | null;
7163
- name: string;
7164
7189
  createdAt: Date;
7165
7190
  updatedAt: Date;
7166
7191
  deletedAt: Date | null;
@@ -7205,8 +7230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7205
7230
  createdAt: Date;
7206
7231
  updatedAt: Date;
7207
7232
  deletedAt: Date | null;
7208
- address?: string | null | undefined;
7209
7233
  name?: string | undefined;
7234
+ address?: string | null | undefined;
7210
7235
  phone?: string | null | undefined;
7211
7236
  industry?: string | null | undefined;
7212
7237
  } | null;
@@ -7214,8 +7239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7214
7239
  contactProfile: string | null;
7215
7240
  socialProfileUrl: string | null;
7216
7241
  tags: {
7217
- id: string;
7218
7242
  name: string;
7243
+ id: string;
7219
7244
  createdAt: Date;
7220
7245
  updatedAt: Date;
7221
7246
  deletedAt: Date | null;
@@ -7240,8 +7265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7240
7265
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7241
7266
  id: string;
7242
7267
  metadata: {
7243
- id: string;
7244
7268
  name: string;
7269
+ id: string;
7245
7270
  picture?: string | undefined;
7246
7271
  additionalCredentials?: any;
7247
7272
  };
@@ -7307,8 +7332,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7307
7332
  }[];
7308
7333
  }[];
7309
7334
  tags: {
7310
- id: string;
7311
7335
  name: string;
7336
+ id: string;
7312
7337
  createdAt: Date;
7313
7338
  updatedAt: Date;
7314
7339
  deletedAt: Date | null;
@@ -7347,12 +7372,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7347
7372
  room: {
7348
7373
  id: string;
7349
7374
  channel: {
7375
+ name: string;
7350
7376
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7351
7377
  id: string;
7352
- name: string;
7353
7378
  metadata: {
7354
- id: string;
7355
7379
  name: string;
7380
+ id: string;
7356
7381
  accessToken?: string | undefined;
7357
7382
  channelSecret?: string | undefined;
7358
7383
  additionalCredentials?: any;
@@ -7364,10 +7389,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7364
7389
  email?: string | null | undefined;
7365
7390
  clientId?: string | null | undefined;
7366
7391
  channelId?: string | null | undefined;
7367
- status?: "active" | "pending" | undefined;
7392
+ waapiInstanceId?: string | null | undefined;
7393
+ qr?: string | null | undefined;
7394
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7368
7395
  apiKey?: string | undefined;
7369
7396
  tier?: "basic" | "regular" | "premium" | undefined;
7370
- integrationType?: "meta" | "360dialog" | undefined;
7397
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7371
7398
  } | undefined;
7372
7399
  vonageCredentials?: {
7373
7400
  apiKey: string;
@@ -7376,15 +7403,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7376
7403
  } | undefined;
7377
7404
  lineRichMenuId?: string | null | undefined;
7378
7405
  messengerIntegrationType?: "own" | "business" | undefined;
7406
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7379
7407
  };
7380
7408
  status: boolean;
7381
7409
  createdAt: Date;
7382
7410
  updatedAt: Date;
7383
7411
  deletedAt: Date | null;
7384
7412
  actor: {
7413
+ name: string;
7385
7414
  id: string;
7386
7415
  address: string | null;
7387
- name: string;
7388
7416
  email: string;
7389
7417
  createdAt: Date;
7390
7418
  updatedAt: Date;
@@ -7431,8 +7459,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7431
7459
  connectedUserName: string;
7432
7460
  connectedUserId: string;
7433
7461
  botpressBot: {
7434
- id: string;
7435
7462
  name: string;
7463
+ id: string;
7436
7464
  accessToken: string;
7437
7465
  botId: string;
7438
7466
  integrationId: string;
@@ -7443,9 +7471,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7443
7471
  updatedAt: Date;
7444
7472
  deletedAt: Date | null;
7445
7473
  actor: {
7474
+ name: string;
7446
7475
  id: string;
7447
7476
  address: string | null;
7448
- name: string;
7449
7477
  email: string;
7450
7478
  createdAt: Date;
7451
7479
  updatedAt: Date;
@@ -7497,8 +7525,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7497
7525
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7498
7526
  id: string;
7499
7527
  metadata: {
7500
- id: string;
7501
7528
  name: string;
7529
+ id: string;
7502
7530
  picture?: string | undefined;
7503
7531
  additionalCredentials?: any;
7504
7532
  };
@@ -7506,10 +7534,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7506
7534
  updatedAt: Date;
7507
7535
  deletedAt: Date | null;
7508
7536
  contact: {
7537
+ name: string;
7509
7538
  id: string;
7510
7539
  channel: string | null;
7511
7540
  address: string | null;
7512
- name: string;
7513
7541
  createdAt: Date;
7514
7542
  updatedAt: Date;
7515
7543
  deletedAt: Date | null;
@@ -7554,8 +7582,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7554
7582
  createdAt: Date;
7555
7583
  updatedAt: Date;
7556
7584
  deletedAt: Date | null;
7557
- address?: string | null | undefined;
7558
7585
  name?: string | undefined;
7586
+ address?: string | null | undefined;
7559
7587
  phone?: string | null | undefined;
7560
7588
  industry?: string | null | undefined;
7561
7589
  } | null;
@@ -7563,8 +7591,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7563
7591
  contactProfile: string | null;
7564
7592
  socialProfileUrl: string | null;
7565
7593
  tags: {
7566
- id: string;
7567
7594
  name: string;
7595
+ id: string;
7568
7596
  createdAt: Date;
7569
7597
  updatedAt: Date;
7570
7598
  deletedAt: Date | null;
@@ -7589,8 +7617,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7589
7617
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7590
7618
  id: string;
7591
7619
  metadata: {
7592
- id: string;
7593
7620
  name: string;
7621
+ id: string;
7594
7622
  picture?: string | undefined;
7595
7623
  additionalCredentials?: any;
7596
7624
  };
@@ -7621,9 +7649,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7621
7649
  socialPlatformId: string;
7622
7650
  };
7623
7651
  assignee: {
7652
+ name: string;
7624
7653
  id: string;
7625
7654
  address: string | null;
7626
- name: string;
7627
7655
  email: string;
7628
7656
  createdAt: Date;
7629
7657
  updatedAt: Date;
@@ -7691,9 +7719,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7691
7719
  callTo?: {
7692
7720
  id: string;
7693
7721
  user: {
7722
+ name: string;
7694
7723
  id: string;
7695
7724
  address: string | null;
7696
- name: string;
7697
7725
  email: string;
7698
7726
  createdAt: Date;
7699
7727
  updatedAt: Date;
@@ -7717,9 +7745,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7717
7745
  callFrom?: {
7718
7746
  id: string;
7719
7747
  user: {
7748
+ name: string;
7720
7749
  id: string;
7721
7750
  address: string | null;
7722
- name: string;
7723
7751
  email: string;
7724
7752
  createdAt: Date;
7725
7753
  updatedAt: Date;
@@ -7745,10 +7773,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7745
7773
  telephonyQueueId: string | null;
7746
7774
  contactId: string | null;
7747
7775
  contact?: {
7776
+ name: string;
7748
7777
  id: string;
7749
7778
  channel: string | null;
7750
7779
  address: string | null;
7751
- name: string;
7752
7780
  createdAt: Date;
7753
7781
  updatedAt: Date;
7754
7782
  deletedAt: Date | null;
@@ -7793,8 +7821,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7793
7821
  createdAt: Date;
7794
7822
  updatedAt: Date;
7795
7823
  deletedAt: Date | null;
7796
- address?: string | null | undefined;
7797
7824
  name?: string | undefined;
7825
+ address?: string | null | undefined;
7798
7826
  phone?: string | null | undefined;
7799
7827
  industry?: string | null | undefined;
7800
7828
  } | null;
@@ -7802,8 +7830,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7802
7830
  contactProfile: string | null;
7803
7831
  socialProfileUrl: string | null;
7804
7832
  tags: {
7805
- id: string;
7806
7833
  name: string;
7834
+ id: string;
7807
7835
  createdAt: Date;
7808
7836
  updatedAt: Date;
7809
7837
  deletedAt: Date | null;
@@ -7828,8 +7856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7828
7856
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7829
7857
  id: string;
7830
7858
  metadata: {
7831
- id: string;
7832
7859
  name: string;
7860
+ id: string;
7833
7861
  picture?: string | undefined;
7834
7862
  additionalCredentials?: any;
7835
7863
  };
@@ -7891,9 +7919,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7891
7919
  extensionName: string;
7892
7920
  telephonySignature: string | null;
7893
7921
  user?: {
7922
+ name: string;
7894
7923
  id: string;
7895
7924
  address: string | null;
7896
- name: string;
7897
7925
  email: string;
7898
7926
  createdAt: Date;
7899
7927
  updatedAt: Date;
@@ -7940,9 +7968,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7940
7968
  queueName?: string | null | undefined;
7941
7969
  } | null;
7942
7970
  firstAssignee: {
7971
+ name: string;
7943
7972
  id: string;
7944
7973
  address: string | null;
7945
- name: string;
7946
7974
  email: string;
7947
7975
  createdAt: Date;
7948
7976
  updatedAt: Date;
@@ -7984,9 +8012,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7984
8012
  };
7985
8013
  } | null;
7986
8014
  agent: {
8015
+ name: string;
7987
8016
  id: string;
7988
8017
  address: string | null;
7989
- name: string;
7990
8018
  email: string;
7991
8019
  createdAt: Date;
7992
8020
  updatedAt: Date;
@@ -8028,9 +8056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8028
8056
  };
8029
8057
  } | null;
8030
8058
  closedAssignee: {
8059
+ name: string;
8031
8060
  id: string;
8032
8061
  address: string | null;
8033
- name: string;
8034
8062
  email: string;
8035
8063
  createdAt: Date;
8036
8064
  updatedAt: Date;
@@ -8091,10 +8119,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8091
8119
  deletedAt: Date | null;
8092
8120
  entityId: string;
8093
8121
  contact: {
8122
+ name: string;
8094
8123
  id: string;
8095
8124
  channel: string | null;
8096
8125
  address: string | null;
8097
- name: string;
8098
8126
  createdAt: Date;
8099
8127
  updatedAt: Date;
8100
8128
  deletedAt: Date | null;
@@ -8139,8 +8167,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8139
8167
  createdAt: Date;
8140
8168
  updatedAt: Date;
8141
8169
  deletedAt: Date | null;
8142
- address?: string | null | undefined;
8143
8170
  name?: string | undefined;
8171
+ address?: string | null | undefined;
8144
8172
  phone?: string | null | undefined;
8145
8173
  industry?: string | null | undefined;
8146
8174
  } | null;
@@ -8148,8 +8176,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8148
8176
  contactProfile: string | null;
8149
8177
  socialProfileUrl: string | null;
8150
8178
  tags: {
8151
- id: string;
8152
8179
  name: string;
8180
+ id: string;
8153
8181
  createdAt: Date;
8154
8182
  updatedAt: Date;
8155
8183
  deletedAt: Date | null;
@@ -8174,8 +8202,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8174
8202
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8175
8203
  id: string;
8176
8204
  metadata: {
8177
- id: string;
8178
8205
  name: string;
8206
+ id: string;
8179
8207
  picture?: string | undefined;
8180
8208
  additionalCredentials?: any;
8181
8209
  };
@@ -8241,8 +8269,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8241
8269
  }[];
8242
8270
  }[];
8243
8271
  tags: {
8244
- id: string;
8245
8272
  name: string;
8273
+ id: string;
8246
8274
  createdAt: Date;
8247
8275
  updatedAt: Date;
8248
8276
  deletedAt: Date | null;
@@ -8281,12 +8309,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8281
8309
  room: {
8282
8310
  id: string;
8283
8311
  channel: {
8312
+ name: string;
8284
8313
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8285
8314
  id: string;
8286
- name: string;
8287
8315
  metadata: {
8288
- id: string;
8289
8316
  name: string;
8317
+ id: string;
8290
8318
  accessToken?: string | undefined;
8291
8319
  channelSecret?: string | undefined;
8292
8320
  additionalCredentials?: any;
@@ -8298,10 +8326,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8298
8326
  email?: string | null | undefined;
8299
8327
  clientId?: string | null | undefined;
8300
8328
  channelId?: string | null | undefined;
8301
- status?: "active" | "pending" | undefined;
8329
+ waapiInstanceId?: string | null | undefined;
8330
+ qr?: string | null | undefined;
8331
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8302
8332
  apiKey?: string | undefined;
8303
8333
  tier?: "basic" | "regular" | "premium" | undefined;
8304
- integrationType?: "meta" | "360dialog" | undefined;
8334
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8305
8335
  } | undefined;
8306
8336
  vonageCredentials?: {
8307
8337
  apiKey: string;
@@ -8310,15 +8340,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8310
8340
  } | undefined;
8311
8341
  lineRichMenuId?: string | null | undefined;
8312
8342
  messengerIntegrationType?: "own" | "business" | undefined;
8343
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8313
8344
  };
8314
8345
  status: boolean;
8315
8346
  createdAt: Date;
8316
8347
  updatedAt: Date;
8317
8348
  deletedAt: Date | null;
8318
8349
  actor: {
8350
+ name: string;
8319
8351
  id: string;
8320
8352
  address: string | null;
8321
- name: string;
8322
8353
  email: string;
8323
8354
  createdAt: Date;
8324
8355
  updatedAt: Date;
@@ -8365,8 +8396,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8365
8396
  connectedUserName: string;
8366
8397
  connectedUserId: string;
8367
8398
  botpressBot: {
8368
- id: string;
8369
8399
  name: string;
8400
+ id: string;
8370
8401
  accessToken: string;
8371
8402
  botId: string;
8372
8403
  integrationId: string;
@@ -8377,9 +8408,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8377
8408
  updatedAt: Date;
8378
8409
  deletedAt: Date | null;
8379
8410
  actor: {
8411
+ name: string;
8380
8412
  id: string;
8381
8413
  address: string | null;
8382
- name: string;
8383
8414
  email: string;
8384
8415
  createdAt: Date;
8385
8416
  updatedAt: Date;
@@ -8431,8 +8462,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8431
8462
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8432
8463
  id: string;
8433
8464
  metadata: {
8434
- id: string;
8435
8465
  name: string;
8466
+ id: string;
8436
8467
  picture?: string | undefined;
8437
8468
  additionalCredentials?: any;
8438
8469
  };
@@ -8440,10 +8471,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8440
8471
  updatedAt: Date;
8441
8472
  deletedAt: Date | null;
8442
8473
  contact: {
8474
+ name: string;
8443
8475
  id: string;
8444
8476
  channel: string | null;
8445
8477
  address: string | null;
8446
- name: string;
8447
8478
  createdAt: Date;
8448
8479
  updatedAt: Date;
8449
8480
  deletedAt: Date | null;
@@ -8488,8 +8519,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8488
8519
  createdAt: Date;
8489
8520
  updatedAt: Date;
8490
8521
  deletedAt: Date | null;
8491
- address?: string | null | undefined;
8492
8522
  name?: string | undefined;
8523
+ address?: string | null | undefined;
8493
8524
  phone?: string | null | undefined;
8494
8525
  industry?: string | null | undefined;
8495
8526
  } | null;
@@ -8497,8 +8528,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8497
8528
  contactProfile: string | null;
8498
8529
  socialProfileUrl: string | null;
8499
8530
  tags: {
8500
- id: string;
8501
8531
  name: string;
8532
+ id: string;
8502
8533
  createdAt: Date;
8503
8534
  updatedAt: Date;
8504
8535
  deletedAt: Date | null;
@@ -8523,8 +8554,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8523
8554
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8524
8555
  id: string;
8525
8556
  metadata: {
8526
- id: string;
8527
8557
  name: string;
8558
+ id: string;
8528
8559
  picture?: string | undefined;
8529
8560
  additionalCredentials?: any;
8530
8561
  };
@@ -8555,9 +8586,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8555
8586
  socialPlatformId: string;
8556
8587
  };
8557
8588
  assignee: {
8589
+ name: string;
8558
8590
  id: string;
8559
8591
  address: string | null;
8560
- name: string;
8561
8592
  email: string;
8562
8593
  createdAt: Date;
8563
8594
  updatedAt: Date;
@@ -8625,9 +8656,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8625
8656
  callTo?: {
8626
8657
  id: string;
8627
8658
  user: {
8659
+ name: string;
8628
8660
  id: string;
8629
8661
  address: string | null;
8630
- name: string;
8631
8662
  email: string;
8632
8663
  createdAt: Date;
8633
8664
  updatedAt: Date;
@@ -8651,9 +8682,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8651
8682
  callFrom?: {
8652
8683
  id: string;
8653
8684
  user: {
8685
+ name: string;
8654
8686
  id: string;
8655
8687
  address: string | null;
8656
- name: string;
8657
8688
  email: string;
8658
8689
  createdAt: Date;
8659
8690
  updatedAt: Date;
@@ -8679,10 +8710,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8679
8710
  telephonyQueueId: string | null;
8680
8711
  contactId: string | null;
8681
8712
  contact?: {
8713
+ name: string;
8682
8714
  id: string;
8683
8715
  channel: string | null;
8684
8716
  address: string | null;
8685
- name: string;
8686
8717
  createdAt: Date;
8687
8718
  updatedAt: Date;
8688
8719
  deletedAt: Date | null;
@@ -8727,8 +8758,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8727
8758
  createdAt: Date;
8728
8759
  updatedAt: Date;
8729
8760
  deletedAt: Date | null;
8730
- address?: string | null | undefined;
8731
8761
  name?: string | undefined;
8762
+ address?: string | null | undefined;
8732
8763
  phone?: string | null | undefined;
8733
8764
  industry?: string | null | undefined;
8734
8765
  } | null;
@@ -8736,8 +8767,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8736
8767
  contactProfile: string | null;
8737
8768
  socialProfileUrl: string | null;
8738
8769
  tags: {
8739
- id: string;
8740
8770
  name: string;
8771
+ id: string;
8741
8772
  createdAt: Date;
8742
8773
  updatedAt: Date;
8743
8774
  deletedAt: Date | null;
@@ -8762,8 +8793,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8762
8793
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8763
8794
  id: string;
8764
8795
  metadata: {
8765
- id: string;
8766
8796
  name: string;
8797
+ id: string;
8767
8798
  picture?: string | undefined;
8768
8799
  additionalCredentials?: any;
8769
8800
  };
@@ -8825,9 +8856,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8825
8856
  extensionName: string;
8826
8857
  telephonySignature: string | null;
8827
8858
  user?: {
8859
+ name: string;
8828
8860
  id: string;
8829
8861
  address: string | null;
8830
- name: string;
8831
8862
  email: string;
8832
8863
  createdAt: Date;
8833
8864
  updatedAt: Date;
@@ -8874,9 +8905,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8874
8905
  queueName?: string | null | undefined;
8875
8906
  } | null;
8876
8907
  firstAssignee: {
8908
+ name: string;
8877
8909
  id: string;
8878
8910
  address: string | null;
8879
- name: string;
8880
8911
  email: string;
8881
8912
  createdAt: Date;
8882
8913
  updatedAt: Date;
@@ -8918,9 +8949,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8918
8949
  };
8919
8950
  } | null;
8920
8951
  agent: {
8952
+ name: string;
8921
8953
  id: string;
8922
8954
  address: string | null;
8923
- name: string;
8924
8955
  email: string;
8925
8956
  createdAt: Date;
8926
8957
  updatedAt: Date;
@@ -8962,9 +8993,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8962
8993
  };
8963
8994
  } | null;
8964
8995
  closedAssignee: {
8996
+ name: string;
8965
8997
  id: string;
8966
8998
  address: string | null;
8967
- name: string;
8968
8999
  email: string;
8969
9000
  createdAt: Date;
8970
9001
  updatedAt: Date;