@kl1/contracts 1.2.36-uat → 1.2.38-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 (99) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2971 -2760
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +87 -75
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +98 -84
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +2629 -6954
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +721 -1675
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +818 -1512
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +11876 -13847
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-intelligence/index.d.ts +115 -0
  21. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  22. package/dist/api-contracts/src/cx-log/index.d.ts +143 -190
  23. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/cx-log/schema.d.ts +119 -233
  25. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/index.d.ts +99 -77
  27. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/schema.d.ts +55 -12
  29. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  30. package/dist/api-contracts/src/dashboard/validation.d.ts +0 -26
  31. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  32. package/dist/api-contracts/src/extension/index.d.ts +0 -81
  33. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +1060 -1466
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +77 -68
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +60 -53
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +0 -4
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +836 -1271
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +757 -1204
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +82 -71
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/mail/mail-contract.d.ts +7 -619
  49. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  50. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -619
  51. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  52. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +0 -204
  53. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -165
  55. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/messenger/index.d.ts +836 -1271
  57. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/messenger/validation.d.ts +60 -53
  59. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  61. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  62. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  63. package/dist/api-contracts/src/sms/index.d.ts +146 -180
  64. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/sms/schema.d.ts +0 -22
  66. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  67. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  68. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  69. package/dist/api-contracts/src/telegram/index.d.ts +626 -1091
  70. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +89 -34
  72. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +27 -10
  74. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  76. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  77. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  78. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  79. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  80. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +8 -16
  82. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +10 -20
  84. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  85. package/dist/api-contracts/src/viber/index.d.ts +626 -1091
  86. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/webchat/index.d.ts +626 -1091
  88. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/whatsapp/index.d.ts +724 -1175
  90. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/workflow-rule/index.d.ts +183 -569
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  93. package/dist/entities/src/enums/chat.d.ts +0 -3
  94. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  95. package/dist/index.js +4369 -4862
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +4339 -4827
  98. package/dist/index.mjs.map +1 -1
  99. package/package.json +3 -7
