@kl1/contracts 1.1.40-uat → 1.1.42-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 (66) hide show
  1. package/dist/index.js +3293 -3105
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3290 -3105
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +538 -0
  6. package/dist/src/botpress/index.d.ts.map +1 -0
  7. package/dist/src/botpress/schema.d.ts +81 -0
  8. package/dist/src/botpress/schema.d.ts.map +1 -0
  9. package/dist/src/botpress/validation.d.ts +220 -0
  10. package/dist/src/botpress/validation.d.ts.map +1 -0
  11. package/dist/src/channel/index.d.ts +1692 -73
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +36 -0
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/channel/validation.d.ts +7 -0
  16. package/dist/src/channel/validation.d.ts.map +1 -1
  17. package/dist/src/chat/index.d.ts +33647 -32937
  18. package/dist/src/chat/index.d.ts.map +1 -1
  19. package/dist/src/chat/schema.d.ts +186 -70
  20. package/dist/src/chat/schema.d.ts.map +1 -1
  21. package/dist/src/chat/validation.d.ts +199 -107
  22. package/dist/src/chat/validation.d.ts.map +1 -1
  23. package/dist/src/comment/index.d.ts +68 -68
  24. package/dist/src/comment/schema.d.ts +20 -20
  25. package/dist/src/contact/index.d.ts +79 -79
  26. package/dist/src/contact/schema.d.ts +12 -12
  27. package/dist/src/contact/validation.d.ts +49 -49
  28. package/dist/src/contract.d.ts +15114 -68269
  29. package/dist/src/contract.d.ts.map +1 -1
  30. package/dist/src/contract2.d.ts +2 -0
  31. package/dist/src/contract2.d.ts.map +1 -0
  32. package/dist/src/cx-log/index.d.ts +123 -54
  33. package/dist/src/cx-log/index.d.ts.map +1 -1
  34. package/dist/src/cx-log/schema.d.ts +101 -40
  35. package/dist/src/cx-log/schema.d.ts.map +1 -1
  36. package/dist/src/index.d.ts +2 -0
  37. package/dist/src/index.d.ts.map +1 -1
  38. package/dist/src/instagram/index.d.ts +176 -84
  39. package/dist/src/instagram/index.d.ts.map +1 -1
  40. package/dist/src/line/index.d.ts +181 -89
  41. package/dist/src/line/index.d.ts.map +1 -1
  42. package/dist/src/line/validation.d.ts +5 -5
  43. package/dist/src/mail/mail-contract.d.ts +7 -7
  44. package/dist/src/mail/room-contract.d.ts +7 -7
  45. package/dist/src/mail/schemas/room.schema.d.ts +5 -5
  46. package/dist/src/messenger/index.d.ts +211 -85
  47. package/dist/src/messenger/index.d.ts.map +1 -1
  48. package/dist/src/messenger/validation.d.ts +54 -11
  49. package/dist/src/messenger/validation.d.ts.map +1 -1
  50. package/dist/src/public-api/index.d.ts +59 -59
  51. package/dist/src/public-api/schema.d.ts +12 -12
  52. package/dist/src/public-api/validation.d.ts +19 -19
  53. package/dist/src/snippet/index.d.ts +105 -105
  54. package/dist/src/snippet/schema.d.ts +40 -40
  55. package/dist/src/telephony-cdr/index.d.ts +54 -54
  56. package/dist/src/telephony-cdr/schema.d.ts +14 -14
  57. package/dist/src/ticket/index.d.ts +111 -111
  58. package/dist/src/ticket/schema.d.ts +21 -21
  59. package/dist/src/upload/schema.d.ts +3 -3
  60. package/dist/src/viber/index.d.ts +317 -84
  61. package/dist/src/viber/index.d.ts.map +1 -1
  62. package/dist/src/webchat/index.d.ts +224 -87
  63. package/dist/src/webchat/index.d.ts.map +1 -1
  64. package/dist/src/workflow-rule/index.d.ts +158 -26
  65. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  66. package/package.json +1 -1
@@ -1061,9 +1061,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1061
1061
  fileSize: z.ZodNumber;
1062
1062
  fileKey: z.ZodString;
1063
1063
  fileUrl: z.ZodNullable<z.ZodString>;
