@kl1/contracts 1.2.46-uat → 1.2.48-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 (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +20 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4853 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4842 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -66,35 +66,44 @@ 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>;
75
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
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
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
76
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
76
78
  apiKey: z.ZodOptional<z.ZodString>;
77
79
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
80
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
78
81
  }, "strip", z.ZodTypeAny, {
79
- email: string;
80
- wabaExternalId: string;
81
- phoneNumberId: string;
82
- wabaBusinessId?: string | undefined;
83
- clientId?: string | undefined;
84
- channelId?: string | undefined;
85
- status?: "active" | "pending" | undefined;
82
+ wabaBusinessId?: string | null | undefined;
83
+ wabaExternalId?: string | null | undefined;
84
+ phoneNumberId?: string | null | undefined;
85
+ email?: string | null | undefined;
86
+ clientId?: string | null | undefined;
87
+ channelId?: string | null | undefined;
88
+ waapiInstanceId?: string | null | undefined;
89
+ qr?: string | null | undefined;
90
+ status?: "active" | "pending" | "waapi-qr" | undefined;
86
91
  apiKey?: string | undefined;
87
92
  tier?: "basic" | "regular" | "premium" | undefined;
93
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
88
94
  }, {
89
- email: string;
90
- wabaExternalId: string;
91
- phoneNumberId: string;
92
- wabaBusinessId?: string | undefined;
93
- clientId?: string | undefined;
94
- channelId?: string | undefined;
95
- status?: "active" | "pending" | undefined;
95
+ wabaBusinessId?: string | null | undefined;
96
+ wabaExternalId?: string | null | undefined;
97
+ phoneNumberId?: string | null | undefined;
98
+ email?: string | null | undefined;
99
+ clientId?: string | null | undefined;
100
+ channelId?: string | null | undefined;
101
+ waapiInstanceId?: string | null | undefined;
102
+ qr?: string | null | undefined;
103
+ status?: "active" | "pending" | "waapi-qr" | undefined;
96
104
  apiKey?: string | undefined;
97
105
  tier?: "basic" | "regular" | "premium" | undefined;
106
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
98
107
  }>>;