@@ -13,12 +13,8 @@ export declare const CxLogSchema: z.ZodObject<{
13
13
  agentId: z.ZodNullable<z.ZodString>;
14
14
  direction: z.ZodNullable<z.ZodString>;
15
15
  startedDate: z.ZodNullable<z.ZodDate>;
16
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
17
16
  handledTime: z.ZodNullable<z.ZodNumber>;
18
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
19
17
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
20
- resolutionTime: z.ZodNullable<z.ZodNumber>;
21
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
22
18
  wrapUpForm: z.ZodNullable<z.ZodObject<{
23
19
  id: z.ZodString;
24
20
  createdAt: z.ZodDate;
@@ -285,74 +281,6 @@ export declare const CxLogSchema: z.ZodObject<{
285
281
  dateValue: Date | null;
286
282
  }[] | null | undefined;
287
283
  }>>;
288
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
289
- id: z.ZodString;
290
- createdAt: z.ZodDate;
291
- updatedAt: z.ZodDate;
292
- deletedAt: z.ZodNullable<z.ZodDate>;
293
- startedAt: z.ZodString;
294
- endedAt: z.ZodNullable<z.ZodString>;
295
- duration: z.ZodNullable<z.ZodNumber>;
296
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
297
- id: z.ZodString;
298
- createdAt: z.ZodDate;
299
- updatedAt: z.ZodDate;
300
- deletedAt: z.ZodNullable<z.ZodDate>;
301
- name: z.ZodString;
302
- position: z.ZodNumber;
303
- isDefault: z.ZodDefault<z.ZodBoolean>;
304
- }, "strip", z.ZodTypeAny, {
305
- name: string;
306
- id: string;
307
- position: number;
308
- createdAt: Date;
309
- updatedAt: Date;
310
- deletedAt: Date | null;
311
- isDefault: boolean;
312
- }, {
313
- name: string;
314
- id: string;
315
- position: number;
316
- createdAt: Date;
317
- updatedAt: Date;
318
- deletedAt: Date | null;
319
- isDefault?: boolean | undefined;
320
- }>>>;
321
- }, "strip", z.ZodTypeAny, {
322
- id: string;
323
- createdAt: Date;
324
- updatedAt: Date;
325
- deletedAt: Date | null;
326
- startedAt: string;
327
- endedAt: string | null;
328
- duration: number | null;
329
- holdLabel?: {
330
- name: string;
331
- id: string;
332
- position: number;
333
- createdAt: Date;
334
- updatedAt: Date;
335
- deletedAt: Date | null;
336
- isDefault: boolean;
337
- } | null | undefined;
338
- }, {
339
- id: string;
340
- createdAt: Date;
341
- updatedAt: Date;
342
- deletedAt: Date | null;
343
- startedAt: string;
344
- endedAt: string | null;
345
- duration: number | null;
346
- holdLabel?: {
347
- name: string;
348
- id: string;
349
- position: number;
350
- createdAt: Date;
351
- updatedAt: Date;
352
- deletedAt: Date | null;
353
- isDefault?: boolean | undefined;
354
- } | null | undefined;
355
- }>, "many">>>;
356
284
  }, "strip", z.ZodTypeAny, {
357
285
  id: string;
358
286
  channel: string | null;
@@ -367,12 +295,8 @@ export declare const CxLogSchema: z.ZodObject<{
367
295
  entityName: string;
368
296
  agentId: string | null;
369
297
  startedDate: Date | null;
370
- totalHoldDuration: number | null;
371
298
  handledTime: number | null;
372
- fullHandledTime: number | null;
373
299
  firstResponseTime: number | null;
374
- resolutionTime: number | null;
375
- fullResolutionTime: number | null;
376
300
  wrapUpForm: {
377
301
  type: string;
378
302
  id: string;
@@ -425,24 +349,6 @@ export declare const CxLogSchema: z.ZodObject<{
425
349
  dateValue: Date | null;
426
350
  }[] | null | undefined;
427
351
  } | null;
428
- holdLogs?: {
429
- id: string;
430
- createdAt: Date;
431
- updatedAt: Date;
432
- deletedAt: Date | null;
433
- startedAt: string;
434
- endedAt: string | null;
435
- duration: number | null;
436
- holdLabel?: {
437
- name: string;
438
- id: string;
439
- position: number;
440
- createdAt: Date;
441
- updatedAt: Date;
442
- deletedAt: Date | null;
443
- isDefault: boolean;
444
- } | null | undefined;
445
- }[] | null | undefined;
446
352
  }, {
447
353
  id: string;
448
354
  channel: string | null;
@@ -457,12 +363,8 @@ export declare const CxLogSchema: z.ZodObject<{
457
363
  entityName: string;
458
364
  agentId: string | null;
459
365
  startedDate: Date | null;
460
- totalHoldDuration: number | null;
461
366
  handledTime: number | null;
462
- fullHandledTime: number | null;
463
367
  firstResponseTime: number | null;
464
- resolutionTime: number | null;
465
- fullResolutionTime: number | null;
466
368
  wrapUpForm: {
467
369
  type: string;
468
370
  id: string;
@@ -515,24 +417,6 @@ export declare const CxLogSchema: z.ZodObject<{
515
417
  dateValue: Date | null;
516
418
  }[] | null | undefined;
517
419
  } | null;
518
- holdLogs?: {
519
- id: string;
520
- createdAt: Date;
521
- updatedAt: Date;
522
- deletedAt: Date | null;
523
- startedAt: string;
524
- endedAt: string | null;
525
- duration: number | null;
526
- holdLabel?: {
527
- name: string;
528
- id: string;
529
- position: number;
530
- createdAt: Date;
531
- updatedAt: Date;
532
- deletedAt: Date | null;
533
- isDefault?: boolean | undefined;
534
- } | null | undefined;
535
- }[] | null | undefined;
536
420
  }>;
537
421
  export declare const CxLogSchemaWithRelations: z.ZodObject<{
538
422
  id: z.ZodString;
@@ -547,11 +431,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
547
431
  channel: z.ZodNullable<z.ZodString>;
548
432
  direction: z.ZodNullable<z.ZodString>;
549
433
  startedDate: z.ZodNullable<z.ZodString>;
550
- totalHoldDuration: z.ZodNullable<z.ZodString>;
551
434
  handledTime: z.ZodNullable<z.ZodString>;
552
- fullHandledTime: z.ZodNullable<z.ZodString>;
553
435
  firstResponseTime: z.ZodNullable<z.ZodString>;
554
- fullResolutionTime: z.ZodNullable<z.ZodString>;
555
436
  firstResponseDate: z.ZodString;
556
437
  resolutionTime: z.ZodNullable<z.ZodString>;
557
438
  resolutionDate: z.ZodString;
@@ -1233,10 +1114,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1233
1114
  fileSize: z.ZodNumber;
1234
1115
  fileKey: z.ZodString;
1235
1116
  fileUrl: z.ZodNullable<z.ZodString>;
1236
- status: z.ZodNullable<z.ZodString>;
1117
+ status: z.ZodOptional<z.ZodString>;
1237
1118
  }, "strip", z.ZodTypeAny, {
1238
1119
  id: string;
1239
- status: string | null;
1240
1120
  createdAt: Date;
1241
1121
  updatedAt: Date;
1242
1122
  deletedAt: Date | null;
@@ -1245,9 +1125,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1245
1125
  bucketName: string;
1246
1126
  fileSize: number;
1247
1127
  fileUrl: string | null;
1128
+ status?: string | undefined;
1248
1129
  }, {
1249
1130
  id: string;
1250
- status: string | null;
1251
1131
  createdAt: Date;
1252
1132
  updatedAt: Date;
1253
1133
  deletedAt: Date | null;
@@ -1256,6 +1136,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1256
1136
  bucketName: string;
1257
1137
  fileSize: number;
1258
1138
  fileUrl: string | null;
1139
+ status?: string | undefined;
1259
1140
  }>, "many">;
1260
1141
  }, "strip", z.ZodTypeAny, {
1261
1142
  id: string;
@@ -1282,7 +1163,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1282
1163
  dateValue: Date | null;
1283
1164
  uploads: {
1284
1165
  id: string;
1285
- status: string | null;
1286
1166
  createdAt: Date;
1287
1167
  updatedAt: Date;
1288
1168
  deletedAt: Date | null;
@@ -1291,6 +1171,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1291
1171
  bucketName: string;
1292
1172
  fileSize: number;
1293
1173
  fileUrl: string | null;
1174
+ status?: string | undefined;
1294
1175
  }[];
1295
1176
  }, {
1296
1177
  id: string;
@@ -1317,7 +1198,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1317
1198
  dateValue: Date | null;
1318
1199
  uploads: {
1319
1200
  id: string;
1320
- status: string | null;
1321
1201
  createdAt: Date;
1322
1202
  updatedAt: Date;
1323
1203
  deletedAt: Date | null;
@@ -1326,6 +1206,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1326
1206
  bucketName: string;
1327
1207
  fileSize: number;
1328
1208
  fileUrl: string | null;
1209
+ status?: string | undefined;
1329
1210
  }[];
1330
1211
  }>, "many">;
1331
1212
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1465,7 +1346,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1465
1346
  dateValue: Date | null;
1466
1347
  uploads: {
1467
1348
  id: string;
1468
- status: string | null;
1469
1349
  createdAt: Date;
1470
1350
  updatedAt: Date;
1471
1351
  deletedAt: Date | null;
@@ -1474,6 +1354,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1474
1354
  bucketName: string;
1475
1355
  fileSize: number;
1476
1356
  fileUrl: string | null;
1357
+ status?: string | undefined;
1477
1358
  }[];
1478
1359
  }[];