1064
- status: z.ZodOptional<z.ZodString>;
1064
+ status: z.ZodNullable<z.ZodString>;
1065
1065
  }, "strip", z.ZodTypeAny, {
1066
1066
  id: string;
1067
+ status: string | null;
1067
1068
  createdAt: Date;
1068
1069
  updatedAt: Date;
1069
1070
  deletedAt: Date | null;
@@ -1072,9 +1073,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1072
1073
  bucketName: string;
1073
1074
  fileSize: number;
1074
1075
  fileUrl: string | null;
1075
- status?: string | undefined;
1076
1076
  }, {
1077
1077
  id: string;
1078
+ status: string | null;
1078
1079
  createdAt: Date;
1079
1080
  updatedAt: Date;
1080
1081
  deletedAt: Date | null;
@@ -1083,7 +1084,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1083
1084
  bucketName: string;
1084
1085
  fileSize: number;
1085
1086
  fileUrl: string | null;
1086
- status?: string | undefined;
1087
1087
  }>, "many">;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
1089
  id: string;
@@ -1110,6 +1110,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1110
1110
  dateValue: Date | null;
1111
1111
  uploads: {
1112
1112
  id: string;
1113
+ status: string | null;
1113
1114
  createdAt: Date;
1114
1115
  updatedAt: Date;
1115
1116
  deletedAt: Date | null;
@@ -1118,7 +1119,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1118
1119
  bucketName: string;
1119
1120
  fileSize: number;
1120
1121
  fileUrl: string | null;
1121
- status?: string | undefined;
1122
1122
  }[];
1123
1123
  }, {
1124
1124
  id: string;
@@ -1145,6 +1145,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1145
1145
  dateValue: Date | null;
1146
1146
  uploads: {
1147
1147
  id: string;
1148
+ status: string | null;
1148
1149
  createdAt: Date;
1149
1150
  updatedAt: Date;
1150
1151
  deletedAt: Date | null;
@@ -1153,7 +1154,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1153
1154
  bucketName: string;
1154
1155
  fileSize: number;
1155
1156
  fileUrl: string | null;
1156
- status?: string | undefined;
1157
1157
  }[];
1158
1158
  }>, "many">;
1159
1159
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1293,6 +1293,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1293
1293
  dateValue: Date | null;
1294
1294
  uploads: {
1295
1295
  id: string;
1296
+ status: string | null;
1296
1297
  createdAt: Date;
1297
1298
  updatedAt: Date;
1298
1299
  deletedAt: Date | null;
@@ -1301,7 +1302,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1301
1302
  bucketName: string;
1302
1303
  fileSize: number;
1303
1304
  fileUrl: string | null;
1304
- status?: string | undefined;
1305
1305
  }[];
1306
1306
  }[];
1307
1307
  company: {
@@ -1389,6 +1389,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1389
1389
  dateValue: Date | null;
1390
1390
  uploads: {
1391
1391
  id: string;
1392
+ status: string | null;
1392
1393
  createdAt: Date;
1393
1394
  updatedAt: Date;
1394
1395
  deletedAt: Date | null;
@@ -1397,7 +1398,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1397
1398
  bucketName: string;
1398
1399
  fileSize: number;
1399
1400
  fileUrl: string | null;
1400
- status?: string | undefined;
1401
1401
  }[];
1402
1402
  }[];
1403
1403
  company: {
@@ -1498,6 +1498,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1498
1498
  dateValue: Date | null;
1499
1499
  uploads: {
1500
1500
  id: string;
1501
+ status: string | null;
1501
1502
  createdAt: Date;
1502
1503
  updatedAt: Date;
1503
1504
  deletedAt: Date | null;
@@ -1506,7 +1507,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1506
1507
  bucketName: string;
1507
1508
  fileSize: number;
1508
1509
  fileUrl: string | null;
1509
- status?: string | undefined;
1510
1510
  }[];
1511
1511
  }[];
