@kl1/contracts 1.1.53 → 1.1.54

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 (58) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2772 -197
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +126 -10
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +240 -10
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +24249 -21551
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +753 -105
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1096 -144
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +35856 -4586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +140 -12
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +118 -10
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +1475 -163
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +99 -11
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/validation.d.ts +74 -6
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +1155 -127
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +1034 -122
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +123 -15
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
  32. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  33. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  34. package/dist/api-contracts/src/messenger/index.d.ts +1155 -127
  35. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/messenger/validation.d.ts +74 -6
  37. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/sms/index.d.ts +225 -29
  39. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/sms/schema.d.ts +6 -6
  41. package/dist/api-contracts/src/sms/validation.d.ts +4 -4
  42. package/dist/api-contracts/src/telegram/index.d.ts +837 -101
  43. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/viber/index.d.ts +837 -101
  45. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/webchat/index.d.ts +549 -77
  47. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/whatsapp/index.d.ts +637 -642
  49. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/workflow-rule/index.d.ts +236 -20
  51. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/entities/src/enums/chat.d.ts +1 -0
  53. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  54. package/dist/index.js +2394 -2240
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +2392 -2240
  57. package/dist/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
2
  import { ChannelSchema } from './schema';
3
- import { ConnectChannelSchema, ConnectViberChannelSchema, GetChannelSchema, ConnectSMSSchema, ConnectTelegramChannelSchema } from './validation';
3
+ import { ConnectChannelSchema, ConnectViberChannelSchema, GetChannelSchema, ConnectSMSSchema, ConnectTelegramChannelSchema, ConnectWhatsappSchema } from './validation';
4
4
  import { ConnectWebChatChannelSchema } from '../webchat/schema';
5
5
  export type ConnectChannelRequest = z.TypeOf<typeof ConnectChannelSchema>;
6
6
  export type Channel = z.infer<typeof ChannelSchema>;
@@ -9,6 +9,7 @@ export type ConnectTelegramChannelRequest = z.infer<typeof ConnectTelegramChanne
9
9
  export type GetChannelRequest = z.infer<typeof GetChannelSchema>;
10
10
  export type ConnectWebChatChannelRequest = z.infer<typeof ConnectWebChatChannelSchema>;
11
11
  export type ConnectSMSChannelRequest = z.infer<typeof ConnectSMSSchema>;