99
108
  vonageCredentials: z.ZodOptional<z.ZodObject<{
100
109
  mobileNumber: z.ZodString;
@@ -120,15 +129,18 @@ export declare const telegramContract: {
120
129
  additionalCredentials?: any;
121
130
  senderId?: string | undefined;
122
131
  whatsapp?: {
123
- email: string;
124
- wabaExternalId: string;
125
- phoneNumberId: string;
126
- wabaBusinessId?: string | undefined;
127
- clientId?: string | undefined;
128
- channelId?: string | undefined;
129
- status?: "active" | "pending" | undefined;
132
+ wabaBusinessId?: string | null | undefined;
133
+ wabaExternalId?: string | null | undefined;
134
+ phoneNumberId?: string | null | undefined;
135
+ email?: string | null | undefined;
136
+ clientId?: string | null | undefined;
137
+ channelId?: string | null | undefined;
138
+ waapiInstanceId?: string | null | undefined;
139
+ qr?: string | null | undefined;
140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
130
141
  apiKey?: string | undefined;
131
142
  tier?: "basic" | "regular" | "premium" | undefined;
143
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
132
144
  } | undefined;
133
145
  vonageCredentials?: {
134
146
  apiKey: string;
@@ -146,15 +158,18 @@ export declare const telegramContract: {
146
158
  additionalCredentials?: any;
147
159
  senderId?: string | undefined;
148
160
  whatsapp?: {
149
- email: string;
150
- wabaExternalId: string;
151
- phoneNumberId: string;
152
- wabaBusinessId?: string | undefined;
153
- clientId?: string | undefined;
154
- channelId?: string | undefined;
155
- status?: "active" | "pending" | undefined;
161
+ wabaBusinessId?: string | null | undefined;
162
+ wabaExternalId?: string | null | undefined;
163
+ phoneNumberId?: string | null | undefined;
164
+ email?: string | null | undefined;
165
+ clientId?: string | null | undefined;
166
+ channelId?: string | null | undefined;
167
+ waapiInstanceId?: string | null | undefined;
168
+ qr?: string | null | undefined;
169
+ status?: "active" | "pending" | "waapi-qr" | undefined;
156
170
  apiKey?: string | undefined;
157
171
  tier?: "basic" | "regular" | "premium" | undefined;
172
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
158
173
  } | undefined;
159
174
  vonageCredentials?: {
160
175
  apiKey: string;
@@ -406,15 +421,18 @@ export declare const telegramContract: {
406
421
  additionalCredentials?: any;
407
422
  senderId?: string | undefined;
408
423
  whatsapp?: {
409
- email: string;
410
- wabaExternalId: string;
411
- phoneNumberId: string;
412
- wabaBusinessId?: string | undefined;
413
- clientId?: string | undefined;
414
- channelId?: string | undefined;
415
- status?: "active" | "pending" | undefined;
424
+ wabaBusinessId?: string | null | undefined;
425
+ wabaExternalId?: string | null | undefined;
426
+ phoneNumberId?: string | null | undefined;
427
+ email?: string | null | undefined;
428
+ clientId?: string | null | undefined;
429
+ channelId?: string | null | undefined;
430
+ waapiInstanceId?: string | null | undefined;
431
+ qr?: string | null | undefined;
432
+ status?: "active" | "pending" | "waapi-qr" | undefined;
416
433
  apiKey?: string | undefined;
417
434
  tier?: "basic" | "regular" | "premium" | undefined;
435
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
418
436
  } | undefined;
419
437
  vonageCredentials?: {
420
438
  apiKey: string;
@@ -497,15 +515,18 @@ export declare const telegramContract: {
497
515
  additionalCredentials?: any;
498
516
  senderId?: string | undefined;
499
517
  whatsapp?: {
500
- email: string;
501
- wabaExternalId: string;
502
- phoneNumberId: string;
503
- wabaBusinessId?: string | undefined;
504
- clientId?: string | undefined;
505
- channelId?: string | undefined;
506
- status?: "active" | "pending" | undefined;
518
+ wabaBusinessId?: string | null | undefined;
519
+ wabaExternalId?: string | null | undefined;
520
+ phoneNumberId?: string | null | undefined;
521
+ email?: string | null | undefined;
522
+ clientId?: string | null | undefined;
523
+ channelId?: string | null | undefined;
524
+ waapiInstanceId?: string | null | undefined;
525
+ qr?: string | null | undefined;
526
+ status?: "active" | "pending" | "waapi-qr" | undefined;
507
527
  apiKey?: string | undefined;
508
528
  tier?: "basic" | "regular" | "premium" | undefined;
529
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
509
530
  } | undefined;
510
531
  vonageCredentials?: {
511
532
  apiKey: string;
@@ -590,15 +611,18 @@ export declare const telegramContract: {
590
611
  additionalCredentials?: any;
591
612
  senderId?: string | undefined;
592
613
  whatsapp?: {
593
- email: string;
594
- wabaExternalId: string;
595
- phoneNumberId: string;
596
- wabaBusinessId?: string | undefined;
597
- clientId?: string | undefined;
598
- channelId?: string | undefined;
599
- status?: "active" | "pending" | undefined;
614
+ wabaBusinessId?: string | null | undefined;
615
+ wabaExternalId?: string | null | undefined;
616
+ phoneNumberId?: string | null | undefined;
617
+ email?: string | null | undefined;
618
+ clientId?: string | null | undefined;
619
+ channelId?: string | null | undefined;
620
+ waapiInstanceId?: string | null | undefined;
621
+ qr?: string | null | undefined;
622
+ status?: "active" | "pending" | "waapi-qr" | undefined;
600
623
  apiKey?: string | undefined;
601
624
  tier?: "basic" | "regular" | "premium" | undefined;
625
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
602
626
  } | undefined;
603
627
  vonageCredentials?: {
604
628
  apiKey: string;
@@ -684,15 +708,18 @@ export declare const telegramContract: {
684
708
  additionalCredentials?: any;
685
709
  senderId?: string | undefined;
686
710
  whatsapp?: {
687
- email: string;
688
- wabaExternalId: string;
689
- phoneNumberId: string;
690
- wabaBusinessId?: string | undefined;
691
- clientId?: string | undefined;
692
- channelId?: string | undefined;
693
- status?: "active" | "pending" | undefined;
711
+ wabaBusinessId?: string | null | undefined;
712
+ wabaExternalId?: string | null | undefined;
713
+ phoneNumberId?: string | null | undefined;
714
+ email?: string | null | undefined;
715
+ clientId?: string | null | undefined;
716
+ channelId?: string | null | undefined;
717
+ waapiInstanceId?: string | null | undefined;
718
+ qr?: string | null | undefined;
719
+ status?: "active" | "pending" | "waapi-qr" | undefined;
694
720
  apiKey?: string | undefined;
695
721
  tier?: "basic" | "regular" | "premium" | undefined;
722
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
696
723
  } | undefined;
697
724
  vonageCredentials?: {
698
725
  apiKey: string;
@@ -814,35 +841,44 @@ export declare const telegramContract: {
814
841
  additionalCredentials: z.ZodOptional<z.ZodAny>;
815
842
  senderId: z.ZodOptional<z.ZodString>;
816
843
  whatsapp: z.ZodOptional<z.ZodObject<{
817
- wabaBusinessId: z.ZodOptional<z.ZodString>;
818
- wabaExternalId: z.ZodString;
819
- phoneNumberId: z.ZodString;
820
- email: z.ZodString;
821
- clientId: z.ZodOptional<z.ZodString>;
822
- channelId: z.ZodOptional<z.ZodString>;
823
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
844
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
845
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
846
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
847
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
848
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
849
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
850
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
851
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
852
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
824
853
  apiKey: z.ZodOptional<z.ZodString>;
825
854
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
855
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
826
856
  }, "strip", z.ZodTypeAny, {
827
- email: string;
828
- wabaExternalId: string;
829
- phoneNumberId: string;
830
- wabaBusinessId?: string | undefined;
831
- clientId?: string | undefined;
832
- channelId?: string | undefined;
833
- status?: "active" | "pending" | undefined;
857
+ wabaBusinessId?: string | null | undefined;
858
+ wabaExternalId?: string | null | undefined;
859
+ phoneNumberId?: string | null | undefined;
860
+ email?: string | null | undefined;
861
+ clientId?: string | null | undefined;
862
+ channelId?: string | null | undefined;
863
+ waapiInstanceId?: string | null | undefined;
864
+ qr?: string | null | undefined;
865
+ status?: "active" | "pending" | "waapi-qr" | undefined;
834
866
  apiKey?: string | undefined;
835
867
  tier?: "basic" | "regular" | "premium" | undefined;
868
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
836
869
  }, {
837
- email: string;
838
- wabaExternalId: string;
839
- phoneNumberId: string;
840
- wabaBusinessId?: string | undefined;
841
- clientId?: string | undefined;
842
- channelId?: string | undefined;
843
- status?: "active" | "pending" | undefined;
870
+ wabaBusinessId?: string | null | undefined;
871
+ wabaExternalId?: string | null | undefined;
872
+ phoneNumberId?: string | null | undefined;
873
+ email?: string | null | undefined;
874
+ clientId?: string | null | undefined;
875
+ channelId?: string | null | undefined;
876
+ waapiInstanceId?: string | null | undefined;
877
+ qr?: string | null | undefined;
878
+ status?: "active" | "pending" | "waapi-qr" | undefined;
844
879
  apiKey?: string | undefined;
845
880
  tier?: "basic" | "regular" | "premium" | undefined;
881
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
846
882
  }>>;
847
883
  vonageCredentials: z.ZodOptional<z.ZodObject<{
848
884
  mobileNumber: z.ZodString;
@@ -868,15 +904,18 @@ export declare const telegramContract: {
868
904
  additionalCredentials?: any;
869
905
  senderId?: string | undefined;
870
906
  whatsapp?: {
871
- email: string;
872
- wabaExternalId: string;
873
- phoneNumberId: string;
874
- wabaBusinessId?: string | undefined;
875
- clientId?: string | undefined;
876
- channelId?: string | undefined;
877
- status?: "active" | "pending" | undefined;
907
+ wabaBusinessId?: string | null | undefined;
908
+ wabaExternalId?: string | null | undefined;
909
+ phoneNumberId?: string | null | undefined;
910
+ email?: string | null | undefined;
911
+ clientId?: string | null | undefined;
912
+ channelId?: string | null | undefined;
913
+ waapiInstanceId?: string | null | undefined;
914
+ qr?: string | null | undefined;
915
+ status?: "active" | "pending" | "waapi-qr" | undefined;
878
916
  apiKey?: string | undefined;
879
917
  tier?: "basic" | "regular" | "premium" | undefined;
918
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
880
919
  } | undefined;
881
920
  vonageCredentials?: {
882
921
  apiKey: string;
@@ -894,15 +933,18 @@ export declare const telegramContract: {
894
933
  additionalCredentials?: any;
895
934
  senderId?: string | undefined;
896
935
  whatsapp?: {
897
- email: string;
898
- wabaExternalId: string;
899
- phoneNumberId: string;
900
- wabaBusinessId?: string | undefined;
901
- clientId?: string | undefined;
902
- channelId?: string | undefined;
903
- status?: "active" | "pending" | undefined;
936
+ wabaBusinessId?: string | null | undefined;
937
+ wabaExternalId?: string | null | undefined;
938
+ phoneNumberId?: string | null | undefined;
939
+ email?: string | null | undefined;
940
+ clientId?: string | null | undefined;
941
+ channelId?: string | null | undefined;
942
+ waapiInstanceId?: string | null | undefined;
943
+ qr?: string | null | undefined;
944
+ status?: "active" | "pending" | "waapi-qr" | undefined;
904
945
  apiKey?: string | undefined;
905
946
  tier?: "basic" | "regular" | "premium" | undefined;
947
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
906
948
  } | undefined;
907
949
  vonageCredentials?: {
908
950
  apiKey: string;
@@ -950,15 +992,18 @@ export declare const telegramContract: {
950
992
  additionalCredentials?: any;
951
993
  senderId?: string | undefined;
952
994
  whatsapp?: {
953
- email: string;
954
- wabaExternalId: string;
955
- phoneNumberId: string;
956
- wabaBusinessId?: string | undefined;
957
- clientId?: string | undefined;
958
- channelId?: string | undefined;
959
- status?: "active" | "pending" | undefined;
995
+ wabaBusinessId?: string | null | undefined;
996
+ wabaExternalId?: string | null | undefined;
997
+ phoneNumberId?: string | null | undefined;
998
+ email?: string | null | undefined;
999
+ clientId?: string | null | undefined;
1000
+ channelId?: string | null | undefined;
1001
+ waapiInstanceId?: string | null | undefined;
1002
+ qr?: string | null | undefined;
1003
+ status?: "active" | "pending" | "waapi-qr" | undefined;
960
1004
  apiKey?: string | undefined;
961
1005
  tier?: "basic" | "regular" | "premium" | undefined;
1006
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
962
1007
  } | undefined;
963
1008
  vonageCredentials?: {
964
1009
  apiKey: string;
@@ -994,15 +1039,18 @@ export declare const telegramContract: {
994
1039
  additionalCredentials?: any;
995
1040
  senderId?: string | undefined;
996
1041
  whatsapp?: {
997
- email: string;
998
- wabaExternalId: string;
999
- phoneNumberId: string;
1000
- wabaBusinessId?: string | undefined;
1001
- clientId?: string | undefined;
1002
- channelId?: string | undefined;
1003
- status?: "active" | "pending" | undefined;
1042
+ wabaBusinessId?: string | null | undefined;
1043
+ wabaExternalId?: string | null | undefined;
1044
+ phoneNumberId?: string | null | undefined;
1045
+ email?: string | null | undefined;
1046
+ clientId?: string | null | undefined;
1047
+ channelId?: string | null | undefined;
1048
+ waapiInstanceId?: string | null | undefined;
1049
+ qr?: string | null | undefined;
1050
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1004
1051
  apiKey?: string | undefined;
1005
1052
  tier?: "basic" | "regular" | "premium" | undefined;
1053
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1006
1054
  } | undefined;
1007
1055
  vonageCredentials?: {
1008
1056
  apiKey: string;
@@ -1040,15 +1088,18 @@ export declare const telegramContract: {
1040
1088
  additionalCredentials?: any;
1041
1089
  senderId?: string | undefined;
1042
1090
  whatsapp?: {
1043
- email: string;
1044
- wabaExternalId: string;
1045
- phoneNumberId: string;
1046
- wabaBusinessId?: string | undefined;
1047
- clientId?: string | undefined;
1048
- channelId?: string | undefined;
1049
- status?: "active" | "pending" | undefined;
1091
+ wabaBusinessId?: string | null | undefined;
1092
+ wabaExternalId?: string | null | undefined;
1093
+ phoneNumberId?: string | null | undefined;
1094
+ email?: string | null | undefined;
1095
+ clientId?: string | null | undefined;
1096
+ channelId?: string | null | undefined;
1097
+ waapiInstanceId?: string | null | undefined;
1098
+ qr?: string | null | undefined;
1099
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1050
1100
  apiKey?: string | undefined;
1051
1101
  tier?: "basic" | "regular" | "premium" | undefined;
1102
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1052
1103
  } | undefined;
1053
1104
  vonageCredentials?: {
1054
1105
  apiKey: string;
@@ -1087,15 +1138,18 @@ export declare const telegramContract: {
1087
1138
  additionalCredentials?: any;
1088
1139
  senderId?: string | undefined;
1089
1140
  whatsapp?: {
1090
- email: string;
1091
- wabaExternalId: string;
1092
- phoneNumberId: string;
1093
- wabaBusinessId?: string | undefined;
1094
- clientId?: string | undefined;
1095
- channelId?: string | undefined;
1096
- status?: "active" | "pending" | undefined;
1141
+ wabaBusinessId?: string | null | undefined;
1142
+ wabaExternalId?: string | null | undefined;
1143
+ phoneNumberId?: string | null | undefined;
1144
+ email?: string | null | undefined;
1145
+ clientId?: string | null | undefined;
1146
+ channelId?: string | null | undefined;
1147
+ waapiInstanceId?: string | null | undefined;
1148
+ qr?: string | null | undefined;
1149
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1097
1150
  apiKey?: string | undefined;
1098
1151
  tier?: "basic" | "regular" | "premium" | undefined;
1152
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1099
1153
  } | undefined;
1100
1154
  vonageCredentials?: {
1101
1155
  apiKey: string;
@@ -1283,35 +1337,44 @@ export declare const telegramContract: {
1283
1337
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1284
1338
  senderId: z.ZodOptional<z.ZodString>;
1285
1339
  whatsapp: z.ZodOptional<z.ZodObject<{
1286
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1287
- wabaExternalId: z.ZodString;
1288
- phoneNumberId: z.ZodString;
1289
- email: z.ZodString;
1290
- clientId: z.ZodOptional<z.ZodString>;
1291
- channelId: z.ZodOptional<z.ZodString>;
1292
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1340
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1341
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1342
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1343
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1344
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1345
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1346
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1347
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1293
1349
  apiKey: z.ZodOptional<z.ZodString>;
1294
1350
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1351
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1295
1352
  }, "strip", z.ZodTypeAny, {
1296
- email: string;
1297
- wabaExternalId: string;
1298
- phoneNumberId: string;
1299
- wabaBusinessId?: string | undefined;
1300
- clientId?: string | undefined;
1301
- channelId?: string | undefined;
1302
- status?: "active" | "pending" | undefined;
1353
+ wabaBusinessId?: string | null | undefined;
1354
+ wabaExternalId?: string | null | undefined;
1355
+ phoneNumberId?: string | null | undefined;
1356
+ email?: string | null | undefined;
1357
+ clientId?: string | null | undefined;
1358
+ channelId?: string | null | undefined;
1359
+ waapiInstanceId?: string | null | undefined;
1360
+ qr?: string | null | undefined;
1361
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1303
1362
  apiKey?: string | undefined;
1304
1363
  tier?: "basic" | "regular" | "premium" | undefined;
1364
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1305
1365
  }, {
1306
- email: string;
1307
- wabaExternalId: string;
1308
- phoneNumberId: string;
1309
- wabaBusinessId?: string | undefined;
1310
- clientId?: string | undefined;
1311
- channelId?: string | undefined;
1312
- status?: "active" | "pending" | undefined;
1366
+ wabaBusinessId?: string | null | undefined;
1367
+ wabaExternalId?: string | null | undefined;
1368
+ phoneNumberId?: string | null | undefined;
1369
+ email?: string | null | undefined;
1370
+ clientId?: string | null | undefined;
1371
+ channelId?: string | null | undefined;
1372
+ waapiInstanceId?: string | null | undefined;
1373
+ qr?: string | null | undefined;
1374
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1313
1375
  apiKey?: string | undefined;
1314
1376
  tier?: "basic" | "regular" | "premium" | undefined;
1377
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1315
1378
  }>>;
1316
1379
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1317
1380
  mobileNumber: z.ZodString;
@@ -1337,15 +1400,18 @@ export declare const telegramContract: {
1337
1400
  additionalCredentials?: any;
1338
1401
  senderId?: string | undefined;
1339
1402
  whatsapp?: {
1340
- email: string;
1341
- wabaExternalId: string;
1342
- phoneNumberId: string;
1343
- wabaBusinessId?: string | undefined;
1344
- clientId?: string | undefined;
1345
- channelId?: string | undefined;
1346
- status?: "active" | "pending" | undefined;
1403
+ wabaBusinessId?: string | null | undefined;
1404
+ wabaExternalId?: string | null | undefined;
1405
+ phoneNumberId?: string | null | undefined;
1406
+ email?: string | null | undefined;
1407
+ clientId?: string | null | undefined;
1408
+ channelId?: string | null | undefined;
1409
+ waapiInstanceId?: string | null | undefined;
1410
+ qr?: string | null | undefined;
1411
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1347
1412
  apiKey?: string | undefined;
1348
1413
  tier?: "basic" | "regular" | "premium" | undefined;
1414
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1349
1415
  } | undefined;
1350
1416
  vonageCredentials?: {
1351
1417
  apiKey: string;
@@ -1363,15 +1429,18 @@ export declare const telegramContract: {
1363
1429
  additionalCredentials?: any;
1364
1430
  senderId?: string | undefined;
1365
1431
  whatsapp?: {
1366
- email: string;
1367
- wabaExternalId: string;
1368
- phoneNumberId: string;
1369
- wabaBusinessId?: string | undefined;
1370
- clientId?: string | undefined;
1371
- channelId?: string | undefined;
1372
- status?: "active" | "pending" | undefined;
1432
+ wabaBusinessId?: string | null | undefined;
1433
+ wabaExternalId?: string | null | undefined;
1434
+ phoneNumberId?: string | null | undefined;
1435
+ email?: string | null | undefined;
1436
+ clientId?: string | null | undefined;
1437
+ channelId?: string | null | undefined;
1438
+ waapiInstanceId?: string | null | undefined;
1439
+ qr?: string | null | undefined;
1440
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1373
1441
  apiKey?: string | undefined;
1374
1442
  tier?: "basic" | "regular" | "premium" | undefined;
1443
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1375
1444
  } | undefined;
1376
1445
  vonageCredentials?: {
1377
1446
  apiKey: string;
@@ -1419,15 +1488,18 @@ export declare const telegramContract: {
1419
1488
  additionalCredentials?: any;
1420
1489
  senderId?: string | undefined;
1421
1490
  whatsapp?: {
1422
- email: string;
1423
- wabaExternalId: string;
1424
- phoneNumberId: string;
1425
- wabaBusinessId?: string | undefined;
1426
- clientId?: string | undefined;
1427
- channelId?: string | undefined;
1428
- status?: "active" | "pending" | undefined;
1491
+ wabaBusinessId?: string | null | undefined;
1492
+ wabaExternalId?: string | null | undefined;
1493
+ phoneNumberId?: string | null | undefined;
1494
+ email?: string | null | undefined;
1495
+ clientId?: string | null | undefined;
1496
+ channelId?: string | null | undefined;
1497
+ waapiInstanceId?: string | null | undefined;
1498
+ qr?: string | null | undefined;
1499
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1429
1500
  apiKey?: string | undefined;
1430
1501
  tier?: "basic" | "regular" | "premium" | undefined;
1502
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1431
1503
  } | undefined;
1432
1504
  vonageCredentials?: {
1433
1505
  apiKey: string;
@@ -1463,15 +1535,18 @@ export declare const telegramContract: {
1463
1535
  additionalCredentials?: any;
1464
1536
  senderId?: string | undefined;
1465
1537
  whatsapp?: {
1466
- email: string;
1467
- wabaExternalId: string;
1468
- phoneNumberId: string;
1469
- wabaBusinessId?: string | undefined;
1470
- clientId?: string | undefined;
1471
- channelId?: string | undefined;
1472
- status?: "active" | "pending" | undefined;
1538
+ wabaBusinessId?: string | null | undefined;
1539
+ wabaExternalId?: string | null | undefined;
1540
+ phoneNumberId?: string | null | undefined;
1541
+ email?: string | null | undefined;
1542
+ clientId?: string | null | undefined;
1543
+ channelId?: string | null | undefined;
1544
+ waapiInstanceId?: string | null | undefined;
1545
+ qr?: string | null | undefined;
1546
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1473
1547
  apiKey?: string | undefined;
1474
1548
  tier?: "basic" | "regular" | "premium" | undefined;
1549
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1475
1550
  } | undefined;
1476
1551
  vonageCredentials?: {
1477
1552
  apiKey: string;
@@ -1512,15 +1587,18 @@ export declare const telegramContract: {
1512
1587
  additionalCredentials?: any;
1513
1588
  senderId?: string | undefined;
1514
1589
  whatsapp?: {
1515
- email: string;
1516
- wabaExternalId: string;
1517
- phoneNumberId: string;
1518
- wabaBusinessId?: string | undefined;
1519
- clientId?: string | undefined;
1520
- channelId?: string | undefined;
1521
- status?: "active" | "pending" | undefined;
1590
+ wabaBusinessId?: string | null | undefined;
1591
+ wabaExternalId?: string | null | undefined;
1592
+ phoneNumberId?: string | null | undefined;
1593
+ email?: string | null | undefined;
1594
+ clientId?: string | null | undefined;
1595
+ channelId?: string | null | undefined;
1596
+ waapiInstanceId?: string | null | undefined;
1597
+ qr?: string | null | undefined;
1598
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1522
1599
  apiKey?: string | undefined;
1523
1600
  tier?: "basic" | "regular" | "premium" | undefined;
1601
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1524
1602
  } | undefined;
1525
1603
  vonageCredentials?: {
1526
1604
  apiKey: string;
@@ -1600,15 +1678,18 @@ export declare const telegramContract: {
1600
1678
  additionalCredentials?: any;
1601
1679
  senderId?: string | undefined;
1602
1680
  whatsapp?: {
1603
- email: string;
1604
- wabaExternalId: string;
1605
- phoneNumberId: string;
1606
- wabaBusinessId?: string | undefined;
1607
- clientId?: string | undefined;
1608
- channelId?: string | undefined;
1609
- status?: "active" | "pending" | undefined;
1681
+ wabaBusinessId?: string | null | undefined;
1682
+ wabaExternalId?: string | null | undefined;
1683
+ phoneNumberId?: string | null | undefined;
1684
+ email?: string | null | undefined;
1685
+ clientId?: string | null | undefined;
1686
+ channelId?: string | null | undefined;
1687
+ waapiInstanceId?: string | null | undefined;
1688
+ qr?: string | null | undefined;
1689
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1610
1690
  apiKey?: string | undefined;
1611
1691
  tier?: "basic" | "regular" | "premium" | undefined;
1692
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1612
1693
  } | undefined;
1613
1694
  vonageCredentials?: {
1614
1695
  apiKey: string;
@@ -1679,7 +1760,7 @@ export declare const telegramContract: {
1679
1760
  id: z.ZodOptional<z.ZodString>;
1680
1761
  message: z.ZodOptional<z.ZodString>;
1681
1762
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1682
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1763
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "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"]>;
1683
1764
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1684
1765
  metadata: z.ZodOptional<z.ZodAny>;
1685
1766
  platformId: z.ZodOptional<z.ZodString>;
@@ -1735,7 +1816,7 @@ export declare const telegramContract: {
1735
1816
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1736
1817
  label: z.ZodOptional<z.ZodString>;
1737
1818
  }, "strip", z.ZodTypeAny, {
1738
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1819
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
1739
1820
  direction: "incoming" | "outgoing" | "system";
1740
1821
  id?: string | undefined;
1741
1822
  message?: string | undefined;
@@ -1770,7 +1851,7 @@ export declare const telegramContract: {
1770
1851
  editedAt?: string | Date | null | undefined;
1771
1852
  label?: string | undefined;
1772
1853
  }, {
1773
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1854
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
1774
1855
  direction: "incoming" | "outgoing" | "system";
1775
1856
  id?: string | undefined;
1776
1857
  message?: string | undefined;
@@ -1807,7 +1888,7 @@ export declare const telegramContract: {
1807
1888
  }>;
1808
1889
  }, "strip", z.ZodTypeAny, {
1809
1890
  message: {
1810
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1891
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
1811
1892
  direction: "incoming" | "outgoing" | "system";
1812
1893
  id?: string | undefined;
1813
1894
  message?: string | undefined;
@@ -1856,15 +1937,18 @@ export declare const telegramContract: {
1856
1937
  additionalCredentials?: any;
1857
1938
  senderId?: string | undefined;
1858
1939
  whatsapp?: {
1859
- email: string;
1860
- wabaExternalId: string;
1861
- phoneNumberId: string;
1862
- wabaBusinessId?: string | undefined;
1863
- clientId?: string | undefined;
1864
- channelId?: string | undefined;
1865
- status?: "active" | "pending" | undefined;
1940
+ wabaBusinessId?: string | null | undefined;
1941
+ wabaExternalId?: string | null | undefined;
1942
+ phoneNumberId?: string | null | undefined;
1943
+ email?: string | null | undefined;
1944
+ clientId?: string | null | undefined;
1945
+ channelId?: string | null | undefined;
1946
+ waapiInstanceId?: string | null | undefined;
1947
+ qr?: string | null | undefined;
1948
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1866
1949
  apiKey?: string | undefined;
1867
1950
  tier?: "basic" | "regular" | "premium" | undefined;
1951
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1868
1952
  } | undefined;
1869
1953
  vonageCredentials?: {
1870
1954
  apiKey: string;
@@ -1934,7 +2018,7 @@ export declare const telegramContract: {
1934
2018
  isBot: boolean | null;
1935
2019
  }, {
1936
2020
  message: {
1937
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2021
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
1938
2022
  direction: "incoming" | "outgoing" | "system";
1939
2023
  id?: string | undefined;
1940
2024
  message?: string | undefined;
@@ -1983,15 +2067,18 @@ export declare const telegramContract: {
1983
2067
  additionalCredentials?: any;
1984
2068
  senderId?: string | undefined;
1985
2069
  whatsapp?: {
1986
- email: string;
1987
- wabaExternalId: string;
1988
- phoneNumberId: string;
1989
- wabaBusinessId?: string | undefined;
1990
- clientId?: string | undefined;
1991
- channelId?: string | undefined;
1992
- status?: "active" | "pending" | undefined;
2070
+ wabaBusinessId?: string | null | undefined;
2071
+ wabaExternalId?: string | null | undefined;
2072
+ phoneNumberId?: string | null | undefined;
2073
+ email?: string | null | undefined;
2074
+ clientId?: string | null | undefined;
2075
+ channelId?: string | null | undefined;
2076
+ waapiInstanceId?: string | null | undefined;
2077
+ qr?: string | null | undefined;
2078
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1993
2079
  apiKey?: string | undefined;
1994
2080
  tier?: "basic" | "regular" | "premium" | undefined;
2081
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1995
2082
  } | undefined;
1996
2083
  vonageCredentials?: {
1997
2084
  apiKey: string;
@@ -2065,7 +2152,7 @@ export declare const telegramContract: {
2065
2152
  200: z.ZodObject<{
2066
2153
  requestId: z.ZodString;
2067
2154
  data: z.ZodObject<{
2068
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2155
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "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"]>;
2069
2156
  message: z.ZodString;
2070
2157
  id: z.ZodString;
2071
2158
  url: z.ZodString;
@@ -2290,9 +2377,10 @@ export declare const telegramContract: {
2290
2377
  fileSize: z.ZodNumber;
2291
2378
  fileKey: z.ZodString;
2292
2379
  fileUrl: z.ZodNullable<z.ZodString>;
2293
- status: z.ZodOptional<z.ZodString>;
2380
+ status: z.ZodNullable<z.ZodString>;
2294
2381
  }, "strip", z.ZodTypeAny, {
2295
2382
  id: string;
2383
+ status: string | null;
2296
2384
  createdAt: Date;
2297
2385
  updatedAt: Date;
2298
2386
  deletedAt: Date | null;
@@ -2301,9 +2389,9 @@ export declare const telegramContract: {
2301
2389
  bucketName: string;
2302
2390
  fileSize: number;
2303
2391
  fileUrl: string | null;
2304
- status?: string | undefined;
2305
2392
  }, {
2306
2393
  id: string;
2394
+ status: string | null;
2307
2395
  createdAt: Date;
2308
2396
  updatedAt: Date;
2309
2397
  deletedAt: Date | null;
@@ -2312,7 +2400,6 @@ export declare const telegramContract: {
2312
2400
  bucketName: string;
2313
2401
  fileSize: number;
2314
2402
  fileUrl: string | null;
2315
- status?: string | undefined;
2316
2403
  }>;
2317
2404
  assignee: z.ZodObject<{
2318
2405
  id: z.ZodString;
@@ -2907,9 +2994,10 @@ export declare const telegramContract: {
2907
2994
  fileSize: z.ZodNumber;
2908
2995
  fileKey: z.ZodString;
2909
2996
  fileUrl: z.ZodNullable<z.ZodString>;
2910
- status: z.ZodOptional<z.ZodString>;
2997
+ status: z.ZodNullable<z.ZodString>;
2911
2998
  }, "strip", z.ZodTypeAny, {
2912
2999
  id: string;
3000
+ status: string | null;
2913
3001
  createdAt: Date;
2914
3002
  updatedAt: Date;
2915
3003
  deletedAt: Date | null;
@@ -2918,9 +3006,9 @@ export declare const telegramContract: {
2918
3006
  bucketName: string;
2919
3007
  fileSize: number;
2920
3008
  fileUrl: string | null;
2921
- status?: string | undefined;
2922
3009
  }, {
2923
3010
  id: string;
3011
+ status: string | null;
2924
3012
  createdAt: Date;
2925
3013
  updatedAt: Date;
2926
3014
  deletedAt: Date | null;
@@ -2929,7 +3017,6 @@ export declare const telegramContract: {
2929
3017
  bucketName: string;
2930
3018
  fileSize: number;
2931
3019
  fileUrl: string | null;
2932
- status?: string | undefined;
2933
3020
  }>, "many">;
2934
3021
  }, "strip", z.ZodTypeAny, {
2935
3022
  id: string;
@@ -2956,6 +3043,7 @@ export declare const telegramContract: {
2956
3043
  dateValue: Date | null;
2957
3044
  uploads: {
2958
3045
  id: string;
3046
+ status: string | null;
2959
3047
  createdAt: Date;
2960
3048
  updatedAt: Date;
2961
3049
  deletedAt: Date | null;
@@ -2964,7 +3052,6 @@ export declare const telegramContract: {
2964
3052
  bucketName: string;
2965
3053
  fileSize: number;
2966
3054
  fileUrl: string | null;
2967
- status?: string | undefined;
2968
3055
  }[];
2969
3056
  }, {
2970
3057
  id: string;
@@ -2991,6 +3078,7 @@ export declare const telegramContract: {
2991
3078
  dateValue: Date | null;
2992
3079
  uploads: {
2993
3080
  id: string;
3081
+ status: string | null;
2994
3082
  createdAt: Date;
2995
3083
  updatedAt: Date;
2996
3084
  deletedAt: Date | null;
@@ -2999,7 +3087,6 @@ export declare const telegramContract: {
2999
3087
  bucketName: string;
3000
3088
  fileSize: number;
3001
3089
  fileUrl: string | null;
3002
- status?: string | undefined;
3003
3090
  }[];
3004
3091
  }>, "many">;
3005
3092
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3139,6 +3226,7 @@ export declare const telegramContract: {
3139
3226
  dateValue: Date | null;
3140
3227
  uploads: {
3141
3228
  id: string;
3229
+ status: string | null;
3142
3230
  createdAt: Date;
3143
3231
  updatedAt: Date;
3144
3232
  deletedAt: Date | null;
@@ -3147,7 +3235,6 @@ export declare const telegramContract: {
3147
3235
  bucketName: string;
3148
3236
  fileSize: number;
3149
3237
  fileUrl: string | null;
3150
- status?: string | undefined;
3151
3238
  }[];
3152
3239
  }[];
3153
3240
  company: {
@@ -3250,6 +3337,7 @@ export declare const telegramContract: {
3250
3337
  dateValue: Date | null;
3251
3338
  uploads: {
3252
3339
  id: string;
3340
+ status: string | null;
3253
3341
  createdAt: Date;
3254
3342
  updatedAt: Date;
3255
3343
  deletedAt: Date | null;
@@ -3258,7 +3346,6 @@ export declare const telegramContract: {
3258
3346
  bucketName: string;
3259
3347
  fileSize: number;
3260
3348
  fileUrl: string | null;
3261
- status?: string | undefined;
3262
3349
  }[];
3263
3350
  }[];
3264
3351
  company: {
@@ -3374,6 +3461,7 @@ export declare const telegramContract: {
3374
3461
  dateValue: Date | null;
3375
3462
  uploads: {
3376
3463
  id: string;
3464
+ status: string | null;
3377
3465
  createdAt: Date;
3378
3466
  updatedAt: Date;
3379
3467
  deletedAt: Date | null;
@@ -3382,7 +3470,6 @@ export declare const telegramContract: {
3382
3470
  bucketName: string;
3383
3471
  fileSize: number;
3384
3472
  fileUrl: string | null;
3385
- status?: string | undefined;
3386
3473
  }[];
3387
3474
  }[];
3388
3475
  company: {
@@ -3500,6 +3587,7 @@ export declare const telegramContract: {
3500
3587
  dateValue: Date | null;
3501
3588
  uploads: {
3502
3589
  id: string;
3590
+ status: string | null;
3503
3591
  createdAt: Date;
3504
3592
  updatedAt: Date;
3505
3593
  deletedAt: Date | null;
@@ -3508,7 +3596,6 @@ export declare const telegramContract: {
3508
3596
  bucketName: string;
3509
3597
  fileSize: number;
3510
3598
  fileUrl: string | null;
3511
- status?: string | undefined;
3512
3599
  }[];
3513
3600
  }[];
3514
3601
  company: {
@@ -4005,35 +4092,44 @@ export declare const telegramContract: {
4005
4092
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4006
4093
  senderId: z.ZodOptional<z.ZodString>;
4007
4094
  whatsapp: z.ZodOptional<z.ZodObject<{
4008
- wabaBusinessId: z.ZodOptional<z.ZodString>;
4009
- wabaExternalId: z.ZodString;
4010
- phoneNumberId: z.ZodString;
4011
- email: z.ZodString;
4012
- clientId: z.ZodOptional<z.ZodString>;
4013
- channelId: z.ZodOptional<z.ZodString>;
4014
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4095
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4096
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4097
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4098
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4099
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4100
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4101
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4102
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4103
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
4015
4104
  apiKey: z.ZodOptional<z.ZodString>;
4016
4105
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4106
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
4017
4107
  }, "strip", z.ZodTypeAny, {
4018
- email: string;
4019
- wabaExternalId: string;
4020
- phoneNumberId: string;
4021
- wabaBusinessId?: string | undefined;
4022
- clientId?: string | undefined;
4023
- channelId?: string | undefined;
4024
- status?: "active" | "pending" | undefined;
4108
+ wabaBusinessId?: string | null | undefined;
4109
+ wabaExternalId?: string | null | undefined;
4110
+ phoneNumberId?: string | null | undefined;
4111
+ email?: string | null | undefined;
4112
+ clientId?: string | null | undefined;
4113
+ channelId?: string | null | undefined;
4114
+ waapiInstanceId?: string | null | undefined;
4115
+ qr?: string | null | undefined;
4116
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4025
4117
  apiKey?: string | undefined;
4026
4118
  tier?: "basic" | "regular" | "premium" | undefined;
4119
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4027
4120
  }, {
4028
- email: string;
4029
- wabaExternalId: string;
4030
- phoneNumberId: string;
4031
- wabaBusinessId?: string | undefined;
4032
- clientId?: string | undefined;
4033
- channelId?: string | undefined;
4034
- status?: "active" | "pending" | undefined;
4121
+ wabaBusinessId?: string | null | undefined;
4122
+ wabaExternalId?: string | null | undefined;
4123
+ phoneNumberId?: string | null | undefined;
4124
+ email?: string | null | undefined;
4125
+ clientId?: string | null | undefined;
4126
+ channelId?: string | null | undefined;
4127
+ waapiInstanceId?: string | null | undefined;
4128
+ qr?: string | null | undefined;
4129
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4035
4130
  apiKey?: string | undefined;
4036
4131
  tier?: "basic" | "regular" | "premium" | undefined;
4132
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4037
4133
  }>>;
4038
4134
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4039
4135
  mobileNumber: z.ZodString;
@@ -4059,15 +4155,18 @@ export declare const telegramContract: {
4059
4155
  additionalCredentials?: any;
4060
4156
  senderId?: string | undefined;
4061
4157
  whatsapp?: {
4062
- email: string;
4063
- wabaExternalId: string;
4064
- phoneNumberId: string;
4065
- wabaBusinessId?: string | undefined;
4066
- clientId?: string | undefined;
4067
- channelId?: string | undefined;
4068
- status?: "active" | "pending" | undefined;
4158
+ wabaBusinessId?: string | null | undefined;
4159
+ wabaExternalId?: string | null | undefined;
4160
+ phoneNumberId?: string | null | undefined;
4161
+ email?: string | null | undefined;
4162
+ clientId?: string | null | undefined;
4163
+ channelId?: string | null | undefined;
4164
+ waapiInstanceId?: string | null | undefined;
4165
+ qr?: string | null | undefined;
4166
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4069
4167
  apiKey?: string | undefined;
4070
4168
  tier?: "basic" | "regular" | "premium" | undefined;
4169
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4071
4170
  } | undefined;
4072
4171
  vonageCredentials?: {
4073
4172
  apiKey: string;
@@ -4085,15 +4184,18 @@ export declare const telegramContract: {
4085
4184
  additionalCredentials?: any;
4086
4185
  senderId?: string | undefined;
4087
4186
  whatsapp?: {
4088
- email: string;
4089
- wabaExternalId: string;
4090
- phoneNumberId: string;
4091
- wabaBusinessId?: string | undefined;
4092
- clientId?: string | undefined;
4093
- channelId?: string | undefined;
4094
- status?: "active" | "pending" | undefined;
4187
+ wabaBusinessId?: string | null | undefined;
4188
+ wabaExternalId?: string | null | undefined;
4189
+ phoneNumberId?: string | null | undefined;
4190
+ email?: string | null | undefined;
4191
+ clientId?: string | null | undefined;
4192
+ channelId?: string | null | undefined;
4193
+ waapiInstanceId?: string | null | undefined;
4194
+ qr?: string | null | undefined;
4195
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4095
4196
  apiKey?: string | undefined;
4096
4197
  tier?: "basic" | "regular" | "premium" | undefined;
4198
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4097
4199
  } | undefined;
4098
4200
  vonageCredentials?: {
4099
4201
  apiKey: string;
@@ -4345,15 +4447,18 @@ export declare const telegramContract: {
4345
4447
  additionalCredentials?: any;
4346
4448
  senderId?: string | undefined;
4347
4449
  whatsapp?: {
4348
- email: string;
4349
- wabaExternalId: string;
4350
- phoneNumberId: string;
4351
- wabaBusinessId?: string | undefined;
4352
- clientId?: string | undefined;
4353
- channelId?: string | undefined;
4354
- status?: "active" | "pending" | undefined;
4450
+ wabaBusinessId?: string | null | undefined;
4451
+ wabaExternalId?: string | null | undefined;
4452
+ phoneNumberId?: string | null | undefined;
4453
+ email?: string | null | undefined;
4454
+ clientId?: string | null | undefined;
4455
+ channelId?: string | null | undefined;
4456
+ waapiInstanceId?: string | null | undefined;
4457
+ qr?: string | null | undefined;
4458
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4355
4459
  apiKey?: string | undefined;
4356
4460
  tier?: "basic" | "regular" | "premium" | undefined;
4461
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4357
4462
  } | undefined;
4358
4463
  vonageCredentials?: {
4359
4464
  apiKey: string;
@@ -4436,15 +4541,18 @@ export declare const telegramContract: {
4436
4541
  additionalCredentials?: any;
4437
4542
  senderId?: string | undefined;
4438
4543
  whatsapp?: {
4439
- email: string;
4440
- wabaExternalId: string;
4441
- phoneNumberId: string;
4442
- wabaBusinessId?: string | undefined;
4443
- clientId?: string | undefined;
4444
- channelId?: string | undefined;
4445
- status?: "active" | "pending" | undefined;
4544
+ wabaBusinessId?: string | null | undefined;
4545
+ wabaExternalId?: string | null | undefined;
4546
+ phoneNumberId?: string | null | undefined;
4547
+ email?: string | null | undefined;
4548
+ clientId?: string | null | undefined;
4549
+ channelId?: string | null | undefined;
4550
+ waapiInstanceId?: string | null | undefined;
4551
+ qr?: string | null | undefined;
4552
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4446
4553
  apiKey?: string | undefined;
4447
4554
  tier?: "basic" | "regular" | "premium" | undefined;
4555
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4448
4556
  } | undefined;
4449
4557
  vonageCredentials?: {
4450
4558
  apiKey: string;
@@ -5091,15 +5199,18 @@ export declare const telegramContract: {
5091
5199
  additionalCredentials?: any;
5092
5200
  senderId?: string | undefined;
5093
5201
  whatsapp?: {
5094
- email: string;
5095
- wabaExternalId: string;
5096
- phoneNumberId: string;
5097
- wabaBusinessId?: string | undefined;
5098
- clientId?: string | undefined;
5099
- channelId?: string | undefined;
5100
- status?: "active" | "pending" | undefined;
5202
+ wabaBusinessId?: string | null | undefined;
5203
+ wabaExternalId?: string | null | undefined;
5204
+ phoneNumberId?: string | null | undefined;
5205
+ email?: string | null | undefined;
5206
+ clientId?: string | null | undefined;
5207
+ channelId?: string | null | undefined;
5208
+ waapiInstanceId?: string | null | undefined;
5209
+ qr?: string | null | undefined;
5210
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5101
5211
  apiKey?: string | undefined;
5102
5212
  tier?: "basic" | "regular" | "premium" | undefined;
5213
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5103
5214
  } | undefined;
5104
5215
  vonageCredentials?: {
5105
5216
  apiKey: string;
@@ -5271,6 +5382,7 @@ export declare const telegramContract: {
5271
5382
  dateValue: Date | null;
5272
5383
  uploads: {
5273
5384
  id: string;
5385
+ status: string | null;
5274
5386
  createdAt: Date;
5275
5387
  updatedAt: Date;
5276
5388
  deletedAt: Date | null;
@@ -5279,7 +5391,6 @@ export declare const telegramContract: {
5279
5391
  bucketName: string;
5280
5392
  fileSize: number;
5281
5393
  fileUrl: string | null;
5282
- status?: string | undefined;
5283
5394
  }[];
5284
5395
  }[];
5285
5396
  company: {
@@ -5515,15 +5626,18 @@ export declare const telegramContract: {
5515
5626
  additionalCredentials?: any;
5516
5627
  senderId?: string | undefined;
5517
5628
  whatsapp?: {
5518
- email: string;
5519
- wabaExternalId: string;
5520
- phoneNumberId: string;
5521
- wabaBusinessId?: string | undefined;
5522
- clientId?: string | undefined;
5523
- channelId?: string | undefined;
5524
- status?: "active" | "pending" | undefined;
5629
+ wabaBusinessId?: string | null | undefined;
5630
+ wabaExternalId?: string | null | undefined;
5631
+ phoneNumberId?: string | null | undefined;
5632
+ email?: string | null | undefined;
5633
+ clientId?: string | null | undefined;
5634
+ channelId?: string | null | undefined;
5635
+ waapiInstanceId?: string | null | undefined;
5636
+ qr?: string | null | undefined;
5637
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5525
5638
  apiKey?: string | undefined;
5526
5639
  tier?: "basic" | "regular" | "premium" | undefined;
5640
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5527
5641
  } | undefined;
5528
5642
  vonageCredentials?: {
5529
5643
  apiKey: string;
@@ -5695,6 +5809,7 @@ export declare const telegramContract: {
5695
5809
  dateValue: Date | null;
5696
5810
  uploads: {
5697
5811
  id: string;
5812
+ status: string | null;
5698
5813
  createdAt: Date;
5699
5814
  updatedAt: Date;
5700
5815
  deletedAt: Date | null;
@@ -5703,7 +5818,6 @@ export declare const telegramContract: {
5703
5818
  bucketName: string;
5704
5819
  fileSize: number;
5705
5820
  fileUrl: string | null;
5706
- status?: string | undefined;
5707
5821
  }[];
5708
5822
  }[];
5709
5823
  company: {
@@ -5964,7 +6078,7 @@ export declare const telegramContract: {
5964
6078
  deletedAt: z.ZodNullable<z.ZodDate>;
5965
6079
  message: z.ZodString;
5966
6080
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5967
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6081
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "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"]>;
5968
6082
  readAt: z.ZodDate;
5969
6083
  metadata: z.ZodAny;
5970
6084
  platformId: z.ZodString;
@@ -5985,9 +6099,10 @@ export declare const telegramContract: {
5985
6099
  fileSize: z.ZodNumber;
5986
6100
  fileKey: z.ZodString;
5987
6101
  fileUrl: z.ZodNullable<z.ZodString>;
5988
- status: z.ZodOptional<z.ZodString>;
6102
+ status: z.ZodNullable<z.ZodString>;
5989
6103
  }, "strip", z.ZodTypeAny, {
5990
6104
  id: string;
6105
+ status: string | null;
5991
6106
  createdAt: Date;
5992
6107
  updatedAt: Date;
5993
6108
  deletedAt: Date | null;
@@ -5996,9 +6111,9 @@ export declare const telegramContract: {
5996
6111
  bucketName: string;
5997
6112
  fileSize: number;
5998
6113
  fileUrl: string | null;
5999
- status?: string | undefined;
6000
6114
  }, {
6001
6115
  id: string;
6116
+ status: string | null;
6002
6117
  createdAt: Date;
6003
6118
  updatedAt: Date;
6004
6119
  deletedAt: Date | null;
@@ -6007,7 +6122,6 @@ export declare const telegramContract: {
6007
6122
  bucketName: string;
6008
6123
  fileSize: number;
6009
6124
  fileUrl: string | null;
6010
- status?: string | undefined;
6011
6125
  }>;
6012
6126
  actor: z.ZodObject<{
6013
6127
  id: z.ZodString;
@@ -6622,7 +6736,7 @@ export declare const telegramContract: {
6622
6736
  };
6623
6737
  }>;
6624
6738
  }, "strip", z.ZodTypeAny, {
6625
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6739
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
6626
6740
  message: string;
6627
6741
  id: string;
6628
6742
  url: string;
@@ -6676,6 +6790,7 @@ export declare const telegramContract: {
6676
6790
  };
6677
6791
  upload: {
6678
6792
  id: string;
6793
+ status: string | null;
6679
6794
  createdAt: Date;
6680
6795
  updatedAt: Date;
6681
6796
  deletedAt: Date | null;
@@ -6684,7 +6799,6 @@ export declare const telegramContract: {
6684
6799
  bucketName: string;
6685
6800
  fileSize: number;
6686
6801
  fileUrl: string | null;
6687
- status?: string | undefined;
6688
6802
  };
6689
6803
  assignee: {
6690
6804
  id: string;
@@ -6784,7 +6898,7 @@ export declare const telegramContract: {
6784
6898
  metadata?: any;
6785
6899
  template?: any;
6786
6900
  }, {
6787
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6901
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
6788
6902
  message: string;
6789
6903
  id: string;
6790
6904
  url: string;
@@ -6838,6 +6952,7 @@ export declare const telegramContract: {
6838
6952
  };
6839
6953
  upload: {
6840
6954
  id: string;
6955
+ status: string | null;
6841
6956
  createdAt: Date;
6842
6957
  updatedAt: Date;
6843
6958
  deletedAt: Date | null;
@@ -6846,7 +6961,6 @@ export declare const telegramContract: {
6846
6961
  bucketName: string;
6847
6962
  fileSize: number;
6848
6963
  fileUrl: string | null;
6849
- status?: string | undefined;
6850
6964
  };
6851
6965
  assignee: {
6852
6966
  id: string;
@@ -7158,7 +7272,7 @@ export declare const telegramContract: {
7158
7272
  deletedAt: z.ZodNullable<z.ZodDate>;
7159
7273
  message: z.ZodString;
7160
7274
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7161
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7275
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "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"]>;
7162
7276
  readAt: z.ZodDate;
7163
7277
  metadata: z.ZodAny;
7164
7278
  platformId: z.ZodString;
@@ -7557,9 +7671,10 @@ export declare const telegramContract: {
7557
7671
  fileSize: z.ZodNumber;
7558
7672
  fileKey: z.ZodString;
7559
7673
  fileUrl: z.ZodNullable<z.ZodString>;
7560
- status: z.ZodOptional<z.ZodString>;
7674
+ status: z.ZodNullable<z.ZodString>;
7561
7675
  }, "strip", z.ZodTypeAny, {
7562
7676
  id: string;
7677
+ status: string | null;
7563
7678
  createdAt: Date;
7564
7679
  updatedAt: Date;
7565
7680
  deletedAt: Date | null;
@@ -7568,9 +7683,9 @@ export declare const telegramContract: {
7568
7683
  bucketName: string;
7569
7684
  fileSize: number;
7570
7685
  fileUrl: string | null;
7571
- status?: string | undefined;
7572
7686
  }, {
7573
7687
  id: string;
7688
+ status: string | null;
7574
7689
  createdAt: Date;
7575
7690
  updatedAt: Date;
7576
7691
  deletedAt: Date | null;
@@ -7579,7 +7694,6 @@ export declare const telegramContract: {
7579
7694
  bucketName: string;
7580
7695
  fileSize: number;
7581
7696
  fileUrl: string | null;
7582
- status?: string | undefined;
7583
7697
  }>, "many">;
7584
7698
  }, "strip", z.ZodTypeAny, {
7585
7699
  id: string;
@@ -7606,6 +7720,7 @@ export declare const telegramContract: {
7606
7720
  dateValue: Date | null;
7607
7721
  uploads: {
7608
7722
  id: string;
7723
+ status: string | null;
7609
7724
  createdAt: Date;
7610
7725
  updatedAt: Date;
7611
7726
  deletedAt: Date | null;
@@ -7614,7 +7729,6 @@ export declare const telegramContract: {
7614
7729
  bucketName: string;
7615
7730
  fileSize: number;
7616
7731
  fileUrl: string | null;
7617
- status?: string | undefined;
7618
7732
  }[];
7619
7733
  }, {
7620
7734
  id: string;
@@ -7641,6 +7755,7 @@ export declare const telegramContract: {
7641
7755
  dateValue: Date | null;
7642
7756
  uploads: {
7643
7757
  id: string;
7758
+ status: string | null;
7644
7759
  createdAt: Date;
7645
7760
  updatedAt: Date;
7646
7761
  deletedAt: Date | null;
@@ -7649,7 +7764,6 @@ export declare const telegramContract: {
7649
7764
  bucketName: string;
7650
7765
  fileSize: number;
7651
7766
  fileUrl: string | null;
7652
- status?: string | undefined;
7653
7767
  }[];
7654
7768
  }>, "many">;
7655
7769
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7789,6 +7903,7 @@ export declare const telegramContract: {
7789
7903
  dateValue: Date | null;
7790
7904
  uploads: {
7791
7905
  id: string;
7906
+ status: string | null;
7792
7907
  createdAt: Date;
7793
7908
  updatedAt: Date;
7794
7909
  deletedAt: Date | null;
@@ -7797,7 +7912,6 @@ export declare const telegramContract: {
7797
7912
  bucketName: string;
7798
7913
  fileSize: number;
7799
7914
  fileUrl: string | null;
7800
- status?: string | undefined;
7801
7915
  }[];
7802
7916
  }[];
7803
7917
  company: {
@@ -7900,6 +8014,7 @@ export declare const telegramContract: {
7900
8014
  dateValue: Date | null;
7901
8015
  uploads: {
7902
8016
  id: string;
8017
+ status: string | null;
7903
8018
  createdAt: Date;
7904
8019
  updatedAt: Date;
7905
8020
  deletedAt: Date | null;
@@ -7908,7 +8023,6 @@ export declare const telegramContract: {
7908
8023
  bucketName: string;
7909
8024
  fileSize: number;
7910
8025
  fileUrl: string | null;
7911
- status?: string | undefined;
7912
8026
  }[];
7913
8027
  }[];
7914
8028
  company: {
@@ -8024,6 +8138,7 @@ export declare const telegramContract: {
8024
8138
  dateValue: Date | null;
8025
8139
  uploads: {
8026
8140
  id: string;
8141
+ status: string | null;
8027
8142
  createdAt: Date;
8028
8143
  updatedAt: Date;
8029
8144
  deletedAt: Date | null;
@@ -8032,7 +8147,6 @@ export declare const telegramContract: {
8032
8147
  bucketName: string;
8033
8148
  fileSize: number;
8034
8149
  fileUrl: string | null;
8035
- status?: string | undefined;
8036
8150
  }[];
8037
8151
  }[];
8038
8152
  company: {
@@ -8150,6 +8264,7 @@ export declare const telegramContract: {
8150
8264
  dateValue: Date | null;
8151
8265
  uploads: {
8152
8266
  id: string;
8267
+ status: string | null;
8153
8268
  createdAt: Date;
8154
8269
  updatedAt: Date;
8155
8270
  deletedAt: Date | null;
@@ -8158,7 +8273,6 @@ export declare const telegramContract: {
8158
8273
  bucketName: string;
8159
8274
  fileSize: number;
8160
8275
  fileUrl: string | null;
8161
- status?: string | undefined;
8162
8276
  }[];
8163
8277
  }[];
8164
8278
  company: {
@@ -8655,35 +8769,44 @@ export declare const telegramContract: {
8655
8769
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8656
8770
  senderId: z.ZodOptional<z.ZodString>;
8657
8771
  whatsapp: z.ZodOptional<z.ZodObject<{
8658
- wabaBusinessId: z.ZodOptional<z.ZodString>;
8659
- wabaExternalId: z.ZodString;
8660
- phoneNumberId: z.ZodString;
8661
- email: z.ZodString;
8662
- clientId: z.ZodOptional<z.ZodString>;
8663
- channelId: z.ZodOptional<z.ZodString>;
8664
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8772
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8773
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8774
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8775
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8776
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8777
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8778
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8779
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8780
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
8665
8781
  apiKey: z.ZodOptional<z.ZodString>;
8666
8782
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
8783
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
8667
8784
  }, "strip", z.ZodTypeAny, {
8668
- email: string;
8669
- wabaExternalId: string;
8670
- phoneNumberId: string;
8671
- wabaBusinessId?: string | undefined;
8672
- clientId?: string | undefined;
8673
- channelId?: string | undefined;
8674
- status?: "active" | "pending" | undefined;
8785
+ wabaBusinessId?: string | null | undefined;
8786
+ wabaExternalId?: string | null | undefined;
8787
+ phoneNumberId?: string | null | undefined;
8788
+ email?: string | null | undefined;
8789
+ clientId?: string | null | undefined;
8790
+ channelId?: string | null | undefined;
8791
+ waapiInstanceId?: string | null | undefined;
8792
+ qr?: string | null | undefined;
8793
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8675
8794
  apiKey?: string | undefined;
8676
8795
  tier?: "basic" | "regular" | "premium" | undefined;
8796
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8677
8797
  }, {
8678
- email: string;
8679
- wabaExternalId: string;
8680
- phoneNumberId: string;
8681
- wabaBusinessId?: string | undefined;
8682
- clientId?: string | undefined;
8683
- channelId?: string | undefined;
8684
- status?: "active" | "pending" | undefined;
8798
+ wabaBusinessId?: string | null | undefined;
8799
+ wabaExternalId?: string | null | undefined;
8800
+ phoneNumberId?: string | null | undefined;
8801
+ email?: string | null | undefined;
8802
+ clientId?: string | null | undefined;
8803
+ channelId?: string | null | undefined;
8804
+ waapiInstanceId?: string | null | undefined;
8805
+ qr?: string | null | undefined;
8806
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8685
8807
  apiKey?: string | undefined;
8686
8808
  tier?: "basic" | "regular" | "premium" | undefined;
8809
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8687
8810
  }>>;
8688
8811
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8689
8812
  mobileNumber: z.ZodString;
@@ -8709,15 +8832,18 @@ export declare const telegramContract: {
8709
8832
  additionalCredentials?: any;
8710
8833
  senderId?: string | undefined;
8711
8834
  whatsapp?: {
8712
- email: string;
8713
- wabaExternalId: string;
8714
- phoneNumberId: string;
8715
- wabaBusinessId?: string | undefined;
8716
- clientId?: string | undefined;
8717
- channelId?: string | undefined;
8718
- status?: "active" | "pending" | undefined;
8835
+ wabaBusinessId?: string | null | undefined;
8836
+ wabaExternalId?: string | null | undefined;
8837
+ phoneNumberId?: string | null | undefined;
8838
+ email?: string | null | undefined;
8839
+ clientId?: string | null | undefined;
8840
+ channelId?: string | null | undefined;
8841
+ waapiInstanceId?: string | null | undefined;
8842
+ qr?: string | null | undefined;
8843
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8719
8844
  apiKey?: string | undefined;
8720
8845
  tier?: "basic" | "regular" | "premium" | undefined;
8846
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8721
8847
  } | undefined;
8722
8848
  vonageCredentials?: {
8723
8849
  apiKey: string;
@@ -8735,15 +8861,18 @@ export declare const telegramContract: {
8735
8861
  additionalCredentials?: any;
8736
8862
  senderId?: string | undefined;
8737
8863
  whatsapp?: {
8738
- email: string;
8739
- wabaExternalId: string;
8740
- phoneNumberId: string;
8741
- wabaBusinessId?: string | undefined;
8742
- clientId?: string | undefined;
8743
- channelId?: string | undefined;
8744
- status?: "active" | "pending" | undefined;
8864
+ wabaBusinessId?: string | null | undefined;
8865
+ wabaExternalId?: string | null | undefined;
8866
+ phoneNumberId?: string | null | undefined;
8867
+ email?: string | null | undefined;
8868
+ clientId?: string | null | undefined;
8869
+ channelId?: string | null | undefined;
8870
+ waapiInstanceId?: string | null | undefined;
8871
+ qr?: string | null | undefined;
8872
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8745
8873
  apiKey?: string | undefined;
8746
8874
  tier?: "basic" | "regular" | "premium" | undefined;
8875
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8747
8876
  } | undefined;
8748
8877
  vonageCredentials?: {
8749
8878
  apiKey: string;
@@ -8995,15 +9124,18 @@ export declare const telegramContract: {
8995
9124
  additionalCredentials?: any;
8996
9125
  senderId?: string | undefined;
8997
9126
  whatsapp?: {
8998
- email: string;
8999
- wabaExternalId: string;
9000
- phoneNumberId: string;
9001
- wabaBusinessId?: string | undefined;
9002
- clientId?: string | undefined;
9003
- channelId?: string | undefined;
9004
- status?: "active" | "pending" | undefined;
9127
+ wabaBusinessId?: string | null | undefined;
9128
+ wabaExternalId?: string | null | undefined;
9129
+ phoneNumberId?: string | null | undefined;
9130
+ email?: string | null | undefined;
9131
+ clientId?: string | null | undefined;
9132
+ channelId?: string | null | undefined;
9133
+ waapiInstanceId?: string | null | undefined;
9134
+ qr?: string | null | undefined;
9135
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9005
9136
  apiKey?: string | undefined;
9006
9137
  tier?: "basic" | "regular" | "premium" | undefined;
9138
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9007
9139
  } | undefined;
9008
9140
  vonageCredentials?: {
9009
9141
  apiKey: string;
@@ -9086,15 +9218,18 @@ export declare const telegramContract: {
9086
9218
  additionalCredentials?: any;
9087
9219
  senderId?: string | undefined;
9088
9220
  whatsapp?: {
9089
- email: string;
9090
- wabaExternalId: string;
9091
- phoneNumberId: string;
9092
- wabaBusinessId?: string | undefined;
9093
- clientId?: string | undefined;
9094
- channelId?: string | undefined;
9095
- status?: "active" | "pending" | undefined;
9221
+ wabaBusinessId?: string | null | undefined;
9222
+ wabaExternalId?: string | null | undefined;
9223
+ phoneNumberId?: string | null | undefined;
9224
+ email?: string | null | undefined;
9225
+ clientId?: string | null | undefined;
9226
+ channelId?: string | null | undefined;
9227
+ waapiInstanceId?: string | null | undefined;
9228
+ qr?: string | null | undefined;
9229
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9096
9230
  apiKey?: string | undefined;
9097
9231
  tier?: "basic" | "regular" | "premium" | undefined;
9232
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9098
9233
  } | undefined;
9099
9234
  vonageCredentials?: {
9100
9235
  apiKey: string;
@@ -9741,15 +9876,18 @@ export declare const telegramContract: {
9741
9876
  additionalCredentials?: any;
9742
9877
  senderId?: string | undefined;
9743
9878
  whatsapp?: {
9744
- email: string;
9745
- wabaExternalId: string;
9746
- phoneNumberId: string;
9747
- wabaBusinessId?: string | undefined;
9748
- clientId?: string | undefined;
9749
- channelId?: string | undefined;
9750
- status?: "active" | "pending" | undefined;
9879
+ wabaBusinessId?: string | null | undefined;
9880
+ wabaExternalId?: string | null | undefined;
9881
+ phoneNumberId?: string | null | undefined;
9882
+ email?: string | null | undefined;
9883
+ clientId?: string | null | undefined;
9884
+ channelId?: string | null | undefined;
9885
+ waapiInstanceId?: string | null | undefined;
9886
+ qr?: string | null | undefined;
9887
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9751
9888
  apiKey?: string | undefined;
9752
9889
  tier?: "basic" | "regular" | "premium" | undefined;
9890
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9753
9891
  } | undefined;
9754
9892
  vonageCredentials?: {
9755
9893
  apiKey: string;
@@ -9921,6 +10059,7 @@ export declare const telegramContract: {
9921
10059
  dateValue: Date | null;
9922
10060
  uploads: {
9923
10061
  id: string;
10062
+ status: string | null;
9924
10063
  createdAt: Date;
9925
10064
  updatedAt: Date;
9926
10065
  deletedAt: Date | null;
@@ -9929,7 +10068,6 @@ export declare const telegramContract: {
9929
10068
  bucketName: string;
9930
10069
  fileSize: number;
9931
10070
  fileUrl: string | null;
9932
- status?: string | undefined;
9933
10071
  }[];
9934
10072
  }[];
9935
10073
  company: {
@@ -10165,15 +10303,18 @@ export declare const telegramContract: {
10165
10303
  additionalCredentials?: any;
10166
10304
  senderId?: string | undefined;
10167
10305
  whatsapp?: {
10168
- email: string;
10169
- wabaExternalId: string;
10170
- phoneNumberId: string;
10171
- wabaBusinessId?: string | undefined;
10172
- clientId?: string | undefined;
10173
- channelId?: string | undefined;
10174
- status?: "active" | "pending" | undefined;
10306
+ wabaBusinessId?: string | null | undefined;
10307
+ wabaExternalId?: string | null | undefined;
10308
+ phoneNumberId?: string | null | undefined;
10309
+ email?: string | null | undefined;
10310
+ clientId?: string | null | undefined;
10311
+ channelId?: string | null | undefined;
10312
+ waapiInstanceId?: string | null | undefined;
10313
+ qr?: string | null | undefined;
10314
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10175
10315
  apiKey?: string | undefined;
10176
10316
  tier?: "basic" | "regular" | "premium" | undefined;
10317
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10177
10318
  } | undefined;
10178
10319
  vonageCredentials?: {
10179
10320
  apiKey: string;
@@ -10345,6 +10486,7 @@ export declare const telegramContract: {
10345
10486
  dateValue: Date | null;
10346
10487
  uploads: {
10347
10488
  id: string;
10489
+ status: string | null;
10348
10490
  createdAt: Date;
10349
10491
  updatedAt: Date;
10350
10492
  deletedAt: Date | null;
@@ -10353,7 +10495,6 @@ export declare const telegramContract: {
10353
10495
  bucketName: string;
10354
10496
  fileSize: number;
10355
10497
  fileUrl: string | null;
10356
- status?: string | undefined;
10357
10498
  }[];
10358
10499
  }[];
10359
10500
  company: {
@@ -10586,9 +10727,10 @@ export declare const telegramContract: {
10586
10727
  fileSize: z.ZodNumber;
10587
10728
  fileKey: z.ZodString;
10588
10729
  fileUrl: z.ZodNullable<z.ZodString>;
10589
- status: z.ZodOptional<z.ZodString>;
10730
+ status: z.ZodNullable<z.ZodString>;
10590
10731
  }, "strip", z.ZodTypeAny, {
10591
10732
  id: string;
10733
+ status: string | null;
10592
10734
  createdAt: Date;
10593
10735
  updatedAt: Date;
10594
10736
  deletedAt: Date | null;
@@ -10597,9 +10739,9 @@ export declare const telegramContract: {
10597
10739
  bucketName: string;
10598
10740
  fileSize: number;
10599
10741
  fileUrl: string | null;
10600
- status?: string | undefined;
10601
10742
  }, {
10602
10743
  id: string;
10744
+ status: string | null;
10603
10745
  createdAt: Date;
10604
10746
  updatedAt: Date;
10605
10747
  deletedAt: Date | null;
@@ -10608,7 +10750,6 @@ export declare const telegramContract: {
10608
10750
  bucketName: string;
10609
10751
  fileSize: number;
10610
10752
  fileUrl: string | null;
10611
- status?: string | undefined;
10612
10753
  }>;
10613
10754
  repliedMessage: z.ZodLazy<z.ZodObject<{
10614
10755
  id: z.ZodString;
@@ -10617,7 +10758,7 @@ export declare const telegramContract: {
10617
10758
  deletedAt: z.ZodNullable<z.ZodDate>;
10618
10759
  message: z.ZodString;
10619
10760
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10620
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10761
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "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"]>;
10621
10762
  readAt: z.ZodDate;
10622
10763
  metadata: z.ZodAny;
10623
10764
  platformId: z.ZodString;
@@ -10638,9 +10779,10 @@ export declare const telegramContract: {
10638
10779
  fileSize: z.ZodNumber;
10639
10780
  fileKey: z.ZodString;
10640
10781
  fileUrl: z.ZodNullable<z.ZodString>;
10641
- status: z.ZodOptional<z.ZodString>;
10782
+ status: z.ZodNullable<z.ZodString>;
10642
10783
  }, "strip", z.ZodTypeAny, {
10643
10784
  id: string;
10785
+ status: string | null;
10644
10786
  createdAt: Date;
10645
10787
  updatedAt: Date;
10646
10788
  deletedAt: Date | null;
@@ -10649,9 +10791,9 @@ export declare const telegramContract: {
10649
10791
  bucketName: string;
10650
10792
  fileSize: number;
10651
10793
  fileUrl: string | null;
10652
- status?: string | undefined;
10653
10794
  }, {
10654
10795
  id: string;
10796
+ status: string | null;
10655
10797
  createdAt: Date;
10656
10798
  updatedAt: Date;
10657
10799
  deletedAt: Date | null;
@@ -10660,7 +10802,6 @@ export declare const telegramContract: {
10660
10802
  bucketName: string;
10661
10803
  fileSize: number;
10662
10804
  fileUrl: string | null;
10663
- status?: string | undefined;
10664
10805
  }>;
10665
10806
  actor: z.ZodObject<{
10666
10807
  id: z.ZodString;
@@ -11275,7 +11416,7 @@ export declare const telegramContract: {
11275
11416
  };
11276
11417
  }>;
11277
11418
  }, "strip", z.ZodTypeAny, {
11278
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11419
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
11279
11420
  message: string;
11280
11421
  id: string;
11281
11422
  url: string;
@@ -11329,6 +11470,7 @@ export declare const telegramContract: {
11329
11470
  };
11330
11471
  upload: {
11331
11472
  id: string;
11473
+ status: string | null;
11332
11474
  createdAt: Date;
11333
11475
  updatedAt: Date;
11334
11476
  deletedAt: Date | null;
@@ -11337,7 +11479,6 @@ export declare const telegramContract: {
11337
11479
  bucketName: string;
11338
11480
  fileSize: number;
11339
11481
  fileUrl: string | null;
11340
- status?: string | undefined;
11341
11482
  };
11342
11483
  assignee: {
11343
11484
  id: string;
@@ -11437,7 +11578,7 @@ export declare const telegramContract: {
11437
11578
  metadata?: any;
11438
11579
  template?: any;
11439
11580
  }, {
11440
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11581
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
11441
11582
  message: string;
11442
11583
  id: string;
11443
11584
  url: string;
@@ -11491,6 +11632,7 @@ export declare const telegramContract: {
11491
11632
  };
11492
11633
  upload: {
11493
11634
  id: string;
11635
+ status: string | null;
11494
11636
  createdAt: Date;
11495
11637
  updatedAt: Date;
11496
11638
  deletedAt: Date | null;
@@ -11499,7 +11641,6 @@ export declare const telegramContract: {
11499
11641
  bucketName: string;
11500
11642
  fileSize: number;
11501
11643
  fileUrl: string | null;
11502
- status?: string | undefined;
11503
11644
  };
11504
11645
  assignee: {
11505
11646
  id: string;
@@ -12239,7 +12380,7 @@ export declare const telegramContract: {
12239
12380
  editedMessageid: z.ZodString;
12240
12381
  label: z.ZodOptional<z.ZodString>;
12241
12382
  }, "strip", z.ZodTypeAny, {
12242
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12383
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
12243
12384
  message: string;
12244
12385
  id: string;
12245
12386
  url: string;
@@ -12293,6 +12434,7 @@ export declare const telegramContract: {
12293
12434
  };
12294
12435
  upload: {
12295
12436
  id: string;
12437
+ status: string | null;
12296
12438
  createdAt: Date;
12297
12439
  updatedAt: Date;
12298
12440
  deletedAt: Date | null;
@@ -12301,7 +12443,6 @@ export declare const telegramContract: {
12301
12443
  bucketName: string;
12302
12444
  fileSize: number;
12303
12445
  fileUrl: string | null;
12304
- status?: string | undefined;
12305
12446
  };
12306
12447
  assignee: {
12307
12448
  id: string;
@@ -12362,15 +12503,18 @@ export declare const telegramContract: {
12362
12503
  additionalCredentials?: any;
12363
12504
  senderId?: string | undefined;
12364
12505
  whatsapp?: {
12365
- email: string;
12366
- wabaExternalId: string;
12367
- phoneNumberId: string;
12368
- wabaBusinessId?: string | undefined;
12369
- clientId?: string | undefined;
12370
- channelId?: string | undefined;
12371
- status?: "active" | "pending" | undefined;
12506
+ wabaBusinessId?: string | null | undefined;
12507
+ wabaExternalId?: string | null | undefined;
12508
+ phoneNumberId?: string | null | undefined;
12509
+ email?: string | null | undefined;
12510
+ clientId?: string | null | undefined;
12511
+ channelId?: string | null | undefined;
12512
+ waapiInstanceId?: string | null | undefined;
12513
+ qr?: string | null | undefined;
12514
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12372
12515
  apiKey?: string | undefined;
12373
12516
  tier?: "basic" | "regular" | "premium" | undefined;
12517
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12374
12518
  } | undefined;
12375
12519
  vonageCredentials?: {
12376
12520
  apiKey: string;
@@ -12542,6 +12686,7 @@ export declare const telegramContract: {
12542
12686
  dateValue: Date | null;
12543
12687
  uploads: {
12544
12688
  id: string;
12689
+ status: string | null;
12545
12690
  createdAt: Date;
12546
12691
  updatedAt: Date;
12547
12692
  deletedAt: Date | null;
@@ -12550,7 +12695,6 @@ export declare const telegramContract: {
12550
12695
  bucketName: string;
12551
12696
  fileSize: number;
12552
12697
  fileUrl: string | null;
12553
- status?: string | undefined;
12554
12698
  }[];
12555
12699
  }[];
12556
12700
  company: {
@@ -12789,7 +12933,7 @@ export declare const telegramContract: {
12789
12933
  previewUrl: string;
12790
12934
  imageSetId: string;
12791
12935
  repliedMessage: {
12792
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12936
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
12793
12937
  message: string;
12794
12938
  id: string;
12795
12939
  url: string;
@@ -12843,6 +12987,7 @@ export declare const telegramContract: {
12843
12987
  };
12844
12988
  upload: {
12845
12989
  id: string;
12990
+ status: string | null;
12846
12991
  createdAt: Date;
12847
12992
  updatedAt: Date;
12848
12993
  deletedAt: Date | null;
@@ -12851,7 +12996,6 @@ export declare const telegramContract: {
12851
12996
  bucketName: string;
12852
12997
  fileSize: number;
12853
12998
  fileUrl: string | null;
12854
- status?: string | undefined;
12855
12999
  };
12856
13000
  assignee: {
12857
13001
  id: string;
@@ -13000,7 +13144,7 @@ export declare const telegramContract: {
13000
13144
  template?: any;
13001
13145
  label?: string | undefined;
13002
13146
  }, {
13003
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13147
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
13004
13148
  message: string;
13005
13149
  id: string;
13006
13150
  url: string;
@@ -13054,6 +13198,7 @@ export declare const telegramContract: {
13054
13198
  };
13055
13199
  upload: {
13056
13200
  id: string;
13201
+ status: string | null;
13057
13202
  createdAt: Date;
13058
13203
  updatedAt: Date;
13059
13204
  deletedAt: Date | null;
@@ -13062,7 +13207,6 @@ export declare const telegramContract: {
13062
13207
  bucketName: string;
13063
13208
  fileSize: number;
13064
13209
  fileUrl: string | null;
13065
- status?: string | undefined;
13066
13210
  };
13067
13211
  assignee: {
13068
13212
  id: string;
@@ -13123,15 +13267,18 @@ export declare const telegramContract: {
13123
13267
  additionalCredentials?: any;
13124
13268
  senderId?: string | undefined;
13125
13269
  whatsapp?: {
13126
- email: string;
13127
- wabaExternalId: string;
13128
- phoneNumberId: string;
13129
- wabaBusinessId?: string | undefined;
13130
- clientId?: string | undefined;
13131
- channelId?: string | undefined;
13132
- status?: "active" | "pending" | undefined;
13270
+ wabaBusinessId?: string | null | undefined;
13271
+ wabaExternalId?: string | null | undefined;
13272
+ phoneNumberId?: string | null | undefined;
13273
+ email?: string | null | undefined;
13274
+ clientId?: string | null | undefined;
13275
+ channelId?: string | null | undefined;
13276
+ waapiInstanceId?: string | null | undefined;
13277
+ qr?: string | null | undefined;
13278
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13133
13279
  apiKey?: string | undefined;
13134
13280
  tier?: "basic" | "regular" | "premium" | undefined;
13281
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13135
13282
  } | undefined;
13136
13283
  vonageCredentials?: {
13137
13284
  apiKey: string;
@@ -13303,6 +13450,7 @@ export declare const telegramContract: {
13303
13450
  dateValue: Date | null;
13304
13451
  uploads: {
13305
13452
  id: string;
13453
+ status: string | null;
13306
13454
  createdAt: Date;
13307
13455
  updatedAt: Date;
13308
13456
  deletedAt: Date | null;
@@ -13311,7 +13459,6 @@ export declare const telegramContract: {
13311
13459
  bucketName: string;
13312
13460
  fileSize: number;
13313
13461
  fileUrl: string | null;
13314
- status?: string | undefined;
13315
13462
  }[];
13316
13463
  }[];
13317
13464
  company: {
@@ -13550,7 +13697,7 @@ export declare const telegramContract: {
13550
13697
  previewUrl: string;
13551
13698
  imageSetId: string;
13552
13699
  repliedMessage: {
13553
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13700
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
13554
13701
  message: string;
13555
13702
  id: string;
13556
13703
  url: string;
@@ -13604,6 +13751,7 @@ export declare const telegramContract: {
13604
13751
  };
13605
13752
  upload: {
13606
13753
  id: string;
13754
+ status: string | null;
13607
13755
  createdAt: Date;
13608
13756
  updatedAt: Date;
13609
13757
  deletedAt: Date | null;
@@ -13612,7 +13760,6 @@ export declare const telegramContract: {
13612
13760
  bucketName: string;
13613
13761
  fileSize: number;
13614
13762
  fileUrl: string | null;
13615
- status?: string | undefined;
13616
13763
  };
13617
13764
  assignee: {
13618
13765
  id: string;
@@ -13762,7 +13909,7 @@ export declare const telegramContract: {
13762
13909
  label?: string | undefined;
13763
13910
  }>>>;
13764
13911
  }, "strip", z.ZodTypeAny, {
13765
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13912
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
13766
13913
  message: string;
13767
13914
  id: string;
13768
13915
  url: string;
@@ -13816,6 +13963,7 @@ export declare const telegramContract: {
13816
13963
  };
13817
13964
  upload: {
13818
13965
  id: string;
13966
+ status: string | null;
13819
13967
  createdAt: Date;
13820
13968
  updatedAt: Date;
13821
13969
  deletedAt: Date | null;
@@ -13824,7 +13972,6 @@ export declare const telegramContract: {
13824
13972
  bucketName: string;
13825
13973
  fileSize: number;
13826
13974
  fileUrl: string | null;
13827
- status?: string | undefined;
13828
13975
  };
13829
13976
  assignee: {
13830
13977
  id: string;
@@ -13885,15 +14032,18 @@ export declare const telegramContract: {
13885
14032
  additionalCredentials?: any;
13886
14033
  senderId?: string | undefined;
13887
14034
  whatsapp?: {
13888
- email: string;
13889
- wabaExternalId: string;
13890
- phoneNumberId: string;
13891
- wabaBusinessId?: string | undefined;
13892
- clientId?: string | undefined;
13893
- channelId?: string | undefined;
13894
- status?: "active" | "pending" | undefined;
14035
+ wabaBusinessId?: string | null | undefined;
14036
+ wabaExternalId?: string | null | undefined;
14037
+ phoneNumberId?: string | null | undefined;
14038
+ email?: string | null | undefined;
14039
+ clientId?: string | null | undefined;
14040
+ channelId?: string | null | undefined;
14041
+ waapiInstanceId?: string | null | undefined;
14042
+ qr?: string | null | undefined;
14043
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13895
14044
  apiKey?: string | undefined;
13896
14045
  tier?: "basic" | "regular" | "premium" | undefined;
14046
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13897
14047
  } | undefined;
13898
14048
  vonageCredentials?: {
13899
14049
  apiKey: string;
@@ -14065,6 +14215,7 @@ export declare const telegramContract: {
14065
14215
  dateValue: Date | null;
14066
14216
  uploads: {
14067
14217
  id: string;
14218
+ status: string | null;
14068
14219
  createdAt: Date;
14069
14220
  updatedAt: Date;
14070
14221
  deletedAt: Date | null;
@@ -14073,7 +14224,6 @@ export declare const telegramContract: {
14073
14224
  bucketName: string;
14074
14225
  fileSize: number;
14075
14226
  fileUrl: string | null;
14076
- status?: string | undefined;
14077
14227
  }[];
14078
14228
  }[];
14079
14229
  company: {
@@ -14312,7 +14462,7 @@ export declare const telegramContract: {
14312
14462
  previewUrl: string;
14313
14463
  imageSetId: string;
14314
14464
  repliedMessage: {
14315
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14465
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
14316
14466
  message: string;
14317
14467
  id: string;
14318
14468
  url: string;
@@ -14366,6 +14516,7 @@ export declare const telegramContract: {
14366
14516
  };
14367
14517
  upload: {
14368
14518
  id: string;
14519
+ status: string | null;
14369
14520
  createdAt: Date;
14370
14521
  updatedAt: Date;
14371
14522
  deletedAt: Date | null;
@@ -14374,7 +14525,6 @@ export declare const telegramContract: {
14374
14525
  bucketName: string;
14375
14526
  fileSize: number;
14376
14527
  fileUrl: string | null;
14377
- status?: string | undefined;
14378
14528
  };
14379
14529
  assignee: {
14380
14530
  id: string;
@@ -14523,7 +14673,7 @@ export declare const telegramContract: {
14523
14673
  template?: any;
14524
14674
  metadata?: any;
14525
14675
  fromMessage?: {
14526
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14676
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
14527
14677
  message: string;
14528
14678
  id: string;
14529
14679
  url: string;
@@ -14577,6 +14727,7 @@ export declare const telegramContract: {
14577
14727
  };
14578
14728
  upload: {
14579
14729
  id: string;
14730
+ status: string | null;
14580
14731
  createdAt: Date;
14581
14732
  updatedAt: Date;
14582
14733
  deletedAt: Date | null;
@@ -14585,7 +14736,6 @@ export declare const telegramContract: {
14585
14736
  bucketName: string;
14586
14737
  fileSize: number;
14587
14738
  fileUrl: string | null;
14588
- status?: string | undefined;
14589
14739
  };
14590
14740
  assignee: {
14591
14741
  id: string;
@@ -14646,15 +14796,18 @@ export declare const telegramContract: {
14646
14796
  additionalCredentials?: any;
14647
14797
  senderId?: string | undefined;
14648
14798
  whatsapp?: {
14649
- email: string;
14650
- wabaExternalId: string;
14651
- phoneNumberId: string;
14652
- wabaBusinessId?: string | undefined;
14653
- clientId?: string | undefined;
14654
- channelId?: string | undefined;
14655
- status?: "active" | "pending" | undefined;
14799
+ wabaBusinessId?: string | null | undefined;
14800
+ wabaExternalId?: string | null | undefined;
14801
+ phoneNumberId?: string | null | undefined;
14802
+ email?: string | null | undefined;
14803
+ clientId?: string | null | undefined;
14804
+ channelId?: string | null | undefined;
14805
+ waapiInstanceId?: string | null | undefined;
14806
+ qr?: string | null | undefined;
14807
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14656
14808
  apiKey?: string | undefined;
14657
14809
  tier?: "basic" | "regular" | "premium" | undefined;
14810
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14658
14811
  } | undefined;
14659
14812
  vonageCredentials?: {
14660
14813
  apiKey: string;
@@ -14826,6 +14979,7 @@ export declare const telegramContract: {
14826
14979
  dateValue: Date | null;
14827
14980
  uploads: {
14828
14981
  id: string;
14982
+ status: string | null;
14829
14983
  createdAt: Date;
14830
14984
  updatedAt: Date;
14831
14985
  deletedAt: Date | null;
@@ -14834,7 +14988,6 @@ export declare const telegramContract: {
14834
14988
  bucketName: string;
14835
14989
  fileSize: number;
14836
14990
  fileUrl: string | null;
14837
- status?: string | undefined;
14838
14991
  }[];
14839
14992
  }[];
14840
14993
  company: {
@@ -15073,7 +15226,7 @@ export declare const telegramContract: {
15073
15226
  previewUrl: string;
15074
15227
  imageSetId: string;
15075
15228
  repliedMessage: {
15076
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15229
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
15077
15230
  message: string;
15078
15231
  id: string;
15079
15232
  url: string;
@@ -15127,6 +15280,7 @@ export declare const telegramContract: {
15127
15280
  };
15128
15281
  upload: {
15129
15282
  id: string;
15283
+ status: string | null;
15130
15284
  createdAt: Date;
15131
15285
  updatedAt: Date;
15132
15286
  deletedAt: Date | null;
@@ -15135,7 +15289,6 @@ export declare const telegramContract: {
15135
15289
  bucketName: string;
15136
15290
  fileSize: number;
15137
15291
  fileUrl: string | null;
15138
- status?: string | undefined;
15139
15292
  };
15140
15293
  assignee: {
15141
15294
  id: string;
@@ -15285,7 +15438,7 @@ export declare const telegramContract: {
15285
15438
  label?: string | undefined;
15286
15439
  } | null | undefined;
15287
15440
  }, {
15288
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15441
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
15289
15442
  message: string;
15290
15443
  id: string;
15291
15444
  url: string;
@@ -15339,6 +15492,7 @@ export declare const telegramContract: {
15339
15492
  };
15340
15493
  upload: {
15341
15494
  id: string;
15495
+ status: string | null;
15342
15496
  createdAt: Date;
15343
15497
  updatedAt: Date;
15344
15498
  deletedAt: Date | null;
@@ -15347,7 +15501,6 @@ export declare const telegramContract: {
15347
15501
  bucketName: string;
15348
15502
  fileSize: number;
15349
15503
  fileUrl: string | null;
15350
- status?: string | undefined;
15351
15504
  };
15352
15505
  assignee: {
15353
15506
  id: string;
@@ -15408,15 +15561,18 @@ export declare const telegramContract: {
15408
15561
  additionalCredentials?: any;
15409
15562
  senderId?: string | undefined;
15410
15563
  whatsapp?: {
15411
- email: string;
15412
- wabaExternalId: string;
15413
- phoneNumberId: string;
15414
- wabaBusinessId?: string | undefined;
15415
- clientId?: string | undefined;
15416
- channelId?: string | undefined;
15417
- status?: "active" | "pending" | undefined;
15564
+ wabaBusinessId?: string | null | undefined;
15565
+ wabaExternalId?: string | null | undefined;
15566
+ phoneNumberId?: string | null | undefined;
15567
+ email?: string | null | undefined;
15568
+ clientId?: string | null | undefined;
15569
+ channelId?: string | null | undefined;
15570
+ waapiInstanceId?: string | null | undefined;
15571
+ qr?: string | null | undefined;
15572
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15418
15573
  apiKey?: string | undefined;
15419
15574
  tier?: "basic" | "regular" | "premium" | undefined;
15575
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15420
15576
  } | undefined;
15421
15577
  vonageCredentials?: {
15422
15578
  apiKey: string;
@@ -15588,6 +15744,7 @@ export declare const telegramContract: {
15588
15744
  dateValue: Date | null;
15589
15745
  uploads: {
15590
15746
  id: string;
15747
+ status: string | null;
15591
15748
  createdAt: Date;
15592
15749
  updatedAt: Date;
15593
15750
  deletedAt: Date | null;
@@ -15596,7 +15753,6 @@ export declare const telegramContract: {
15596
15753
  bucketName: string;
15597
15754
  fileSize: number;
15598
15755
  fileUrl: string | null;
15599
- status?: string | undefined;
15600
15756
  }[];
15601
15757
  }[];
15602
15758
  company: {
@@ -15835,7 +15991,7 @@ export declare const telegramContract: {
15835
15991
  previewUrl: string;
15836
15992
  imageSetId: string;
15837
15993
  repliedMessage: {
15838
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15994
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
15839
15995
  message: string;
15840
15996
  id: string;
15841
15997
  url: string;
@@ -15889,6 +16045,7 @@ export declare const telegramContract: {
15889
16045
  };
15890
16046
  upload: {
15891
16047
  id: string;
16048
+ status: string | null;
15892
16049
  createdAt: Date;
15893
16050
  updatedAt: Date;
15894
16051
  deletedAt: Date | null;
@@ -15897,7 +16054,6 @@ export declare const telegramContract: {
15897
16054
  bucketName: string;
15898
16055
  fileSize: number;
15899
16056
  fileUrl: string | null;
15900
- status?: string | undefined;
15901
16057
  };
15902
16058
  assignee: {
15903
16059
  id: string;
@@ -16046,7 +16202,7 @@ export declare const telegramContract: {
16046
16202
  template?: any;
16047
16203
  metadata?: any;
16048
16204
  fromMessage?: {
16049
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16205
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
16050
16206
  message: string;
16051
16207
  id: string;
16052
16208
  url: string;
@@ -16100,6 +16256,7 @@ export declare const telegramContract: {
16100
16256
  };
16101
16257
  upload: {
16102
16258
  id: string;
16259
+ status: string | null;
16103
16260
  createdAt: Date;
16104
16261
  updatedAt: Date;
16105
16262
  deletedAt: Date | null;
@@ -16108,7 +16265,6 @@ export declare const telegramContract: {
16108
16265
  bucketName: string;
16109
16266
  fileSize: number;
16110
16267
  fileUrl: string | null;
16111
- status?: string | undefined;
16112
16268
  };
16113
16269
  assignee: {
16114
16270
  id: string;
@@ -16169,15 +16325,18 @@ export declare const telegramContract: {
16169
16325
  additionalCredentials?: any;
16170
16326
  senderId?: string | undefined;
16171
16327
  whatsapp?: {
16172
- email: string;
16173
- wabaExternalId: string;
16174
- phoneNumberId: string;
16175
- wabaBusinessId?: string | undefined;
16176
- clientId?: string | undefined;
16177
- channelId?: string | undefined;
16178
- status?: "active" | "pending" | undefined;
16328
+ wabaBusinessId?: string | null | undefined;
16329
+ wabaExternalId?: string | null | undefined;
16330
+ phoneNumberId?: string | null | undefined;
16331
+ email?: string | null | undefined;
16332
+ clientId?: string | null | undefined;
16333
+ channelId?: string | null | undefined;
16334
+ waapiInstanceId?: string | null | undefined;
16335
+ qr?: string | null | undefined;
16336
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16179
16337
  apiKey?: string | undefined;
16180
16338
  tier?: "basic" | "regular" | "premium" | undefined;
16339
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16181
16340
  } | undefined;
16182
16341
  vonageCredentials?: {
16183
16342
  apiKey: string;
@@ -16349,6 +16508,7 @@ export declare const telegramContract: {
16349
16508
  dateValue: Date | null;
16350
16509
  uploads: {
16351
16510
  id: string;
16511
+ status: string | null;
16352
16512
  createdAt: Date;
16353
16513
  updatedAt: Date;
16354
16514
  deletedAt: Date | null;
@@ -16357,7 +16517,6 @@ export declare const telegramContract: {
16357
16517
  bucketName: string;
16358
16518
  fileSize: number;
16359
16519
  fileUrl: string | null;
16360
- status?: string | undefined;
16361
16520
  }[];
16362
16521
  }[];
16363
16522
  company: {
@@ -16596,7 +16755,7 @@ export declare const telegramContract: {
16596
16755
  previewUrl: string;
16597
16756
  imageSetId: string;
16598
16757
  repliedMessage: {
16599
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16758
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
16600
16759
  message: string;
16601
16760
  id: string;
16602
16761
  url: string;
@@ -16650,6 +16809,7 @@ export declare const telegramContract: {
16650
16809
  };
16651
16810
  upload: {
16652
16811
  id: string;
16812
+ status: string | null;
16653
16813
  createdAt: Date;
16654
16814
  updatedAt: Date;
16655
16815
  deletedAt: Date | null;
@@ -16658,7 +16818,6 @@ export declare const telegramContract: {
16658
16818
  bucketName: string;
16659
16819
  fileSize: number;
16660
16820
  fileUrl: string | null;
16661
- status?: string | undefined;
16662
16821
  };
16663
16822
  assignee: {
16664
16823
  id: string;
@@ -16810,7 +16969,7 @@ export declare const telegramContract: {
16810
16969
  }>;
16811
16970
  }, "strip", z.ZodTypeAny, {
16812
16971
  data: {
16813
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16972
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
16814
16973
  message: string;
16815
16974
  id: string;
16816
16975
  url: string;
@@ -16864,6 +17023,7 @@ export declare const telegramContract: {
16864
17023
  };
16865
17024
  upload: {
16866
17025
  id: string;
17026
+ status: string | null;
16867
17027
  createdAt: Date;
16868
17028
  updatedAt: Date;
16869
17029
  deletedAt: Date | null;
@@ -16872,7 +17032,6 @@ export declare const telegramContract: {
16872
17032
  bucketName: string;
16873
17033
  fileSize: number;
16874
17034
  fileUrl: string | null;
16875
- status?: string | undefined;
16876
17035
  };
16877
17036
  assignee: {
16878
17037
  id: string;
@@ -16933,15 +17092,18 @@ export declare const telegramContract: {
16933
17092
  additionalCredentials?: any;
16934
17093
  senderId?: string | undefined;
16935
17094
  whatsapp?: {
16936
- email: string;
16937
- wabaExternalId: string;
16938
- phoneNumberId: string;
16939
- wabaBusinessId?: string | undefined;
16940
- clientId?: string | undefined;
16941
- channelId?: string | undefined;
16942
- status?: "active" | "pending" | undefined;
17095
+ wabaBusinessId?: string | null | undefined;
17096
+ wabaExternalId?: string | null | undefined;
17097
+ phoneNumberId?: string | null | undefined;
17098
+ email?: string | null | undefined;
17099
+ clientId?: string | null | undefined;
17100
+ channelId?: string | null | undefined;
17101
+ waapiInstanceId?: string | null | undefined;
17102
+ qr?: string | null | undefined;
17103
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16943
17104
  apiKey?: string | undefined;
16944
17105
  tier?: "basic" | "regular" | "premium" | undefined;
17106
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16945
17107
  } | undefined;
16946
17108
  vonageCredentials?: {
16947
17109
  apiKey: string;
@@ -17113,6 +17275,7 @@ export declare const telegramContract: {
17113
17275
  dateValue: Date | null;
17114
17276
  uploads: {
17115
17277
  id: string;
17278
+ status: string | null;
17116
17279
  createdAt: Date;
17117
17280
  updatedAt: Date;
17118
17281
  deletedAt: Date | null;
@@ -17121,7 +17284,6 @@ export declare const telegramContract: {
17121
17284
  bucketName: string;
17122
17285
  fileSize: number;
17123
17286
  fileUrl: string | null;
17124
- status?: string | undefined;
17125
17287
  }[];
17126
17288
  }[];
17127
17289
  company: {
@@ -17360,7 +17522,7 @@ export declare const telegramContract: {
17360
17522
  previewUrl: string;
17361
17523
  imageSetId: string;
17362
17524
  repliedMessage: {
17363
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17525
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
17364
17526
  message: string;
17365
17527
  id: string;
17366
17528
  url: string;
@@ -17414,6 +17576,7 @@ export declare const telegramContract: {
17414
17576
  };
17415
17577
  upload: {
17416
17578
  id: string;
17579
+ status: string | null;
17417
17580
  createdAt: Date;
17418
17581
  updatedAt: Date;
17419
17582
  deletedAt: Date | null;
@@ -17422,7 +17585,6 @@ export declare const telegramContract: {
17422
17585
  bucketName: string;
17423
17586
  fileSize: number;
17424
17587
  fileUrl: string | null;
17425
- status?: string | undefined;
17426
17588
  };
17427
17589
  assignee: {
17428
17590
  id: string;
@@ -17571,7 +17733,7 @@ export declare const telegramContract: {
17571
17733
  template?: any;
17572
17734
  metadata?: any;
17573
17735
  fromMessage?: {
17574
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17736
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
17575
17737
  message: string;
17576
17738
  id: string;
17577
17739
  url: string;
@@ -17625,6 +17787,7 @@ export declare const telegramContract: {
17625
17787
  };
17626
17788
  upload: {
17627
17789
  id: string;
17790
+ status: string | null;
17628
17791
  createdAt: Date;
17629
17792
  updatedAt: Date;
17630
17793
  deletedAt: Date | null;
@@ -17633,7 +17796,6 @@ export declare const telegramContract: {
17633
17796
  bucketName: string;
17634
17797
  fileSize: number;
17635
17798
  fileUrl: string | null;
17636
- status?: string | undefined;
17637
17799
  };
17638
17800
  assignee: {
17639
17801
  id: string;
@@ -17694,15 +17856,18 @@ export declare const telegramContract: {
17694
17856
  additionalCredentials?: any;
17695
17857
  senderId?: string | undefined;
17696
17858
  whatsapp?: {
17697
- email: string;
17698
- wabaExternalId: string;
17699
- phoneNumberId: string;
17700
- wabaBusinessId?: string | undefined;
17701
- clientId?: string | undefined;
17702
- channelId?: string | undefined;
17703
- status?: "active" | "pending" | undefined;
17859
+ wabaBusinessId?: string | null | undefined;
17860
+ wabaExternalId?: string | null | undefined;
17861
+ phoneNumberId?: string | null | undefined;
17862
+ email?: string | null | undefined;
17863
+ clientId?: string | null | undefined;
17864
+ channelId?: string | null | undefined;
17865
+ waapiInstanceId?: string | null | undefined;
17866
+ qr?: string | null | undefined;
17867
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17704
17868
  apiKey?: string | undefined;
17705
17869
  tier?: "basic" | "regular" | "premium" | undefined;
17870
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17706
17871
  } | undefined;
17707
17872
  vonageCredentials?: {
17708
17873
  apiKey: string;
@@ -17874,6 +18039,7 @@ export declare const telegramContract: {
17874
18039
  dateValue: Date | null;
17875
18040
  uploads: {
17876
18041
  id: string;
18042
+ status: string | null;
17877
18043
  createdAt: Date;
17878
18044
  updatedAt: Date;
17879
18045
  deletedAt: Date | null;
@@ -17882,7 +18048,6 @@ export declare const telegramContract: {
17882
18048
  bucketName: string;
17883
18049
  fileSize: number;
17884
18050
  fileUrl: string | null;
17885
- status?: string | undefined;
17886
18051
  }[];
17887
18052
  }[];
17888
18053
  company: {
@@ -18121,7 +18286,7 @@ export declare const telegramContract: {
18121
18286
  previewUrl: string;
18122
18287
  imageSetId: string;
18123
18288
  repliedMessage: {
18124
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18289
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
18125
18290
  message: string;
18126
18291
  id: string;
18127
18292
  url: string;
@@ -18175,6 +18340,7 @@ export declare const telegramContract: {
18175
18340
  };
18176
18341
  upload: {
18177
18342
  id: string;
18343
+ status: string | null;
18178
18344
  createdAt: Date;
18179
18345
  updatedAt: Date;
18180
18346
  deletedAt: Date | null;
@@ -18183,7 +18349,6 @@ export declare const telegramContract: {
18183
18349
  bucketName: string;
18184
18350
  fileSize: number;
18185
18351
  fileUrl: string | null;
18186
- status?: string | undefined;
18187
18352
  };
18188
18353
  assignee: {
18189
18354
  id: string;
@@ -18336,7 +18501,7 @@ export declare const telegramContract: {
18336
18501
  requestId: string;
18337
18502
  }, {
18338
18503
  data: {
18339
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18504
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
18340
18505
  message: string;
18341
18506
  id: string;
18342
18507
  url: string;
@@ -18390,6 +18555,7 @@ export declare const telegramContract: {
18390
18555
  };
18391
18556
  upload: {
18392
18557
  id: string;
18558
+ status: string | null;
18393
18559
  createdAt: Date;
18394
18560
  updatedAt: Date;
18395
18561
  deletedAt: Date | null;
@@ -18398,7 +18564,6 @@ export declare const telegramContract: {
18398
18564
  bucketName: string;
18399
18565
  fileSize: number;
18400
18566
  fileUrl: string | null;
18401
- status?: string | undefined;
18402
18567
  };
18403
18568
  assignee: {
18404
18569
  id: string;
@@ -18459,15 +18624,18 @@ export declare const telegramContract: {
18459
18624
  additionalCredentials?: any;
18460
18625
  senderId?: string | undefined;
18461
18626
  whatsapp?: {
18462
- email: string;
18463
- wabaExternalId: string;
18464
- phoneNumberId: string;
18465
- wabaBusinessId?: string | undefined;
18466
- clientId?: string | undefined;
18467
- channelId?: string | undefined;
18468
- status?: "active" | "pending" | undefined;
18627
+ wabaBusinessId?: string | null | undefined;
18628
+ wabaExternalId?: string | null | undefined;
18629
+ phoneNumberId?: string | null | undefined;
18630
+ email?: string | null | undefined;
18631
+ clientId?: string | null | undefined;
18632
+ channelId?: string | null | undefined;
18633
+ waapiInstanceId?: string | null | undefined;
18634
+ qr?: string | null | undefined;
18635
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18469
18636
  apiKey?: string | undefined;
18470
18637
  tier?: "basic" | "regular" | "premium" | undefined;
18638
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18471
18639
  } | undefined;
18472
18640
  vonageCredentials?: {
18473
18641
  apiKey: string;
@@ -18639,6 +18807,7 @@ export declare const telegramContract: {
18639
18807
  dateValue: Date | null;
18640
18808
  uploads: {
18641
18809
  id: string;
18810
+ status: string | null;
18642
18811
  createdAt: Date;
18643
18812
  updatedAt: Date;
18644
18813
  deletedAt: Date | null;
@@ -18647,7 +18816,6 @@ export declare const telegramContract: {
18647
18816
  bucketName: string;
18648
18817
  fileSize: number;
18649
18818
  fileUrl: string | null;
18650
- status?: string | undefined;
18651
18819
  }[];
18652
18820
  }[];
18653
18821
  company: {
@@ -18886,7 +19054,7 @@ export declare const telegramContract: {
18886
19054
  previewUrl: string;
18887
19055
  imageSetId: string;
18888
19056
  repliedMessage: {
18889
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19057
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
18890
19058
  message: string;
18891
19059
  id: string;
18892
19060
  url: string;
@@ -18940,6 +19108,7 @@ export declare const telegramContract: {
18940
19108
  };
18941
19109
  upload: {
18942
19110
  id: string;
19111
+ status: string | null;
18943
19112
  createdAt: Date;
18944
19113
  updatedAt: Date;
18945
19114
  deletedAt: Date | null;
@@ -18948,7 +19117,6 @@ export declare const telegramContract: {
18948
19117
  bucketName: string;
18949
19118
  fileSize: number;
18950
19119
  fileUrl: string | null;
18951
- status?: string | undefined;
18952
19120
  };
18953
19121
  assignee: {
18954
19122
  id: string;
@@ -19097,7 +19265,7 @@ export declare const telegramContract: {
19097
19265
  template?: any;
19098
19266
  metadata?: any;
19099
19267
  fromMessage?: {
19100
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19268
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
19101
19269
  message: string;
19102
19270
  id: string;
19103
19271
  url: string;
@@ -19151,6 +19319,7 @@ export declare const telegramContract: {
19151
19319
  };
19152
19320
  upload: {
19153
19321
  id: string;
19322
+ status: string | null;
19154
19323
  createdAt: Date;
19155
19324
  updatedAt: Date;
19156
19325
  deletedAt: Date | null;
@@ -19159,7 +19328,6 @@ export declare const telegramContract: {
19159
19328
  bucketName: string;
19160
19329
  fileSize: number;
19161
19330
  fileUrl: string | null;
19162
- status?: string | undefined;
19163
19331
  };
19164
19332
  assignee: {
19165
19333
  id: string;
@@ -19220,15 +19388,18 @@ export declare const telegramContract: {
19220
19388
  additionalCredentials?: any;
19221
19389
  senderId?: string | undefined;
19222
19390
  whatsapp?: {
19223
- email: string;
19224
- wabaExternalId: string;
19225
- phoneNumberId: string;
19226
- wabaBusinessId?: string | undefined;
19227
- clientId?: string | undefined;
19228
- channelId?: string | undefined;
19229
- status?: "active" | "pending" | undefined;
19391
+ wabaBusinessId?: string | null | undefined;
19392
+ wabaExternalId?: string | null | undefined;
19393
+ phoneNumberId?: string | null | undefined;
19394
+ email?: string | null | undefined;
19395
+ clientId?: string | null | undefined;
19396
+ channelId?: string | null | undefined;
19397
+ waapiInstanceId?: string | null | undefined;
19398
+ qr?: string | null | undefined;
19399
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19230
19400
  apiKey?: string | undefined;
19231
19401
  tier?: "basic" | "regular" | "premium" | undefined;
19402
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19232
19403
  } | undefined;
19233
19404
  vonageCredentials?: {
19234
19405
  apiKey: string;
@@ -19400,6 +19571,7 @@ export declare const telegramContract: {
19400
19571
  dateValue: Date | null;
19401
19572
  uploads: {
19402
19573
  id: string;
19574
+ status: string | null;
19403
19575
  createdAt: Date;
19404
19576
  updatedAt: Date;
19405
19577
  deletedAt: Date | null;
@@ -19408,7 +19580,6 @@ export declare const telegramContract: {
19408
19580
  bucketName: string;
19409
19581
  fileSize: number;
19410
19582
  fileUrl: string | null;
19411
- status?: string | undefined;
19412
19583
  }[];
19413
19584
  }[];
19414
19585
  company: {
@@ -19647,7 +19818,7 @@ export declare const telegramContract: {
19647
19818
  previewUrl: string;
19648
19819
  imageSetId: string;
19649
19820
  repliedMessage: {
19650
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19821
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "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";
19651
19822
  message: string;
19652
19823
  id: string;
19653
19824
  url: string;
@@ -19701,6 +19872,7 @@ export declare const telegramContract: {
19701
19872
  };
19702
19873
  upload: {
19703
19874
  id: string;
19875
+ status: string | null;
19704
19876
  createdAt: Date;
19705
19877
  updatedAt: Date;
19706
19878
  deletedAt: Date | null;
@@ -19709,7 +19881,6 @@ export declare const telegramContract: {
19709
19881
  bucketName: string;
19710
19882
  fileSize: number;
19711
19883
  fileUrl: string | null;
19712
- status?: string | undefined;
19713
19884
  };
19714
19885
  assignee: {
19715
19886
  id: string;
@@ -19900,35 +20071,44 @@ export declare const telegramContract: {
19900
20071
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19901
20072
  senderId: z.ZodOptional<z.ZodString>;
19902
20073
  whatsapp: z.ZodOptional<z.ZodObject<{
19903
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19904
- wabaExternalId: z.ZodString;
19905
- phoneNumberId: z.ZodString;
19906
- email: z.ZodString;
19907
- clientId: z.ZodOptional<z.ZodString>;
19908
- channelId: z.ZodOptional<z.ZodString>;
19909
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20074
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20075
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20076
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20077
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20078
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20079
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20080
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20081
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20082
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19910
20083
  apiKey: z.ZodOptional<z.ZodString>;
19911
20084
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20085
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19912
20086
  }, "strip", z.ZodTypeAny, {
19913
- email: string;
19914
- wabaExternalId: string;
19915
- phoneNumberId: string;
19916
- wabaBusinessId?: string | undefined;
19917
- clientId?: string | undefined;
19918
- channelId?: string | undefined;
19919
- status?: "active" | "pending" | undefined;
20087
+ wabaBusinessId?: string | null | undefined;
20088
+ wabaExternalId?: string | null | undefined;
20089
+ phoneNumberId?: string | null | undefined;
20090
+ email?: string | null | undefined;
20091
+ clientId?: string | null | undefined;
20092
+ channelId?: string | null | undefined;
20093
+ waapiInstanceId?: string | null | undefined;
20094
+ qr?: string | null | undefined;
20095
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19920
20096
  apiKey?: string | undefined;
19921
20097
  tier?: "basic" | "regular" | "premium" | undefined;
20098
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19922
20099
  }, {
19923
- email: string;
19924
- wabaExternalId: string;
19925
- phoneNumberId: string;
19926
- wabaBusinessId?: string | undefined;
19927
- clientId?: string | undefined;
19928
- channelId?: string | undefined;
19929
- status?: "active" | "pending" | undefined;
20100
+ wabaBusinessId?: string | null | undefined;
20101
+ wabaExternalId?: string | null | undefined;
20102
+ phoneNumberId?: string | null | undefined;
20103
+ email?: string | null | undefined;
20104
+ clientId?: string | null | undefined;
20105
+ channelId?: string | null | undefined;
20106
+ waapiInstanceId?: string | null | undefined;
20107
+ qr?: string | null | undefined;
20108
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19930
20109
  apiKey?: string | undefined;
19931
20110
  tier?: "basic" | "regular" | "premium" | undefined;
20111
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19932
20112
  }>>;
19933
20113
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19934
20114
  mobileNumber: z.ZodString;
@@ -19954,15 +20134,18 @@ export declare const telegramContract: {
19954
20134
  additionalCredentials?: any;
19955
20135
  senderId?: string | undefined;
19956
20136
  whatsapp?: {
19957
- email: string;
19958
- wabaExternalId: string;
19959
- phoneNumberId: string;
19960
- wabaBusinessId?: string | undefined;
19961
- clientId?: string | undefined;
19962
- channelId?: string | undefined;
19963
- status?: "active" | "pending" | undefined;
20137
+ wabaBusinessId?: string | null | undefined;
20138
+ wabaExternalId?: string | null | undefined;
20139
+ phoneNumberId?: string | null | undefined;
20140
+ email?: string | null | undefined;
20141
+ clientId?: string | null | undefined;
20142
+ channelId?: string | null | undefined;
20143
+ waapiInstanceId?: string | null | undefined;
20144
+ qr?: string | null | undefined;
20145
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19964
20146
  apiKey?: string | undefined;
19965
20147
  tier?: "basic" | "regular" | "premium" | undefined;
20148
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19966
20149
  } | undefined;
19967
20150
  vonageCredentials?: {
19968
20151
  apiKey: string;
@@ -19980,15 +20163,18 @@ export declare const telegramContract: {
19980
20163
  additionalCredentials?: any;
19981
20164
  senderId?: string | undefined;
19982
20165
  whatsapp?: {
19983
- email: string;
19984
- wabaExternalId: string;
19985
- phoneNumberId: string;
19986
- wabaBusinessId?: string | undefined;
19987
- clientId?: string | undefined;
19988
- channelId?: string | undefined;
19989
- status?: "active" | "pending" | undefined;
20166
+ wabaBusinessId?: string | null | undefined;
20167
+ wabaExternalId?: string | null | undefined;
20168
+ phoneNumberId?: string | null | undefined;
20169
+ email?: string | null | undefined;
20170
+ clientId?: string | null | undefined;
20171
+ channelId?: string | null | undefined;
20172
+ waapiInstanceId?: string | null | undefined;
20173
+ qr?: string | null | undefined;
20174
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19990
20175
  apiKey?: string | undefined;
19991
20176
  tier?: "basic" | "regular" | "premium" | undefined;
20177
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19992
20178
  } | undefined;
19993
20179
  vonageCredentials?: {
19994
20180
  apiKey: string;
@@ -20036,15 +20222,18 @@ export declare const telegramContract: {
20036
20222
  additionalCredentials?: any;
20037
20223
  senderId?: string | undefined;
20038
20224
  whatsapp?: {
20039
- email: string;
20040
- wabaExternalId: string;
20041
- phoneNumberId: string;
20042
- wabaBusinessId?: string | undefined;
20043
- clientId?: string | undefined;
20044
- channelId?: string | undefined;
20045
- status?: "active" | "pending" | undefined;
20225
+ wabaBusinessId?: string | null | undefined;
20226
+ wabaExternalId?: string | null | undefined;
20227
+ phoneNumberId?: string | null | undefined;
20228
+ email?: string | null | undefined;
20229
+ clientId?: string | null | undefined;
20230
+ channelId?: string | null | undefined;
20231
+ waapiInstanceId?: string | null | undefined;
20232
+ qr?: string | null | undefined;
20233
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20046
20234
  apiKey?: string | undefined;
20047
20235
  tier?: "basic" | "regular" | "premium" | undefined;
20236
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20048
20237
  } | undefined;
20049
20238
  vonageCredentials?: {
20050
20239
  apiKey: string;
@@ -20080,15 +20269,18 @@ export declare const telegramContract: {
20080
20269
  additionalCredentials?: any;
20081
20270
  senderId?: string | undefined;
20082
20271
  whatsapp?: {
20083
- email: string;
20084
- wabaExternalId: string;
20085
- phoneNumberId: string;
20086
- wabaBusinessId?: string | undefined;
20087
- clientId?: string | undefined;
20088
- channelId?: string | undefined;
20089
- status?: "active" | "pending" | undefined;
20272
+ wabaBusinessId?: string | null | undefined;
20273
+ wabaExternalId?: string | null | undefined;
20274
+ phoneNumberId?: string | null | undefined;
20275
+ email?: string | null | undefined;
20276
+ clientId?: string | null | undefined;
20277
+ channelId?: string | null | undefined;
20278
+ waapiInstanceId?: string | null | undefined;
20279
+ qr?: string | null | undefined;
20280
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20090
20281
  apiKey?: string | undefined;
20091
20282
  tier?: "basic" | "regular" | "premium" | undefined;
20283
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20092
20284
  } | undefined;
20093
20285
  vonageCredentials?: {
20094
20286
  apiKey: string;
@@ -20126,15 +20318,18 @@ export declare const telegramContract: {
20126
20318
  additionalCredentials?: any;
20127
20319
  senderId?: string | undefined;
20128
20320
  whatsapp?: {
20129
- email: string;
20130
- wabaExternalId: string;
20131
- phoneNumberId: string;
20132
- wabaBusinessId?: string | undefined;
20133
- clientId?: string | undefined;
20134
- channelId?: string | undefined;
20135
- status?: "active" | "pending" | undefined;
20321
+ wabaBusinessId?: string | null | undefined;
20322
+ wabaExternalId?: string | null | undefined;
20323
+ phoneNumberId?: string | null | undefined;
20324
+ email?: string | null | undefined;
20325
+ clientId?: string | null | undefined;
20326
+ channelId?: string | null | undefined;
20327
+ waapiInstanceId?: string | null | undefined;
20328
+ qr?: string | null | undefined;
20329
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20136
20330
  apiKey?: string | undefined;
20137
20331
  tier?: "basic" | "regular" | "premium" | undefined;
20332
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20138
20333
  } | undefined;
20139
20334
  vonageCredentials?: {
20140
20335
  apiKey: string;
@@ -20173,15 +20368,18 @@ export declare const telegramContract: {
20173
20368
  additionalCredentials?: any;
20174
20369
  senderId?: string | undefined;
20175
20370
  whatsapp?: {
20176
- email: string;
20177
- wabaExternalId: string;
20178
- phoneNumberId: string;
20179
- wabaBusinessId?: string | undefined;
20180
- clientId?: string | undefined;
20181
- channelId?: string | undefined;
20182
- status?: "active" | "pending" | undefined;
20371
+ wabaBusinessId?: string | null | undefined;
20372
+ wabaExternalId?: string | null | undefined;
20373
+ phoneNumberId?: string | null | undefined;
20374
+ email?: string | null | undefined;
20375
+ clientId?: string | null | undefined;
20376
+ channelId?: string | null | undefined;
20377
+ waapiInstanceId?: string | null | undefined;
20378
+ qr?: string | null | undefined;
20379
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20183
20380
  apiKey?: string | undefined;
20184
20381
  tier?: "basic" | "regular" | "premium" | undefined;
20382
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20185
20383
  } | undefined;
20186
20384
  vonageCredentials?: {
20187
20385
  apiKey: string;
@@ -20257,35 +20455,44 @@ export declare const telegramContract: {
20257
20455
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20258
20456
  senderId: z.ZodOptional<z.ZodString>;
20259
20457
  whatsapp: z.ZodOptional<z.ZodObject<{
20260
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20261
- wabaExternalId: z.ZodString;
20262
- phoneNumberId: z.ZodString;
20263
- email: z.ZodString;
20264
- clientId: z.ZodOptional<z.ZodString>;
20265
- channelId: z.ZodOptional<z.ZodString>;
20266
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20458
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20459
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20460
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20461
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20462
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20463
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20464
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20465
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20466
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20267
20467
  apiKey: z.ZodOptional<z.ZodString>;
20268
20468
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20469
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20269
20470
  }, "strip", z.ZodTypeAny, {
20270
- email: string;
20271
- wabaExternalId: string;
20272
- phoneNumberId: string;
20273
- wabaBusinessId?: string | undefined;
20274
- clientId?: string | undefined;
20275
- channelId?: string | undefined;
20276
- status?: "active" | "pending" | undefined;
20471
+ wabaBusinessId?: string | null | undefined;
20472
+ wabaExternalId?: string | null | undefined;
20473
+ phoneNumberId?: string | null | undefined;
20474
+ email?: string | null | undefined;
20475
+ clientId?: string | null | undefined;
20476
+ channelId?: string | null | undefined;
20477
+ waapiInstanceId?: string | null | undefined;
20478
+ qr?: string | null | undefined;
20479
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20277
20480
  apiKey?: string | undefined;
20278
20481
  tier?: "basic" | "regular" | "premium" | undefined;
20482
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20279
20483
  }, {
20280
- email: string;
20281
- wabaExternalId: string;
20282
- phoneNumberId: string;
20283
- wabaBusinessId?: string | undefined;
20284
- clientId?: string | undefined;
20285
- channelId?: string | undefined;
20286
- status?: "active" | "pending" | undefined;
20484
+ wabaBusinessId?: string | null | undefined;
20485
+ wabaExternalId?: string | null | undefined;
20486
+ phoneNumberId?: string | null | undefined;
20487
+ email?: string | null | undefined;
20488
+ clientId?: string | null | undefined;
20489
+ channelId?: string | null | undefined;
20490
+ waapiInstanceId?: string | null | undefined;
20491
+ qr?: string | null | undefined;
20492
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20287
20493
  apiKey?: string | undefined;
20288
20494
  tier?: "basic" | "regular" | "premium" | undefined;
20495
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20289
20496
  }>>;
20290
20497
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20291
20498
  mobileNumber: z.ZodString;
@@ -20311,15 +20518,18 @@ export declare const telegramContract: {
20311
20518
  additionalCredentials?: any;
20312
20519
  senderId?: string | undefined;
20313
20520
  whatsapp?: {
20314
- email: string;
20315
- wabaExternalId: string;
20316
- phoneNumberId: string;
20317
- wabaBusinessId?: string | undefined;
20318
- clientId?: string | undefined;
20319
- channelId?: string | undefined;
20320
- status?: "active" | "pending" | undefined;
20521
+ wabaBusinessId?: string | null | undefined;
20522
+ wabaExternalId?: string | null | undefined;
20523
+ phoneNumberId?: string | null | undefined;
20524
+ email?: string | null | undefined;
20525
+ clientId?: string | null | undefined;
20526
+ channelId?: string | null | undefined;
20527
+ waapiInstanceId?: string | null | undefined;
20528
+ qr?: string | null | undefined;
20529
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20321
20530
  apiKey?: string | undefined;
20322
20531
  tier?: "basic" | "regular" | "premium" | undefined;
20532
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20323
20533
  } | undefined;
20324
20534
  vonageCredentials?: {
20325
20535
  apiKey: string;
@@ -20337,15 +20547,18 @@ export declare const telegramContract: {
20337
20547
  additionalCredentials?: any;
20338
20548
  senderId?: string | undefined;
20339
20549
  whatsapp?: {
20340
- email: string;
20341
- wabaExternalId: string;
20342
- phoneNumberId: string;
20343
- wabaBusinessId?: string | undefined;
20344
- clientId?: string | undefined;
20345
- channelId?: string | undefined;
20346
- status?: "active" | "pending" | undefined;
20550
+ wabaBusinessId?: string | null | undefined;
20551
+ wabaExternalId?: string | null | undefined;
20552
+ phoneNumberId?: string | null | undefined;
20553
+ email?: string | null | undefined;
20554
+ clientId?: string | null | undefined;
20555
+ channelId?: string | null | undefined;
20556
+ waapiInstanceId?: string | null | undefined;
20557
+ qr?: string | null | undefined;
20558
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20347
20559
  apiKey?: string | undefined;
20348
20560
  tier?: "basic" | "regular" | "premium" | undefined;
20561
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20349
20562
  } | undefined;
20350
20563
  vonageCredentials?: {
20351
20564
  apiKey: string;
@@ -20393,15 +20606,18 @@ export declare const telegramContract: {
20393
20606
  additionalCredentials?: any;
20394
20607
  senderId?: string | undefined;
20395
20608
  whatsapp?: {
20396
- email: string;
20397
- wabaExternalId: string;
20398
- phoneNumberId: string;
20399
- wabaBusinessId?: string | undefined;
20400
- clientId?: string | undefined;
20401
- channelId?: string | undefined;
20402
- status?: "active" | "pending" | undefined;
20609
+ wabaBusinessId?: string | null | undefined;
20610
+ wabaExternalId?: string | null | undefined;
20611
+ phoneNumberId?: string | null | undefined;
20612
+ email?: string | null | undefined;
20613
+ clientId?: string | null | undefined;
20614
+ channelId?: string | null | undefined;
20615
+ waapiInstanceId?: string | null | undefined;
20616
+ qr?: string | null | undefined;
20617
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20403
20618
  apiKey?: string | undefined;
20404
20619
  tier?: "basic" | "regular" | "premium" | undefined;
20620
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20405
20621
  } | undefined;
20406
20622
  vonageCredentials?: {
20407
20623
  apiKey: string;
@@ -20437,15 +20653,18 @@ export declare const telegramContract: {
20437
20653
  additionalCredentials?: any;
20438
20654
  senderId?: string | undefined;
20439
20655
  whatsapp?: {
20440
- email: string;
20441
- wabaExternalId: string;
20442
- phoneNumberId: string;
20443
- wabaBusinessId?: string | undefined;
20444
- clientId?: string | undefined;
20445
- channelId?: string | undefined;
20446
- status?: "active" | "pending" | undefined;
20656
+ wabaBusinessId?: string | null | undefined;
20657
+ wabaExternalId?: string | null | undefined;
20658
+ phoneNumberId?: string | null | undefined;
20659
+ email?: string | null | undefined;
20660
+ clientId?: string | null | undefined;
20661
+ channelId?: string | null | undefined;
20662
+ waapiInstanceId?: string | null | undefined;
20663
+ qr?: string | null | undefined;
20664
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20447
20665
  apiKey?: string | undefined;
20448
20666
  tier?: "basic" | "regular" | "premium" | undefined;
20667
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20449
20668
  } | undefined;
20450
20669
  vonageCredentials?: {
20451
20670
  apiKey: string;
@@ -20483,15 +20702,18 @@ export declare const telegramContract: {
20483
20702
  additionalCredentials?: any;
20484
20703
  senderId?: string | undefined;
20485
20704
  whatsapp?: {
20486
- email: string;
20487
- wabaExternalId: string;
20488
- phoneNumberId: string;
20489
- wabaBusinessId?: string | undefined;
20490
- clientId?: string | undefined;
20491
- channelId?: string | undefined;
20492
- status?: "active" | "pending" | undefined;
20705
+ wabaBusinessId?: string | null | undefined;
20706
+ wabaExternalId?: string | null | undefined;
20707
+ phoneNumberId?: string | null | undefined;
20708
+ email?: string | null | undefined;
20709
+ clientId?: string | null | undefined;
20710
+ channelId?: string | null | undefined;
20711
+ waapiInstanceId?: string | null | undefined;
20712
+ qr?: string | null | undefined;
20713
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20493
20714
  apiKey?: string | undefined;
20494
20715
  tier?: "basic" | "regular" | "premium" | undefined;
20716
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20495
20717
  } | undefined;
20496
20718
  vonageCredentials?: {
20497
20719
  apiKey: string;
@@ -20530,15 +20752,18 @@ export declare const telegramContract: {
20530
20752
  additionalCredentials?: any;
20531
20753
  senderId?: string | undefined;
20532
20754
  whatsapp?: {
20533
- email: string;
20534
- wabaExternalId: string;
20535
- phoneNumberId: string;
20536
- wabaBusinessId?: string | undefined;
20537
- clientId?: string | undefined;
20538
- channelId?: string | undefined;
20539
- status?: "active" | "pending" | undefined;
20755
+ wabaBusinessId?: string | null | undefined;
20756
+ wabaExternalId?: string | null | undefined;
20757
+ phoneNumberId?: string | null | undefined;
20758
+ email?: string | null | undefined;
20759
+ clientId?: string | null | undefined;
20760
+ channelId?: string | null | undefined;
20761
+ waapiInstanceId?: string | null | undefined;
20762
+ qr?: string | null | undefined;
20763
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20540
20764
  apiKey?: string | undefined;
20541
20765
  tier?: "basic" | "regular" | "premium" | undefined;
20766
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20542
20767
  } | undefined;
20543
20768
  vonageCredentials?: {
20544
20769
  apiKey: string;