1512
1512
  company: {
@@ -1609,6 +1609,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1609
1609
  dateValue: Date | null;
1610
1610
  uploads: {
1611
1611
  id: string;
1612
+ status: string | null;
1612
1613
  createdAt: Date;
1613
1614
  updatedAt: Date;
1614
1615
  deletedAt: Date | null;
@@ -1617,7 +1618,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1617
1618
  bucketName: string;
1618
1619
  fileSize: number;
1619
1620
  fileUrl: string | null;
1620
- status?: string | undefined;
1621
1621
  }[];
1622
1622
  }[];
1623
1623
  company: {
@@ -2116,6 +2116,25 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2116
2116
  isReloginRequired: z.ZodBoolean;
2117
2117
  connectedUserName: z.ZodString;
2118
2118
  connectedUserId: z.ZodString;
2119
+ botpressBot: z.ZodNullable<z.ZodObject<{
2120
+ id: z.ZodString;
2121
+ name: z.ZodString;
2122
+ botId: z.ZodString;
2123
+ integrationId: z.ZodString;
2124
+ accessToken: z.ZodString;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ id: string;
2127
+ name: string;
2128
+ accessToken: string;
2129
+ botId: string;
2130
+ integrationId: string;
2131
+ }, {
2132
+ id: string;
2133
+ name: string;
2134
+ accessToken: string;
2135
+ botId: string;
2136
+ integrationId: string;
2137
+ }>>;
2119
2138
  actor: z.ZodObject<{
2120
2139
  id: z.ZodString;
2121
2140
  createdAt: z.ZodDate;
@@ -2384,6 +2403,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2384
2403
  isReloginRequired: boolean;
2385
2404
  connectedUserName: string;
2386
2405
  connectedUserId: string;
2406
+ botpressBot: {
2407
+ id: string;
2408
+ name: string;
2409
+ accessToken: string;
2410
+ botId: string;
2411
+ integrationId: string;
2412
+ } | null;
2387
2413
  }, {
2388
2414
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2389
2415
  id: string;
@@ -2448,6 +2474,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2448
2474
  isReloginRequired: boolean;
2449
2475
  connectedUserName: string;
2450
2476
  connectedUserId: string;
2477
+ botpressBot: {
2478
+ id: string;
2479
+ name: string;
2480
+ accessToken: string;
2481
+ botId: string;
2482
+ integrationId: string;
2483
+ } | null;
2451
2484
  }>;
2452
2485
  }, "strip", z.ZodTypeAny, {
2453
2486
  id: string;
@@ -2515,6 +2548,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2515
2548
  isReloginRequired: boolean;
2516
2549
  connectedUserName: string;
2517
2550
  connectedUserId: string;
2551
+ botpressBot: {
2552
+ id: string;
2553
+ name: string;
2554
+ accessToken: string;
2555
+ botId: string;
2556
+ integrationId: string;
2557
+ } | null;
2518
2558
  };
2519
2559
  direction: "incoming" | "outgoing" | "system";
2520
2560
  createdAt: Date;
@@ -2616,6 +2656,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2616
2656
  dateValue: Date | null;
2617
2657
  uploads: {
2618
2658
  id: string;
2659
+ status: string | null;
2619
2660
  createdAt: Date;
2620
2661
  updatedAt: Date;
2621
2662
  deletedAt: Date | null;
@@ -2624,7 +2665,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2624
2665
  bucketName: string;
2625
2666
  fileSize: number;
2626
2667
  fileUrl: string | null;
2627
- status?: string | undefined;
2628
2668
  }[];
2629
2669
  }[];
2630
2670
  company: {
@@ -2793,6 +2833,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2793
2833
  isReloginRequired: boolean;
2794
2834
  connectedUserName: string;
2795
2835
  connectedUserId: string;
2836
+ botpressBot: {
2837
+ id: string;
2838
+ name: string;
2839
+ accessToken: string;
2840
+ botId: string;
2841
+ integrationId: string;
2842
+ } | null;
2796
2843
  };
2797
2844
  direction: "incoming" | "outgoing" | "system";
2798
2845
  createdAt: Date;
@@ -2894,6 +2941,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2894
2941
  dateValue: Date | null;
2895
2942
  uploads: {
2896
2943
  id: string;
2944
+ status: string | null;
2897
2945
  createdAt: Date;
2898
2946
  updatedAt: Date;
2899
2947
  deletedAt: Date | null;
@@ -2902,7 +2950,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2902
2950
  bucketName: string;
2903
2951
  fileSize: number;
2904
2952
  fileUrl: string | null;
2905
- status?: string | undefined;
2906
2953
  }[];
