@kl1/contracts 1.1.26-uat → 1.1.26

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 (64) hide show
  1. package/dist/index.js +2130 -1984
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2127 -1984
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +820 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +180 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +2424 -102
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +413 -18
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +448 -0
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contact/index.d.ts +3 -0
  18. package/dist/src/contact/index.d.ts.map +1 -1
  19. package/dist/src/contact/schema.d.ts.map +1 -1
  20. package/dist/src/contact/validation.d.ts +3 -0
  21. package/dist/src/contact/validation.d.ts.map +1 -1
  22. package/dist/src/contract.d.ts +167810 -135163
  23. package/dist/src/contract.d.ts.map +1 -1
  24. package/dist/src/cx-log/index.d.ts +111 -0
  25. package/dist/src/cx-log/index.d.ts.map +1 -1
  26. package/dist/src/cx-log/schema.d.ts +167 -0
  27. package/dist/src/cx-log/schema.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +294 -0
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/line/index.d.ts +294 -0
  31. package/dist/src/line/index.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +22910 -2257
  33. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  34. package/dist/src/mail/message-contract.d.ts +4587 -271
  35. package/dist/src/mail/message-contract.d.ts.map +1 -1
  36. package/dist/src/mail/room-contract.d.ts +17436 -1099
  37. package/dist/src/mail/room-contract.d.ts.map +1 -1
  38. package/dist/src/mail/schemas/message-validation.schema.d.ts +4 -4
  39. package/dist/src/mail/schemas/message.schema.d.ts +756 -40
  40. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +5710 -344
  42. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  43. package/dist/src/mail/schemas/room.schema.d.ts +5817 -426
  44. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  45. package/dist/src/messenger/index.d.ts +294 -0
  46. package/dist/src/messenger/index.d.ts.map +1 -1
  47. package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
  48. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  49. package/dist/src/telephony-cdr/index.d.ts +1 -622
  50. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  51. package/dist/src/viber/index.d.ts +294 -0
  52. package/dist/src/viber/index.d.ts.map +1 -1
  53. package/dist/src/webchat/index.d.ts +294 -0
  54. package/dist/src/webchat/index.d.ts.map +1 -1
  55. package/dist/src/workflow-rule/index.d.ts +7305 -0
  56. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  57. package/dist/src/workflow-rule/schema.d.ts +27 -0
  58. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  59. package/dist/src/wrap-up-form/index.d.ts +744 -3
  60. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  61. package/dist/src/wrap-up-form/schema.d.ts +58 -0
  62. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  63. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  64. package/package.json +1 -1