12
+ export type ConnectWhatsappChannelRequest = z.infer<typeof ConnectWhatsappSchema>;
12
13
  export declare const channelContract: {
13
14
  getChannels: {
14
15
  summary: "Get Channels";
@@ -37,17 +38,45 @@ export declare const channelContract: {
37
38
  channelSecret: z.ZodOptional<z.ZodString>;
38
39
  additionalCredentials: z.ZodOptional<z.ZodAny>;
39
40
  senderId: z.ZodOptional<z.ZodString>;
41
+ whatsapp: z.ZodOptional<z.ZodObject<{
42
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
43
+ wabaExternalId: z.ZodString;
44
+ phoneNumberId: z.ZodString;
45
+ email: z.ZodString;
46
+ clientId: z.ZodOptional<z.ZodString>;
47
+ channelId: z.ZodOptional<z.ZodString>;
48
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
49
+ apiKey: z.ZodOptional<z.ZodString>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ email: string;
52
+ wabaExternalId: string;
53
+ phoneNumberId: string;
54
+ wabaBusinessId?: string | undefined;
55
+ clientId?: string | undefined;
56
+ channelId?: string | undefined;
57
+ status?: "active" | "pending" | undefined;
58
+ apiKey?: string | undefined;
59
+ }, {
60
+ email: string;
61
+ wabaExternalId: string;
62
+ phoneNumberId: string;
63
+ wabaBusinessId?: string | undefined;
64
+ clientId?: string | undefined;
65
+ channelId?: string | undefined;
66
+ status?: "active" | "pending" | undefined;
67
+ apiKey?: string | undefined;
68
+ }>>;
40
69
  vonageCredentials: z.ZodOptional<z.ZodObject<{
41
70
  mobileNumber: z.ZodString;
42
71
  apiKey: z.ZodString;
43
72
  apiSecret: z.ZodString;
44
73
  }, "strip", z.ZodTypeAny, {
45
- mobileNumber: string;
46
74
  apiKey: string;
75
+ mobileNumber: string;
47
76
  apiSecret: string;
48
77
  }, {
49
- mobileNumber: string;
50
78
  apiKey: string;
79
+ mobileNumber: string;
51
80
  apiSecret: string;
52
81
  }>>;
53
82
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -59,9 +88,19 @@ export declare const channelContract: {
59
88
  channelSecret?: string | undefined;
60
89
  additionalCredentials?: any;
61
90
  senderId?: string | undefined;
91
+ whatsapp?: {
92
+ email: string;
93
+ wabaExternalId: string;
94
+ phoneNumberId: string;
95
+ wabaBusinessId?: string | undefined;
96
+ clientId?: string | undefined;
97
+ channelId?: string | undefined;
98
+ status?: "active" | "pending" | undefined;
99
+ apiKey?: string | undefined;
100
+ } | undefined;
62
101
  vonageCredentials?: {
63
- mobileNumber: string;
64
102
  apiKey: string;
103
+ mobileNumber: string;
65
104
  apiSecret: string;
66
105
  } | undefined;
67
106
  lineRichMenuId?: string | null | undefined;
@@ -73,9 +112,19 @@ export declare const channelContract: {
73
112
  channelSecret?: string | undefined;
74
113
  additionalCredentials?: any;
75
114
  senderId?: string | undefined;
115
+ whatsapp?: {
116
+ email: string;
117
+ wabaExternalId: string;
118
+ phoneNumberId: string;
119
+ wabaBusinessId?: string | undefined;
120
+ clientId?: string | undefined;
121
+ channelId?: string | undefined;
122
+ status?: "active" | "pending" | undefined;
123
+ apiKey?: string | undefined;
124
+ } | undefined;
76
125
  vonageCredentials?: {
77
- mobileNumber: string;
78
126
  apiKey: string;
127
+ mobileNumber: string;
79
128
  apiSecret: string;
80
129
  } | undefined;
81
130
  lineRichMenuId?: string | null | undefined;
@@ -321,9 +370,19 @@ export declare const channelContract: {
321
370
  channelSecret?: string | undefined;
322
371
  additionalCredentials?: any;
323
372
  senderId?: string | undefined;
373
+ whatsapp?: {
374
+ email: string;
375
+ wabaExternalId: string;
376
+ phoneNumberId: string;
377
+ wabaBusinessId?: string | undefined;
378
+ clientId?: string | undefined;
379
+ channelId?: string | undefined;
380
+ status?: "active" | "pending" | undefined;
381
+ apiKey?: string | undefined;
382
+ } | undefined;
324
383
  vonageCredentials?: {
325
- mobileNumber: string;
326
384
  apiKey: string;
385
+ mobileNumber: string;
327
386
  apiSecret: string;
328
387
  } | undefined;
329
388
  lineRichMenuId?: string | null | undefined;
@@ -400,9 +459,19 @@ export declare const channelContract: {
400
459
  channelSecret?: string | undefined;
401
460
  additionalCredentials?: any;
402
461
  senderId?: string | undefined;
462
+ whatsapp?: {
463
+ email: string;
464
+ wabaExternalId: string;
465
+ phoneNumberId: string;
466
+ wabaBusinessId?: string | undefined;
467
+ clientId?: string | undefined;
468
+ channelId?: string | undefined;
469
+ status?: "active" | "pending" | undefined;
470
+ apiKey?: string | undefined;
471
+ } | undefined;
403
472
  vonageCredentials?: {
404
- mobileNumber: string;
405
473
  apiKey: string;
474
+ mobileNumber: string;
406
475
  apiSecret: string;
407
476
  } | undefined;
408
477
  lineRichMenuId?: string | null | undefined;
@@ -481,9 +550,19 @@ export declare const channelContract: {
481
550
  channelSecret?: string | undefined;
482
551
  additionalCredentials?: any;
483
552
  senderId?: string | undefined;
553
+ whatsapp?: {
554
+ email: string;
555
+ wabaExternalId: string;
556
+ phoneNumberId: string;
557
+ wabaBusinessId?: string | undefined;
558
+ clientId?: string | undefined;
559
+ channelId?: string | undefined;
560
+ status?: "active" | "pending" | undefined;
561
+ apiKey?: string | undefined;
562
+ } | undefined;
484
563
  vonageCredentials?: {
485
- mobileNumber: string;
486
564
  apiKey: string;
565
+ mobileNumber: string;
487
566
  apiSecret: string;
488
567
  } | undefined;
489
568
  lineRichMenuId?: string | null | undefined;
@@ -563,9 +642,19 @@ export declare const channelContract: {
563
642
  channelSecret?: string | undefined;
564
643
  additionalCredentials?: any;
565
644
  senderId?: string | undefined;
645
+ whatsapp?: {
646
+ email: string;
647
+ wabaExternalId: string;
648
+ phoneNumberId: string;
649
+ wabaBusinessId?: string | undefined;
650
+ clientId?: string | undefined;
651
+ channelId?: string | undefined;
652
+ status?: "active" | "pending" | undefined;
653
+ apiKey?: string | undefined;
654
+ } | undefined;
566
655
  vonageCredentials?: {
567
- mobileNumber: string;
568
656
  apiKey: string;
657
+ mobileNumber: string;
569
658
  apiSecret: string;
570
659
  } | undefined;
571
660
  lineRichMenuId?: string | null | undefined;
@@ -677,17 +766,45 @@ export declare const channelContract: {
677
766
  channelSecret: z.ZodOptional<z.ZodString>;
678
767
  additionalCredentials: z.ZodOptional<z.ZodAny>;
679
768
  senderId: z.ZodOptional<z.ZodString>;
769
+ whatsapp: z.ZodOptional<z.ZodObject<{
770
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
771
+ wabaExternalId: z.ZodString;
772
+ phoneNumberId: z.ZodString;
773
+ email: z.ZodString;
774
+ clientId: z.ZodOptional<z.ZodString>;
775
+ channelId: z.ZodOptional<z.ZodString>;
776
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
777
+ apiKey: z.ZodOptional<z.ZodString>;
778
+ }, "strip", z.ZodTypeAny, {
779
+ email: string;
780
+ wabaExternalId: string;
781
+ phoneNumberId: string;
782
+ wabaBusinessId?: string | undefined;
783
+ clientId?: string | undefined;
784
+ channelId?: string | undefined;
785
+ status?: "active" | "pending" | undefined;
786
+ apiKey?: string | undefined;
787
+ }, {
788
+ email: string;
789
+ wabaExternalId: string;
790
+ phoneNumberId: string;
791
+ wabaBusinessId?: string | undefined;
792
+ clientId?: string | undefined;
793
+ channelId?: string | undefined;
794
+ status?: "active" | "pending" | undefined;
795
+ apiKey?: string | undefined;
796
+ }>>;
680
797
  vonageCredentials: z.ZodOptional<z.ZodObject<{
681
798
  mobileNumber: z.ZodString;
682
799
  apiKey: z.ZodString;
683
800
  apiSecret: z.ZodString;
684
801
  }, "strip", z.ZodTypeAny, {
685
- mobileNumber: string;
686
802
  apiKey: string;
803
+ mobileNumber: string;
687
804
  apiSecret: string;
688
805
  }, {
689
- mobileNumber: string;
690
806
  apiKey: string;
807
+ mobileNumber: string;
691
808
  apiSecret: string;
692
809
  }>>;
693
810
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -699,9 +816,19 @@ export declare const channelContract: {
699
816
  channelSecret?: string | undefined;
700
817
  additionalCredentials?: any;
701
818
  senderId?: string | undefined;
819
+ whatsapp?: {
820
+ email: string;
821
+ wabaExternalId: string;
822
+ phoneNumberId: string;
823
+ wabaBusinessId?: string | undefined;
824
+ clientId?: string | undefined;
825
+ channelId?: string | undefined;
826
+ status?: "active" | "pending" | undefined;
827
+ apiKey?: string | undefined;
828
+ } | undefined;
702
829
  vonageCredentials?: {
703
- mobileNumber: string;
704
830
  apiKey: string;
831
+ mobileNumber: string;
705
832
  apiSecret: string;
706
833
  } | undefined;
707
834
  lineRichMenuId?: string | null | undefined;
@@ -713,9 +840,19 @@ export declare const channelContract: {
713
840
  channelSecret?: string | undefined;
714
841
  additionalCredentials?: any;
715
842
  senderId?: string | undefined;
843
+ whatsapp?: {
844
+ email: string;
845
+ wabaExternalId: string;
846
+ phoneNumberId: string;
847
+ wabaBusinessId?: string | undefined;
848
+ clientId?: string | undefined;
849
+ channelId?: string | undefined;
850
+ status?: "active" | "pending" | undefined;
851
+ apiKey?: string | undefined;
852
+ } | undefined;
716
853
  vonageCredentials?: {
717
- mobileNumber: string;
718
854
  apiKey: string;
855
+ mobileNumber: string;
719
856
  apiSecret: string;
720
857
  } | undefined;
721
858
  lineRichMenuId?: string | null | undefined;
@@ -762,9 +899,19 @@ export declare const channelContract: {
762
899
  channelSecret?: string | undefined;
763
900
  additionalCredentials?: any;
764
901
  senderId?: string | undefined;
902
+ whatsapp?: {
903
+ email: string;
904
+ wabaExternalId: string;
905
+ phoneNumberId: string;
906
+ wabaBusinessId?: string | undefined;
907
+ clientId?: string | undefined;
908
+ channelId?: string | undefined;
909
+ status?: "active" | "pending" | undefined;
910
+ apiKey?: string | undefined;
911
+ } | undefined;
765
912
  vonageCredentials?: {
766
- mobileNumber: string;
767
913
  apiKey: string;
914
+ mobileNumber: string;
768
915
  apiSecret: string;
769
916
  } | undefined;
770
917
  lineRichMenuId?: string | null | undefined;
@@ -798,9 +945,19 @@ export declare const channelContract: {
798
945
  channelSecret?: string | undefined;
799
946
  additionalCredentials?: any;
800
947
  senderId?: string | undefined;
948
+ whatsapp?: {
949
+ email: string;
950
+ wabaExternalId: string;
951
+ phoneNumberId: string;
952
+ wabaBusinessId?: string | undefined;
953
+ clientId?: string | undefined;
954
+ channelId?: string | undefined;
955
+ status?: "active" | "pending" | undefined;
956
+ apiKey?: string | undefined;
957
+ } | undefined;
801
958
  vonageCredentials?: {
802
- mobileNumber: string;
803
959
  apiKey: string;
960
+ mobileNumber: string;
804
961
  apiSecret: string;
805
962
  } | undefined;
806
963
  lineRichMenuId?: string | null | undefined;
@@ -836,9 +993,19 @@ export declare const channelContract: {
836
993
  channelSecret?: string | undefined;
837
994
  additionalCredentials?: any;
838
995
  senderId?: string | undefined;
996
+ 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;
1004
+ apiKey?: string | undefined;
1005
+ } | undefined;
839
1006
  vonageCredentials?: {
840
- mobileNumber: string;
841
1007
  apiKey: string;
1008
+ mobileNumber: string;
842
1009
  apiSecret: string;
843
1010
  } | undefined;
844
1011
  lineRichMenuId?: string | null | undefined;
@@ -875,9 +1042,19 @@ export declare const channelContract: {
875
1042
  channelSecret?: string | undefined;
876
1043
  additionalCredentials?: any;
877
1044
  senderId?: string | undefined;
1045
+ whatsapp?: {
1046
+ email: string;
1047
+ wabaExternalId: string;
1048
+ phoneNumberId: string;
1049
+ wabaBusinessId?: string | undefined;
1050
+ clientId?: string | undefined;
1051
+ channelId?: string | undefined;
1052
+ status?: "active" | "pending" | undefined;
1053
+ apiKey?: string | undefined;
1054
+ } | undefined;
878
1055
  vonageCredentials?: {
879
- mobileNumber: string;
880
1056
  apiKey: string;
1057
+ mobileNumber: string;
881
1058
  apiSecret: string;
882
1059
  } | undefined;
883
1060
  lineRichMenuId?: string | null | undefined;
@@ -960,17 +1137,45 @@ export declare const channelContract: {
960
1137
  channelSecret: z.ZodOptional<z.ZodString>;
961
1138
  additionalCredentials: z.ZodOptional<z.ZodAny>;
962
1139
  senderId: z.ZodOptional<z.ZodString>;
1140
+ whatsapp: z.ZodOptional<z.ZodObject<{
1141
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1142
+ wabaExternalId: z.ZodString;
1143
+ phoneNumberId: z.ZodString;
1144
+ email: z.ZodString;
1145
+ clientId: z.ZodOptional<z.ZodString>;
1146
+ channelId: z.ZodOptional<z.ZodString>;
1147
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1148
+ apiKey: z.ZodOptional<z.ZodString>;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ email: string;
1151
+ wabaExternalId: string;
1152
+ phoneNumberId: string;
1153
+ wabaBusinessId?: string | undefined;
1154
+ clientId?: string | undefined;
1155
+ channelId?: string | undefined;
1156
+ status?: "active" | "pending" | undefined;
1157
+ apiKey?: string | undefined;
1158
+ }, {
1159
+ email: string;
1160
+ wabaExternalId: string;
1161
+ phoneNumberId: string;
1162
+ wabaBusinessId?: string | undefined;
1163
+ clientId?: string | undefined;
1164
+ channelId?: string | undefined;
1165
+ status?: "active" | "pending" | undefined;
1166
+ apiKey?: string | undefined;
1167
+ }>>;
963
1168
  vonageCredentials: z.ZodOptional<z.ZodObject<{
964
1169
  mobileNumber: z.ZodString;
965
1170
  apiKey: z.ZodString;
966
1171
  apiSecret: z.ZodString;
967
1172
  }, "strip", z.ZodTypeAny, {
968
- mobileNumber: string;
969
1173
  apiKey: string;
1174
+ mobileNumber: string;
970
1175
  apiSecret: string;
971
1176
  }, {
972
- mobileNumber: string;
973
1177
  apiKey: string;
1178
+ mobileNumber: string;
974
1179
  apiSecret: string;
975
1180
  }>>;
976
1181
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -982,9 +1187,19 @@ export declare const channelContract: {
982
1187
  channelSecret?: string | undefined;
983
1188
  additionalCredentials?: any;
984
1189
  senderId?: string | undefined;
1190
+ whatsapp?: {
1191
+ email: string;
1192
+ wabaExternalId: string;
1193
+ phoneNumberId: string;
1194
+ wabaBusinessId?: string | undefined;
1195
+ clientId?: string | undefined;
1196
+ channelId?: string | undefined;
1197
+ status?: "active" | "pending" | undefined;
1198
+ apiKey?: string | undefined;
1199
+ } | undefined;
985
1200
  vonageCredentials?: {
986
- mobileNumber: string;
987
1201
  apiKey: string;
1202
+ mobileNumber: string;
988
1203
  apiSecret: string;
989
1204
  } | undefined;
990
1205
  lineRichMenuId?: string | null | undefined;
@@ -996,9 +1211,19 @@ export declare const channelContract: {
996
1211
  channelSecret?: string | undefined;
997
1212
  additionalCredentials?: any;
998
1213
  senderId?: string | undefined;
1214
+ whatsapp?: {
1215
+ email: string;
1216
+ wabaExternalId: string;
1217
+ phoneNumberId: string;
1218
+ wabaBusinessId?: string | undefined;
1219
+ clientId?: string | undefined;
1220
+ channelId?: string | undefined;
1221
+ status?: "active" | "pending" | undefined;
1222
+ apiKey?: string | undefined;
1223
+ } | undefined;
999
1224
  vonageCredentials?: {
1000
- mobileNumber: string;
1001
1225
  apiKey: string;
1226
+ mobileNumber: string;
1002
1227
  apiSecret: string;
1003
1228
  } | undefined;
1004
1229
  lineRichMenuId?: string | null | undefined;
@@ -1244,9 +1469,19 @@ export declare const channelContract: {
1244
1469
  channelSecret?: string | undefined;
1245
1470
  additionalCredentials?: any;
1246
1471
  senderId?: string | undefined;
1472
+ whatsapp?: {
1473
+ email: string;
1474
+ wabaExternalId: string;
1475
+ phoneNumberId: string;
1476
+ wabaBusinessId?: string | undefined;
1477
+ clientId?: string | undefined;
1478
+ channelId?: string | undefined;
1479
+ status?: "active" | "pending" | undefined;
1480
+ apiKey?: string | undefined;
1481
+ } | undefined;
1247
1482
  vonageCredentials?: {
1248
- mobileNumber: string;
1249
1483
  apiKey: string;
1484
+ mobileNumber: string;
1250
1485
  apiSecret: string;
1251
1486
  } | undefined;
1252
1487
  lineRichMenuId?: string | null | undefined;
@@ -1323,9 +1558,19 @@ export declare const channelContract: {
1323
1558
  channelSecret?: string | undefined;
1324
1559
  additionalCredentials?: any;
1325
1560
  senderId?: string | undefined;
1561
+ whatsapp?: {
1562
+ email: string;
1563
+ wabaExternalId: string;
1564
+ phoneNumberId: string;
1565
+ wabaBusinessId?: string | undefined;
1566
+ clientId?: string | undefined;
1567
+ channelId?: string | undefined;
1568
+ status?: "active" | "pending" | undefined;
1569
+ apiKey?: string | undefined;
1570
+ } | undefined;
1326
1571
  vonageCredentials?: {
1327
- mobileNumber: string;
1328
1572
  apiKey: string;
1573
+ mobileNumber: string;
1329
1574
  apiSecret: string;
1330
1575
  } | undefined;
1331
1576
  lineRichMenuId?: string | null | undefined;
@@ -1404,9 +1649,19 @@ export declare const channelContract: {
1404
1649
  channelSecret?: string | undefined;
1405
1650
  additionalCredentials?: any;
1406
1651
  senderId?: string | undefined;
1652
+ whatsapp?: {
1653
+ email: string;
1654
+ wabaExternalId: string;
1655
+ phoneNumberId: string;
1656
+ wabaBusinessId?: string | undefined;
1657
+ clientId?: string | undefined;
1658
+ channelId?: string | undefined;
1659
+ status?: "active" | "pending" | undefined;
1660
+ apiKey?: string | undefined;
1661
+ } | undefined;
1407
1662
  vonageCredentials?: {
1408
- mobileNumber: string;
1409
1663
  apiKey: string;
1664
+ mobileNumber: string;
1410
1665
  apiSecret: string;
1411
1666
  } | undefined;
1412
1667
  lineRichMenuId?: string | null | undefined;
@@ -1486,9 +1741,19 @@ export declare const channelContract: {
1486
1741
  channelSecret?: string | undefined;
1487
1742
  additionalCredentials?: any;
1488
1743
  senderId?: string | undefined;
1744
+ whatsapp?: {
1745
+ email: string;
1746
+ wabaExternalId: string;
1747
+ phoneNumberId: string;
1748
+ wabaBusinessId?: string | undefined;
1749
+ clientId?: string | undefined;
1750
+ channelId?: string | undefined;
1751
+ status?: "active" | "pending" | undefined;
1752
+ apiKey?: string | undefined;
1753
+ } | undefined;
1489
1754
  vonageCredentials?: {
1490
- mobileNumber: string;
1491
1755
  apiKey: string;
1756
+ mobileNumber: string;
1492
1757
  apiSecret: string;
1493
1758
  } | undefined;
1494
1759
  lineRichMenuId?: string | null | undefined;
@@ -1620,17 +1885,45 @@ export declare const channelContract: {
1620
1885
  channelSecret: z.ZodOptional<z.ZodString>;
1621
1886
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1622
1887
  senderId: z.ZodOptional<z.ZodString>;
1888
+ whatsapp: z.ZodOptional<z.ZodObject<{
1889
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1890
+ wabaExternalId: z.ZodString;
1891
+ phoneNumberId: z.ZodString;
1892
+ email: z.ZodString;
1893
+ clientId: z.ZodOptional<z.ZodString>;
1894
+ channelId: z.ZodOptional<z.ZodString>;
1895
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1896
+ apiKey: z.ZodOptional<z.ZodString>;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ email: string;
1899
+ wabaExternalId: string;
1900
+ phoneNumberId: string;
1901
+ wabaBusinessId?: string | undefined;
1902
+ clientId?: string | undefined;
1903
+ channelId?: string | undefined;
1904
+ status?: "active" | "pending" | undefined;
1905
+ apiKey?: string | undefined;
1906
+ }, {
1907
+ email: string;
1908
+ wabaExternalId: string;
1909
+ phoneNumberId: string;
1910
+ wabaBusinessId?: string | undefined;
1911
+ clientId?: string | undefined;
1912
+ channelId?: string | undefined;
1913
+ status?: "active" | "pending" | undefined;
1914
+ apiKey?: string | undefined;
1915
+ }>>;
1623
1916
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1624
1917
  mobileNumber: z.ZodString;
1625
1918
  apiKey: z.ZodString;
1626
1919
  apiSecret: z.ZodString;
1627
1920
  }, "strip", z.ZodTypeAny, {
1628
- mobileNumber: string;
1629
1921
  apiKey: string;
1922
+ mobileNumber: string;
1630
1923
  apiSecret: string;
1631
1924
  }, {
1632
- mobileNumber: string;
1633
1925
  apiKey: string;
1926
+ mobileNumber: string;
1634
1927
  apiSecret: string;
1635
1928
  }>>;
1636
1929
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1642,9 +1935,19 @@ export declare const channelContract: {
1642
1935
  channelSecret?: string | undefined;
1643
1936
  additionalCredentials?: any;
1644
1937
  senderId?: string | undefined;
1938
+ whatsapp?: {
1939
+ email: string;
1940
+ wabaExternalId: string;
1941
+ phoneNumberId: string;
1942
+ wabaBusinessId?: string | undefined;
1943
+ clientId?: string | undefined;
1944
+ channelId?: string | undefined;
1945
+ status?: "active" | "pending" | undefined;
1946
+ apiKey?: string | undefined;
1947
+ } | undefined;
1645
1948
  vonageCredentials?: {
1646
- mobileNumber: string;
1647
1949
  apiKey: string;
1950
+ mobileNumber: string;
1648
1951
  apiSecret: string;
1649
1952
  } | undefined;
1650
1953
  lineRichMenuId?: string | null | undefined;
@@ -1656,9 +1959,19 @@ export declare const channelContract: {
1656
1959
  channelSecret?: string | undefined;
1657
1960
  additionalCredentials?: any;
1658
1961
  senderId?: string | undefined;
1962
+ whatsapp?: {
1963
+ email: string;
1964
+ wabaExternalId: string;
1965
+ phoneNumberId: string;
1966
+ wabaBusinessId?: string | undefined;
1967
+ clientId?: string | undefined;
1968
+ channelId?: string | undefined;
1969
+ status?: "active" | "pending" | undefined;
1970
+ apiKey?: string | undefined;
1971
+ } | undefined;
1659
1972
  vonageCredentials?: {
1660
- mobileNumber: string;
1661
1973
  apiKey: string;
1974
+ mobileNumber: string;
1662
1975
  apiSecret: string;
1663
1976
  } | undefined;
1664
1977
  lineRichMenuId?: string | null | undefined;
@@ -1904,9 +2217,19 @@ export declare const channelContract: {
1904
2217
  channelSecret?: string | undefined;
1905
2218
  additionalCredentials?: any;
1906
2219
  senderId?: string | undefined;
2220
+ whatsapp?: {
2221
+ email: string;
2222
+ wabaExternalId: string;
2223
+ phoneNumberId: string;
2224
+ wabaBusinessId?: string | undefined;
2225
+ clientId?: string | undefined;
2226
+ channelId?: string | undefined;
2227
+ status?: "active" | "pending" | undefined;
2228
+ apiKey?: string | undefined;
2229
+ } | undefined;
1907
2230
  vonageCredentials?: {
1908
- mobileNumber: string;
1909
2231
  apiKey: string;
2232
+ mobileNumber: string;
1910
2233
  apiSecret: string;
1911
2234
  } | undefined;
1912
2235
  lineRichMenuId?: string | null | undefined;
@@ -1983,9 +2306,19 @@ export declare const channelContract: {
1983
2306
  channelSecret?: string | undefined;
1984
2307
  additionalCredentials?: any;
1985
2308
  senderId?: string | undefined;
2309
+ whatsapp?: {
2310
+ email: string;
2311
+ wabaExternalId: string;
2312
+ phoneNumberId: string;
2313
+ wabaBusinessId?: string | undefined;
2314
+ clientId?: string | undefined;
2315
+ channelId?: string | undefined;
2316
+ status?: "active" | "pending" | undefined;
2317
+ apiKey?: string | undefined;
2318
+ } | undefined;
1986
2319
  vonageCredentials?: {
1987
- mobileNumber: string;
1988
2320
  apiKey: string;
2321
+ mobileNumber: string;
1989
2322
  apiSecret: string;
1990
2323
  } | undefined;
1991
2324
  lineRichMenuId?: string | null | undefined;
@@ -2064,9 +2397,19 @@ export declare const channelContract: {
2064
2397
  channelSecret?: string | undefined;
2065
2398
  additionalCredentials?: any;
2066
2399
  senderId?: string | undefined;
2400
+ whatsapp?: {
2401
+ email: string;
2402
+ wabaExternalId: string;
2403
+ phoneNumberId: string;
2404
+ wabaBusinessId?: string | undefined;
2405
+ clientId?: string | undefined;
2406
+ channelId?: string | undefined;
2407
+ status?: "active" | "pending" | undefined;
2408
+ apiKey?: string | undefined;
2409
+ } | undefined;
2067
2410
  vonageCredentials?: {
2068
- mobileNumber: string;
2069
2411
  apiKey: string;
2412
+ mobileNumber: string;
2070
2413
  apiSecret: string;
2071
2414
  } | undefined;
2072
2415
  lineRichMenuId?: string | null | undefined;
@@ -2146,9 +2489,19 @@ export declare const channelContract: {
2146
2489
  channelSecret?: string | undefined;
2147
2490
  additionalCredentials?: any;
2148
2491
  senderId?: string | undefined;
2492
+ whatsapp?: {
2493
+ email: string;
2494
+ wabaExternalId: string;
2495
+ phoneNumberId: string;
2496
+ wabaBusinessId?: string | undefined;
2497
+ clientId?: string | undefined;
2498
+ channelId?: string | undefined;
2499
+ status?: "active" | "pending" | undefined;
2500
+ apiKey?: string | undefined;
2501
+ } | undefined;
2149
2502
  vonageCredentials?: {
2150
- mobileNumber: string;
2151
2503
  apiKey: string;
2504
+ mobileNumber: string;
2152
2505
  apiSecret: string;
2153
2506
  } | undefined;
2154
2507
  lineRichMenuId?: string | null | undefined;
@@ -2274,17 +2627,45 @@ export declare const channelContract: {
2274
2627
  channelSecret: z.ZodOptional<z.ZodString>;
2275
2628
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2276
2629
  senderId: z.ZodOptional<z.ZodString>;
2630
+ whatsapp: z.ZodOptional<z.ZodObject<{
2631
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
2632
+ wabaExternalId: z.ZodString;
2633
+ phoneNumberId: z.ZodString;
2634
+ email: z.ZodString;
2635
+ clientId: z.ZodOptional<z.ZodString>;
2636
+ channelId: z.ZodOptional<z.ZodString>;
2637
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2638
+ apiKey: z.ZodOptional<z.ZodString>;
2639
+ }, "strip", z.ZodTypeAny, {
2640
+ email: string;
2641
+ wabaExternalId: string;
2642
+ phoneNumberId: string;
2643
+ wabaBusinessId?: string | undefined;
2644
+ clientId?: string | undefined;
2645
+ channelId?: string | undefined;
2646
+ status?: "active" | "pending" | undefined;
2647
+ apiKey?: string | undefined;
2648
+ }, {
2649
+ email: string;
2650
+ wabaExternalId: string;
2651
+ phoneNumberId: string;
2652
+ wabaBusinessId?: string | undefined;
2653
+ clientId?: string | undefined;
2654
+ channelId?: string | undefined;
2655
+ status?: "active" | "pending" | undefined;
2656
+ apiKey?: string | undefined;
2657
+ }>>;
2277
2658
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2278
2659
  mobileNumber: z.ZodString;
2279
2660
  apiKey: z.ZodString;
2280
2661
  apiSecret: z.ZodString;
2281
2662
  }, "strip", z.ZodTypeAny, {
2282
- mobileNumber: string;
2283
2663
  apiKey: string;
2664
+ mobileNumber: string;
2284
2665
  apiSecret: string;
2285
2666
  }, {
2286
- mobileNumber: string;
2287
2667
  apiKey: string;
2668
+ mobileNumber: string;
2288
2669
  apiSecret: string;
2289
2670
  }>>;
2290
2671
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2296,9 +2677,19 @@ export declare const channelContract: {
2296
2677
  channelSecret?: string | undefined;
2297
2678
  additionalCredentials?: any;
2298
2679
  senderId?: string | undefined;
2680
+ whatsapp?: {
2681
+ email: string;
2682
+ wabaExternalId: string;
2683
+ phoneNumberId: string;
2684
+ wabaBusinessId?: string | undefined;
2685
+ clientId?: string | undefined;
2686
+ channelId?: string | undefined;
2687
+ status?: "active" | "pending" | undefined;
2688
+ apiKey?: string | undefined;
2689
+ } | undefined;
2299
2690
  vonageCredentials?: {
2300
- mobileNumber: string;
2301
2691
  apiKey: string;
2692
+ mobileNumber: string;
2302
2693
  apiSecret: string;
2303
2694
  } | undefined;
2304
2695
  lineRichMenuId?: string | null | undefined;
@@ -2310,9 +2701,19 @@ export declare const channelContract: {
2310
2701
  channelSecret?: string | undefined;
2311
2702
  additionalCredentials?: any;
2312
2703
  senderId?: string | undefined;
2704
+ whatsapp?: {
2705
+ email: string;
2706
+ wabaExternalId: string;
2707
+ phoneNumberId: string;
2708
+ wabaBusinessId?: string | undefined;
2709
+ clientId?: string | undefined;
2710
+ channelId?: string | undefined;
2711
+ status?: "active" | "pending" | undefined;
2712
+ apiKey?: string | undefined;
2713
+ } | undefined;
2313
2714
  vonageCredentials?: {
2314
- mobileNumber: string;
2315
2715
  apiKey: string;
2716
+ mobileNumber: string;
2316
2717
  apiSecret: string;
2317
2718
  } | undefined;
2318
2719
  lineRichMenuId?: string | null | undefined;
@@ -2558,9 +2959,19 @@ export declare const channelContract: {
2558
2959
  channelSecret?: string | undefined;
2559
2960
  additionalCredentials?: any;
2560
2961
  senderId?: string | undefined;
2962
+ whatsapp?: {
2963
+ email: string;
2964
+ wabaExternalId: string;
2965
+ phoneNumberId: string;
2966
+ wabaBusinessId?: string | undefined;
2967
+ clientId?: string | undefined;
2968
+ channelId?: string | undefined;
2969
+ status?: "active" | "pending" | undefined;
2970
+ apiKey?: string | undefined;
2971
+ } | undefined;
2561
2972
  vonageCredentials?: {
2562
- mobileNumber: string;
2563
2973
  apiKey: string;
2974
+ mobileNumber: string;
2564
2975
  apiSecret: string;
2565
2976
  } | undefined;
2566
2977
  lineRichMenuId?: string | null | undefined;
@@ -2637,9 +3048,19 @@ export declare const channelContract: {
2637
3048
  channelSecret?: string | undefined;
2638
3049
  additionalCredentials?: any;
2639
3050
  senderId?: string | undefined;
3051
+ whatsapp?: {
3052
+ email: string;
3053
+ wabaExternalId: string;
3054
+ phoneNumberId: string;
3055
+ wabaBusinessId?: string | undefined;
3056
+ clientId?: string | undefined;
3057
+ channelId?: string | undefined;
3058
+ status?: "active" | "pending" | undefined;
3059
+ apiKey?: string | undefined;
3060
+ } | undefined;
2640
3061
  vonageCredentials?: {
2641
- mobileNumber: string;
2642
3062
  apiKey: string;
3063
+ mobileNumber: string;
2643
3064
  apiSecret: string;
2644
3065
  } | undefined;
2645
3066
  lineRichMenuId?: string | null | undefined;
@@ -2718,9 +3139,19 @@ export declare const channelContract: {
2718
3139
  channelSecret?: string | undefined;
2719
3140
  additionalCredentials?: any;
2720
3141
  senderId?: string | undefined;
3142
+ whatsapp?: {
3143
+ email: string;
3144
+ wabaExternalId: string;
3145
+ phoneNumberId: string;
3146
+ wabaBusinessId?: string | undefined;
3147
+ clientId?: string | undefined;
3148
+ channelId?: string | undefined;
3149
+ status?: "active" | "pending" | undefined;
3150
+ apiKey?: string | undefined;
3151
+ } | undefined;
2721
3152
  vonageCredentials?: {
2722
- mobileNumber: string;
2723
3153
  apiKey: string;
3154
+ mobileNumber: string;
2724
3155
  apiSecret: string;
2725
3156
  } | undefined;
2726
3157
  lineRichMenuId?: string | null | undefined;
@@ -2800,9 +3231,19 @@ export declare const channelContract: {
2800
3231
  channelSecret?: string | undefined;
2801
3232
  additionalCredentials?: any;
2802
3233
  senderId?: string | undefined;
3234
+ whatsapp?: {
3235
+ email: string;
3236
+ wabaExternalId: string;
3237
+ phoneNumberId: string;
3238
+ wabaBusinessId?: string | undefined;
3239
+ clientId?: string | undefined;
3240
+ channelId?: string | undefined;
3241
+ status?: "active" | "pending" | undefined;
3242
+ apiKey?: string | undefined;
3243
+ } | undefined;
2803
3244
  vonageCredentials?: {
2804
- mobileNumber: string;
2805
3245
  apiKey: string;
3246
+ mobileNumber: string;
2806
3247
  apiSecret: string;
2807
3248
  } | undefined;
2808
3249
  lineRichMenuId?: string | null | undefined;
@@ -2911,17 +3352,45 @@ export declare const channelContract: {
2911
3352
  channelSecret: z.ZodOptional<z.ZodString>;
2912
3353
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2913
3354
  senderId: z.ZodOptional<z.ZodString>;
3355
+ whatsapp: z.ZodOptional<z.ZodObject<{
3356
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
3357
+ wabaExternalId: z.ZodString;
3358
+ phoneNumberId: z.ZodString;
3359
+ email: z.ZodString;
3360
+ clientId: z.ZodOptional<z.ZodString>;
3361
+ channelId: z.ZodOptional<z.ZodString>;
3362
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
3363
+ apiKey: z.ZodOptional<z.ZodString>;
3364
+ }, "strip", z.ZodTypeAny, {
3365
+ email: string;
3366
+ wabaExternalId: string;
3367
+ phoneNumberId: string;
3368
+ wabaBusinessId?: string | undefined;
3369
+ clientId?: string | undefined;
3370
+ channelId?: string | undefined;
3371
+ status?: "active" | "pending" | undefined;
3372
+ apiKey?: string | undefined;
3373
+ }, {
3374
+ email: string;
3375
+ wabaExternalId: string;
3376
+ phoneNumberId: string;
3377
+ wabaBusinessId?: string | undefined;
3378
+ clientId?: string | undefined;
3379
+ channelId?: string | undefined;
3380
+ status?: "active" | "pending" | undefined;
3381
+ apiKey?: string | undefined;
3382
+ }>>;
2914
3383
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2915
3384
  mobileNumber: z.ZodString;
2916
3385
  apiKey: z.ZodString;
2917
3386
  apiSecret: z.ZodString;
2918
3387
  }, "strip", z.ZodTypeAny, {
2919
- mobileNumber: string;
2920
3388
  apiKey: string;
3389
+ mobileNumber: string;
2921
3390
  apiSecret: string;
2922
3391
  }, {
2923
- mobileNumber: string;
2924
3392
  apiKey: string;
3393
+ mobileNumber: string;
2925
3394
  apiSecret: string;
2926
3395
  }>>;
2927
3396
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2933,9 +3402,19 @@ export declare const channelContract: {
2933
3402
  channelSecret?: string | undefined;
2934
3403
  additionalCredentials?: any;
2935
3404
  senderId?: string | undefined;
3405
+ whatsapp?: {
3406
+ email: string;
3407
+ wabaExternalId: string;
3408
+ phoneNumberId: string;
3409
+ wabaBusinessId?: string | undefined;
3410
+ clientId?: string | undefined;
3411
+ channelId?: string | undefined;
3412
+ status?: "active" | "pending" | undefined;
3413
+ apiKey?: string | undefined;
3414
+ } | undefined;
2936
3415
  vonageCredentials?: {
2937
- mobileNumber: string;
2938
3416
  apiKey: string;
3417
+ mobileNumber: string;
2939
3418
  apiSecret: string;
2940
3419
  } | undefined;
2941
3420
  lineRichMenuId?: string | null | undefined;
@@ -2947,9 +3426,19 @@ export declare const channelContract: {
2947
3426
  channelSecret?: string | undefined;
2948
3427
  additionalCredentials?: any;
2949
3428
  senderId?: string | undefined;
3429
+ whatsapp?: {
3430
+ email: string;
3431
+ wabaExternalId: string;
3432
+ phoneNumberId: string;
3433
+ wabaBusinessId?: string | undefined;
3434
+ clientId?: string | undefined;
3435
+ channelId?: string | undefined;
3436
+ status?: "active" | "pending" | undefined;
3437
+ apiKey?: string | undefined;
3438
+ } | undefined;
2950
3439
  vonageCredentials?: {
2951
- mobileNumber: string;
2952
3440
  apiKey: string;
3441
+ mobileNumber: string;
2953
3442
  apiSecret: string;
2954
3443
  } | undefined;
2955
3444
  lineRichMenuId?: string | null | undefined;
@@ -2968,9 +3457,19 @@ export declare const channelContract: {
2968
3457
  channelSecret?: string | undefined;
2969
3458
  additionalCredentials?: any;
2970
3459
  senderId?: string | undefined;
3460
+ whatsapp?: {
3461
+ email: string;
3462
+ wabaExternalId: string;
3463
+ phoneNumberId: string;
3464
+ wabaBusinessId?: string | undefined;
3465
+ clientId?: string | undefined;
3466
+ channelId?: string | undefined;
3467
+ status?: "active" | "pending" | undefined;
3468
+ apiKey?: string | undefined;
3469
+ } | undefined;
2971
3470
  vonageCredentials?: {
2972
- mobileNumber: string;
2973
3471
  apiKey: string;
3472
+ mobileNumber: string;
2974
3473
  apiSecret: string;
2975
3474
  } | undefined;
2976
3475
  lineRichMenuId?: string | null | undefined;
@@ -2989,9 +3488,19 @@ export declare const channelContract: {
2989
3488
  channelSecret?: string | undefined;
2990
3489
  additionalCredentials?: any;
2991
3490
  senderId?: string | undefined;
3491
+ whatsapp?: {
3492
+ email: string;
3493
+ wabaExternalId: string;
3494
+ phoneNumberId: string;
3495
+ wabaBusinessId?: string | undefined;
3496
+ clientId?: string | undefined;
3497
+ channelId?: string | undefined;
3498
+ status?: "active" | "pending" | undefined;
3499
+ apiKey?: string | undefined;
3500
+ } | undefined;
2992
3501
  vonageCredentials?: {
2993
- mobileNumber: string;
2994
3502
  apiKey: string;
3503
+ mobileNumber: string;
2995
3504
  apiSecret: string;
2996
3505
  } | undefined;
2997
3506
  lineRichMenuId?: string | null | undefined;
@@ -3020,17 +3529,45 @@ export declare const channelContract: {
3020
3529
  channelSecret: z.ZodOptional<z.ZodString>;
3021
3530
  additionalCredentials: z.ZodOptional<z.ZodAny>;
3022
3531
  senderId: z.ZodOptional<z.ZodString>;
3532
+ whatsapp: z.ZodOptional<z.ZodObject<{
3533
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
3534
+ wabaExternalId: z.ZodString;
3535
+ phoneNumberId: z.ZodString;
3536
+ email: z.ZodString;
3537
+ clientId: z.ZodOptional<z.ZodString>;
3538
+ channelId: z.ZodOptional<z.ZodString>;
3539
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
3540
+ apiKey: z.ZodOptional<z.ZodString>;
3541
+ }, "strip", z.ZodTypeAny, {
3542
+ email: string;
3543
+ wabaExternalId: string;
3544
+ phoneNumberId: string;
3545
+ wabaBusinessId?: string | undefined;
3546
+ clientId?: string | undefined;
3547
+ channelId?: string | undefined;
3548
+ status?: "active" | "pending" | undefined;
3549
+ apiKey?: string | undefined;
3550
+ }, {
3551
+ email: string;
3552
+ wabaExternalId: string;
3553
+ phoneNumberId: string;
3554
+ wabaBusinessId?: string | undefined;
3555
+ clientId?: string | undefined;
3556
+ channelId?: string | undefined;
3557
+ status?: "active" | "pending" | undefined;
3558
+ apiKey?: string | undefined;
3559
+ }>>;
3023
3560
  vonageCredentials: z.ZodOptional<z.ZodObject<{
3024
3561
  mobileNumber: z.ZodString;
3025
3562
  apiKey: z.ZodString;
3026
3563
  apiSecret: z.ZodString;
3027
3564
  }, "strip", z.ZodTypeAny, {
3028
- mobileNumber: string;
3029
3565
  apiKey: string;
3566
+ mobileNumber: string;
3030
3567
  apiSecret: string;
3031
3568
  }, {
3032
- mobileNumber: string;
3033
3569
  apiKey: string;
3570
+ mobileNumber: string;
3034
3571
  apiSecret: string;
3035
3572
  }>>;
3036
3573
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3042,9 +3579,19 @@ export declare const channelContract: {
3042
3579
  channelSecret?: string | undefined;
3043
3580
  additionalCredentials?: any;
3044
3581
  senderId?: string | undefined;
3582
+ whatsapp?: {
3583
+ email: string;
3584
+ wabaExternalId: string;
3585
+ phoneNumberId: string;
3586
+ wabaBusinessId?: string | undefined;
3587
+ clientId?: string | undefined;
3588
+ channelId?: string | undefined;
3589
+ status?: "active" | "pending" | undefined;
3590
+ apiKey?: string | undefined;
3591
+ } | undefined;
3045
3592
  vonageCredentials?: {
3046
- mobileNumber: string;
3047
3593
  apiKey: string;
3594
+ mobileNumber: string;
3048
3595
  apiSecret: string;
3049
3596
  } | undefined;
3050
3597
  lineRichMenuId?: string | null | undefined;
@@ -3056,9 +3603,19 @@ export declare const channelContract: {
3056
3603
  channelSecret?: string | undefined;
3057
3604
  additionalCredentials?: any;
3058
3605
  senderId?: string | undefined;
3606
+ whatsapp?: {
3607
+ email: string;
3608
+ wabaExternalId: string;
3609
+ phoneNumberId: string;
3610
+ wabaBusinessId?: string | undefined;
3611
+ clientId?: string | undefined;
3612
+ channelId?: string | undefined;
3613
+ status?: "active" | "pending" | undefined;
3614
+ apiKey?: string | undefined;
3615
+ } | undefined;
3059
3616
  vonageCredentials?: {
3060
- mobileNumber: string;
3061
3617
  apiKey: string;
3618
+ mobileNumber: string;
3062
3619
  apiSecret: string;
3063
3620
  } | undefined;
3064
3621
  lineRichMenuId?: string | null | undefined;
@@ -3304,9 +3861,19 @@ export declare const channelContract: {
3304
3861
  channelSecret?: string | undefined;
3305
3862
  additionalCredentials?: any;
3306
3863
  senderId?: string | undefined;
3864
+ whatsapp?: {
3865
+ email: string;
3866
+ wabaExternalId: string;
3867
+ phoneNumberId: string;
3868
+ wabaBusinessId?: string | undefined;
3869
+ clientId?: string | undefined;
3870
+ channelId?: string | undefined;
3871
+ status?: "active" | "pending" | undefined;
3872
+ apiKey?: string | undefined;
3873
+ } | undefined;
3307
3874
  vonageCredentials?: {
3308
- mobileNumber: string;
3309
3875
  apiKey: string;
3876
+ mobileNumber: string;
3310
3877
  apiSecret: string;
3311
3878
  } | undefined;
3312
3879
  lineRichMenuId?: string | null | undefined;
@@ -3383,9 +3950,19 @@ export declare const channelContract: {
3383
3950
  channelSecret?: string | undefined;
3384
3951
  additionalCredentials?: any;
3385
3952
  senderId?: string | undefined;
3953
+ whatsapp?: {
3954
+ email: string;
3955
+ wabaExternalId: string;
3956
+ phoneNumberId: string;
3957
+ wabaBusinessId?: string | undefined;
3958
+ clientId?: string | undefined;
3959
+ channelId?: string | undefined;
3960
+ status?: "active" | "pending" | undefined;
3961
+ apiKey?: string | undefined;
3962
+ } | undefined;
3386
3963
  vonageCredentials?: {
3387
- mobileNumber: string;
3388
3964
  apiKey: string;
3965
+ mobileNumber: string;
3389
3966
  apiSecret: string;
3390
3967
  } | undefined;
3391
3968
  lineRichMenuId?: string | null | undefined;
@@ -3464,9 +4041,19 @@ export declare const channelContract: {
3464
4041
  channelSecret?: string | undefined;
3465
4042
  additionalCredentials?: any;
3466
4043
  senderId?: string | undefined;
4044
+ whatsapp?: {
4045
+ email: string;
4046
+ wabaExternalId: string;
4047
+ phoneNumberId: string;
4048
+ wabaBusinessId?: string | undefined;
4049
+ clientId?: string | undefined;
4050
+ channelId?: string | undefined;
4051
+ status?: "active" | "pending" | undefined;
4052
+ apiKey?: string | undefined;
4053
+ } | undefined;
3467
4054
  vonageCredentials?: {
3468
- mobileNumber: string;
3469
4055
  apiKey: string;
4056
+ mobileNumber: string;
3470
4057
  apiSecret: string;
3471
4058
  } | undefined;
3472
4059
  lineRichMenuId?: string | null | undefined;
@@ -3546,9 +4133,19 @@ export declare const channelContract: {
3546
4133
  channelSecret?: string | undefined;
3547
4134
  additionalCredentials?: any;
3548
4135
  senderId?: string | undefined;
4136
+ whatsapp?: {
4137
+ email: string;
4138
+ wabaExternalId: string;
4139
+ phoneNumberId: string;
4140
+ wabaBusinessId?: string | undefined;
4141
+ clientId?: string | undefined;
4142
+ channelId?: string | undefined;
4143
+ status?: "active" | "pending" | undefined;
4144
+ apiKey?: string | undefined;
4145
+ } | undefined;
3549
4146
  vonageCredentials?: {
3550
- mobileNumber: string;
3551
4147
  apiKey: string;
4148
+ mobileNumber: string;
3552
4149
  apiSecret: string;
3553
4150
  } | undefined;
3554
4151
  lineRichMenuId?: string | null | undefined;
@@ -4549,17 +5146,45 @@ export declare const channelContract: {
4549
5146
  channelSecret: z.ZodOptional<z.ZodString>;
4550
5147
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4551
5148
  senderId: z.ZodOptional<z.ZodString>;
5149
+ whatsapp: z.ZodOptional<z.ZodObject<{
5150
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
5151
+ wabaExternalId: z.ZodString;
5152
+ phoneNumberId: z.ZodString;
5153
+ email: z.ZodString;
5154
+ clientId: z.ZodOptional<z.ZodString>;
5155
+ channelId: z.ZodOptional<z.ZodString>;
5156
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5157
+ apiKey: z.ZodOptional<z.ZodString>;
5158
+ }, "strip", z.ZodTypeAny, {
5159
+ email: string;
5160
+ wabaExternalId: string;
5161
+ phoneNumberId: string;
5162
+ wabaBusinessId?: string | undefined;
5163
+ clientId?: string | undefined;
5164
+ channelId?: string | undefined;
5165
+ status?: "active" | "pending" | undefined;
5166
+ apiKey?: string | undefined;
5167
+ }, {
5168
+ email: string;
5169
+ wabaExternalId: string;
5170
+ phoneNumberId: string;
5171
+ wabaBusinessId?: string | undefined;
5172
+ clientId?: string | undefined;
5173
+ channelId?: string | undefined;
5174
+ status?: "active" | "pending" | undefined;
5175
+ apiKey?: string | undefined;
5176
+ }>>;
4552
5177
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4553
5178
  mobileNumber: z.ZodString;
4554
5179
  apiKey: z.ZodString;
4555
5180
  apiSecret: z.ZodString;
4556
5181
  }, "strip", z.ZodTypeAny, {
4557
- mobileNumber: string;
4558
5182
  apiKey: string;
5183
+ mobileNumber: string;
4559
5184
  apiSecret: string;
4560
5185
  }, {
4561
- mobileNumber: string;
4562
5186
  apiKey: string;
5187
+ mobileNumber: string;
4563
5188
  apiSecret: string;
4564
5189
  }>>;
4565
5190
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4571,9 +5196,19 @@ export declare const channelContract: {
4571
5196
  channelSecret?: string | undefined;
4572
5197
  additionalCredentials?: any;
4573
5198
  senderId?: string | undefined;
5199
+ whatsapp?: {
5200
+ email: string;
5201
+ wabaExternalId: string;
5202
+ phoneNumberId: string;
5203
+ wabaBusinessId?: string | undefined;
5204
+ clientId?: string | undefined;
5205
+ channelId?: string | undefined;
5206
+ status?: "active" | "pending" | undefined;
5207
+ apiKey?: string | undefined;
5208
+ } | undefined;
4574
5209
  vonageCredentials?: {
4575
- mobileNumber: string;
4576
5210
  apiKey: string;
5211
+ mobileNumber: string;
4577
5212
  apiSecret: string;
4578
5213
  } | undefined;
4579
5214
  lineRichMenuId?: string | null | undefined;
@@ -4585,9 +5220,19 @@ export declare const channelContract: {
4585
5220
  channelSecret?: string | undefined;
4586
5221
  additionalCredentials?: any;
4587
5222
  senderId?: string | undefined;
5223
+ whatsapp?: {
5224
+ email: string;
5225
+ wabaExternalId: string;
5226
+ phoneNumberId: string;
5227
+ wabaBusinessId?: string | undefined;
5228
+ clientId?: string | undefined;
5229
+ channelId?: string | undefined;
5230
+ status?: "active" | "pending" | undefined;
5231
+ apiKey?: string | undefined;
5232
+ } | undefined;
4588
5233
  vonageCredentials?: {
4589
- mobileNumber: string;
4590
5234
  apiKey: string;
5235
+ mobileNumber: string;
4591
5236
  apiSecret: string;
4592
5237
  } | undefined;
4593
5238
  lineRichMenuId?: string | null | undefined;
@@ -4606,9 +5251,19 @@ export declare const channelContract: {
4606
5251
  channelSecret?: string | undefined;
4607
5252
  additionalCredentials?: any;
4608
5253
  senderId?: string | undefined;
5254
+ whatsapp?: {
5255
+ email: string;
5256
+ wabaExternalId: string;
5257
+ phoneNumberId: string;
5258
+ wabaBusinessId?: string | undefined;
5259
+ clientId?: string | undefined;
5260
+ channelId?: string | undefined;
5261
+ status?: "active" | "pending" | undefined;
5262
+ apiKey?: string | undefined;
5263
+ } | undefined;
4609
5264
  vonageCredentials?: {
4610
- mobileNumber: string;
4611
5265
  apiKey: string;
5266
+ mobileNumber: string;
4612
5267
  apiSecret: string;
4613
5268
  } | undefined;
4614
5269
  lineRichMenuId?: string | null | undefined;
@@ -4627,9 +5282,19 @@ export declare const channelContract: {
4627
5282
  channelSecret?: string | undefined;
4628
5283
  additionalCredentials?: any;
4629
5284
  senderId?: string | undefined;
5285
+ whatsapp?: {
5286
+ email: string;
5287
+ wabaExternalId: string;
5288
+ phoneNumberId: string;
5289
+ wabaBusinessId?: string | undefined;
5290
+ clientId?: string | undefined;
5291
+ channelId?: string | undefined;
5292
+ status?: "active" | "pending" | undefined;
5293
+ apiKey?: string | undefined;
5294
+ } | undefined;
4630
5295
  vonageCredentials?: {
4631
- mobileNumber: string;
4632
5296
  apiKey: string;
5297
+ mobileNumber: string;
4633
5298
  apiSecret: string;
4634
5299
  } | undefined;
4635
5300
  lineRichMenuId?: string | null | undefined;
@@ -4658,17 +5323,45 @@ export declare const channelContract: {
4658
5323
  channelSecret: z.ZodOptional<z.ZodString>;
4659
5324
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4660
5325
  senderId: z.ZodOptional<z.ZodString>;
5326
+ whatsapp: z.ZodOptional<z.ZodObject<{
5327
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
5328
+ wabaExternalId: z.ZodString;
5329
+ phoneNumberId: z.ZodString;
5330
+ email: z.ZodString;
5331
+ clientId: z.ZodOptional<z.ZodString>;
5332
+ channelId: z.ZodOptional<z.ZodString>;
5333
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5334
+ apiKey: z.ZodOptional<z.ZodString>;
5335
+ }, "strip", z.ZodTypeAny, {
5336
+ email: string;
5337
+ wabaExternalId: string;
5338
+ phoneNumberId: string;
5339
+ wabaBusinessId?: string | undefined;
5340
+ clientId?: string | undefined;
5341
+ channelId?: string | undefined;
5342
+ status?: "active" | "pending" | undefined;
5343
+ apiKey?: string | undefined;
5344
+ }, {
5345
+ email: string;
5346
+ wabaExternalId: string;
5347
+ phoneNumberId: string;
5348
+ wabaBusinessId?: string | undefined;
5349
+ clientId?: string | undefined;
5350
+ channelId?: string | undefined;
5351
+ status?: "active" | "pending" | undefined;
5352
+ apiKey?: string | undefined;
5353
+ }>>;
4661
5354
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4662
5355
  mobileNumber: z.ZodString;
4663
5356
  apiKey: z.ZodString;
4664
5357
  apiSecret: z.ZodString;
4665
5358
  }, "strip", z.ZodTypeAny, {
4666
- mobileNumber: string;
4667
5359
  apiKey: string;
5360
+ mobileNumber: string;
4668
5361
  apiSecret: string;
4669
5362
  }, {
4670
- mobileNumber: string;
4671
5363
  apiKey: string;
5364
+ mobileNumber: string;
4672
5365
  apiSecret: string;
4673
5366
  }>>;
4674
5367
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4680,9 +5373,19 @@ export declare const channelContract: {
4680
5373
  channelSecret?: string | undefined;
4681
5374
  additionalCredentials?: any;
4682
5375
  senderId?: string | undefined;
5376
+ whatsapp?: {
5377
+ email: string;
5378
+ wabaExternalId: string;
5379
+ phoneNumberId: string;
5380
+ wabaBusinessId?: string | undefined;
5381
+ clientId?: string | undefined;
5382
+ channelId?: string | undefined;
5383
+ status?: "active" | "pending" | undefined;
5384
+ apiKey?: string | undefined;
5385
+ } | undefined;
4683
5386
  vonageCredentials?: {
4684
- mobileNumber: string;
4685
5387
  apiKey: string;
5388
+ mobileNumber: string;
4686
5389
  apiSecret: string;
4687
5390
  } | undefined;
4688
5391
  lineRichMenuId?: string | null | undefined;
@@ -4694,9 +5397,19 @@ export declare const channelContract: {
4694
5397
  channelSecret?: string | undefined;
4695
5398
  additionalCredentials?: any;
4696
5399
  senderId?: string | undefined;
5400
+ whatsapp?: {
5401
+ email: string;
5402
+ wabaExternalId: string;
5403
+ phoneNumberId: string;
5404
+ wabaBusinessId?: string | undefined;
5405
+ clientId?: string | undefined;
5406
+ channelId?: string | undefined;
5407
+ status?: "active" | "pending" | undefined;
5408
+ apiKey?: string | undefined;
5409
+ } | undefined;
4697
5410
  vonageCredentials?: {
4698
- mobileNumber: string;
4699
5411
  apiKey: string;
5412
+ mobileNumber: string;
4700
5413
  apiSecret: string;
4701
5414
  } | undefined;
4702
5415
  lineRichMenuId?: string | null | undefined;
@@ -4942,9 +5655,19 @@ export declare const channelContract: {
4942
5655
  channelSecret?: string | undefined;
4943
5656
  additionalCredentials?: any;
4944
5657
  senderId?: string | undefined;
5658
+ whatsapp?: {
5659
+ email: string;
5660
+ wabaExternalId: string;
5661
+ phoneNumberId: string;
5662
+ wabaBusinessId?: string | undefined;
5663
+ clientId?: string | undefined;
5664
+ channelId?: string | undefined;
5665
+ status?: "active" | "pending" | undefined;
5666
+ apiKey?: string | undefined;
5667
+ } | undefined;
4945
5668
  vonageCredentials?: {
4946
- mobileNumber: string;
4947
5669
  apiKey: string;
5670
+ mobileNumber: string;
4948
5671
  apiSecret: string;
4949
5672
  } | undefined;
4950
5673
  lineRichMenuId?: string | null | undefined;
@@ -5021,9 +5744,19 @@ export declare const channelContract: {
5021
5744
  channelSecret?: string | undefined;
5022
5745
  additionalCredentials?: any;
5023
5746
  senderId?: string | undefined;
5747
+ whatsapp?: {
5748
+ email: string;
5749
+ wabaExternalId: string;
5750
+ phoneNumberId: string;
5751
+ wabaBusinessId?: string | undefined;
5752
+ clientId?: string | undefined;
5753
+ channelId?: string | undefined;
5754
+ status?: "active" | "pending" | undefined;
5755
+ apiKey?: string | undefined;
5756
+ } | undefined;
5024
5757
  vonageCredentials?: {
5025
- mobileNumber: string;
5026
5758
  apiKey: string;
5759
+ mobileNumber: string;
5027
5760
  apiSecret: string;
5028
5761
  } | undefined;
5029
5762
  lineRichMenuId?: string | null | undefined;
@@ -5102,9 +5835,19 @@ export declare const channelContract: {
5102
5835
  channelSecret?: string | undefined;
5103
5836
  additionalCredentials?: any;
5104
5837
  senderId?: string | undefined;
5838
+ whatsapp?: {
5839
+ email: string;
5840
+ wabaExternalId: string;
5841
+ phoneNumberId: string;
5842
+ wabaBusinessId?: string | undefined;
5843
+ clientId?: string | undefined;
5844
+ channelId?: string | undefined;
5845
+ status?: "active" | "pending" | undefined;
5846
+ apiKey?: string | undefined;
5847
+ } | undefined;
5105
5848
  vonageCredentials?: {
5106
- mobileNumber: string;
5107
5849
  apiKey: string;
5850
+ mobileNumber: string;
5108
5851
  apiSecret: string;
5109
5852
  } | undefined;
5110
5853
  lineRichMenuId?: string | null | undefined;
@@ -5184,9 +5927,19 @@ export declare const channelContract: {
5184
5927
  channelSecret?: string | undefined;
5185
5928
  additionalCredentials?: any;
5186
5929
  senderId?: string | undefined;
5930
+ whatsapp?: {
5931
+ email: string;
5932
+ wabaExternalId: string;
5933
+ phoneNumberId: string;
5934
+ wabaBusinessId?: string | undefined;
5935
+ clientId?: string | undefined;
5936
+ channelId?: string | undefined;
5937
+ status?: "active" | "pending" | undefined;
5938
+ apiKey?: string | undefined;
5939
+ } | undefined;
5187
5940
  vonageCredentials?: {
5188
- mobileNumber: string;
5189
5941
  apiKey: string;
5942
+ mobileNumber: string;
5190
5943
  apiSecret: string;
5191
5944
  } | undefined;
5192
5945
  lineRichMenuId?: string | null | undefined;
@@ -5546,17 +6299,45 @@ export declare const channelContract: {
5546
6299
  channelSecret: z.ZodOptional<z.ZodString>;
5547
6300
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5548
6301
  senderId: z.ZodOptional<z.ZodString>;
6302
+ whatsapp: z.ZodOptional<z.ZodObject<{
6303
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
6304
+ wabaExternalId: z.ZodString;
6305
+ phoneNumberId: z.ZodString;
6306
+ email: z.ZodString;
6307
+ clientId: z.ZodOptional<z.ZodString>;
6308
+ channelId: z.ZodOptional<z.ZodString>;
6309
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
6310
+ apiKey: z.ZodOptional<z.ZodString>;
6311
+ }, "strip", z.ZodTypeAny, {
6312
+ email: string;
6313
+ wabaExternalId: string;
6314
+ phoneNumberId: string;
6315
+ wabaBusinessId?: string | undefined;
6316
+ clientId?: string | undefined;
6317
+ channelId?: string | undefined;
6318
+ status?: "active" | "pending" | undefined;
6319
+ apiKey?: string | undefined;
6320
+ }, {
6321
+ email: string;
6322
+ wabaExternalId: string;
6323
+ phoneNumberId: string;
6324
+ wabaBusinessId?: string | undefined;
6325
+ clientId?: string | undefined;
6326
+ channelId?: string | undefined;
6327
+ status?: "active" | "pending" | undefined;
6328
+ apiKey?: string | undefined;
6329
+ }>>;
5549
6330
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5550
6331
  mobileNumber: z.ZodString;
5551
6332
  apiKey: z.ZodString;
5552
6333
  apiSecret: z.ZodString;
5553
6334
  }, "strip", z.ZodTypeAny, {
5554
- mobileNumber: string;
5555
6335
  apiKey: string;
6336
+ mobileNumber: string;
5556
6337
  apiSecret: string;
5557
6338
  }, {
5558
- mobileNumber: string;
5559
6339
  apiKey: string;
6340
+ mobileNumber: string;
5560
6341
  apiSecret: string;
5561
6342
  }>>;
5562
6343
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5568,9 +6349,19 @@ export declare const channelContract: {
5568
6349
  channelSecret?: string | undefined;
5569
6350
  additionalCredentials?: any;
5570
6351
  senderId?: string | undefined;
6352
+ whatsapp?: {
6353
+ email: string;
6354
+ wabaExternalId: string;
6355
+ phoneNumberId: string;
6356
+ wabaBusinessId?: string | undefined;
6357
+ clientId?: string | undefined;
6358
+ channelId?: string | undefined;
6359
+ status?: "active" | "pending" | undefined;
6360
+ apiKey?: string | undefined;
6361
+ } | undefined;
5571
6362
  vonageCredentials?: {
5572
- mobileNumber: string;
5573
6363
  apiKey: string;
6364
+ mobileNumber: string;
5574
6365
  apiSecret: string;
5575
6366
  } | undefined;
5576
6367
  lineRichMenuId?: string | null | undefined;
@@ -5582,9 +6373,19 @@ export declare const channelContract: {
5582
6373
  channelSecret?: string | undefined;
5583
6374
  additionalCredentials?: any;
5584
6375
  senderId?: string | undefined;
6376
+ whatsapp?: {
6377
+ email: string;
6378
+ wabaExternalId: string;
6379
+ phoneNumberId: string;
6380
+ wabaBusinessId?: string | undefined;
6381
+ clientId?: string | undefined;
6382
+ channelId?: string | undefined;
6383
+ status?: "active" | "pending" | undefined;
6384
+ apiKey?: string | undefined;
6385
+ } | undefined;
5585
6386
  vonageCredentials?: {
5586
- mobileNumber: string;
5587
6387
  apiKey: string;
6388
+ mobileNumber: string;
5588
6389
  apiSecret: string;
5589
6390
  } | undefined;
5590
6391
  lineRichMenuId?: string | null | undefined;
@@ -5603,9 +6404,19 @@ export declare const channelContract: {
5603
6404
  channelSecret?: string | undefined;
5604
6405
  additionalCredentials?: any;
5605
6406
  senderId?: string | undefined;
6407
+ whatsapp?: {
6408
+ email: string;
6409
+ wabaExternalId: string;
6410
+ phoneNumberId: string;
6411
+ wabaBusinessId?: string | undefined;
6412
+ clientId?: string | undefined;
6413
+ channelId?: string | undefined;
6414
+ status?: "active" | "pending" | undefined;
6415
+ apiKey?: string | undefined;
6416
+ } | undefined;
5606
6417
  vonageCredentials?: {
5607
- mobileNumber: string;
5608
6418
  apiKey: string;
6419
+ mobileNumber: string;
5609
6420
  apiSecret: string;
5610
6421
  } | undefined;
5611
6422
  lineRichMenuId?: string | null | undefined;
@@ -5624,9 +6435,19 @@ export declare const channelContract: {
5624
6435
  channelSecret?: string | undefined;
5625
6436
  additionalCredentials?: any;
5626
6437
  senderId?: string | undefined;
6438
+ whatsapp?: {
6439
+ email: string;
6440
+ wabaExternalId: string;
6441
+ phoneNumberId: string;
6442
+ wabaBusinessId?: string | undefined;
6443
+ clientId?: string | undefined;
6444
+ channelId?: string | undefined;
6445
+ status?: "active" | "pending" | undefined;
6446
+ apiKey?: string | undefined;
6447
+ } | undefined;
5627
6448
  vonageCredentials?: {
5628
- mobileNumber: string;
5629
6449
  apiKey: string;
6450
+ mobileNumber: string;
5630
6451
  apiSecret: string;
5631
6452
  } | undefined;
5632
6453
  lineRichMenuId?: string | null | undefined;
@@ -5655,17 +6476,45 @@ export declare const channelContract: {
5655
6476
  channelSecret: z.ZodOptional<z.ZodString>;
5656
6477
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5657
6478
  senderId: z.ZodOptional<z.ZodString>;
6479
+ whatsapp: z.ZodOptional<z.ZodObject<{
6480
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
6481
+ wabaExternalId: z.ZodString;
6482
+ phoneNumberId: z.ZodString;
6483
+ email: z.ZodString;
6484
+ clientId: z.ZodOptional<z.ZodString>;
6485
+ channelId: z.ZodOptional<z.ZodString>;
6486
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
6487
+ apiKey: z.ZodOptional<z.ZodString>;
6488
+ }, "strip", z.ZodTypeAny, {
6489
+ email: string;
6490
+ wabaExternalId: string;
6491
+ phoneNumberId: string;
6492
+ wabaBusinessId?: string | undefined;
6493
+ clientId?: string | undefined;
6494
+ channelId?: string | undefined;
6495
+ status?: "active" | "pending" | undefined;
6496
+ apiKey?: string | undefined;
6497
+ }, {
6498
+ email: string;
6499
+ wabaExternalId: string;
6500
+ phoneNumberId: string;
6501
+ wabaBusinessId?: string | undefined;
6502
+ clientId?: string | undefined;
6503
+ channelId?: string | undefined;
6504
+ status?: "active" | "pending" | undefined;
6505
+ apiKey?: string | undefined;
6506
+ }>>;
5658
6507
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5659
6508
  mobileNumber: z.ZodString;
5660
6509
  apiKey: z.ZodString;
5661
6510
  apiSecret: z.ZodString;
5662
6511
  }, "strip", z.ZodTypeAny, {
5663
- mobileNumber: string;
5664
6512
  apiKey: string;
6513
+ mobileNumber: string;
5665
6514
  apiSecret: string;
5666
6515
  }, {
5667
- mobileNumber: string;
5668
6516
  apiKey: string;
6517
+ mobileNumber: string;
5669
6518
  apiSecret: string;
5670
6519
  }>>;
5671
6520
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5677,9 +6526,19 @@ export declare const channelContract: {
5677
6526
  channelSecret?: string | undefined;
5678
6527
  additionalCredentials?: any;
5679
6528
  senderId?: string | undefined;
6529
+ whatsapp?: {
6530
+ email: string;
6531
+ wabaExternalId: string;
6532
+ phoneNumberId: string;
6533
+ wabaBusinessId?: string | undefined;
6534
+ clientId?: string | undefined;
6535
+ channelId?: string | undefined;
6536
+ status?: "active" | "pending" | undefined;
6537
+ apiKey?: string | undefined;
6538
+ } | undefined;
5680
6539
  vonageCredentials?: {
5681
- mobileNumber: string;
5682
6540
  apiKey: string;
6541
+ mobileNumber: string;
5683
6542
  apiSecret: string;
5684
6543
  } | undefined;
5685
6544
  lineRichMenuId?: string | null | undefined;
@@ -5691,9 +6550,19 @@ export declare const channelContract: {
5691
6550
  channelSecret?: string | undefined;
5692
6551
  additionalCredentials?: any;
5693
6552
  senderId?: string | undefined;
6553
+ whatsapp?: {
6554
+ email: string;
6555
+ wabaExternalId: string;
6556
+ phoneNumberId: string;
6557
+ wabaBusinessId?: string | undefined;
6558
+ clientId?: string | undefined;
6559
+ channelId?: string | undefined;
6560
+ status?: "active" | "pending" | undefined;
6561
+ apiKey?: string | undefined;
6562
+ } | undefined;
5694
6563
  vonageCredentials?: {
5695
- mobileNumber: string;
5696
6564
  apiKey: string;
6565
+ mobileNumber: string;
5697
6566
  apiSecret: string;
5698
6567
  } | undefined;
5699
6568
  lineRichMenuId?: string | null | undefined;
@@ -5939,9 +6808,19 @@ export declare const channelContract: {
5939
6808
  channelSecret?: string | undefined;
5940
6809
  additionalCredentials?: any;
5941
6810
  senderId?: string | undefined;
6811
+ whatsapp?: {
6812
+ email: string;
6813
+ wabaExternalId: string;
6814
+ phoneNumberId: string;
6815
+ wabaBusinessId?: string | undefined;
6816
+ clientId?: string | undefined;
6817
+ channelId?: string | undefined;
6818
+ status?: "active" | "pending" | undefined;
6819
+ apiKey?: string | undefined;
6820
+ } | undefined;
5942
6821
  vonageCredentials?: {
5943
- mobileNumber: string;
5944
6822
  apiKey: string;
6823
+ mobileNumber: string;
5945
6824
  apiSecret: string;
5946
6825
  } | undefined;
5947
6826
  lineRichMenuId?: string | null | undefined;
@@ -6018,9 +6897,19 @@ export declare const channelContract: {
6018
6897
  channelSecret?: string | undefined;
6019
6898
  additionalCredentials?: any;
6020
6899
  senderId?: string | undefined;
6900
+ whatsapp?: {
6901
+ email: string;
6902
+ wabaExternalId: string;
6903
+ phoneNumberId: string;
6904
+ wabaBusinessId?: string | undefined;
6905
+ clientId?: string | undefined;
6906
+ channelId?: string | undefined;
6907
+ status?: "active" | "pending" | undefined;
6908
+ apiKey?: string | undefined;
6909
+ } | undefined;
6021
6910
  vonageCredentials?: {
6022
- mobileNumber: string;
6023
6911
  apiKey: string;
6912
+ mobileNumber: string;
6024
6913
  apiSecret: string;
6025
6914
  } | undefined;
6026
6915
  lineRichMenuId?: string | null | undefined;
@@ -6099,9 +6988,19 @@ export declare const channelContract: {
6099
6988
  channelSecret?: string | undefined;
6100
6989
  additionalCredentials?: any;
6101
6990
  senderId?: string | undefined;
6991
+ whatsapp?: {
6992
+ email: string;
6993
+ wabaExternalId: string;
6994
+ phoneNumberId: string;
6995
+ wabaBusinessId?: string | undefined;
6996
+ clientId?: string | undefined;
6997
+ channelId?: string | undefined;
6998
+ status?: "active" | "pending" | undefined;
6999
+ apiKey?: string | undefined;
7000
+ } | undefined;
6102
7001
  vonageCredentials?: {
6103
- mobileNumber: string;
6104
7002
  apiKey: string;
7003
+ mobileNumber: string;
6105
7004
  apiSecret: string;
6106
7005
  } | undefined;
6107
7006
  lineRichMenuId?: string | null | undefined;
@@ -6181,9 +7080,19 @@ export declare const channelContract: {
6181
7080
  channelSecret?: string | undefined;
6182
7081
  additionalCredentials?: any;
6183
7082
  senderId?: string | undefined;
7083
+ whatsapp?: {
7084
+ email: string;
7085
+ wabaExternalId: string;
7086
+ phoneNumberId: string;
7087
+ wabaBusinessId?: string | undefined;
7088
+ clientId?: string | undefined;
7089
+ channelId?: string | undefined;
7090
+ status?: "active" | "pending" | undefined;
7091
+ apiKey?: string | undefined;
7092
+ } | undefined;
6184
7093
  vonageCredentials?: {
6185
- mobileNumber: string;
6186
7094
  apiKey: string;
7095
+ mobileNumber: string;
6187
7096
  apiSecret: string;
6188
7097
  } | undefined;
6189
7098
  lineRichMenuId?: string | null | undefined;
@@ -6313,17 +7222,45 @@ export declare const channelContract: {
6313
7222
  channelSecret: z.ZodOptional<z.ZodString>;
6314
7223
  additionalCredentials: z.ZodOptional<z.ZodAny>;
6315
7224
  senderId: z.ZodOptional<z.ZodString>;
7225
+ whatsapp: z.ZodOptional<z.ZodObject<{
7226
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
7227
+ wabaExternalId: z.ZodString;
7228
+ phoneNumberId: z.ZodString;
7229
+ email: z.ZodString;
7230
+ clientId: z.ZodOptional<z.ZodString>;
7231
+ channelId: z.ZodOptional<z.ZodString>;
7232
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7233
+ apiKey: z.ZodOptional<z.ZodString>;
7234
+ }, "strip", z.ZodTypeAny, {
7235
+ email: string;
7236
+ wabaExternalId: string;
7237
+ phoneNumberId: string;
7238
+ wabaBusinessId?: string | undefined;
7239
+ clientId?: string | undefined;
7240
+ channelId?: string | undefined;
7241
+ status?: "active" | "pending" | undefined;
7242
+ apiKey?: string | undefined;
7243
+ }, {
7244
+ email: string;
7245
+ wabaExternalId: string;
7246
+ phoneNumberId: string;
7247
+ wabaBusinessId?: string | undefined;
7248
+ clientId?: string | undefined;
7249
+ channelId?: string | undefined;
7250
+ status?: "active" | "pending" | undefined;
7251
+ apiKey?: string | undefined;
7252
+ }>>;
6316
7253
  vonageCredentials: z.ZodOptional<z.ZodObject<{
6317
7254
  mobileNumber: z.ZodString;
6318
7255
  apiKey: z.ZodString;
6319
7256
  apiSecret: z.ZodString;
6320
7257
  }, "strip", z.ZodTypeAny, {
6321
- mobileNumber: string;
6322
7258
  apiKey: string;
7259
+ mobileNumber: string;
6323
7260
  apiSecret: string;
6324
7261
  }, {
6325
- mobileNumber: string;
6326
7262
  apiKey: string;
7263
+ mobileNumber: string;
6327
7264
  apiSecret: string;
6328
7265
  }>>;
6329
7266
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6335,9 +7272,19 @@ export declare const channelContract: {
6335
7272
  channelSecret?: string | undefined;
6336
7273
  additionalCredentials?: any;
6337
7274
  senderId?: string | undefined;
7275
+ whatsapp?: {
7276
+ email: string;
7277
+ wabaExternalId: string;
7278
+ phoneNumberId: string;
7279
+ wabaBusinessId?: string | undefined;
7280
+ clientId?: string | undefined;
7281
+ channelId?: string | undefined;
7282
+ status?: "active" | "pending" | undefined;
7283
+ apiKey?: string | undefined;
7284
+ } | undefined;
6338
7285
  vonageCredentials?: {
6339
- mobileNumber: string;
6340
7286
  apiKey: string;
7287
+ mobileNumber: string;
6341
7288
  apiSecret: string;
6342
7289
  } | undefined;
6343
7290
  lineRichMenuId?: string | null | undefined;
@@ -6349,9 +7296,19 @@ export declare const channelContract: {
6349
7296
  channelSecret?: string | undefined;
6350
7297
  additionalCredentials?: any;
6351
7298
  senderId?: string | undefined;
7299
+ whatsapp?: {
7300
+ email: string;
7301
+ wabaExternalId: string;
7302
+ phoneNumberId: string;
7303
+ wabaBusinessId?: string | undefined;
7304
+ clientId?: string | undefined;
7305
+ channelId?: string | undefined;
7306
+ status?: "active" | "pending" | undefined;
7307
+ apiKey?: string | undefined;
7308
+ } | undefined;
6352
7309
  vonageCredentials?: {
6353
- mobileNumber: string;
6354
7310
  apiKey: string;
7311
+ mobileNumber: string;
6355
7312
  apiSecret: string;
6356
7313
  } | undefined;
6357
7314
  lineRichMenuId?: string | null | undefined;
@@ -6597,9 +7554,19 @@ export declare const channelContract: {
6597
7554
  channelSecret?: string | undefined;
6598
7555
  additionalCredentials?: any;
6599
7556
  senderId?: string | undefined;
7557
+ whatsapp?: {
7558
+ email: string;
7559
+ wabaExternalId: string;
7560
+ phoneNumberId: string;
7561
+ wabaBusinessId?: string | undefined;
7562
+ clientId?: string | undefined;
7563
+ channelId?: string | undefined;
7564
+ status?: "active" | "pending" | undefined;
7565
+ apiKey?: string | undefined;
7566
+ } | undefined;
6600
7567
  vonageCredentials?: {
6601
- mobileNumber: string;
6602
7568
  apiKey: string;
7569
+ mobileNumber: string;
6603
7570
  apiSecret: string;
6604
7571
  } | undefined;
6605
7572
  lineRichMenuId?: string | null | undefined;
@@ -6676,9 +7643,19 @@ export declare const channelContract: {
6676
7643
  channelSecret?: string | undefined;
6677
7644
  additionalCredentials?: any;
6678
7645
  senderId?: string | undefined;
7646
+ whatsapp?: {
7647
+ email: string;
7648
+ wabaExternalId: string;
7649
+ phoneNumberId: string;
7650
+ wabaBusinessId?: string | undefined;
7651
+ clientId?: string | undefined;
7652
+ channelId?: string | undefined;
7653
+ status?: "active" | "pending" | undefined;
7654
+ apiKey?: string | undefined;
7655
+ } | undefined;
6679
7656
  vonageCredentials?: {
6680
- mobileNumber: string;
6681
7657
  apiKey: string;
7658
+ mobileNumber: string;
6682
7659
  apiSecret: string;
6683
7660
  } | undefined;
6684
7661
  lineRichMenuId?: string | null | undefined;
@@ -6757,9 +7734,19 @@ export declare const channelContract: {
6757
7734
  channelSecret?: string | undefined;
6758
7735
  additionalCredentials?: any;
6759
7736
  senderId?: string | undefined;
7737
+ whatsapp?: {
7738
+ email: string;
7739
+ wabaExternalId: string;
7740
+ phoneNumberId: string;
7741
+ wabaBusinessId?: string | undefined;
7742
+ clientId?: string | undefined;
7743
+ channelId?: string | undefined;
7744
+ status?: "active" | "pending" | undefined;
7745
+ apiKey?: string | undefined;
7746
+ } | undefined;
6760
7747
  vonageCredentials?: {
6761
- mobileNumber: string;
6762
7748
  apiKey: string;
7749
+ mobileNumber: string;
6763
7750
  apiSecret: string;
6764
7751
  } | undefined;
6765
7752
  lineRichMenuId?: string | null | undefined;
@@ -6839,9 +7826,19 @@ export declare const channelContract: {
6839
7826
  channelSecret?: string | undefined;
6840
7827
  additionalCredentials?: any;
6841
7828
  senderId?: string | undefined;
7829
+ whatsapp?: {
7830
+ email: string;
7831
+ wabaExternalId: string;
7832
+ phoneNumberId: string;
7833
+ wabaBusinessId?: string | undefined;
7834
+ clientId?: string | undefined;
7835
+ channelId?: string | undefined;
7836
+ status?: "active" | "pending" | undefined;
7837
+ apiKey?: string | undefined;
7838
+ } | undefined;
6842
7839
  vonageCredentials?: {
6843
- mobileNumber: string;
6844
7840
  apiKey: string;
7841
+ mobileNumber: string;
6845
7842
  apiSecret: string;
6846
7843
  } | undefined;
6847
7844
  lineRichMenuId?: string | null | undefined;
@@ -6981,17 +7978,45 @@ export declare const channelContract: {
6981
7978
  channelSecret: z.ZodOptional<z.ZodString>;
6982
7979
  additionalCredentials: z.ZodOptional<z.ZodAny>;
6983
7980
  senderId: z.ZodOptional<z.ZodString>;
7981
+ whatsapp: z.ZodOptional<z.ZodObject<{
7982
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
7983
+ wabaExternalId: z.ZodString;
7984
+ phoneNumberId: z.ZodString;
7985
+ email: z.ZodString;
7986
+ clientId: z.ZodOptional<z.ZodString>;
7987
+ channelId: z.ZodOptional<z.ZodString>;
7988
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7989
+ apiKey: z.ZodOptional<z.ZodString>;
7990
+ }, "strip", z.ZodTypeAny, {
7991
+ email: string;
7992
+ wabaExternalId: string;
7993
+ phoneNumberId: string;
7994
+ wabaBusinessId?: string | undefined;
7995
+ clientId?: string | undefined;
7996
+ channelId?: string | undefined;
7997
+ status?: "active" | "pending" | undefined;
7998
+ apiKey?: string | undefined;
7999
+ }, {
8000
+ email: string;
8001
+ wabaExternalId: string;
8002
+ phoneNumberId: string;
8003
+ wabaBusinessId?: string | undefined;
8004
+ clientId?: string | undefined;
8005
+ channelId?: string | undefined;
8006
+ status?: "active" | "pending" | undefined;
8007
+ apiKey?: string | undefined;
8008
+ }>>;
6984
8009
  vonageCredentials: z.ZodOptional<z.ZodObject<{
6985
8010
  mobileNumber: z.ZodString;
6986
8011
  apiKey: z.ZodString;
6987
8012
  apiSecret: z.ZodString;
6988
8013
  }, "strip", z.ZodTypeAny, {
6989
- mobileNumber: string;
6990
8014
  apiKey: string;
8015
+ mobileNumber: string;
6991
8016
  apiSecret: string;
6992
8017
  }, {
6993
- mobileNumber: string;
6994
8018
  apiKey: string;
8019
+ mobileNumber: string;
6995
8020
  apiSecret: string;
6996
8021
  }>>;
6997
8022
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -7003,9 +8028,19 @@ export declare const channelContract: {
7003
8028
  channelSecret?: string | undefined;
7004
8029
  additionalCredentials?: any;
7005
8030
  senderId?: string | undefined;
8031
+ whatsapp?: {
8032
+ email: string;
8033
+ wabaExternalId: string;
8034
+ phoneNumberId: string;
8035
+ wabaBusinessId?: string | undefined;
8036
+ clientId?: string | undefined;
8037
+ channelId?: string | undefined;
8038
+ status?: "active" | "pending" | undefined;
8039
+ apiKey?: string | undefined;
8040
+ } | undefined;
7006
8041
  vonageCredentials?: {
7007
- mobileNumber: string;
7008
8042
  apiKey: string;
8043
+ mobileNumber: string;
7009
8044
  apiSecret: string;
7010
8045
  } | undefined;
7011
8046
  lineRichMenuId?: string | null | undefined;
@@ -7017,9 +8052,19 @@ export declare const channelContract: {
7017
8052
  channelSecret?: string | undefined;
7018
8053
  additionalCredentials?: any;
7019
8054
  senderId?: string | undefined;
8055
+ whatsapp?: {
8056
+ email: string;
8057
+ wabaExternalId: string;
8058
+ phoneNumberId: string;
8059
+ wabaBusinessId?: string | undefined;
8060
+ clientId?: string | undefined;
8061
+ channelId?: string | undefined;
8062
+ status?: "active" | "pending" | undefined;
8063
+ apiKey?: string | undefined;
8064
+ } | undefined;
7020
8065
  vonageCredentials?: {
7021
- mobileNumber: string;
7022
8066
  apiKey: string;
8067
+ mobileNumber: string;
7023
8068
  apiSecret: string;
7024
8069
  } | undefined;
7025
8070
  lineRichMenuId?: string | null | undefined;
@@ -7265,9 +8310,19 @@ export declare const channelContract: {
7265
8310
  channelSecret?: string | undefined;
7266
8311
  additionalCredentials?: any;
7267
8312
  senderId?: string | undefined;
8313
+ whatsapp?: {
8314
+ email: string;
8315
+ wabaExternalId: string;
8316
+ phoneNumberId: string;
8317
+ wabaBusinessId?: string | undefined;
8318
+ clientId?: string | undefined;
8319
+ channelId?: string | undefined;
8320
+ status?: "active" | "pending" | undefined;
8321
+ apiKey?: string | undefined;
8322
+ } | undefined;
7268
8323
  vonageCredentials?: {
7269
- mobileNumber: string;
7270
8324
  apiKey: string;
8325
+ mobileNumber: string;
7271
8326
  apiSecret: string;
7272
8327
  } | undefined;
7273
8328
  lineRichMenuId?: string | null | undefined;
@@ -7344,9 +8399,19 @@ export declare const channelContract: {
7344
8399
  channelSecret?: string | undefined;
7345
8400
  additionalCredentials?: any;
7346
8401
  senderId?: string | undefined;
8402
+ whatsapp?: {
8403
+ email: string;
8404
+ wabaExternalId: string;
8405
+ phoneNumberId: string;
8406
+ wabaBusinessId?: string | undefined;
8407
+ clientId?: string | undefined;
8408
+ channelId?: string | undefined;
8409
+ status?: "active" | "pending" | undefined;
8410
+ apiKey?: string | undefined;
8411
+ } | undefined;
7347
8412
  vonageCredentials?: {
7348
- mobileNumber: string;
7349
8413
  apiKey: string;
8414
+ mobileNumber: string;
7350
8415
  apiSecret: string;
7351
8416
  } | undefined;
7352
8417
  lineRichMenuId?: string | null | undefined;
@@ -7425,9 +8490,19 @@ export declare const channelContract: {
7425
8490
  channelSecret?: string | undefined;
7426
8491
  additionalCredentials?: any;
7427
8492
  senderId?: string | undefined;
8493
+ whatsapp?: {
8494
+ email: string;
8495
+ wabaExternalId: string;
8496
+ phoneNumberId: string;
8497
+ wabaBusinessId?: string | undefined;
8498
+ clientId?: string | undefined;
8499
+ channelId?: string | undefined;
8500
+ status?: "active" | "pending" | undefined;
8501
+ apiKey?: string | undefined;
8502
+ } | undefined;
7428
8503
  vonageCredentials?: {
7429
- mobileNumber: string;
7430
8504
  apiKey: string;
8505
+ mobileNumber: string;
7431
8506
  apiSecret: string;
7432
8507
  } | undefined;
7433
8508
  lineRichMenuId?: string | null | undefined;
@@ -7507,9 +8582,19 @@ export declare const channelContract: {
7507
8582
  channelSecret?: string | undefined;
7508
8583
  additionalCredentials?: any;
7509
8584
  senderId?: string | undefined;
8585
+ whatsapp?: {
8586
+ email: string;
8587
+ wabaExternalId: string;
8588
+ phoneNumberId: string;
8589
+ wabaBusinessId?: string | undefined;
8590
+ clientId?: string | undefined;
8591
+ channelId?: string | undefined;
8592
+ status?: "active" | "pending" | undefined;
8593
+ apiKey?: string | undefined;
8594
+ } | undefined;
7510
8595
  vonageCredentials?: {
7511
- mobileNumber: string;
7512
8596
  apiKey: string;
8597
+ mobileNumber: string;
7513
8598
  apiSecret: string;
7514
8599
  } | undefined;
7515
8600
  lineRichMenuId?: string | null | undefined;
@@ -7699,17 +8784,45 @@ export declare const channelContract: {
7699
8784
  channelSecret: z.ZodOptional<z.ZodString>;
7700
8785
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7701
8786
  senderId: z.ZodOptional<z.ZodString>;
8787
+ whatsapp: z.ZodOptional<z.ZodObject<{
8788
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
8789
+ wabaExternalId: z.ZodString;
8790
+ phoneNumberId: z.ZodString;
8791
+ email: z.ZodString;
8792
+ clientId: z.ZodOptional<z.ZodString>;
8793
+ channelId: z.ZodOptional<z.ZodString>;
8794
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8795
+ apiKey: z.ZodOptional<z.ZodString>;
8796
+ }, "strip", z.ZodTypeAny, {
8797
+ email: string;
8798
+ wabaExternalId: string;
8799
+ phoneNumberId: string;
8800
+ wabaBusinessId?: string | undefined;
8801
+ clientId?: string | undefined;
8802
+ channelId?: string | undefined;
8803
+ status?: "active" | "pending" | undefined;
8804
+ apiKey?: string | undefined;
8805
+ }, {
8806
+ email: string;
8807
+ wabaExternalId: string;
8808
+ phoneNumberId: string;
8809
+ wabaBusinessId?: string | undefined;
8810
+ clientId?: string | undefined;
8811
+ channelId?: string | undefined;
8812
+ status?: "active" | "pending" | undefined;
8813
+ apiKey?: string | undefined;
8814
+ }>>;
7702
8815
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7703
8816
  mobileNumber: z.ZodString;
7704
8817
  apiKey: z.ZodString;
7705
8818
  apiSecret: z.ZodString;
7706
8819
  }, "strip", z.ZodTypeAny, {
7707
- mobileNumber: string;
7708
8820
  apiKey: string;
8821
+ mobileNumber: string;
7709
8822
  apiSecret: string;
7710
8823
  }, {
7711
- mobileNumber: string;
7712
8824
  apiKey: string;
8825
+ mobileNumber: string;
7713
8826
  apiSecret: string;
7714
8827
  }>>;
7715
8828
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -7721,9 +8834,19 @@ export declare const channelContract: {
7721
8834
  channelSecret?: string | undefined;
7722
8835
  additionalCredentials?: any;
7723
8836
  senderId?: string | undefined;
8837
+ whatsapp?: {
8838
+ email: string;
8839
+ wabaExternalId: string;
8840
+ phoneNumberId: string;
8841
+ wabaBusinessId?: string | undefined;
8842
+ clientId?: string | undefined;
8843
+ channelId?: string | undefined;
8844
+ status?: "active" | "pending" | undefined;
8845
+ apiKey?: string | undefined;
8846
+ } | undefined;
7724
8847
  vonageCredentials?: {
7725
- mobileNumber: string;
7726
8848
  apiKey: string;
8849
+ mobileNumber: string;
7727
8850
  apiSecret: string;
7728
8851
  } | undefined;
7729
8852
  lineRichMenuId?: string | null | undefined;
@@ -7735,9 +8858,19 @@ export declare const channelContract: {
7735
8858
  channelSecret?: string | undefined;
7736
8859
  additionalCredentials?: any;
7737
8860
  senderId?: string | undefined;
8861
+ whatsapp?: {
8862
+ email: string;
8863
+ wabaExternalId: string;
8864
+ phoneNumberId: string;
8865
+ wabaBusinessId?: string | undefined;
8866
+ clientId?: string | undefined;
8867
+ channelId?: string | undefined;
8868
+ status?: "active" | "pending" | undefined;
8869
+ apiKey?: string | undefined;
8870
+ } | undefined;
7738
8871
  vonageCredentials?: {
7739
- mobileNumber: string;
7740
8872
  apiKey: string;
8873
+ mobileNumber: string;
7741
8874
  apiSecret: string;
7742
8875
  } | undefined;
7743
8876
  lineRichMenuId?: string | null | undefined;
@@ -7983,9 +9116,19 @@ export declare const channelContract: {
7983
9116
  channelSecret?: string | undefined;
7984
9117
  additionalCredentials?: any;
7985
9118
  senderId?: string | undefined;
9119
+ whatsapp?: {
9120
+ email: string;
9121
+ wabaExternalId: string;
9122
+ phoneNumberId: string;
9123
+ wabaBusinessId?: string | undefined;
9124
+ clientId?: string | undefined;
9125
+ channelId?: string | undefined;
9126
+ status?: "active" | "pending" | undefined;
9127
+ apiKey?: string | undefined;
9128
+ } | undefined;
7986
9129
  vonageCredentials?: {
7987
- mobileNumber: string;
7988
9130
  apiKey: string;
9131
+ mobileNumber: string;
7989
9132
  apiSecret: string;
7990
9133
  } | undefined;
7991
9134
  lineRichMenuId?: string | null | undefined;
@@ -8062,9 +9205,19 @@ export declare const channelContract: {
8062
9205
  channelSecret?: string | undefined;
8063
9206
  additionalCredentials?: any;
8064
9207
  senderId?: string | undefined;
9208
+ whatsapp?: {
9209
+ email: string;
9210
+ wabaExternalId: string;
9211
+ phoneNumberId: string;
9212
+ wabaBusinessId?: string | undefined;
9213
+ clientId?: string | undefined;
9214
+ channelId?: string | undefined;
9215
+ status?: "active" | "pending" | undefined;
9216
+ apiKey?: string | undefined;
9217
+ } | undefined;
8065
9218
  vonageCredentials?: {
8066
- mobileNumber: string;
8067
9219
  apiKey: string;
9220
+ mobileNumber: string;
8068
9221
  apiSecret: string;
8069
9222
  } | undefined;
8070
9223
  lineRichMenuId?: string | null | undefined;
@@ -8143,9 +9296,19 @@ export declare const channelContract: {
8143
9296
  channelSecret?: string | undefined;
8144
9297
  additionalCredentials?: any;
8145
9298
  senderId?: string | undefined;
9299
+ whatsapp?: {
9300
+ email: string;
9301
+ wabaExternalId: string;
9302
+ phoneNumberId: string;
9303
+ wabaBusinessId?: string | undefined;
9304
+ clientId?: string | undefined;
9305
+ channelId?: string | undefined;
9306
+ status?: "active" | "pending" | undefined;
9307
+ apiKey?: string | undefined;
9308
+ } | undefined;
8146
9309
  vonageCredentials?: {
8147
- mobileNumber: string;
8148
9310
  apiKey: string;
9311
+ mobileNumber: string;
8149
9312
  apiSecret: string;
8150
9313
  } | undefined;
8151
9314
  lineRichMenuId?: string | null | undefined;
@@ -8225,9 +9388,19 @@ export declare const channelContract: {
8225
9388
  channelSecret?: string | undefined;
8226
9389
  additionalCredentials?: any;
8227
9390
  senderId?: string | undefined;
9391
+ whatsapp?: {
9392
+ email: string;
9393
+ wabaExternalId: string;
9394
+ phoneNumberId: string;
9395
+ wabaBusinessId?: string | undefined;
9396
+ clientId?: string | undefined;
9397
+ channelId?: string | undefined;
9398
+ status?: "active" | "pending" | undefined;
9399
+ apiKey?: string | undefined;
9400
+ } | undefined;
8228
9401
  vonageCredentials?: {
8229
- mobileNumber: string;
8230
9402
  apiKey: string;
9403
+ mobileNumber: string;
8231
9404
  apiSecret: string;
8232
9405
  } | undefined;
8233
9406
  lineRichMenuId?: string | null | undefined;
@@ -8579,17 +9752,45 @@ export declare const channelContract: {
8579
9752
  channelSecret: z.ZodOptional<z.ZodString>;
8580
9753
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8581
9754
  senderId: z.ZodOptional<z.ZodString>;
9755
+ whatsapp: z.ZodOptional<z.ZodObject<{
9756
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
9757
+ wabaExternalId: z.ZodString;
9758
+ phoneNumberId: z.ZodString;
9759
+ email: z.ZodString;
9760
+ clientId: z.ZodOptional<z.ZodString>;
9761
+ channelId: z.ZodOptional<z.ZodString>;
9762
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
9763
+ apiKey: z.ZodOptional<z.ZodString>;
9764
+ }, "strip", z.ZodTypeAny, {
9765
+ email: string;
9766
+ wabaExternalId: string;
9767
+ phoneNumberId: string;
9768
+ wabaBusinessId?: string | undefined;
9769
+ clientId?: string | undefined;
9770
+ channelId?: string | undefined;
9771
+ status?: "active" | "pending" | undefined;
9772
+ apiKey?: string | undefined;
9773
+ }, {
9774
+ email: string;
9775
+ wabaExternalId: string;
9776
+ phoneNumberId: string;
9777
+ wabaBusinessId?: string | undefined;
9778
+ clientId?: string | undefined;
9779
+ channelId?: string | undefined;
9780
+ status?: "active" | "pending" | undefined;
9781
+ apiKey?: string | undefined;
9782
+ }>>;
8582
9783
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8583
9784
  mobileNumber: z.ZodString;
8584
9785
  apiKey: z.ZodString;
8585
9786
  apiSecret: z.ZodString;
8586
9787
  }, "strip", z.ZodTypeAny, {
8587
- mobileNumber: string;
8588
9788
  apiKey: string;
9789
+ mobileNumber: string;
8589
9790
  apiSecret: string;
8590
9791
  }, {
8591
- mobileNumber: string;
8592
9792
  apiKey: string;
9793
+ mobileNumber: string;
8593
9794
  apiSecret: string;
8594
9795
  }>>;
8595
9796
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -8601,9 +9802,19 @@ export declare const channelContract: {
8601
9802
  channelSecret?: string | undefined;
8602
9803
  additionalCredentials?: any;
8603
9804
  senderId?: string | undefined;
9805
+ whatsapp?: {
9806
+ email: string;
9807
+ wabaExternalId: string;
9808
+ phoneNumberId: string;
9809
+ wabaBusinessId?: string | undefined;
9810
+ clientId?: string | undefined;
9811
+ channelId?: string | undefined;
9812
+ status?: "active" | "pending" | undefined;
9813
+ apiKey?: string | undefined;
9814
+ } | undefined;
8604
9815
  vonageCredentials?: {
8605
- mobileNumber: string;
8606
9816
  apiKey: string;
9817
+ mobileNumber: string;
8607
9818
  apiSecret: string;
8608
9819
  } | undefined;
8609
9820
  lineRichMenuId?: string | null | undefined;
@@ -8615,9 +9826,19 @@ export declare const channelContract: {
8615
9826
  channelSecret?: string | undefined;
8616
9827
  additionalCredentials?: any;
8617
9828
  senderId?: string | undefined;
9829
+ whatsapp?: {
9830
+ email: string;
9831
+ wabaExternalId: string;
9832
+ phoneNumberId: string;
9833
+ wabaBusinessId?: string | undefined;
9834
+ clientId?: string | undefined;
9835
+ channelId?: string | undefined;
9836
+ status?: "active" | "pending" | undefined;
9837
+ apiKey?: string | undefined;
9838
+ } | undefined;
8618
9839
  vonageCredentials?: {
8619
- mobileNumber: string;
8620
9840
  apiKey: string;
9841
+ mobileNumber: string;
8621
9842
  apiSecret: string;
8622
9843
  } | undefined;
8623
9844
  lineRichMenuId?: string | null | undefined;
@@ -8636,9 +9857,19 @@ export declare const channelContract: {
8636
9857
  channelSecret?: string | undefined;
8637
9858
  additionalCredentials?: any;
8638
9859
  senderId?: string | undefined;
9860
+ whatsapp?: {
9861
+ email: string;
9862
+ wabaExternalId: string;
9863
+ phoneNumberId: string;
9864
+ wabaBusinessId?: string | undefined;
9865
+ clientId?: string | undefined;
9866
+ channelId?: string | undefined;
9867
+ status?: "active" | "pending" | undefined;
9868
+ apiKey?: string | undefined;
9869
+ } | undefined;
8639
9870
  vonageCredentials?: {
8640
- mobileNumber: string;
8641
9871
  apiKey: string;
9872
+ mobileNumber: string;
8642
9873
  apiSecret: string;
8643
9874
  } | undefined;
8644
9875
  lineRichMenuId?: string | null | undefined;
@@ -8657,9 +9888,19 @@ export declare const channelContract: {
8657
9888
  channelSecret?: string | undefined;
8658
9889
  additionalCredentials?: any;
8659
9890
  senderId?: string | undefined;
9891
+ whatsapp?: {
9892
+ email: string;
9893
+ wabaExternalId: string;
9894
+ phoneNumberId: string;
9895
+ wabaBusinessId?: string | undefined;
9896
+ clientId?: string | undefined;
9897
+ channelId?: string | undefined;
9898
+ status?: "active" | "pending" | undefined;
9899
+ apiKey?: string | undefined;
9900
+ } | undefined;
8660
9901
  vonageCredentials?: {
8661
- mobileNumber: string;
8662
9902
  apiKey: string;
9903
+ mobileNumber: string;
8663
9904
  apiSecret: string;
8664
9905
  } | undefined;
8665
9906
  lineRichMenuId?: string | null | undefined;
@@ -8688,17 +9929,45 @@ export declare const channelContract: {
8688
9929
  channelSecret: z.ZodOptional<z.ZodString>;
8689
9930
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8690
9931
  senderId: z.ZodOptional<z.ZodString>;
9932
+ whatsapp: z.ZodOptional<z.ZodObject<{
9933
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
9934
+ wabaExternalId: z.ZodString;
9935
+ phoneNumberId: z.ZodString;
9936
+ email: z.ZodString;
9937
+ clientId: z.ZodOptional<z.ZodString>;
9938
+ channelId: z.ZodOptional<z.ZodString>;
9939
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
9940
+ apiKey: z.ZodOptional<z.ZodString>;
9941
+ }, "strip", z.ZodTypeAny, {
9942
+ email: string;
9943
+ wabaExternalId: string;
9944
+ phoneNumberId: string;
9945
+ wabaBusinessId?: string | undefined;
9946
+ clientId?: string | undefined;
9947
+ channelId?: string | undefined;
9948
+ status?: "active" | "pending" | undefined;
9949
+ apiKey?: string | undefined;
9950
+ }, {
9951
+ email: string;
9952
+ wabaExternalId: string;
9953
+ phoneNumberId: string;
9954
+ wabaBusinessId?: string | undefined;
9955
+ clientId?: string | undefined;
9956
+ channelId?: string | undefined;
9957
+ status?: "active" | "pending" | undefined;
9958
+ apiKey?: string | undefined;
9959
+ }>>;
8691
9960
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8692
9961
  mobileNumber: z.ZodString;
8693
9962
  apiKey: z.ZodString;
8694
9963
  apiSecret: z.ZodString;
8695
9964
  }, "strip", z.ZodTypeAny, {
8696
- mobileNumber: string;
8697
9965
  apiKey: string;
9966
+ mobileNumber: string;
8698
9967
  apiSecret: string;
8699
9968
  }, {
8700
- mobileNumber: string;
8701
9969
  apiKey: string;
9970
+ mobileNumber: string;
8702
9971
  apiSecret: string;
8703
9972
  }>>;
8704
9973
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -8710,9 +9979,19 @@ export declare const channelContract: {
8710
9979
  channelSecret?: string | undefined;
8711
9980
  additionalCredentials?: any;
8712
9981
  senderId?: string | undefined;
9982
+ whatsapp?: {
9983
+ email: string;
9984
+ wabaExternalId: string;
9985
+ phoneNumberId: string;
9986
+ wabaBusinessId?: string | undefined;
9987
+ clientId?: string | undefined;
9988
+ channelId?: string | undefined;
9989
+ status?: "active" | "pending" | undefined;
9990
+ apiKey?: string | undefined;
9991
+ } | undefined;
8713
9992
  vonageCredentials?: {
8714
- mobileNumber: string;
8715
9993
  apiKey: string;
9994
+ mobileNumber: string;
8716
9995
  apiSecret: string;
8717
9996
  } | undefined;
8718
9997
  lineRichMenuId?: string | null | undefined;
@@ -8724,9 +10003,19 @@ export declare const channelContract: {
8724
10003
  channelSecret?: string | undefined;
8725
10004
  additionalCredentials?: any;
8726
10005
  senderId?: string | undefined;
10006
+ whatsapp?: {
10007
+ email: string;
10008
+ wabaExternalId: string;
10009
+ phoneNumberId: string;
10010
+ wabaBusinessId?: string | undefined;
10011
+ clientId?: string | undefined;
10012
+ channelId?: string | undefined;
10013
+ status?: "active" | "pending" | undefined;
10014
+ apiKey?: string | undefined;
10015
+ } | undefined;
8727
10016
  vonageCredentials?: {
8728
- mobileNumber: string;
8729
10017
  apiKey: string;
10018
+ mobileNumber: string;
8730
10019
  apiSecret: string;
8731
10020
  } | undefined;
8732
10021
  lineRichMenuId?: string | null | undefined;
@@ -8972,9 +10261,19 @@ export declare const channelContract: {
8972
10261
  channelSecret?: string | undefined;
8973
10262
  additionalCredentials?: any;
8974
10263
  senderId?: string | undefined;
10264
+ whatsapp?: {
10265
+ email: string;
10266
+ wabaExternalId: string;
10267
+ phoneNumberId: string;
10268
+ wabaBusinessId?: string | undefined;
10269
+ clientId?: string | undefined;
10270
+ channelId?: string | undefined;
10271
+ status?: "active" | "pending" | undefined;
10272
+ apiKey?: string | undefined;
10273
+ } | undefined;
8975
10274
  vonageCredentials?: {
8976
- mobileNumber: string;
8977
10275
  apiKey: string;
10276
+ mobileNumber: string;
8978
10277
  apiSecret: string;
8979
10278
  } | undefined;
8980
10279
  lineRichMenuId?: string | null | undefined;
@@ -9051,9 +10350,19 @@ export declare const channelContract: {
9051
10350
  channelSecret?: string | undefined;
9052
10351
  additionalCredentials?: any;
9053
10352
  senderId?: string | undefined;
10353
+ whatsapp?: {
10354
+ email: string;
10355
+ wabaExternalId: string;
10356
+ phoneNumberId: string;
10357
+ wabaBusinessId?: string | undefined;
10358
+ clientId?: string | undefined;
10359
+ channelId?: string | undefined;
10360
+ status?: "active" | "pending" | undefined;
10361
+ apiKey?: string | undefined;
10362
+ } | undefined;
9054
10363
  vonageCredentials?: {
9055
- mobileNumber: string;
9056
10364
  apiKey: string;
10365
+ mobileNumber: string;
9057
10366
  apiSecret: string;
9058
10367
  } | undefined;
9059
10368
  lineRichMenuId?: string | null | undefined;
@@ -9132,9 +10441,19 @@ export declare const channelContract: {
9132
10441
  channelSecret?: string | undefined;
9133
10442
  additionalCredentials?: any;
9134
10443
  senderId?: string | undefined;
10444
+ whatsapp?: {
10445
+ email: string;
10446
+ wabaExternalId: string;
10447
+ phoneNumberId: string;
10448
+ wabaBusinessId?: string | undefined;
10449
+ clientId?: string | undefined;
10450
+ channelId?: string | undefined;
10451
+ status?: "active" | "pending" | undefined;
10452
+ apiKey?: string | undefined;
10453
+ } | undefined;
9135
10454
  vonageCredentials?: {
9136
- mobileNumber: string;
9137
10455
  apiKey: string;
10456
+ mobileNumber: string;
9138
10457
  apiSecret: string;
9139
10458
  } | undefined;
9140
10459
  lineRichMenuId?: string | null | undefined;
@@ -9214,9 +10533,19 @@ export declare const channelContract: {
9214
10533
  channelSecret?: string | undefined;
9215
10534
  additionalCredentials?: any;
9216
10535
  senderId?: string | undefined;
10536
+ whatsapp?: {
10537
+ email: string;
10538
+ wabaExternalId: string;
10539
+ phoneNumberId: string;
10540
+ wabaBusinessId?: string | undefined;
10541
+ clientId?: string | undefined;
10542
+ channelId?: string | undefined;
10543
+ status?: "active" | "pending" | undefined;
10544
+ apiKey?: string | undefined;
10545
+ } | undefined;
9217
10546
  vonageCredentials?: {
9218
- mobileNumber: string;
9219
10547
  apiKey: string;
10548
+ mobileNumber: string;
9220
10549
  apiSecret: string;
9221
10550
  } | undefined;
9222
10551
  lineRichMenuId?: string | null | undefined;
@@ -9315,60 +10644,1080 @@ export declare const channelContract: {
9315
10644
  }>>>;
9316
10645
  };
9317
10646
  };
9318
- };
9319
- export declare const channelBotContract: {
9320
- connectBot: {
9321
- body: z.ZodObject<{
9322
- botId: z.ZodString;
9323
- }, "strip", z.ZodTypeAny, {
9324
- botId: string;
9325
- }, {
9326
- botId: string;
9327
- }>;
9328
- method: "POST";
9329
- responses: {
9330
- 200: z.ZodObject<{
9331
- requestId: z.ZodString;
9332
- channel: z.ZodObject<{
10647
+ whatsapp: {
10648
+ connect: {
10649
+ body: z.ZodObject<{
10650
+ name: z.ZodString;
10651
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
10652
+ metadata: z.ZodObject<{
9333
10653
  id: z.ZodString;
9334
- createdAt: z.ZodDate;
9335
- updatedAt: z.ZodDate;
9336
- deletedAt: z.ZodNullable<z.ZodDate>;
9337
10654
  name: z.ZodString;
9338
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
9339
- metadata: z.ZodObject<{
9340
- id: z.ZodString;
9341
- name: z.ZodString;
9342
- accessToken: z.ZodOptional<z.ZodString>;
9343
- channelSecret: z.ZodOptional<z.ZodString>;
9344
- additionalCredentials: z.ZodOptional<z.ZodAny>;
9345
- senderId: z.ZodOptional<z.ZodString>;
9346
- vonageCredentials: z.ZodOptional<z.ZodObject<{
9347
- mobileNumber: z.ZodString;
9348
- apiKey: z.ZodString;
9349
- apiSecret: z.ZodString;
9350
- }, "strip", z.ZodTypeAny, {
9351
- mobileNumber: string;
9352
- apiKey: string;
9353
- apiSecret: string;
9354
- }, {
9355
- mobileNumber: string;
9356
- apiKey: string;
9357
- apiSecret: string;
9358
- }>>;
9359
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9360
- messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10655
+ accessToken: z.ZodOptional<z.ZodString>;
10656
+ channelSecret: z.ZodOptional<z.ZodString>;
10657
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
10658
+ senderId: z.ZodOptional<z.ZodString>;
10659
+ whatsapp: z.ZodOptional<z.ZodObject<{
10660
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
10661
+ wabaExternalId: z.ZodString;
10662
+ phoneNumberId: z.ZodString;
10663
+ email: z.ZodString;
10664
+ clientId: z.ZodOptional<z.ZodString>;
10665
+ channelId: z.ZodOptional<z.ZodString>;
10666
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10667
+ apiKey: z.ZodOptional<z.ZodString>;
9361
10668
  }, "strip", z.ZodTypeAny, {
9362
- name: string;
9363
- id: string;
9364
- accessToken?: string | undefined;
9365
- channelSecret?: string | undefined;
9366
- additionalCredentials?: any;
9367
- senderId?: string | undefined;
9368
- vonageCredentials?: {
9369
- mobileNumber: string;
9370
- apiKey: string;
9371
- apiSecret: string;
10669
+ email: string;
10670
+ wabaExternalId: string;
10671
+ phoneNumberId: string;
10672
+ wabaBusinessId?: string | undefined;
10673
+ clientId?: string | undefined;
10674
+ channelId?: string | undefined;
10675
+ status?: "active" | "pending" | undefined;
10676
+ apiKey?: string | undefined;
10677
+ }, {
10678
+ email: string;
10679
+ wabaExternalId: string;
10680
+ phoneNumberId: string;
10681
+ wabaBusinessId?: string | undefined;
10682
+ clientId?: string | undefined;
10683
+ channelId?: string | undefined;
10684
+ status?: "active" | "pending" | undefined;
10685
+ apiKey?: string | undefined;
10686
+ }>>;
10687
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
10688
+ mobileNumber: z.ZodString;
10689
+ apiKey: z.ZodString;
10690
+ apiSecret: z.ZodString;
10691
+ }, "strip", z.ZodTypeAny, {
10692
+ apiKey: string;
10693
+ mobileNumber: string;
10694
+ apiSecret: string;
10695
+ }, {
10696
+ apiKey: string;
10697
+ mobileNumber: string;
10698
+ apiSecret: string;
10699
+ }>>;
10700
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10701
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10702
+ }, "strip", z.ZodTypeAny, {
10703
+ name: string;
10704
+ id: string;
10705
+ accessToken?: string | undefined;
10706
+ channelSecret?: string | undefined;
10707
+ additionalCredentials?: any;
10708
+ senderId?: string | undefined;
10709
+ whatsapp?: {
10710
+ email: string;
10711
+ wabaExternalId: string;
10712
+ phoneNumberId: string;
10713
+ wabaBusinessId?: string | undefined;
10714
+ clientId?: string | undefined;
10715
+ channelId?: string | undefined;
10716
+ status?: "active" | "pending" | undefined;
10717
+ apiKey?: string | undefined;
10718
+ } | undefined;
10719
+ vonageCredentials?: {
10720
+ apiKey: string;
10721
+ mobileNumber: string;
10722
+ apiSecret: string;
10723
+ } | undefined;
10724
+ lineRichMenuId?: string | null | undefined;
10725
+ messengerIntegrationType?: "own" | "business" | undefined;
10726
+ }, {
10727
+ name: string;
10728
+ id: string;
10729
+ accessToken?: string | undefined;
10730
+ channelSecret?: string | undefined;
10731
+ additionalCredentials?: any;
10732
+ senderId?: string | undefined;
10733
+ whatsapp?: {
10734
+ email: string;
10735
+ wabaExternalId: string;
10736
+ phoneNumberId: string;
10737
+ wabaBusinessId?: string | undefined;
10738
+ clientId?: string | undefined;
10739
+ channelId?: string | undefined;
10740
+ status?: "active" | "pending" | undefined;
10741
+ apiKey?: string | undefined;
10742
+ } | undefined;
10743
+ vonageCredentials?: {
10744
+ apiKey: string;
10745
+ mobileNumber: string;
10746
+ apiSecret: string;
10747
+ } | undefined;
10748
+ lineRichMenuId?: string | null | undefined;
10749
+ messengerIntegrationType?: "own" | "business" | undefined;
10750
+ }>;
10751
+ platformId: z.ZodString;
10752
+ }, "strip", z.ZodTypeAny, {
10753
+ name: string;
10754
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10755
+ metadata: {
10756
+ name: string;
10757
+ id: string;
10758
+ accessToken?: string | undefined;
10759
+ channelSecret?: string | undefined;
10760
+ additionalCredentials?: any;
10761
+ senderId?: string | undefined;
10762
+ whatsapp?: {
10763
+ email: string;
10764
+ wabaExternalId: string;
10765
+ phoneNumberId: string;
10766
+ wabaBusinessId?: string | undefined;
10767
+ clientId?: string | undefined;
10768
+ channelId?: string | undefined;
10769
+ status?: "active" | "pending" | undefined;
10770
+ apiKey?: string | undefined;
10771
+ } | undefined;
10772
+ vonageCredentials?: {
10773
+ apiKey: string;
10774
+ mobileNumber: string;
10775
+ apiSecret: string;
10776
+ } | undefined;
10777
+ lineRichMenuId?: string | null | undefined;
10778
+ messengerIntegrationType?: "own" | "business" | undefined;
10779
+ };
10780
+ platformId: string;
10781
+ }, {
10782
+ name: string;
10783
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10784
+ metadata: {
10785
+ name: string;
10786
+ id: string;
10787
+ accessToken?: string | undefined;
10788
+ channelSecret?: string | undefined;
10789
+ additionalCredentials?: any;
10790
+ senderId?: string | undefined;
10791
+ whatsapp?: {
10792
+ email: string;
10793
+ wabaExternalId: string;
10794
+ phoneNumberId: string;
10795
+ wabaBusinessId?: string | undefined;
10796
+ clientId?: string | undefined;
10797
+ channelId?: string | undefined;
10798
+ status?: "active" | "pending" | undefined;
10799
+ apiKey?: string | undefined;
10800
+ } | undefined;
10801
+ vonageCredentials?: {
10802
+ apiKey: string;
10803
+ mobileNumber: string;
10804
+ apiSecret: string;
10805
+ } | undefined;
10806
+ lineRichMenuId?: string | null | undefined;
10807
+ messengerIntegrationType?: "own" | "business" | undefined;
10808
+ };
10809
+ platformId: string;
10810
+ }>;
10811
+ summary: "Connect message channel";
10812
+ method: "POST";
10813
+ responses: {
10814
+ 200: z.ZodObject<{
10815
+ requestId: z.ZodString;
10816
+ channel: z.ZodObject<{
10817
+ id: z.ZodString;
10818
+ createdAt: z.ZodDate;
10819
+ updatedAt: z.ZodDate;
10820
+ deletedAt: z.ZodNullable<z.ZodDate>;
10821
+ name: z.ZodString;
10822
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
10823
+ metadata: z.ZodObject<{
10824
+ id: z.ZodString;
10825
+ name: z.ZodString;
10826
+ accessToken: z.ZodOptional<z.ZodString>;
10827
+ channelSecret: z.ZodOptional<z.ZodString>;
10828
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
10829
+ senderId: z.ZodOptional<z.ZodString>;
10830
+ whatsapp: z.ZodOptional<z.ZodObject<{
10831
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
10832
+ wabaExternalId: z.ZodString;
10833
+ phoneNumberId: z.ZodString;
10834
+ email: z.ZodString;
10835
+ clientId: z.ZodOptional<z.ZodString>;
10836
+ channelId: z.ZodOptional<z.ZodString>;
10837
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10838
+ apiKey: z.ZodOptional<z.ZodString>;
10839
+ }, "strip", z.ZodTypeAny, {
10840
+ email: string;
10841
+ wabaExternalId: string;
10842
+ phoneNumberId: string;
10843
+ wabaBusinessId?: string | undefined;
10844
+ clientId?: string | undefined;
10845
+ channelId?: string | undefined;
10846
+ status?: "active" | "pending" | undefined;
10847
+ apiKey?: string | undefined;
10848
+ }, {
10849
+ email: string;
10850
+ wabaExternalId: string;
10851
+ phoneNumberId: string;
10852
+ wabaBusinessId?: string | undefined;
10853
+ clientId?: string | undefined;
10854
+ channelId?: string | undefined;
10855
+ status?: "active" | "pending" | undefined;
10856
+ apiKey?: string | undefined;
10857
+ }>>;
10858
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
10859
+ mobileNumber: z.ZodString;
10860
+ apiKey: z.ZodString;
10861
+ apiSecret: z.ZodString;
10862
+ }, "strip", z.ZodTypeAny, {
10863
+ apiKey: string;
10864
+ mobileNumber: string;
10865
+ apiSecret: string;
10866
+ }, {
10867
+ apiKey: string;
10868
+ mobileNumber: string;
10869
+ apiSecret: string;
10870
+ }>>;
10871
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10872
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10873
+ }, "strip", z.ZodTypeAny, {
10874
+ name: string;
10875
+ id: string;
10876
+ accessToken?: string | undefined;
10877
+ channelSecret?: string | undefined;
10878
+ additionalCredentials?: any;
10879
+ senderId?: string | undefined;
10880
+ whatsapp?: {
10881
+ email: string;
10882
+ wabaExternalId: string;
10883
+ phoneNumberId: string;
10884
+ wabaBusinessId?: string | undefined;
10885
+ clientId?: string | undefined;
10886
+ channelId?: string | undefined;
10887
+ status?: "active" | "pending" | undefined;
10888
+ apiKey?: string | undefined;
10889
+ } | undefined;
10890
+ vonageCredentials?: {
10891
+ apiKey: string;
10892
+ mobileNumber: string;
10893
+ apiSecret: string;
10894
+ } | undefined;
10895
+ lineRichMenuId?: string | null | undefined;
10896
+ messengerIntegrationType?: "own" | "business" | undefined;
10897
+ }, {
10898
+ name: string;
10899
+ id: string;
10900
+ accessToken?: string | undefined;
10901
+ channelSecret?: string | undefined;
10902
+ additionalCredentials?: any;
10903
+ senderId?: string | undefined;
10904
+ whatsapp?: {
10905
+ email: string;
10906
+ wabaExternalId: string;
10907
+ phoneNumberId: string;
10908
+ wabaBusinessId?: string | undefined;
10909
+ clientId?: string | undefined;
10910
+ channelId?: string | undefined;
10911
+ status?: "active" | "pending" | undefined;
10912
+ apiKey?: string | undefined;
10913
+ } | undefined;
10914
+ vonageCredentials?: {
10915
+ apiKey: string;
10916
+ mobileNumber: string;
10917
+ apiSecret: string;
10918
+ } | undefined;
10919
+ lineRichMenuId?: string | null | undefined;
10920
+ messengerIntegrationType?: "own" | "business" | undefined;
10921
+ }>;
10922
+ brandName: z.ZodString;
10923
+ platformId: z.ZodString;
10924
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
10925
+ isReloginRequired: z.ZodBoolean;
10926
+ connectedUserName: z.ZodString;
10927
+ connectedUserId: z.ZodString;
10928
+ botpressBot: z.ZodNullable<z.ZodObject<{
10929
+ id: z.ZodString;
10930
+ name: z.ZodString;
10931
+ botId: z.ZodString;
10932
+ integrationId: z.ZodString;
10933
+ accessToken: z.ZodString;
10934
+ }, "strip", z.ZodTypeAny, {
10935
+ name: string;
10936
+ id: string;
10937
+ accessToken: string;
10938
+ botId: string;
10939
+ integrationId: string;
10940
+ }, {
10941
+ name: string;
10942
+ id: string;
10943
+ accessToken: string;
10944
+ botId: string;
10945
+ integrationId: string;
10946
+ }>>;
10947
+ actor: z.ZodObject<{
10948
+ id: z.ZodString;
10949
+ createdAt: z.ZodDate;
10950
+ updatedAt: z.ZodDate;
10951
+ deletedAt: z.ZodNullable<z.ZodDate>;
10952
+ name: z.ZodString;
10953
+ email: z.ZodString;
10954
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
10955
+ password: z.ZodString;
10956
+ address: z.ZodNullable<z.ZodString>;
10957
+ phone: z.ZodNullable<z.ZodString>;
10958
+ notificationCount: z.ZodNullable<z.ZodNumber>;
10959
+ roles: z.ZodArray<z.ZodObject<{
10960
+ id: z.ZodString;
10961
+ createdAt: z.ZodDate;
10962
+ updatedAt: z.ZodDate;
10963
+ deletedAt: z.ZodNullable<z.ZodDate>;
10964
+ systemName: z.ZodString;
10965
+ displayName: z.ZodString;
10966
+ description: z.ZodNullable<z.ZodString>;
10967
+ permissions: z.ZodArray<z.ZodObject<{
10968
+ id: z.ZodString;
10969
+ createdAt: z.ZodDate;
10970
+ updatedAt: z.ZodDate;
10971
+ deletedAt: z.ZodNullable<z.ZodDate>;
10972
+ systemName: z.ZodString;
10973
+ displayName: z.ZodString;
10974
+ description: z.ZodNullable<z.ZodString>;
10975
+ }, "strip", z.ZodTypeAny, {
10976
+ id: string;
10977
+ description: string | null;
10978
+ createdAt: Date;
10979
+ updatedAt: Date;
10980
+ deletedAt: Date | null;
10981
+ systemName: string;
10982
+ displayName: string;
10983
+ }, {
10984
+ id: string;
10985
+ description: string | null;
10986
+ createdAt: Date;
10987
+ updatedAt: Date;
10988
+ deletedAt: Date | null;
10989
+ systemName: string;
10990
+ displayName: string;
10991
+ }>, "many">;
10992
+ }, "strip", z.ZodTypeAny, {
10993
+ id: string;
10994
+ description: string | null;
10995
+ createdAt: Date;
10996
+ updatedAt: Date;
10997
+ deletedAt: Date | null;
10998
+ systemName: string;
10999
+ displayName: string;
11000
+ permissions: {
11001
+ id: string;
11002
+ description: string | null;
11003
+ createdAt: Date;
11004
+ updatedAt: Date;
11005
+ deletedAt: Date | null;
11006
+ systemName: string;
11007
+ displayName: string;
11008
+ }[];
11009
+ }, {
11010
+ id: string;
11011
+ description: string | null;
11012
+ createdAt: Date;
11013
+ updatedAt: Date;
11014
+ deletedAt: Date | null;
11015
+ systemName: string;
11016
+ displayName: string;
11017
+ permissions: {
11018
+ id: string;
11019
+ description: string | null;
11020
+ createdAt: Date;
11021
+ updatedAt: Date;
11022
+ deletedAt: Date | null;
11023
+ systemName: string;
11024
+ displayName: string;
11025
+ }[];
11026
+ }>, "many">;
11027
+ extension: z.ZodObject<{
11028
+ id: z.ZodString;
11029
+ createdAt: z.ZodDate;
11030
+ updatedAt: z.ZodDate;
11031
+ deletedAt: z.ZodNullable<z.ZodDate>;
11032
+ userId: z.ZodNullable<z.ZodString>;
11033
+ sipServerUrl: z.ZodString;
11034
+ sipUserName: z.ZodString;
11035
+ webphoneLoginUser: z.ZodString;
11036
+ extensionId: z.ZodNullable<z.ZodString>;
11037
+ extensionName: z.ZodString;
11038
+ telephonySignature: z.ZodNullable<z.ZodString>;
11039
+ }, "strip", z.ZodTypeAny, {
11040
+ id: string;
11041
+ createdAt: Date;
11042
+ updatedAt: Date;
11043
+ deletedAt: Date | null;
11044
+ userId: string | null;
11045
+ sipServerUrl: string;
11046
+ sipUserName: string;
11047
+ webphoneLoginUser: string;
11048
+ extensionId: string | null;
11049
+ extensionName: string;
11050
+ telephonySignature: string | null;
11051
+ }, {
11052
+ id: string;
11053
+ createdAt: Date;
11054
+ updatedAt: Date;
11055
+ deletedAt: Date | null;
11056
+ userId: string | null;
11057
+ sipServerUrl: string;
11058
+ sipUserName: string;
11059
+ webphoneLoginUser: string;
11060
+ extensionId: string | null;
11061
+ extensionName: string;
11062
+ telephonySignature: string | null;
11063
+ }>;
11064
+ }, "strip", z.ZodTypeAny, {
11065
+ name: string;
11066
+ id: string;
11067
+ address: string | null;
11068
+ email: string;
11069
+ createdAt: Date;
11070
+ updatedAt: Date;
11071
+ deletedAt: Date | null;
11072
+ emailVerifiedAt: Date | null;
11073
+ password: string;
11074
+ phone: string | null;
11075
+ notificationCount: number | null;
11076
+ roles: {
11077
+ id: string;
11078
+ description: string | null;
11079
+ createdAt: Date;
11080
+ updatedAt: Date;
11081
+ deletedAt: Date | null;
11082
+ systemName: string;
11083
+ displayName: string;
11084
+ permissions: {
11085
+ id: string;
11086
+ description: string | null;
11087
+ createdAt: Date;
11088
+ updatedAt: Date;
11089
+ deletedAt: Date | null;
11090
+ systemName: string;
11091
+ displayName: string;
11092
+ }[];
11093
+ }[];
11094
+ extension: {
11095
+ id: string;
11096
+ createdAt: Date;
11097
+ updatedAt: Date;
11098
+ deletedAt: Date | null;
11099
+ userId: string | null;
11100
+ sipServerUrl: string;
11101
+ sipUserName: string;
11102
+ webphoneLoginUser: string;
11103
+ extensionId: string | null;
11104
+ extensionName: string;
11105
+ telephonySignature: string | null;
11106
+ };
11107
+ }, {
11108
+ name: string;
11109
+ id: string;
11110
+ address: string | null;
11111
+ email: string;
11112
+ createdAt: Date;
11113
+ updatedAt: Date;
11114
+ deletedAt: Date | null;
11115
+ emailVerifiedAt: Date | null;
11116
+ password: string;
11117
+ phone: string | null;
11118
+ notificationCount: number | null;
11119
+ roles: {
11120
+ id: string;
11121
+ description: string | null;
11122
+ createdAt: Date;
11123
+ updatedAt: Date;
11124
+ deletedAt: Date | null;
11125
+ systemName: string;
11126
+ displayName: string;
11127
+ permissions: {
11128
+ id: string;
11129
+ description: string | null;
11130
+ createdAt: Date;
11131
+ updatedAt: Date;
11132
+ deletedAt: Date | null;
11133
+ systemName: string;
11134
+ displayName: string;
11135
+ }[];
11136
+ }[];
11137
+ extension: {
11138
+ id: string;
11139
+ createdAt: Date;
11140
+ updatedAt: Date;
11141
+ deletedAt: Date | null;
11142
+ userId: string | null;
11143
+ sipServerUrl: string;
11144
+ sipUserName: string;
11145
+ webphoneLoginUser: string;
11146
+ extensionId: string | null;
11147
+ extensionName: string;
11148
+ telephonySignature: string | null;
11149
+ };
11150
+ }>;
11151
+ }, "strip", z.ZodTypeAny, {
11152
+ name: string;
11153
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11154
+ id: string;
11155
+ metadata: {
11156
+ name: string;
11157
+ id: string;
11158
+ accessToken?: string | undefined;
11159
+ channelSecret?: string | undefined;
11160
+ additionalCredentials?: any;
11161
+ senderId?: string | undefined;
11162
+ whatsapp?: {
11163
+ email: string;
11164
+ wabaExternalId: string;
11165
+ phoneNumberId: string;
11166
+ wabaBusinessId?: string | undefined;
11167
+ clientId?: string | undefined;
11168
+ channelId?: string | undefined;
11169
+ status?: "active" | "pending" | undefined;
11170
+ apiKey?: string | undefined;
11171
+ } | undefined;
11172
+ vonageCredentials?: {
11173
+ apiKey: string;
11174
+ mobileNumber: string;
11175
+ apiSecret: string;
11176
+ } | undefined;
11177
+ lineRichMenuId?: string | null | undefined;
11178
+ messengerIntegrationType?: "own" | "business" | undefined;
11179
+ };
11180
+ status: boolean;
11181
+ createdAt: Date;
11182
+ updatedAt: Date;
11183
+ deletedAt: Date | null;
11184
+ actor: {
11185
+ name: string;
11186
+ id: string;
11187
+ address: string | null;
11188
+ email: string;
11189
+ createdAt: Date;
11190
+ updatedAt: Date;
11191
+ deletedAt: Date | null;
11192
+ emailVerifiedAt: Date | null;
11193
+ password: string;
11194
+ phone: string | null;
11195
+ notificationCount: number | null;
11196
+ roles: {
11197
+ id: string;
11198
+ description: string | null;
11199
+ createdAt: Date;
11200
+ updatedAt: Date;
11201
+ deletedAt: Date | null;
11202
+ systemName: string;
11203
+ displayName: string;
11204
+ permissions: {
11205
+ id: string;
11206
+ description: string | null;
11207
+ createdAt: Date;
11208
+ updatedAt: Date;
11209
+ deletedAt: Date | null;
11210
+ systemName: string;
11211
+ displayName: string;
11212
+ }[];
11213
+ }[];
11214
+ extension: {
11215
+ id: string;
11216
+ createdAt: Date;
11217
+ updatedAt: Date;
11218
+ deletedAt: Date | null;
11219
+ userId: string | null;
11220
+ sipServerUrl: string;
11221
+ sipUserName: string;
11222
+ webphoneLoginUser: string;
11223
+ extensionId: string | null;
11224
+ extensionName: string;
11225
+ telephonySignature: string | null;
11226
+ };
11227
+ };
11228
+ brandName: string;
11229
+ platformId: string;
11230
+ isReloginRequired: boolean;
11231
+ connectedUserName: string;
11232
+ connectedUserId: string;
11233
+ botpressBot: {
11234
+ name: string;
11235
+ id: string;
11236
+ accessToken: string;
11237
+ botId: string;
11238
+ integrationId: string;
11239
+ } | null;
11240
+ }, {
11241
+ name: string;
11242
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11243
+ id: string;
11244
+ metadata: {
11245
+ name: string;
11246
+ id: string;
11247
+ accessToken?: string | undefined;
11248
+ channelSecret?: string | undefined;
11249
+ additionalCredentials?: any;
11250
+ senderId?: string | undefined;
11251
+ whatsapp?: {
11252
+ email: string;
11253
+ wabaExternalId: string;
11254
+ phoneNumberId: string;
11255
+ wabaBusinessId?: string | undefined;
11256
+ clientId?: string | undefined;
11257
+ channelId?: string | undefined;
11258
+ status?: "active" | "pending" | undefined;
11259
+ apiKey?: string | undefined;
11260
+ } | undefined;
11261
+ vonageCredentials?: {
11262
+ apiKey: string;
11263
+ mobileNumber: string;
11264
+ apiSecret: string;
11265
+ } | undefined;
11266
+ lineRichMenuId?: string | null | undefined;
11267
+ messengerIntegrationType?: "own" | "business" | undefined;
11268
+ };
11269
+ status: boolean;
11270
+ createdAt: Date;
11271
+ updatedAt: Date;
11272
+ deletedAt: Date | null;
11273
+ actor: {
11274
+ name: string;
11275
+ id: string;
11276
+ address: string | null;
11277
+ email: string;
11278
+ createdAt: Date;
11279
+ updatedAt: Date;
11280
+ deletedAt: Date | null;
11281
+ emailVerifiedAt: Date | null;
11282
+ password: string;
11283
+ phone: string | null;
11284
+ notificationCount: number | null;
11285
+ roles: {
11286
+ id: string;
11287
+ description: string | null;
11288
+ createdAt: Date;
11289
+ updatedAt: Date;
11290
+ deletedAt: Date | null;
11291
+ systemName: string;
11292
+ displayName: string;
11293
+ permissions: {
11294
+ id: string;
11295
+ description: string | null;
11296
+ createdAt: Date;
11297
+ updatedAt: Date;
11298
+ deletedAt: Date | null;
11299
+ systemName: string;
11300
+ displayName: string;
11301
+ }[];
11302
+ }[];
11303
+ extension: {
11304
+ id: string;
11305
+ createdAt: Date;
11306
+ updatedAt: Date;
11307
+ deletedAt: Date | null;
11308
+ userId: string | null;
11309
+ sipServerUrl: string;
11310
+ sipUserName: string;
11311
+ webphoneLoginUser: string;
11312
+ extensionId: string | null;
11313
+ extensionName: string;
11314
+ telephonySignature: string | null;
11315
+ };
11316
+ };
11317
+ brandName: string;
11318
+ platformId: string;
11319
+ isReloginRequired: boolean;
11320
+ connectedUserName: string;
11321
+ connectedUserId: string;
11322
+ botpressBot: {
11323
+ name: string;
11324
+ id: string;
11325
+ accessToken: string;
11326
+ botId: string;
11327
+ integrationId: string;
11328
+ } | null;
11329
+ }>;
11330
+ }, "strip", z.ZodTypeAny, {
11331
+ channel: {
11332
+ name: string;
11333
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11334
+ id: string;
11335
+ metadata: {
11336
+ name: string;
11337
+ id: string;
11338
+ accessToken?: string | undefined;
11339
+ channelSecret?: string | undefined;
11340
+ additionalCredentials?: any;
11341
+ senderId?: string | undefined;
11342
+ whatsapp?: {
11343
+ email: string;
11344
+ wabaExternalId: string;
11345
+ phoneNumberId: string;
11346
+ wabaBusinessId?: string | undefined;
11347
+ clientId?: string | undefined;
11348
+ channelId?: string | undefined;
11349
+ status?: "active" | "pending" | undefined;
11350
+ apiKey?: string | undefined;
11351
+ } | undefined;
11352
+ vonageCredentials?: {
11353
+ apiKey: string;
11354
+ mobileNumber: string;
11355
+ apiSecret: string;
11356
+ } | undefined;
11357
+ lineRichMenuId?: string | null | undefined;
11358
+ messengerIntegrationType?: "own" | "business" | undefined;
11359
+ };
11360
+ status: boolean;
11361
+ createdAt: Date;
11362
+ updatedAt: Date;
11363
+ deletedAt: Date | null;
11364
+ actor: {
11365
+ name: string;
11366
+ id: string;
11367
+ address: string | null;
11368
+ email: string;
11369
+ createdAt: Date;
11370
+ updatedAt: Date;
11371
+ deletedAt: Date | null;
11372
+ emailVerifiedAt: Date | null;
11373
+ password: string;
11374
+ phone: string | null;
11375
+ notificationCount: number | null;
11376
+ roles: {
11377
+ id: string;
11378
+ description: string | null;
11379
+ createdAt: Date;
11380
+ updatedAt: Date;
11381
+ deletedAt: Date | null;
11382
+ systemName: string;
11383
+ displayName: string;
11384
+ permissions: {
11385
+ id: string;
11386
+ description: string | null;
11387
+ createdAt: Date;
11388
+ updatedAt: Date;
11389
+ deletedAt: Date | null;
11390
+ systemName: string;
11391
+ displayName: string;
11392
+ }[];
11393
+ }[];
11394
+ extension: {
11395
+ id: string;
11396
+ createdAt: Date;
11397
+ updatedAt: Date;
11398
+ deletedAt: Date | null;
11399
+ userId: string | null;
11400
+ sipServerUrl: string;
11401
+ sipUserName: string;
11402
+ webphoneLoginUser: string;
11403
+ extensionId: string | null;
11404
+ extensionName: string;
11405
+ telephonySignature: string | null;
11406
+ };
11407
+ };
11408
+ brandName: string;
11409
+ platformId: string;
11410
+ isReloginRequired: boolean;
11411
+ connectedUserName: string;
11412
+ connectedUserId: string;
11413
+ botpressBot: {
11414
+ name: string;
11415
+ id: string;
11416
+ accessToken: string;
11417
+ botId: string;
11418
+ integrationId: string;
11419
+ } | null;
11420
+ };
11421
+ requestId: string;
11422
+ }, {
11423
+ channel: {
11424
+ name: string;
11425
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11426
+ id: string;
11427
+ metadata: {
11428
+ name: string;
11429
+ id: string;
11430
+ accessToken?: string | undefined;
11431
+ channelSecret?: string | undefined;
11432
+ additionalCredentials?: any;
11433
+ senderId?: string | undefined;
11434
+ whatsapp?: {
11435
+ email: string;
11436
+ wabaExternalId: string;
11437
+ phoneNumberId: string;
11438
+ wabaBusinessId?: string | undefined;
11439
+ clientId?: string | undefined;
11440
+ channelId?: string | undefined;
11441
+ status?: "active" | "pending" | undefined;
11442
+ apiKey?: string | undefined;
11443
+ } | undefined;
11444
+ vonageCredentials?: {
11445
+ apiKey: string;
11446
+ mobileNumber: string;
11447
+ apiSecret: string;
11448
+ } | undefined;
11449
+ lineRichMenuId?: string | null | undefined;
11450
+ messengerIntegrationType?: "own" | "business" | undefined;
11451
+ };
11452
+ status: boolean;
11453
+ createdAt: Date;
11454
+ updatedAt: Date;
11455
+ deletedAt: Date | null;
11456
+ actor: {
11457
+ name: string;
11458
+ id: string;
11459
+ address: string | null;
11460
+ email: string;
11461
+ createdAt: Date;
11462
+ updatedAt: Date;
11463
+ deletedAt: Date | null;
11464
+ emailVerifiedAt: Date | null;
11465
+ password: string;
11466
+ phone: string | null;
11467
+ notificationCount: number | null;
11468
+ roles: {
11469
+ id: string;
11470
+ description: string | null;
11471
+ createdAt: Date;
11472
+ updatedAt: Date;
11473
+ deletedAt: Date | null;
11474
+ systemName: string;
11475
+ displayName: string;
11476
+ permissions: {
11477
+ id: string;
11478
+ description: string | null;
11479
+ createdAt: Date;
11480
+ updatedAt: Date;
11481
+ deletedAt: Date | null;
11482
+ systemName: string;
11483
+ displayName: string;
11484
+ }[];
11485
+ }[];
11486
+ extension: {
11487
+ id: string;
11488
+ createdAt: Date;
11489
+ updatedAt: Date;
11490
+ deletedAt: Date | null;
11491
+ userId: string | null;
11492
+ sipServerUrl: string;
11493
+ sipUserName: string;
11494
+ webphoneLoginUser: string;
11495
+ extensionId: string | null;
11496
+ extensionName: string;
11497
+ telephonySignature: string | null;
11498
+ };
11499
+ };
11500
+ brandName: string;
11501
+ platformId: string;
11502
+ isReloginRequired: boolean;
11503
+ connectedUserName: string;
11504
+ connectedUserId: string;
11505
+ botpressBot: {
11506
+ name: string;
11507
+ id: string;
11508
+ accessToken: string;
11509
+ botId: string;
11510
+ integrationId: string;
11511
+ } | null;
11512
+ };
11513
+ requestId: string;
11514
+ }>;
11515
+ 408: z.ZodObject<{
11516
+ message: z.ZodString;
11517
+ error: z.ZodAny;
11518
+ }, "strip", z.ZodTypeAny, {
11519
+ message: string;
11520
+ error?: any;
11521
+ }, {
11522
+ message: string;
11523
+ error?: any;
11524
+ }>;
11525
+ };
11526
+ path: "channel/whatsapp/connect";
11527
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11528
+ 'x-tenant': z.ZodString;
11529
+ authorization: z.ZodString;
11530
+ 'x-code': z.ZodOptional<z.ZodString>;
11531
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
11532
+ }, "strip", z.ZodTypeAny, {
11533
+ 'x-tenant': string;
11534
+ authorization: string;
11535
+ 'x-client-timezone': string;
11536
+ 'x-code'?: string | undefined;
11537
+ }, {
11538
+ 'x-tenant': string;
11539
+ authorization: string;
11540
+ 'x-code'?: string | undefined;
11541
+ 'x-client-timezone'?: string | undefined;
11542
+ }>>>;
11543
+ };
11544
+ getTemplates: {
11545
+ method: "GET";
11546
+ query: z.ZodObject<{
11547
+ channelId: z.ZodString;
11548
+ }, "strip", z.ZodTypeAny, {
11549
+ channelId: string;
11550
+ }, {
11551
+ channelId: string;
11552
+ }>;
11553
+ responses: {
11554
+ 200: z.ZodObject<{
11555
+ requestId: z.ZodString;
11556
+ data: z.ZodObject<{
11557
+ category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"UTILITY">, z.ZodLiteral<"MARKETING">, z.ZodLiteral<"AUTHENTICATION">]>>;
11558
+ components: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
11559
+ language: z.ZodString;
11560
+ name: z.ZodString;
11561
+ namespace: z.ZodString;
11562
+ status: z.ZodString;
11563
+ }, "strip", z.ZodTypeAny, {
11564
+ name: string;
11565
+ status: string;
11566
+ language: string;
11567
+ components: {}[];
11568
+ namespace: string;
11569
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11570
+ }, {
11571
+ name: string;
11572
+ status: string;
11573
+ language: string;
11574
+ components: {}[];
11575
+ namespace: string;
11576
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11577
+ }>;
11578
+ }, "strip", z.ZodTypeAny, {
11579
+ data: {
11580
+ name: string;
11581
+ status: string;
11582
+ language: string;
11583
+ components: {}[];
11584
+ namespace: string;
11585
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11586
+ };
11587
+ requestId: string;
11588
+ }, {
11589
+ data: {
11590
+ name: string;
11591
+ status: string;
11592
+ language: string;
11593
+ components: {}[];
11594
+ namespace: string;
11595
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11596
+ };
11597
+ requestId: string;
11598
+ }>;
11599
+ 500: z.ZodObject<{
11600
+ message: z.ZodString;
11601
+ error: z.ZodAny;
11602
+ }, "strip", z.ZodTypeAny, {
11603
+ message: string;
11604
+ error?: any;
11605
+ }, {
11606
+ message: string;
11607
+ error?: any;
11608
+ }>;
11609
+ };
11610
+ path: "channel/whatsapp/templates";
11611
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11612
+ 'x-tenant': z.ZodString;
11613
+ authorization: z.ZodString;
11614
+ 'x-code': z.ZodOptional<z.ZodString>;
11615
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
11616
+ }, "strip", z.ZodTypeAny, {
11617
+ 'x-tenant': string;
11618
+ authorization: string;
11619
+ 'x-client-timezone': string;
11620
+ 'x-code'?: string | undefined;
11621
+ }, {
11622
+ 'x-tenant': string;
11623
+ authorization: string;
11624
+ 'x-code'?: string | undefined;
11625
+ 'x-client-timezone'?: string | undefined;
11626
+ }>>>;
11627
+ };
11628
+ };
11629
+ };
11630
+ export declare const channelBotContract: {
11631
+ connectBot: {
11632
+ body: z.ZodObject<{
11633
+ botId: z.ZodString;
11634
+ }, "strip", z.ZodTypeAny, {
11635
+ botId: string;
11636
+ }, {
11637
+ botId: string;
11638
+ }>;
11639
+ method: "POST";
11640
+ responses: {
11641
+ 200: z.ZodObject<{
11642
+ requestId: z.ZodString;
11643
+ channel: z.ZodObject<{
11644
+ id: z.ZodString;
11645
+ createdAt: z.ZodDate;
11646
+ updatedAt: z.ZodDate;
11647
+ deletedAt: z.ZodNullable<z.ZodDate>;
11648
+ name: z.ZodString;
11649
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
11650
+ metadata: z.ZodObject<{
11651
+ id: z.ZodString;
11652
+ name: z.ZodString;
11653
+ accessToken: z.ZodOptional<z.ZodString>;
11654
+ channelSecret: z.ZodOptional<z.ZodString>;
11655
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
11656
+ senderId: z.ZodOptional<z.ZodString>;
11657
+ whatsapp: z.ZodOptional<z.ZodObject<{
11658
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
11659
+ wabaExternalId: z.ZodString;
11660
+ phoneNumberId: z.ZodString;
11661
+ email: z.ZodString;
11662
+ clientId: z.ZodOptional<z.ZodString>;
11663
+ channelId: z.ZodOptional<z.ZodString>;
11664
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
11665
+ apiKey: z.ZodOptional<z.ZodString>;
11666
+ }, "strip", z.ZodTypeAny, {
11667
+ email: string;
11668
+ wabaExternalId: string;
11669
+ phoneNumberId: string;
11670
+ wabaBusinessId?: string | undefined;
11671
+ clientId?: string | undefined;
11672
+ channelId?: string | undefined;
11673
+ status?: "active" | "pending" | undefined;
11674
+ apiKey?: string | undefined;
11675
+ }, {
11676
+ email: string;
11677
+ wabaExternalId: string;
11678
+ phoneNumberId: string;
11679
+ wabaBusinessId?: string | undefined;
11680
+ clientId?: string | undefined;
11681
+ channelId?: string | undefined;
11682
+ status?: "active" | "pending" | undefined;
11683
+ apiKey?: string | undefined;
11684
+ }>>;
11685
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
11686
+ mobileNumber: z.ZodString;
11687
+ apiKey: z.ZodString;
11688
+ apiSecret: z.ZodString;
11689
+ }, "strip", z.ZodTypeAny, {
11690
+ apiKey: string;
11691
+ mobileNumber: string;
11692
+ apiSecret: string;
11693
+ }, {
11694
+ apiKey: string;
11695
+ mobileNumber: string;
11696
+ apiSecret: string;
11697
+ }>>;
11698
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11699
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11700
+ }, "strip", z.ZodTypeAny, {
11701
+ name: string;
11702
+ id: string;
11703
+ accessToken?: string | undefined;
11704
+ channelSecret?: string | undefined;
11705
+ additionalCredentials?: any;
11706
+ senderId?: string | undefined;
11707
+ whatsapp?: {
11708
+ email: string;
11709
+ wabaExternalId: string;
11710
+ phoneNumberId: string;
11711
+ wabaBusinessId?: string | undefined;
11712
+ clientId?: string | undefined;
11713
+ channelId?: string | undefined;
11714
+ status?: "active" | "pending" | undefined;
11715
+ apiKey?: string | undefined;
11716
+ } | undefined;
11717
+ vonageCredentials?: {
11718
+ apiKey: string;
11719
+ mobileNumber: string;
11720
+ apiSecret: string;
9372
11721
  } | undefined;
9373
11722
  lineRichMenuId?: string | null | undefined;
9374
11723
  messengerIntegrationType?: "own" | "business" | undefined;
@@ -9379,9 +11728,19 @@ export declare const channelBotContract: {
9379
11728
  channelSecret?: string | undefined;
9380
11729
  additionalCredentials?: any;
9381
11730
  senderId?: string | undefined;
11731
+ whatsapp?: {
11732
+ email: string;
11733
+ wabaExternalId: string;
11734
+ phoneNumberId: string;
11735
+ wabaBusinessId?: string | undefined;
11736
+ clientId?: string | undefined;
11737
+ channelId?: string | undefined;
11738
+ status?: "active" | "pending" | undefined;
11739
+ apiKey?: string | undefined;
11740
+ } | undefined;
9382
11741
  vonageCredentials?: {
9383
- mobileNumber: string;
9384
11742
  apiKey: string;
11743
+ mobileNumber: string;
9385
11744
  apiSecret: string;
9386
11745
  } | undefined;
9387
11746
  lineRichMenuId?: string | null | undefined;
@@ -9627,9 +11986,19 @@ export declare const channelBotContract: {
9627
11986
  channelSecret?: string | undefined;
9628
11987
  additionalCredentials?: any;
9629
11988
  senderId?: string | undefined;
11989
+ whatsapp?: {
11990
+ email: string;
11991
+ wabaExternalId: string;
11992
+ phoneNumberId: string;
11993
+ wabaBusinessId?: string | undefined;
11994
+ clientId?: string | undefined;
11995
+ channelId?: string | undefined;
11996
+ status?: "active" | "pending" | undefined;
11997
+ apiKey?: string | undefined;
11998
+ } | undefined;
9630
11999
  vonageCredentials?: {
9631
- mobileNumber: string;
9632
12000
  apiKey: string;
12001
+ mobileNumber: string;
9633
12002
  apiSecret: string;
9634
12003
  } | undefined;
9635
12004
  lineRichMenuId?: string | null | undefined;
@@ -9706,9 +12075,19 @@ export declare const channelBotContract: {
9706
12075
  channelSecret?: string | undefined;
9707
12076
  additionalCredentials?: any;
9708
12077
  senderId?: string | undefined;
12078
+ whatsapp?: {
12079
+ email: string;
12080
+ wabaExternalId: string;
12081
+ phoneNumberId: string;
12082
+ wabaBusinessId?: string | undefined;
12083
+ clientId?: string | undefined;
12084
+ channelId?: string | undefined;
12085
+ status?: "active" | "pending" | undefined;
12086
+ apiKey?: string | undefined;
12087
+ } | undefined;
9709
12088
  vonageCredentials?: {
9710
- mobileNumber: string;
9711
12089
  apiKey: string;
12090
+ mobileNumber: string;
9712
12091
  apiSecret: string;
9713
12092
  } | undefined;
9714
12093
  lineRichMenuId?: string | null | undefined;
@@ -9787,9 +12166,19 @@ export declare const channelBotContract: {
9787
12166
  channelSecret?: string | undefined;
9788
12167
  additionalCredentials?: any;
9789
12168
  senderId?: string | undefined;
12169
+ whatsapp?: {
12170
+ email: string;
12171
+ wabaExternalId: string;
12172
+ phoneNumberId: string;
12173
+ wabaBusinessId?: string | undefined;
12174
+ clientId?: string | undefined;
12175
+ channelId?: string | undefined;
12176
+ status?: "active" | "pending" | undefined;
12177
+ apiKey?: string | undefined;
12178
+ } | undefined;
9790
12179
  vonageCredentials?: {
9791
- mobileNumber: string;
9792
12180
  apiKey: string;
12181
+ mobileNumber: string;
9793
12182
  apiSecret: string;
9794
12183
  } | undefined;
9795
12184
  lineRichMenuId?: string | null | undefined;
@@ -9869,9 +12258,19 @@ export declare const channelBotContract: {
9869
12258
  channelSecret?: string | undefined;
9870
12259
  additionalCredentials?: any;
9871
12260
  senderId?: string | undefined;
12261
+ whatsapp?: {
12262
+ email: string;
12263
+ wabaExternalId: string;
12264
+ phoneNumberId: string;
12265
+ wabaBusinessId?: string | undefined;
12266
+ clientId?: string | undefined;
12267
+ channelId?: string | undefined;
12268
+ status?: "active" | "pending" | undefined;
12269
+ apiKey?: string | undefined;
12270
+ } | undefined;
9872
12271
  vonageCredentials?: {
9873
- mobileNumber: string;
9874
12272
  apiKey: string;
12273
+ mobileNumber: string;
9875
12274
  apiSecret: string;
9876
12275
  } | undefined;
9877
12276
  lineRichMenuId?: string | null | undefined;
@@ -9983,17 +12382,45 @@ export declare const channelBotContract: {
9983
12382
  channelSecret: z.ZodOptional<z.ZodString>;
9984
12383
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9985
12384
  senderId: z.ZodOptional<z.ZodString>;
12385
+ whatsapp: z.ZodOptional<z.ZodObject<{
12386
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
12387
+ wabaExternalId: z.ZodString;
12388
+ phoneNumberId: z.ZodString;
12389
+ email: z.ZodString;
12390
+ clientId: z.ZodOptional<z.ZodString>;
12391
+ channelId: z.ZodOptional<z.ZodString>;
12392
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
12393
+ apiKey: z.ZodOptional<z.ZodString>;
12394
+ }, "strip", z.ZodTypeAny, {
12395
+ email: string;
12396
+ wabaExternalId: string;
12397
+ phoneNumberId: string;
12398
+ wabaBusinessId?: string | undefined;
12399
+ clientId?: string | undefined;
12400
+ channelId?: string | undefined;
12401
+ status?: "active" | "pending" | undefined;
12402
+ apiKey?: string | undefined;
12403
+ }, {
12404
+ email: string;
12405
+ wabaExternalId: string;
12406
+ phoneNumberId: string;
12407
+ wabaBusinessId?: string | undefined;
12408
+ clientId?: string | undefined;
12409
+ channelId?: string | undefined;
12410
+ status?: "active" | "pending" | undefined;
12411
+ apiKey?: string | undefined;
12412
+ }>>;
9986
12413
  vonageCredentials: z.ZodOptional<z.ZodObject<{
9987
12414
  mobileNumber: z.ZodString;
9988
12415
  apiKey: z.ZodString;
9989
12416
  apiSecret: z.ZodString;
9990
12417
  }, "strip", z.ZodTypeAny, {
9991
- mobileNumber: string;
9992
12418
  apiKey: string;
12419
+ mobileNumber: string;
9993
12420
  apiSecret: string;
9994
12421
  }, {
9995
- mobileNumber: string;
9996
12422
  apiKey: string;
12423
+ mobileNumber: string;
9997
12424
  apiSecret: string;
9998
12425
  }>>;
9999
12426
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -10005,9 +12432,19 @@ export declare const channelBotContract: {
10005
12432
  channelSecret?: string | undefined;
10006
12433
  additionalCredentials?: any;
10007
12434
  senderId?: string | undefined;
12435
+ whatsapp?: {
12436
+ email: string;
12437
+ wabaExternalId: string;
12438
+ phoneNumberId: string;
12439
+ wabaBusinessId?: string | undefined;
12440
+ clientId?: string | undefined;
12441
+ channelId?: string | undefined;
12442
+ status?: "active" | "pending" | undefined;
12443
+ apiKey?: string | undefined;
12444
+ } | undefined;
10008
12445
  vonageCredentials?: {
10009
- mobileNumber: string;
10010
12446
  apiKey: string;
12447
+ mobileNumber: string;
10011
12448
  apiSecret: string;
10012
12449
  } | undefined;
10013
12450
  lineRichMenuId?: string | null | undefined;
@@ -10019,9 +12456,19 @@ export declare const channelBotContract: {
10019
12456
  channelSecret?: string | undefined;
10020
12457
  additionalCredentials?: any;
10021
12458
  senderId?: string | undefined;
12459
+ whatsapp?: {
12460
+ email: string;
12461
+ wabaExternalId: string;
12462
+ phoneNumberId: string;
12463
+ wabaBusinessId?: string | undefined;
12464
+ clientId?: string | undefined;
12465
+ channelId?: string | undefined;
12466
+ status?: "active" | "pending" | undefined;
12467
+ apiKey?: string | undefined;
12468
+ } | undefined;
10022
12469
  vonageCredentials?: {
10023
- mobileNumber: string;
10024
12470
  apiKey: string;
12471
+ mobileNumber: string;
10025
12472
  apiSecret: string;
10026
12473
  } | undefined;
10027
12474
  lineRichMenuId?: string | null | undefined;
@@ -10267,9 +12714,19 @@ export declare const channelBotContract: {
10267
12714
  channelSecret?: string | undefined;
10268
12715
  additionalCredentials?: any;
10269
12716
  senderId?: string | undefined;
12717
+ whatsapp?: {
12718
+ email: string;
12719
+ wabaExternalId: string;
12720
+ phoneNumberId: string;
12721
+ wabaBusinessId?: string | undefined;
12722
+ clientId?: string | undefined;
12723
+ channelId?: string | undefined;
12724
+ status?: "active" | "pending" | undefined;
12725
+ apiKey?: string | undefined;
12726
+ } | undefined;
10270
12727
  vonageCredentials?: {
10271
- mobileNumber: string;
10272
12728
  apiKey: string;
12729
+ mobileNumber: string;
10273
12730
  apiSecret: string;
10274
12731
  } | undefined;
10275
12732
  lineRichMenuId?: string | null | undefined;
@@ -10346,9 +12803,19 @@ export declare const channelBotContract: {
10346
12803
  channelSecret?: string | undefined;
10347
12804
  additionalCredentials?: any;
10348
12805
  senderId?: string | undefined;
12806
+ whatsapp?: {
12807
+ email: string;
12808
+ wabaExternalId: string;
12809
+ phoneNumberId: string;
12810
+ wabaBusinessId?: string | undefined;
12811
+ clientId?: string | undefined;
12812
+ channelId?: string | undefined;
12813
+ status?: "active" | "pending" | undefined;
12814
+ apiKey?: string | undefined;
12815
+ } | undefined;
10349
12816
  vonageCredentials?: {
10350
- mobileNumber: string;
10351
12817
  apiKey: string;
12818
+ mobileNumber: string;
10352
12819
  apiSecret: string;
10353
12820
  } | undefined;
10354
12821
  lineRichMenuId?: string | null | undefined;
@@ -10427,9 +12894,19 @@ export declare const channelBotContract: {
10427
12894
  channelSecret?: string | undefined;
10428
12895
  additionalCredentials?: any;
10429
12896
  senderId?: string | undefined;
12897
+ whatsapp?: {
12898
+ email: string;
12899
+ wabaExternalId: string;
12900
+ phoneNumberId: string;
12901
+ wabaBusinessId?: string | undefined;
12902
+ clientId?: string | undefined;
12903
+ channelId?: string | undefined;
12904
+ status?: "active" | "pending" | undefined;
12905
+ apiKey?: string | undefined;
12906
+ } | undefined;
10430
12907
  vonageCredentials?: {
10431
- mobileNumber: string;
10432
12908
  apiKey: string;
12909
+ mobileNumber: string;
10433
12910
  apiSecret: string;
10434
12911
  } | undefined;
10435
12912
  lineRichMenuId?: string | null | undefined;
@@ -10509,9 +12986,19 @@ export declare const channelBotContract: {
10509
12986
  channelSecret?: string | undefined;
10510
12987
  additionalCredentials?: any;
10511
12988
  senderId?: string | undefined;
12989
+ whatsapp?: {
12990
+ email: string;
12991
+ wabaExternalId: string;
12992
+ phoneNumberId: string;
12993
+ wabaBusinessId?: string | undefined;
12994
+ clientId?: string | undefined;
12995
+ channelId?: string | undefined;
12996
+ status?: "active" | "pending" | undefined;
12997
+ apiKey?: string | undefined;
12998
+ } | undefined;
10512
12999
  vonageCredentials?: {
10513
- mobileNumber: string;
10514
13000
  apiKey: string;
13001
+ mobileNumber: string;
10515
13002
  apiSecret: string;
10516
13003
  } | undefined;
10517
13004
  lineRichMenuId?: string | null | undefined;
@@ -10615,12 +13102,12 @@ export declare const channelSMSContract: {
10615
13102
  apiKey: z.ZodString;
10616
13103
  apiSecret: z.ZodString;
10617
13104
  }, "strip", z.ZodTypeAny, {
10618
- mobileNumber: string;
10619
13105
  apiKey: string;
13106
+ mobileNumber: string;
10620
13107
  apiSecret: string;
10621
13108
  }, {
10622
- mobileNumber: string;
10623
13109
  apiKey: string;
13110
+ mobileNumber: string;
10624
13111
  apiSecret: string;
10625
13112
  }>;
10626
13113
  }, "strip", z.ZodTypeAny, {
@@ -10628,8 +13115,8 @@ export declare const channelSMSContract: {
10628
13115
  type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
10629
13116
  senderId: string;
10630
13117
  vonageCredentials: {
10631
- mobileNumber: string;
10632
13118
  apiKey: string;
13119
+ mobileNumber: string;
10633
13120
  apiSecret: string;
10634
13121
  };
10635
13122
  }, {
@@ -10637,8 +13124,8 @@ export declare const channelSMSContract: {
10637
13124
  type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
10638
13125
  senderId: string;
10639
13126
  vonageCredentials: {
10640
- mobileNumber: string;
10641
13127
  apiKey: string;
13128
+ mobileNumber: string;
10642
13129
  apiSecret: string;
10643
13130
  };
10644
13131
  }>;
@@ -10661,17 +13148,45 @@ export declare const channelSMSContract: {
10661
13148
  channelSecret: z.ZodOptional<z.ZodString>;
10662
13149
  additionalCredentials: z.ZodOptional<z.ZodAny>;
10663
13150
  senderId: z.ZodOptional<z.ZodString>;
13151
+ whatsapp: z.ZodOptional<z.ZodObject<{
13152
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
13153
+ wabaExternalId: z.ZodString;
13154
+ phoneNumberId: z.ZodString;
13155
+ email: z.ZodString;
13156
+ clientId: z.ZodOptional<z.ZodString>;
13157
+ channelId: z.ZodOptional<z.ZodString>;
13158
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
13159
+ apiKey: z.ZodOptional<z.ZodString>;
13160
+ }, "strip", z.ZodTypeAny, {
13161
+ email: string;
13162
+ wabaExternalId: string;
13163
+ phoneNumberId: string;
13164
+ wabaBusinessId?: string | undefined;
13165
+ clientId?: string | undefined;
13166
+ channelId?: string | undefined;
13167
+ status?: "active" | "pending" | undefined;
13168
+ apiKey?: string | undefined;
13169
+ }, {
13170
+ email: string;
13171
+ wabaExternalId: string;
13172
+ phoneNumberId: string;
13173
+ wabaBusinessId?: string | undefined;
13174
+ clientId?: string | undefined;
13175
+ channelId?: string | undefined;
13176
+ status?: "active" | "pending" | undefined;
13177
+ apiKey?: string | undefined;
13178
+ }>>;
10664
13179
  vonageCredentials: z.ZodOptional<z.ZodObject<{
10665
13180
  mobileNumber: z.ZodString;
10666
13181
  apiKey: z.ZodString;
10667
13182
  apiSecret: z.ZodString;
10668
13183
  }, "strip", z.ZodTypeAny, {
10669
- mobileNumber: string;
10670
13184
  apiKey: string;
13185
+ mobileNumber: string;
10671
13186
  apiSecret: string;
10672
13187
  }, {
10673
- mobileNumber: string;
10674
13188
  apiKey: string;
13189
+ mobileNumber: string;
10675
13190
  apiSecret: string;
10676
13191
  }>>;
10677
13192
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -10683,9 +13198,19 @@ export declare const channelSMSContract: {
10683
13198
  channelSecret?: string | undefined;
10684
13199
  additionalCredentials?: any;
10685
13200
  senderId?: string | undefined;
13201
+ whatsapp?: {
13202
+ email: string;
13203
+ wabaExternalId: string;
13204
+ phoneNumberId: string;
13205
+ wabaBusinessId?: string | undefined;
13206
+ clientId?: string | undefined;
13207
+ channelId?: string | undefined;
13208
+ status?: "active" | "pending" | undefined;
13209
+ apiKey?: string | undefined;
13210
+ } | undefined;
10686
13211
  vonageCredentials?: {
10687
- mobileNumber: string;
10688
13212
  apiKey: string;
13213
+ mobileNumber: string;
10689
13214
  apiSecret: string;
10690
13215
  } | undefined;
10691
13216
  lineRichMenuId?: string | null | undefined;
@@ -10697,9 +13222,19 @@ export declare const channelSMSContract: {
10697
13222
  channelSecret?: string | undefined;
10698
13223
  additionalCredentials?: any;
10699
13224
  senderId?: string | undefined;
13225
+ whatsapp?: {
13226
+ email: string;
13227
+ wabaExternalId: string;
13228
+ phoneNumberId: string;
13229
+ wabaBusinessId?: string | undefined;
13230
+ clientId?: string | undefined;
13231
+ channelId?: string | undefined;
13232
+ status?: "active" | "pending" | undefined;
13233
+ apiKey?: string | undefined;
13234
+ } | undefined;
10700
13235
  vonageCredentials?: {
10701
- mobileNumber: string;
10702
13236
  apiKey: string;
13237
+ mobileNumber: string;
10703
13238
  apiSecret: string;
10704
13239
  } | undefined;
10705
13240
  lineRichMenuId?: string | null | undefined;
@@ -10945,9 +13480,19 @@ export declare const channelSMSContract: {
10945
13480
  channelSecret?: string | undefined;
10946
13481
  additionalCredentials?: any;
10947
13482
  senderId?: string | undefined;
13483
+ whatsapp?: {
13484
+ email: string;
13485
+ wabaExternalId: string;
13486
+ phoneNumberId: string;
13487
+ wabaBusinessId?: string | undefined;
13488
+ clientId?: string | undefined;
13489
+ channelId?: string | undefined;
13490
+ status?: "active" | "pending" | undefined;
13491
+ apiKey?: string | undefined;
13492
+ } | undefined;
10948
13493
  vonageCredentials?: {
10949
- mobileNumber: string;
10950
13494
  apiKey: string;
13495
+ mobileNumber: string;
10951
13496
  apiSecret: string;
10952
13497
  } | undefined;
10953
13498
  lineRichMenuId?: string | null | undefined;
@@ -11024,9 +13569,19 @@ export declare const channelSMSContract: {
11024
13569
  channelSecret?: string | undefined;
11025
13570
  additionalCredentials?: any;
11026
13571
  senderId?: string | undefined;
13572
+ whatsapp?: {
13573
+ email: string;
13574
+ wabaExternalId: string;
13575
+ phoneNumberId: string;
13576
+ wabaBusinessId?: string | undefined;
13577
+ clientId?: string | undefined;
13578
+ channelId?: string | undefined;
13579
+ status?: "active" | "pending" | undefined;
13580
+ apiKey?: string | undefined;
13581
+ } | undefined;
11027
13582
  vonageCredentials?: {
11028
- mobileNumber: string;
11029
13583
  apiKey: string;
13584
+ mobileNumber: string;
11030
13585
  apiSecret: string;
11031
13586
  } | undefined;
11032
13587
  lineRichMenuId?: string | null | undefined;
@@ -11105,9 +13660,19 @@ export declare const channelSMSContract: {
11105
13660
  channelSecret?: string | undefined;
11106
13661
  additionalCredentials?: any;
11107
13662
  senderId?: string | undefined;
13663
+ whatsapp?: {
13664
+ email: string;
13665
+ wabaExternalId: string;
13666
+ phoneNumberId: string;
13667
+ wabaBusinessId?: string | undefined;
13668
+ clientId?: string | undefined;
13669
+ channelId?: string | undefined;
13670
+ status?: "active" | "pending" | undefined;
13671
+ apiKey?: string | undefined;
13672
+ } | undefined;
11108
13673
  vonageCredentials?: {
11109
- mobileNumber: string;
11110
13674
  apiKey: string;
13675
+ mobileNumber: string;
11111
13676
  apiSecret: string;
11112
13677
  } | undefined;
11113
13678
  lineRichMenuId?: string | null | undefined;
@@ -11187,9 +13752,19 @@ export declare const channelSMSContract: {
11187
13752
  channelSecret?: string | undefined;
11188
13753
  additionalCredentials?: any;
11189
13754
  senderId?: string | undefined;
13755
+ whatsapp?: {
13756
+ email: string;
13757
+ wabaExternalId: string;
13758
+ phoneNumberId: string;
13759
+ wabaBusinessId?: string | undefined;
13760
+ clientId?: string | undefined;
13761
+ channelId?: string | undefined;
13762
+ status?: "active" | "pending" | undefined;
13763
+ apiKey?: string | undefined;
13764
+ } | undefined;
11190
13765
  vonageCredentials?: {
11191
- mobileNumber: string;
11192
13766
  apiKey: string;
13767
+ mobileNumber: string;
11193
13768
  apiSecret: string;
11194
13769
  } | undefined;
11195
13770
  lineRichMenuId?: string | null | undefined;