2907
2954
  }[];
2908
2955
  company: {
@@ -3314,9 +3361,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3314
3361
  fileSize: z.ZodNumber;
3315
3362
  fileKey: z.ZodString;
3316
3363
  fileUrl: z.ZodNullable<z.ZodString>;
3317
- status: z.ZodOptional<z.ZodString>;
3364
+ status: z.ZodNullable<z.ZodString>;
3318
3365
  }, "strip", z.ZodTypeAny, {
3319
3366
  id: string;
3367
+ status: string | null;
3320
3368
  createdAt: Date;
3321
3369
  updatedAt: Date;
3322
3370
  deletedAt: Date | null;
@@ -3325,9 +3373,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3325
3373
  bucketName: string;
3326
3374
  fileSize: number;
3327
3375
  fileUrl: string | null;
3328
- status?: string | undefined;
3329
3376
  }, {
3330
3377
  id: string;
3378
+ status: string | null;
3331
3379
  createdAt: Date;
3332
3380
  updatedAt: Date;
3333
3381
  deletedAt: Date | null;
@@ -3336,7 +3384,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3336
3384
  bucketName: string;
3337
3385
  fileSize: number;
3338
3386
  fileUrl: string | null;
3339
- status?: string | undefined;
3340
3387
  }>, "many">;
3341
3388
  }, "strip", z.ZodTypeAny, {
3342
3389
  id: string;
@@ -3363,6 +3410,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3363
3410
  dateValue: Date | null;
3364
3411
  uploads: {
3365
3412
  id: string;
3413
+ status: string | null;
3366
3414
  createdAt: Date;
3367
3415
  updatedAt: Date;
3368
3416
  deletedAt: Date | null;
@@ -3371,7 +3419,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3371
3419
  bucketName: string;
3372
3420
  fileSize: number;
3373
3421
  fileUrl: string | null;
3374
- status?: string | undefined;
3375
3422
  }[];
3376
3423
  }, {
3377
3424
  id: string;
@@ -3398,6 +3445,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3398
3445
  dateValue: Date | null;
3399
3446
  uploads: {
3400
3447
  id: string;
3448
+ status: string | null;
3401
3449
  createdAt: Date;
3402
3450
  updatedAt: Date;
3403
3451
  deletedAt: Date | null;
@@ -3406,7 +3454,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3406
3454
  bucketName: string;
3407
3455
  fileSize: number;
3408
3456
  fileUrl: string | null;
3409
- status?: string | undefined;
3410
3457
  }[];
3411
3458
  }>, "many">;
3412
3459
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3546,6 +3593,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3546
3593
  dateValue: Date | null;
3547
3594
  uploads: {
3548
3595
  id: string;
3596
+ status: string | null;
3549
3597
  createdAt: Date;
3550
3598
  updatedAt: Date;
3551
3599
  deletedAt: Date | null;
@@ -3554,7 +3602,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3554
3602
  bucketName: string;
3555
3603
  fileSize: number;
3556
3604
  fileUrl: string | null;
3557
- status?: string | undefined;
3558
3605
  }[];
3559
3606
  }[];
3560
3607
  company: {
@@ -3642,6 +3689,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3642
3689
  dateValue: Date | null;
3643
3690
  uploads: {
3644
3691
  id: string;
3692
+ status: string | null;
3645
3693
  createdAt: Date;
3646
3694
  updatedAt: Date;
3647
3695
  deletedAt: Date | null;
@@ -3650,7 +3698,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3650
3698
  bucketName: string;
3651
3699
  fileSize: number;
3652
3700
  fileUrl: string | null;
3653
- status?: string | undefined;
3654
3701
  }[];
3655
3702
  }[];
