@kl1/contracts 1.2.38-uat → 1.2.39-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2349 -2560
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +75 -87
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +84 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +6954 -2629
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1675 -721
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1512 -818
  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 +13847 -11876
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-intelligence/index.d.ts +87 -0
  21. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/index.d.ts +190 -143
  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 +233 -119
  25. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/index.d.ts +77 -99
  27. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/schema.d.ts +12 -55
  29. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  30. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  31. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  32. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  33. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +1466 -1060
  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 +68 -77
  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 +53 -60
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +5 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +1271 -836
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +1204 -757
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +71 -82
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/mail/mail-contract.d.ts +619 -7
  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 +619 -7
  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 +204 -0
  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 +165 -5
  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 +1271 -836
  57. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/messenger/validation.d.ts +53 -60
  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 +180 -146
  64. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  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 +1091 -626
  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 +34 -89
  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 +10 -27
  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 +16 -8
  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 +20 -10
  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 +1091 -626
  86. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/webchat/index.d.ts +1091 -626
  88. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/whatsapp/index.d.ts +1175 -724
  90. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/workflow-rule/index.d.ts +569 -183
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  93. package/dist/entities/src/enums/chat.d.ts +3 -0
  94. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  95. package/dist/index.js +4837 -4272
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +4830 -4272
  98. package/dist/index.mjs.map +1 -1
  99. package/package.json +7 -3