@@ -2749,6 +2749,9 @@ export declare const RoomSchema: z.ZodObject<{
2749
2749
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2750
2750
  parentId: z.ZodNullable<z.ZodString>;
2751
2751
  childCategoryList: z.ZodArray<z.ZodObject<{
2752
+ /**
2753
+ * Message Type Enum
2754
+ */
2752
2755
  id: z.ZodString;
2753
2756
  value: z.ZodString;
2754
2757
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
@@ -2837,6 +2840,40 @@ export declare const RoomSchema: z.ZodObject<{
2837
2840
  }>, "many">;
2838
2841
  callFrom: z.ZodNullable<z.ZodString>;
2839
2842
  callTo: z.ZodNullable<z.ZodString>;
2843
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2844
+ id: z.ZodString;
2845
+ createdAt: z.ZodDate;
2846
+ updatedAt: z.ZodDate;
2847
+ deletedAt: z.ZodNullable<z.ZodDate>;
2848
+ textValue: z.ZodNullable<z.ZodString>;
2849
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
2850
+ numberValue: z.ZodNullable<z.ZodNumber>;
2851
+ dateValue: z.ZodNullable<z.ZodDate>;
2852
+ entityId: z.ZodString;
2853
+ attributeId: z.ZodString;
2854
+ }, "strip", z.ZodTypeAny, {
2855
+ id: string;
2856
+ createdAt: Date;
2857
+ updatedAt: Date;
2858
+ deletedAt: Date | null;
2859
+ entityId: string;
2860
+ attributeId: string;
2861
+ textValue: string | null;
2862
+ booleanValue: boolean | null;
2863
+ numberValue: number | null;
2864
+ dateValue: Date | null;
2865
+ }, {
2866
+ id: string;
2867
+ createdAt: Date;
2868
+ updatedAt: Date;
2869
+ deletedAt: Date | null;
2870
+ entityId: string;
2871
+ attributeId: string;
2872
+ textValue: string | null;
2873
+ booleanValue: boolean | null;
2874
+ numberValue: number | null;
2875
+ dateValue: Date | null;
2876
+ }>, "many">>>;
2840
2877
  }, "strip", z.ZodTypeAny, {
2841
2878
  type: string;
2842
2879
  id: string;
@@ -2876,6 +2913,18 @@ export declare const RoomSchema: z.ZodObject<{
2876
2913
  callFrom: string | null;
2877
2914
  callTo: string | null;
2878
2915
  note: string | null;
2916
+ customFields?: {
2917
+ id: string;
2918
+ createdAt: Date;
2919
+ updatedAt: Date;
2920
+ deletedAt: Date | null;
2921
+ entityId: string;
2922
+ attributeId: string;
2923
+ textValue: string | null;
2924
+ booleanValue: boolean | null;
2925
+ numberValue: number | null;
2926
+ dateValue: Date | null;
2927
+ }[] | null | undefined;
2879
2928
  }, {
2880
2929
  type: string;
2881
2930
  id: string;
@@ -2915,6 +2964,18 @@ export declare const RoomSchema: z.ZodObject<{
2915
2964
  callFrom: string | null;
2916
2965
  callTo: string | null;
2917
2966
  note: string | null;
2967
+ customFields?: {
2968
+ id: string;
2969
+ createdAt: Date;
2970
+ updatedAt: Date;
2971
+ deletedAt: Date | null;
2972
+ entityId: string;
2973
+ attributeId: string;
2974
+ textValue: string | null;
2975
+ booleanValue: boolean | null;
2976
+ numberValue: number | null;
2977
+ dateValue: Date | null;
2978
+ }[] | null | undefined;
2918
2979
  }>>;
2919
2980
  }, "strip", z.ZodTypeAny, {
2920
2981
  id: string;
@@ -2971,6 +3032,18 @@ export declare const RoomSchema: z.ZodObject<{
2971
3032
  callFrom: string | null;
2972
3033
  callTo: string | null;
2973
3034
  note: string | null;
3035
+ customFields?: {
3036
+ id: string;
3037
+ createdAt: Date;
3038
+ updatedAt: Date;
3039
+ deletedAt: Date | null;
3040
+ entityId: string;
3041
+ attributeId: string;
3042
+ textValue: string | null;
3043
+ booleanValue: boolean | null;
3044
+ numberValue: number | null;
3045
+ dateValue: Date | null;
3046
+ }[] | null | undefined;
2974
3047
  } | null;
2975
3048
  }, {
2976
3049
  id: string;
@@ -3027,8 +3100,45 @@ export declare const RoomSchema: z.ZodObject<{
3027
3100
  callFrom: string | null;
3028
3101
  callTo: string | null;
3029
3102
  note: string | null;
3103
+ customFields?: {
3104
+ id: string;
3105
+ createdAt: Date;
3106
+ updatedAt: Date;
3107
+ deletedAt: Date | null;
3108
+ entityId: string;
3109
+ attributeId: string;
3110
+ textValue: string | null;
3111
+ booleanValue: boolean | null;
3112
+ numberValue: number | null;
3113
+ dateValue: Date | null;
3114
+ }[] | null | undefined;
3030
3115
  } | null;
3031
3116
  }>;
3117
+ workflowRule: z.ZodObject<{
3118
+ id: z.ZodString;
3119
+ createdAt: z.ZodDate;
3120
+ updatedAt: z.ZodDate;
3121
+ deletedAt: z.ZodNullable<z.ZodDate>;
3122
+ name: z.ZodString;
3123
+ isActive: z.ZodBoolean;
3124
+ type: z.ZodString;
3125
+ }, "strip", z.ZodTypeAny, {
3126
+ type: string;
3127
+ id: string;
3128
+ name: string;
3129
+ createdAt: Date;
3130
+ updatedAt: Date;
3131
+ deletedAt: Date | null;
3132
+ isActive: boolean;
3133
+ }, {
3134
+ type: string;
3135
+ id: string;
3136
+ name: string;
3137
+ createdAt: Date;
3138
+ updatedAt: Date;
3139
+ deletedAt: Date | null;
3140
+ isActive: boolean;
3141
+ }>;
3032
3142
  }, "strip", z.ZodTypeAny, {
3033
3143
  id: string;
3034
3144
  channel: {
@@ -3364,8 +3474,29 @@ export declare const RoomSchema: z.ZodObject<{
3364
3474
  callFrom: string | null;
3365
3475
  callTo: string | null;
3366
3476
  note: string | null;
3477
+ customFields?: {
3478
+ id: string;
3479
+ createdAt: Date;
3480
+ updatedAt: Date;
3481
+ deletedAt: Date | null;
3482
+ entityId: string;
3483
+ attributeId: string;
3484
+ textValue: string | null;
3485
+ booleanValue: boolean | null;
3486
+ numberValue: number | null;
3487
+ dateValue: Date | null;
3488
+ }[] | null | undefined;
3367
3489
  } | null;
3368
3490
  };
3491
+ workflowRule: {
3492
+ type: string;
3493
+ id: string;
3494
+ name: string;
3495
+ createdAt: Date;
3496
+ updatedAt: Date;
3497
+ deletedAt: Date | null;
3498
+ isActive: boolean;
3499
+ };
3369
3500
  }, {
3370
3501
  id: string;
3371
3502
  channel: {
@@ -3701,8 +3832,29 @@ export declare const RoomSchema: z.ZodObject<{
3701
3832
  callFrom: string | null;
3702
3833
  callTo: string | null;
3703
3834
  note: string | null;
3835
+ customFields?: {
3836
+ id: string;
3837
+ createdAt: Date;
3838
+ updatedAt: Date;
3839
+ deletedAt: Date | null;
3840
+ entityId: string;
3841
+ attributeId: string;
3842
+ textValue: string | null;
3843
+ booleanValue: boolean | null;
3844
+ numberValue: number | null;
3845
+ dateValue: Date | null;
3846
+ }[] | null | undefined;
3704
3847
  } | null;
3705
3848
  };
3849
+ workflowRule: {
3850
+ type: string;
3851
+ id: string;
3852
+ name: string;
3853
+ createdAt: Date;
3854
+ updatedAt: Date;
3855
+ deletedAt: Date | null;
3856
+ isActive: boolean;
3857
+ };
3706
3858
  }>;