3656
3703
  company: {
@@ -3752,9 +3799,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3752
3799
  fileSize: z.ZodNumber;
3753
3800
  fileKey: z.ZodString;
3754
3801
  fileUrl: z.ZodNullable<z.ZodString>;
3755
- status: z.ZodOptional<z.ZodString>;
3802
+ status: z.ZodNullable<z.ZodString>;
3756
3803
  }, "strip", z.ZodTypeAny, {
3757
3804
  id: string;
3805
+ status: string | null;
3758
3806
  createdAt: Date;
3759
3807
  updatedAt: Date;
3760
3808
  deletedAt: Date | null;
@@ -3763,9 +3811,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3763
3811
  bucketName: string;
3764
3812
  fileSize: number;
3765
3813
  fileUrl: string | null;
3766
- status?: string | undefined;
3767
3814
  }, {
3768
3815
  id: string;
3816
+ status: string | null;
3769
3817
  createdAt: Date;
3770
3818
  updatedAt: Date;
3771
3819
  deletedAt: Date | null;
@@ -3774,7 +3822,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3774
3822
  bucketName: string;
3775
3823
  fileSize: number;
3776
3824
  fileUrl: string | null;
3777
- status?: string | undefined;
3778
3825
  }>>>;
3779
3826
  callParticipants: z.ZodNullable<z.ZodObject<{
3780
3827
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4739,6 +4786,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4739
4786
  dateValue: Date | null;
4740
4787
  uploads: {
4741
4788
  id: string;
4789
+ status: string | null;
4742
4790
  createdAt: Date;
4743
4791
  updatedAt: Date;
4744
4792
  deletedAt: Date | null;
@@ -4747,7 +4795,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4747
4795
  bucketName: string;
4748
4796
  fileSize: number;
4749
4797
  fileUrl: string | null;
4750
- status?: string | undefined;
4751
4798
  }[];
4752
4799
  }[];
4753
4800
  company: {
@@ -4815,6 +4862,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4815
4862
  } | null | undefined;
4816
4863
  upload?: {
4817
4864
  id: string;
4865
+ status: string | null;
4818
4866
  createdAt: Date;
4819
4867
  updatedAt: Date;
4820
4868
  deletedAt: Date | null;
@@ -4823,7 +4871,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4823
4871
  bucketName: string;
4824
4872
  fileSize: number;
4825
4873
  fileUrl: string | null;
4826
- status?: string | undefined;
4827
4874
  } | null | undefined;
4828
4875
  extension?: {
4829
4876
  id: string;
@@ -4994,6 +5041,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4994
5041
  dateValue: Date | null;
4995
5042
  uploads: {
4996
5043
  id: string;
5044
+ status: string | null;
4997
5045
  createdAt: Date;
4998
5046
  updatedAt: Date;
4999
5047
  deletedAt: Date | null;
@@ -5002,7 +5050,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5002
5050
  bucketName: string;
5003
5051
  fileSize: number;
5004
5052
  fileUrl: string | null;
5005
- status?: string | undefined;
5006
5053
  }[];
5007
5054
  }[];
5008
5055
  company: {
@@ -5070,6 +5117,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5070
5117
  } | null | undefined;
5071
5118
  upload?: {
5072
5119
  id: string;
5120
+ status: string | null;
5073
5121
  createdAt: Date;
5074
5122
  updatedAt: Date;
5075
5123
  deletedAt: Date | null;
@@ -5078,7 +5126,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5078
5126
  bucketName: string;
5079
5127
  fileSize: number;
5080
5128
  fileUrl: string | null;
5081
- status?: string | undefined;
5082
5129
  } | null | undefined;
5083
5130
  extension?: {
5084
5131
  id: string;
@@ -5440,9 +5487,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5440
5487
  fileSize: z.ZodNumber;
5441
5488
  fileKey: z.ZodString;
5442
5489
  fileUrl: z.ZodNullable<z.ZodString>;
5443
- status: z.ZodOptional<z.ZodString>;
5490
+ status: z.ZodNullable<z.ZodString>;
5444
5491
  }, "strip", z.ZodTypeAny, {
5445
5492
  id: string;
5493
+ status: string | null;
5446
5494
  createdAt: Date;
5447
5495
  updatedAt: Date;
5448
5496
  deletedAt: Date | null;
@@ -5451,9 +5499,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5451
5499
  bucketName: string;
5452
5500
  fileSize: number;
5453
5501
  fileUrl: string | null;
5454
- status?: string | undefined;
5455
5502
  }, {
5456
5503
  id: string;
5504
+ status: string | null;
5457
5505
  createdAt: Date;
5458
5506
  updatedAt: Date;
5459
5507
  deletedAt: Date | null;
@@ -5462,7 +5510,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5462
5510
  bucketName: string;
5463
5511
  fileSize: number;
5464
5512
  fileUrl: string | null;
5465
- status?: string | undefined;
5466
5513
  }>, "many">;