1479
1360
  company: {
@@ -1576,7 +1457,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1576
1457
  dateValue: Date | null;
1577
1458
  uploads: {
1578
1459
  id: string;
1579
- status: string | null;
1580
1460
  createdAt: Date;
1581
1461
  updatedAt: Date;
1582
1462
  deletedAt: Date | null;
@@ -1585,6 +1465,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1585
1465
  bucketName: string;
1586
1466
  fileSize: number;
1587
1467
  fileUrl: string | null;
1468
+ status?: string | undefined;
1588
1469
  }[];
1589
1470
  }[];
1590
1471
  company: {
@@ -1700,7 +1581,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1700
1581
  dateValue: Date | null;
1701
1582
  uploads: {
1702
1583
  id: string;
1703
- status: string | null;
1704
1584
  createdAt: Date;
1705
1585
  updatedAt: Date;
1706
1586
  deletedAt: Date | null;
@@ -1709,6 +1589,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1709
1589
  bucketName: string;
1710
1590
  fileSize: number;
1711
1591
  fileUrl: string | null;
1592
+ status?: string | undefined;
1712
1593
  }[];
1713
1594
  }[];
1714
1595
  company: {
@@ -1826,7 +1707,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1826
1707
  dateValue: Date | null;
1827
1708
  uploads: {
1828
1709
  id: string;
1829
- status: string | null;
1830
1710
  createdAt: Date;
1831
1711
  updatedAt: Date;
1832
1712
  deletedAt: Date | null;
@@ -1835,6 +1715,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1835
1715
  bucketName: string;
1836
1716
  fileSize: number;
1837
1717
  fileUrl: string | null;
1718
+ status?: string | undefined;
1838
1719
  }[];
1839
1720
  }[];