3707
3859
  /**
3708
3860
  * Message
@@ -5504,6 +5656,9 @@ export declare const MessageSchema: z.ZodObject<{
5504
5656
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5505
5657
  parentId: z.ZodNullable<z.ZodString>;
5506
5658
  childCategoryList: z.ZodArray<z.ZodObject<{
5659
+ /**
5660
+ * Message Type Enum
5661
+ */
5507
5662
  id: z.ZodString;
5508
5663
  value: z.ZodString;
5509
5664
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
@@ -5592,6 +5747,40 @@ export declare const MessageSchema: z.ZodObject<{
5592
5747
  }>, "many">;
5593
5748
  callFrom: z.ZodNullable<z.ZodString>;
5594
5749
  callTo: z.ZodNullable<z.ZodString>;
5750
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5751
+ id: z.ZodString;
5752
+ createdAt: z.ZodDate;
5753
+ updatedAt: z.ZodDate;
5754
+ deletedAt: z.ZodNullable<z.ZodDate>;
5755
+ textValue: z.ZodNullable<z.ZodString>;
5756
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
5757
+ numberValue: z.ZodNullable<z.ZodNumber>;
5758
+ dateValue: z.ZodNullable<z.ZodDate>;
5759
+ entityId: z.ZodString;
5760
+ attributeId: z.ZodString;
5761
+ }, "strip", z.ZodTypeAny, {
5762
+ id: string;
5763
+ createdAt: Date;
5764
+ updatedAt: Date;
5765
+ deletedAt: Date | null;
5766
+ entityId: string;
5767
+ attributeId: string;
5768
+ textValue: string | null;
5769
+ booleanValue: boolean | null;
5770
+ numberValue: number | null;
5771
+ dateValue: Date | null;
5772
+ }, {
5773
+ id: string;
5774
+ createdAt: Date;
5775
+ updatedAt: Date;
5776
+ deletedAt: Date | null;
5777
+ entityId: string;
5778
+ attributeId: string;
5779
+ textValue: string | null;
5780
+ booleanValue: boolean | null;
5781
+ numberValue: number | null;
5782
+ dateValue: Date | null;
5783
+ }>, "many">>>;
5595
5784
  }, "strip", z.ZodTypeAny, {
5596
5785
  type: string;
5597
5786
  id: string;
@@ -5631,6 +5820,18 @@ export declare const MessageSchema: z.ZodObject<{
5631
5820
  callFrom: string | null;
5632
5821
  callTo: string | null;
5633
5822
  note: string | null;
5823
+ customFields?: {
5824
+ id: string;
5825
+ createdAt: Date;
5826
+ updatedAt: Date;
5827
+ deletedAt: Date | null;
5828
+ entityId: string;
5829
+ attributeId: string;
5830
+ textValue: string | null;
5831
+ booleanValue: boolean | null;
5832
+ numberValue: number | null;
5833
+ dateValue: Date | null;
5834
+ }[] | null | undefined;
5634
5835
  }, {
5635
5836
  type: string;
5636
5837
  id: string;
@@ -5670,6 +5871,18 @@ export declare const MessageSchema: z.ZodObject<{
5670
5871
  callFrom: string | null;
5671
5872
  callTo: string | null;
5672
5873
  note: string | null;
5874
+ customFields?: {
5875
+ id: string;
5876
+ createdAt: Date;
5877
+ updatedAt: Date;
5878
+ deletedAt: Date | null;
5879
+ entityId: string;
5880
+ attributeId: string;
5881
+ textValue: string | null;
5882
+ booleanValue: boolean | null;
5883
+ numberValue: number | null;
5884
+ dateValue: Date | null;
5885
+ }[] | null | undefined;
5673
5886
  }>>;
5674
5887
  }, "strip", z.ZodTypeAny, {
5675
5888
  id: string;
@@ -5726,6 +5939,18 @@ export declare const MessageSchema: z.ZodObject<{
5726
5939
  callFrom: string | null;
5727
5940
  callTo: string | null;
5728
5941
  note: string | null;
5942
+ customFields?: {
5943
+ id: string;
5944
+ createdAt: Date;
5945
+ updatedAt: Date;
5946
+ deletedAt: Date | null;
5947
+ entityId: string;
5948
+ attributeId: string;
5949
+ textValue: string | null;
5950
+ booleanValue: boolean | null;
5951
+ numberValue: number | null;
5952
+ dateValue: Date | null;
5953
+ }[] | null | undefined;
5729
5954
  } | null;
5730
5955
  }, {
5731
5956
  id: string;
@@ -5782,8 +6007,45 @@ export declare const MessageSchema: z.ZodObject<{
5782
6007
  callFrom: string | null;
5783
6008
  callTo: string | null;
5784
6009
  note: string | null;
6010
+ customFields?: {
6011
+ id: string;
6012
+ createdAt: Date;
6013
+ updatedAt: Date;
6014
+ deletedAt: Date | null;
6015
+ entityId: string;
6016
+ attributeId: string;
6017
+ textValue: string | null;
6018
+ booleanValue: boolean | null;
6019
+ numberValue: number | null;
6020
+ dateValue: Date | null;
6021
+ }[] | null | undefined;
5785
6022
  } | null;
5786
6023
  }>;
6024
+ workflowRule: z.ZodObject<{
6025
+ id: z.ZodString;
6026
+ createdAt: z.ZodDate;
6027
+ updatedAt: z.ZodDate;
6028
+ deletedAt: z.ZodNullable<z.ZodDate>;
6029
+ name: z.ZodString;
6030
+ isActive: z.ZodBoolean;
6031
+ type: z.ZodString;
6032
+ }, "strip", z.ZodTypeAny, {
6033
+ type: string;
6034
+ id: string;
6035
+ name: string;
6036
+ createdAt: Date;
6037
+ updatedAt: Date;
6038
+ deletedAt: Date | null;
6039
+ isActive: boolean;
6040
+ }, {
6041
+ type: string;
6042
+ id: string;
6043
+ name: string;
6044
+ createdAt: Date;
6045
+ updatedAt: Date;
6046
+ deletedAt: Date | null;
6047
+ isActive: boolean;
6048
+ }>;
5787
6049
  }, "strip", z.ZodTypeAny, {
5788
6050
  id: string;
5789
6051
  channel: {
@@ -6119,8 +6381,29 @@ export declare const MessageSchema: z.ZodObject<{
6119
6381
  callFrom: string | null;
6120
6382
  callTo: string | null;
6121
6383
  note: string | null;
6384
+ customFields?: {
6385
+ id: string;
6386
+ createdAt: Date;
6387
+ updatedAt: Date;
6388
+ deletedAt: Date | null;
6389
+ entityId: string;
6390
+ attributeId: string;
6391
+ textValue: string | null;
6392
+ booleanValue: boolean | null;
6393
+ numberValue: number | null;
6394
+ dateValue: Date | null;
6395
+ }[] | null | undefined;
6122
6396
  } | null;
6123
6397
  };
6398
+ workflowRule: {
6399
+ type: string;
6400
+ id: string;
6401
+ name: string;
6402
+ createdAt: Date;
6403
+ updatedAt: Date;
6404
+ deletedAt: Date | null;
6405
+ isActive: boolean;
6406
+ };
6124
6407
  }, {
6125
6408
  id: string;
6126
6409
  channel: {
@@ -6456,8 +6739,29 @@ export declare const MessageSchema: z.ZodObject<{
6456
6739
  callFrom: string | null;
6457
6740
  callTo: string | null;
6458
6741
  note: string | null;
6742
+ customFields?: {
6743
+ id: string;
6744
+ createdAt: Date;
6745
+ updatedAt: Date;
6746
+ deletedAt: Date | null;
6747
+ entityId: string;
6748
+ attributeId: string;
6749
+ textValue: string | null;
6750
+ booleanValue: boolean | null;
6751
+ numberValue: number | null;
6752
+ dateValue: Date | null;
6753
+ }[] | null | undefined;
6459
6754
  } | null;
6460
6755
  };
6756
+ workflowRule: {
6757
+ type: string;
6758
+ id: string;
6759
+ name: string;
6760
+ createdAt: Date;
6761
+ updatedAt: Date;
6762
+ deletedAt: Date | null;
6763
+ isActive: boolean;
6764
+ };
6461
6765
  }>;