5467
5514
  }, "strip", z.ZodTypeAny, {
5468
5515
  id: string;
@@ -5489,6 +5536,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5489
5536
  dateValue: Date | null;
5490
5537
  uploads: {
5491
5538
  id: string;
5539
+ status: string | null;
5492
5540
  createdAt: Date;
5493
5541
  updatedAt: Date;
5494
5542
  deletedAt: Date | null;
@@ -5497,7 +5545,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5497
5545
  bucketName: string;
5498
5546
  fileSize: number;
5499
5547
  fileUrl: string | null;
5500
- status?: string | undefined;
5501
5548
  }[];
5502
5549
  }, {
5503
5550
  id: string;
@@ -5524,6 +5571,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5524
5571
  dateValue: Date | null;
5525
5572
  uploads: {
5526
5573
  id: string;
5574
+ status: string | null;
5527
5575
  createdAt: Date;
5528
5576
  updatedAt: Date;
5529
5577
  deletedAt: Date | null;
@@ -5532,7 +5580,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5532
5580
  bucketName: string;
5533
5581
  fileSize: number;
5534
5582
  fileUrl: string | null;
5535
- status?: string | undefined;
5536
5583
  }[];
5537
5584
  }>, "many">;
5538
5585
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5672,6 +5719,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5672
5719
  dateValue: Date | null;
5673
5720
  uploads: {
5674
5721
  id: string;
5722
+ status: string | null;
5675
5723
  createdAt: Date;
5676
5724
  updatedAt: Date;
5677
5725
  deletedAt: Date | null;
@@ -5680,7 +5728,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5680
5728
  bucketName: string;
5681
5729
  fileSize: number;
5682
5730
  fileUrl: string | null;
5683
- status?: string | undefined;
5684
5731
  }[];
5685
5732
  }[];
5686
5733
  company: {
@@ -5768,6 +5815,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5768
5815
  dateValue: Date | null;
5769
5816
  uploads: {
5770
5817
  id: string;
5818
+ status: string | null;
5771
5819
  createdAt: Date;
5772
5820
  updatedAt: Date;
5773
5821
  deletedAt: Date | null;
@@ -5776,7 +5824,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
5776
5824
  bucketName: string;
5777
5825
  fileSize: number;
5778
5826
  fileUrl: string | null;
5779
- status?: string | undefined;
5780
5827
  }[];
5781
5828
  }[];
5782
5829
  company: {
@@ -6078,6 +6125,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6078
6125
  dateValue: Date | null;
6079
6126
  uploads: {
6080
6127
  id: string;
6128
+ status: string | null;
6081
6129
  createdAt: Date;
6082
6130
  updatedAt: Date;
6083
6131
  deletedAt: Date | null;
@@ -6086,7 +6134,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6086
6134
  bucketName: string;
6087
6135
  fileSize: number;
6088
6136
  fileUrl: string | null;
6089
- status?: string | undefined;
6090
6137
  }[];
6091
6138
  }[];
6092
6139
  company: {
@@ -6281,6 +6328,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6281
6328
  isReloginRequired: boolean;
6282
6329
  connectedUserName: string;
6283
6330
  connectedUserId: string;
6331
+ botpressBot: {
6332
+ id: string;
6333
+ name: string;
6334
+ accessToken: string;
6335
+ botId: string;
6336
+ integrationId: string;
6337
+ } | null;
6284
6338
  };
6285
6339
  direction: "incoming" | "outgoing" | "system";
6286
6340
  createdAt: Date;
@@ -6382,6 +6436,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6382
6436
  dateValue: Date | null;
6383
6437
  uploads: {
6384
6438
  id: string;
6439
+ status: string | null;
6385
6440
  createdAt: Date;
6386
6441
  updatedAt: Date;
6387
6442
  deletedAt: Date | null;
@@ -6390,7 +6445,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6390
6445
  bucketName: string;
6391
6446
  fileSize: number;
6392
6447
  fileUrl: string | null;
6393
- status?: string | undefined;
6394
6448
  }[];
