@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.
- package/dist/api-contracts/src/channel/index.d.ts +2772 -197
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +126 -10
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +240 -10
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +24249 -21551
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +753 -105
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1096 -144
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +35856 -4586
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +140 -12
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +118 -10
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1475 -163
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +99 -11
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +74 -6
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1155 -127
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +1034 -122
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +123 -15
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
- package/dist/api-contracts/src/messenger/index.d.ts +1155 -127
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +74 -6
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +225 -29
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +6 -6
- package/dist/api-contracts/src/sms/validation.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +837 -101
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +837 -101
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +549 -77
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +637 -642
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +236 -20
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +1 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +2394 -2240
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2392 -2240
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -32,12 +32,12 @@ export declare const smsContract: {
|
|
32
32
|
apiKey: z.ZodString;
|
33
33
|
apiSecret: z.ZodString;
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
35
|
-
mobileNumber: string;
|
36
35
|
apiKey: string;
|
36
|
+
mobileNumber: string;
|
37
37
|
apiSecret: string;
|
38
38
|
}, {
|
39
|
-
mobileNumber: string;
|
40
39
|
apiKey: string;
|
40
|
+
mobileNumber: string;
|
41
41
|
apiSecret: string;
|
42
42
|
}>;
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
@@ -45,8 +45,8 @@ export declare const smsContract: {
|
|
45
45
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
46
46
|
senderId: string;
|
47
47
|
vonageCredentials: {
|
48
|
-
mobileNumber: string;
|
49
48
|
apiKey: string;
|
49
|
+
mobileNumber: string;
|
50
50
|
apiSecret: string;
|
51
51
|
};
|
52
52
|
}, {
|
@@ -54,8 +54,8 @@ export declare const smsContract: {
|
|
54
54
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
55
55
|
senderId: string;
|
56
56
|
vonageCredentials: {
|
57
|
-
mobileNumber: string;
|
58
57
|
apiKey: string;
|
58
|
+
mobileNumber: string;
|
59
59
|
apiSecret: string;
|
60
60
|
};
|
61
61
|
}>;
|
@@ -65,8 +65,8 @@ export declare const smsContract: {
|
|
65
65
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
66
66
|
senderId: string;
|
67
67
|
vonageCredentials: {
|
68
|
-
mobileNumber: string;
|
69
68
|
apiKey: string;
|
69
|
+
mobileNumber: string;
|
70
70
|
apiSecret: string;
|
71
71
|
};
|
72
72
|
};
|
@@ -83,8 +83,8 @@ export declare const smsContract: {
|
|
83
83
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
84
84
|
senderId: string;
|
85
85
|
vonageCredentials: {
|
86
|
-
mobileNumber: string;
|
87
86
|
apiKey: string;
|
87
|
+
mobileNumber: string;
|
88
88
|
apiSecret: string;
|
89
89
|
};
|
90
90
|
};
|
@@ -114,17 +114,45 @@ export declare const smsContract: {
|
|
114
114
|
channelSecret: z.ZodOptional<z.ZodString>;
|
115
115
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
116
116
|
senderId: z.ZodOptional<z.ZodString>;
|
117
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
118
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
119
|
+
wabaExternalId: z.ZodString;
|
120
|
+
phoneNumberId: z.ZodString;
|
121
|
+
email: z.ZodString;
|
122
|
+
clientId: z.ZodOptional<z.ZodString>;
|
123
|
+
channelId: z.ZodOptional<z.ZodString>;
|
124
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
125
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
127
|
+
email: string;
|
128
|
+
wabaExternalId: string;
|
129
|
+
phoneNumberId: string;
|
130
|
+
wabaBusinessId?: string | undefined;
|
131
|
+
clientId?: string | undefined;
|
132
|
+
channelId?: string | undefined;
|
133
|
+
status?: "active" | "pending" | undefined;
|
134
|
+
apiKey?: string | undefined;
|
135
|
+
}, {
|
136
|
+
email: string;
|
137
|
+
wabaExternalId: string;
|
138
|
+
phoneNumberId: string;
|
139
|
+
wabaBusinessId?: string | undefined;
|
140
|
+
clientId?: string | undefined;
|
141
|
+
channelId?: string | undefined;
|
142
|
+
status?: "active" | "pending" | undefined;
|
143
|
+
apiKey?: string | undefined;
|
144
|
+
}>>;
|
117
145
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
118
146
|
mobileNumber: z.ZodString;
|
119
147
|
apiKey: z.ZodString;
|
120
148
|
apiSecret: z.ZodString;
|
121
149
|
}, "strip", z.ZodTypeAny, {
|
122
|
-
mobileNumber: string;
|
123
150
|
apiKey: string;
|
151
|
+
mobileNumber: string;
|
124
152
|
apiSecret: string;
|
125
153
|
}, {
|
126
|
-
mobileNumber: string;
|
127
154
|
apiKey: string;
|
155
|
+
mobileNumber: string;
|
128
156
|
apiSecret: string;
|
129
157
|
}>>;
|
130
158
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -136,9 +164,19 @@ export declare const smsContract: {
|
|
136
164
|
channelSecret?: string | undefined;
|
137
165
|
additionalCredentials?: any;
|
138
166
|
senderId?: string | undefined;
|
167
|
+
whatsapp?: {
|
168
|
+
email: string;
|
169
|
+
wabaExternalId: string;
|
170
|
+
phoneNumberId: string;
|
171
|
+
wabaBusinessId?: string | undefined;
|
172
|
+
clientId?: string | undefined;
|
173
|
+
channelId?: string | undefined;
|
174
|
+
status?: "active" | "pending" | undefined;
|
175
|
+
apiKey?: string | undefined;
|
176
|
+
} | undefined;
|
139
177
|
vonageCredentials?: {
|
140
|
-
mobileNumber: string;
|
141
178
|
apiKey: string;
|
179
|
+
mobileNumber: string;
|
142
180
|
apiSecret: string;
|
143
181
|
} | undefined;
|
144
182
|
lineRichMenuId?: string | null | undefined;
|
@@ -150,9 +188,19 @@ export declare const smsContract: {
|
|
150
188
|
channelSecret?: string | undefined;
|
151
189
|
additionalCredentials?: any;
|
152
190
|
senderId?: string | undefined;
|
191
|
+
whatsapp?: {
|
192
|
+
email: string;
|
193
|
+
wabaExternalId: string;
|
194
|
+
phoneNumberId: string;
|
195
|
+
wabaBusinessId?: string | undefined;
|
196
|
+
clientId?: string | undefined;
|
197
|
+
channelId?: string | undefined;
|
198
|
+
status?: "active" | "pending" | undefined;
|
199
|
+
apiKey?: string | undefined;
|
200
|
+
} | undefined;
|
153
201
|
vonageCredentials?: {
|
154
|
-
mobileNumber: string;
|
155
202
|
apiKey: string;
|
203
|
+
mobileNumber: string;
|
156
204
|
apiSecret: string;
|
157
205
|
} | undefined;
|
158
206
|
lineRichMenuId?: string | null | undefined;
|
@@ -398,9 +446,19 @@ export declare const smsContract: {
|
|
398
446
|
channelSecret?: string | undefined;
|
399
447
|
additionalCredentials?: any;
|
400
448
|
senderId?: string | undefined;
|
449
|
+
whatsapp?: {
|
450
|
+
email: string;
|
451
|
+
wabaExternalId: string;
|
452
|
+
phoneNumberId: string;
|
453
|
+
wabaBusinessId?: string | undefined;
|
454
|
+
clientId?: string | undefined;
|
455
|
+
channelId?: string | undefined;
|
456
|
+
status?: "active" | "pending" | undefined;
|
457
|
+
apiKey?: string | undefined;
|
458
|
+
} | undefined;
|
401
459
|
vonageCredentials?: {
|
402
|
-
mobileNumber: string;
|
403
460
|
apiKey: string;
|
461
|
+
mobileNumber: string;
|
404
462
|
apiSecret: string;
|
405
463
|
} | undefined;
|
406
464
|
lineRichMenuId?: string | null | undefined;
|
@@ -477,9 +535,19 @@ export declare const smsContract: {
|
|
477
535
|
channelSecret?: string | undefined;
|
478
536
|
additionalCredentials?: any;
|
479
537
|
senderId?: string | undefined;
|
538
|
+
whatsapp?: {
|
539
|
+
email: string;
|
540
|
+
wabaExternalId: string;
|
541
|
+
phoneNumberId: string;
|
542
|
+
wabaBusinessId?: string | undefined;
|
543
|
+
clientId?: string | undefined;
|
544
|
+
channelId?: string | undefined;
|
545
|
+
status?: "active" | "pending" | undefined;
|
546
|
+
apiKey?: string | undefined;
|
547
|
+
} | undefined;
|
480
548
|
vonageCredentials?: {
|
481
|
-
mobileNumber: string;
|
482
549
|
apiKey: string;
|
550
|
+
mobileNumber: string;
|
483
551
|
apiSecret: string;
|
484
552
|
} | undefined;
|
485
553
|
lineRichMenuId?: string | null | undefined;
|
@@ -558,9 +626,19 @@ export declare const smsContract: {
|
|
558
626
|
channelSecret?: string | undefined;
|
559
627
|
additionalCredentials?: any;
|
560
628
|
senderId?: string | undefined;
|
629
|
+
whatsapp?: {
|
630
|
+
email: string;
|
631
|
+
wabaExternalId: string;
|
632
|
+
phoneNumberId: string;
|
633
|
+
wabaBusinessId?: string | undefined;
|
634
|
+
clientId?: string | undefined;
|
635
|
+
channelId?: string | undefined;
|
636
|
+
status?: "active" | "pending" | undefined;
|
637
|
+
apiKey?: string | undefined;
|
638
|
+
} | undefined;
|
561
639
|
vonageCredentials?: {
|
562
|
-
mobileNumber: string;
|
563
640
|
apiKey: string;
|
641
|
+
mobileNumber: string;
|
564
642
|
apiSecret: string;
|
565
643
|
} | undefined;
|
566
644
|
lineRichMenuId?: string | null | undefined;
|
@@ -640,9 +718,19 @@ export declare const smsContract: {
|
|
640
718
|
channelSecret?: string | undefined;
|
641
719
|
additionalCredentials?: any;
|
642
720
|
senderId?: string | undefined;
|
721
|
+
whatsapp?: {
|
722
|
+
email: string;
|
723
|
+
wabaExternalId: string;
|
724
|
+
phoneNumberId: string;
|
725
|
+
wabaBusinessId?: string | undefined;
|
726
|
+
clientId?: string | undefined;
|
727
|
+
channelId?: string | undefined;
|
728
|
+
status?: "active" | "pending" | undefined;
|
729
|
+
apiKey?: string | undefined;
|
730
|
+
} | undefined;
|
643
731
|
vonageCredentials?: {
|
644
|
-
mobileNumber: string;
|
645
732
|
apiKey: string;
|
733
|
+
mobileNumber: string;
|
646
734
|
apiSecret: string;
|
647
735
|
} | undefined;
|
648
736
|
lineRichMenuId?: string | null | undefined;
|
@@ -871,17 +959,45 @@ export declare const smsContract: {
|
|
871
959
|
channelSecret: z.ZodOptional<z.ZodString>;
|
872
960
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
873
961
|
senderId: z.ZodOptional<z.ZodString>;
|
962
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
963
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
964
|
+
wabaExternalId: z.ZodString;
|
965
|
+
phoneNumberId: z.ZodString;
|
966
|
+
email: z.ZodString;
|
967
|
+
clientId: z.ZodOptional<z.ZodString>;
|
968
|
+
channelId: z.ZodOptional<z.ZodString>;
|
969
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
970
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
971
|
+
}, "strip", z.ZodTypeAny, {
|
972
|
+
email: string;
|
973
|
+
wabaExternalId: string;
|
974
|
+
phoneNumberId: string;
|
975
|
+
wabaBusinessId?: string | undefined;
|
976
|
+
clientId?: string | undefined;
|
977
|
+
channelId?: string | undefined;
|
978
|
+
status?: "active" | "pending" | undefined;
|
979
|
+
apiKey?: string | undefined;
|
980
|
+
}, {
|
981
|
+
email: string;
|
982
|
+
wabaExternalId: string;
|
983
|
+
phoneNumberId: string;
|
984
|
+
wabaBusinessId?: string | undefined;
|
985
|
+
clientId?: string | undefined;
|
986
|
+
channelId?: string | undefined;
|
987
|
+
status?: "active" | "pending" | undefined;
|
988
|
+
apiKey?: string | undefined;
|
989
|
+
}>>;
|
874
990
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
875
991
|
mobileNumber: z.ZodString;
|
876
992
|
apiKey: z.ZodString;
|
877
993
|
apiSecret: z.ZodString;
|
878
994
|
}, "strip", z.ZodTypeAny, {
|
879
|
-
mobileNumber: string;
|
880
995
|
apiKey: string;
|
996
|
+
mobileNumber: string;
|
881
997
|
apiSecret: string;
|
882
998
|
}, {
|
883
|
-
mobileNumber: string;
|
884
999
|
apiKey: string;
|
1000
|
+
mobileNumber: string;
|
885
1001
|
apiSecret: string;
|
886
1002
|
}>>;
|
887
1003
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -893,9 +1009,19 @@ export declare const smsContract: {
|
|
893
1009
|
channelSecret?: string | undefined;
|
894
1010
|
additionalCredentials?: any;
|
895
1011
|
senderId?: string | undefined;
|
1012
|
+
whatsapp?: {
|
1013
|
+
email: string;
|
1014
|
+
wabaExternalId: string;
|
1015
|
+
phoneNumberId: string;
|
1016
|
+
wabaBusinessId?: string | undefined;
|
1017
|
+
clientId?: string | undefined;
|
1018
|
+
channelId?: string | undefined;
|
1019
|
+
status?: "active" | "pending" | undefined;
|
1020
|
+
apiKey?: string | undefined;
|
1021
|
+
} | undefined;
|
896
1022
|
vonageCredentials?: {
|
897
|
-
mobileNumber: string;
|
898
1023
|
apiKey: string;
|
1024
|
+
mobileNumber: string;
|
899
1025
|
apiSecret: string;
|
900
1026
|
} | undefined;
|
901
1027
|
lineRichMenuId?: string | null | undefined;
|
@@ -907,9 +1033,19 @@ export declare const smsContract: {
|
|
907
1033
|
channelSecret?: string | undefined;
|
908
1034
|
additionalCredentials?: any;
|
909
1035
|
senderId?: string | undefined;
|
1036
|
+
whatsapp?: {
|
1037
|
+
email: string;
|
1038
|
+
wabaExternalId: string;
|
1039
|
+
phoneNumberId: string;
|
1040
|
+
wabaBusinessId?: string | undefined;
|
1041
|
+
clientId?: string | undefined;
|
1042
|
+
channelId?: string | undefined;
|
1043
|
+
status?: "active" | "pending" | undefined;
|
1044
|
+
apiKey?: string | undefined;
|
1045
|
+
} | undefined;
|
910
1046
|
vonageCredentials?: {
|
911
|
-
mobileNumber: string;
|
912
1047
|
apiKey: string;
|
1048
|
+
mobileNumber: string;
|
913
1049
|
apiSecret: string;
|
914
1050
|
} | undefined;
|
915
1051
|
lineRichMenuId?: string | null | undefined;
|
@@ -951,9 +1087,19 @@ export declare const smsContract: {
|
|
951
1087
|
channelSecret?: string | undefined;
|
952
1088
|
additionalCredentials?: any;
|
953
1089
|
senderId?: string | undefined;
|
1090
|
+
whatsapp?: {
|
1091
|
+
email: string;
|
1092
|
+
wabaExternalId: string;
|
1093
|
+
phoneNumberId: string;
|
1094
|
+
wabaBusinessId?: string | undefined;
|
1095
|
+
clientId?: string | undefined;
|
1096
|
+
channelId?: string | undefined;
|
1097
|
+
status?: "active" | "pending" | undefined;
|
1098
|
+
apiKey?: string | undefined;
|
1099
|
+
} | undefined;
|
954
1100
|
vonageCredentials?: {
|
955
|
-
mobileNumber: string;
|
956
1101
|
apiKey: string;
|
1102
|
+
mobileNumber: string;
|
957
1103
|
apiSecret: string;
|
958
1104
|
} | undefined;
|
959
1105
|
lineRichMenuId?: string | null | undefined;
|
@@ -983,9 +1129,19 @@ export declare const smsContract: {
|
|
983
1129
|
channelSecret?: string | undefined;
|
984
1130
|
additionalCredentials?: any;
|
985
1131
|
senderId?: string | undefined;
|
1132
|
+
whatsapp?: {
|
1133
|
+
email: string;
|
1134
|
+
wabaExternalId: string;
|
1135
|
+
phoneNumberId: string;
|
1136
|
+
wabaBusinessId?: string | undefined;
|
1137
|
+
clientId?: string | undefined;
|
1138
|
+
channelId?: string | undefined;
|
1139
|
+
status?: "active" | "pending" | undefined;
|
1140
|
+
apiKey?: string | undefined;
|
1141
|
+
} | undefined;
|
986
1142
|
vonageCredentials?: {
|
987
|
-
mobileNumber: string;
|
988
1143
|
apiKey: string;
|
1144
|
+
mobileNumber: string;
|
989
1145
|
apiSecret: string;
|
990
1146
|
} | undefined;
|
991
1147
|
lineRichMenuId?: string | null | undefined;
|
@@ -1019,9 +1175,19 @@ export declare const smsContract: {
|
|
1019
1175
|
channelSecret?: string | undefined;
|
1020
1176
|
additionalCredentials?: any;
|
1021
1177
|
senderId?: string | undefined;
|
1178
|
+
whatsapp?: {
|
1179
|
+
email: string;
|
1180
|
+
wabaExternalId: string;
|
1181
|
+
phoneNumberId: string;
|
1182
|
+
wabaBusinessId?: string | undefined;
|
1183
|
+
clientId?: string | undefined;
|
1184
|
+
channelId?: string | undefined;
|
1185
|
+
status?: "active" | "pending" | undefined;
|
1186
|
+
apiKey?: string | undefined;
|
1187
|
+
} | undefined;
|
1022
1188
|
vonageCredentials?: {
|
1023
|
-
mobileNumber: string;
|
1024
1189
|
apiKey: string;
|
1190
|
+
mobileNumber: string;
|
1025
1191
|
apiSecret: string;
|
1026
1192
|
} | undefined;
|
1027
1193
|
lineRichMenuId?: string | null | undefined;
|
@@ -1094,9 +1260,19 @@ export declare const smsContract: {
|
|
1094
1260
|
channelSecret?: string | undefined;
|
1095
1261
|
additionalCredentials?: any;
|
1096
1262
|
senderId?: string | undefined;
|
1263
|
+
whatsapp?: {
|
1264
|
+
email: string;
|
1265
|
+
wabaExternalId: string;
|
1266
|
+
phoneNumberId: string;
|
1267
|
+
wabaBusinessId?: string | undefined;
|
1268
|
+
clientId?: string | undefined;
|
1269
|
+
channelId?: string | undefined;
|
1270
|
+
status?: "active" | "pending" | undefined;
|
1271
|
+
apiKey?: string | undefined;
|
1272
|
+
} | undefined;
|
1097
1273
|
vonageCredentials?: {
|
1098
|
-
mobileNumber: string;
|
1099
1274
|
apiKey: string;
|
1275
|
+
mobileNumber: string;
|
1100
1276
|
apiSecret: string;
|
1101
1277
|
} | undefined;
|
1102
1278
|
lineRichMenuId?: string | null | undefined;
|
@@ -1161,7 +1337,7 @@ export declare const smsContract: {
|
|
1161
1337
|
id: z.ZodOptional<z.ZodString>;
|
1162
1338
|
message: z.ZodOptional<z.ZodString>;
|
1163
1339
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1164
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
1340
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
1165
1341
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1166
1342
|
metadata: z.ZodOptional<z.ZodAny>;
|
1167
1343
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1217,7 +1393,7 @@ export declare const smsContract: {
|
|
1217
1393
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
1218
1394
|
label: z.ZodOptional<z.ZodString>;
|
1219
1395
|
}, "strip", z.ZodTypeAny, {
|
1220
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1396
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1221
1397
|
direction: "incoming" | "outgoing" | "system";
|
1222
1398
|
id?: string | undefined;
|
1223
1399
|
message?: string | undefined;
|
@@ -1252,7 +1428,7 @@ export declare const smsContract: {
|
|
1252
1428
|
editedAt?: string | Date | null | undefined;
|
1253
1429
|
label?: string | undefined;
|
1254
1430
|
}, {
|
1255
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1431
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1256
1432
|
direction: "incoming" | "outgoing" | "system";
|
1257
1433
|
id?: string | undefined;
|
1258
1434
|
message?: string | undefined;
|
@@ -1289,7 +1465,7 @@ export declare const smsContract: {
|
|
1289
1465
|
}>;
|
1290
1466
|
}, "strip", z.ZodTypeAny, {
|
1291
1467
|
message: {
|
1292
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1468
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1293
1469
|
direction: "incoming" | "outgoing" | "system";
|
1294
1470
|
id?: string | undefined;
|
1295
1471
|
message?: string | undefined;
|
@@ -1337,9 +1513,19 @@ export declare const smsContract: {
|
|
1337
1513
|
channelSecret?: string | undefined;
|
1338
1514
|
additionalCredentials?: any;
|
1339
1515
|
senderId?: string | undefined;
|
1516
|
+
whatsapp?: {
|
1517
|
+
email: string;
|
1518
|
+
wabaExternalId: string;
|
1519
|
+
phoneNumberId: string;
|
1520
|
+
wabaBusinessId?: string | undefined;
|
1521
|
+
clientId?: string | undefined;
|
1522
|
+
channelId?: string | undefined;
|
1523
|
+
status?: "active" | "pending" | undefined;
|
1524
|
+
apiKey?: string | undefined;
|
1525
|
+
} | undefined;
|
1340
1526
|
vonageCredentials?: {
|
1341
|
-
mobileNumber: string;
|
1342
1527
|
apiKey: string;
|
1528
|
+
mobileNumber: string;
|
1343
1529
|
apiSecret: string;
|
1344
1530
|
} | undefined;
|
1345
1531
|
lineRichMenuId?: string | null | undefined;
|
@@ -1403,7 +1589,7 @@ export declare const smsContract: {
|
|
1403
1589
|
isBot: boolean | null;
|
1404
1590
|
}, {
|
1405
1591
|
message: {
|
1406
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1592
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
1407
1593
|
direction: "incoming" | "outgoing" | "system";
|
1408
1594
|
id?: string | undefined;
|
1409
1595
|
message?: string | undefined;
|
@@ -1451,9 +1637,19 @@ export declare const smsContract: {
|
|
1451
1637
|
channelSecret?: string | undefined;
|
1452
1638
|
additionalCredentials?: any;
|
1453
1639
|
senderId?: string | undefined;
|
1640
|
+
whatsapp?: {
|
1641
|
+
email: string;
|
1642
|
+
wabaExternalId: string;
|
1643
|
+
phoneNumberId: string;
|
1644
|
+
wabaBusinessId?: string | undefined;
|
1645
|
+
clientId?: string | undefined;
|
1646
|
+
channelId?: string | undefined;
|
1647
|
+
status?: "active" | "pending" | undefined;
|
1648
|
+
apiKey?: string | undefined;
|
1649
|
+
} | undefined;
|
1454
1650
|
vonageCredentials?: {
|
1455
|
-
mobileNumber: string;
|
1456
1651
|
apiKey: string;
|
1652
|
+
mobileNumber: string;
|
1457
1653
|
apiSecret: string;
|
1458
1654
|
} | undefined;
|
1459
1655
|
lineRichMenuId?: string | null | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sms/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBtB,CAAC"}
|
@@ -28,12 +28,12 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
28
28
|
apiKey: z.ZodString;
|
29
29
|
apiSecret: z.ZodString;
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
31
|
-
mobileNumber: string;
|
32
31
|
apiKey: string;
|
32
|
+
mobileNumber: string;
|
33
33
|
apiSecret: string;
|
34
34
|
}, {
|
35
|
-
mobileNumber: string;
|
36
35
|
apiKey: string;
|
36
|
+
mobileNumber: string;
|
37
37
|
apiSecret: string;
|
38
38
|
}>;
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
@@ -41,8 +41,8 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
41
41
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
42
42
|
senderId: string;
|
43
43
|
vonageCredentials: {
|
44
|
-
mobileNumber: string;
|
45
44
|
apiKey: string;
|
45
|
+
mobileNumber: string;
|
46
46
|
apiSecret: string;
|
47
47
|
};
|
48
48
|
}, {
|
@@ -50,8 +50,8 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
50
50
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
51
51
|
senderId: string;
|
52
52
|
vonageCredentials: {
|
53
|
-
mobileNumber: string;
|
54
53
|
apiKey: string;
|
54
|
+
mobileNumber: string;
|
55
55
|
apiSecret: string;
|
56
56
|
};
|
57
57
|
}>;
|
@@ -61,8 +61,8 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
61
61
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
62
62
|
senderId: string;
|
63
63
|
vonageCredentials: {
|
64
|
-
mobileNumber: string;
|
65
64
|
apiKey: string;
|
65
|
+
mobileNumber: string;
|
66
66
|
apiSecret: string;
|
67
67
|
};
|
68
68
|
};
|
@@ -79,8 +79,8 @@ export declare const ConnectSMSChannelSchema: z.ZodObject<{
|
|
79
79
|
type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
|
80
80
|
senderId: string;
|
81
81
|
vonageCredentials: {
|
82
|
-
mobileNumber: string;
|
83
82
|
apiKey: string;
|
83
|
+
mobileNumber: string;
|
84
84
|
apiSecret: string;
|
85
85
|
};
|
86
86
|
};
|
@@ -9,12 +9,12 @@ export declare const ConnectSMSSchema: z.ZodObject<{
|
|
9
9
|
apiKey: z.ZodString;
|
10
10
|
apiSecret: z.ZodString;
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
12
|
-
mobileNumber: string;
|
13
12
|
apiKey: string;
|
13
|
+
mobileNumber: string;
|
14
14
|
apiSecret: string;
|
15
15
|
}, {
|
16
|
-
mobileNumber: string;
|
17
16
|
apiKey: string;
|
17
|
+
mobileNumber: string;
|
18
18
|
apiSecret: string;
|
19
19
|
}>;
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
@@ -22,8 +22,8 @@ export declare const ConnectSMSSchema: z.ZodObject<{
|
|
22
22
|
type: EChannelType.VONAGE_SMS;
|
23
23
|
senderId: string;
|
24
24
|
vonageCredentials: {
|
25
|
-
mobileNumber: string;
|
26
25
|
apiKey: string;
|
26
|
+
mobileNumber: string;
|
27
27
|
apiSecret: string;
|
28
28
|
};
|
29
29
|
}, {
|
@@ -31,8 +31,8 @@ export declare const ConnectSMSSchema: z.ZodObject<{
|
|
31
31
|
type: EChannelType.VONAGE_SMS;
|
32
32
|
senderId: string;
|
33
33
|
vonageCredentials: {
|
34
|
-
mobileNumber: string;
|
35
34
|
apiKey: string;
|
35
|
+
mobileNumber: string;
|
36
36
|
apiSecret: string;
|
37
37
|
};
|
38
38
|
}>;
|