1840
1721
  company: {
@@ -2331,35 +2212,38 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2331
2212
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2332
2213
  senderId: z.ZodOptional<z.ZodString>;
2333
2214
  whatsapp: z.ZodOptional<z.ZodObject<{
2334
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2335
- wabaExternalId: z.ZodString;
2336
- phoneNumberId: z.ZodString;
2337
- email: z.ZodString;
2338
- clientId: z.ZodOptional<z.ZodString>;
2339
- channelId: z.ZodOptional<z.ZodString>;
2215
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2216
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2217
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2218
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2219
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2220
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2340
2221
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2341
2222
  apiKey: z.ZodOptional<z.ZodString>;
2342
2223
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2224
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2343
2225
  }, "strip", z.ZodTypeAny, {
2344
- email: string;
2345
- wabaExternalId: string;
2346
- phoneNumberId: string;
2347
- wabaBusinessId?: string | undefined;
2348
- clientId?: string | undefined;
2349
- channelId?: string | undefined;
2226
+ wabaBusinessId?: string | null | undefined;
2227
+ wabaExternalId?: string | null | undefined;
2228
+ phoneNumberId?: string | null | undefined;
2229
+ email?: string | null | undefined;
2230
+ clientId?: string | null | undefined;
2231
+ channelId?: string | null | undefined;
2350
2232
  status?: "active" | "pending" | undefined;
2351
2233
  apiKey?: string | undefined;
2352
2234
  tier?: "basic" | "regular" | "premium" | undefined;
2235
+ integrationType?: "meta" | "360dialog" | undefined;
2353
2236
  }, {
2354
- email: string;
2355
- wabaExternalId: string;
2356
- phoneNumberId: string;
2357
- wabaBusinessId?: string | undefined;
2358
- clientId?: string | undefined;
2359
- channelId?: string | undefined;
2237
+ wabaBusinessId?: string | null | undefined;
2238
+ wabaExternalId?: string | null | undefined;
2239
+ phoneNumberId?: string | null | undefined;
2240
+ email?: string | null | undefined;
2241
+ clientId?: string | null | undefined;
2242
+ channelId?: string | null | undefined;
2360
2243
  status?: "active" | "pending" | undefined;
2361
2244
  apiKey?: string | undefined;
2362
2245
  tier?: "basic" | "regular" | "premium" | undefined;
2246
+ integrationType?: "meta" | "360dialog" | undefined;
2363
2247
  }>>;
2364
2248
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2365
2249
  mobileNumber: z.ZodString;
@@ -2384,15 +2268,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2384
2268
  additionalCredentials?: any;
2385
2269
  senderId?: string | undefined;
2386
2270
  whatsapp?: {
2387
- email: string;
2388
- wabaExternalId: string;
2389
- phoneNumberId: string;
2390
- wabaBusinessId?: string | undefined;
2391
- clientId?: string | undefined;
2392
- channelId?: string | undefined;
2271
+ wabaBusinessId?: string | null | undefined;
2272
+ wabaExternalId?: string | null | undefined;
2273
+ phoneNumberId?: string | null | undefined;
2274
+ email?: string | null | undefined;
2275
+ clientId?: string | null | undefined;
2276
+ channelId?: string | null | undefined;
2393
2277
  status?: "active" | "pending" | undefined;
2394
2278
  apiKey?: string | undefined;
2395
2279
  tier?: "basic" | "regular" | "premium" | undefined;
2280
+ integrationType?: "meta" | "360dialog" | undefined;
2396
2281
  } | undefined;
2397
2282
  vonageCredentials?: {
2398
2283
  apiKey: string;
@@ -2409,15 +2294,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2409
2294
  additionalCredentials?: any;
2410
2295
  senderId?: string | undefined;
2411
2296
  whatsapp?: {
2412
- email: string;
2413
- wabaExternalId: string;
2414
- phoneNumberId: string;
2415
- wabaBusinessId?: string | undefined;
2416
- clientId?: string | undefined;
2417
- channelId?: string | undefined;
2297
+ wabaBusinessId?: string | null | undefined;
2298
+ wabaExternalId?: string | null | undefined;
2299
+ phoneNumberId?: string | null | undefined;
2300
+ email?: string | null | undefined;
2301
+ clientId?: string | null | undefined;
2302
+ channelId?: string | null | undefined;
2418
2303
  status?: "active" | "pending" | undefined;
2419
2304
  apiKey?: string | undefined;
2420
2305
  tier?: "basic" | "regular" | "premium" | undefined;
2306
+ integrationType?: "meta" | "360dialog" | undefined;
2421
2307
  } | undefined;
2422
2308
  vonageCredentials?: {
2423
2309
  apiKey: string;
@@ -2668,15 +2554,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2668
2554
  additionalCredentials?: any;
2669
2555
  senderId?: string | undefined;
2670
2556
  whatsapp?: {
2671
- email: string;
2672
- wabaExternalId: string;
2673
- phoneNumberId: string;
2674
- wabaBusinessId?: string | undefined;
2675
- clientId?: string | undefined;
2676
- channelId?: string | undefined;
2557
+ wabaBusinessId?: string | null | undefined;
2558
+ wabaExternalId?: string | null | undefined;
2559
+ phoneNumberId?: string | null | undefined;
2560
+ email?: string | null | undefined;
2561
+ clientId?: string | null | undefined;
2562
+ channelId?: string | null | undefined;
2677
2563
  status?: "active" | "pending" | undefined;
2678
2564
  apiKey?: string | undefined;
2679
2565
  tier?: "basic" | "regular" | "premium" | undefined;
2566
+ integrationType?: "meta" | "360dialog" | undefined;
2680
2567
  } | undefined;
2681
2568
  vonageCredentials?: {
2682
2569
  apiKey: string;
@@ -2758,15 +2645,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2758
2645
  additionalCredentials?: any;
2759
2646
  senderId?: string | undefined;
2760
2647
  whatsapp?: {
2761
- email: string;
2762
- wabaExternalId: string;
2763
- phoneNumberId: string;
2764
- wabaBusinessId?: string | undefined;
2765
- clientId?: string | undefined;
2766
- channelId?: string | undefined;
2648
+ wabaBusinessId?: string | null | undefined;
2649
+ wabaExternalId?: string | null | undefined;
2650
+ phoneNumberId?: string | null | undefined;
2651
+ email?: string | null | undefined;
2652
+ clientId?: string | null | undefined;
2653
+ channelId?: string | null | undefined;
2767
2654
  status?: "active" | "pending" | undefined;
2768
2655
  apiKey?: string | undefined;
2769
2656
  tier?: "basic" | "regular" | "premium" | undefined;
2657
+ integrationType?: "meta" | "360dialog" | undefined;
2770
2658
  } | undefined;
2771
2659
  vonageCredentials?: {
2772
2660
  apiKey: string;
@@ -2851,15 +2739,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2851
2739
  additionalCredentials?: any;
2852
2740
  senderId?: string | undefined;
2853
2741
  whatsapp?: {
2854
- email: string;
2855
- wabaExternalId: string;
2856
- phoneNumberId: string;
2857
- wabaBusinessId?: string | undefined;
2858
- clientId?: string | undefined;
2859
- channelId?: string | undefined;
2742
+ wabaBusinessId?: string | null | undefined;
2743
+ wabaExternalId?: string | null | undefined;
2744
+ phoneNumberId?: string | null | undefined;
2745
+ email?: string | null | undefined;
2746
+ clientId?: string | null | undefined;
2747
+ channelId?: string | null | undefined;
2860
2748
  status?: "active" | "pending" | undefined;
2861
2749
  apiKey?: string | undefined;
2862
2750
  tier?: "basic" | "regular" | "premium" | undefined;
2751
+ integrationType?: "meta" | "360dialog" | undefined;
2863
2752
  } | undefined;
2864
2753
  vonageCredentials?: {
2865
2754
  apiKey: string;
@@ -3030,7 +2919,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3030
2919
  dateValue: Date | null;
3031
2920
  uploads: {
3032
2921
  id: string;
3033
- status: string | null;
3034
2922
  createdAt: Date;
3035
2923
  updatedAt: Date;
3036
2924
  deletedAt: Date | null;
@@ -3039,6 +2927,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3039
2927
  bucketName: string;
3040
2928
  fileSize: number;
3041
2929
  fileUrl: string | null;
2930
+ status?: string | undefined;
3042
2931
  }[];
3043
2932
  }[];
3044
2933
  company: {
@@ -3170,15 +3059,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3170
3059
  additionalCredentials?: any;
3171
3060
  senderId?: string | undefined;
3172
3061
  whatsapp?: {
3173
- email: string;
3174
- wabaExternalId: string;
3175
- phoneNumberId: string;
3176
- wabaBusinessId?: string | undefined;
3177
- clientId?: string | undefined;
3178
- channelId?: string | undefined;
3062
+ wabaBusinessId?: string | null | undefined;
3063
+ wabaExternalId?: string | null | undefined;
3064
+ phoneNumberId?: string | null | undefined;
3065
+ email?: string | null | undefined;
3066
+ clientId?: string | null | undefined;
3067
+ channelId?: string | null | undefined;
3179
3068
  status?: "active" | "pending" | undefined;
3180
3069
  apiKey?: string | undefined;
3181
3070
  tier?: "basic" | "regular" | "premium" | undefined;
3071
+ integrationType?: "meta" | "360dialog" | undefined;
3182
3072
  } | undefined;
3183
3073
  vonageCredentials?: {
3184
3074
  apiKey: string;
@@ -3349,7 +3239,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3349
3239
  dateValue: Date | null;
3350
3240
  uploads: {
3351
3241
  id: string;
3352
- status: string | null;
3353
3242
  createdAt: Date;
3354
3243
  updatedAt: Date;
3355
3244
  deletedAt: Date | null;
@@ -3358,6 +3247,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3358
3247
  bucketName: string;
3359
3248
  fileSize: number;
3360
3249
  fileUrl: string | null;
3250
+ status?: string | undefined;
3361
3251
  }[];
3362
3252
  }[];
3363
3253
  company: {
@@ -3837,10 +3727,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3837
3727
  fileSize: z.ZodNumber;
3838
3728
  fileKey: z.ZodString;
3839
3729
  fileUrl: z.ZodNullable<z.ZodString>;
3840
- status: z.ZodNullable<z.ZodString>;
3730
+ status: z.ZodOptional<z.ZodString>;
3841
3731
  }, "strip", z.ZodTypeAny, {
3842
3732
  id: string;
3843
- status: string | null;
3844
3733
  createdAt: Date;
3845
3734
  updatedAt: Date;
3846
3735
  deletedAt: Date | null;
@@ -3849,9 +3738,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3849
3738
  bucketName: string;
3850
3739
  fileSize: number;
3851
3740
  fileUrl: string | null;
3741
+ status?: string | undefined;
3852
3742
  }, {
3853
3743
  id: string;
3854
- status: string | null;
3855
3744
  createdAt: Date;
3856
3745
  updatedAt: Date;
3857
3746
  deletedAt: Date | null;
@@ -3860,6 +3749,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3860
3749
  bucketName: string;
3861
3750
  fileSize: number;
3862
3751
  fileUrl: string | null;
3752
+ status?: string | undefined;
3863
3753
  }>, "many">;
3864
3754
  }, "strip", z.ZodTypeAny, {
3865
3755
  id: string;
@@ -3886,7 +3776,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3886
3776
  dateValue: Date | null;
3887
3777
  uploads: {
3888
3778
  id: string;
3889
- status: string | null;
3890
3779
  createdAt: Date;
3891
3780
  updatedAt: Date;
3892
3781
  deletedAt: Date | null;
@@ -3895,6 +3784,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3895
3784
  bucketName: string;
3896
3785
  fileSize: number;
3897
3786
  fileUrl: string | null;
3787
+ status?: string | undefined;
3898
3788
  }[];
3899
3789
  }, {
3900
3790
  id: string;
@@ -3921,7 +3811,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3921
3811
  dateValue: Date | null;
3922
3812
  uploads: {
3923
3813
  id: string;
3924
- status: string | null;
3925
3814
  createdAt: Date;
3926
3815
  updatedAt: Date;
3927
3816
  deletedAt: Date | null;
@@ -3930,6 +3819,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3930
3819
  bucketName: string;
3931
3820
  fileSize: number;
3932
3821
  fileUrl: string | null;
3822
+ status?: string | undefined;
3933
3823
  }[];
3934
3824
  }>, "many">;
3935
3825
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4069,7 +3959,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4069
3959
  dateValue: Date | null;
4070
3960
  uploads: {
4071
3961
  id: string;
4072
- status: string | null;
4073
3962
  createdAt: Date;
4074
3963
  updatedAt: Date;
4075
3964
  deletedAt: Date | null;
@@ -4078,6 +3967,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4078
3967
  bucketName: string;
4079
3968
  fileSize: number;
4080
3969
  fileUrl: string | null;
3970
+ status?: string | undefined;
4081
3971
  }[];
4082
3972
  }[];
4083
3973
  company: {
@@ -4180,7 +4070,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4180
4070
  dateValue: Date | null;
4181
4071
  uploads: {
4182
4072
  id: string;
4183
- status: string | null;
4184
4073
  createdAt: Date;
4185
4074
  updatedAt: Date;
4186
4075
  deletedAt: Date | null;
@@ -4189,6 +4078,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4189
4078
  bucketName: string;
4190
4079
  fileSize: number;
4191
4080
  fileUrl: string | null;
4081
+ status?: string | undefined;
4192
4082
  }[];
4193
4083
  }[];
4194
4084
  company: {
@@ -4305,10 +4195,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4305
4195
  fileSize: z.ZodNumber;
4306
4196
  fileKey: z.ZodString;
4307
4197
  fileUrl: z.ZodNullable<z.ZodString>;
4308
- status: z.ZodNullable<z.ZodString>;
4198
+ status: z.ZodOptional<z.ZodString>;
4309
4199
  }, "strip", z.ZodTypeAny, {
4310
4200
  id: string;
4311
- status: string | null;
4312
4201
  createdAt: Date;
4313
4202
  updatedAt: Date;
4314
4203
  deletedAt: Date | null;
@@ -4317,9 +4206,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4317
4206
  bucketName: string;
4318
4207
  fileSize: number;
4319
4208
  fileUrl: string | null;
4209
+ status?: string | undefined;
4320
4210
  }, {
4321
4211
  id: string;
4322
- status: string | null;
4323
4212
  createdAt: Date;
4324
4213
  updatedAt: Date;
4325
4214
  deletedAt: Date | null;
@@ -4328,6 +4217,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4328
4217
  bucketName: string;
4329
4218
  fileSize: number;
4330
4219
  fileUrl: string | null;
4220
+ status?: string | undefined;
4331
4221
  }>>>;
4332
4222
  callParticipants: z.ZodNullable<z.ZodObject<{
4333
4223
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5292,7 +5182,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5292
5182
  dateValue: Date | null;
5293
5183
  uploads: {
5294
5184
  id: string;
5295
- status: string | null;
5296
5185
  createdAt: Date;
5297
5186
  updatedAt: Date;
5298
5187
  deletedAt: Date | null;
@@ -5301,6 +5190,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5301
5190
  bucketName: string;
5302
5191
  fileSize: number;
5303
5192
  fileUrl: string | null;
5193
+ status?: string | undefined;
5304
5194
  }[];
5305
5195
  }[];
5306
5196
  company: {
@@ -5383,7 +5273,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5383
5273
  } | null | undefined;
5384
5274
  upload?: {
5385
5275
  id: string;
5386
- status: string | null;
5387
5276
  createdAt: Date;
5388
5277
  updatedAt: Date;
5389
5278
  deletedAt: Date | null;
@@ -5392,6 +5281,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5392
5281
  bucketName: string;
5393
5282
  fileSize: number;
5394
5283
  fileUrl: string | null;
5284
+ status?: string | undefined;
5395
5285
  } | null | undefined;
5396
5286
  extension?: {
5397
5287
  id: string;
@@ -5562,7 +5452,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5562
5452
  dateValue: Date | null;
5563
5453
  uploads: {
5564
5454
  id: string;
5565
- status: string | null;
5566
5455
  createdAt: Date;
5567
5456
  updatedAt: Date;
5568
5457
  deletedAt: Date | null;
@@ -5571,6 +5460,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5571
5460
  bucketName: string;
5572
5461
  fileSize: number;
5573
5462
  fileUrl: string | null;
5463
+ status?: string | undefined;
5574
5464
  }[];
5575
5465
  }[];
5576
5466
  company: {
@@ -5653,7 +5543,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5653
5543
  } | null | undefined;
5654
5544
  upload?: {
5655
5545
  id: string;
5656
- status: string | null;
5657
5546
  createdAt: Date;
5658
5547
  updatedAt: Date;
5659
5548
  deletedAt: Date | null;
@@ -5662,6 +5551,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5662
5551
  bucketName: string;
5663
5552
  fileSize: number;
5664
5553
  fileUrl: string | null;
5554
+ status?: string | undefined;
5665
5555
  } | null | undefined;
5666
5556
  extension?: {
5667
5557
  id: string;
@@ -6076,10 +5966,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6076
5966
  fileSize: z.ZodNumber;
6077
5967
  fileKey: z.ZodString;
6078
5968
  fileUrl: z.ZodNullable<z.ZodString>;
6079
- status: z.ZodNullable<z.ZodString>;
5969
+ status: z.ZodOptional<z.ZodString>;
6080
5970
  }, "strip", z.ZodTypeAny, {
6081
5971
  id: string;
6082
- status: string | null;
6083
5972
  createdAt: Date;
6084
5973
  updatedAt: Date;
6085
5974
  deletedAt: Date | null;
@@ -6088,9 +5977,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6088
5977
  bucketName: string;
6089
5978
  fileSize: number;
6090
5979
  fileUrl: string | null;
5980
+ status?: string | undefined;
6091
5981
  }, {
6092
5982
  id: string;
6093
- status: string | null;
6094
5983
  createdAt: Date;
6095
5984
  updatedAt: Date;
6096
5985
  deletedAt: Date | null;
@@ -6099,6 +5988,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6099
5988
  bucketName: string;
6100
5989
  fileSize: number;
6101
5990
  fileUrl: string | null;
5991
+ status?: string | undefined;
6102
5992
  }>, "many">;
6103
5993
  }, "strip", z.ZodTypeAny, {
6104
5994
  id: string;
@@ -6125,7 +6015,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6125
6015
  dateValue: Date | null;
6126
6016
  uploads: {
6127
6017
  id: string;
6128
- status: string | null;
6129
6018
  createdAt: Date;
6130
6019
  updatedAt: Date;
6131
6020
  deletedAt: Date | null;
@@ -6134,6 +6023,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6134
6023
  bucketName: string;
6135
6024
  fileSize: number;
6136
6025
  fileUrl: string | null;
6026
+ status?: string | undefined;
6137
6027
  }[];
6138
6028
  }, {
6139
6029
  id: string;
@@ -6160,7 +6050,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6160
6050
  dateValue: Date | null;
6161
6051
  uploads: {
6162
6052
  id: string;
6163
- status: string | null;
6164
6053
  createdAt: Date;
6165
6054
  updatedAt: Date;
6166
6055
  deletedAt: Date | null;
@@ -6169,6 +6058,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6169
6058
  bucketName: string;
6170
6059
  fileSize: number;
6171
6060
  fileUrl: string | null;
6061
+ status?: string | undefined;
6172
6062
  }[];
6173
6063
  }>, "many">;
6174
6064
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6308,7 +6198,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6308
6198
  dateValue: Date | null;
6309
6199
  uploads: {
6310
6200
  id: string;
6311
- status: string | null;
6312
6201
  createdAt: Date;
6313
6202
  updatedAt: Date;
6314
6203
  deletedAt: Date | null;
@@ -6317,6 +6206,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6317
6206
  bucketName: string;
6318
6207
  fileSize: number;
6319
6208
  fileUrl: string | null;
6209
+ status?: string | undefined;
6320
6210
  }[];
6321
6211
  }[];
6322
6212
  company: {
@@ -6419,7 +6309,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6419
6309
  dateValue: Date | null;
6420
6310
  uploads: {
6421
6311
  id: string;
6422
- status: string | null;
6423
6312
  createdAt: Date;
6424
6313
  updatedAt: Date;
6425
6314
  deletedAt: Date | null;
@@ -6428,6 +6317,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6428
6317
  bucketName: string;
6429
6318
  fileSize: number;
6430
6319
  fileUrl: string | null;
6320
+ status?: string | undefined;
6431
6321
  }[];
6432
6322
  }[];
6433
6323
  company: {
@@ -7152,7 +7042,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7152
7042
  dateValue: Date | null;
7153
7043
  uploads: {
7154
7044
  id: string;
7155
- status: string | null;
7156
7045
  createdAt: Date;
7157
7046
  updatedAt: Date;
7158
7047
  deletedAt: Date | null;
@@ -7161,6 +7050,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7161
7050
  bucketName: string;
7162
7051
  fileSize: number;
7163
7052
  fileUrl: string | null;
7053
+ status?: string | undefined;
7164
7054
  }[];
7165
7055
  }[];
7166
7056
  company: {
@@ -7234,12 +7124,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7234
7124
  caseId: number;
7235
7125
  entityName: string;
7236
7126
  startedDate: string | null;
7237
- totalHoldDuration: string | null;
7238
7127
  handledTime: string | null;
7239
- fullHandledTime: string | null;
7240
7128
  firstResponseTime: string | null;
7241
- resolutionTime: string | null;
7242
- fullResolutionTime: string | null;
7243
7129
  wrapUpForm: {
7244
7130
  type: string;
7245
7131
  id: string;
@@ -7295,6 +7181,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7295
7181
  customerPhone: string | null;
7296
7182
  channelType: string | null;
7297
7183
  firstResponseDate: string;
7184
+ resolutionTime: string | null;
7298
7185
  resolutionDate: string;
7299
7186
  wrapUpDuration: string;
7300
7187
  slaMeet: string | null;
@@ -7321,15 +7208,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7321
7208
  additionalCredentials?: any;
7322
7209
  senderId?: string | undefined;
7323
7210
  whatsapp?: {
7324
- email: string;
7325
- wabaExternalId: string;
7326
- phoneNumberId: string;
7327
- wabaBusinessId?: string | undefined;
7328
- clientId?: string | undefined;
7329
- channelId?: string | undefined;
7211
+ wabaBusinessId?: string | null | undefined;
7212
+ wabaExternalId?: string | null | undefined;
7213
+ phoneNumberId?: string | null | undefined;
7214
+ email?: string | null | undefined;
7215
+ clientId?: string | null | undefined;
7216
+ channelId?: string | null | undefined;
7330
7217
  status?: "active" | "pending" | undefined;
7331
7218
  apiKey?: string | undefined;
7332
7219
  tier?: "basic" | "regular" | "premium" | undefined;
7220
+ integrationType?: "meta" | "360dialog" | undefined;
7333
7221
  } | undefined;
7334
7222
  vonageCredentials?: {
7335
7223
  apiKey: string;
@@ -7500,7 +7388,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7500
7388
  dateValue: Date | null;
7501
7389
  uploads: {
7502
7390
  id: string;
7503
- status: string | null;
7504
7391
  createdAt: Date;
7505
7392
  updatedAt: Date;
7506
7393
  deletedAt: Date | null;
@@ -7509,6 +7396,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7509
7396
  bucketName: string;
7510
7397
  fileSize: number;
7511
7398
  fileUrl: string | null;
7399
+ status?: string | undefined;
7512
7400
  }[];
7513
7401
  }[];
7514
7402
  company: {
@@ -7739,7 +7627,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7739
7627
  dateValue: Date | null;
7740
7628
  uploads: {
7741
7629
  id: string;
7742
- status: string | null;
7743
7630
  createdAt: Date;
7744
7631
  updatedAt: Date;
7745
7632
  deletedAt: Date | null;
@@ -7748,6 +7635,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7748
7635
  bucketName: string;
7749
7636
  fileSize: number;
7750
7637
  fileUrl: string | null;
7638
+ status?: string | undefined;
7751
7639
  }[];
7752
7640
  }[];
7753
7641
  company: {
@@ -7830,7 +7718,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7830
7718
  } | null | undefined;
7831
7719
  upload?: {
7832
7720
  id: string;
7833
- status: string | null;
7834
7721
  createdAt: Date;
7835
7722
  updatedAt: Date;
7836
7723
  deletedAt: Date | null;
@@ -7839,6 +7726,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7839
7726
  bucketName: string;
7840
7727
  fileSize: number;
7841
7728
  fileUrl: string | null;
7729
+ status?: string | undefined;
7842
7730
  } | null | undefined;
7843
7731
  extension?: {
7844
7732
  id: string;
@@ -8075,7 +7963,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8075
7963
  dateValue: Date | null;
8076
7964
  uploads: {
8077
7965
  id: string;
8078
- status: string | null;
8079
7966
  createdAt: Date;
8080
7967
  updatedAt: Date;
8081
7968
  deletedAt: Date | null;
@@ -8084,6 +7971,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8084
7971
  bucketName: string;
8085
7972
  fileSize: number;
8086
7973
  fileUrl: string | null;
7974
+ status?: string | undefined;
8087
7975
  }[];
8088
7976
  }[];
8089
7977
  company: {
@@ -8157,12 +8045,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8157
8045
  caseId: number;
8158
8046
  entityName: string;
8159
8047
  startedDate: string | null;
8160
- totalHoldDuration: string | null;
8161
8048
  handledTime: string | null;
8162
- fullHandledTime: string | null;
8163
8049
  firstResponseTime: string | null;
8164
- resolutionTime: string | null;
8165
- fullResolutionTime: string | null;
8166
8050
  wrapUpForm: {
8167
8051
  type: string;
8168
8052
  id: string;
@@ -8218,6 +8102,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8218
8102
  customerPhone: string | null;
8219
8103
  channelType: string | null;
8220
8104
  firstResponseDate: string;
8105
+ resolutionTime: string | null;
8221
8106
  resolutionDate: string;
8222
8107
  wrapUpDuration: string;
8223
8108
  slaMeet: string | null;
@@ -8244,15 +8129,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8244
8129
  additionalCredentials?: any;
8245
8130
  senderId?: string | undefined;
8246
8131
  whatsapp?: {
8247
- email: string;
8248
- wabaExternalId: string;
8249
- phoneNumberId: string;
8250
- wabaBusinessId?: string | undefined;
8251
- clientId?: string | undefined;
8252
- channelId?: string | undefined;
8132
+ wabaBusinessId?: string | null | undefined;
8133
+ wabaExternalId?: string | null | undefined;
8134
+ phoneNumberId?: string | null | undefined;
8135
+ email?: string | null | undefined;
8136
+ clientId?: string | null | undefined;
8137
+ channelId?: string | null | undefined;
8253
8138
  status?: "active" | "pending" | undefined;
8254
8139
  apiKey?: string | undefined;
8255
8140
  tier?: "basic" | "regular" | "premium" | undefined;
8141
+ integrationType?: "meta" | "360dialog" | undefined;
8256
8142
  } | undefined;
8257
8143
  vonageCredentials?: {
8258
8144
  apiKey: string;
@@ -8423,7 +8309,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8423
8309
  dateValue: Date | null;
8424
8310
  uploads: {
8425
8311
  id: string;
8426
- status: string | null;
8427
8312
  createdAt: Date;
8428
8313
  updatedAt: Date;
8429
8314
  deletedAt: Date | null;
@@ -8432,6 +8317,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8432
8317
  bucketName: string;
8433
8318
  fileSize: number;
8434
8319
  fileUrl: string | null;
8320
+ status?: string | undefined;
8435
8321
  }[];
8436
8322
  }[];
8437
8323
  company: {
@@ -8662,7 +8548,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8662
8548
  dateValue: Date | null;
8663
8549
  uploads: {
8664
8550
  id: string;
8665
- status: string | null;
8666
8551
  createdAt: Date;
8667
8552
  updatedAt: Date;
8668
8553
  deletedAt: Date | null;
@@ -8671,6 +8556,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8671
8556
  bucketName: string;
8672
8557
  fileSize: number;
8673
8558
  fileUrl: string | null;
8559
+ status?: string | undefined;
8674
8560
  }[];
8675
8561
  }[];
8676
8562
  company: {
@@ -8753,7 +8639,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8753
8639
  } | null | undefined;
8754
8640
  upload?: {
8755
8641
  id: string;
8756
- status: string | null;
8757
8642
  createdAt: Date;
8758
8643
  updatedAt: Date;
8759
8644
  deletedAt: Date | null;
@@ -8762,6 +8647,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8762
8647
  bucketName: string;
8763
8648
  fileSize: number;
8764
8649
  fileUrl: string | null;
8650
+ status?: string | undefined;
8765
8651
  } | null | undefined;
8766
8652
  extension?: {
8767
8653
  id: string;