6395
6449
  }[];
6396
6450
  company: {
@@ -6606,6 +6660,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6606
6660
  dateValue: Date | null;
6607
6661
  uploads: {
6608
6662
  id: string;
6663
+ status: string | null;
6609
6664
  createdAt: Date;
6610
6665
  updatedAt: Date;
6611
6666
  deletedAt: Date | null;
@@ -6614,7 +6669,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6614
6669
  bucketName: string;
6615
6670
  fileSize: number;
6616
6671
  fileUrl: string | null;
6617
- status?: string | undefined;
6618
6672
  }[];
6619
6673
  }[];
6620
6674
  company: {
@@ -6682,6 +6736,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6682
6736
  } | null | undefined;
6683
6737
  upload?: {
6684
6738
  id: string;
6739
+ status: string | null;
6685
6740
  createdAt: Date;
6686
6741
  updatedAt: Date;
6687
6742
  deletedAt: Date | null;
@@ -6690,7 +6745,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6690
6745
  bucketName: string;
6691
6746
  fileSize: number;
6692
6747
  fileUrl: string | null;
6693
- status?: string | undefined;
6694
6748
  } | null | undefined;
6695
6749
  extension?: {
6696
6750
  id: string;
@@ -6839,6 +6893,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6839
6893
  dateValue: Date | null;
6840
6894
  uploads: {
6841
6895
  id: string;
6896
+ status: string | null;
6842
6897
  createdAt: Date;
6843
6898
  updatedAt: Date;
6844
6899
  deletedAt: Date | null;
@@ -6847,7 +6902,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6847
6902
  bucketName: string;
6848
6903
  fileSize: number;
6849
6904
  fileUrl: string | null;
6850
- status?: string | undefined;
6851
6905
  }[];
6852
6906
  }[];
6853
6907
  company: {
@@ -7042,6 +7096,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7042
7096
  isReloginRequired: boolean;
7043
7097
  connectedUserName: string;
7044
7098
  connectedUserId: string;
7099
+ botpressBot: {
7100
+ id: string;
7101
+ name: string;
7102
+ accessToken: string;
7103
+ botId: string;
7104
+ integrationId: string;
7105
+ } | null;
7045
7106
  };
7046
7107
  direction: "incoming" | "outgoing" | "system";
7047
7108
  createdAt: Date;
@@ -7143,6 +7204,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7143
7204
  dateValue: Date | null;
7144
7205
  uploads: {
7145
7206
  id: string;
7207
+ status: string | null;
7146
7208
  createdAt: Date;
7147
7209
  updatedAt: Date;
7148
7210
  deletedAt: Date | null;
@@ -7151,7 +7213,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7151
7213
  bucketName: string;
7152
7214
  fileSize: number;
7153
7215
  fileUrl: string | null;
7154
- status?: string | undefined;
7155
7216
  }[];
7156
7217
  }[];
7157
7218
  company: {
@@ -7367,6 +7428,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7367
7428
  dateValue: Date | null;
7368
7429
  uploads: {
7369
7430
  id: string;
7431
+ status: string | null;
7370
7432
  createdAt: Date;
7371
7433
  updatedAt: Date;
7372
7434
  deletedAt: Date | null;
@@ -7375,7 +7437,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7375
7437
  bucketName: string;
7376
7438
  fileSize: number;
7377
7439
  fileUrl: string | null;
7378
- status?: string | undefined;
7379
7440
  }[];
7380
7441
  }[];
7381
7442
  company: {
@@ -7443,6 +7504,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7443
7504
  } | null | undefined;
7444
7505
  upload?: {
7445
7506
  id: string;
7507
+ status: string | null;
7446
7508
  createdAt: Date;
7447
7509
  updatedAt: Date;
7448
7510
  deletedAt: Date | null;
@@ -7451,7 +7513,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7451
7513
  bucketName: string;
7452
7514
  fileSize: number;
7453
7515
  fileUrl: string | null;
7454
- status?: string | undefined;
7455
7516
  } | null | undefined;
7456
7517
  extension?: {
7457
7518
  id: string;