6462
6766
  upload: z.ZodObject<{
6463
6767
  id: z.ZodString;
@@ -6627,6 +6931,9 @@ export declare const MessageSchema: z.ZodObject<{
6627
6931
  }>, "many">;
6628
6932
  extension: z.ZodObject<{
6629
6933
  id: z.ZodString;
6934
+ /**
6935
+ * Message Type Enum
6936
+ */
6630
6937
  createdAt: z.ZodDate;
6631
6938
  updatedAt: z.ZodDate;
6632
6939
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -6635,9 +6942,7 @@ export declare const MessageSchema: z.ZodObject<{
6635
6942
  sipUserName: z.ZodString;
6636
6943
  webphoneLoginUser: z.ZodString;
6637
6944
  extensionId: z.ZodNullable<z.ZodString>;
6638
- extensionName: z.ZodString; /**
6639
- * Message Type Enum
6640
- */
6945
+ extensionName: z.ZodString;
6641
6946
  telephonySignature: z.ZodNullable<z.ZodString>;
6642
6947
  }, "strip", z.ZodTypeAny, {
6643
6948
  id: string;
@@ -6833,6 +7138,9 @@ export declare const MessageSchema: z.ZodObject<{
6833
7138
  }>, "many">;
6834
7139
  extension: z.ZodObject<{
6835
7140
  id: z.ZodString;
7141
+ /**
7142
+ * Message Type Enum
7143
+ */
6836
7144
  createdAt: z.ZodDate;
6837
7145
  updatedAt: z.ZodDate;
6838
7146
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -6841,9 +7149,7 @@ export declare const MessageSchema: z.ZodObject<{
6841
7149
  sipUserName: z.ZodString;
6842
7150
  webphoneLoginUser: z.ZodString;
6843
7151
  extensionId: z.ZodNullable<z.ZodString>;
6844
- extensionName: z.ZodString; /**
6845
- * Message Type Enum
6846
- */
7152
+ extensionName: z.ZodString;
6847
7153
  telephonySignature: z.ZodNullable<z.ZodString>;
6848
7154
  }, "strip", z.ZodTypeAny, {
6849
7155
  id: string;
@@ -7039,6 +7345,9 @@ export declare const MessageSchema: z.ZodObject<{
7039
7345
  }>, "many">;
7040
7346
  extension: z.ZodObject<{
7041
7347
  id: z.ZodString;
7348
+ /**
7349
+ * Message Type Enum
7350
+ */
7042
7351
  createdAt: z.ZodDate;
7043
7352
  updatedAt: z.ZodDate;
7044
7353
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -7047,9 +7356,7 @@ export declare const MessageSchema: z.ZodObject<{
7047
7356
  sipUserName: z.ZodString;
7048
7357
  webphoneLoginUser: z.ZodString;
7049
7358
  extensionId: z.ZodNullable<z.ZodString>;
7050
- extensionName: z.ZodString; /**
7051
- * Message Type Enum
7052
- */
7359
+ extensionName: z.ZodString;
7053
7360
  telephonySignature: z.ZodNullable<z.ZodString>;
7054
7361
  }, "strip", z.ZodTypeAny, {
7055
7362
  id: string;
@@ -8100,6 +8407,31 @@ export declare const MessageSchema: z.ZodObject<{
8100
8407
  telephonySignature: string | null;
8101
8408
  };
8102
8409
  }>;
8410
+ workflowRule: z.ZodObject<{
8411
+ id: z.ZodString;
8412
+ createdAt: z.ZodDate;
8413
+ updatedAt: z.ZodDate;
8414
+ deletedAt: z.ZodNullable<z.ZodDate>;
8415
+ name: z.ZodString;
8416
+ isActive: z.ZodBoolean;
8417
+ type: z.ZodString;
8418
+ }, "strip", z.ZodTypeAny, {
8419
+ type: string;
8420
+ id: string;
8421
+ name: string;
8422
+ createdAt: Date;
8423
+ updatedAt: Date;
8424
+ deletedAt: Date | null;
8425
+ isActive: boolean;
8426
+ }, {
8427
+ type: string;
8428
+ id: string;
8429
+ name: string;
8430
+ createdAt: Date;
8431
+ updatedAt: Date;
8432
+ deletedAt: Date | null;
8433
+ isActive: boolean;
8434
+ }>;
8103
8435
  }, "strip", z.ZodTypeAny, {
8104
8436
  type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8105
8437
  message: string;
@@ -8545,8 +8877,38 @@ export declare const MessageSchema: z.ZodObject<{
8545
8877
  callFrom: string | null;
8546
8878
  callTo: string | null;
8547
8879
  note: string | null;
8880
+ customFields?: {
8881
+ id: string;
8882
+ createdAt: Date;
8883
+ updatedAt: Date;
8884
+ deletedAt: Date | null;
8885
+ entityId: string;
8886
+ attributeId: string;
8887
+ textValue: string | null;
8888
+ booleanValue: boolean | null;
8889
+ numberValue: number | null;
8890
+ dateValue: Date | null;
8891
+ }[] | null | undefined;
8548
8892
  } | null;
8549
8893
  };
8894
+ workflowRule: {
8895
+ type: string;
8896
+ id: string;
8897
+ name: string;
8898
+ createdAt: Date;
8899
+ updatedAt: Date;
8900
+ deletedAt: Date | null;
8901
+ isActive: boolean;
8902
+ };
8903
+ };
8904
+ workflowRule: {
8905
+ type: string;
8906
+ id: string;
8907
+ name: string;
8908
+ createdAt: Date;
8909
+ updatedAt: Date;
8910
+ deletedAt: Date | null;
8911
+ isActive: boolean;
8550
8912
  };
8551
8913
  readAt: Date;
8552
8914
  platformMessageId: string;
@@ -9208,8 +9570,38 @@ export declare const MessageSchema: z.ZodObject<{
9208
9570
  callFrom: string | null;
9209
9571
  callTo: string | null;
9210
9572
  note: string | null;
9573
+ customFields?: {
9574
+ id: string;
9575
+ createdAt: Date;
9576
+ updatedAt: Date;
9577
+ deletedAt: Date | null;
9578
+ entityId: string;
9579
+ attributeId: string;
9580
+ textValue: string | null;
9581
+ booleanValue: boolean | null;
9582
+ numberValue: number | null;
9583
+ dateValue: Date | null;
9584
+ }[] | null | undefined;
9211
9585
  } | null;
9212
9586
  };
9587
+ workflowRule: {
9588
+ type: string;
9589
+ id: string;
9590
+ name: string;
9591
+ createdAt: Date;
9592
+ updatedAt: Date;
9593
+ deletedAt: Date | null;
9594
+ isActive: boolean;
9595
+ };
9596
+ };
9597
+ workflowRule: {
9598
+ type: string;
9599
+ id: string;
9600
+ name: string;
9601
+ createdAt: Date;
9602
+ updatedAt: Date;
9603
+ deletedAt: Date | null;
9604
+ isActive: boolean;
9213
9605
  };
9214
9606
  readAt: Date;
9215
9607
  platformMessageId: string;
@@ -9561,6 +9953,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9561
9953
  }>, "many">;
9562
9954
  extension: z.ZodObject<{
9563
9955
  id: z.ZodString;
9956
+ /**
9957
+ * Message Type Enum
9958
+ */
9564
9959
  createdAt: z.ZodDate;
9565
9960
  updatedAt: z.ZodDate;
9566
9961
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -9569,9 +9964,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9569
9964
  sipUserName: z.ZodString;
9570
9965
  webphoneLoginUser: z.ZodString;
9571
9966
  extensionId: z.ZodNullable<z.ZodString>;
9572
- extensionName: z.ZodString; /**
9573
- * Message Type Enum
9574
- */
9967
+ extensionName: z.ZodString;
9575
9968
  telephonySignature: z.ZodNullable<z.ZodString>;
9576
9969
  }, "strip", z.ZodTypeAny, {
9577
9970
  id: string;
@@ -9767,6 +10160,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9767
10160
  }>, "many">;
9768
10161
  extension: z.ZodObject<{
9769
10162
  id: z.ZodString;
10163
+ /**
10164
+ * Message Type Enum
10165
+ */
9770
10166
  createdAt: z.ZodDate;
9771
10167
  updatedAt: z.ZodDate;
9772
10168
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -9775,9 +10171,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9775
10171
  sipUserName: z.ZodString;
9776
10172
  webphoneLoginUser: z.ZodString;
9777
10173
  extensionId: z.ZodNullable<z.ZodString>;
9778
- extensionName: z.ZodString; /**
9779
- * Message Type Enum
9780
- */
10174
+ extensionName: z.ZodString;
9781
10175
  telephonySignature: z.ZodNullable<z.ZodString>;
9782
10176
  }, "strip", z.ZodTypeAny, {
9783
10177
  id: string;
@@ -9973,6 +10367,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9973
10367
  }>, "many">;
9974
10368
  extension: z.ZodObject<{
9975
10369
  id: z.ZodString;
10370
+ /**
10371
+ * Message Type Enum
10372
+ */
9976
10373
  createdAt: z.ZodDate;
9977
10374
  updatedAt: z.ZodDate;
9978
10375
  deletedAt: z.ZodNullable<z.ZodDate>;
@@ -9981,9 +10378,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
9981
10378
  sipUserName: z.ZodString;
9982
10379
  webphoneLoginUser: z.ZodString;
9983
10380
  extensionId: z.ZodNullable<z.ZodString>;
9984
- extensionName: z.ZodString; /**
9985
- * Message Type Enum
9986
- */
10381
+ extensionName: z.ZodString;
9987
10382
  telephonySignature: z.ZodNullable<z.ZodString>;
9988
10383
  }, "strip", z.ZodTypeAny, {
9989
10384
  id: string;