@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
@@ -137,17 +137,45 @@ export declare const platformWebchatContract: {
|
|
137
137
|
channelSecret: z.ZodOptional<z.ZodString>;
|
138
138
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
139
139
|
senderId: z.ZodOptional<z.ZodString>;
|
140
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
141
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
142
|
+
wabaExternalId: z.ZodString;
|
143
|
+
phoneNumberId: z.ZodString;
|
144
|
+
email: z.ZodString;
|
145
|
+
clientId: z.ZodOptional<z.ZodString>;
|
146
|
+
channelId: z.ZodOptional<z.ZodString>;
|
147
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
148
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
150
|
+
email: string;
|
151
|
+
wabaExternalId: string;
|
152
|
+
phoneNumberId: string;
|
153
|
+
wabaBusinessId?: string | undefined;
|
154
|
+
clientId?: string | undefined;
|
155
|
+
channelId?: string | undefined;
|
156
|
+
status?: "active" | "pending" | undefined;
|
157
|
+
apiKey?: string | undefined;
|
158
|
+
}, {
|
159
|
+
email: string;
|
160
|
+
wabaExternalId: string;
|
161
|
+
phoneNumberId: string;
|
162
|
+
wabaBusinessId?: string | undefined;
|
163
|
+
clientId?: string | undefined;
|
164
|
+
channelId?: string | undefined;
|
165
|
+
status?: "active" | "pending" | undefined;
|
166
|
+
apiKey?: string | undefined;
|
167
|
+
}>>;
|
140
168
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
141
169
|
mobileNumber: z.ZodString;
|
142
170
|
apiKey: z.ZodString;
|
143
171
|
apiSecret: z.ZodString;
|
144
172
|
}, "strip", z.ZodTypeAny, {
|
145
|
-
mobileNumber: string;
|
146
173
|
apiKey: string;
|
174
|
+
mobileNumber: string;
|
147
175
|
apiSecret: string;
|
148
176
|
}, {
|
149
|
-
mobileNumber: string;
|
150
177
|
apiKey: string;
|
178
|
+
mobileNumber: string;
|
151
179
|
apiSecret: string;
|
152
180
|
}>>;
|
153
181
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -159,9 +187,19 @@ export declare const platformWebchatContract: {
|
|
159
187
|
channelSecret?: string | undefined;
|
160
188
|
additionalCredentials?: any;
|
161
189
|
senderId?: string | undefined;
|
190
|
+
whatsapp?: {
|
191
|
+
email: string;
|
192
|
+
wabaExternalId: string;
|
193
|
+
phoneNumberId: string;
|
194
|
+
wabaBusinessId?: string | undefined;
|
195
|
+
clientId?: string | undefined;
|
196
|
+
channelId?: string | undefined;
|
197
|
+
status?: "active" | "pending" | undefined;
|
198
|
+
apiKey?: string | undefined;
|
199
|
+
} | undefined;
|
162
200
|
vonageCredentials?: {
|
163
|
-
mobileNumber: string;
|
164
201
|
apiKey: string;
|
202
|
+
mobileNumber: string;
|
165
203
|
apiSecret: string;
|
166
204
|
} | undefined;
|
167
205
|
lineRichMenuId?: string | null | undefined;
|
@@ -173,9 +211,19 @@ export declare const platformWebchatContract: {
|
|
173
211
|
channelSecret?: string | undefined;
|
174
212
|
additionalCredentials?: any;
|
175
213
|
senderId?: string | undefined;
|
214
|
+
whatsapp?: {
|
215
|
+
email: string;
|
216
|
+
wabaExternalId: string;
|
217
|
+
phoneNumberId: string;
|
218
|
+
wabaBusinessId?: string | undefined;
|
219
|
+
clientId?: string | undefined;
|
220
|
+
channelId?: string | undefined;
|
221
|
+
status?: "active" | "pending" | undefined;
|
222
|
+
apiKey?: string | undefined;
|
223
|
+
} | undefined;
|
176
224
|
vonageCredentials?: {
|
177
|
-
mobileNumber: string;
|
178
225
|
apiKey: string;
|
226
|
+
mobileNumber: string;
|
179
227
|
apiSecret: string;
|
180
228
|
} | undefined;
|
181
229
|
lineRichMenuId?: string | null | undefined;
|
@@ -217,9 +265,19 @@ export declare const platformWebchatContract: {
|
|
217
265
|
channelSecret?: string | undefined;
|
218
266
|
additionalCredentials?: any;
|
219
267
|
senderId?: string | undefined;
|
268
|
+
whatsapp?: {
|
269
|
+
email: string;
|
270
|
+
wabaExternalId: string;
|
271
|
+
phoneNumberId: string;
|
272
|
+
wabaBusinessId?: string | undefined;
|
273
|
+
clientId?: string | undefined;
|
274
|
+
channelId?: string | undefined;
|
275
|
+
status?: "active" | "pending" | undefined;
|
276
|
+
apiKey?: string | undefined;
|
277
|
+
} | undefined;
|
220
278
|
vonageCredentials?: {
|
221
|
-
mobileNumber: string;
|
222
279
|
apiKey: string;
|
280
|
+
mobileNumber: string;
|
223
281
|
apiSecret: string;
|
224
282
|
} | undefined;
|
225
283
|
lineRichMenuId?: string | null | undefined;
|
@@ -249,9 +307,19 @@ export declare const platformWebchatContract: {
|
|
249
307
|
channelSecret?: string | undefined;
|
250
308
|
additionalCredentials?: any;
|
251
309
|
senderId?: string | undefined;
|
310
|
+
whatsapp?: {
|
311
|
+
email: string;
|
312
|
+
wabaExternalId: string;
|
313
|
+
phoneNumberId: string;
|
314
|
+
wabaBusinessId?: string | undefined;
|
315
|
+
clientId?: string | undefined;
|
316
|
+
channelId?: string | undefined;
|
317
|
+
status?: "active" | "pending" | undefined;
|
318
|
+
apiKey?: string | undefined;
|
319
|
+
} | undefined;
|
252
320
|
vonageCredentials?: {
|
253
|
-
mobileNumber: string;
|
254
321
|
apiKey: string;
|
322
|
+
mobileNumber: string;
|
255
323
|
apiSecret: string;
|
256
324
|
} | undefined;
|
257
325
|
lineRichMenuId?: string | null | undefined;
|
@@ -285,9 +353,19 @@ export declare const platformWebchatContract: {
|
|
285
353
|
channelSecret?: string | undefined;
|
286
354
|
additionalCredentials?: any;
|
287
355
|
senderId?: string | undefined;
|
356
|
+
whatsapp?: {
|
357
|
+
email: string;
|
358
|
+
wabaExternalId: string;
|
359
|
+
phoneNumberId: string;
|
360
|
+
wabaBusinessId?: string | undefined;
|
361
|
+
clientId?: string | undefined;
|
362
|
+
channelId?: string | undefined;
|
363
|
+
status?: "active" | "pending" | undefined;
|
364
|
+
apiKey?: string | undefined;
|
365
|
+
} | undefined;
|
288
366
|
vonageCredentials?: {
|
289
|
-
mobileNumber: string;
|
290
367
|
apiKey: string;
|
368
|
+
mobileNumber: string;
|
291
369
|
apiSecret: string;
|
292
370
|
} | undefined;
|
293
371
|
lineRichMenuId?: string | null | undefined;
|
@@ -360,9 +438,19 @@ export declare const platformWebchatContract: {
|
|
360
438
|
channelSecret?: string | undefined;
|
361
439
|
additionalCredentials?: any;
|
362
440
|
senderId?: string | undefined;
|
441
|
+
whatsapp?: {
|
442
|
+
email: string;
|
443
|
+
wabaExternalId: string;
|
444
|
+
phoneNumberId: string;
|
445
|
+
wabaBusinessId?: string | undefined;
|
446
|
+
clientId?: string | undefined;
|
447
|
+
channelId?: string | undefined;
|
448
|
+
status?: "active" | "pending" | undefined;
|
449
|
+
apiKey?: string | undefined;
|
450
|
+
} | undefined;
|
363
451
|
vonageCredentials?: {
|
364
|
-
mobileNumber: string;
|
365
452
|
apiKey: string;
|
453
|
+
mobileNumber: string;
|
366
454
|
apiSecret: string;
|
367
455
|
} | undefined;
|
368
456
|
lineRichMenuId?: string | null | undefined;
|
@@ -427,7 +515,7 @@ export declare const platformWebchatContract: {
|
|
427
515
|
id: z.ZodOptional<z.ZodString>;
|
428
516
|
message: z.ZodOptional<z.ZodString>;
|
429
517
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
430
|
-
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"]>;
|
518
|
+
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"]>;
|
431
519
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
432
520
|
metadata: z.ZodOptional<z.ZodAny>;
|
433
521
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -483,7 +571,7 @@ export declare const platformWebchatContract: {
|
|
483
571
|
editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
|
484
572
|
label: z.ZodOptional<z.ZodString>;
|
485
573
|
}, "strip", z.ZodTypeAny, {
|
486
|
-
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";
|
574
|
+
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";
|
487
575
|
direction: "incoming" | "outgoing" | "system";
|
488
576
|
id?: string | undefined;
|
489
577
|
message?: string | undefined;
|
@@ -518,7 +606,7 @@ export declare const platformWebchatContract: {
|
|
518
606
|
editedAt?: string | Date | null | undefined;
|
519
607
|
label?: string | undefined;
|
520
608
|
}, {
|
521
|
-
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";
|
609
|
+
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";
|
522
610
|
direction: "incoming" | "outgoing" | "system";
|
523
611
|
id?: string | undefined;
|
524
612
|
message?: string | undefined;
|
@@ -555,7 +643,7 @@ export declare const platformWebchatContract: {
|
|
555
643
|
}>;
|
556
644
|
}, "strip", z.ZodTypeAny, {
|
557
645
|
message: {
|
558
|
-
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";
|
646
|
+
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";
|
559
647
|
direction: "incoming" | "outgoing" | "system";
|
560
648
|
id?: string | undefined;
|
561
649
|
message?: string | undefined;
|
@@ -603,9 +691,19 @@ export declare const platformWebchatContract: {
|
|
603
691
|
channelSecret?: string | undefined;
|
604
692
|
additionalCredentials?: any;
|
605
693
|
senderId?: string | undefined;
|
694
|
+
whatsapp?: {
|
695
|
+
email: string;
|
696
|
+
wabaExternalId: string;
|
697
|
+
phoneNumberId: string;
|
698
|
+
wabaBusinessId?: string | undefined;
|
699
|
+
clientId?: string | undefined;
|
700
|
+
channelId?: string | undefined;
|
701
|
+
status?: "active" | "pending" | undefined;
|
702
|
+
apiKey?: string | undefined;
|
703
|
+
} | undefined;
|
606
704
|
vonageCredentials?: {
|
607
|
-
mobileNumber: string;
|
608
705
|
apiKey: string;
|
706
|
+
mobileNumber: string;
|
609
707
|
apiSecret: string;
|
610
708
|
} | undefined;
|
611
709
|
lineRichMenuId?: string | null | undefined;
|
@@ -669,7 +767,7 @@ export declare const platformWebchatContract: {
|
|
669
767
|
isBot: boolean | null;
|
670
768
|
}, {
|
671
769
|
message: {
|
672
|
-
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";
|
770
|
+
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";
|
673
771
|
direction: "incoming" | "outgoing" | "system";
|
674
772
|
id?: string | undefined;
|
675
773
|
message?: string | undefined;
|
@@ -717,9 +815,19 @@ export declare const platformWebchatContract: {
|
|
717
815
|
channelSecret?: string | undefined;
|
718
816
|
additionalCredentials?: any;
|
719
817
|
senderId?: string | undefined;
|
818
|
+
whatsapp?: {
|
819
|
+
email: string;
|
820
|
+
wabaExternalId: string;
|
821
|
+
phoneNumberId: string;
|
822
|
+
wabaBusinessId?: string | undefined;
|
823
|
+
clientId?: string | undefined;
|
824
|
+
channelId?: string | undefined;
|
825
|
+
status?: "active" | "pending" | undefined;
|
826
|
+
apiKey?: string | undefined;
|
827
|
+
} | undefined;
|
720
828
|
vonageCredentials?: {
|
721
|
-
mobileNumber: string;
|
722
829
|
apiKey: string;
|
830
|
+
mobileNumber: string;
|
723
831
|
apiSecret: string;
|
724
832
|
} | undefined;
|
725
833
|
lineRichMenuId?: string | null | undefined;
|
@@ -787,7 +895,7 @@ export declare const platformWebchatContract: {
|
|
787
895
|
200: z.ZodObject<{
|
788
896
|
requestId: z.ZodString;
|
789
897
|
data: z.ZodObject<{
|
790
|
-
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"]>;
|
898
|
+
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"]>;
|
791
899
|
message: z.ZodString;
|
792
900
|
id: z.ZodString;
|
793
901
|
url: z.ZodString;
|
@@ -2726,17 +2834,45 @@ export declare const platformWebchatContract: {
|
|
2726
2834
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2727
2835
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2728
2836
|
senderId: z.ZodOptional<z.ZodString>;
|
2837
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
2838
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
2839
|
+
wabaExternalId: z.ZodString;
|
2840
|
+
phoneNumberId: z.ZodString;
|
2841
|
+
email: z.ZodString;
|
2842
|
+
clientId: z.ZodOptional<z.ZodString>;
|
2843
|
+
channelId: z.ZodOptional<z.ZodString>;
|
2844
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
2845
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
2846
|
+
}, "strip", z.ZodTypeAny, {
|
2847
|
+
email: string;
|
2848
|
+
wabaExternalId: string;
|
2849
|
+
phoneNumberId: string;
|
2850
|
+
wabaBusinessId?: string | undefined;
|
2851
|
+
clientId?: string | undefined;
|
2852
|
+
channelId?: string | undefined;
|
2853
|
+
status?: "active" | "pending" | undefined;
|
2854
|
+
apiKey?: string | undefined;
|
2855
|
+
}, {
|
2856
|
+
email: string;
|
2857
|
+
wabaExternalId: string;
|
2858
|
+
phoneNumberId: string;
|
2859
|
+
wabaBusinessId?: string | undefined;
|
2860
|
+
clientId?: string | undefined;
|
2861
|
+
channelId?: string | undefined;
|
2862
|
+
status?: "active" | "pending" | undefined;
|
2863
|
+
apiKey?: string | undefined;
|
2864
|
+
}>>;
|
2729
2865
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
2730
2866
|
mobileNumber: z.ZodString;
|
2731
2867
|
apiKey: z.ZodString;
|
2732
2868
|
apiSecret: z.ZodString;
|
2733
2869
|
}, "strip", z.ZodTypeAny, {
|
2734
|
-
mobileNumber: string;
|
2735
2870
|
apiKey: string;
|
2871
|
+
mobileNumber: string;
|
2736
2872
|
apiSecret: string;
|
2737
2873
|
}, {
|
2738
|
-
mobileNumber: string;
|
2739
2874
|
apiKey: string;
|
2875
|
+
mobileNumber: string;
|
2740
2876
|
apiSecret: string;
|
2741
2877
|
}>>;
|
2742
2878
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -2748,9 +2884,19 @@ export declare const platformWebchatContract: {
|
|
2748
2884
|
channelSecret?: string | undefined;
|
2749
2885
|
additionalCredentials?: any;
|
2750
2886
|
senderId?: string | undefined;
|
2887
|
+
whatsapp?: {
|
2888
|
+
email: string;
|
2889
|
+
wabaExternalId: string;
|
2890
|
+
phoneNumberId: string;
|
2891
|
+
wabaBusinessId?: string | undefined;
|
2892
|
+
clientId?: string | undefined;
|
2893
|
+
channelId?: string | undefined;
|
2894
|
+
status?: "active" | "pending" | undefined;
|
2895
|
+
apiKey?: string | undefined;
|
2896
|
+
} | undefined;
|
2751
2897
|
vonageCredentials?: {
|
2752
|
-
mobileNumber: string;
|
2753
2898
|
apiKey: string;
|
2899
|
+
mobileNumber: string;
|
2754
2900
|
apiSecret: string;
|
2755
2901
|
} | undefined;
|
2756
2902
|
lineRichMenuId?: string | null | undefined;
|
@@ -2762,9 +2908,19 @@ export declare const platformWebchatContract: {
|
|
2762
2908
|
channelSecret?: string | undefined;
|
2763
2909
|
additionalCredentials?: any;
|
2764
2910
|
senderId?: string | undefined;
|
2911
|
+
whatsapp?: {
|
2912
|
+
email: string;
|
2913
|
+
wabaExternalId: string;
|
2914
|
+
phoneNumberId: string;
|
2915
|
+
wabaBusinessId?: string | undefined;
|
2916
|
+
clientId?: string | undefined;
|
2917
|
+
channelId?: string | undefined;
|
2918
|
+
status?: "active" | "pending" | undefined;
|
2919
|
+
apiKey?: string | undefined;
|
2920
|
+
} | undefined;
|
2765
2921
|
vonageCredentials?: {
|
2766
|
-
mobileNumber: string;
|
2767
2922
|
apiKey: string;
|
2923
|
+
mobileNumber: string;
|
2768
2924
|
apiSecret: string;
|
2769
2925
|
} | undefined;
|
2770
2926
|
lineRichMenuId?: string | null | undefined;
|
@@ -3010,9 +3166,19 @@ export declare const platformWebchatContract: {
|
|
3010
3166
|
channelSecret?: string | undefined;
|
3011
3167
|
additionalCredentials?: any;
|
3012
3168
|
senderId?: string | undefined;
|
3169
|
+
whatsapp?: {
|
3170
|
+
email: string;
|
3171
|
+
wabaExternalId: string;
|
3172
|
+
phoneNumberId: string;
|
3173
|
+
wabaBusinessId?: string | undefined;
|
3174
|
+
clientId?: string | undefined;
|
3175
|
+
channelId?: string | undefined;
|
3176
|
+
status?: "active" | "pending" | undefined;
|
3177
|
+
apiKey?: string | undefined;
|
3178
|
+
} | undefined;
|
3013
3179
|
vonageCredentials?: {
|
3014
|
-
mobileNumber: string;
|
3015
3180
|
apiKey: string;
|
3181
|
+
mobileNumber: string;
|
3016
3182
|
apiSecret: string;
|
3017
3183
|
} | undefined;
|
3018
3184
|
lineRichMenuId?: string | null | undefined;
|
@@ -3089,9 +3255,19 @@ export declare const platformWebchatContract: {
|
|
3089
3255
|
channelSecret?: string | undefined;
|
3090
3256
|
additionalCredentials?: any;
|
3091
3257
|
senderId?: string | undefined;
|
3258
|
+
whatsapp?: {
|
3259
|
+
email: string;
|
3260
|
+
wabaExternalId: string;
|
3261
|
+
phoneNumberId: string;
|
3262
|
+
wabaBusinessId?: string | undefined;
|
3263
|
+
clientId?: string | undefined;
|
3264
|
+
channelId?: string | undefined;
|
3265
|
+
status?: "active" | "pending" | undefined;
|
3266
|
+
apiKey?: string | undefined;
|
3267
|
+
} | undefined;
|
3092
3268
|
vonageCredentials?: {
|
3093
|
-
mobileNumber: string;
|
3094
3269
|
apiKey: string;
|
3270
|
+
mobileNumber: string;
|
3095
3271
|
apiSecret: string;
|
3096
3272
|
} | undefined;
|
3097
3273
|
lineRichMenuId?: string | null | undefined;
|
@@ -3616,9 +3792,19 @@ export declare const platformWebchatContract: {
|
|
3616
3792
|
channelSecret?: string | undefined;
|
3617
3793
|
additionalCredentials?: any;
|
3618
3794
|
senderId?: string | undefined;
|
3795
|
+
whatsapp?: {
|
3796
|
+
email: string;
|
3797
|
+
wabaExternalId: string;
|
3798
|
+
phoneNumberId: string;
|
3799
|
+
wabaBusinessId?: string | undefined;
|
3800
|
+
clientId?: string | undefined;
|
3801
|
+
channelId?: string | undefined;
|
3802
|
+
status?: "active" | "pending" | undefined;
|
3803
|
+
apiKey?: string | undefined;
|
3804
|
+
} | undefined;
|
3619
3805
|
vonageCredentials?: {
|
3620
|
-
mobileNumber: string;
|
3621
3806
|
apiKey: string;
|
3807
|
+
mobileNumber: string;
|
3622
3808
|
apiSecret: string;
|
3623
3809
|
} | undefined;
|
3624
3810
|
lineRichMenuId?: string | null | undefined;
|
@@ -4006,9 +4192,19 @@ export declare const platformWebchatContract: {
|
|
4006
4192
|
channelSecret?: string | undefined;
|
4007
4193
|
additionalCredentials?: any;
|
4008
4194
|
senderId?: string | undefined;
|
4195
|
+
whatsapp?: {
|
4196
|
+
email: string;
|
4197
|
+
wabaExternalId: string;
|
4198
|
+
phoneNumberId: string;
|
4199
|
+
wabaBusinessId?: string | undefined;
|
4200
|
+
clientId?: string | undefined;
|
4201
|
+
channelId?: string | undefined;
|
4202
|
+
status?: "active" | "pending" | undefined;
|
4203
|
+
apiKey?: string | undefined;
|
4204
|
+
} | undefined;
|
4009
4205
|
vonageCredentials?: {
|
4010
|
-
mobileNumber: string;
|
4011
4206
|
apiKey: string;
|
4207
|
+
mobileNumber: string;
|
4012
4208
|
apiSecret: string;
|
4013
4209
|
} | undefined;
|
4014
4210
|
lineRichMenuId?: string | null | undefined;
|
@@ -4422,7 +4618,7 @@ export declare const platformWebchatContract: {
|
|
4422
4618
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4423
4619
|
message: z.ZodString;
|
4424
4620
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4425
|
-
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"]>;
|
4621
|
+
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"]>;
|
4426
4622
|
readAt: z.ZodDate;
|
4427
4623
|
metadata: z.ZodAny;
|
4428
4624
|
platformId: z.ZodString;
|
@@ -5080,7 +5276,7 @@ export declare const platformWebchatContract: {
|
|
5080
5276
|
};
|
5081
5277
|
}>;
|
5082
5278
|
}, "strip", z.ZodTypeAny, {
|
5083
|
-
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";
|
5279
|
+
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";
|
5084
5280
|
message: string;
|
5085
5281
|
id: string;
|
5086
5282
|
url: string;
|
@@ -5242,7 +5438,7 @@ export declare const platformWebchatContract: {
|
|
5242
5438
|
metadata?: any;
|
5243
5439
|
template?: any;
|
5244
5440
|
}, {
|
5245
|
-
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";
|
5441
|
+
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";
|
5246
5442
|
message: string;
|
5247
5443
|
id: string;
|
5248
5444
|
url: string;
|
@@ -5616,7 +5812,7 @@ export declare const platformWebchatContract: {
|
|
5616
5812
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5617
5813
|
message: z.ZodString;
|
5618
5814
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5619
|
-
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"]>;
|
5815
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
5620
5816
|
readAt: z.ZodDate;
|
5621
5817
|
metadata: z.ZodAny;
|
5622
5818
|
platformId: z.ZodString;
|
@@ -7112,17 +7308,45 @@ export declare const platformWebchatContract: {
|
|
7112
7308
|
channelSecret: z.ZodOptional<z.ZodString>;
|
7113
7309
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
7114
7310
|
senderId: z.ZodOptional<z.ZodString>;
|
7311
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
7312
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
7313
|
+
wabaExternalId: z.ZodString;
|
7314
|
+
phoneNumberId: z.ZodString;
|
7315
|
+
email: z.ZodString;
|
7316
|
+
clientId: z.ZodOptional<z.ZodString>;
|
7317
|
+
channelId: z.ZodOptional<z.ZodString>;
|
7318
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
7319
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
7320
|
+
}, "strip", z.ZodTypeAny, {
|
7321
|
+
email: string;
|
7322
|
+
wabaExternalId: string;
|
7323
|
+
phoneNumberId: string;
|
7324
|
+
wabaBusinessId?: string | undefined;
|
7325
|
+
clientId?: string | undefined;
|
7326
|
+
channelId?: string | undefined;
|
7327
|
+
status?: "active" | "pending" | undefined;
|
7328
|
+
apiKey?: string | undefined;
|
7329
|
+
}, {
|
7330
|
+
email: string;
|
7331
|
+
wabaExternalId: string;
|
7332
|
+
phoneNumberId: string;
|
7333
|
+
wabaBusinessId?: string | undefined;
|
7334
|
+
clientId?: string | undefined;
|
7335
|
+
channelId?: string | undefined;
|
7336
|
+
status?: "active" | "pending" | undefined;
|
7337
|
+
apiKey?: string | undefined;
|
7338
|
+
}>>;
|
7115
7339
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
7116
7340
|
mobileNumber: z.ZodString;
|
7117
7341
|
apiKey: z.ZodString;
|
7118
7342
|
apiSecret: z.ZodString;
|
7119
7343
|
}, "strip", z.ZodTypeAny, {
|
7120
|
-
mobileNumber: string;
|
7121
7344
|
apiKey: string;
|
7345
|
+
mobileNumber: string;
|
7122
7346
|
apiSecret: string;
|
7123
7347
|
}, {
|
7124
|
-
mobileNumber: string;
|
7125
7348
|
apiKey: string;
|
7349
|
+
mobileNumber: string;
|
7126
7350
|
apiSecret: string;
|
7127
7351
|
}>>;
|
7128
7352
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -7134,9 +7358,19 @@ export declare const platformWebchatContract: {
|
|
7134
7358
|
channelSecret?: string | undefined;
|
7135
7359
|
additionalCredentials?: any;
|
7136
7360
|
senderId?: string | undefined;
|
7361
|
+
whatsapp?: {
|
7362
|
+
email: string;
|
7363
|
+
wabaExternalId: string;
|
7364
|
+
phoneNumberId: string;
|
7365
|
+
wabaBusinessId?: string | undefined;
|
7366
|
+
clientId?: string | undefined;
|
7367
|
+
channelId?: string | undefined;
|
7368
|
+
status?: "active" | "pending" | undefined;
|
7369
|
+
apiKey?: string | undefined;
|
7370
|
+
} | undefined;
|
7137
7371
|
vonageCredentials?: {
|
7138
|
-
mobileNumber: string;
|
7139
7372
|
apiKey: string;
|
7373
|
+
mobileNumber: string;
|
7140
7374
|
apiSecret: string;
|
7141
7375
|
} | undefined;
|
7142
7376
|
lineRichMenuId?: string | null | undefined;
|
@@ -7148,9 +7382,19 @@ export declare const platformWebchatContract: {
|
|
7148
7382
|
channelSecret?: string | undefined;
|
7149
7383
|
additionalCredentials?: any;
|
7150
7384
|
senderId?: string | undefined;
|
7385
|
+
whatsapp?: {
|
7386
|
+
email: string;
|
7387
|
+
wabaExternalId: string;
|
7388
|
+
phoneNumberId: string;
|
7389
|
+
wabaBusinessId?: string | undefined;
|
7390
|
+
clientId?: string | undefined;
|
7391
|
+
channelId?: string | undefined;
|
7392
|
+
status?: "active" | "pending" | undefined;
|
7393
|
+
apiKey?: string | undefined;
|
7394
|
+
} | undefined;
|
7151
7395
|
vonageCredentials?: {
|
7152
|
-
mobileNumber: string;
|
7153
7396
|
apiKey: string;
|
7397
|
+
mobileNumber: string;
|
7154
7398
|
apiSecret: string;
|
7155
7399
|
} | undefined;
|
7156
7400
|
lineRichMenuId?: string | null | undefined;
|
@@ -7396,9 +7640,19 @@ export declare const platformWebchatContract: {
|
|
7396
7640
|
channelSecret?: string | undefined;
|
7397
7641
|
additionalCredentials?: any;
|
7398
7642
|
senderId?: string | undefined;
|
7643
|
+
whatsapp?: {
|
7644
|
+
email: string;
|
7645
|
+
wabaExternalId: string;
|
7646
|
+
phoneNumberId: string;
|
7647
|
+
wabaBusinessId?: string | undefined;
|
7648
|
+
clientId?: string | undefined;
|
7649
|
+
channelId?: string | undefined;
|
7650
|
+
status?: "active" | "pending" | undefined;
|
7651
|
+
apiKey?: string | undefined;
|
7652
|
+
} | undefined;
|
7399
7653
|
vonageCredentials?: {
|
7400
|
-
mobileNumber: string;
|
7401
7654
|
apiKey: string;
|
7655
|
+
mobileNumber: string;
|
7402
7656
|
apiSecret: string;
|
7403
7657
|
} | undefined;
|
7404
7658
|
lineRichMenuId?: string | null | undefined;
|
@@ -7475,9 +7729,19 @@ export declare const platformWebchatContract: {
|
|
7475
7729
|
channelSecret?: string | undefined;
|
7476
7730
|
additionalCredentials?: any;
|
7477
7731
|
senderId?: string | undefined;
|
7732
|
+
whatsapp?: {
|
7733
|
+
email: string;
|
7734
|
+
wabaExternalId: string;
|
7735
|
+
phoneNumberId: string;
|
7736
|
+
wabaBusinessId?: string | undefined;
|
7737
|
+
clientId?: string | undefined;
|
7738
|
+
channelId?: string | undefined;
|
7739
|
+
status?: "active" | "pending" | undefined;
|
7740
|
+
apiKey?: string | undefined;
|
7741
|
+
} | undefined;
|
7478
7742
|
vonageCredentials?: {
|
7479
|
-
mobileNumber: string;
|
7480
7743
|
apiKey: string;
|
7744
|
+
mobileNumber: string;
|
7481
7745
|
apiSecret: string;
|
7482
7746
|
} | undefined;
|
7483
7747
|
lineRichMenuId?: string | null | undefined;
|
@@ -8002,9 +8266,19 @@ export declare const platformWebchatContract: {
|
|
8002
8266
|
channelSecret?: string | undefined;
|
8003
8267
|
additionalCredentials?: any;
|
8004
8268
|
senderId?: string | undefined;
|
8269
|
+
whatsapp?: {
|
8270
|
+
email: string;
|
8271
|
+
wabaExternalId: string;
|
8272
|
+
phoneNumberId: string;
|
8273
|
+
wabaBusinessId?: string | undefined;
|
8274
|
+
clientId?: string | undefined;
|
8275
|
+
channelId?: string | undefined;
|
8276
|
+
status?: "active" | "pending" | undefined;
|
8277
|
+
apiKey?: string | undefined;
|
8278
|
+
} | undefined;
|
8005
8279
|
vonageCredentials?: {
|
8006
|
-
mobileNumber: string;
|
8007
8280
|
apiKey: string;
|
8281
|
+
mobileNumber: string;
|
8008
8282
|
apiSecret: string;
|
8009
8283
|
} | undefined;
|
8010
8284
|
lineRichMenuId?: string | null | undefined;
|
@@ -8392,9 +8666,19 @@ export declare const platformWebchatContract: {
|
|
8392
8666
|
channelSecret?: string | undefined;
|
8393
8667
|
additionalCredentials?: any;
|
8394
8668
|
senderId?: string | undefined;
|
8669
|
+
whatsapp?: {
|
8670
|
+
email: string;
|
8671
|
+
wabaExternalId: string;
|
8672
|
+
phoneNumberId: string;
|
8673
|
+
wabaBusinessId?: string | undefined;
|
8674
|
+
clientId?: string | undefined;
|
8675
|
+
channelId?: string | undefined;
|
8676
|
+
status?: "active" | "pending" | undefined;
|
8677
|
+
apiKey?: string | undefined;
|
8678
|
+
} | undefined;
|
8395
8679
|
vonageCredentials?: {
|
8396
|
-
mobileNumber: string;
|
8397
8680
|
apiKey: string;
|
8681
|
+
mobileNumber: string;
|
8398
8682
|
apiSecret: string;
|
8399
8683
|
} | undefined;
|
8400
8684
|
lineRichMenuId?: string | null | undefined;
|
@@ -8811,7 +9095,7 @@ export declare const platformWebchatContract: {
|
|
8811
9095
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8812
9096
|
message: z.ZodString;
|
8813
9097
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8814
|
-
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"]>;
|
9098
|
+
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"]>;
|
8815
9099
|
readAt: z.ZodDate;
|
8816
9100
|
metadata: z.ZodAny;
|
8817
9101
|
platformId: z.ZodString;
|
@@ -9469,7 +9753,7 @@ export declare const platformWebchatContract: {
|
|
9469
9753
|
};
|
9470
9754
|
}>;
|
9471
9755
|
}, "strip", z.ZodTypeAny, {
|
9472
|
-
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";
|
9756
|
+
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";
|
9473
9757
|
message: string;
|
9474
9758
|
id: string;
|
9475
9759
|
url: string;
|
@@ -9631,7 +9915,7 @@ export declare const platformWebchatContract: {
|
|
9631
9915
|
metadata?: any;
|
9632
9916
|
template?: any;
|
9633
9917
|
}, {
|
9634
|
-
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";
|
9918
|
+
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";
|
9635
9919
|
message: string;
|
9636
9920
|
id: string;
|
9637
9921
|
url: string;
|
@@ -10433,7 +10717,7 @@ export declare const platformWebchatContract: {
|
|
10433
10717
|
editedMessageid: z.ZodString;
|
10434
10718
|
label: z.ZodOptional<z.ZodString>;
|
10435
10719
|
}, "strip", z.ZodTypeAny, {
|
10436
|
-
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";
|
10720
|
+
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";
|
10437
10721
|
message: string;
|
10438
10722
|
id: string;
|
10439
10723
|
url: string;
|
@@ -10555,9 +10839,19 @@ export declare const platformWebchatContract: {
|
|
10555
10839
|
channelSecret?: string | undefined;
|
10556
10840
|
additionalCredentials?: any;
|
10557
10841
|
senderId?: string | undefined;
|
10842
|
+
whatsapp?: {
|
10843
|
+
email: string;
|
10844
|
+
wabaExternalId: string;
|
10845
|
+
phoneNumberId: string;
|
10846
|
+
wabaBusinessId?: string | undefined;
|
10847
|
+
clientId?: string | undefined;
|
10848
|
+
channelId?: string | undefined;
|
10849
|
+
status?: "active" | "pending" | undefined;
|
10850
|
+
apiKey?: string | undefined;
|
10851
|
+
} | undefined;
|
10558
10852
|
vonageCredentials?: {
|
10559
|
-
mobileNumber: string;
|
10560
10853
|
apiKey: string;
|
10854
|
+
mobileNumber: string;
|
10561
10855
|
apiSecret: string;
|
10562
10856
|
} | undefined;
|
10563
10857
|
lineRichMenuId?: string | null | undefined;
|
@@ -10949,7 +11243,7 @@ export declare const platformWebchatContract: {
|
|
10949
11243
|
previewUrl: string;
|
10950
11244
|
imageSetId: string;
|
10951
11245
|
repliedMessage: {
|
10952
|
-
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";
|
11246
|
+
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";
|
10953
11247
|
message: string;
|
10954
11248
|
id: string;
|
10955
11249
|
url: string;
|
@@ -11160,7 +11454,7 @@ export declare const platformWebchatContract: {
|
|
11160
11454
|
template?: any;
|
11161
11455
|
label?: string | undefined;
|
11162
11456
|
}, {
|
11163
|
-
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";
|
11457
|
+
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";
|
11164
11458
|
message: string;
|
11165
11459
|
id: string;
|
11166
11460
|
url: string;
|
@@ -11282,9 +11576,19 @@ export declare const platformWebchatContract: {
|
|
11282
11576
|
channelSecret?: string | undefined;
|
11283
11577
|
additionalCredentials?: any;
|
11284
11578
|
senderId?: string | undefined;
|
11579
|
+
whatsapp?: {
|
11580
|
+
email: string;
|
11581
|
+
wabaExternalId: string;
|
11582
|
+
phoneNumberId: string;
|
11583
|
+
wabaBusinessId?: string | undefined;
|
11584
|
+
clientId?: string | undefined;
|
11585
|
+
channelId?: string | undefined;
|
11586
|
+
status?: "active" | "pending" | undefined;
|
11587
|
+
apiKey?: string | undefined;
|
11588
|
+
} | undefined;
|
11285
11589
|
vonageCredentials?: {
|
11286
|
-
mobileNumber: string;
|
11287
11590
|
apiKey: string;
|
11591
|
+
mobileNumber: string;
|
11288
11592
|
apiSecret: string;
|
11289
11593
|
} | undefined;
|
11290
11594
|
lineRichMenuId?: string | null | undefined;
|
@@ -11676,7 +11980,7 @@ export declare const platformWebchatContract: {
|
|
11676
11980
|
previewUrl: string;
|
11677
11981
|
imageSetId: string;
|
11678
11982
|
repliedMessage: {
|
11679
|
-
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";
|
11983
|
+
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";
|
11680
11984
|
message: string;
|
11681
11985
|
id: string;
|
11682
11986
|
url: string;
|
@@ -11888,7 +12192,7 @@ export declare const platformWebchatContract: {
|
|
11888
12192
|
label?: string | undefined;
|
11889
12193
|
}>>>;
|
11890
12194
|
}, "strip", z.ZodTypeAny, {
|
11891
|
-
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";
|
12195
|
+
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";
|
11892
12196
|
message: string;
|
11893
12197
|
id: string;
|
11894
12198
|
url: string;
|
@@ -12010,9 +12314,19 @@ export declare const platformWebchatContract: {
|
|
12010
12314
|
channelSecret?: string | undefined;
|
12011
12315
|
additionalCredentials?: any;
|
12012
12316
|
senderId?: string | undefined;
|
12317
|
+
whatsapp?: {
|
12318
|
+
email: string;
|
12319
|
+
wabaExternalId: string;
|
12320
|
+
phoneNumberId: string;
|
12321
|
+
wabaBusinessId?: string | undefined;
|
12322
|
+
clientId?: string | undefined;
|
12323
|
+
channelId?: string | undefined;
|
12324
|
+
status?: "active" | "pending" | undefined;
|
12325
|
+
apiKey?: string | undefined;
|
12326
|
+
} | undefined;
|
12013
12327
|
vonageCredentials?: {
|
12014
|
-
mobileNumber: string;
|
12015
12328
|
apiKey: string;
|
12329
|
+
mobileNumber: string;
|
12016
12330
|
apiSecret: string;
|
12017
12331
|
} | undefined;
|
12018
12332
|
lineRichMenuId?: string | null | undefined;
|
@@ -12404,7 +12718,7 @@ export declare const platformWebchatContract: {
|
|
12404
12718
|
previewUrl: string;
|
12405
12719
|
imageSetId: string;
|
12406
12720
|
repliedMessage: {
|
12407
|
-
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";
|
12721
|
+
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";
|
12408
12722
|
message: string;
|
12409
12723
|
id: string;
|
12410
12724
|
url: string;
|
@@ -12615,7 +12929,7 @@ export declare const platformWebchatContract: {
|
|
12615
12929
|
template?: any;
|
12616
12930
|
metadata?: any;
|
12617
12931
|
fromMessage?: {
|
12618
|
-
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";
|
12932
|
+
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";
|
12619
12933
|
message: string;
|
12620
12934
|
id: string;
|
12621
12935
|
url: string;
|
@@ -12737,9 +13051,19 @@ export declare const platformWebchatContract: {
|
|
12737
13051
|
channelSecret?: string | undefined;
|
12738
13052
|
additionalCredentials?: any;
|
12739
13053
|
senderId?: string | undefined;
|
13054
|
+
whatsapp?: {
|
13055
|
+
email: string;
|
13056
|
+
wabaExternalId: string;
|
13057
|
+
phoneNumberId: string;
|
13058
|
+
wabaBusinessId?: string | undefined;
|
13059
|
+
clientId?: string | undefined;
|
13060
|
+
channelId?: string | undefined;
|
13061
|
+
status?: "active" | "pending" | undefined;
|
13062
|
+
apiKey?: string | undefined;
|
13063
|
+
} | undefined;
|
12740
13064
|
vonageCredentials?: {
|
12741
|
-
mobileNumber: string;
|
12742
13065
|
apiKey: string;
|
13066
|
+
mobileNumber: string;
|
12743
13067
|
apiSecret: string;
|
12744
13068
|
} | undefined;
|
12745
13069
|
lineRichMenuId?: string | null | undefined;
|
@@ -13131,7 +13455,7 @@ export declare const platformWebchatContract: {
|
|
13131
13455
|
previewUrl: string;
|
13132
13456
|
imageSetId: string;
|
13133
13457
|
repliedMessage: {
|
13134
|
-
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";
|
13458
|
+
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";
|
13135
13459
|
message: string;
|
13136
13460
|
id: string;
|
13137
13461
|
url: string;
|
@@ -13343,7 +13667,7 @@ export declare const platformWebchatContract: {
|
|
13343
13667
|
label?: string | undefined;
|
13344
13668
|
} | null | undefined;
|
13345
13669
|
}, {
|
13346
|
-
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";
|
13670
|
+
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";
|
13347
13671
|
message: string;
|
13348
13672
|
id: string;
|
13349
13673
|
url: string;
|
@@ -13465,9 +13789,19 @@ export declare const platformWebchatContract: {
|
|
13465
13789
|
channelSecret?: string | undefined;
|
13466
13790
|
additionalCredentials?: any;
|
13467
13791
|
senderId?: string | undefined;
|
13792
|
+
whatsapp?: {
|
13793
|
+
email: string;
|
13794
|
+
wabaExternalId: string;
|
13795
|
+
phoneNumberId: string;
|
13796
|
+
wabaBusinessId?: string | undefined;
|
13797
|
+
clientId?: string | undefined;
|
13798
|
+
channelId?: string | undefined;
|
13799
|
+
status?: "active" | "pending" | undefined;
|
13800
|
+
apiKey?: string | undefined;
|
13801
|
+
} | undefined;
|
13468
13802
|
vonageCredentials?: {
|
13469
|
-
mobileNumber: string;
|
13470
13803
|
apiKey: string;
|
13804
|
+
mobileNumber: string;
|
13471
13805
|
apiSecret: string;
|
13472
13806
|
} | undefined;
|
13473
13807
|
lineRichMenuId?: string | null | undefined;
|
@@ -13859,7 +14193,7 @@ export declare const platformWebchatContract: {
|
|
13859
14193
|
previewUrl: string;
|
13860
14194
|
imageSetId: string;
|
13861
14195
|
repliedMessage: {
|
13862
|
-
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";
|
14196
|
+
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";
|
13863
14197
|
message: string;
|
13864
14198
|
id: string;
|
13865
14199
|
url: string;
|
@@ -14070,7 +14404,7 @@ export declare const platformWebchatContract: {
|
|
14070
14404
|
template?: any;
|
14071
14405
|
metadata?: any;
|
14072
14406
|
fromMessage?: {
|
14073
|
-
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";
|
14407
|
+
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";
|
14074
14408
|
message: string;
|
14075
14409
|
id: string;
|
14076
14410
|
url: string;
|
@@ -14192,9 +14526,19 @@ export declare const platformWebchatContract: {
|
|
14192
14526
|
channelSecret?: string | undefined;
|
14193
14527
|
additionalCredentials?: any;
|
14194
14528
|
senderId?: string | undefined;
|
14529
|
+
whatsapp?: {
|
14530
|
+
email: string;
|
14531
|
+
wabaExternalId: string;
|
14532
|
+
phoneNumberId: string;
|
14533
|
+
wabaBusinessId?: string | undefined;
|
14534
|
+
clientId?: string | undefined;
|
14535
|
+
channelId?: string | undefined;
|
14536
|
+
status?: "active" | "pending" | undefined;
|
14537
|
+
apiKey?: string | undefined;
|
14538
|
+
} | undefined;
|
14195
14539
|
vonageCredentials?: {
|
14196
|
-
mobileNumber: string;
|
14197
14540
|
apiKey: string;
|
14541
|
+
mobileNumber: string;
|
14198
14542
|
apiSecret: string;
|
14199
14543
|
} | undefined;
|
14200
14544
|
lineRichMenuId?: string | null | undefined;
|
@@ -14586,7 +14930,7 @@ export declare const platformWebchatContract: {
|
|
14586
14930
|
previewUrl: string;
|
14587
14931
|
imageSetId: string;
|
14588
14932
|
repliedMessage: {
|
14589
|
-
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";
|
14933
|
+
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";
|
14590
14934
|
message: string;
|
14591
14935
|
id: string;
|
14592
14936
|
url: string;
|
@@ -14800,7 +15144,7 @@ export declare const platformWebchatContract: {
|
|
14800
15144
|
}>;
|
14801
15145
|
}, "strip", z.ZodTypeAny, {
|
14802
15146
|
data: {
|
14803
|
-
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";
|
15147
|
+
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";
|
14804
15148
|
message: string;
|
14805
15149
|
id: string;
|
14806
15150
|
url: string;
|
@@ -14922,9 +15266,19 @@ export declare const platformWebchatContract: {
|
|
14922
15266
|
channelSecret?: string | undefined;
|
14923
15267
|
additionalCredentials?: any;
|
14924
15268
|
senderId?: string | undefined;
|
15269
|
+
whatsapp?: {
|
15270
|
+
email: string;
|
15271
|
+
wabaExternalId: string;
|
15272
|
+
phoneNumberId: string;
|
15273
|
+
wabaBusinessId?: string | undefined;
|
15274
|
+
clientId?: string | undefined;
|
15275
|
+
channelId?: string | undefined;
|
15276
|
+
status?: "active" | "pending" | undefined;
|
15277
|
+
apiKey?: string | undefined;
|
15278
|
+
} | undefined;
|
14925
15279
|
vonageCredentials?: {
|
14926
|
-
mobileNumber: string;
|
14927
15280
|
apiKey: string;
|
15281
|
+
mobileNumber: string;
|
14928
15282
|
apiSecret: string;
|
14929
15283
|
} | undefined;
|
14930
15284
|
lineRichMenuId?: string | null | undefined;
|
@@ -15316,7 +15670,7 @@ export declare const platformWebchatContract: {
|
|
15316
15670
|
previewUrl: string;
|
15317
15671
|
imageSetId: string;
|
15318
15672
|
repliedMessage: {
|
15319
|
-
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";
|
15673
|
+
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";
|
15320
15674
|
message: string;
|
15321
15675
|
id: string;
|
15322
15676
|
url: string;
|
@@ -15527,7 +15881,7 @@ export declare const platformWebchatContract: {
|
|
15527
15881
|
template?: any;
|
15528
15882
|
metadata?: any;
|
15529
15883
|
fromMessage?: {
|
15530
|
-
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";
|
15884
|
+
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";
|
15531
15885
|
message: string;
|
15532
15886
|
id: string;
|
15533
15887
|
url: string;
|
@@ -15649,9 +16003,19 @@ export declare const platformWebchatContract: {
|
|
15649
16003
|
channelSecret?: string | undefined;
|
15650
16004
|
additionalCredentials?: any;
|
15651
16005
|
senderId?: string | undefined;
|
16006
|
+
whatsapp?: {
|
16007
|
+
email: string;
|
16008
|
+
wabaExternalId: string;
|
16009
|
+
phoneNumberId: string;
|
16010
|
+
wabaBusinessId?: string | undefined;
|
16011
|
+
clientId?: string | undefined;
|
16012
|
+
channelId?: string | undefined;
|
16013
|
+
status?: "active" | "pending" | undefined;
|
16014
|
+
apiKey?: string | undefined;
|
16015
|
+
} | undefined;
|
15652
16016
|
vonageCredentials?: {
|
15653
|
-
mobileNumber: string;
|
15654
16017
|
apiKey: string;
|
16018
|
+
mobileNumber: string;
|
15655
16019
|
apiSecret: string;
|
15656
16020
|
} | undefined;
|
15657
16021
|
lineRichMenuId?: string | null | undefined;
|
@@ -16043,7 +16407,7 @@ export declare const platformWebchatContract: {
|
|
16043
16407
|
previewUrl: string;
|
16044
16408
|
imageSetId: string;
|
16045
16409
|
repliedMessage: {
|
16046
|
-
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";
|
16410
|
+
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";
|
16047
16411
|
message: string;
|
16048
16412
|
id: string;
|
16049
16413
|
url: string;
|
@@ -16258,7 +16622,7 @@ export declare const platformWebchatContract: {
|
|
16258
16622
|
requestId: string;
|
16259
16623
|
}, {
|
16260
16624
|
data: {
|
16261
|
-
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";
|
16625
|
+
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";
|
16262
16626
|
message: string;
|
16263
16627
|
id: string;
|
16264
16628
|
url: string;
|
@@ -16380,9 +16744,19 @@ export declare const platformWebchatContract: {
|
|
16380
16744
|
channelSecret?: string | undefined;
|
16381
16745
|
additionalCredentials?: any;
|
16382
16746
|
senderId?: string | undefined;
|
16747
|
+
whatsapp?: {
|
16748
|
+
email: string;
|
16749
|
+
wabaExternalId: string;
|
16750
|
+
phoneNumberId: string;
|
16751
|
+
wabaBusinessId?: string | undefined;
|
16752
|
+
clientId?: string | undefined;
|
16753
|
+
channelId?: string | undefined;
|
16754
|
+
status?: "active" | "pending" | undefined;
|
16755
|
+
apiKey?: string | undefined;
|
16756
|
+
} | undefined;
|
16383
16757
|
vonageCredentials?: {
|
16384
|
-
mobileNumber: string;
|
16385
16758
|
apiKey: string;
|
16759
|
+
mobileNumber: string;
|
16386
16760
|
apiSecret: string;
|
16387
16761
|
} | undefined;
|
16388
16762
|
lineRichMenuId?: string | null | undefined;
|
@@ -16774,7 +17148,7 @@ export declare const platformWebchatContract: {
|
|
16774
17148
|
previewUrl: string;
|
16775
17149
|
imageSetId: string;
|
16776
17150
|
repliedMessage: {
|
16777
|
-
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";
|
17151
|
+
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";
|
16778
17152
|
message: string;
|
16779
17153
|
id: string;
|
16780
17154
|
url: string;
|
@@ -16985,7 +17359,7 @@ export declare const platformWebchatContract: {
|
|
16985
17359
|
template?: any;
|
16986
17360
|
metadata?: any;
|
16987
17361
|
fromMessage?: {
|
16988
|
-
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";
|
17362
|
+
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";
|
16989
17363
|
message: string;
|
16990
17364
|
id: string;
|
16991
17365
|
url: string;
|
@@ -17107,9 +17481,19 @@ export declare const platformWebchatContract: {
|
|
17107
17481
|
channelSecret?: string | undefined;
|
17108
17482
|
additionalCredentials?: any;
|
17109
17483
|
senderId?: string | undefined;
|
17484
|
+
whatsapp?: {
|
17485
|
+
email: string;
|
17486
|
+
wabaExternalId: string;
|
17487
|
+
phoneNumberId: string;
|
17488
|
+
wabaBusinessId?: string | undefined;
|
17489
|
+
clientId?: string | undefined;
|
17490
|
+
channelId?: string | undefined;
|
17491
|
+
status?: "active" | "pending" | undefined;
|
17492
|
+
apiKey?: string | undefined;
|
17493
|
+
} | undefined;
|
17110
17494
|
vonageCredentials?: {
|
17111
|
-
mobileNumber: string;
|
17112
17495
|
apiKey: string;
|
17496
|
+
mobileNumber: string;
|
17113
17497
|
apiSecret: string;
|
17114
17498
|
} | undefined;
|
17115
17499
|
lineRichMenuId?: string | null | undefined;
|
@@ -17501,7 +17885,7 @@ export declare const platformWebchatContract: {
|
|
17501
17885
|
previewUrl: string;
|
17502
17886
|
imageSetId: string;
|
17503
17887
|
repliedMessage: {
|
17504
|
-
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";
|
17888
|
+
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";
|
17505
17889
|
message: string;
|
17506
17890
|
id: string;
|
17507
17891
|
url: string;
|
@@ -17851,17 +18235,45 @@ export declare const platformWebchatContract: {
|
|
17851
18235
|
channelSecret: z.ZodOptional<z.ZodString>;
|
17852
18236
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
17853
18237
|
senderId: z.ZodOptional<z.ZodString>;
|
18238
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
18239
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
18240
|
+
wabaExternalId: z.ZodString;
|
18241
|
+
phoneNumberId: z.ZodString;
|
18242
|
+
email: z.ZodString;
|
18243
|
+
clientId: z.ZodOptional<z.ZodString>;
|
18244
|
+
channelId: z.ZodOptional<z.ZodString>;
|
18245
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
18246
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
18247
|
+
}, "strip", z.ZodTypeAny, {
|
18248
|
+
email: string;
|
18249
|
+
wabaExternalId: string;
|
18250
|
+
phoneNumberId: string;
|
18251
|
+
wabaBusinessId?: string | undefined;
|
18252
|
+
clientId?: string | undefined;
|
18253
|
+
channelId?: string | undefined;
|
18254
|
+
status?: "active" | "pending" | undefined;
|
18255
|
+
apiKey?: string | undefined;
|
18256
|
+
}, {
|
18257
|
+
email: string;
|
18258
|
+
wabaExternalId: string;
|
18259
|
+
phoneNumberId: string;
|
18260
|
+
wabaBusinessId?: string | undefined;
|
18261
|
+
clientId?: string | undefined;
|
18262
|
+
channelId?: string | undefined;
|
18263
|
+
status?: "active" | "pending" | undefined;
|
18264
|
+
apiKey?: string | undefined;
|
18265
|
+
}>>;
|
17854
18266
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
17855
18267
|
mobileNumber: z.ZodString;
|
17856
18268
|
apiKey: z.ZodString;
|
17857
18269
|
apiSecret: z.ZodString;
|
17858
18270
|
}, "strip", z.ZodTypeAny, {
|
17859
|
-
mobileNumber: string;
|
17860
18271
|
apiKey: string;
|
18272
|
+
mobileNumber: string;
|
17861
18273
|
apiSecret: string;
|
17862
18274
|
}, {
|
17863
|
-
mobileNumber: string;
|
17864
18275
|
apiKey: string;
|
18276
|
+
mobileNumber: string;
|
17865
18277
|
apiSecret: string;
|
17866
18278
|
}>>;
|
17867
18279
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -17873,9 +18285,19 @@ export declare const platformWebchatContract: {
|
|
17873
18285
|
channelSecret?: string | undefined;
|
17874
18286
|
additionalCredentials?: any;
|
17875
18287
|
senderId?: string | undefined;
|
18288
|
+
whatsapp?: {
|
18289
|
+
email: string;
|
18290
|
+
wabaExternalId: string;
|
18291
|
+
phoneNumberId: string;
|
18292
|
+
wabaBusinessId?: string | undefined;
|
18293
|
+
clientId?: string | undefined;
|
18294
|
+
channelId?: string | undefined;
|
18295
|
+
status?: "active" | "pending" | undefined;
|
18296
|
+
apiKey?: string | undefined;
|
18297
|
+
} | undefined;
|
17876
18298
|
vonageCredentials?: {
|
17877
|
-
mobileNumber: string;
|
17878
18299
|
apiKey: string;
|
18300
|
+
mobileNumber: string;
|
17879
18301
|
apiSecret: string;
|
17880
18302
|
} | undefined;
|
17881
18303
|
lineRichMenuId?: string | null | undefined;
|
@@ -17887,9 +18309,19 @@ export declare const platformWebchatContract: {
|
|
17887
18309
|
channelSecret?: string | undefined;
|
17888
18310
|
additionalCredentials?: any;
|
17889
18311
|
senderId?: string | undefined;
|
18312
|
+
whatsapp?: {
|
18313
|
+
email: string;
|
18314
|
+
wabaExternalId: string;
|
18315
|
+
phoneNumberId: string;
|
18316
|
+
wabaBusinessId?: string | undefined;
|
18317
|
+
clientId?: string | undefined;
|
18318
|
+
channelId?: string | undefined;
|
18319
|
+
status?: "active" | "pending" | undefined;
|
18320
|
+
apiKey?: string | undefined;
|
18321
|
+
} | undefined;
|
17890
18322
|
vonageCredentials?: {
|
17891
|
-
mobileNumber: string;
|
17892
18323
|
apiKey: string;
|
18324
|
+
mobileNumber: string;
|
17893
18325
|
apiSecret: string;
|
17894
18326
|
} | undefined;
|
17895
18327
|
lineRichMenuId?: string | null | undefined;
|
@@ -18135,9 +18567,19 @@ export declare const platformWebchatContract: {
|
|
18135
18567
|
channelSecret?: string | undefined;
|
18136
18568
|
additionalCredentials?: any;
|
18137
18569
|
senderId?: string | undefined;
|
18570
|
+
whatsapp?: {
|
18571
|
+
email: string;
|
18572
|
+
wabaExternalId: string;
|
18573
|
+
phoneNumberId: string;
|
18574
|
+
wabaBusinessId?: string | undefined;
|
18575
|
+
clientId?: string | undefined;
|
18576
|
+
channelId?: string | undefined;
|
18577
|
+
status?: "active" | "pending" | undefined;
|
18578
|
+
apiKey?: string | undefined;
|
18579
|
+
} | undefined;
|
18138
18580
|
vonageCredentials?: {
|
18139
|
-
mobileNumber: string;
|
18140
18581
|
apiKey: string;
|
18582
|
+
mobileNumber: string;
|
18141
18583
|
apiSecret: string;
|
18142
18584
|
} | undefined;
|
18143
18585
|
lineRichMenuId?: string | null | undefined;
|
@@ -18214,9 +18656,19 @@ export declare const platformWebchatContract: {
|
|
18214
18656
|
channelSecret?: string | undefined;
|
18215
18657
|
additionalCredentials?: any;
|
18216
18658
|
senderId?: string | undefined;
|
18659
|
+
whatsapp?: {
|
18660
|
+
email: string;
|
18661
|
+
wabaExternalId: string;
|
18662
|
+
phoneNumberId: string;
|
18663
|
+
wabaBusinessId?: string | undefined;
|
18664
|
+
clientId?: string | undefined;
|
18665
|
+
channelId?: string | undefined;
|
18666
|
+
status?: "active" | "pending" | undefined;
|
18667
|
+
apiKey?: string | undefined;
|
18668
|
+
} | undefined;
|
18217
18669
|
vonageCredentials?: {
|
18218
|
-
mobileNumber: string;
|
18219
18670
|
apiKey: string;
|
18671
|
+
mobileNumber: string;
|
18220
18672
|
apiSecret: string;
|
18221
18673
|
} | undefined;
|
18222
18674
|
lineRichMenuId?: string | null | undefined;
|
@@ -18295,9 +18747,19 @@ export declare const platformWebchatContract: {
|
|
18295
18747
|
channelSecret?: string | undefined;
|
18296
18748
|
additionalCredentials?: any;
|
18297
18749
|
senderId?: string | undefined;
|
18750
|
+
whatsapp?: {
|
18751
|
+
email: string;
|
18752
|
+
wabaExternalId: string;
|
18753
|
+
phoneNumberId: string;
|
18754
|
+
wabaBusinessId?: string | undefined;
|
18755
|
+
clientId?: string | undefined;
|
18756
|
+
channelId?: string | undefined;
|
18757
|
+
status?: "active" | "pending" | undefined;
|
18758
|
+
apiKey?: string | undefined;
|
18759
|
+
} | undefined;
|
18298
18760
|
vonageCredentials?: {
|
18299
|
-
mobileNumber: string;
|
18300
18761
|
apiKey: string;
|
18762
|
+
mobileNumber: string;
|
18301
18763
|
apiSecret: string;
|
18302
18764
|
} | undefined;
|
18303
18765
|
lineRichMenuId?: string | null | undefined;
|
@@ -18377,9 +18839,19 @@ export declare const platformWebchatContract: {
|
|
18377
18839
|
channelSecret?: string | undefined;
|
18378
18840
|
additionalCredentials?: any;
|
18379
18841
|
senderId?: string | undefined;
|
18842
|
+
whatsapp?: {
|
18843
|
+
email: string;
|
18844
|
+
wabaExternalId: string;
|
18845
|
+
phoneNumberId: string;
|
18846
|
+
wabaBusinessId?: string | undefined;
|
18847
|
+
clientId?: string | undefined;
|
18848
|
+
channelId?: string | undefined;
|
18849
|
+
status?: "active" | "pending" | undefined;
|
18850
|
+
apiKey?: string | undefined;
|
18851
|
+
} | undefined;
|
18380
18852
|
vonageCredentials?: {
|
18381
|
-
mobileNumber: string;
|
18382
18853
|
apiKey: string;
|
18854
|
+
mobileNumber: string;
|
18383
18855
|
apiSecret: string;
|
18384
18856
|
} | undefined;
|
18385
18857
|
lineRichMenuId?: string | null | undefined;
|