@kl1/contracts 1.2.36-uat → 1.2.38-uat

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