@@ -66,38 +66,35 @@ export declare const telegramContract: {
66
66
  additionalCredentials: z.ZodOptional<z.ZodAny>;
67
67
  senderId: z.ZodOptional<z.ZodString>;
68
68
  whatsapp: z.ZodOptional<z.ZodObject<{
69
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
69
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
70
+ wabaExternalId: z.ZodString;
71
+ phoneNumberId: z.ZodString;
72
+ email: z.ZodString;
73
+ clientId: z.ZodOptional<z.ZodString>;
74
+ channelId: z.ZodOptional<z.ZodString>;
75
75
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
76
76
  apiKey: z.ZodOptional<z.ZodString>;
77
77
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
78
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
79
78
  }, "strip", z.ZodTypeAny, {
80
- wabaBusinessId?: string | null | undefined;
81
- wabaExternalId?: string | null | undefined;
82
- phoneNumberId?: string | null | undefined;
83
- email?: string | null | undefined;
84
- clientId?: string | null | undefined;
85
- channelId?: string | null | undefined;
79
+ email: string;
80
+ wabaExternalId: string;
81
+ phoneNumberId: string;
82
+ wabaBusinessId?: string | undefined;
83
+ clientId?: string | undefined;
84
+ channelId?: string | undefined;
86
85
  status?: "active" | "pending" | undefined;
87
86
  apiKey?: string | undefined;
88
87
  tier?: "basic" | "regular" | "premium" | undefined;
89
- integrationType?: "meta" | "360dialog" | undefined;
90
88
  }, {
91
- wabaBusinessId?: string | null | undefined;
92
- wabaExternalId?: string | null | undefined;
93
- phoneNumberId?: string | null | undefined;
94
- email?: string | null | undefined;
95
- clientId?: string | null | undefined;
96
- channelId?: string | null | undefined;
89
+ email: string;
90
+ wabaExternalId: string;
91
+ phoneNumberId: string;
92
+ wabaBusinessId?: string | undefined;
93
+ clientId?: string | undefined;
94
+ channelId?: string | undefined;
97
95
  status?: "active" | "pending" | undefined;
98
96
  apiKey?: string | undefined;
99
97
  tier?: "basic" | "regular" | "premium" | undefined;
100
- integrationType?: "meta" | "360dialog" | undefined;
101
98
  }>>;
102
99
  vonageCredentials: z.ZodOptional<z.ZodObject<{
103
100
  mobileNumber: z.ZodString;
@@ -122,16 +119,15 @@ export declare const telegramContract: {
122
119
  additionalCredentials?: any;
123
120
  senderId?: string | undefined;
124
121
  whatsapp?: {
125
- wabaBusinessId?: string | null | undefined;
126
- wabaExternalId?: string | null | undefined;
127
- phoneNumberId?: string | null | undefined;
128
- email?: string | null | undefined;
129
- clientId?: string | null | undefined;
130
- channelId?: string | null | undefined;
122
+ email: string;
123
+ wabaExternalId: string;
124
+ phoneNumberId: string;
125
+ wabaBusinessId?: string | undefined;
126
+ clientId?: string | undefined;
127
+ channelId?: string | undefined;
131
128
  status?: "active" | "pending" | undefined;
132
129
  apiKey?: string | undefined;
133
130
  tier?: "basic" | "regular" | "premium" | undefined;
134
- integrationType?: "meta" | "360dialog" | undefined;
135
131
  } | undefined;
136
132
  vonageCredentials?: {
137
133
  apiKey: string;
@@ -148,16 +144,15 @@ export declare const telegramContract: {
148
144
  additionalCredentials?: any;
149
145
  senderId?: string | undefined;
150
146
  whatsapp?: {
151
- wabaBusinessId?: string | null | undefined;
152
- wabaExternalId?: string | null | undefined;
153
- phoneNumberId?: string | null | undefined;
154
- email?: string | null | undefined;
155
- clientId?: string | null | undefined;
156
- channelId?: string | null | undefined;
147
+ email: string;
148
+ wabaExternalId: string;
149
+ phoneNumberId: string;
150
+ wabaBusinessId?: string | undefined;
151
+ clientId?: string | undefined;
152
+ channelId?: string | undefined;
157
153
  status?: "active" | "pending" | undefined;
158
154
  apiKey?: string | undefined;
159
155
  tier?: "basic" | "regular" | "premium" | undefined;
160
- integrationType?: "meta" | "360dialog" | undefined;
161
156
  } | undefined;
162
157
  vonageCredentials?: {
163
158
  apiKey: string;
@@ -408,16 +403,15 @@ export declare const telegramContract: {
408
403
  additionalCredentials?: any;
409
404
  senderId?: string | undefined;
410
405
  whatsapp?: {
411
- wabaBusinessId?: string | null | undefined;
412
- wabaExternalId?: string | null | undefined;
413
- phoneNumberId?: string | null | undefined;
414
- email?: string | null | undefined;
415
- clientId?: string | null | undefined;
416
- channelId?: string | null | undefined;
406
+ email: string;
407
+ wabaExternalId: string;
408
+ phoneNumberId: string;
409
+ wabaBusinessId?: string | undefined;
410
+ clientId?: string | undefined;
411
+ channelId?: string | undefined;
417
412
  status?: "active" | "pending" | undefined;
418
413
  apiKey?: string | undefined;
419
414
  tier?: "basic" | "regular" | "premium" | undefined;
420
- integrationType?: "meta" | "360dialog" | undefined;
421
415
  } | undefined;
422
416
  vonageCredentials?: {
423
417
  apiKey: string;
@@ -499,16 +493,15 @@ export declare const telegramContract: {
499
493
  additionalCredentials?: any;
500
494
  senderId?: string | undefined;
501
495
  whatsapp?: {
502
- wabaBusinessId?: string | null | undefined;
503
- wabaExternalId?: string | null | undefined;
504
- phoneNumberId?: string | null | undefined;
505
- email?: string | null | undefined;
506
- clientId?: string | null | undefined;
507
- channelId?: string | null | undefined;
496
+ email: string;
497
+ wabaExternalId: string;
498
+ phoneNumberId: string;
499
+ wabaBusinessId?: string | undefined;
500
+ clientId?: string | undefined;
501
+ channelId?: string | undefined;
508
502
  status?: "active" | "pending" | undefined;
509
503
  apiKey?: string | undefined;
510
504
  tier?: "basic" | "regular" | "premium" | undefined;
511
- integrationType?: "meta" | "360dialog" | undefined;
512
505
  } | undefined;
513
506
  vonageCredentials?: {
514
507
  apiKey: string;
@@ -592,16 +585,15 @@ export declare const telegramContract: {
592
585
  additionalCredentials?: any;
593
586
  senderId?: string | undefined;
594
587
  whatsapp?: {
595
- wabaBusinessId?: string | null | undefined;
596
- wabaExternalId?: string | null | undefined;
597
- phoneNumberId?: string | null | undefined;
598
- email?: string | null | undefined;
599
- clientId?: string | null | undefined;
600
- channelId?: string | null | undefined;
588
+ email: string;
589
+ wabaExternalId: string;
590
+ phoneNumberId: string;
591
+ wabaBusinessId?: string | undefined;
592
+ clientId?: string | undefined;
593
+ channelId?: string | undefined;
601
594
  status?: "active" | "pending" | undefined;
602
595
  apiKey?: string | undefined;
603
596
  tier?: "basic" | "regular" | "premium" | undefined;
604
- integrationType?: "meta" | "360dialog" | undefined;
605
597
  } | undefined;
606
598
  vonageCredentials?: {
607
599
  apiKey: string;
@@ -686,16 +678,15 @@ export declare const telegramContract: {
686
678
  additionalCredentials?: any;
687
679
  senderId?: string | undefined;
688
680
  whatsapp?: {
689
- wabaBusinessId?: string | null | undefined;
690
- wabaExternalId?: string | null | undefined;
691
- phoneNumberId?: string | null | undefined;
692
- email?: string | null | undefined;
693
- clientId?: string | null | undefined;
694
- channelId?: string | null | undefined;
681
+ email: string;
682
+ wabaExternalId: string;
683
+ phoneNumberId: string;
684
+ wabaBusinessId?: string | undefined;
685
+ clientId?: string | undefined;
686
+ channelId?: string | undefined;
695
687
  status?: "active" | "pending" | undefined;
696
688
  apiKey?: string | undefined;
697
689
  tier?: "basic" | "regular" | "premium" | undefined;
698
- integrationType?: "meta" | "360dialog" | undefined;
699
690
  } | undefined;
700
691
  vonageCredentials?: {
701
692
  apiKey: string;
@@ -816,38 +807,35 @@ export declare const telegramContract: {
816
807
  additionalCredentials: z.ZodOptional<z.ZodAny>;
817
808
  senderId: z.ZodOptional<z.ZodString>;
818
809
  whatsapp: z.ZodOptional<z.ZodObject<{
819
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
820
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
821
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
822
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
823
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
824
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
810
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
811
+ wabaExternalId: z.ZodString;
812
+ phoneNumberId: z.ZodString;
813
+ email: z.ZodString;
814
+ clientId: z.ZodOptional<z.ZodString>;
815
+ channelId: z.ZodOptional<z.ZodString>;
825
816
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
826
817
  apiKey: z.ZodOptional<z.ZodString>;
827
818
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
828
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
829
819
  }, "strip", z.ZodTypeAny, {
830
- wabaBusinessId?: string | null | undefined;
831
- wabaExternalId?: string | null | undefined;
832
- phoneNumberId?: string | null | undefined;
833
- email?: string | null | undefined;
834
- clientId?: string | null | undefined;
835
- channelId?: string | null | undefined;
820
+ email: string;
821
+ wabaExternalId: string;
822
+ phoneNumberId: string;
823
+ wabaBusinessId?: string | undefined;
824
+ clientId?: string | undefined;
825
+ channelId?: string | undefined;
836
826
  status?: "active" | "pending" | undefined;
837
827
  apiKey?: string | undefined;
838
828
  tier?: "basic" | "regular" | "premium" | undefined;
839
- integrationType?: "meta" | "360dialog" | undefined;
840
829
  }, {
841
- wabaBusinessId?: string | null | undefined;
842
- wabaExternalId?: string | null | undefined;
843
- phoneNumberId?: string | null | undefined;
844
- email?: string | null | undefined;
845
- clientId?: string | null | undefined;
846
- channelId?: string | null | undefined;
830
+ email: string;
831
+ wabaExternalId: string;
832
+ phoneNumberId: string;
833
+ wabaBusinessId?: string | undefined;
834
+ clientId?: string | undefined;
835
+ channelId?: string | undefined;
847
836
  status?: "active" | "pending" | undefined;
848
837
  apiKey?: string | undefined;
849
838
  tier?: "basic" | "regular" | "premium" | undefined;
850
- integrationType?: "meta" | "360dialog" | undefined;
851
839
  }>>;
852
840
  vonageCredentials: z.ZodOptional<z.ZodObject<{
853
841
  mobileNumber: z.ZodString;
@@ -872,16 +860,15 @@ export declare const telegramContract: {
872
860
  additionalCredentials?: any;
873
861
  senderId?: string | undefined;
874
862
  whatsapp?: {
875
- wabaBusinessId?: string | null | undefined;
876
- wabaExternalId?: string | null | undefined;
877
- phoneNumberId?: string | null | undefined;
878
- email?: string | null | undefined;
879
- clientId?: string | null | undefined;
880
- channelId?: string | null | undefined;
863
+ email: string;
864
+ wabaExternalId: string;
865
+ phoneNumberId: string;
866
+ wabaBusinessId?: string | undefined;
867
+ clientId?: string | undefined;
868
+ channelId?: string | undefined;
881
869
  status?: "active" | "pending" | undefined;
882
870
  apiKey?: string | undefined;
883
871
  tier?: "basic" | "regular" | "premium" | undefined;
884
- integrationType?: "meta" | "360dialog" | undefined;
885
872
  } | undefined;
886
873
  vonageCredentials?: {
887
874
  apiKey: string;
@@ -898,16 +885,15 @@ export declare const telegramContract: {
898
885
  additionalCredentials?: any;
899
886
  senderId?: string | undefined;
900
887
  whatsapp?: {
901
- wabaBusinessId?: string | null | undefined;
902
- wabaExternalId?: string | null | undefined;
903
- phoneNumberId?: string | null | undefined;
904
- email?: string | null | undefined;
905
- clientId?: string | null | undefined;
906
- channelId?: string | null | undefined;
888
+ email: string;
889
+ wabaExternalId: string;
890
+ phoneNumberId: string;
891
+ wabaBusinessId?: string | undefined;
892
+ clientId?: string | undefined;
893
+ channelId?: string | undefined;
907
894
  status?: "active" | "pending" | undefined;
908
895
  apiKey?: string | undefined;
909
896
  tier?: "basic" | "regular" | "premium" | undefined;
910
- integrationType?: "meta" | "360dialog" | undefined;
911
897
  } | undefined;
912
898
  vonageCredentials?: {
913
899
  apiKey: string;
@@ -954,16 +940,15 @@ export declare const telegramContract: {
954
940
  additionalCredentials?: any;
955
941
  senderId?: string | undefined;
956
942
  whatsapp?: {
957
- wabaBusinessId?: string | null | undefined;
958
- wabaExternalId?: string | null | undefined;
959
- phoneNumberId?: string | null | undefined;
960
- email?: string | null | undefined;
961
- clientId?: string | null | undefined;
962
- channelId?: string | null | undefined;
943
+ email: string;
944
+ wabaExternalId: string;
945
+ phoneNumberId: string;
946
+ wabaBusinessId?: string | undefined;
947
+ clientId?: string | undefined;
948
+ channelId?: string | undefined;
963
949
  status?: "active" | "pending" | undefined;
964
950
  apiKey?: string | undefined;
965
951
  tier?: "basic" | "regular" | "premium" | undefined;
966
- integrationType?: "meta" | "360dialog" | undefined;
967
952
  } | undefined;
968
953
  vonageCredentials?: {
969
954
  apiKey: string;
@@ -998,16 +983,15 @@ export declare const telegramContract: {
998
983
  additionalCredentials?: any;
999
984
  senderId?: string | undefined;
1000
985
  whatsapp?: {
1001
- wabaBusinessId?: string | null | undefined;
1002
- wabaExternalId?: string | null | undefined;
1003
- phoneNumberId?: string | null | undefined;
1004
- email?: string | null | undefined;
1005
- clientId?: string | null | undefined;
1006
- channelId?: string | null | undefined;
986
+ email: string;
987
+ wabaExternalId: string;
988
+ phoneNumberId: string;
989
+ wabaBusinessId?: string | undefined;
990
+ clientId?: string | undefined;
991
+ channelId?: string | undefined;
1007
992
  status?: "active" | "pending" | undefined;
1008
993
  apiKey?: string | undefined;
1009
994
  tier?: "basic" | "regular" | "premium" | undefined;
1010
- integrationType?: "meta" | "360dialog" | undefined;
1011
995
  } | undefined;
1012
996
  vonageCredentials?: {
1013
997
  apiKey: string;
@@ -1044,16 +1028,15 @@ export declare const telegramContract: {
1044
1028
  additionalCredentials?: any;
1045
1029
  senderId?: string | undefined;
1046
1030
  whatsapp?: {
1047
- wabaBusinessId?: string | null | undefined;
1048
- wabaExternalId?: string | null | undefined;
1049
- phoneNumberId?: string | null | undefined;
1050
- email?: string | null | undefined;
1051
- clientId?: string | null | undefined;
1052
- channelId?: string | null | undefined;
1031
+ email: string;
1032
+ wabaExternalId: string;
1033
+ phoneNumberId: string;
1034
+ wabaBusinessId?: string | undefined;
1035
+ clientId?: string | undefined;
1036
+ channelId?: string | undefined;
1053
1037
  status?: "active" | "pending" | undefined;
1054
1038
  apiKey?: string | undefined;
1055
1039
  tier?: "basic" | "regular" | "premium" | undefined;
1056
- integrationType?: "meta" | "360dialog" | undefined;
1057
1040
  } | undefined;
1058
1041
  vonageCredentials?: {
1059
1042
  apiKey: string;
@@ -1091,16 +1074,15 @@ export declare const telegramContract: {
1091
1074
  additionalCredentials?: any;
1092
1075
  senderId?: string | undefined;
1093
1076
  whatsapp?: {
1094
- wabaBusinessId?: string | null | undefined;
1095
- wabaExternalId?: string | null | undefined;
1096
- phoneNumberId?: string | null | undefined;
1097
- email?: string | null | undefined;
1098
- clientId?: string | null | undefined;
1099
- channelId?: string | null | undefined;
1077
+ email: string;
1078
+ wabaExternalId: string;
1079
+ phoneNumberId: string;
1080
+ wabaBusinessId?: string | undefined;
1081
+ clientId?: string | undefined;
1082
+ channelId?: string | undefined;
1100
1083
  status?: "active" | "pending" | undefined;
1101
1084
  apiKey?: string | undefined;
1102
1085
  tier?: "basic" | "regular" | "premium" | undefined;
1103
- integrationType?: "meta" | "360dialog" | undefined;
1104
1086
  } | undefined;
1105
1087
  vonageCredentials?: {
1106
1088
  apiKey: string;
@@ -1287,38 +1269,35 @@ export declare const telegramContract: {
1287
1269
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1288
1270
  senderId: z.ZodOptional<z.ZodString>;
1289
1271
  whatsapp: z.ZodOptional<z.ZodObject<{
1290
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1291
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1292
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1293
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1294
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1295
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1272
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1273
+ wabaExternalId: z.ZodString;
1274
+ phoneNumberId: z.ZodString;
1275
+ email: z.ZodString;
1276
+ clientId: z.ZodOptional<z.ZodString>;
1277
+ channelId: z.ZodOptional<z.ZodString>;
1296
1278
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1297
1279
  apiKey: z.ZodOptional<z.ZodString>;
1298
1280
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1299
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1300
1281
  }, "strip", z.ZodTypeAny, {
1301
- wabaBusinessId?: string | null | undefined;
1302
- wabaExternalId?: string | null | undefined;
1303
- phoneNumberId?: string | null | undefined;
1304
- email?: string | null | undefined;
1305
- clientId?: string | null | undefined;
1306
- channelId?: string | null | undefined;
1282
+ email: string;
1283
+ wabaExternalId: string;
1284
+ phoneNumberId: string;
1285
+ wabaBusinessId?: string | undefined;
1286
+ clientId?: string | undefined;
1287
+ channelId?: string | undefined;
1307
1288
  status?: "active" | "pending" | undefined;
1308
1289
  apiKey?: string | undefined;
1309
1290
  tier?: "basic" | "regular" | "premium" | undefined;
1310
- integrationType?: "meta" | "360dialog" | undefined;
1311
1291
  }, {
1312
- wabaBusinessId?: string | null | undefined;
1313
- wabaExternalId?: string | null | undefined;
1314
- phoneNumberId?: string | null | undefined;
1315
- email?: string | null | undefined;
1316
- clientId?: string | null | undefined;
1317
- channelId?: string | null | undefined;
1292
+ email: string;
1293
+ wabaExternalId: string;
1294
+ phoneNumberId: string;
1295
+ wabaBusinessId?: string | undefined;
1296
+ clientId?: string | undefined;
1297
+ channelId?: string | undefined;
1318
1298
  status?: "active" | "pending" | undefined;
1319
1299
  apiKey?: string | undefined;
1320
1300
  tier?: "basic" | "regular" | "premium" | undefined;
1321
- integrationType?: "meta" | "360dialog" | undefined;
1322
1301
  }>>;
1323
1302
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1324
1303
  mobileNumber: z.ZodString;
@@ -1343,16 +1322,15 @@ export declare const telegramContract: {
1343
1322
  additionalCredentials?: any;
1344
1323
  senderId?: string | undefined;
1345
1324
  whatsapp?: {
1346
- wabaBusinessId?: string | null | undefined;
1347
- wabaExternalId?: string | null | undefined;
1348
- phoneNumberId?: string | null | undefined;
1349
- email?: string | null | undefined;
1350
- clientId?: string | null | undefined;
1351
- channelId?: string | null | undefined;
1325
+ email: string;
1326
+ wabaExternalId: string;
1327
+ phoneNumberId: string;
1328
+ wabaBusinessId?: string | undefined;
1329
+ clientId?: string | undefined;
1330
+ channelId?: string | undefined;
1352
1331
  status?: "active" | "pending" | undefined;
1353
1332
  apiKey?: string | undefined;
1354
1333
  tier?: "basic" | "regular" | "premium" | undefined;
1355
- integrationType?: "meta" | "360dialog" | undefined;
1356
1334
  } | undefined;
1357
1335
  vonageCredentials?: {
1358
1336
  apiKey: string;
@@ -1369,16 +1347,15 @@ export declare const telegramContract: {
1369
1347
  additionalCredentials?: any;
1370
1348
  senderId?: string | undefined;
1371
1349
  whatsapp?: {
1372
- wabaBusinessId?: string | null | undefined;
1373
- wabaExternalId?: string | null | undefined;
1374
- phoneNumberId?: string | null | undefined;
1375
- email?: string | null | undefined;
1376
- clientId?: string | null | undefined;
1377
- channelId?: string | null | undefined;
1350
+ email: string;
1351
+ wabaExternalId: string;
1352
+ phoneNumberId: string;
1353
+ wabaBusinessId?: string | undefined;
1354
+ clientId?: string | undefined;
1355
+ channelId?: string | undefined;
1378
1356
  status?: "active" | "pending" | undefined;
1379
1357
  apiKey?: string | undefined;
1380
1358
  tier?: "basic" | "regular" | "premium" | undefined;
1381
- integrationType?: "meta" | "360dialog" | undefined;
1382
1359
  } | undefined;
1383
1360
  vonageCredentials?: {
1384
1361
  apiKey: string;
@@ -1425,16 +1402,15 @@ export declare const telegramContract: {
1425
1402
  additionalCredentials?: any;
1426
1403
  senderId?: string | undefined;
1427
1404
  whatsapp?: {
1428
- wabaBusinessId?: string | null | undefined;
1429
- wabaExternalId?: string | null | undefined;
1430
- phoneNumberId?: string | null | undefined;
1431
- email?: string | null | undefined;
1432
- clientId?: string | null | undefined;
1433
- channelId?: string | null | undefined;
1405
+ email: string;
1406
+ wabaExternalId: string;
1407
+ phoneNumberId: string;
1408
+ wabaBusinessId?: string | undefined;
1409
+ clientId?: string | undefined;
1410
+ channelId?: string | undefined;
1434
1411
  status?: "active" | "pending" | undefined;
1435
1412
  apiKey?: string | undefined;
1436
1413
  tier?: "basic" | "regular" | "premium" | undefined;
1437
- integrationType?: "meta" | "360dialog" | undefined;
1438
1414
  } | undefined;
1439
1415
  vonageCredentials?: {
1440
1416
  apiKey: string;
@@ -1469,16 +1445,15 @@ export declare const telegramContract: {
1469
1445
  additionalCredentials?: any;
1470
1446
  senderId?: string | undefined;
1471
1447
  whatsapp?: {
1472
- wabaBusinessId?: string | null | undefined;
1473
- wabaExternalId?: string | null | undefined;
1474
- phoneNumberId?: string | null | undefined;
1475
- email?: string | null | undefined;
1476
- clientId?: string | null | undefined;
1477
- channelId?: string | null | undefined;
1448
+ email: string;
1449
+ wabaExternalId: string;
1450
+ phoneNumberId: string;
1451
+ wabaBusinessId?: string | undefined;
1452
+ clientId?: string | undefined;
1453
+ channelId?: string | undefined;
1478
1454
  status?: "active" | "pending" | undefined;
1479
1455
  apiKey?: string | undefined;
1480
1456
  tier?: "basic" | "regular" | "premium" | undefined;
1481
- integrationType?: "meta" | "360dialog" | undefined;
1482
1457
  } | undefined;
1483
1458
  vonageCredentials?: {
1484
1459
  apiKey: string;
@@ -1518,16 +1493,15 @@ export declare const telegramContract: {
1518
1493
  additionalCredentials?: any;
1519
1494
  senderId?: string | undefined;
1520
1495
  whatsapp?: {
1521
- wabaBusinessId?: string | null | undefined;
1522
- wabaExternalId?: string | null | undefined;
1523
- phoneNumberId?: string | null | undefined;
1524
- email?: string | null | undefined;
1525
- clientId?: string | null | undefined;
1526
- channelId?: string | null | undefined;
1496
+ email: string;
1497
+ wabaExternalId: string;
1498
+ phoneNumberId: string;
1499
+ wabaBusinessId?: string | undefined;
1500
+ clientId?: string | undefined;
1501
+ channelId?: string | undefined;
1527
1502
  status?: "active" | "pending" | undefined;
1528
1503
  apiKey?: string | undefined;
1529
1504
  tier?: "basic" | "regular" | "premium" | undefined;
1530
- integrationType?: "meta" | "360dialog" | undefined;
1531
1505
  } | undefined;
1532
1506
  vonageCredentials?: {
1533
1507
  apiKey: string;
@@ -1606,16 +1580,15 @@ export declare const telegramContract: {
1606
1580
  additionalCredentials?: any;
1607
1581
  senderId?: string | undefined;
1608
1582
  whatsapp?: {
1609
- wabaBusinessId?: string | null | undefined;
1610
- wabaExternalId?: string | null | undefined;
1611
- phoneNumberId?: string | null | undefined;
1612
- email?: string | null | undefined;
1613
- clientId?: string | null | undefined;
1614
- channelId?: string | null | undefined;
1583
+ email: string;
1584
+ wabaExternalId: string;
1585
+ phoneNumberId: string;
1586
+ wabaBusinessId?: string | undefined;
1587
+ clientId?: string | undefined;
1588
+ channelId?: string | undefined;
1615
1589
  status?: "active" | "pending" | undefined;
1616
1590
  apiKey?: string | undefined;
1617
1591
  tier?: "basic" | "regular" | "premium" | undefined;
1618
- integrationType?: "meta" | "360dialog" | undefined;
1619
1592
  } | undefined;
1620
1593
  vonageCredentials?: {
1621
1594
  apiKey: string;
@@ -1685,7 +1658,7 @@ export declare const telegramContract: {
1685
1658
  id: z.ZodOptional<z.ZodString>;
1686
1659
  message: z.ZodOptional<z.ZodString>;
1687
1660
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1688
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1661
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1689
1662
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1690
1663
  metadata: z.ZodOptional<z.ZodAny>;
1691
1664
  platformId: z.ZodOptional<z.ZodString>;
@@ -1741,7 +1714,7 @@ export declare const telegramContract: {
1741
1714
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1742
1715
  label: z.ZodOptional<z.ZodString>;
1743
1716
  }, "strip", z.ZodTypeAny, {
1744
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1717
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1745
1718
  direction: "incoming" | "outgoing" | "system";
1746
1719
  id?: string | undefined;
1747
1720
  message?: string | undefined;
@@ -1776,7 +1749,7 @@ export declare const telegramContract: {
1776
1749
  editedAt?: string | Date | null | undefined;
1777
1750
  label?: string | undefined;
1778
1751
  }, {
1779
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1752
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1780
1753
  direction: "incoming" | "outgoing" | "system";
1781
1754
  id?: string | undefined;
1782
1755
  message?: string | undefined;
@@ -1813,7 +1786,7 @@ export declare const telegramContract: {
1813
1786
  }>;
1814
1787
  }, "strip", z.ZodTypeAny, {
1815
1788
  message: {
1816
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1789
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1817
1790
  direction: "incoming" | "outgoing" | "system";
1818
1791
  id?: string | undefined;
1819
1792
  message?: string | undefined;
@@ -1862,16 +1835,15 @@ export declare const telegramContract: {
1862
1835
  additionalCredentials?: any;
1863
1836
  senderId?: string | undefined;
1864
1837
  whatsapp?: {
1865
- wabaBusinessId?: string | null | undefined;
1866
- wabaExternalId?: string | null | undefined;
1867
- phoneNumberId?: string | null | undefined;
1868
- email?: string | null | undefined;
1869
- clientId?: string | null | undefined;
1870
- channelId?: string | null | undefined;
1838
+ email: string;
1839
+ wabaExternalId: string;
1840
+ phoneNumberId: string;
1841
+ wabaBusinessId?: string | undefined;
1842
+ clientId?: string | undefined;
1843
+ channelId?: string | undefined;
1871
1844
  status?: "active" | "pending" | undefined;
1872
1845
  apiKey?: string | undefined;
1873
1846
  tier?: "basic" | "regular" | "premium" | undefined;
1874
- integrationType?: "meta" | "360dialog" | undefined;
1875
1847
  } | undefined;
1876
1848
  vonageCredentials?: {
1877
1849
  apiKey: string;
@@ -1940,7 +1912,7 @@ export declare const telegramContract: {
1940
1912
  isBot: boolean | null;
1941
1913
  }, {
1942
1914
  message: {
1943
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1915
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1944
1916
  direction: "incoming" | "outgoing" | "system";
1945
1917
  id?: string | undefined;
1946
1918
  message?: string | undefined;
@@ -1989,16 +1961,15 @@ export declare const telegramContract: {
1989
1961
  additionalCredentials?: any;
1990
1962
  senderId?: string | undefined;
1991
1963
  whatsapp?: {
1992
- wabaBusinessId?: string | null | undefined;
1993
- wabaExternalId?: string | null | undefined;
1994
- phoneNumberId?: string | null | undefined;
1995
- email?: string | null | undefined;
1996
- clientId?: string | null | undefined;
1997
- channelId?: string | null | undefined;
1964
+ email: string;
1965
+ wabaExternalId: string;
1966
+ phoneNumberId: string;
1967
+ wabaBusinessId?: string | undefined;
1968
+ clientId?: string | undefined;
1969
+ channelId?: string | undefined;
1998
1970
  status?: "active" | "pending" | undefined;
1999
1971
  apiKey?: string | undefined;
2000
1972
  tier?: "basic" | "regular" | "premium" | undefined;
2001
- integrationType?: "meta" | "360dialog" | undefined;
2002
1973
  } | undefined;
2003
1974
  vonageCredentials?: {
2004
1975
  apiKey: string;
@@ -2071,7 +2042,7 @@ export declare const telegramContract: {
2071
2042
  200: z.ZodObject<{
2072
2043
  requestId: z.ZodString;
2073
2044
  data: z.ZodObject<{
2074
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2045
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2075
2046
  message: z.ZodString;
2076
2047
  id: z.ZodString;
2077
2048
  url: z.ZodString;
@@ -2296,9 +2267,10 @@ export declare const telegramContract: {
2296
2267
  fileSize: z.ZodNumber;
2297
2268
  fileKey: z.ZodString;
2298
2269
  fileUrl: z.ZodNullable<z.ZodString>;
2299
- status: z.ZodOptional<z.ZodString>;
2270
+ status: z.ZodNullable<z.ZodString>;
2300
2271
  }, "strip", z.ZodTypeAny, {
2301
2272
  id: string;
2273
+ status: string | null;
2302
2274
  createdAt: Date;
2303
2275
  updatedAt: Date;
2304
2276
  deletedAt: Date | null;
@@ -2307,9 +2279,9 @@ export declare const telegramContract: {
2307
2279
  bucketName: string;
2308
2280
  fileSize: number;
2309
2281
  fileUrl: string | null;
2310
- status?: string | undefined;
2311
2282
  }, {
2312
2283
  id: string;
2284
+ status: string | null;
2313
2285
  createdAt: Date;
2314
2286
  updatedAt: Date;
2315
2287
  deletedAt: Date | null;
@@ -2318,7 +2290,6 @@ export declare const telegramContract: {
2318
2290
  bucketName: string;
2319
2291
  fileSize: number;
2320
2292
  fileUrl: string | null;
2321
- status?: string | undefined;
2322
2293
  }>;
2323
2294
  assignee: z.ZodObject<{
2324
2295
  id: z.ZodString;
@@ -2913,9 +2884,10 @@ export declare const telegramContract: {
2913
2884
  fileSize: z.ZodNumber;
2914
2885
  fileKey: z.ZodString;
2915
2886
  fileUrl: z.ZodNullable<z.ZodString>;
2916
- status: z.ZodOptional<z.ZodString>;
2887
+ status: z.ZodNullable<z.ZodString>;
2917
2888
  }, "strip", z.ZodTypeAny, {
2918
2889
  id: string;
2890
+ status: string | null;
2919
2891
  createdAt: Date;
2920
2892
  updatedAt: Date;
2921
2893
  deletedAt: Date | null;
@@ -2924,9 +2896,9 @@ export declare const telegramContract: {
2924
2896
  bucketName: string;
2925
2897
  fileSize: number;
2926
2898
  fileUrl: string | null;
2927
- status?: string | undefined;
2928
2899
  }, {
2929
2900
  id: string;
2901
+ status: string | null;
2930
2902
  createdAt: Date;
2931
2903
  updatedAt: Date;
2932
2904
  deletedAt: Date | null;
@@ -2935,7 +2907,6 @@ export declare const telegramContract: {
2935
2907
  bucketName: string;
2936
2908
  fileSize: number;
2937
2909
  fileUrl: string | null;
2938
- status?: string | undefined;
2939
2910
  }>, "many">;
2940
2911
  }, "strip", z.ZodTypeAny, {
2941
2912
  id: string;
@@ -2962,6 +2933,7 @@ export declare const telegramContract: {
2962
2933
  dateValue: Date | null;
2963
2934
  uploads: {
2964
2935
  id: string;
2936
+ status: string | null;
2965
2937
  createdAt: Date;
2966
2938
  updatedAt: Date;
2967
2939
  deletedAt: Date | null;
@@ -2970,7 +2942,6 @@ export declare const telegramContract: {
2970
2942
  bucketName: string;
2971
2943
  fileSize: number;
2972
2944
  fileUrl: string | null;
2973
- status?: string | undefined;
2974
2945
  }[];
2975
2946
  }, {
2976
2947
  id: string;
@@ -2997,6 +2968,7 @@ export declare const telegramContract: {
2997
2968
  dateValue: Date | null;
2998
2969
  uploads: {
2999
2970
  id: string;
2971
+ status: string | null;
3000
2972
  createdAt: Date;
3001
2973
  updatedAt: Date;
3002
2974
  deletedAt: Date | null;
@@ -3005,7 +2977,6 @@ export declare const telegramContract: {
3005
2977
  bucketName: string;
3006
2978
  fileSize: number;
3007
2979
  fileUrl: string | null;
3008
- status?: string | undefined;
3009
2980
  }[];
3010
2981
  }>, "many">;
3011
2982
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3145,6 +3116,7 @@ export declare const telegramContract: {
3145
3116
  dateValue: Date | null;
3146
3117
  uploads: {
3147
3118
  id: string;
3119
+ status: string | null;
3148
3120
  createdAt: Date;
3149
3121
  updatedAt: Date;
3150
3122
  deletedAt: Date | null;
@@ -3153,7 +3125,6 @@ export declare const telegramContract: {
3153
3125
  bucketName: string;
3154
3126
  fileSize: number;
3155
3127
  fileUrl: string | null;
3156
- status?: string | undefined;
3157
3128
  }[];
3158
3129
  }[];
3159
3130
  company: {
@@ -3256,6 +3227,7 @@ export declare const telegramContract: {
3256
3227
  dateValue: Date | null;
3257
3228
  uploads: {
3258
3229
  id: string;
3230
+ status: string | null;
3259
3231
  createdAt: Date;
3260
3232
  updatedAt: Date;
3261
3233
  deletedAt: Date | null;
@@ -3264,7 +3236,6 @@ export declare const telegramContract: {
3264
3236
  bucketName: string;
3265
3237
  fileSize: number;
3266
3238
  fileUrl: string | null;
3267
- status?: string | undefined;
3268
3239
  }[];
3269
3240
  }[];
3270
3241
  company: {
@@ -3380,6 +3351,7 @@ export declare const telegramContract: {
3380
3351
  dateValue: Date | null;
3381
3352
  uploads: {
3382
3353
  id: string;
3354
+ status: string | null;
3383
3355
  createdAt: Date;
3384
3356
  updatedAt: Date;
3385
3357
  deletedAt: Date | null;
@@ -3388,7 +3360,6 @@ export declare const telegramContract: {
3388
3360
  bucketName: string;
3389
3361
  fileSize: number;
3390
3362
  fileUrl: string | null;
3391
- status?: string | undefined;
3392
3363
  }[];
3393
3364
  }[];
3394
3365
  company: {
@@ -3506,6 +3477,7 @@ export declare const telegramContract: {
3506
3477
  dateValue: Date | null;
3507
3478
  uploads: {
3508
3479
  id: string;
3480
+ status: string | null;
3509
3481
  createdAt: Date;
3510
3482
  updatedAt: Date;
3511
3483
  deletedAt: Date | null;
@@ -3514,7 +3486,6 @@ export declare const telegramContract: {
3514
3486
  bucketName: string;
3515
3487
  fileSize: number;
3516
3488
  fileUrl: string | null;
3517
- status?: string | undefined;
3518
3489
  }[];
3519
3490
  }[];
3520
3491
  company: {
@@ -4011,38 +3982,35 @@ export declare const telegramContract: {
4011
3982
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4012
3983
  senderId: z.ZodOptional<z.ZodString>;
4013
3984
  whatsapp: z.ZodOptional<z.ZodObject<{
4014
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4015
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4016
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4017
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4018
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4019
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3985
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
3986
+ wabaExternalId: z.ZodString;
3987
+ phoneNumberId: z.ZodString;
3988
+ email: z.ZodString;
3989
+ clientId: z.ZodOptional<z.ZodString>;
3990
+ channelId: z.ZodOptional<z.ZodString>;
4020
3991
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4021
3992
  apiKey: z.ZodOptional<z.ZodString>;
4022
3993
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4023
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
4024
3994
  }, "strip", z.ZodTypeAny, {
4025
- wabaBusinessId?: string | null | undefined;
4026
- wabaExternalId?: string | null | undefined;
4027
- phoneNumberId?: string | null | undefined;
4028
- email?: string | null | undefined;
4029
- clientId?: string | null | undefined;
4030
- channelId?: string | null | undefined;
3995
+ email: string;
3996
+ wabaExternalId: string;
3997
+ phoneNumberId: string;
3998
+ wabaBusinessId?: string | undefined;
3999
+ clientId?: string | undefined;
4000
+ channelId?: string | undefined;
4031
4001
  status?: "active" | "pending" | undefined;
4032
4002
  apiKey?: string | undefined;
4033
4003
  tier?: "basic" | "regular" | "premium" | undefined;
4034
- integrationType?: "meta" | "360dialog" | undefined;
4035
4004
  }, {
4036
- wabaBusinessId?: string | null | undefined;
4037
- wabaExternalId?: string | null | undefined;
4038
- phoneNumberId?: string | null | undefined;
4039
- email?: string | null | undefined;
4040
- clientId?: string | null | undefined;
4041
- channelId?: string | null | undefined;
4005
+ email: string;
4006
+ wabaExternalId: string;
4007
+ phoneNumberId: string;
4008
+ wabaBusinessId?: string | undefined;
4009
+ clientId?: string | undefined;
4010
+ channelId?: string | undefined;
4042
4011
  status?: "active" | "pending" | undefined;
4043
4012
  apiKey?: string | undefined;
4044
4013
  tier?: "basic" | "regular" | "premium" | undefined;
4045
- integrationType?: "meta" | "360dialog" | undefined;
4046
4014
  }>>;
4047
4015
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4048
4016
  mobileNumber: z.ZodString;
@@ -4067,16 +4035,15 @@ export declare const telegramContract: {
4067
4035
  additionalCredentials?: any;
4068
4036
  senderId?: string | undefined;
4069
4037
  whatsapp?: {
4070
- wabaBusinessId?: string | null | undefined;
4071
- wabaExternalId?: string | null | undefined;
4072
- phoneNumberId?: string | null | undefined;
4073
- email?: string | null | undefined;
4074
- clientId?: string | null | undefined;
4075
- channelId?: string | null | undefined;
4038
+ email: string;
4039
+ wabaExternalId: string;
4040
+ phoneNumberId: string;
4041
+ wabaBusinessId?: string | undefined;
4042
+ clientId?: string | undefined;
4043
+ channelId?: string | undefined;
4076
4044
  status?: "active" | "pending" | undefined;
4077
4045
  apiKey?: string | undefined;
4078
4046
  tier?: "basic" | "regular" | "premium" | undefined;
4079
- integrationType?: "meta" | "360dialog" | undefined;
4080
4047
  } | undefined;
4081
4048
  vonageCredentials?: {
4082
4049
  apiKey: string;
@@ -4093,16 +4060,15 @@ export declare const telegramContract: {
4093
4060
  additionalCredentials?: any;
4094
4061
  senderId?: string | undefined;
4095
4062
  whatsapp?: {
4096
- wabaBusinessId?: string | null | undefined;
4097
- wabaExternalId?: string | null | undefined;
4098
- phoneNumberId?: string | null | undefined;
4099
- email?: string | null | undefined;
4100
- clientId?: string | null | undefined;
4101
- channelId?: string | null | undefined;
4063
+ email: string;
4064
+ wabaExternalId: string;
4065
+ phoneNumberId: string;
4066
+ wabaBusinessId?: string | undefined;
4067
+ clientId?: string | undefined;
4068
+ channelId?: string | undefined;
4102
4069
  status?: "active" | "pending" | undefined;
4103
4070
  apiKey?: string | undefined;
4104
4071
  tier?: "basic" | "regular" | "premium" | undefined;
4105
- integrationType?: "meta" | "360dialog" | undefined;
4106
4072
  } | undefined;
4107
4073
  vonageCredentials?: {
4108
4074
  apiKey: string;
@@ -4353,16 +4319,15 @@ export declare const telegramContract: {
4353
4319
  additionalCredentials?: any;
4354
4320
  senderId?: string | undefined;
4355
4321
  whatsapp?: {
4356
- wabaBusinessId?: string | null | undefined;
4357
- wabaExternalId?: string | null | undefined;
4358
- phoneNumberId?: string | null | undefined;
4359
- email?: string | null | undefined;
4360
- clientId?: string | null | undefined;
4361
- channelId?: string | null | undefined;
4322
+ email: string;
4323
+ wabaExternalId: string;
4324
+ phoneNumberId: string;
4325
+ wabaBusinessId?: string | undefined;
4326
+ clientId?: string | undefined;
4327
+ channelId?: string | undefined;
4362
4328
  status?: "active" | "pending" | undefined;
4363
4329
  apiKey?: string | undefined;
4364
4330
  tier?: "basic" | "regular" | "premium" | undefined;
4365
- integrationType?: "meta" | "360dialog" | undefined;
4366
4331
  } | undefined;
4367
4332
  vonageCredentials?: {
4368
4333
  apiKey: string;
@@ -4444,16 +4409,15 @@ export declare const telegramContract: {
4444
4409
  additionalCredentials?: any;
4445
4410
  senderId?: string | undefined;
4446
4411
  whatsapp?: {
4447
- wabaBusinessId?: string | null | undefined;
4448
- wabaExternalId?: string | null | undefined;
4449
- phoneNumberId?: string | null | undefined;
4450
- email?: string | null | undefined;
4451
- clientId?: string | null | undefined;
4452
- channelId?: string | null | undefined;
4412
+ email: string;
4413
+ wabaExternalId: string;
4414
+ phoneNumberId: string;
4415
+ wabaBusinessId?: string | undefined;
4416
+ clientId?: string | undefined;
4417
+ channelId?: string | undefined;
4453
4418
  status?: "active" | "pending" | undefined;
4454
4419
  apiKey?: string | undefined;
4455
4420
  tier?: "basic" | "regular" | "premium" | undefined;
4456
- integrationType?: "meta" | "360dialog" | undefined;
4457
4421
  } | undefined;
4458
4422
  vonageCredentials?: {
4459
4423
  apiKey: string;
@@ -4538,8 +4502,12 @@ export declare const telegramContract: {
4538
4502
  agentId: z.ZodNullable<z.ZodString>;
4539
4503
  direction: z.ZodNullable<z.ZodString>;
4540
4504
  startedDate: z.ZodNullable<z.ZodDate>;
4505
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
4541
4506
  handledTime: z.ZodNullable<z.ZodNumber>;
4507
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
4542
4508
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
4509
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
4510
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
4543
4511
  wrapUpForm: z.ZodNullable<z.ZodObject<{
4544
4512
  id: z.ZodString;
4545
4513
  createdAt: z.ZodDate;
@@ -4806,6 +4774,74 @@ export declare const telegramContract: {
4806
4774
  dateValue: Date | null;
4807
4775
  }[] | null | undefined;
4808
4776
  }>>;
4777
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4778
+ id: z.ZodString;
4779
+ createdAt: z.ZodDate;
4780
+ updatedAt: z.ZodDate;
4781
+ deletedAt: z.ZodNullable<z.ZodDate>;
4782
+ startedAt: z.ZodString;
4783
+ endedAt: z.ZodNullable<z.ZodString>;
4784
+ duration: z.ZodNullable<z.ZodNumber>;
4785
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4786
+ id: z.ZodString;
4787
+ createdAt: z.ZodDate;
4788
+ updatedAt: z.ZodDate;
4789
+ deletedAt: z.ZodNullable<z.ZodDate>;
4790
+ name: z.ZodString;
4791
+ position: z.ZodNumber;
4792
+ isDefault: z.ZodDefault<z.ZodBoolean>;
4793
+ }, "strip", z.ZodTypeAny, {
4794
+ name: string;
4795
+ id: string;
4796
+ position: number;
4797
+ createdAt: Date;
4798
+ updatedAt: Date;
4799
+ deletedAt: Date | null;
4800
+ isDefault: boolean;
4801
+ }, {
4802
+ name: string;
4803
+ id: string;
4804
+ position: number;
4805
+ createdAt: Date;
4806
+ updatedAt: Date;
4807
+ deletedAt: Date | null;
4808
+ isDefault?: boolean | undefined;
4809
+ }>>>;
4810
+ }, "strip", z.ZodTypeAny, {
4811
+ id: string;
4812
+ createdAt: Date;
4813
+ updatedAt: Date;
4814
+ deletedAt: Date | null;
4815
+ startedAt: string;
4816
+ endedAt: string | null;
4817
+ duration: number | null;
4818
+ holdLabel?: {
4819
+ name: string;
4820
+ id: string;
4821
+ position: number;
4822
+ createdAt: Date;
4823
+ updatedAt: Date;
4824
+ deletedAt: Date | null;
4825
+ isDefault: boolean;
4826
+ } | null | undefined;
4827
+ }, {
4828
+ id: string;
4829
+ createdAt: Date;
4830
+ updatedAt: Date;
4831
+ deletedAt: Date | null;
4832
+ startedAt: string;
4833
+ endedAt: string | null;
4834
+ duration: number | null;
4835
+ holdLabel?: {
4836
+ name: string;
4837
+ id: string;
4838
+ position: number;
4839
+ createdAt: Date;
4840
+ updatedAt: Date;
4841
+ deletedAt: Date | null;
4842
+ isDefault?: boolean | undefined;
4843
+ } | null | undefined;
4844
+ }>, "many">>>;
4809
4845
  }, "strip", z.ZodTypeAny, {
4810
4846
  id: string;
4811
4847
  channel: string | null;
@@ -4820,8 +4856,12 @@ export declare const telegramContract: {
4820
4856
  entityName: string;
4821
4857
  agentId: string | null;
4822
4858
  startedDate: Date | null;
4859
+ totalHoldDuration: number | null;
4823
4860
  handledTime: number | null;
4861
+ fullHandledTime: number | null;
4824
4862
  firstResponseTime: number | null;
4863
+ resolutionTime: number | null;
4864
+ fullResolutionTime: number | null;
4825
4865
  wrapUpForm: {
4826
4866
  type: string;
4827
4867
  id: string;
@@ -4874,6 +4914,24 @@ export declare const telegramContract: {
4874
4914
  dateValue: Date | null;
4875
4915
  }[] | null | undefined;
4876
4916
  } | null;
4917
+ holdLogs?: {
4918
+ id: string;
4919
+ createdAt: Date;
4920
+ updatedAt: Date;
4921
+ deletedAt: Date | null;
4922
+ startedAt: string;
4923
+ endedAt: string | null;
4924
+ duration: number | null;
4925
+ holdLabel?: {
4926
+ name: string;
4927
+ id: string;
4928
+ position: number;
4929
+ createdAt: Date;
4930
+ updatedAt: Date;
4931
+ deletedAt: Date | null;
4932
+ isDefault: boolean;
4933
+ } | null | undefined;
4934
+ }[] | null | undefined;
4877
4935
  }, {
4878
4936
  id: string;
4879
4937
  channel: string | null;
@@ -4888,8 +4946,12 @@ export declare const telegramContract: {
4888
4946
  entityName: string;
4889
4947
  agentId: string | null;
4890
4948
  startedDate: Date | null;
4949
+ totalHoldDuration: number | null;
4891
4950
  handledTime: number | null;
4951
+ fullHandledTime: number | null;
4892
4952
  firstResponseTime: number | null;
4953
+ resolutionTime: number | null;
4954
+ fullResolutionTime: number | null;
4893
4955
  wrapUpForm: {
4894
4956
  type: string;
4895
4957
  id: string;
@@ -4942,6 +5004,24 @@ export declare const telegramContract: {
4942
5004
  dateValue: Date | null;
4943
5005
  }[] | null | undefined;
4944
5006
  } | null;
5007
+ holdLogs?: {
5008
+ id: string;
5009
+ createdAt: Date;
5010
+ updatedAt: Date;
5011
+ deletedAt: Date | null;
5012
+ startedAt: string;
5013
+ endedAt: string | null;
5014
+ duration: number | null;
5015
+ holdLabel?: {
5016
+ name: string;
5017
+ id: string;
5018
+ position: number;
5019
+ createdAt: Date;
5020
+ updatedAt: Date;
5021
+ deletedAt: Date | null;
5022
+ isDefault?: boolean | undefined;
5023
+ } | null | undefined;
5024
+ }[] | null | undefined;
4945
5025
  }>;
4946
5026
  workflowRule: z.ZodObject<{
4947
5027
  id: z.ZodString;
@@ -4983,16 +5063,15 @@ export declare const telegramContract: {
4983
5063
  additionalCredentials?: any;
4984
5064
  senderId?: string | undefined;
4985
5065
  whatsapp?: {
4986
- wabaBusinessId?: string | null | undefined;
4987
- wabaExternalId?: string | null | undefined;
4988
- phoneNumberId?: string | null | undefined;
4989
- email?: string | null | undefined;
4990
- clientId?: string | null | undefined;
4991
- channelId?: string | null | undefined;
5066
+ email: string;
5067
+ wabaExternalId: string;
5068
+ phoneNumberId: string;
5069
+ wabaBusinessId?: string | undefined;
5070
+ clientId?: string | undefined;
5071
+ channelId?: string | undefined;
4992
5072
  status?: "active" | "pending" | undefined;
4993
5073
  apiKey?: string | undefined;
4994
5074
  tier?: "basic" | "regular" | "premium" | undefined;
4995
- integrationType?: "meta" | "360dialog" | undefined;
4996
5075
  } | undefined;
4997
5076
  vonageCredentials?: {
4998
5077
  apiKey: string;
@@ -5163,6 +5242,7 @@ export declare const telegramContract: {
5163
5242
  dateValue: Date | null;
5164
5243
  uploads: {
5165
5244
  id: string;
5245
+ status: string | null;
5166
5246
  createdAt: Date;
5167
5247
  updatedAt: Date;
5168
5248
  deletedAt: Date | null;
@@ -5171,7 +5251,6 @@ export declare const telegramContract: {
5171
5251
  bucketName: string;
5172
5252
  fileSize: number;
5173
5253
  fileUrl: string | null;
5174
- status?: string | undefined;
5175
5254
  }[];
5176
5255
  }[];
5177
5256
  company: {
@@ -5306,8 +5385,12 @@ export declare const telegramContract: {
5306
5385
  entityName: string;
5307
5386
  agentId: string | null;
5308
5387
  startedDate: Date | null;
5388
+ totalHoldDuration: number | null;
5309
5389
  handledTime: number | null;
5390
+ fullHandledTime: number | null;
5310
5391
  firstResponseTime: number | null;
5392
+ resolutionTime: number | null;
5393
+ fullResolutionTime: number | null;
5311
5394
  wrapUpForm: {
5312
5395
  type: string;
5313
5396
  id: string;
@@ -5360,6 +5443,24 @@ export declare const telegramContract: {
5360
5443
  dateValue: Date | null;
5361
5444
  }[] | null | undefined;
5362
5445
  } | null;
5446
+ holdLogs?: {
5447
+ id: string;
5448
+ createdAt: Date;
5449
+ updatedAt: Date;
5450
+ deletedAt: Date | null;
5451
+ startedAt: string;
5452
+ endedAt: string | null;
5453
+ duration: number | null;
5454
+ holdLabel?: {
5455
+ name: string;
5456
+ id: string;
5457
+ position: number;
5458
+ createdAt: Date;
5459
+ updatedAt: Date;
5460
+ deletedAt: Date | null;
5461
+ isDefault: boolean;
5462
+ } | null | undefined;
5463
+ }[] | null | undefined;
5363
5464
  };
5364
5465
  workflowRule: {
5365
5466
  name: string;
@@ -5385,16 +5486,15 @@ export declare const telegramContract: {
5385
5486
  additionalCredentials?: any;
5386
5487
  senderId?: string | undefined;
5387
5488
  whatsapp?: {
5388
- wabaBusinessId?: string | null | undefined;
5389
- wabaExternalId?: string | null | undefined;
5390
- phoneNumberId?: string | null | undefined;
5391
- email?: string | null | undefined;
5392
- clientId?: string | null | undefined;
5393
- channelId?: string | null | undefined;
5489
+ email: string;
5490
+ wabaExternalId: string;
5491
+ phoneNumberId: string;
5492
+ wabaBusinessId?: string | undefined;
5493
+ clientId?: string | undefined;
5494
+ channelId?: string | undefined;
5394
5495
  status?: "active" | "pending" | undefined;
5395
5496
  apiKey?: string | undefined;
5396
5497
  tier?: "basic" | "regular" | "premium" | undefined;
5397
- integrationType?: "meta" | "360dialog" | undefined;
5398
5498
  } | undefined;
5399
5499
  vonageCredentials?: {
5400
5500
  apiKey: string;
@@ -5565,6 +5665,7 @@ export declare const telegramContract: {
5565
5665
  dateValue: Date | null;
5566
5666
  uploads: {
5567
5667
  id: string;
5668
+ status: string | null;
5568
5669
  createdAt: Date;
5569
5670
  updatedAt: Date;
5570
5671
  deletedAt: Date | null;
@@ -5573,7 +5674,6 @@ export declare const telegramContract: {
5573
5674
  bucketName: string;
5574
5675
  fileSize: number;
5575
5676
  fileUrl: string | null;
5576
- status?: string | undefined;
5577
5677
  }[];
5578
5678
  }[];
5579
5679
  company: {
@@ -5708,8 +5808,12 @@ export declare const telegramContract: {
5708
5808
  entityName: string;
5709
5809
  agentId: string | null;
5710
5810
  startedDate: Date | null;
5811
+ totalHoldDuration: number | null;
5711
5812
  handledTime: number | null;
5813
+ fullHandledTime: number | null;
5712
5814
  firstResponseTime: number | null;
5815
+ resolutionTime: number | null;
5816
+ fullResolutionTime: number | null;
5713
5817
  wrapUpForm: {
5714
5818
  type: string;
5715
5819
  id: string;
@@ -5762,6 +5866,24 @@ export declare const telegramContract: {
5762
5866
  dateValue: Date | null;
5763
5867
  }[] | null | undefined;
5764
5868
  } | null;
5869
+ holdLogs?: {
5870
+ id: string;
5871
+ createdAt: Date;
5872
+ updatedAt: Date;
5873
+ deletedAt: Date | null;
5874
+ startedAt: string;
5875
+ endedAt: string | null;
5876
+ duration: number | null;
5877
+ holdLabel?: {
5878
+ name: string;
5879
+ id: string;
5880
+ position: number;
5881
+ createdAt: Date;
5882
+ updatedAt: Date;
5883
+ deletedAt: Date | null;
5884
+ isDefault?: boolean | undefined;
5885
+ } | null | undefined;
5886
+ }[] | null | undefined;
5765
5887
  };
5766
5888
  workflowRule: {
5767
5889
  name: string;
@@ -5812,7 +5934,7 @@ export declare const telegramContract: {
5812
5934
  deletedAt: z.ZodNullable<z.ZodDate>;
5813
5935
  message: z.ZodString;
5814
5936
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5815
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
5937
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
5816
5938
  readAt: z.ZodDate;
5817
5939
  metadata: z.ZodAny;
5818
5940
  platformId: z.ZodString;
@@ -5833,9 +5955,10 @@ export declare const telegramContract: {
5833
5955
  fileSize: z.ZodNumber;
5834
5956
  fileKey: z.ZodString;
5835
5957
  fileUrl: z.ZodNullable<z.ZodString>;
5836
- status: z.ZodOptional<z.ZodString>;
5958
+ status: z.ZodNullable<z.ZodString>;
5837
5959
  }, "strip", z.ZodTypeAny, {
5838
5960
  id: string;
5961
+ status: string | null;
5839
5962
  createdAt: Date;
5840
5963
  updatedAt: Date;
5841
5964
  deletedAt: Date | null;
@@ -5844,9 +5967,9 @@ export declare const telegramContract: {
5844
5967
  bucketName: string;
5845
5968
  fileSize: number;
5846
5969
  fileUrl: string | null;
5847
- status?: string | undefined;
5848
5970
  }, {
5849
5971
  id: string;
5972
+ status: string | null;
5850
5973
  createdAt: Date;
5851
5974
  updatedAt: Date;
5852
5975
  deletedAt: Date | null;
@@ -5855,7 +5978,6 @@ export declare const telegramContract: {
5855
5978
  bucketName: string;
5856
5979
  fileSize: number;
5857
5980
  fileUrl: string | null;
5858
- status?: string | undefined;
5859
5981
  }>;
5860
5982
  actor: z.ZodObject<{
5861
5983
  id: z.ZodString;
@@ -6470,7 +6592,7 @@ export declare const telegramContract: {
6470
6592
  };
6471
6593
  }>;
6472
6594
  }, "strip", z.ZodTypeAny, {
6473
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6595
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6474
6596
  message: string;
6475
6597
  id: string;
6476
6598
  url: string;
@@ -6524,6 +6646,7 @@ export declare const telegramContract: {
6524
6646
  };
6525
6647
  upload: {
6526
6648
  id: string;
6649
+ status: string | null;
6527
6650
  createdAt: Date;
6528
6651
  updatedAt: Date;
6529
6652
  deletedAt: Date | null;
@@ -6532,7 +6655,6 @@ export declare const telegramContract: {
6532
6655
  bucketName: string;
6533
6656
  fileSize: number;
6534
6657
  fileUrl: string | null;
6535
- status?: string | undefined;
6536
6658
  };
6537
6659
  assignee: {
6538
6660
  name: string;
@@ -6632,7 +6754,7 @@ export declare const telegramContract: {
6632
6754
  metadata?: any;
6633
6755
  template?: any;
6634
6756
  }, {
6635
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6757
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6636
6758
  message: string;
6637
6759
  id: string;
6638
6760
  url: string;
@@ -6686,6 +6808,7 @@ export declare const telegramContract: {
6686
6808
  };
6687
6809
  upload: {
6688
6810
  id: string;
6811
+ status: string | null;
6689
6812
  createdAt: Date;
6690
6813
  updatedAt: Date;
6691
6814
  deletedAt: Date | null;
@@ -6694,7 +6817,6 @@ export declare const telegramContract: {
6694
6817
  bucketName: string;
6695
6818
  fileSize: number;
6696
6819
  fileUrl: string | null;
6697
- status?: string | undefined;
6698
6820
  };
6699
6821
  assignee: {
6700
6822
  name: string;
@@ -7006,7 +7128,7 @@ export declare const telegramContract: {
7006
7128
  deletedAt: z.ZodNullable<z.ZodDate>;
7007
7129
  message: z.ZodString;
7008
7130
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7009
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7131
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7010
7132
  readAt: z.ZodDate;
7011
7133
  metadata: z.ZodAny;
7012
7134
  platformId: z.ZodString;
@@ -7405,9 +7527,10 @@ export declare const telegramContract: {
7405
7527
  fileSize: z.ZodNumber;
7406
7528
  fileKey: z.ZodString;
7407
7529
  fileUrl: z.ZodNullable<z.ZodString>;
7408
- status: z.ZodOptional<z.ZodString>;
7530
+ status: z.ZodNullable<z.ZodString>;
7409
7531
  }, "strip", z.ZodTypeAny, {
7410
7532
  id: string;
7533
+ status: string | null;
7411
7534
  createdAt: Date;
7412
7535
  updatedAt: Date;
7413
7536
  deletedAt: Date | null;
@@ -7416,9 +7539,9 @@ export declare const telegramContract: {
7416
7539
  bucketName: string;
7417
7540
  fileSize: number;
7418
7541
  fileUrl: string | null;
7419
- status?: string | undefined;
7420
7542
  }, {
7421
7543
  id: string;
7544
+ status: string | null;
7422
7545
  createdAt: Date;
7423
7546
  updatedAt: Date;
7424
7547
  deletedAt: Date | null;
@@ -7427,7 +7550,6 @@ export declare const telegramContract: {
7427
7550
  bucketName: string;
7428
7551
  fileSize: number;
7429
7552
  fileUrl: string | null;
7430
- status?: string | undefined;
7431
7553
  }>, "many">;
7432
7554
  }, "strip", z.ZodTypeAny, {
7433
7555
  id: string;
@@ -7454,6 +7576,7 @@ export declare const telegramContract: {
7454
7576
  dateValue: Date | null;
7455
7577
  uploads: {
7456
7578
  id: string;
7579
+ status: string | null;
7457
7580
  createdAt: Date;
7458
7581
  updatedAt: Date;
7459
7582
  deletedAt: Date | null;
@@ -7462,7 +7585,6 @@ export declare const telegramContract: {
7462
7585
  bucketName: string;
7463
7586
  fileSize: number;
7464
7587
  fileUrl: string | null;
7465
- status?: string | undefined;
7466
7588
  }[];
7467
7589
  }, {
7468
7590
  id: string;
@@ -7489,6 +7611,7 @@ export declare const telegramContract: {
7489
7611
  dateValue: Date | null;
7490
7612
  uploads: {
7491
7613
  id: string;
7614
+ status: string | null;
7492
7615
  createdAt: Date;
7493
7616
  updatedAt: Date;
7494
7617
  deletedAt: Date | null;
@@ -7497,7 +7620,6 @@ export declare const telegramContract: {
7497
7620
  bucketName: string;
7498
7621
  fileSize: number;
7499
7622
  fileUrl: string | null;
7500
- status?: string | undefined;
7501
7623
  }[];
7502
7624
  }>, "many">;
7503
7625
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7637,6 +7759,7 @@ export declare const telegramContract: {
7637
7759
  dateValue: Date | null;
7638
7760
  uploads: {
7639
7761
  id: string;
7762
+ status: string | null;
7640
7763
  createdAt: Date;
7641
7764
  updatedAt: Date;
7642
7765
  deletedAt: Date | null;
@@ -7645,7 +7768,6 @@ export declare const telegramContract: {
7645
7768
  bucketName: string;
7646
7769
  fileSize: number;
7647
7770
  fileUrl: string | null;
7648
- status?: string | undefined;
7649
7771
  }[];
7650
7772
  }[];
7651
7773
  company: {
@@ -7748,6 +7870,7 @@ export declare const telegramContract: {
7748
7870
  dateValue: Date | null;
7749
7871
  uploads: {
7750
7872
  id: string;
7873
+ status: string | null;
7751
7874
  createdAt: Date;
7752
7875
  updatedAt: Date;
7753
7876
  deletedAt: Date | null;
@@ -7756,7 +7879,6 @@ export declare const telegramContract: {
7756
7879
  bucketName: string;
7757
7880
  fileSize: number;
7758
7881
  fileUrl: string | null;
7759
- status?: string | undefined;
7760
7882
  }[];
7761
7883
  }[];
7762
7884
  company: {
@@ -7872,6 +7994,7 @@ export declare const telegramContract: {
7872
7994
  dateValue: Date | null;
7873
7995
  uploads: {
7874
7996
  id: string;
7997
+ status: string | null;
7875
7998
  createdAt: Date;
7876
7999
  updatedAt: Date;
7877
8000
  deletedAt: Date | null;
@@ -7880,7 +8003,6 @@ export declare const telegramContract: {
7880
8003
  bucketName: string;
7881
8004
  fileSize: number;
7882
8005
  fileUrl: string | null;
7883
- status?: string | undefined;
7884
8006
  }[];
7885
8007
  }[];
7886
8008
  company: {
@@ -7998,6 +8120,7 @@ export declare const telegramContract: {
7998
8120
  dateValue: Date | null;
7999
8121
  uploads: {
8000
8122
  id: string;
8123
+ status: string | null;
8001
8124
  createdAt: Date;
8002
8125
  updatedAt: Date;
8003
8126
  deletedAt: Date | null;
@@ -8006,7 +8129,6 @@ export declare const telegramContract: {
8006
8129
  bucketName: string;
8007
8130
  fileSize: number;
8008
8131
  fileUrl: string | null;
8009
- status?: string | undefined;
8010
8132
  }[];
8011
8133
  }[];
8012
8134
  company: {
@@ -8503,38 +8625,35 @@ export declare const telegramContract: {
8503
8625
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8504
8626
  senderId: z.ZodOptional<z.ZodString>;
8505
8627
  whatsapp: z.ZodOptional<z.ZodObject<{
8506
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8507
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8508
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8509
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8510
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8511
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8628
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
8629
+ wabaExternalId: z.ZodString;
8630
+ phoneNumberId: z.ZodString;
8631
+ email: z.ZodString;
8632
+ clientId: z.ZodOptional<z.ZodString>;
8633
+ channelId: z.ZodOptional<z.ZodString>;
8512
8634
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8513
8635
  apiKey: z.ZodOptional<z.ZodString>;
8514
8636
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
8515
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
8516
8637
  }, "strip", z.ZodTypeAny, {
8517
- wabaBusinessId?: string | null | undefined;
8518
- wabaExternalId?: string | null | undefined;
8519
- phoneNumberId?: string | null | undefined;
8520
- email?: string | null | undefined;
8521
- clientId?: string | null | undefined;
8522
- channelId?: string | null | undefined;
8638
+ email: string;
8639
+ wabaExternalId: string;
8640
+ phoneNumberId: string;
8641
+ wabaBusinessId?: string | undefined;
8642
+ clientId?: string | undefined;
8643
+ channelId?: string | undefined;
8523
8644
  status?: "active" | "pending" | undefined;
8524
8645
  apiKey?: string | undefined;
8525
8646
  tier?: "basic" | "regular" | "premium" | undefined;
8526
- integrationType?: "meta" | "360dialog" | undefined;
8527
8647
  }, {
8528
- wabaBusinessId?: string | null | undefined;
8529
- wabaExternalId?: string | null | undefined;
8530
- phoneNumberId?: string | null | undefined;
8531
- email?: string | null | undefined;
8532
- clientId?: string | null | undefined;
8533
- channelId?: string | null | undefined;
8648
+ email: string;
8649
+ wabaExternalId: string;
8650
+ phoneNumberId: string;
8651
+ wabaBusinessId?: string | undefined;
8652
+ clientId?: string | undefined;
8653
+ channelId?: string | undefined;
8534
8654
  status?: "active" | "pending" | undefined;
8535
8655
  apiKey?: string | undefined;
8536
8656
  tier?: "basic" | "regular" | "premium" | undefined;
8537
- integrationType?: "meta" | "360dialog" | undefined;
8538
8657
  }>>;
8539
8658
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8540
8659
  mobileNumber: z.ZodString;
@@ -8559,16 +8678,15 @@ export declare const telegramContract: {
8559
8678
  additionalCredentials?: any;
8560
8679
  senderId?: string | undefined;
8561
8680
  whatsapp?: {
8562
- wabaBusinessId?: string | null | undefined;
8563
- wabaExternalId?: string | null | undefined;
8564
- phoneNumberId?: string | null | undefined;
8565
- email?: string | null | undefined;
8566
- clientId?: string | null | undefined;
8567
- channelId?: string | null | undefined;
8681
+ email: string;
8682
+ wabaExternalId: string;
8683
+ phoneNumberId: string;
8684
+ wabaBusinessId?: string | undefined;
8685
+ clientId?: string | undefined;
8686
+ channelId?: string | undefined;
8568
8687
  status?: "active" | "pending" | undefined;
8569
8688
  apiKey?: string | undefined;
8570
8689
  tier?: "basic" | "regular" | "premium" | undefined;
8571
- integrationType?: "meta" | "360dialog" | undefined;
8572
8690
  } | undefined;
8573
8691
  vonageCredentials?: {
8574
8692
  apiKey: string;
@@ -8585,16 +8703,15 @@ export declare const telegramContract: {
8585
8703
  additionalCredentials?: any;
8586
8704
  senderId?: string | undefined;
8587
8705
  whatsapp?: {
8588
- wabaBusinessId?: string | null | undefined;
8589
- wabaExternalId?: string | null | undefined;
8590
- phoneNumberId?: string | null | undefined;
8591
- email?: string | null | undefined;
8592
- clientId?: string | null | undefined;
8593
- channelId?: string | null | undefined;
8706
+ email: string;
8707
+ wabaExternalId: string;
8708
+ phoneNumberId: string;
8709
+ wabaBusinessId?: string | undefined;
8710
+ clientId?: string | undefined;
8711
+ channelId?: string | undefined;
8594
8712
  status?: "active" | "pending" | undefined;
8595
8713
  apiKey?: string | undefined;
8596
8714
  tier?: "basic" | "regular" | "premium" | undefined;
8597
- integrationType?: "meta" | "360dialog" | undefined;
8598
8715
  } | undefined;
8599
8716
  vonageCredentials?: {
8600
8717
  apiKey: string;
@@ -8845,16 +8962,15 @@ export declare const telegramContract: {
8845
8962
  additionalCredentials?: any;
8846
8963
  senderId?: string | undefined;
8847
8964
  whatsapp?: {
8848
- wabaBusinessId?: string | null | undefined;
8849
- wabaExternalId?: string | null | undefined;
8850
- phoneNumberId?: string | null | undefined;
8851
- email?: string | null | undefined;
8852
- clientId?: string | null | undefined;
8853
- channelId?: string | null | undefined;
8965
+ email: string;
8966
+ wabaExternalId: string;
8967
+ phoneNumberId: string;
8968
+ wabaBusinessId?: string | undefined;
8969
+ clientId?: string | undefined;
8970
+ channelId?: string | undefined;
8854
8971
  status?: "active" | "pending" | undefined;
8855
8972
  apiKey?: string | undefined;
8856
8973
  tier?: "basic" | "regular" | "premium" | undefined;
8857
- integrationType?: "meta" | "360dialog" | undefined;
8858
8974
  } | undefined;
8859
8975
  vonageCredentials?: {
8860
8976
  apiKey: string;
@@ -8936,16 +9052,15 @@ export declare const telegramContract: {
8936
9052
  additionalCredentials?: any;
8937
9053
  senderId?: string | undefined;
8938
9054
  whatsapp?: {
8939
- wabaBusinessId?: string | null | undefined;
8940
- wabaExternalId?: string | null | undefined;
8941
- phoneNumberId?: string | null | undefined;
8942
- email?: string | null | undefined;
8943
- clientId?: string | null | undefined;
8944
- channelId?: string | null | undefined;
9055
+ email: string;
9056
+ wabaExternalId: string;
9057
+ phoneNumberId: string;
9058
+ wabaBusinessId?: string | undefined;
9059
+ clientId?: string | undefined;
9060
+ channelId?: string | undefined;
8945
9061
  status?: "active" | "pending" | undefined;
8946
9062
  apiKey?: string | undefined;
8947
9063
  tier?: "basic" | "regular" | "premium" | undefined;
8948
- integrationType?: "meta" | "360dialog" | undefined;
8949
9064
  } | undefined;
8950
9065
  vonageCredentials?: {
8951
9066
  apiKey: string;
@@ -9030,8 +9145,12 @@ export declare const telegramContract: {
9030
9145
  agentId: z.ZodNullable<z.ZodString>;
9031
9146
  direction: z.ZodNullable<z.ZodString>;
9032
9147
  startedDate: z.ZodNullable<z.ZodDate>;
9148
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
9033
9149
  handledTime: z.ZodNullable<z.ZodNumber>;
9150
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
9034
9151
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
9152
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
9153
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
9035
9154
  wrapUpForm: z.ZodNullable<z.ZodObject<{
9036
9155
  id: z.ZodString;
9037
9156
  createdAt: z.ZodDate;
@@ -9298,6 +9417,74 @@ export declare const telegramContract: {
9298
9417
  dateValue: Date | null;
9299
9418
  }[] | null | undefined;
9300
9419
  }>>;
9420
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9421
+ id: z.ZodString;
9422
+ createdAt: z.ZodDate;
9423
+ updatedAt: z.ZodDate;
9424
+ deletedAt: z.ZodNullable<z.ZodDate>;
9425
+ startedAt: z.ZodString;
9426
+ endedAt: z.ZodNullable<z.ZodString>;
9427
+ duration: z.ZodNullable<z.ZodNumber>;
9428
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9429
+ id: z.ZodString;
9430
+ createdAt: z.ZodDate;
9431
+ updatedAt: z.ZodDate;
9432
+ deletedAt: z.ZodNullable<z.ZodDate>;
9433
+ name: z.ZodString;
9434
+ position: z.ZodNumber;
9435
+ isDefault: z.ZodDefault<z.ZodBoolean>;
9436
+ }, "strip", z.ZodTypeAny, {
9437
+ name: string;
9438
+ id: string;
9439
+ position: number;
9440
+ createdAt: Date;
9441
+ updatedAt: Date;
9442
+ deletedAt: Date | null;
9443
+ isDefault: boolean;
9444
+ }, {
9445
+ name: string;
9446
+ id: string;
9447
+ position: number;
9448
+ createdAt: Date;
9449
+ updatedAt: Date;
9450
+ deletedAt: Date | null;
9451
+ isDefault?: boolean | undefined;
9452
+ }>>>;
9453
+ }, "strip", z.ZodTypeAny, {
9454
+ id: string;
9455
+ createdAt: Date;
9456
+ updatedAt: Date;
9457
+ deletedAt: Date | null;
9458
+ startedAt: string;
9459
+ endedAt: string | null;
9460
+ duration: number | null;
9461
+ holdLabel?: {
9462
+ name: string;
9463
+ id: string;
9464
+ position: number;
9465
+ createdAt: Date;
9466
+ updatedAt: Date;
9467
+ deletedAt: Date | null;
9468
+ isDefault: boolean;
9469
+ } | null | undefined;
9470
+ }, {
9471
+ id: string;
9472
+ createdAt: Date;
9473
+ updatedAt: Date;
9474
+ deletedAt: Date | null;
9475
+ startedAt: string;
9476
+ endedAt: string | null;
9477
+ duration: number | null;
9478
+ holdLabel?: {
9479
+ name: string;
9480
+ id: string;
9481
+ position: number;
9482
+ createdAt: Date;
9483
+ updatedAt: Date;
9484
+ deletedAt: Date | null;
9485
+ isDefault?: boolean | undefined;
9486
+ } | null | undefined;
9487
+ }>, "many">>>;
9301
9488
  }, "strip", z.ZodTypeAny, {
9302
9489
  id: string;
9303
9490
  channel: string | null;
@@ -9312,8 +9499,12 @@ export declare const telegramContract: {
9312
9499
  entityName: string;
9313
9500
  agentId: string | null;
9314
9501
  startedDate: Date | null;
9502
+ totalHoldDuration: number | null;
9315
9503
  handledTime: number | null;
9504
+ fullHandledTime: number | null;
9316
9505
  firstResponseTime: number | null;
9506
+ resolutionTime: number | null;
9507
+ fullResolutionTime: number | null;
9317
9508
  wrapUpForm: {
9318
9509
  type: string;
9319
9510
  id: string;
@@ -9366,6 +9557,24 @@ export declare const telegramContract: {
9366
9557
  dateValue: Date | null;
9367
9558
  }[] | null | undefined;
9368
9559
  } | null;
9560
+ holdLogs?: {
9561
+ id: string;
9562
+ createdAt: Date;
9563
+ updatedAt: Date;
9564
+ deletedAt: Date | null;
9565
+ startedAt: string;
9566
+ endedAt: string | null;
9567
+ duration: number | null;
9568
+ holdLabel?: {
9569
+ name: string;
9570
+ id: string;
9571
+ position: number;
9572
+ createdAt: Date;
9573
+ updatedAt: Date;
9574
+ deletedAt: Date | null;
9575
+ isDefault: boolean;
9576
+ } | null | undefined;
9577
+ }[] | null | undefined;
9369
9578
  }, {
9370
9579
  id: string;
9371
9580
  channel: string | null;
@@ -9380,8 +9589,12 @@ export declare const telegramContract: {
9380
9589
  entityName: string;
9381
9590
  agentId: string | null;
9382
9591
  startedDate: Date | null;
9592
+ totalHoldDuration: number | null;
9383
9593
  handledTime: number | null;
9594
+ fullHandledTime: number | null;
9384
9595
  firstResponseTime: number | null;
9596
+ resolutionTime: number | null;
9597
+ fullResolutionTime: number | null;
9385
9598
  wrapUpForm: {
9386
9599
  type: string;
9387
9600
  id: string;
@@ -9434,6 +9647,24 @@ export declare const telegramContract: {
9434
9647
  dateValue: Date | null;
9435
9648
  }[] | null | undefined;
9436
9649
  } | null;
9650
+ holdLogs?: {
9651
+ id: string;
9652
+ createdAt: Date;
9653
+ updatedAt: Date;
9654
+ deletedAt: Date | null;
9655
+ startedAt: string;
9656
+ endedAt: string | null;
9657
+ duration: number | null;
9658
+ holdLabel?: {
9659
+ name: string;
9660
+ id: string;
9661
+ position: number;
9662
+ createdAt: Date;
9663
+ updatedAt: Date;
9664
+ deletedAt: Date | null;
9665
+ isDefault?: boolean | undefined;
9666
+ } | null | undefined;
9667
+ }[] | null | undefined;
9437
9668
  }>;
9438
9669
  workflowRule: z.ZodObject<{
9439
9670
  id: z.ZodString;
@@ -9475,16 +9706,15 @@ export declare const telegramContract: {
9475
9706
  additionalCredentials?: any;
9476
9707
  senderId?: string | undefined;
9477
9708
  whatsapp?: {
9478
- wabaBusinessId?: string | null | undefined;
9479
- wabaExternalId?: string | null | undefined;
9480
- phoneNumberId?: string | null | undefined;
9481
- email?: string | null | undefined;
9482
- clientId?: string | null | undefined;
9483
- channelId?: string | null | undefined;
9709
+ email: string;
9710
+ wabaExternalId: string;
9711
+ phoneNumberId: string;
9712
+ wabaBusinessId?: string | undefined;
9713
+ clientId?: string | undefined;
9714
+ channelId?: string | undefined;
9484
9715
  status?: "active" | "pending" | undefined;
9485
9716
  apiKey?: string | undefined;
9486
9717
  tier?: "basic" | "regular" | "premium" | undefined;
9487
- integrationType?: "meta" | "360dialog" | undefined;
9488
9718
  } | undefined;
9489
9719
  vonageCredentials?: {
9490
9720
  apiKey: string;
@@ -9655,6 +9885,7 @@ export declare const telegramContract: {
9655
9885
  dateValue: Date | null;
9656
9886
  uploads: {
9657
9887
  id: string;
9888
+ status: string | null;
9658
9889
  createdAt: Date;
9659
9890
  updatedAt: Date;
9660
9891
  deletedAt: Date | null;
@@ -9663,7 +9894,6 @@ export declare const telegramContract: {
9663
9894
  bucketName: string;
9664
9895
  fileSize: number;
9665
9896
  fileUrl: string | null;
9666
- status?: string | undefined;
9667
9897
  }[];
9668
9898
  }[];
9669
9899
  company: {
@@ -9798,8 +10028,12 @@ export declare const telegramContract: {
9798
10028
  entityName: string;
9799
10029
  agentId: string | null;
9800
10030
  startedDate: Date | null;
10031
+ totalHoldDuration: number | null;
9801
10032
  handledTime: number | null;
10033
+ fullHandledTime: number | null;
9802
10034
  firstResponseTime: number | null;
10035
+ resolutionTime: number | null;
10036
+ fullResolutionTime: number | null;
9803
10037
  wrapUpForm: {
9804
10038
  type: string;
9805
10039
  id: string;
@@ -9852,6 +10086,24 @@ export declare const telegramContract: {
9852
10086
  dateValue: Date | null;
9853
10087
  }[] | null | undefined;
9854
10088
  } | null;
10089
+ holdLogs?: {
10090
+ id: string;
10091
+ createdAt: Date;
10092
+ updatedAt: Date;
10093
+ deletedAt: Date | null;
10094
+ startedAt: string;
10095
+ endedAt: string | null;
10096
+ duration: number | null;
10097
+ holdLabel?: {
10098
+ name: string;
10099
+ id: string;
10100
+ position: number;
10101
+ createdAt: Date;
10102
+ updatedAt: Date;
10103
+ deletedAt: Date | null;
10104
+ isDefault: boolean;
10105
+ } | null | undefined;
10106
+ }[] | null | undefined;
9855
10107
  };
9856
10108
  workflowRule: {
9857
10109
  name: string;
@@ -9877,16 +10129,15 @@ export declare const telegramContract: {
9877
10129
  additionalCredentials?: any;
9878
10130
  senderId?: string | undefined;
9879
10131
  whatsapp?: {
9880
- wabaBusinessId?: string | null | undefined;
9881
- wabaExternalId?: string | null | undefined;
9882
- phoneNumberId?: string | null | undefined;
9883
- email?: string | null | undefined;
9884
- clientId?: string | null | undefined;
9885
- channelId?: string | null | undefined;
10132
+ email: string;
10133
+ wabaExternalId: string;
10134
+ phoneNumberId: string;
10135
+ wabaBusinessId?: string | undefined;
10136
+ clientId?: string | undefined;
10137
+ channelId?: string | undefined;
9886
10138
  status?: "active" | "pending" | undefined;
9887
10139
  apiKey?: string | undefined;
9888
10140
  tier?: "basic" | "regular" | "premium" | undefined;
9889
- integrationType?: "meta" | "360dialog" | undefined;
9890
10141
  } | undefined;
9891
10142
  vonageCredentials?: {
9892
10143
  apiKey: string;
@@ -10057,6 +10308,7 @@ export declare const telegramContract: {
10057
10308
  dateValue: Date | null;
10058
10309
  uploads: {
10059
10310
  id: string;
10311
+ status: string | null;
10060
10312
  createdAt: Date;
10061
10313
  updatedAt: Date;
10062
10314
  deletedAt: Date | null;
@@ -10065,7 +10317,6 @@ export declare const telegramContract: {
10065
10317
  bucketName: string;
10066
10318
  fileSize: number;
10067
10319
  fileUrl: string | null;
10068
- status?: string | undefined;
10069
10320
  }[];
10070
10321
  }[];
10071
10322
  company: {
@@ -10200,8 +10451,12 @@ export declare const telegramContract: {
10200
10451
  entityName: string;
10201
10452
  agentId: string | null;
10202
10453
  startedDate: Date | null;
10454
+ totalHoldDuration: number | null;
10203
10455
  handledTime: number | null;
10456
+ fullHandledTime: number | null;
10204
10457
  firstResponseTime: number | null;
10458
+ resolutionTime: number | null;
10459
+ fullResolutionTime: number | null;
10205
10460
  wrapUpForm: {
10206
10461
  type: string;
10207
10462
  id: string;
@@ -10254,6 +10509,24 @@ export declare const telegramContract: {
10254
10509
  dateValue: Date | null;
10255
10510
  }[] | null | undefined;
10256
10511
  } | null;
10512
+ holdLogs?: {
10513
+ id: string;
10514
+ createdAt: Date;
10515
+ updatedAt: Date;
10516
+ deletedAt: Date | null;
10517
+ startedAt: string;
10518
+ endedAt: string | null;
10519
+ duration: number | null;
10520
+ holdLabel?: {
10521
+ name: string;
10522
+ id: string;
10523
+ position: number;
10524
+ createdAt: Date;
10525
+ updatedAt: Date;
10526
+ deletedAt: Date | null;
10527
+ isDefault?: boolean | undefined;
10528
+ } | null | undefined;
10529
+ }[] | null | undefined;
10257
10530
  };
10258
10531
  workflowRule: {
10259
10532
  name: string;
@@ -10276,9 +10549,10 @@ export declare const telegramContract: {
10276
10549
  fileSize: z.ZodNumber;
10277
10550
  fileKey: z.ZodString;
10278
10551
  fileUrl: z.ZodNullable<z.ZodString>;
10279
- status: z.ZodOptional<z.ZodString>;
10552
+ status: z.ZodNullable<z.ZodString>;
10280
10553
  }, "strip", z.ZodTypeAny, {
10281
10554
  id: string;
10555
+ status: string | null;
10282
10556
  createdAt: Date;
10283
10557
  updatedAt: Date;
10284
10558
  deletedAt: Date | null;
@@ -10287,9 +10561,9 @@ export declare const telegramContract: {
10287
10561
  bucketName: string;
10288
10562
  fileSize: number;
10289
10563
  fileUrl: string | null;
10290
- status?: string | undefined;
10291
10564
  }, {
10292
10565
  id: string;
10566
+ status: string | null;
10293
10567
  createdAt: Date;
10294
10568
  updatedAt: Date;
10295
10569
  deletedAt: Date | null;
@@ -10298,7 +10572,6 @@ export declare const telegramContract: {
10298
10572
  bucketName: string;
10299
10573
  fileSize: number;
10300
10574
  fileUrl: string | null;
10301
- status?: string | undefined;
10302
10575
  }>;
10303
10576
  repliedMessage: z.ZodLazy<z.ZodObject<{
10304
10577
  id: z.ZodString;
@@ -10307,7 +10580,7 @@ export declare const telegramContract: {
10307
10580
  deletedAt: z.ZodNullable<z.ZodDate>;
10308
10581
  message: z.ZodString;
10309
10582
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10310
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
10583
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10311
10584
  readAt: z.ZodDate;
10312
10585
  metadata: z.ZodAny;
10313
10586
  platformId: z.ZodString;
@@ -10328,9 +10601,10 @@ export declare const telegramContract: {
10328
10601
  fileSize: z.ZodNumber;
10329
10602
  fileKey: z.ZodString;
10330
10603
  fileUrl: z.ZodNullable<z.ZodString>;
10331
- status: z.ZodOptional<z.ZodString>;
10604
+ status: z.ZodNullable<z.ZodString>;
10332
10605
  }, "strip", z.ZodTypeAny, {
10333
10606
  id: string;
10607
+ status: string | null;
10334
10608
  createdAt: Date;
10335
10609
  updatedAt: Date;
10336
10610
  deletedAt: Date | null;
@@ -10339,9 +10613,9 @@ export declare const telegramContract: {
10339
10613
  bucketName: string;
10340
10614
  fileSize: number;
10341
10615
  fileUrl: string | null;
10342
- status?: string | undefined;
10343
10616
  }, {
10344
10617
  id: string;
10618
+ status: string | null;
10345
10619
  createdAt: Date;
10346
10620
  updatedAt: Date;
10347
10621
  deletedAt: Date | null;
@@ -10350,7 +10624,6 @@ export declare const telegramContract: {
10350
10624
  bucketName: string;
10351
10625
  fileSize: number;
10352
10626
  fileUrl: string | null;
10353
- status?: string | undefined;
10354
10627
  }>;
10355
10628
  actor: z.ZodObject<{
10356
10629
  id: z.ZodString;
@@ -10965,7 +11238,7 @@ export declare const telegramContract: {
10965
11238
  };
10966
11239
  }>;
10967
11240
  }, "strip", z.ZodTypeAny, {
10968
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11241
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10969
11242
  message: string;
10970
11243
  id: string;
10971
11244
  url: string;
@@ -11019,6 +11292,7 @@ export declare const telegramContract: {
11019
11292
  };
11020
11293
  upload: {
11021
11294
  id: string;
11295
+ status: string | null;
11022
11296
  createdAt: Date;
11023
11297
  updatedAt: Date;
11024
11298
  deletedAt: Date | null;
@@ -11027,7 +11301,6 @@ export declare const telegramContract: {
11027
11301
  bucketName: string;
11028
11302
  fileSize: number;
11029
11303
  fileUrl: string | null;
11030
- status?: string | undefined;
11031
11304
  };
11032
11305
  assignee: {
11033
11306
  name: string;
@@ -11127,7 +11400,7 @@ export declare const telegramContract: {
11127
11400
  metadata?: any;
11128
11401
  template?: any;
11129
11402
  }, {
11130
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11403
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11131
11404
  message: string;
11132
11405
  id: string;
11133
11406
  url: string;
@@ -11181,6 +11454,7 @@ export declare const telegramContract: {
11181
11454
  };
11182
11455
  upload: {
11183
11456
  id: string;
11457
+ status: string | null;
11184
11458
  createdAt: Date;
11185
11459
  updatedAt: Date;
11186
11460
  deletedAt: Date | null;
@@ -11189,7 +11463,6 @@ export declare const telegramContract: {
11189
11463
  bucketName: string;
11190
11464
  fileSize: number;
11191
11465
  fileUrl: string | null;
11192
- status?: string | undefined;
11193
11466
  };
11194
11467
  assignee: {
11195
11468
  name: string;
@@ -11929,7 +12202,7 @@ export declare const telegramContract: {
11929
12202
  editedMessageid: z.ZodString;
11930
12203
  label: z.ZodOptional<z.ZodString>;
11931
12204
  }, "strip", z.ZodTypeAny, {
11932
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12205
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11933
12206
  message: string;
11934
12207
  id: string;
11935
12208
  url: string;
@@ -11983,6 +12256,7 @@ export declare const telegramContract: {
11983
12256
  };
11984
12257
  upload: {
11985
12258
  id: string;
12259
+ status: string | null;
11986
12260
  createdAt: Date;
11987
12261
  updatedAt: Date;
11988
12262
  deletedAt: Date | null;
@@ -11991,7 +12265,6 @@ export declare const telegramContract: {
11991
12265
  bucketName: string;
11992
12266
  fileSize: number;
11993
12267
  fileUrl: string | null;
11994
- status?: string | undefined;
11995
12268
  };
11996
12269
  assignee: {
11997
12270
  name: string;
@@ -12052,16 +12325,15 @@ export declare const telegramContract: {
12052
12325
  additionalCredentials?: any;
12053
12326
  senderId?: string | undefined;
12054
12327
  whatsapp?: {
12055
- wabaBusinessId?: string | null | undefined;
12056
- wabaExternalId?: string | null | undefined;
12057
- phoneNumberId?: string | null | undefined;
12058
- email?: string | null | undefined;
12059
- clientId?: string | null | undefined;
12060
- channelId?: string | null | undefined;
12328
+ email: string;
12329
+ wabaExternalId: string;
12330
+ phoneNumberId: string;
12331
+ wabaBusinessId?: string | undefined;
12332
+ clientId?: string | undefined;
12333
+ channelId?: string | undefined;
12061
12334
  status?: "active" | "pending" | undefined;
12062
12335
  apiKey?: string | undefined;
12063
12336
  tier?: "basic" | "regular" | "premium" | undefined;
12064
- integrationType?: "meta" | "360dialog" | undefined;
12065
12337
  } | undefined;
12066
12338
  vonageCredentials?: {
12067
12339
  apiKey: string;
@@ -12232,6 +12504,7 @@ export declare const telegramContract: {
12232
12504
  dateValue: Date | null;
12233
12505
  uploads: {
12234
12506
  id: string;
12507
+ status: string | null;
12235
12508
  createdAt: Date;
12236
12509
  updatedAt: Date;
12237
12510
  deletedAt: Date | null;
@@ -12240,7 +12513,6 @@ export declare const telegramContract: {
12240
12513
  bucketName: string;
12241
12514
  fileSize: number;
12242
12515
  fileUrl: string | null;
12243
- status?: string | undefined;
12244
12516
  }[];
12245
12517
  }[];
12246
12518
  company: {
@@ -12375,8 +12647,12 @@ export declare const telegramContract: {
12375
12647
  entityName: string;
12376
12648
  agentId: string | null;
12377
12649
  startedDate: Date | null;
12650
+ totalHoldDuration: number | null;
12378
12651
  handledTime: number | null;
12652
+ fullHandledTime: number | null;
12379
12653
  firstResponseTime: number | null;
12654
+ resolutionTime: number | null;
12655
+ fullResolutionTime: number | null;
12380
12656
  wrapUpForm: {
12381
12657
  type: string;
12382
12658
  id: string;
@@ -12429,6 +12705,24 @@ export declare const telegramContract: {
12429
12705
  dateValue: Date | null;
12430
12706
  }[] | null | undefined;
12431
12707
  } | null;
12708
+ holdLogs?: {
12709
+ id: string;
12710
+ createdAt: Date;
12711
+ updatedAt: Date;
12712
+ deletedAt: Date | null;
12713
+ startedAt: string;
12714
+ endedAt: string | null;
12715
+ duration: number | null;
12716
+ holdLabel?: {
12717
+ name: string;
12718
+ id: string;
12719
+ position: number;
12720
+ createdAt: Date;
12721
+ updatedAt: Date;
12722
+ deletedAt: Date | null;
12723
+ isDefault: boolean;
12724
+ } | null | undefined;
12725
+ }[] | null | undefined;
12432
12726
  };
12433
12727
  workflowRule: {
12434
12728
  name: string;
@@ -12457,7 +12751,7 @@ export declare const telegramContract: {
12457
12751
  previewUrl: string;
12458
12752
  imageSetId: string;
12459
12753
  repliedMessage: {
12460
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12754
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12461
12755
  message: string;
12462
12756
  id: string;
12463
12757
  url: string;
@@ -12511,6 +12805,7 @@ export declare const telegramContract: {
12511
12805
  };
12512
12806
  upload: {
12513
12807
  id: string;
12808
+ status: string | null;
12514
12809
  createdAt: Date;
12515
12810
  updatedAt: Date;
12516
12811
  deletedAt: Date | null;
@@ -12519,7 +12814,6 @@ export declare const telegramContract: {
12519
12814
  bucketName: string;
12520
12815
  fileSize: number;
12521
12816
  fileUrl: string | null;
12522
- status?: string | undefined;
12523
12817
  };
12524
12818
  assignee: {
12525
12819
  name: string;
@@ -12668,7 +12962,7 @@ export declare const telegramContract: {
12668
12962
  template?: any;
12669
12963
  label?: string | undefined;
12670
12964
  }, {
12671
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12965
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12672
12966
  message: string;
12673
12967
  id: string;
12674
12968
  url: string;
@@ -12722,6 +13016,7 @@ export declare const telegramContract: {
12722
13016
  };
12723
13017
  upload: {
12724
13018
  id: string;
13019
+ status: string | null;
12725
13020
  createdAt: Date;
12726
13021
  updatedAt: Date;
12727
13022
  deletedAt: Date | null;
@@ -12730,7 +13025,6 @@ export declare const telegramContract: {
12730
13025
  bucketName: string;
12731
13026
  fileSize: number;
12732
13027
  fileUrl: string | null;
12733
- status?: string | undefined;
12734
13028
  };
12735
13029
  assignee: {
12736
13030
  name: string;
@@ -12791,16 +13085,15 @@ export declare const telegramContract: {
12791
13085
  additionalCredentials?: any;
12792
13086
  senderId?: string | undefined;
12793
13087
  whatsapp?: {
12794
- wabaBusinessId?: string | null | undefined;
12795
- wabaExternalId?: string | null | undefined;
12796
- phoneNumberId?: string | null | undefined;
12797
- email?: string | null | undefined;
12798
- clientId?: string | null | undefined;
12799
- channelId?: string | null | undefined;
13088
+ email: string;
13089
+ wabaExternalId: string;
13090
+ phoneNumberId: string;
13091
+ wabaBusinessId?: string | undefined;
13092
+ clientId?: string | undefined;
13093
+ channelId?: string | undefined;
12800
13094
  status?: "active" | "pending" | undefined;
12801
13095
  apiKey?: string | undefined;
12802
13096
  tier?: "basic" | "regular" | "premium" | undefined;
12803
- integrationType?: "meta" | "360dialog" | undefined;
12804
13097
  } | undefined;
12805
13098
  vonageCredentials?: {
12806
13099
  apiKey: string;
@@ -12971,6 +13264,7 @@ export declare const telegramContract: {
12971
13264
  dateValue: Date | null;
12972
13265
  uploads: {
12973
13266
  id: string;
13267
+ status: string | null;
12974
13268
  createdAt: Date;
12975
13269
  updatedAt: Date;
12976
13270
  deletedAt: Date | null;
@@ -12979,7 +13273,6 @@ export declare const telegramContract: {
12979
13273
  bucketName: string;
12980
13274
  fileSize: number;
12981
13275
  fileUrl: string | null;
12982
- status?: string | undefined;
12983
13276
  }[];
12984
13277
  }[];
12985
13278
  company: {
@@ -13114,8 +13407,12 @@ export declare const telegramContract: {
13114
13407
  entityName: string;
13115
13408
  agentId: string | null;
13116
13409
  startedDate: Date | null;
13410
+ totalHoldDuration: number | null;
13117
13411
  handledTime: number | null;
13412
+ fullHandledTime: number | null;
13118
13413
  firstResponseTime: number | null;
13414
+ resolutionTime: number | null;
13415
+ fullResolutionTime: number | null;
13119
13416
  wrapUpForm: {
13120
13417
  type: string;
13121
13418
  id: string;
@@ -13168,6 +13465,24 @@ export declare const telegramContract: {
13168
13465
  dateValue: Date | null;
13169
13466
  }[] | null | undefined;
13170
13467
  } | null;
13468
+ holdLogs?: {
13469
+ id: string;
13470
+ createdAt: Date;
13471
+ updatedAt: Date;
13472
+ deletedAt: Date | null;
13473
+ startedAt: string;
13474
+ endedAt: string | null;
13475
+ duration: number | null;
13476
+ holdLabel?: {
13477
+ name: string;
13478
+ id: string;
13479
+ position: number;
13480
+ createdAt: Date;
13481
+ updatedAt: Date;
13482
+ deletedAt: Date | null;
13483
+ isDefault?: boolean | undefined;
13484
+ } | null | undefined;
13485
+ }[] | null | undefined;
13171
13486
  };
13172
13487
  workflowRule: {
13173
13488
  name: string;
@@ -13196,7 +13511,7 @@ export declare const telegramContract: {
13196
13511
  previewUrl: string;
13197
13512
  imageSetId: string;
13198
13513
  repliedMessage: {
13199
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13514
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13200
13515
  message: string;
13201
13516
  id: string;
13202
13517
  url: string;
@@ -13250,6 +13565,7 @@ export declare const telegramContract: {
13250
13565
  };
13251
13566
  upload: {
13252
13567
  id: string;
13568
+ status: string | null;
13253
13569
  createdAt: Date;
13254
13570
  updatedAt: Date;
13255
13571
  deletedAt: Date | null;
@@ -13258,7 +13574,6 @@ export declare const telegramContract: {
13258
13574
  bucketName: string;
13259
13575
  fileSize: number;
13260
13576
  fileUrl: string | null;
13261
- status?: string | undefined;
13262
13577
  };
13263
13578
  assignee: {
13264
13579
  name: string;
@@ -13408,7 +13723,7 @@ export declare const telegramContract: {
13408
13723
  label?: string | undefined;
13409
13724
  }>>>;
13410
13725
  }, "strip", z.ZodTypeAny, {
13411
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13726
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13412
13727
  message: string;
13413
13728
  id: string;
13414
13729
  url: string;
@@ -13462,6 +13777,7 @@ export declare const telegramContract: {
13462
13777
  };
13463
13778
  upload: {
13464
13779
  id: string;
13780
+ status: string | null;
13465
13781
  createdAt: Date;
13466
13782
  updatedAt: Date;
13467
13783
  deletedAt: Date | null;
@@ -13470,7 +13786,6 @@ export declare const telegramContract: {
13470
13786
  bucketName: string;
13471
13787
  fileSize: number;
13472
13788
  fileUrl: string | null;
13473
- status?: string | undefined;
13474
13789
  };
13475
13790
  assignee: {
13476
13791
  name: string;
@@ -13531,16 +13846,15 @@ export declare const telegramContract: {
13531
13846
  additionalCredentials?: any;
13532
13847
  senderId?: string | undefined;
13533
13848
  whatsapp?: {
13534
- wabaBusinessId?: string | null | undefined;
13535
- wabaExternalId?: string | null | undefined;
13536
- phoneNumberId?: string | null | undefined;
13537
- email?: string | null | undefined;
13538
- clientId?: string | null | undefined;
13539
- channelId?: string | null | undefined;
13849
+ email: string;
13850
+ wabaExternalId: string;
13851
+ phoneNumberId: string;
13852
+ wabaBusinessId?: string | undefined;
13853
+ clientId?: string | undefined;
13854
+ channelId?: string | undefined;
13540
13855
  status?: "active" | "pending" | undefined;
13541
13856
  apiKey?: string | undefined;
13542
13857
  tier?: "basic" | "regular" | "premium" | undefined;
13543
- integrationType?: "meta" | "360dialog" | undefined;
13544
13858
  } | undefined;
13545
13859
  vonageCredentials?: {
13546
13860
  apiKey: string;
@@ -13711,6 +14025,7 @@ export declare const telegramContract: {
13711
14025
  dateValue: Date | null;
13712
14026
  uploads: {
13713
14027
  id: string;
14028
+ status: string | null;
13714
14029
  createdAt: Date;
13715
14030
  updatedAt: Date;
13716
14031
  deletedAt: Date | null;
@@ -13719,7 +14034,6 @@ export declare const telegramContract: {
13719
14034
  bucketName: string;
13720
14035
  fileSize: number;
13721
14036
  fileUrl: string | null;
13722
- status?: string | undefined;
13723
14037
  }[];
13724
14038
  }[];
13725
14039
  company: {
@@ -13854,8 +14168,12 @@ export declare const telegramContract: {
13854
14168
  entityName: string;
13855
14169
  agentId: string | null;
13856
14170
  startedDate: Date | null;
14171
+ totalHoldDuration: number | null;
13857
14172
  handledTime: number | null;
14173
+ fullHandledTime: number | null;
13858
14174
  firstResponseTime: number | null;
14175
+ resolutionTime: number | null;
14176
+ fullResolutionTime: number | null;
13859
14177
  wrapUpForm: {
13860
14178
  type: string;
13861
14179
  id: string;
@@ -13908,6 +14226,24 @@ export declare const telegramContract: {
13908
14226
  dateValue: Date | null;
13909
14227
  }[] | null | undefined;
13910
14228
  } | null;
14229
+ holdLogs?: {
14230
+ id: string;
14231
+ createdAt: Date;
14232
+ updatedAt: Date;
14233
+ deletedAt: Date | null;
14234
+ startedAt: string;
14235
+ endedAt: string | null;
14236
+ duration: number | null;
14237
+ holdLabel?: {
14238
+ name: string;
14239
+ id: string;
14240
+ position: number;
14241
+ createdAt: Date;
14242
+ updatedAt: Date;
14243
+ deletedAt: Date | null;
14244
+ isDefault: boolean;
14245
+ } | null | undefined;
14246
+ }[] | null | undefined;
13911
14247
  };
13912
14248
  workflowRule: {
13913
14249
  name: string;
@@ -13936,7 +14272,7 @@ export declare const telegramContract: {
13936
14272
  previewUrl: string;
13937
14273
  imageSetId: string;
13938
14274
  repliedMessage: {
13939
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14275
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13940
14276
  message: string;
13941
14277
  id: string;
13942
14278
  url: string;
@@ -13990,6 +14326,7 @@ export declare const telegramContract: {
13990
14326
  };
13991
14327
  upload: {
13992
14328
  id: string;
14329
+ status: string | null;
13993
14330
  createdAt: Date;
13994
14331
  updatedAt: Date;
13995
14332
  deletedAt: Date | null;
@@ -13998,7 +14335,6 @@ export declare const telegramContract: {
13998
14335
  bucketName: string;
13999
14336
  fileSize: number;
14000
14337
  fileUrl: string | null;
14001
- status?: string | undefined;
14002
14338
  };
14003
14339
  assignee: {
14004
14340
  name: string;
@@ -14147,7 +14483,7 @@ export declare const telegramContract: {
14147
14483
  template?: any;
14148
14484
  metadata?: any;
14149
14485
  fromMessage?: {
14150
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14486
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14151
14487
  message: string;
14152
14488
  id: string;
14153
14489
  url: string;
@@ -14201,6 +14537,7 @@ export declare const telegramContract: {
14201
14537
  };
14202
14538
  upload: {
14203
14539
  id: string;
14540
+ status: string | null;
14204
14541
  createdAt: Date;
14205
14542
  updatedAt: Date;
14206
14543
  deletedAt: Date | null;
@@ -14209,7 +14546,6 @@ export declare const telegramContract: {
14209
14546
  bucketName: string;
14210
14547
  fileSize: number;
14211
14548
  fileUrl: string | null;
14212
- status?: string | undefined;
14213
14549
  };
14214
14550
  assignee: {
14215
14551
  name: string;
@@ -14270,16 +14606,15 @@ export declare const telegramContract: {
14270
14606
  additionalCredentials?: any;
14271
14607
  senderId?: string | undefined;
14272
14608
  whatsapp?: {
14273
- wabaBusinessId?: string | null | undefined;
14274
- wabaExternalId?: string | null | undefined;
14275
- phoneNumberId?: string | null | undefined;
14276
- email?: string | null | undefined;
14277
- clientId?: string | null | undefined;
14278
- channelId?: string | null | undefined;
14609
+ email: string;
14610
+ wabaExternalId: string;
14611
+ phoneNumberId: string;
14612
+ wabaBusinessId?: string | undefined;
14613
+ clientId?: string | undefined;
14614
+ channelId?: string | undefined;
14279
14615
  status?: "active" | "pending" | undefined;
14280
14616
  apiKey?: string | undefined;
14281
14617
  tier?: "basic" | "regular" | "premium" | undefined;
14282
- integrationType?: "meta" | "360dialog" | undefined;
14283
14618
  } | undefined;
14284
14619
  vonageCredentials?: {
14285
14620
  apiKey: string;
@@ -14450,6 +14785,7 @@ export declare const telegramContract: {
14450
14785
  dateValue: Date | null;
14451
14786
  uploads: {
14452
14787
  id: string;
14788
+ status: string | null;
14453
14789
  createdAt: Date;
14454
14790
  updatedAt: Date;
14455
14791
  deletedAt: Date | null;
@@ -14458,7 +14794,6 @@ export declare const telegramContract: {
14458
14794
  bucketName: string;
14459
14795
  fileSize: number;
14460
14796
  fileUrl: string | null;
14461
- status?: string | undefined;
14462
14797
  }[];
14463
14798
  }[];
14464
14799
  company: {
@@ -14593,8 +14928,12 @@ export declare const telegramContract: {
14593
14928
  entityName: string;
14594
14929
  agentId: string | null;
14595
14930
  startedDate: Date | null;
14931
+ totalHoldDuration: number | null;
14596
14932
  handledTime: number | null;
14933
+ fullHandledTime: number | null;
14597
14934
  firstResponseTime: number | null;
14935
+ resolutionTime: number | null;
14936
+ fullResolutionTime: number | null;
14598
14937
  wrapUpForm: {
14599
14938
  type: string;
14600
14939
  id: string;
@@ -14647,6 +14986,24 @@ export declare const telegramContract: {
14647
14986
  dateValue: Date | null;
14648
14987
  }[] | null | undefined;
14649
14988
  } | null;
14989
+ holdLogs?: {
14990
+ id: string;
14991
+ createdAt: Date;
14992
+ updatedAt: Date;
14993
+ deletedAt: Date | null;
14994
+ startedAt: string;
14995
+ endedAt: string | null;
14996
+ duration: number | null;
14997
+ holdLabel?: {
14998
+ name: string;
14999
+ id: string;
15000
+ position: number;
15001
+ createdAt: Date;
15002
+ updatedAt: Date;
15003
+ deletedAt: Date | null;
15004
+ isDefault: boolean;
15005
+ } | null | undefined;
15006
+ }[] | null | undefined;
14650
15007
  };
14651
15008
  workflowRule: {
14652
15009
  name: string;
@@ -14675,7 +15032,7 @@ export declare const telegramContract: {
14675
15032
  previewUrl: string;
14676
15033
  imageSetId: string;
14677
15034
  repliedMessage: {
14678
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15035
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14679
15036
  message: string;
14680
15037
  id: string;
14681
15038
  url: string;
@@ -14729,6 +15086,7 @@ export declare const telegramContract: {
14729
15086
  };
14730
15087
  upload: {
14731
15088
  id: string;
15089
+ status: string | null;
14732
15090
  createdAt: Date;
14733
15091
  updatedAt: Date;
14734
15092
  deletedAt: Date | null;
@@ -14737,7 +15095,6 @@ export declare const telegramContract: {
14737
15095
  bucketName: string;
14738
15096
  fileSize: number;
14739
15097
  fileUrl: string | null;
14740
- status?: string | undefined;
14741
15098
  };
14742
15099
  assignee: {
14743
15100
  name: string;
@@ -14887,7 +15244,7 @@ export declare const telegramContract: {
14887
15244
  label?: string | undefined;
14888
15245
  } | null | undefined;
14889
15246
  }, {
14890
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15247
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14891
15248
  message: string;
14892
15249
  id: string;
14893
15250
  url: string;
@@ -14941,6 +15298,7 @@ export declare const telegramContract: {
14941
15298
  };
14942
15299
  upload: {
14943
15300
  id: string;
15301
+ status: string | null;
14944
15302
  createdAt: Date;
14945
15303
  updatedAt: Date;
14946
15304
  deletedAt: Date | null;
@@ -14949,7 +15307,6 @@ export declare const telegramContract: {
14949
15307
  bucketName: string;
14950
15308
  fileSize: number;
14951
15309
  fileUrl: string | null;
14952
- status?: string | undefined;
14953
15310
  };
14954
15311
  assignee: {
14955
15312
  name: string;
@@ -15010,16 +15367,15 @@ export declare const telegramContract: {
15010
15367
  additionalCredentials?: any;
15011
15368
  senderId?: string | undefined;
15012
15369
  whatsapp?: {
15013
- wabaBusinessId?: string | null | undefined;
15014
- wabaExternalId?: string | null | undefined;
15015
- phoneNumberId?: string | null | undefined;
15016
- email?: string | null | undefined;
15017
- clientId?: string | null | undefined;
15018
- channelId?: string | null | undefined;
15370
+ email: string;
15371
+ wabaExternalId: string;
15372
+ phoneNumberId: string;
15373
+ wabaBusinessId?: string | undefined;
15374
+ clientId?: string | undefined;
15375
+ channelId?: string | undefined;
15019
15376
  status?: "active" | "pending" | undefined;
15020
15377
  apiKey?: string | undefined;
15021
15378
  tier?: "basic" | "regular" | "premium" | undefined;
15022
- integrationType?: "meta" | "360dialog" | undefined;
15023
15379
  } | undefined;
15024
15380
  vonageCredentials?: {
15025
15381
  apiKey: string;
@@ -15190,6 +15546,7 @@ export declare const telegramContract: {
15190
15546
  dateValue: Date | null;
15191
15547
  uploads: {
15192
15548
  id: string;
15549
+ status: string | null;
15193
15550
  createdAt: Date;
15194
15551
  updatedAt: Date;
15195
15552
  deletedAt: Date | null;
@@ -15198,7 +15555,6 @@ export declare const telegramContract: {
15198
15555
  bucketName: string;
15199
15556
  fileSize: number;
15200
15557
  fileUrl: string | null;
15201
- status?: string | undefined;
15202
15558
  }[];
15203
15559
  }[];
15204
15560
  company: {
@@ -15333,8 +15689,12 @@ export declare const telegramContract: {
15333
15689
  entityName: string;
15334
15690
  agentId: string | null;
15335
15691
  startedDate: Date | null;
15692
+ totalHoldDuration: number | null;
15336
15693
  handledTime: number | null;
15694
+ fullHandledTime: number | null;
15337
15695
  firstResponseTime: number | null;
15696
+ resolutionTime: number | null;
15697
+ fullResolutionTime: number | null;
15338
15698
  wrapUpForm: {
15339
15699
  type: string;
15340
15700
  id: string;
@@ -15387,6 +15747,24 @@ export declare const telegramContract: {
15387
15747
  dateValue: Date | null;
15388
15748
  }[] | null | undefined;
15389
15749
  } | null;
15750
+ holdLogs?: {
15751
+ id: string;
15752
+ createdAt: Date;
15753
+ updatedAt: Date;
15754
+ deletedAt: Date | null;
15755
+ startedAt: string;
15756
+ endedAt: string | null;
15757
+ duration: number | null;
15758
+ holdLabel?: {
15759
+ name: string;
15760
+ id: string;
15761
+ position: number;
15762
+ createdAt: Date;
15763
+ updatedAt: Date;
15764
+ deletedAt: Date | null;
15765
+ isDefault?: boolean | undefined;
15766
+ } | null | undefined;
15767
+ }[] | null | undefined;
15390
15768
  };
15391
15769
  workflowRule: {
15392
15770
  name: string;
@@ -15415,7 +15793,7 @@ export declare const telegramContract: {
15415
15793
  previewUrl: string;
15416
15794
  imageSetId: string;
15417
15795
  repliedMessage: {
15418
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15796
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15419
15797
  message: string;
15420
15798
  id: string;
15421
15799
  url: string;
@@ -15469,6 +15847,7 @@ export declare const telegramContract: {
15469
15847
  };
15470
15848
  upload: {
15471
15849
  id: string;
15850
+ status: string | null;
15472
15851
  createdAt: Date;
15473
15852
  updatedAt: Date;
15474
15853
  deletedAt: Date | null;
@@ -15477,7 +15856,6 @@ export declare const telegramContract: {
15477
15856
  bucketName: string;
15478
15857
  fileSize: number;
15479
15858
  fileUrl: string | null;
15480
- status?: string | undefined;
15481
15859
  };
15482
15860
  assignee: {
15483
15861
  name: string;
@@ -15626,7 +16004,7 @@ export declare const telegramContract: {
15626
16004
  template?: any;
15627
16005
  metadata?: any;
15628
16006
  fromMessage?: {
15629
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16007
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15630
16008
  message: string;
15631
16009
  id: string;
15632
16010
  url: string;
@@ -15680,6 +16058,7 @@ export declare const telegramContract: {
15680
16058
  };
15681
16059
  upload: {
15682
16060
  id: string;
16061
+ status: string | null;
15683
16062
  createdAt: Date;
15684
16063
  updatedAt: Date;
15685
16064
  deletedAt: Date | null;
@@ -15688,7 +16067,6 @@ export declare const telegramContract: {
15688
16067
  bucketName: string;
15689
16068
  fileSize: number;
15690
16069
  fileUrl: string | null;
15691
- status?: string | undefined;
15692
16070
  };
15693
16071
  assignee: {
15694
16072
  name: string;
@@ -15749,16 +16127,15 @@ export declare const telegramContract: {
15749
16127
  additionalCredentials?: any;
15750
16128
  senderId?: string | undefined;
15751
16129
  whatsapp?: {
15752
- wabaBusinessId?: string | null | undefined;
15753
- wabaExternalId?: string | null | undefined;
15754
- phoneNumberId?: string | null | undefined;
15755
- email?: string | null | undefined;
15756
- clientId?: string | null | undefined;
15757
- channelId?: string | null | undefined;
16130
+ email: string;
16131
+ wabaExternalId: string;
16132
+ phoneNumberId: string;
16133
+ wabaBusinessId?: string | undefined;
16134
+ clientId?: string | undefined;
16135
+ channelId?: string | undefined;
15758
16136
  status?: "active" | "pending" | undefined;
15759
16137
  apiKey?: string | undefined;
15760
16138
  tier?: "basic" | "regular" | "premium" | undefined;
15761
- integrationType?: "meta" | "360dialog" | undefined;
15762
16139
  } | undefined;
15763
16140
  vonageCredentials?: {
15764
16141
  apiKey: string;
@@ -15929,6 +16306,7 @@ export declare const telegramContract: {
15929
16306
  dateValue: Date | null;
15930
16307
  uploads: {
15931
16308
  id: string;
16309
+ status: string | null;
15932
16310
  createdAt: Date;
15933
16311
  updatedAt: Date;
15934
16312
  deletedAt: Date | null;
@@ -15937,7 +16315,6 @@ export declare const telegramContract: {
15937
16315
  bucketName: string;
15938
16316
  fileSize: number;
15939
16317
  fileUrl: string | null;
15940
- status?: string | undefined;
15941
16318
  }[];
15942
16319
  }[];
15943
16320
  company: {
@@ -16072,8 +16449,12 @@ export declare const telegramContract: {
16072
16449
  entityName: string;
16073
16450
  agentId: string | null;
16074
16451
  startedDate: Date | null;
16452
+ totalHoldDuration: number | null;
16075
16453
  handledTime: number | null;
16454
+ fullHandledTime: number | null;
16076
16455
  firstResponseTime: number | null;
16456
+ resolutionTime: number | null;
16457
+ fullResolutionTime: number | null;
16077
16458
  wrapUpForm: {
16078
16459
  type: string;
16079
16460
  id: string;
@@ -16126,6 +16507,24 @@ export declare const telegramContract: {
16126
16507
  dateValue: Date | null;
16127
16508
  }[] | null | undefined;
16128
16509
  } | null;
16510
+ holdLogs?: {
16511
+ id: string;
16512
+ createdAt: Date;
16513
+ updatedAt: Date;
16514
+ deletedAt: Date | null;
16515
+ startedAt: string;
16516
+ endedAt: string | null;
16517
+ duration: number | null;
16518
+ holdLabel?: {
16519
+ name: string;
16520
+ id: string;
16521
+ position: number;
16522
+ createdAt: Date;
16523
+ updatedAt: Date;
16524
+ deletedAt: Date | null;
16525
+ isDefault?: boolean | undefined;
16526
+ } | null | undefined;
16527
+ }[] | null | undefined;
16129
16528
  };
16130
16529
  workflowRule: {
16131
16530
  name: string;
@@ -16154,7 +16553,7 @@ export declare const telegramContract: {
16154
16553
  previewUrl: string;
16155
16554
  imageSetId: string;
16156
16555
  repliedMessage: {
16157
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16556
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16158
16557
  message: string;
16159
16558
  id: string;
16160
16559
  url: string;
@@ -16208,6 +16607,7 @@ export declare const telegramContract: {
16208
16607
  };
16209
16608
  upload: {
16210
16609
  id: string;
16610
+ status: string | null;
16211
16611
  createdAt: Date;
16212
16612
  updatedAt: Date;
16213
16613
  deletedAt: Date | null;
@@ -16216,7 +16616,6 @@ export declare const telegramContract: {
16216
16616
  bucketName: string;
16217
16617
  fileSize: number;
16218
16618
  fileUrl: string | null;
16219
- status?: string | undefined;
16220
16619
  };
16221
16620
  assignee: {
16222
16621
  name: string;
@@ -16368,7 +16767,7 @@ export declare const telegramContract: {
16368
16767
  }>;
16369
16768
  }, "strip", z.ZodTypeAny, {
16370
16769
  data: {
16371
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16770
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16372
16771
  message: string;
16373
16772
  id: string;
16374
16773
  url: string;
@@ -16422,6 +16821,7 @@ export declare const telegramContract: {
16422
16821
  };
16423
16822
  upload: {
16424
16823
  id: string;
16824
+ status: string | null;
16425
16825
  createdAt: Date;
16426
16826
  updatedAt: Date;
16427
16827
  deletedAt: Date | null;
@@ -16430,7 +16830,6 @@ export declare const telegramContract: {
16430
16830
  bucketName: string;
16431
16831
  fileSize: number;
16432
16832
  fileUrl: string | null;
16433
- status?: string | undefined;
16434
16833
  };
16435
16834
  assignee: {
16436
16835
  name: string;
@@ -16491,16 +16890,15 @@ export declare const telegramContract: {
16491
16890
  additionalCredentials?: any;
16492
16891
  senderId?: string | undefined;
16493
16892
  whatsapp?: {
16494
- wabaBusinessId?: string | null | undefined;
16495
- wabaExternalId?: string | null | undefined;
16496
- phoneNumberId?: string | null | undefined;
16497
- email?: string | null | undefined;
16498
- clientId?: string | null | undefined;
16499
- channelId?: string | null | undefined;
16893
+ email: string;
16894
+ wabaExternalId: string;
16895
+ phoneNumberId: string;
16896
+ wabaBusinessId?: string | undefined;
16897
+ clientId?: string | undefined;
16898
+ channelId?: string | undefined;
16500
16899
  status?: "active" | "pending" | undefined;
16501
16900
  apiKey?: string | undefined;
16502
16901
  tier?: "basic" | "regular" | "premium" | undefined;
16503
- integrationType?: "meta" | "360dialog" | undefined;
16504
16902
  } | undefined;
16505
16903
  vonageCredentials?: {
16506
16904
  apiKey: string;
@@ -16671,6 +17069,7 @@ export declare const telegramContract: {
16671
17069
  dateValue: Date | null;
16672
17070
  uploads: {
16673
17071
  id: string;
17072
+ status: string | null;
16674
17073
  createdAt: Date;
16675
17074
  updatedAt: Date;
16676
17075
  deletedAt: Date | null;
@@ -16679,7 +17078,6 @@ export declare const telegramContract: {
16679
17078
  bucketName: string;
16680
17079
  fileSize: number;
16681
17080
  fileUrl: string | null;
16682
- status?: string | undefined;
16683
17081
  }[];
16684
17082
  }[];
16685
17083
  company: {
@@ -16814,8 +17212,12 @@ export declare const telegramContract: {
16814
17212
  entityName: string;
16815
17213
  agentId: string | null;
16816
17214
  startedDate: Date | null;
17215
+ totalHoldDuration: number | null;
16817
17216
  handledTime: number | null;
17217
+ fullHandledTime: number | null;
16818
17218
  firstResponseTime: number | null;
17219
+ resolutionTime: number | null;
17220
+ fullResolutionTime: number | null;
16819
17221
  wrapUpForm: {
16820
17222
  type: string;
16821
17223
  id: string;
@@ -16868,6 +17270,24 @@ export declare const telegramContract: {
16868
17270
  dateValue: Date | null;
16869
17271
  }[] | null | undefined;
16870
17272
  } | null;
17273
+ holdLogs?: {
17274
+ id: string;
17275
+ createdAt: Date;
17276
+ updatedAt: Date;
17277
+ deletedAt: Date | null;
17278
+ startedAt: string;
17279
+ endedAt: string | null;
17280
+ duration: number | null;
17281
+ holdLabel?: {
17282
+ name: string;
17283
+ id: string;
17284
+ position: number;
17285
+ createdAt: Date;
17286
+ updatedAt: Date;
17287
+ deletedAt: Date | null;
17288
+ isDefault: boolean;
17289
+ } | null | undefined;
17290
+ }[] | null | undefined;
16871
17291
  };
16872
17292
  workflowRule: {
16873
17293
  name: string;
@@ -16896,7 +17316,7 @@ export declare const telegramContract: {
16896
17316
  previewUrl: string;
16897
17317
  imageSetId: string;
16898
17318
  repliedMessage: {
16899
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17319
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16900
17320
  message: string;
16901
17321
  id: string;
16902
17322
  url: string;
@@ -16950,6 +17370,7 @@ export declare const telegramContract: {
16950
17370
  };
16951
17371
  upload: {
16952
17372
  id: string;
17373
+ status: string | null;
16953
17374
  createdAt: Date;
16954
17375
  updatedAt: Date;
16955
17376
  deletedAt: Date | null;
@@ -16958,7 +17379,6 @@ export declare const telegramContract: {
16958
17379
  bucketName: string;
16959
17380
  fileSize: number;
16960
17381
  fileUrl: string | null;
16961
- status?: string | undefined;
16962
17382
  };
16963
17383
  assignee: {
16964
17384
  name: string;
@@ -17107,7 +17527,7 @@ export declare const telegramContract: {
17107
17527
  template?: any;
17108
17528
  metadata?: any;
17109
17529
  fromMessage?: {
17110
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17530
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17111
17531
  message: string;
17112
17532
  id: string;
17113
17533
  url: string;
@@ -17161,6 +17581,7 @@ export declare const telegramContract: {
17161
17581
  };
17162
17582
  upload: {
17163
17583
  id: string;
17584
+ status: string | null;
17164
17585
  createdAt: Date;
17165
17586
  updatedAt: Date;
17166
17587
  deletedAt: Date | null;
@@ -17169,7 +17590,6 @@ export declare const telegramContract: {
17169
17590
  bucketName: string;
17170
17591
  fileSize: number;
17171
17592
  fileUrl: string | null;
17172
- status?: string | undefined;
17173
17593
  };
17174
17594
  assignee: {
17175
17595
  name: string;
@@ -17230,16 +17650,15 @@ export declare const telegramContract: {
17230
17650
  additionalCredentials?: any;
17231
17651
  senderId?: string | undefined;
17232
17652
  whatsapp?: {
17233
- wabaBusinessId?: string | null | undefined;
17234
- wabaExternalId?: string | null | undefined;
17235
- phoneNumberId?: string | null | undefined;
17236
- email?: string | null | undefined;
17237
- clientId?: string | null | undefined;
17238
- channelId?: string | null | undefined;
17653
+ email: string;
17654
+ wabaExternalId: string;
17655
+ phoneNumberId: string;
17656
+ wabaBusinessId?: string | undefined;
17657
+ clientId?: string | undefined;
17658
+ channelId?: string | undefined;
17239
17659
  status?: "active" | "pending" | undefined;
17240
17660
  apiKey?: string | undefined;
17241
17661
  tier?: "basic" | "regular" | "premium" | undefined;
17242
- integrationType?: "meta" | "360dialog" | undefined;
17243
17662
  } | undefined;
17244
17663
  vonageCredentials?: {
17245
17664
  apiKey: string;
@@ -17410,6 +17829,7 @@ export declare const telegramContract: {
17410
17829
  dateValue: Date | null;
17411
17830
  uploads: {
17412
17831
  id: string;
17832
+ status: string | null;
17413
17833
  createdAt: Date;
17414
17834
  updatedAt: Date;
17415
17835
  deletedAt: Date | null;
@@ -17418,7 +17838,6 @@ export declare const telegramContract: {
17418
17838
  bucketName: string;
17419
17839
  fileSize: number;
17420
17840
  fileUrl: string | null;
17421
- status?: string | undefined;
17422
17841
  }[];
17423
17842
  }[];
17424
17843
  company: {
@@ -17553,8 +17972,12 @@ export declare const telegramContract: {
17553
17972
  entityName: string;
17554
17973
  agentId: string | null;
17555
17974
  startedDate: Date | null;
17975
+ totalHoldDuration: number | null;
17556
17976
  handledTime: number | null;
17977
+ fullHandledTime: number | null;
17557
17978
  firstResponseTime: number | null;
17979
+ resolutionTime: number | null;
17980
+ fullResolutionTime: number | null;
17558
17981
  wrapUpForm: {
17559
17982
  type: string;
17560
17983
  id: string;
@@ -17607,6 +18030,24 @@ export declare const telegramContract: {
17607
18030
  dateValue: Date | null;
17608
18031
  }[] | null | undefined;
17609
18032
  } | null;
18033
+ holdLogs?: {
18034
+ id: string;
18035
+ createdAt: Date;
18036
+ updatedAt: Date;
18037
+ deletedAt: Date | null;
18038
+ startedAt: string;
18039
+ endedAt: string | null;
18040
+ duration: number | null;
18041
+ holdLabel?: {
18042
+ name: string;
18043
+ id: string;
18044
+ position: number;
18045
+ createdAt: Date;
18046
+ updatedAt: Date;
18047
+ deletedAt: Date | null;
18048
+ isDefault: boolean;
18049
+ } | null | undefined;
18050
+ }[] | null | undefined;
17610
18051
  };
17611
18052
  workflowRule: {
17612
18053
  name: string;
@@ -17635,7 +18076,7 @@ export declare const telegramContract: {
17635
18076
  previewUrl: string;
17636
18077
  imageSetId: string;
17637
18078
  repliedMessage: {
17638
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18079
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17639
18080
  message: string;
17640
18081
  id: string;
17641
18082
  url: string;
@@ -17689,6 +18130,7 @@ export declare const telegramContract: {
17689
18130
  };
17690
18131
  upload: {
17691
18132
  id: string;
18133
+ status: string | null;
17692
18134
  createdAt: Date;
17693
18135
  updatedAt: Date;
17694
18136
  deletedAt: Date | null;
@@ -17697,7 +18139,6 @@ export declare const telegramContract: {
17697
18139
  bucketName: string;
17698
18140
  fileSize: number;
17699
18141
  fileUrl: string | null;
17700
- status?: string | undefined;
17701
18142
  };
17702
18143
  assignee: {
17703
18144
  name: string;
@@ -17850,7 +18291,7 @@ export declare const telegramContract: {
17850
18291
  requestId: string;
17851
18292
  }, {
17852
18293
  data: {
17853
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18294
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17854
18295
  message: string;
17855
18296
  id: string;
17856
18297
  url: string;
@@ -17904,6 +18345,7 @@ export declare const telegramContract: {
17904
18345
  };
17905
18346
  upload: {
17906
18347
  id: string;
18348
+ status: string | null;
17907
18349
  createdAt: Date;
17908
18350
  updatedAt: Date;
17909
18351
  deletedAt: Date | null;
@@ -17912,7 +18354,6 @@ export declare const telegramContract: {
17912
18354
  bucketName: string;
17913
18355
  fileSize: number;
17914
18356
  fileUrl: string | null;
17915
- status?: string | undefined;
17916
18357
  };
17917
18358
  assignee: {
17918
18359
  name: string;
@@ -17973,16 +18414,15 @@ export declare const telegramContract: {
17973
18414
  additionalCredentials?: any;
17974
18415
  senderId?: string | undefined;
17975
18416
  whatsapp?: {
17976
- wabaBusinessId?: string | null | undefined;
17977
- wabaExternalId?: string | null | undefined;
17978
- phoneNumberId?: string | null | undefined;
17979
- email?: string | null | undefined;
17980
- clientId?: string | null | undefined;
17981
- channelId?: string | null | undefined;
18417
+ email: string;
18418
+ wabaExternalId: string;
18419
+ phoneNumberId: string;
18420
+ wabaBusinessId?: string | undefined;
18421
+ clientId?: string | undefined;
18422
+ channelId?: string | undefined;
17982
18423
  status?: "active" | "pending" | undefined;
17983
18424
  apiKey?: string | undefined;
17984
18425
  tier?: "basic" | "regular" | "premium" | undefined;
17985
- integrationType?: "meta" | "360dialog" | undefined;
17986
18426
  } | undefined;
17987
18427
  vonageCredentials?: {
17988
18428
  apiKey: string;
@@ -18153,6 +18593,7 @@ export declare const telegramContract: {
18153
18593
  dateValue: Date | null;
18154
18594
  uploads: {
18155
18595
  id: string;
18596
+ status: string | null;
18156
18597
  createdAt: Date;
18157
18598
  updatedAt: Date;
18158
18599
  deletedAt: Date | null;
@@ -18161,7 +18602,6 @@ export declare const telegramContract: {
18161
18602
  bucketName: string;
18162
18603
  fileSize: number;
18163
18604
  fileUrl: string | null;
18164
- status?: string | undefined;
18165
18605
  }[];
18166
18606
  }[];
18167
18607
  company: {
@@ -18296,8 +18736,12 @@ export declare const telegramContract: {
18296
18736
  entityName: string;
18297
18737
  agentId: string | null;
18298
18738
  startedDate: Date | null;
18739
+ totalHoldDuration: number | null;
18299
18740
  handledTime: number | null;
18741
+ fullHandledTime: number | null;
18300
18742
  firstResponseTime: number | null;
18743
+ resolutionTime: number | null;
18744
+ fullResolutionTime: number | null;
18301
18745
  wrapUpForm: {
18302
18746
  type: string;
18303
18747
  id: string;
@@ -18350,6 +18794,24 @@ export declare const telegramContract: {
18350
18794
  dateValue: Date | null;
18351
18795
  }[] | null | undefined;
18352
18796
  } | null;
18797
+ holdLogs?: {
18798
+ id: string;
18799
+ createdAt: Date;
18800
+ updatedAt: Date;
18801
+ deletedAt: Date | null;
18802
+ startedAt: string;
18803
+ endedAt: string | null;
18804
+ duration: number | null;
18805
+ holdLabel?: {
18806
+ name: string;
18807
+ id: string;
18808
+ position: number;
18809
+ createdAt: Date;
18810
+ updatedAt: Date;
18811
+ deletedAt: Date | null;
18812
+ isDefault?: boolean | undefined;
18813
+ } | null | undefined;
18814
+ }[] | null | undefined;
18353
18815
  };
18354
18816
  workflowRule: {
18355
18817
  name: string;
@@ -18378,7 +18840,7 @@ export declare const telegramContract: {
18378
18840
  previewUrl: string;
18379
18841
  imageSetId: string;
18380
18842
  repliedMessage: {
18381
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18843
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18382
18844
  message: string;
18383
18845
  id: string;
18384
18846
  url: string;
@@ -18432,6 +18894,7 @@ export declare const telegramContract: {
18432
18894
  };
18433
18895
  upload: {
18434
18896
  id: string;
18897
+ status: string | null;
18435
18898
  createdAt: Date;
18436
18899
  updatedAt: Date;
18437
18900
  deletedAt: Date | null;
@@ -18440,7 +18903,6 @@ export declare const telegramContract: {
18440
18903
  bucketName: string;
18441
18904
  fileSize: number;
18442
18905
  fileUrl: string | null;
18443
- status?: string | undefined;
18444
18906
  };
18445
18907
  assignee: {
18446
18908
  name: string;
@@ -18589,7 +19051,7 @@ export declare const telegramContract: {
18589
19051
  template?: any;
18590
19052
  metadata?: any;
18591
19053
  fromMessage?: {
18592
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19054
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18593
19055
  message: string;
18594
19056
  id: string;
18595
19057
  url: string;
@@ -18643,6 +19105,7 @@ export declare const telegramContract: {
18643
19105
  };
18644
19106
  upload: {
18645
19107
  id: string;
19108
+ status: string | null;
18646
19109
  createdAt: Date;
18647
19110
  updatedAt: Date;
18648
19111
  deletedAt: Date | null;
@@ -18651,7 +19114,6 @@ export declare const telegramContract: {
18651
19114
  bucketName: string;
18652
19115
  fileSize: number;
18653
19116
  fileUrl: string | null;
18654
- status?: string | undefined;
18655
19117
  };
18656
19118
  assignee: {
18657
19119
  name: string;
@@ -18712,16 +19174,15 @@ export declare const telegramContract: {
18712
19174
  additionalCredentials?: any;
18713
19175
  senderId?: string | undefined;
18714
19176
  whatsapp?: {
18715
- wabaBusinessId?: string | null | undefined;
18716
- wabaExternalId?: string | null | undefined;
18717
- phoneNumberId?: string | null | undefined;
18718
- email?: string | null | undefined;
18719
- clientId?: string | null | undefined;
18720
- channelId?: string | null | undefined;
19177
+ email: string;
19178
+ wabaExternalId: string;
19179
+ phoneNumberId: string;
19180
+ wabaBusinessId?: string | undefined;
19181
+ clientId?: string | undefined;
19182
+ channelId?: string | undefined;
18721
19183
  status?: "active" | "pending" | undefined;
18722
19184
  apiKey?: string | undefined;
18723
19185
  tier?: "basic" | "regular" | "premium" | undefined;
18724
- integrationType?: "meta" | "360dialog" | undefined;
18725
19186
  } | undefined;
18726
19187
  vonageCredentials?: {
18727
19188
  apiKey: string;
@@ -18892,6 +19353,7 @@ export declare const telegramContract: {
18892
19353
  dateValue: Date | null;
18893
19354
  uploads: {
18894
19355
  id: string;
19356
+ status: string | null;
18895
19357
  createdAt: Date;
18896
19358
  updatedAt: Date;
18897
19359
  deletedAt: Date | null;
@@ -18900,7 +19362,6 @@ export declare const telegramContract: {
18900
19362
  bucketName: string;
18901
19363
  fileSize: number;
18902
19364
  fileUrl: string | null;
18903
- status?: string | undefined;
18904
19365
  }[];
18905
19366
  }[];
18906
19367
  company: {
@@ -19035,8 +19496,12 @@ export declare const telegramContract: {
19035
19496
  entityName: string;
19036
19497
  agentId: string | null;
19037
19498
  startedDate: Date | null;
19499
+ totalHoldDuration: number | null;
19038
19500
  handledTime: number | null;
19501
+ fullHandledTime: number | null;
19039
19502
  firstResponseTime: number | null;
19503
+ resolutionTime: number | null;
19504
+ fullResolutionTime: number | null;
19040
19505
  wrapUpForm: {
19041
19506
  type: string;
19042
19507
  id: string;
@@ -19089,6 +19554,24 @@ export declare const telegramContract: {
19089
19554
  dateValue: Date | null;
19090
19555
  }[] | null | undefined;
19091
19556
  } | null;
19557
+ holdLogs?: {
19558
+ id: string;
19559
+ createdAt: Date;
19560
+ updatedAt: Date;
19561
+ deletedAt: Date | null;
19562
+ startedAt: string;
19563
+ endedAt: string | null;
19564
+ duration: number | null;
19565
+ holdLabel?: {
19566
+ name: string;
19567
+ id: string;
19568
+ position: number;
19569
+ createdAt: Date;
19570
+ updatedAt: Date;
19571
+ deletedAt: Date | null;
19572
+ isDefault?: boolean | undefined;
19573
+ } | null | undefined;
19574
+ }[] | null | undefined;
19092
19575
  };
19093
19576
  workflowRule: {
19094
19577
  name: string;
@@ -19117,7 +19600,7 @@ export declare const telegramContract: {
19117
19600
  previewUrl: string;
19118
19601
  imageSetId: string;
19119
19602
  repliedMessage: {
19120
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19603
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19121
19604
  message: string;
19122
19605
  id: string;
19123
19606
  url: string;
@@ -19171,6 +19654,7 @@ export declare const telegramContract: {
19171
19654
  };
19172
19655
  upload: {
19173
19656
  id: string;
19657
+ status: string | null;
19174
19658
  createdAt: Date;
19175
19659
  updatedAt: Date;
19176
19660
  deletedAt: Date | null;
@@ -19179,7 +19663,6 @@ export declare const telegramContract: {
19179
19663
  bucketName: string;
19180
19664
  fileSize: number;
19181
19665
  fileUrl: string | null;
19182
- status?: string | undefined;
19183
19666
  };
19184
19667
  assignee: {
19185
19668
  name: string;
@@ -19370,38 +19853,35 @@ export declare const telegramContract: {
19370
19853
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19371
19854
  senderId: z.ZodOptional<z.ZodString>;
19372
19855
  whatsapp: z.ZodOptional<z.ZodObject<{
19373
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19374
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19375
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19376
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19377
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19378
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19856
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19857
+ wabaExternalId: z.ZodString;
19858
+ phoneNumberId: z.ZodString;
19859
+ email: z.ZodString;
19860
+ clientId: z.ZodOptional<z.ZodString>;
19861
+ channelId: z.ZodOptional<z.ZodString>;
19379
19862
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19380
19863
  apiKey: z.ZodOptional<z.ZodString>;
19381
19864
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19382
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19383
19865
  }, "strip", z.ZodTypeAny, {
19384
- wabaBusinessId?: string | null | undefined;
19385
- wabaExternalId?: string | null | undefined;
19386
- phoneNumberId?: string | null | undefined;
19387
- email?: string | null | undefined;
19388
- clientId?: string | null | undefined;
19389
- channelId?: string | null | undefined;
19866
+ email: string;
19867
+ wabaExternalId: string;
19868
+ phoneNumberId: string;
19869
+ wabaBusinessId?: string | undefined;
19870
+ clientId?: string | undefined;
19871
+ channelId?: string | undefined;
19390
19872
  status?: "active" | "pending" | undefined;
19391
19873
  apiKey?: string | undefined;
19392
19874
  tier?: "basic" | "regular" | "premium" | undefined;
19393
- integrationType?: "meta" | "360dialog" | undefined;
19394
19875
  }, {
19395
- wabaBusinessId?: string | null | undefined;
19396
- wabaExternalId?: string | null | undefined;
19397
- phoneNumberId?: string | null | undefined;
19398
- email?: string | null | undefined;
19399
- clientId?: string | null | undefined;
19400
- channelId?: string | null | undefined;
19876
+ email: string;
19877
+ wabaExternalId: string;
19878
+ phoneNumberId: string;
19879
+ wabaBusinessId?: string | undefined;
19880
+ clientId?: string | undefined;
19881
+ channelId?: string | undefined;
19401
19882
  status?: "active" | "pending" | undefined;
19402
19883
  apiKey?: string | undefined;
19403
19884
  tier?: "basic" | "regular" | "premium" | undefined;
19404
- integrationType?: "meta" | "360dialog" | undefined;
19405
19885
  }>>;
19406
19886
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19407
19887
  mobileNumber: z.ZodString;
@@ -19426,16 +19906,15 @@ export declare const telegramContract: {
19426
19906
  additionalCredentials?: any;
19427
19907
  senderId?: string | undefined;
19428
19908
  whatsapp?: {
19429
- wabaBusinessId?: string | null | undefined;
19430
- wabaExternalId?: string | null | undefined;
19431
- phoneNumberId?: string | null | undefined;
19432
- email?: string | null | undefined;
19433
- clientId?: string | null | undefined;
19434
- channelId?: string | null | undefined;
19909
+ email: string;
19910
+ wabaExternalId: string;
19911
+ phoneNumberId: string;
19912
+ wabaBusinessId?: string | undefined;
19913
+ clientId?: string | undefined;
19914
+ channelId?: string | undefined;
19435
19915
  status?: "active" | "pending" | undefined;
19436
19916
  apiKey?: string | undefined;
19437
19917
  tier?: "basic" | "regular" | "premium" | undefined;
19438
- integrationType?: "meta" | "360dialog" | undefined;
19439
19918
  } | undefined;
19440
19919
  vonageCredentials?: {
19441
19920
  apiKey: string;
@@ -19452,16 +19931,15 @@ export declare const telegramContract: {
19452
19931
  additionalCredentials?: any;
19453
19932
  senderId?: string | undefined;
19454
19933
  whatsapp?: {
19455
- wabaBusinessId?: string | null | undefined;
19456
- wabaExternalId?: string | null | undefined;
19457
- phoneNumberId?: string | null | undefined;
19458
- email?: string | null | undefined;
19459
- clientId?: string | null | undefined;
19460
- channelId?: string | null | undefined;
19934
+ email: string;
19935
+ wabaExternalId: string;
19936
+ phoneNumberId: string;
19937
+ wabaBusinessId?: string | undefined;
19938
+ clientId?: string | undefined;
19939
+ channelId?: string | undefined;
19461
19940
  status?: "active" | "pending" | undefined;
19462
19941
  apiKey?: string | undefined;
19463
19942
  tier?: "basic" | "regular" | "premium" | undefined;
19464
- integrationType?: "meta" | "360dialog" | undefined;
19465
19943
  } | undefined;
19466
19944
  vonageCredentials?: {
19467
19945
  apiKey: string;
@@ -19508,16 +19986,15 @@ export declare const telegramContract: {
19508
19986
  additionalCredentials?: any;
19509
19987
  senderId?: string | undefined;
19510
19988
  whatsapp?: {
19511
- wabaBusinessId?: string | null | undefined;
19512
- wabaExternalId?: string | null | undefined;
19513
- phoneNumberId?: string | null | undefined;
19514
- email?: string | null | undefined;
19515
- clientId?: string | null | undefined;
19516
- channelId?: string | null | undefined;
19989
+ email: string;
19990
+ wabaExternalId: string;
19991
+ phoneNumberId: string;
19992
+ wabaBusinessId?: string | undefined;
19993
+ clientId?: string | undefined;
19994
+ channelId?: string | undefined;
19517
19995
  status?: "active" | "pending" | undefined;
19518
19996
  apiKey?: string | undefined;
19519
19997
  tier?: "basic" | "regular" | "premium" | undefined;
19520
- integrationType?: "meta" | "360dialog" | undefined;
19521
19998
  } | undefined;
19522
19999
  vonageCredentials?: {
19523
20000
  apiKey: string;
@@ -19552,16 +20029,15 @@ export declare const telegramContract: {
19552
20029
  additionalCredentials?: any;
19553
20030
  senderId?: string | undefined;
19554
20031
  whatsapp?: {
19555
- wabaBusinessId?: string | null | undefined;
19556
- wabaExternalId?: string | null | undefined;
19557
- phoneNumberId?: string | null | undefined;
19558
- email?: string | null | undefined;
19559
- clientId?: string | null | undefined;
19560
- channelId?: string | null | undefined;
20032
+ email: string;
20033
+ wabaExternalId: string;
20034
+ phoneNumberId: string;
20035
+ wabaBusinessId?: string | undefined;
20036
+ clientId?: string | undefined;
20037
+ channelId?: string | undefined;
19561
20038
  status?: "active" | "pending" | undefined;
19562
20039
  apiKey?: string | undefined;
19563
20040
  tier?: "basic" | "regular" | "premium" | undefined;
19564
- integrationType?: "meta" | "360dialog" | undefined;
19565
20041
  } | undefined;
19566
20042
  vonageCredentials?: {
19567
20043
  apiKey: string;
@@ -19598,16 +20074,15 @@ export declare const telegramContract: {
19598
20074
  additionalCredentials?: any;
19599
20075
  senderId?: string | undefined;
19600
20076
  whatsapp?: {
19601
- wabaBusinessId?: string | null | undefined;
19602
- wabaExternalId?: string | null | undefined;
19603
- phoneNumberId?: string | null | undefined;
19604
- email?: string | null | undefined;
19605
- clientId?: string | null | undefined;
19606
- channelId?: string | null | undefined;
20077
+ email: string;
20078
+ wabaExternalId: string;
20079
+ phoneNumberId: string;
20080
+ wabaBusinessId?: string | undefined;
20081
+ clientId?: string | undefined;
20082
+ channelId?: string | undefined;
19607
20083
  status?: "active" | "pending" | undefined;
19608
20084
  apiKey?: string | undefined;
19609
20085
  tier?: "basic" | "regular" | "premium" | undefined;
19610
- integrationType?: "meta" | "360dialog" | undefined;
19611
20086
  } | undefined;
19612
20087
  vonageCredentials?: {
19613
20088
  apiKey: string;
@@ -19645,16 +20120,15 @@ export declare const telegramContract: {
19645
20120
  additionalCredentials?: any;
19646
20121
  senderId?: string | undefined;
19647
20122
  whatsapp?: {
19648
- wabaBusinessId?: string | null | undefined;
19649
- wabaExternalId?: string | null | undefined;
19650
- phoneNumberId?: string | null | undefined;
19651
- email?: string | null | undefined;
19652
- clientId?: string | null | undefined;
19653
- channelId?: string | null | undefined;
20123
+ email: string;
20124
+ wabaExternalId: string;
20125
+ phoneNumberId: string;
20126
+ wabaBusinessId?: string | undefined;
20127
+ clientId?: string | undefined;
20128
+ channelId?: string | undefined;
19654
20129
  status?: "active" | "pending" | undefined;
19655
20130
  apiKey?: string | undefined;
19656
20131
  tier?: "basic" | "regular" | "premium" | undefined;
19657
- integrationType?: "meta" | "360dialog" | undefined;
19658
20132
  } | undefined;
19659
20133
  vonageCredentials?: {
19660
20134
  apiKey: string;
@@ -19729,38 +20203,35 @@ export declare const telegramContract: {
19729
20203
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19730
20204
  senderId: z.ZodOptional<z.ZodString>;
19731
20205
  whatsapp: z.ZodOptional<z.ZodObject<{
19732
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19733
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19734
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19735
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19736
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19737
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20206
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
20207
+ wabaExternalId: z.ZodString;
20208
+ phoneNumberId: z.ZodString;
20209
+ email: z.ZodString;
20210
+ clientId: z.ZodOptional<z.ZodString>;
20211
+ channelId: z.ZodOptional<z.ZodString>;
19738
20212
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19739
20213
  apiKey: z.ZodOptional<z.ZodString>;
19740
20214
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19741
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19742
20215
  }, "strip", z.ZodTypeAny, {
19743
- wabaBusinessId?: string | null | undefined;
19744
- wabaExternalId?: string | null | undefined;
19745
- phoneNumberId?: string | null | undefined;
19746
- email?: string | null | undefined;
19747
- clientId?: string | null | undefined;
19748
- channelId?: string | null | undefined;
20216
+ email: string;
20217
+ wabaExternalId: string;
20218
+ phoneNumberId: string;
20219
+ wabaBusinessId?: string | undefined;
20220
+ clientId?: string | undefined;
20221
+ channelId?: string | undefined;
19749
20222
  status?: "active" | "pending" | undefined;
19750
20223
  apiKey?: string | undefined;
19751
20224
  tier?: "basic" | "regular" | "premium" | undefined;
19752
- integrationType?: "meta" | "360dialog" | undefined;
19753
20225
  }, {
19754
- wabaBusinessId?: string | null | undefined;
19755
- wabaExternalId?: string | null | undefined;
19756
- phoneNumberId?: string | null | undefined;
19757
- email?: string | null | undefined;
19758
- clientId?: string | null | undefined;
19759
- channelId?: string | null | undefined;
20226
+ email: string;
20227
+ wabaExternalId: string;
20228
+ phoneNumberId: string;
20229
+ wabaBusinessId?: string | undefined;
20230
+ clientId?: string | undefined;
20231
+ channelId?: string | undefined;
19760
20232
  status?: "active" | "pending" | undefined;
19761
20233
  apiKey?: string | undefined;
19762
20234
  tier?: "basic" | "regular" | "premium" | undefined;
19763
- integrationType?: "meta" | "360dialog" | undefined;
19764
20235
  }>>;
19765
20236
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19766
20237
  mobileNumber: z.ZodString;
@@ -19785,16 +20256,15 @@ export declare const telegramContract: {
19785
20256
  additionalCredentials?: any;
19786
20257
  senderId?: string | undefined;
19787
20258
  whatsapp?: {
19788
- wabaBusinessId?: string | null | undefined;
19789
- wabaExternalId?: string | null | undefined;
19790
- phoneNumberId?: string | null | undefined;
19791
- email?: string | null | undefined;
19792
- clientId?: string | null | undefined;
19793
- channelId?: string | null | undefined;
20259
+ email: string;
20260
+ wabaExternalId: string;
20261
+ phoneNumberId: string;
20262
+ wabaBusinessId?: string | undefined;
20263
+ clientId?: string | undefined;
20264
+ channelId?: string | undefined;
19794
20265
  status?: "active" | "pending" | undefined;
19795
20266
  apiKey?: string | undefined;
19796
20267
  tier?: "basic" | "regular" | "premium" | undefined;
19797
- integrationType?: "meta" | "360dialog" | undefined;
19798
20268
  } | undefined;
19799
20269
  vonageCredentials?: {
19800
20270
  apiKey: string;
@@ -19811,16 +20281,15 @@ export declare const telegramContract: {
19811
20281
  additionalCredentials?: any;
19812
20282
  senderId?: string | undefined;
19813
20283
  whatsapp?: {
19814
- wabaBusinessId?: string | null | undefined;
19815
- wabaExternalId?: string | null | undefined;
19816
- phoneNumberId?: string | null | undefined;
19817
- email?: string | null | undefined;
19818
- clientId?: string | null | undefined;
19819
- channelId?: string | null | undefined;
20284
+ email: string;
20285
+ wabaExternalId: string;
20286
+ phoneNumberId: string;
20287
+ wabaBusinessId?: string | undefined;
20288
+ clientId?: string | undefined;
20289
+ channelId?: string | undefined;
19820
20290
  status?: "active" | "pending" | undefined;
19821
20291
  apiKey?: string | undefined;
19822
20292
  tier?: "basic" | "regular" | "premium" | undefined;
19823
- integrationType?: "meta" | "360dialog" | undefined;
19824
20293
  } | undefined;
19825
20294
  vonageCredentials?: {
19826
20295
  apiKey: string;
@@ -19867,16 +20336,15 @@ export declare const telegramContract: {
19867
20336
  additionalCredentials?: any;
19868
20337
  senderId?: string | undefined;
19869
20338
  whatsapp?: {
19870
- wabaBusinessId?: string | null | undefined;
19871
- wabaExternalId?: string | null | undefined;
19872
- phoneNumberId?: string | null | undefined;
19873
- email?: string | null | undefined;
19874
- clientId?: string | null | undefined;
19875
- channelId?: string | null | undefined;
20339
+ email: string;
20340
+ wabaExternalId: string;
20341
+ phoneNumberId: string;
20342
+ wabaBusinessId?: string | undefined;
20343
+ clientId?: string | undefined;
20344
+ channelId?: string | undefined;
19876
20345
  status?: "active" | "pending" | undefined;
19877
20346
  apiKey?: string | undefined;
19878
20347
  tier?: "basic" | "regular" | "premium" | undefined;
19879
- integrationType?: "meta" | "360dialog" | undefined;
19880
20348
  } | undefined;
19881
20349
  vonageCredentials?: {
19882
20350
  apiKey: string;
@@ -19911,16 +20379,15 @@ export declare const telegramContract: {
19911
20379
  additionalCredentials?: any;
19912
20380
  senderId?: string | undefined;
19913
20381
  whatsapp?: {
19914
- wabaBusinessId?: string | null | undefined;
19915
- wabaExternalId?: string | null | undefined;
19916
- phoneNumberId?: string | null | undefined;
19917
- email?: string | null | undefined;
19918
- clientId?: string | null | undefined;
19919
- channelId?: string | null | undefined;
20382
+ email: string;
20383
+ wabaExternalId: string;
20384
+ phoneNumberId: string;
20385
+ wabaBusinessId?: string | undefined;
20386
+ clientId?: string | undefined;
20387
+ channelId?: string | undefined;
19920
20388
  status?: "active" | "pending" | undefined;
19921
20389
  apiKey?: string | undefined;
19922
20390
  tier?: "basic" | "regular" | "premium" | undefined;
19923
- integrationType?: "meta" | "360dialog" | undefined;
19924
20391
  } | undefined;
19925
20392
  vonageCredentials?: {
19926
20393
  apiKey: string;
@@ -19957,16 +20424,15 @@ export declare const telegramContract: {
19957
20424
  additionalCredentials?: any;
19958
20425
  senderId?: string | undefined;
19959
20426
  whatsapp?: {
19960
- wabaBusinessId?: string | null | undefined;
19961
- wabaExternalId?: string | null | undefined;
19962
- phoneNumberId?: string | null | undefined;
19963
- email?: string | null | undefined;
19964
- clientId?: string | null | undefined;
19965
- channelId?: string | null | undefined;
20427
+ email: string;
20428
+ wabaExternalId: string;
20429
+ phoneNumberId: string;
20430
+ wabaBusinessId?: string | undefined;
20431
+ clientId?: string | undefined;
20432
+ channelId?: string | undefined;
19966
20433
  status?: "active" | "pending" | undefined;
19967
20434
  apiKey?: string | undefined;
19968
20435
  tier?: "basic" | "regular" | "premium" | undefined;
19969
- integrationType?: "meta" | "360dialog" | undefined;
19970
20436
  } | undefined;
19971
20437
  vonageCredentials?: {
19972
20438
  apiKey: string;
@@ -20004,16 +20470,15 @@ export declare const telegramContract: {
20004
20470
  additionalCredentials?: any;
20005
20471
  senderId?: string | undefined;
20006
20472
  whatsapp?: {
20007
- wabaBusinessId?: string | null | undefined;
20008
- wabaExternalId?: string | null | undefined;
20009
- phoneNumberId?: string | null | undefined;
20010
- email?: string | null | undefined;
20011
- clientId?: string | null | undefined;
20012
- channelId?: string | null | undefined;
20473
+ email: string;
20474
+ wabaExternalId: string;
20475
+ phoneNumberId: string;
20476
+ wabaBusinessId?: string | undefined;
20477
+ clientId?: string | undefined;
20478
+ channelId?: string | undefined;
20013
20479
  status?: "active" | "pending" | undefined;
20014
20480
  apiKey?: string | undefined;
20015
20481
  tier?: "basic" | "regular" | "premium" | undefined;
20016
- integrationType?: "meta" | "360dialog" | undefined;
20017
20482
  } | undefined;
20018
20483
  vonageCredentials?: {
20019
20484
  apiKey: string;