@kl1/contracts 1.1.53 → 1.1.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2772 -197
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +126 -10
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +240 -10
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +24249 -21551
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +753 -105
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1096 -144
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +35856 -4586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +140 -12
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +118 -10
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +1475 -163
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +99 -11
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/validation.d.ts +74 -6
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +1155 -127
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +1034 -122
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +123 -15
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
  32. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  33. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  34. package/dist/api-contracts/src/messenger/index.d.ts +1155 -127
  35. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/messenger/validation.d.ts +74 -6
  37. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/sms/index.d.ts +225 -29
  39. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/sms/schema.d.ts +6 -6
  41. package/dist/api-contracts/src/sms/validation.d.ts +4 -4
  42. package/dist/api-contracts/src/telegram/index.d.ts +837 -101
  43. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/viber/index.d.ts +837 -101
  45. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/webchat/index.d.ts +549 -77
  47. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/whatsapp/index.d.ts +637 -642
  49. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/workflow-rule/index.d.ts +236 -20
  51. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/entities/src/enums/chat.d.ts +1 -0
  53. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  54. package/dist/index.js +2394 -2240
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +2392 -2240
  57. package/dist/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
6
6
  /**
7
7
  * Message Type Enum
8
8
  */
9
- export declare const MessageTypeSchema: 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"]>;
9
+ export declare const MessageTypeSchema: 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"]>;
10
10
  export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
11
11
  /**
12
12
  * Message Type Enum
@@ -2569,17 +2569,45 @@ export declare const RoomSchema: z.ZodObject<{
2569
2569
  channelSecret: z.ZodOptional<z.ZodString>;
2570
2570
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2571
2571
  senderId: z.ZodOptional<z.ZodString>;
2572
+ whatsapp: z.ZodOptional<z.ZodObject<{
2573
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
2574
+ wabaExternalId: z.ZodString;
2575
+ phoneNumberId: z.ZodString;
2576
+ email: z.ZodString;
2577
+ clientId: z.ZodOptional<z.ZodString>;
2578
+ channelId: z.ZodOptional<z.ZodString>;
2579
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2580
+ apiKey: z.ZodOptional<z.ZodString>;
2581
+ }, "strip", z.ZodTypeAny, {
2582
+ email: string;
2583
+ wabaExternalId: string;
2584
+ phoneNumberId: string;
2585
+ wabaBusinessId?: string | undefined;
2586
+ clientId?: string | undefined;
2587
+ channelId?: string | undefined;
2588
+ status?: "active" | "pending" | undefined;
2589
+ apiKey?: string | undefined;
2590
+ }, {
2591
+ email: string;
2592
+ wabaExternalId: string;
2593
+ phoneNumberId: string;
2594
+ wabaBusinessId?: string | undefined;
2595
+ clientId?: string | undefined;
2596
+ channelId?: string | undefined;
2597
+ status?: "active" | "pending" | undefined;
2598
+ apiKey?: string | undefined;
2599
+ }>>;
2572
2600
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2573
2601
  mobileNumber: z.ZodString;
2574
2602
  apiKey: z.ZodString;
2575
2603
  apiSecret: z.ZodString;
2576
2604
  }, "strip", z.ZodTypeAny, {
2577
- mobileNumber: string;
2578
2605
  apiKey: string;
2606
+ mobileNumber: string;
2579
2607
  apiSecret: string;
2580
2608
  }, {
2581
- mobileNumber: string;
2582
2609
  apiKey: string;
2610
+ mobileNumber: string;
2583
2611
  apiSecret: string;
2584
2612
  }>>;
2585
2613
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2591,9 +2619,19 @@ export declare const RoomSchema: z.ZodObject<{
2591
2619
  channelSecret?: string | undefined;
2592
2620
  additionalCredentials?: any;
2593
2621
  senderId?: string | undefined;
2622
+ whatsapp?: {
2623
+ email: string;
2624
+ wabaExternalId: string;
2625
+ phoneNumberId: string;
2626
+ wabaBusinessId?: string | undefined;
2627
+ clientId?: string | undefined;
2628
+ channelId?: string | undefined;
2629
+ status?: "active" | "pending" | undefined;
2630
+ apiKey?: string | undefined;
2631
+ } | undefined;
2594
2632
  vonageCredentials?: {
2595
- mobileNumber: string;
2596
2633
  apiKey: string;
2634
+ mobileNumber: string;
2597
2635
  apiSecret: string;
2598
2636
  } | undefined;
2599
2637
  lineRichMenuId?: string | null | undefined;
@@ -2605,9 +2643,19 @@ export declare const RoomSchema: z.ZodObject<{
2605
2643
  channelSecret?: string | undefined;
2606
2644
  additionalCredentials?: any;
2607
2645
  senderId?: string | undefined;
2646
+ whatsapp?: {
2647
+ email: string;
2648
+ wabaExternalId: string;
2649
+ phoneNumberId: string;
2650
+ wabaBusinessId?: string | undefined;
2651
+ clientId?: string | undefined;
2652
+ channelId?: string | undefined;
2653
+ status?: "active" | "pending" | undefined;
2654
+ apiKey?: string | undefined;
2655
+ } | undefined;
2608
2656
  vonageCredentials?: {
2609
- mobileNumber: string;
2610
2657
  apiKey: string;
2658
+ mobileNumber: string;
2611
2659
  apiSecret: string;
2612
2660
  } | undefined;
2613
2661
  lineRichMenuId?: string | null | undefined;
@@ -2853,9 +2901,19 @@ export declare const RoomSchema: z.ZodObject<{
2853
2901
  channelSecret?: string | undefined;
2854
2902
  additionalCredentials?: any;
2855
2903
  senderId?: string | undefined;
2904
+ whatsapp?: {
2905
+ email: string;
2906
+ wabaExternalId: string;
2907
+ phoneNumberId: string;
2908
+ wabaBusinessId?: string | undefined;
2909
+ clientId?: string | undefined;
2910
+ channelId?: string | undefined;
2911
+ status?: "active" | "pending" | undefined;
2912
+ apiKey?: string | undefined;
2913
+ } | undefined;
2856
2914
  vonageCredentials?: {
2857
- mobileNumber: string;
2858
2915
  apiKey: string;
2916
+ mobileNumber: string;
2859
2917
  apiSecret: string;
2860
2918
  } | undefined;
2861
2919
  lineRichMenuId?: string | null | undefined;
@@ -2932,9 +2990,19 @@ export declare const RoomSchema: z.ZodObject<{
2932
2990
  channelSecret?: string | undefined;
2933
2991
  additionalCredentials?: any;
2934
2992
  senderId?: string | undefined;
2993
+ whatsapp?: {
2994
+ email: string;
2995
+ wabaExternalId: string;
2996
+ phoneNumberId: string;
2997
+ wabaBusinessId?: string | undefined;
2998
+ clientId?: string | undefined;
2999
+ channelId?: string | undefined;
3000
+ status?: "active" | "pending" | undefined;
3001
+ apiKey?: string | undefined;
3002
+ } | undefined;
2935
3003
  vonageCredentials?: {
2936
- mobileNumber: string;
2937
3004
  apiKey: string;
3005
+ mobileNumber: string;
2938
3006
  apiSecret: string;
2939
3007
  } | undefined;
2940
3008
  lineRichMenuId?: string | null | undefined;
@@ -3459,9 +3527,19 @@ export declare const RoomSchema: z.ZodObject<{
3459
3527
  channelSecret?: string | undefined;
3460
3528
  additionalCredentials?: any;
3461
3529
  senderId?: string | undefined;
3530
+ whatsapp?: {
3531
+ email: string;
3532
+ wabaExternalId: string;
3533
+ phoneNumberId: string;
3534
+ wabaBusinessId?: string | undefined;
3535
+ clientId?: string | undefined;
3536
+ channelId?: string | undefined;
3537
+ status?: "active" | "pending" | undefined;
3538
+ apiKey?: string | undefined;
3539
+ } | undefined;
3462
3540
  vonageCredentials?: {
3463
- mobileNumber: string;
3464
3541
  apiKey: string;
3542
+ mobileNumber: string;
3465
3543
  apiSecret: string;
3466
3544
  } | undefined;
3467
3545
  lineRichMenuId?: string | null | undefined;
@@ -3849,9 +3927,19 @@ export declare const RoomSchema: z.ZodObject<{
3849
3927
  channelSecret?: string | undefined;
3850
3928
  additionalCredentials?: any;
3851
3929
  senderId?: string | undefined;
3930
+ whatsapp?: {
3931
+ email: string;
3932
+ wabaExternalId: string;
3933
+ phoneNumberId: string;
3934
+ wabaBusinessId?: string | undefined;
3935
+ clientId?: string | undefined;
3936
+ channelId?: string | undefined;
3937
+ status?: "active" | "pending" | undefined;
3938
+ apiKey?: string | undefined;
3939
+ } | undefined;
3852
3940
  vonageCredentials?: {
3853
- mobileNumber: string;
3854
3941
  apiKey: string;
3942
+ mobileNumber: string;
3855
3943
  apiSecret: string;
3856
3944
  } | undefined;
3857
3945
  lineRichMenuId?: string | null | undefined;
@@ -4237,7 +4325,7 @@ export declare const MessageSchema: z.ZodObject<{
4237
4325
  deletedAt: z.ZodNullable<z.ZodDate>;
4238
4326
  message: z.ZodString;
4239
4327
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4240
- 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"]>;
4328
+ 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"]>;
4241
4329
  readAt: z.ZodDate;
4242
4330
  metadata: z.ZodAny;
4243
4331
  platformId: z.ZodString;
@@ -5733,17 +5821,45 @@ export declare const MessageSchema: z.ZodObject<{
5733
5821
  channelSecret: z.ZodOptional<z.ZodString>;
5734
5822
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5735
5823
  senderId: z.ZodOptional<z.ZodString>;
5824
+ whatsapp: z.ZodOptional<z.ZodObject<{
5825
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
5826
+ wabaExternalId: z.ZodString;
5827
+ phoneNumberId: z.ZodString;
5828
+ email: z.ZodString;
5829
+ clientId: z.ZodOptional<z.ZodString>;
5830
+ channelId: z.ZodOptional<z.ZodString>;
5831
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5832
+ apiKey: z.ZodOptional<z.ZodString>;
5833
+ }, "strip", z.ZodTypeAny, {
5834
+ email: string;
5835
+ wabaExternalId: string;
5836
+ phoneNumberId: string;
5837
+ wabaBusinessId?: string | undefined;
5838
+ clientId?: string | undefined;
5839
+ channelId?: string | undefined;
5840
+ status?: "active" | "pending" | undefined;
5841
+ apiKey?: string | undefined;
5842
+ }, {
5843
+ email: string;
5844
+ wabaExternalId: string;
5845
+ phoneNumberId: string;
5846
+ wabaBusinessId?: string | undefined;
5847
+ clientId?: string | undefined;
5848
+ channelId?: string | undefined;
5849
+ status?: "active" | "pending" | undefined;
5850
+ apiKey?: string | undefined;
5851
+ }>>;
5736
5852
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5737
5853
  mobileNumber: z.ZodString;
5738
5854
  apiKey: z.ZodString;
5739
5855
  apiSecret: z.ZodString;
5740
5856
  }, "strip", z.ZodTypeAny, {
5741
- mobileNumber: string;
5742
5857
  apiKey: string;
5858
+ mobileNumber: string;
5743
5859
  apiSecret: string;
5744
5860
  }, {
5745
- mobileNumber: string;
5746
5861
  apiKey: string;
5862
+ mobileNumber: string;
5747
5863
  apiSecret: string;
5748
5864
  }>>;
5749
5865
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5755,9 +5871,19 @@ export declare const MessageSchema: z.ZodObject<{
5755
5871
  channelSecret?: string | undefined;
5756
5872
  additionalCredentials?: any;
5757
5873
  senderId?: string | undefined;
5874
+ whatsapp?: {
5875
+ email: string;
5876
+ wabaExternalId: string;
5877
+ phoneNumberId: string;
5878
+ wabaBusinessId?: string | undefined;
5879
+ clientId?: string | undefined;
5880
+ channelId?: string | undefined;
5881
+ status?: "active" | "pending" | undefined;
5882
+ apiKey?: string | undefined;
5883
+ } | undefined;
5758
5884
  vonageCredentials?: {
5759
- mobileNumber: string;
5760
5885
  apiKey: string;
5886
+ mobileNumber: string;
5761
5887
  apiSecret: string;
5762
5888
  } | undefined;
5763
5889
  lineRichMenuId?: string | null | undefined;
@@ -5769,9 +5895,19 @@ export declare const MessageSchema: z.ZodObject<{
5769
5895
  channelSecret?: string | undefined;
5770
5896
  additionalCredentials?: any;
5771
5897
  senderId?: string | undefined;
5898
+ whatsapp?: {
5899
+ email: string;
5900
+ wabaExternalId: string;
5901
+ phoneNumberId: string;
5902
+ wabaBusinessId?: string | undefined;
5903
+ clientId?: string | undefined;
5904
+ channelId?: string | undefined;
5905
+ status?: "active" | "pending" | undefined;
5906
+ apiKey?: string | undefined;
5907
+ } | undefined;
5772
5908
  vonageCredentials?: {
5773
- mobileNumber: string;
5774
5909
  apiKey: string;
5910
+ mobileNumber: string;
5775
5911
  apiSecret: string;
5776
5912
  } | undefined;
5777
5913
  lineRichMenuId?: string | null | undefined;
@@ -6017,9 +6153,19 @@ export declare const MessageSchema: z.ZodObject<{
6017
6153
  channelSecret?: string | undefined;
6018
6154
  additionalCredentials?: any;
6019
6155
  senderId?: string | undefined;
6156
+ whatsapp?: {
6157
+ email: string;
6158
+ wabaExternalId: string;
6159
+ phoneNumberId: string;
6160
+ wabaBusinessId?: string | undefined;
6161
+ clientId?: string | undefined;
6162
+ channelId?: string | undefined;
6163
+ status?: "active" | "pending" | undefined;
6164
+ apiKey?: string | undefined;
6165
+ } | undefined;
6020
6166
  vonageCredentials?: {
6021
- mobileNumber: string;
6022
6167
  apiKey: string;
6168
+ mobileNumber: string;
6023
6169
  apiSecret: string;
6024
6170
  } | undefined;
6025
6171
  lineRichMenuId?: string | null | undefined;
@@ -6096,9 +6242,19 @@ export declare const MessageSchema: z.ZodObject<{
6096
6242
  channelSecret?: string | undefined;
6097
6243
  additionalCredentials?: any;
6098
6244
  senderId?: string | undefined;
6245
+ whatsapp?: {
6246
+ email: string;
6247
+ wabaExternalId: string;
6248
+ phoneNumberId: string;
6249
+ wabaBusinessId?: string | undefined;
6250
+ clientId?: string | undefined;
6251
+ channelId?: string | undefined;
6252
+ status?: "active" | "pending" | undefined;
6253
+ apiKey?: string | undefined;
6254
+ } | undefined;
6099
6255
  vonageCredentials?: {
6100
- mobileNumber: string;
6101
6256
  apiKey: string;
6257
+ mobileNumber: string;
6102
6258
  apiSecret: string;
6103
6259
  } | undefined;
6104
6260
  lineRichMenuId?: string | null | undefined;
@@ -6623,9 +6779,19 @@ export declare const MessageSchema: z.ZodObject<{
6623
6779
  channelSecret?: string | undefined;
6624
6780
  additionalCredentials?: any;
6625
6781
  senderId?: string | undefined;
6782
+ whatsapp?: {
6783
+ email: string;
6784
+ wabaExternalId: string;
6785
+ phoneNumberId: string;
6786
+ wabaBusinessId?: string | undefined;
6787
+ clientId?: string | undefined;
6788
+ channelId?: string | undefined;
6789
+ status?: "active" | "pending" | undefined;
6790
+ apiKey?: string | undefined;
6791
+ } | undefined;
6626
6792
  vonageCredentials?: {
6627
- mobileNumber: string;
6628
6793
  apiKey: string;
6794
+ mobileNumber: string;
6629
6795
  apiSecret: string;
6630
6796
  } | undefined;
6631
6797
  lineRichMenuId?: string | null | undefined;
@@ -7013,9 +7179,19 @@ export declare const MessageSchema: z.ZodObject<{
7013
7179
  channelSecret?: string | undefined;
7014
7180
  additionalCredentials?: any;
7015
7181
  senderId?: string | undefined;
7182
+ whatsapp?: {
7183
+ email: string;
7184
+ wabaExternalId: string;
7185
+ phoneNumberId: string;
7186
+ wabaBusinessId?: string | undefined;
7187
+ clientId?: string | undefined;
7188
+ channelId?: string | undefined;
7189
+ status?: "active" | "pending" | undefined;
7190
+ apiKey?: string | undefined;
7191
+ } | undefined;
7016
7192
  vonageCredentials?: {
7017
- mobileNumber: string;
7018
7193
  apiKey: string;
7194
+ mobileNumber: string;
7019
7195
  apiSecret: string;
7020
7196
  } | undefined;
7021
7197
  lineRichMenuId?: string | null | undefined;
@@ -7432,7 +7608,7 @@ export declare const MessageSchema: z.ZodObject<{
7432
7608
  deletedAt: z.ZodNullable<z.ZodDate>;
7433
7609
  message: z.ZodString;
7434
7610
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7435
- 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"]>;
7611
+ 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"]>;
7436
7612
  readAt: z.ZodDate;
7437
7613
  metadata: z.ZodAny;
7438
7614
  platformId: z.ZodString;
@@ -8090,7 +8266,7 @@ export declare const MessageSchema: z.ZodObject<{
8090
8266
  };
8091
8267
  }>;
8092
8268
  }, "strip", z.ZodTypeAny, {
8093
- 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";
8269
+ 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";
8094
8270
  message: string;
8095
8271
  id: string;
8096
8272
  url: string;
@@ -8252,7 +8428,7 @@ export declare const MessageSchema: z.ZodObject<{
8252
8428
  metadata?: any;
8253
8429
  template?: any;
8254
8430
  }, {
8255
- 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";
8431
+ 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";
8256
8432
  message: string;
8257
8433
  id: string;
8258
8434
  url: string;
@@ -9054,7 +9230,7 @@ export declare const MessageSchema: z.ZodObject<{
9054
9230
  editedMessageid: z.ZodString;
9055
9231
  label: z.ZodOptional<z.ZodString>;
9056
9232
  }, "strip", z.ZodTypeAny, {
9057
- 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";
9233
+ 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";
9058
9234
  message: string;
9059
9235
  id: string;
9060
9236
  url: string;
@@ -9176,9 +9352,19 @@ export declare const MessageSchema: z.ZodObject<{
9176
9352
  channelSecret?: string | undefined;
9177
9353
  additionalCredentials?: any;
9178
9354
  senderId?: string | undefined;
9355
+ whatsapp?: {
9356
+ email: string;
9357
+ wabaExternalId: string;
9358
+ phoneNumberId: string;
9359
+ wabaBusinessId?: string | undefined;
9360
+ clientId?: string | undefined;
9361
+ channelId?: string | undefined;
9362
+ status?: "active" | "pending" | undefined;
9363
+ apiKey?: string | undefined;
9364
+ } | undefined;
9179
9365
  vonageCredentials?: {
9180
- mobileNumber: string;
9181
9366
  apiKey: string;
9367
+ mobileNumber: string;
9182
9368
  apiSecret: string;
9183
9369
  } | undefined;
9184
9370
  lineRichMenuId?: string | null | undefined;
@@ -9570,7 +9756,7 @@ export declare const MessageSchema: z.ZodObject<{
9570
9756
  previewUrl: string;
9571
9757
  imageSetId: string;
9572
9758
  repliedMessage: {
9573
- 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";
9759
+ 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";
9574
9760
  message: string;
9575
9761
  id: string;
9576
9762
  url: string;
@@ -9781,7 +9967,7 @@ export declare const MessageSchema: z.ZodObject<{
9781
9967
  template?: any;
9782
9968
  label?: string | undefined;
9783
9969
  }, {
9784
- 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";
9970
+ 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";
9785
9971
  message: string;
9786
9972
  id: string;
9787
9973
  url: string;
@@ -9903,9 +10089,19 @@ export declare const MessageSchema: z.ZodObject<{
9903
10089
  channelSecret?: string | undefined;
9904
10090
  additionalCredentials?: any;
9905
10091
  senderId?: string | undefined;
10092
+ whatsapp?: {
10093
+ email: string;
10094
+ wabaExternalId: string;
10095
+ phoneNumberId: string;
10096
+ wabaBusinessId?: string | undefined;
10097
+ clientId?: string | undefined;
10098
+ channelId?: string | undefined;
10099
+ status?: "active" | "pending" | undefined;
10100
+ apiKey?: string | undefined;
10101
+ } | undefined;
9906
10102
  vonageCredentials?: {
9907
- mobileNumber: string;
9908
10103
  apiKey: string;
10104
+ mobileNumber: string;
9909
10105
  apiSecret: string;
9910
10106
  } | undefined;
9911
10107
  lineRichMenuId?: string | null | undefined;
@@ -10297,7 +10493,7 @@ export declare const MessageSchema: z.ZodObject<{
10297
10493
  previewUrl: string;
10298
10494
  imageSetId: string;
10299
10495
  repliedMessage: {
10300
- 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";
10496
+ 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";
10301
10497
  message: string;
10302
10498
  id: string;
10303
10499
  url: string;
@@ -10509,7 +10705,7 @@ export declare const MessageSchema: z.ZodObject<{
10509
10705
  label?: string | undefined;
10510
10706
  }>;
10511
10707
  export declare const MessageWithFeedPostSchema: z.ZodObject<{
10512
- 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"]>;
10708
+ 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"]>;
10513
10709
  message: z.ZodString;
10514
10710
  id: z.ZodString;
10515
10711
  url: z.ZodString;
@@ -12448,17 +12644,45 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12448
12644
  channelSecret: z.ZodOptional<z.ZodString>;
12449
12645
  additionalCredentials: z.ZodOptional<z.ZodAny>;
12450
12646
  senderId: z.ZodOptional<z.ZodString>;
12647
+ whatsapp: z.ZodOptional<z.ZodObject<{
12648
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
12649
+ wabaExternalId: z.ZodString;
12650
+ phoneNumberId: z.ZodString;
12651
+ email: z.ZodString;
12652
+ clientId: z.ZodOptional<z.ZodString>;
12653
+ channelId: z.ZodOptional<z.ZodString>;
12654
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
12655
+ apiKey: z.ZodOptional<z.ZodString>;
12656
+ }, "strip", z.ZodTypeAny, {
12657
+ email: string;
12658
+ wabaExternalId: string;
12659
+ phoneNumberId: string;
12660
+ wabaBusinessId?: string | undefined;
12661
+ clientId?: string | undefined;
12662
+ channelId?: string | undefined;
12663
+ status?: "active" | "pending" | undefined;
12664
+ apiKey?: string | undefined;
12665
+ }, {
12666
+ email: string;
12667
+ wabaExternalId: string;
12668
+ phoneNumberId: string;
12669
+ wabaBusinessId?: string | undefined;
12670
+ clientId?: string | undefined;
12671
+ channelId?: string | undefined;
12672
+ status?: "active" | "pending" | undefined;
12673
+ apiKey?: string | undefined;
12674
+ }>>;
12451
12675
  vonageCredentials: z.ZodOptional<z.ZodObject<{
12452
12676
  mobileNumber: z.ZodString;
12453
12677
  apiKey: z.ZodString;
12454
12678
  apiSecret: z.ZodString;
12455
12679
  }, "strip", z.ZodTypeAny, {
12456
- mobileNumber: string;
12457
12680
  apiKey: string;
12681
+ mobileNumber: string;
12458
12682
  apiSecret: string;
12459
12683
  }, {
12460
- mobileNumber: string;
12461
12684
  apiKey: string;
12685
+ mobileNumber: string;
12462
12686
  apiSecret: string;
12463
12687
  }>>;
12464
12688
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -12470,9 +12694,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12470
12694
  channelSecret?: string | undefined;
12471
12695
  additionalCredentials?: any;
12472
12696
  senderId?: string | undefined;
12697
+ whatsapp?: {
12698
+ email: string;
12699
+ wabaExternalId: string;
12700
+ phoneNumberId: string;
12701
+ wabaBusinessId?: string | undefined;
12702
+ clientId?: string | undefined;
12703
+ channelId?: string | undefined;
12704
+ status?: "active" | "pending" | undefined;
12705
+ apiKey?: string | undefined;
12706
+ } | undefined;
12473
12707
  vonageCredentials?: {
12474
- mobileNumber: string;
12475
12708
  apiKey: string;
12709
+ mobileNumber: string;
12476
12710
  apiSecret: string;
12477
12711
  } | undefined;
12478
12712
  lineRichMenuId?: string | null | undefined;
@@ -12484,9 +12718,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12484
12718
  channelSecret?: string | undefined;
12485
12719
  additionalCredentials?: any;
12486
12720
  senderId?: string | undefined;
12721
+ whatsapp?: {
12722
+ email: string;
12723
+ wabaExternalId: string;
12724
+ phoneNumberId: string;
12725
+ wabaBusinessId?: string | undefined;
12726
+ clientId?: string | undefined;
12727
+ channelId?: string | undefined;
12728
+ status?: "active" | "pending" | undefined;
12729
+ apiKey?: string | undefined;
12730
+ } | undefined;
12487
12731
  vonageCredentials?: {
12488
- mobileNumber: string;
12489
12732
  apiKey: string;
12733
+ mobileNumber: string;
12490
12734
  apiSecret: string;
12491
12735
  } | undefined;
12492
12736
  lineRichMenuId?: string | null | undefined;
@@ -12732,9 +12976,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12732
12976
  channelSecret?: string | undefined;
12733
12977
  additionalCredentials?: any;
12734
12978
  senderId?: string | undefined;
12979
+ whatsapp?: {
12980
+ email: string;
12981
+ wabaExternalId: string;
12982
+ phoneNumberId: string;
12983
+ wabaBusinessId?: string | undefined;
12984
+ clientId?: string | undefined;
12985
+ channelId?: string | undefined;
12986
+ status?: "active" | "pending" | undefined;
12987
+ apiKey?: string | undefined;
12988
+ } | undefined;
12735
12989
  vonageCredentials?: {
12736
- mobileNumber: string;
12737
12990
  apiKey: string;
12991
+ mobileNumber: string;
12738
12992
  apiSecret: string;
12739
12993
  } | undefined;
12740
12994
  lineRichMenuId?: string | null | undefined;
@@ -12811,9 +13065,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
12811
13065
  channelSecret?: string | undefined;
12812
13066
  additionalCredentials?: any;
12813
13067
  senderId?: string | undefined;
13068
+ whatsapp?: {
13069
+ email: string;
13070
+ wabaExternalId: string;
13071
+ phoneNumberId: string;
13072
+ wabaBusinessId?: string | undefined;
13073
+ clientId?: string | undefined;
13074
+ channelId?: string | undefined;
13075
+ status?: "active" | "pending" | undefined;
13076
+ apiKey?: string | undefined;
13077
+ } | undefined;
12814
13078
  vonageCredentials?: {
12815
- mobileNumber: string;
12816
13079
  apiKey: string;
13080
+ mobileNumber: string;
12817
13081
  apiSecret: string;
12818
13082
  } | undefined;
12819
13083
  lineRichMenuId?: string | null | undefined;
@@ -13338,9 +13602,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13338
13602
  channelSecret?: string | undefined;
13339
13603
  additionalCredentials?: any;
13340
13604
  senderId?: string | undefined;
13605
+ whatsapp?: {
13606
+ email: string;
13607
+ wabaExternalId: string;
13608
+ phoneNumberId: string;
13609
+ wabaBusinessId?: string | undefined;
13610
+ clientId?: string | undefined;
13611
+ channelId?: string | undefined;
13612
+ status?: "active" | "pending" | undefined;
13613
+ apiKey?: string | undefined;
13614
+ } | undefined;
13341
13615
  vonageCredentials?: {
13342
- mobileNumber: string;
13343
13616
  apiKey: string;
13617
+ mobileNumber: string;
13344
13618
  apiSecret: string;
13345
13619
  } | undefined;
13346
13620
  lineRichMenuId?: string | null | undefined;
@@ -13728,9 +14002,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
13728
14002
  channelSecret?: string | undefined;
13729
14003
  additionalCredentials?: any;
13730
14004
  senderId?: string | undefined;
14005
+ whatsapp?: {
14006
+ email: string;
14007
+ wabaExternalId: string;
14008
+ phoneNumberId: string;
14009
+ wabaBusinessId?: string | undefined;
14010
+ clientId?: string | undefined;
14011
+ channelId?: string | undefined;
14012
+ status?: "active" | "pending" | undefined;
14013
+ apiKey?: string | undefined;
14014
+ } | undefined;
13731
14015
  vonageCredentials?: {
13732
- mobileNumber: string;
13733
14016
  apiKey: string;
14017
+ mobileNumber: string;
13734
14018
  apiSecret: string;
13735
14019
  } | undefined;
13736
14020
  lineRichMenuId?: string | null | undefined;
@@ -14144,7 +14428,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14144
14428
  deletedAt: z.ZodNullable<z.ZodDate>;
14145
14429
  message: z.ZodString;
14146
14430
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14147
- 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"]>;
14431
+ 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"]>;
14148
14432
  readAt: z.ZodDate;
14149
14433
  metadata: z.ZodAny;
14150
14434
  platformId: z.ZodString;
@@ -14802,7 +15086,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14802
15086
  };
14803
15087
  }>;
14804
15088
  }, "strip", z.ZodTypeAny, {
14805
- 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";
15089
+ 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";
14806
15090
  message: string;
14807
15091
  id: string;
14808
15092
  url: string;
@@ -14964,7 +15248,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
14964
15248
  metadata?: any;
14965
15249
  template?: any;
14966
15250
  }, {
14967
- 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";
15251
+ 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";
14968
15252
  message: string;
14969
15253
  id: string;
14970
15254
  url: string;
@@ -15339,7 +15623,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15339
15623
  updatedAt: z.ZodDate;
15340
15624
  deletedAt: z.ZodNullable<z.ZodDate>;
15341
15625
  message: z.ZodNullable<z.ZodString>;
15342
- type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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"]>]>;
15626
+ type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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"]>]>;
15343
15627
  metadata: z.ZodAny;
15344
15628
  platformId: z.ZodString;
15345
15629
  platformMessageId: z.ZodString;
@@ -15361,17 +15645,45 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15361
15645
  channelSecret: z.ZodOptional<z.ZodString>;
15362
15646
  additionalCredentials: z.ZodOptional<z.ZodAny>;
15363
15647
  senderId: z.ZodOptional<z.ZodString>;
15648
+ whatsapp: z.ZodOptional<z.ZodObject<{
15649
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
15650
+ wabaExternalId: z.ZodString;
15651
+ phoneNumberId: z.ZodString;
15652
+ email: z.ZodString;
15653
+ clientId: z.ZodOptional<z.ZodString>;
15654
+ channelId: z.ZodOptional<z.ZodString>;
15655
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
15656
+ apiKey: z.ZodOptional<z.ZodString>;
15657
+ }, "strip", z.ZodTypeAny, {
15658
+ email: string;
15659
+ wabaExternalId: string;
15660
+ phoneNumberId: string;
15661
+ wabaBusinessId?: string | undefined;
15662
+ clientId?: string | undefined;
15663
+ channelId?: string | undefined;
15664
+ status?: "active" | "pending" | undefined;
15665
+ apiKey?: string | undefined;
15666
+ }, {
15667
+ email: string;
15668
+ wabaExternalId: string;
15669
+ phoneNumberId: string;
15670
+ wabaBusinessId?: string | undefined;
15671
+ clientId?: string | undefined;
15672
+ channelId?: string | undefined;
15673
+ status?: "active" | "pending" | undefined;
15674
+ apiKey?: string | undefined;
15675
+ }>>;
15364
15676
  vonageCredentials: z.ZodOptional<z.ZodObject<{
15365
15677
  mobileNumber: z.ZodString;
15366
15678
  apiKey: z.ZodString;
15367
15679
  apiSecret: z.ZodString;
15368
15680
  }, "strip", z.ZodTypeAny, {
15369
- mobileNumber: string;
15370
15681
  apiKey: string;
15682
+ mobileNumber: string;
15371
15683
  apiSecret: string;
15372
15684
  }, {
15373
- mobileNumber: string;
15374
15685
  apiKey: string;
15686
+ mobileNumber: string;
15375
15687
  apiSecret: string;
15376
15688
  }>>;
15377
15689
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -15383,9 +15695,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15383
15695
  channelSecret?: string | undefined;
15384
15696
  additionalCredentials?: any;
15385
15697
  senderId?: string | undefined;
15698
+ whatsapp?: {
15699
+ email: string;
15700
+ wabaExternalId: string;
15701
+ phoneNumberId: string;
15702
+ wabaBusinessId?: string | undefined;
15703
+ clientId?: string | undefined;
15704
+ channelId?: string | undefined;
15705
+ status?: "active" | "pending" | undefined;
15706
+ apiKey?: string | undefined;
15707
+ } | undefined;
15386
15708
  vonageCredentials?: {
15387
- mobileNumber: string;
15388
15709
  apiKey: string;
15710
+ mobileNumber: string;
15389
15711
  apiSecret: string;
15390
15712
  } | undefined;
15391
15713
  lineRichMenuId?: string | null | undefined;
@@ -15397,9 +15719,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15397
15719
  channelSecret?: string | undefined;
15398
15720
  additionalCredentials?: any;
15399
15721
  senderId?: string | undefined;
15722
+ whatsapp?: {
15723
+ email: string;
15724
+ wabaExternalId: string;
15725
+ phoneNumberId: string;
15726
+ wabaBusinessId?: string | undefined;
15727
+ clientId?: string | undefined;
15728
+ channelId?: string | undefined;
15729
+ status?: "active" | "pending" | undefined;
15730
+ apiKey?: string | undefined;
15731
+ } | undefined;
15400
15732
  vonageCredentials?: {
15401
- mobileNumber: string;
15402
15733
  apiKey: string;
15734
+ mobileNumber: string;
15403
15735
  apiSecret: string;
15404
15736
  } | undefined;
15405
15737
  lineRichMenuId?: string | null | undefined;
@@ -15645,9 +15977,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15645
15977
  channelSecret?: string | undefined;
15646
15978
  additionalCredentials?: any;
15647
15979
  senderId?: string | undefined;
15980
+ whatsapp?: {
15981
+ email: string;
15982
+ wabaExternalId: string;
15983
+ phoneNumberId: string;
15984
+ wabaBusinessId?: string | undefined;
15985
+ clientId?: string | undefined;
15986
+ channelId?: string | undefined;
15987
+ status?: "active" | "pending" | undefined;
15988
+ apiKey?: string | undefined;
15989
+ } | undefined;
15648
15990
  vonageCredentials?: {
15649
- mobileNumber: string;
15650
15991
  apiKey: string;
15992
+ mobileNumber: string;
15651
15993
  apiSecret: string;
15652
15994
  } | undefined;
15653
15995
  lineRichMenuId?: string | null | undefined;
@@ -15724,9 +16066,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
15724
16066
  channelSecret?: string | undefined;
15725
16067
  additionalCredentials?: any;
15726
16068
  senderId?: string | undefined;
16069
+ whatsapp?: {
16070
+ email: string;
16071
+ wabaExternalId: string;
16072
+ phoneNumberId: string;
16073
+ wabaBusinessId?: string | undefined;
16074
+ clientId?: string | undefined;
16075
+ channelId?: string | undefined;
16076
+ status?: "active" | "pending" | undefined;
16077
+ apiKey?: string | undefined;
16078
+ } | undefined;
15727
16079
  vonageCredentials?: {
15728
- mobileNumber: string;
15729
16080
  apiKey: string;
16081
+ mobileNumber: string;
15730
16082
  apiSecret: string;
15731
16083
  } | undefined;
15732
16084
  lineRichMenuId?: string | null | undefined;
@@ -17046,7 +17398,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17046
17398
  }>;
17047
17399
  permalinkURL: z.ZodString;
17048
17400
  }, "strip", z.ZodTypeAny, {
17049
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17401
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17050
17402
  message: string | null;
17051
17403
  id: string;
17052
17404
  channel: {
@@ -17060,9 +17412,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17060
17412
  channelSecret?: string | undefined;
17061
17413
  additionalCredentials?: any;
17062
17414
  senderId?: string | undefined;
17415
+ whatsapp?: {
17416
+ email: string;
17417
+ wabaExternalId: string;
17418
+ phoneNumberId: string;
17419
+ wabaBusinessId?: string | undefined;
17420
+ clientId?: string | undefined;
17421
+ channelId?: string | undefined;
17422
+ status?: "active" | "pending" | undefined;
17423
+ apiKey?: string | undefined;
17424
+ } | undefined;
17063
17425
  vonageCredentials?: {
17064
- mobileNumber: string;
17065
17426
  apiKey: string;
17427
+ mobileNumber: string;
17066
17428
  apiSecret: string;
17067
17429
  } | undefined;
17068
17430
  lineRichMenuId?: string | null | undefined;
@@ -17312,7 +17674,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17312
17674
  metadata?: any;
17313
17675
  template?: any;
17314
17676
  }, {
17315
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17677
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17316
17678
  message: string | null;
17317
17679
  id: string;
17318
17680
  channel: {
@@ -17326,9 +17688,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17326
17688
  channelSecret?: string | undefined;
17327
17689
  additionalCredentials?: any;
17328
17690
  senderId?: string | undefined;
17691
+ whatsapp?: {
17692
+ email: string;
17693
+ wabaExternalId: string;
17694
+ phoneNumberId: string;
17695
+ wabaBusinessId?: string | undefined;
17696
+ clientId?: string | undefined;
17697
+ channelId?: string | undefined;
17698
+ status?: "active" | "pending" | undefined;
17699
+ apiKey?: string | undefined;
17700
+ } | undefined;
17329
17701
  vonageCredentials?: {
17330
- mobileNumber: string;
17331
17702
  apiKey: string;
17703
+ mobileNumber: string;
17332
17704
  apiSecret: string;
17333
17705
  } | undefined;
17334
17706
  lineRichMenuId?: string | null | undefined;
@@ -17580,7 +17952,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17580
17952
  }>>;
17581
17953
  replyReaction: z.ZodNullable<z.ZodString>;
17582
17954
  }, "strip", z.ZodTypeAny, {
17583
- 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";
17955
+ 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";
17584
17956
  message: string;
17585
17957
  id: string;
17586
17958
  url: string;
@@ -17702,9 +18074,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
17702
18074
  channelSecret?: string | undefined;
17703
18075
  additionalCredentials?: any;
17704
18076
  senderId?: string | undefined;
18077
+ whatsapp?: {
18078
+ email: string;
18079
+ wabaExternalId: string;
18080
+ phoneNumberId: string;
18081
+ wabaBusinessId?: string | undefined;
18082
+ clientId?: string | undefined;
18083
+ channelId?: string | undefined;
18084
+ status?: "active" | "pending" | undefined;
18085
+ apiKey?: string | undefined;
18086
+ } | undefined;
17705
18087
  vonageCredentials?: {
17706
- mobileNumber: string;
17707
18088
  apiKey: string;
18089
+ mobileNumber: string;
17708
18090
  apiSecret: string;
17709
18091
  } | undefined;
17710
18092
  lineRichMenuId?: string | null | undefined;
@@ -18096,7 +18478,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18096
18478
  previewUrl: string;
18097
18479
  imageSetId: string;
18098
18480
  repliedMessage: {
18099
- 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";
18481
+ 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";
18100
18482
  message: string;
18101
18483
  id: string;
18102
18484
  url: string;
@@ -18306,7 +18688,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18306
18688
  parentMessageId: string | null;
18307
18689
  feedPostId: string | null;
18308
18690
  feedPost: {
18309
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18691
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18310
18692
  message: string | null;
18311
18693
  id: string;
18312
18694
  channel: {
@@ -18320,9 +18702,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18320
18702
  channelSecret?: string | undefined;
18321
18703
  additionalCredentials?: any;
18322
18704
  senderId?: string | undefined;
18705
+ whatsapp?: {
18706
+ email: string;
18707
+ wabaExternalId: string;
18708
+ phoneNumberId: string;
18709
+ wabaBusinessId?: string | undefined;
18710
+ clientId?: string | undefined;
18711
+ channelId?: string | undefined;
18712
+ status?: "active" | "pending" | undefined;
18713
+ apiKey?: string | undefined;
18714
+ } | undefined;
18323
18715
  vonageCredentials?: {
18324
- mobileNumber: string;
18325
18716
  apiKey: string;
18717
+ mobileNumber: string;
18326
18718
  apiSecret: string;
18327
18719
  } | undefined;
18328
18720
  lineRichMenuId?: string | null | undefined;
@@ -18577,7 +18969,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18577
18969
  template?: any;
18578
18970
  metadata?: any;
18579
18971
  }, {
18580
- 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";
18972
+ 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";
18581
18973
  message: string;
18582
18974
  id: string;
18583
18975
  url: string;
@@ -18699,9 +19091,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
18699
19091
  channelSecret?: string | undefined;
18700
19092
  additionalCredentials?: any;
18701
19093
  senderId?: string | undefined;
19094
+ whatsapp?: {
19095
+ email: string;
19096
+ wabaExternalId: string;
19097
+ phoneNumberId: string;
19098
+ wabaBusinessId?: string | undefined;
19099
+ clientId?: string | undefined;
19100
+ channelId?: string | undefined;
19101
+ status?: "active" | "pending" | undefined;
19102
+ apiKey?: string | undefined;
19103
+ } | undefined;
18702
19104
  vonageCredentials?: {
18703
- mobileNumber: string;
18704
19105
  apiKey: string;
19106
+ mobileNumber: string;
18705
19107
  apiSecret: string;
18706
19108
  } | undefined;
18707
19109
  lineRichMenuId?: string | null | undefined;
@@ -19093,7 +19495,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19093
19495
  previewUrl: string;
19094
19496
  imageSetId: string;
19095
19497
  repliedMessage: {
19096
- 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";
19498
+ 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";
19097
19499
  message: string;
19098
19500
  id: string;
19099
19501
  url: string;
@@ -19303,7 +19705,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19303
19705
  parentMessageId: string | null;
19304
19706
  feedPostId: string | null;
19305
19707
  feedPost: {
19306
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19708
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19307
19709
  message: string | null;
19308
19710
  id: string;
19309
19711
  channel: {
@@ -19317,9 +19719,19 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
19317
19719
  channelSecret?: string | undefined;
19318
19720
  additionalCredentials?: any;
19319
19721
  senderId?: string | undefined;
19722
+ whatsapp?: {
19723
+ email: string;
19724
+ wabaExternalId: string;
19725
+ phoneNumberId: string;
19726
+ wabaBusinessId?: string | undefined;
19727
+ clientId?: string | undefined;
19728
+ channelId?: string | undefined;
19729
+ status?: "active" | "pending" | undefined;
19730
+ apiKey?: string | undefined;
19731
+ } | undefined;
19320
19732
  vonageCredentials?: {
19321
- mobileNumber: string;
19322
19733
  apiKey: string;
19734
+ mobileNumber: string;
19323
19735
  apiSecret: string;
19324
19736
  } | undefined;
19325
19737
  lineRichMenuId?: string | null | undefined;
@@ -19581,7 +19993,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
19581
19993
  deletedAt: z.ZodNullable<z.ZodDate>;
19582
19994
  message: z.ZodString;
19583
19995
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
19584
- 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"]>;
19996
+ 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"]>;
19585
19997
  readAt: z.ZodDate;
19586
19998
  metadata: z.ZodAny;
19587
19999
  platformId: z.ZodString;
@@ -20239,7 +20651,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20239
20651
  };
20240
20652
  }>;
20241
20653
  }, "strip", z.ZodTypeAny, {
20242
- 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";
20654
+ 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";
20243
20655
  message: string;
20244
20656
  id: string;
20245
20657
  url: string;
@@ -20401,7 +20813,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
20401
20813
  metadata?: any;
20402
20814
  template?: any;
20403
20815
  }, {
20404
- 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";
20816
+ 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";
20405
20817
  message: string;
20406
20818
  id: string;
20407
20819
  url: string;
@@ -20577,7 +20989,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
20577
20989
  totalUnreadCount: number;
20578
20990
  }>;
20579
20991
  export declare const MessageRelevanceSchema: z.ZodObject<{
20580
- 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"]>;
20992
+ 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"]>;
20581
20993
  message: z.ZodString;
20582
20994
  id: z.ZodString;
20583
20995
  url: z.ZodString;
@@ -22516,17 +22928,45 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22516
22928
  channelSecret: z.ZodOptional<z.ZodString>;
22517
22929
  additionalCredentials: z.ZodOptional<z.ZodAny>;
22518
22930
  senderId: z.ZodOptional<z.ZodString>;
22931
+ whatsapp: z.ZodOptional<z.ZodObject<{
22932
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
22933
+ wabaExternalId: z.ZodString;
22934
+ phoneNumberId: z.ZodString;
22935
+ email: z.ZodString;
22936
+ clientId: z.ZodOptional<z.ZodString>;
22937
+ channelId: z.ZodOptional<z.ZodString>;
22938
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
22939
+ apiKey: z.ZodOptional<z.ZodString>;
22940
+ }, "strip", z.ZodTypeAny, {
22941
+ email: string;
22942
+ wabaExternalId: string;
22943
+ phoneNumberId: string;
22944
+ wabaBusinessId?: string | undefined;
22945
+ clientId?: string | undefined;
22946
+ channelId?: string | undefined;
22947
+ status?: "active" | "pending" | undefined;
22948
+ apiKey?: string | undefined;
22949
+ }, {
22950
+ email: string;
22951
+ wabaExternalId: string;
22952
+ phoneNumberId: string;
22953
+ wabaBusinessId?: string | undefined;
22954
+ clientId?: string | undefined;
22955
+ channelId?: string | undefined;
22956
+ status?: "active" | "pending" | undefined;
22957
+ apiKey?: string | undefined;
22958
+ }>>;
22519
22959
  vonageCredentials: z.ZodOptional<z.ZodObject<{
22520
22960
  mobileNumber: z.ZodString;
22521
22961
  apiKey: z.ZodString;
22522
22962
  apiSecret: z.ZodString;
22523
22963
  }, "strip", z.ZodTypeAny, {
22524
- mobileNumber: string;
22525
22964
  apiKey: string;
22965
+ mobileNumber: string;
22526
22966
  apiSecret: string;
22527
22967
  }, {
22528
- mobileNumber: string;
22529
22968
  apiKey: string;
22969
+ mobileNumber: string;
22530
22970
  apiSecret: string;
22531
22971
  }>>;
22532
22972
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -22538,9 +22978,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22538
22978
  channelSecret?: string | undefined;
22539
22979
  additionalCredentials?: any;
22540
22980
  senderId?: string | undefined;
22981
+ whatsapp?: {
22982
+ email: string;
22983
+ wabaExternalId: string;
22984
+ phoneNumberId: string;
22985
+ wabaBusinessId?: string | undefined;
22986
+ clientId?: string | undefined;
22987
+ channelId?: string | undefined;
22988
+ status?: "active" | "pending" | undefined;
22989
+ apiKey?: string | undefined;
22990
+ } | undefined;
22541
22991
  vonageCredentials?: {
22542
- mobileNumber: string;
22543
22992
  apiKey: string;
22993
+ mobileNumber: string;
22544
22994
  apiSecret: string;
22545
22995
  } | undefined;
22546
22996
  lineRichMenuId?: string | null | undefined;
@@ -22552,9 +23002,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22552
23002
  channelSecret?: string | undefined;
22553
23003
  additionalCredentials?: any;
22554
23004
  senderId?: string | undefined;
23005
+ whatsapp?: {
23006
+ email: string;
23007
+ wabaExternalId: string;
23008
+ phoneNumberId: string;
23009
+ wabaBusinessId?: string | undefined;
23010
+ clientId?: string | undefined;
23011
+ channelId?: string | undefined;
23012
+ status?: "active" | "pending" | undefined;
23013
+ apiKey?: string | undefined;
23014
+ } | undefined;
22555
23015
  vonageCredentials?: {
22556
- mobileNumber: string;
22557
23016
  apiKey: string;
23017
+ mobileNumber: string;
22558
23018
  apiSecret: string;
22559
23019
  } | undefined;
22560
23020
  lineRichMenuId?: string | null | undefined;
@@ -22800,9 +23260,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22800
23260
  channelSecret?: string | undefined;
22801
23261
  additionalCredentials?: any;
22802
23262
  senderId?: string | undefined;
23263
+ whatsapp?: {
23264
+ email: string;
23265
+ wabaExternalId: string;
23266
+ phoneNumberId: string;
23267
+ wabaBusinessId?: string | undefined;
23268
+ clientId?: string | undefined;
23269
+ channelId?: string | undefined;
23270
+ status?: "active" | "pending" | undefined;
23271
+ apiKey?: string | undefined;
23272
+ } | undefined;
22803
23273
  vonageCredentials?: {
22804
- mobileNumber: string;
22805
23274
  apiKey: string;
23275
+ mobileNumber: string;
22806
23276
  apiSecret: string;
22807
23277
  } | undefined;
22808
23278
  lineRichMenuId?: string | null | undefined;
@@ -22879,9 +23349,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
22879
23349
  channelSecret?: string | undefined;
22880
23350
  additionalCredentials?: any;
22881
23351
  senderId?: string | undefined;
23352
+ whatsapp?: {
23353
+ email: string;
23354
+ wabaExternalId: string;
23355
+ phoneNumberId: string;
23356
+ wabaBusinessId?: string | undefined;
23357
+ clientId?: string | undefined;
23358
+ channelId?: string | undefined;
23359
+ status?: "active" | "pending" | undefined;
23360
+ apiKey?: string | undefined;
23361
+ } | undefined;
22882
23362
  vonageCredentials?: {
22883
- mobileNumber: string;
22884
23363
  apiKey: string;
23364
+ mobileNumber: string;
22885
23365
  apiSecret: string;
22886
23366
  } | undefined;
22887
23367
  lineRichMenuId?: string | null | undefined;
@@ -23406,9 +23886,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23406
23886
  channelSecret?: string | undefined;
23407
23887
  additionalCredentials?: any;
23408
23888
  senderId?: string | undefined;
23889
+ whatsapp?: {
23890
+ email: string;
23891
+ wabaExternalId: string;
23892
+ phoneNumberId: string;
23893
+ wabaBusinessId?: string | undefined;
23894
+ clientId?: string | undefined;
23895
+ channelId?: string | undefined;
23896
+ status?: "active" | "pending" | undefined;
23897
+ apiKey?: string | undefined;
23898
+ } | undefined;
23409
23899
  vonageCredentials?: {
23410
- mobileNumber: string;
23411
23900
  apiKey: string;
23901
+ mobileNumber: string;
23412
23902
  apiSecret: string;
23413
23903
  } | undefined;
23414
23904
  lineRichMenuId?: string | null | undefined;
@@ -23796,9 +24286,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
23796
24286
  channelSecret?: string | undefined;
23797
24287
  additionalCredentials?: any;
23798
24288
  senderId?: string | undefined;
24289
+ whatsapp?: {
24290
+ email: string;
24291
+ wabaExternalId: string;
24292
+ phoneNumberId: string;
24293
+ wabaBusinessId?: string | undefined;
24294
+ clientId?: string | undefined;
24295
+ channelId?: string | undefined;
24296
+ status?: "active" | "pending" | undefined;
24297
+ apiKey?: string | undefined;
24298
+ } | undefined;
23799
24299
  vonageCredentials?: {
23800
- mobileNumber: string;
23801
24300
  apiKey: string;
24301
+ mobileNumber: string;
23802
24302
  apiSecret: string;
23803
24303
  } | undefined;
23804
24304
  lineRichMenuId?: string | null | undefined;
@@ -24212,7 +24712,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24212
24712
  deletedAt: z.ZodNullable<z.ZodDate>;
24213
24713
  message: z.ZodString;
24214
24714
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
24215
- 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"]>;
24715
+ 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"]>;
24216
24716
  readAt: z.ZodDate;
24217
24717
  metadata: z.ZodAny;
24218
24718
  platformId: z.ZodString;
@@ -24870,7 +25370,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
24870
25370
  };
24871
25371
  }>;
24872
25372
  }, "strip", z.ZodTypeAny, {
24873
- 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";
25373
+ 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";
24874
25374
  message: string;
24875
25375
  id: string;
24876
25376
  url: string;
@@ -25032,7 +25532,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
25032
25532
  metadata?: any;
25033
25533
  template?: any;
25034
25534
  }, {
25035
- 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";
25535
+ 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";
25036
25536
  message: string;
25037
25537
  id: string;
25038
25538
  url: string;
@@ -26453,7 +26953,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
26453
26953
  deletedAt: z.ZodNullable<z.ZodDate>;
26454
26954
  message: z.ZodString;
26455
26955
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
26456
- 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"]>;
26956
+ 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"]>;
26457
26957
  readAt: z.ZodDate;
26458
26958
  metadata: z.ZodAny;
26459
26959
  platformId: z.ZodString;
@@ -27949,17 +28449,45 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27949
28449
  channelSecret: z.ZodOptional<z.ZodString>;
27950
28450
  additionalCredentials: z.ZodOptional<z.ZodAny>;
27951
28451
  senderId: z.ZodOptional<z.ZodString>;
28452
+ whatsapp: z.ZodOptional<z.ZodObject<{
28453
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
28454
+ wabaExternalId: z.ZodString;
28455
+ phoneNumberId: z.ZodString;
28456
+ email: z.ZodString;
28457
+ clientId: z.ZodOptional<z.ZodString>;
28458
+ channelId: z.ZodOptional<z.ZodString>;
28459
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
28460
+ apiKey: z.ZodOptional<z.ZodString>;
28461
+ }, "strip", z.ZodTypeAny, {
28462
+ email: string;
28463
+ wabaExternalId: string;
28464
+ phoneNumberId: string;
28465
+ wabaBusinessId?: string | undefined;
28466
+ clientId?: string | undefined;
28467
+ channelId?: string | undefined;
28468
+ status?: "active" | "pending" | undefined;
28469
+ apiKey?: string | undefined;
28470
+ }, {
28471
+ email: string;
28472
+ wabaExternalId: string;
28473
+ phoneNumberId: string;
28474
+ wabaBusinessId?: string | undefined;
28475
+ clientId?: string | undefined;
28476
+ channelId?: string | undefined;
28477
+ status?: "active" | "pending" | undefined;
28478
+ apiKey?: string | undefined;
28479
+ }>>;
27952
28480
  vonageCredentials: z.ZodOptional<z.ZodObject<{
27953
28481
  mobileNumber: z.ZodString;
27954
28482
  apiKey: z.ZodString;
27955
28483
  apiSecret: z.ZodString;
27956
28484
  }, "strip", z.ZodTypeAny, {
27957
- mobileNumber: string;
27958
28485
  apiKey: string;
28486
+ mobileNumber: string;
27959
28487
  apiSecret: string;
27960
28488
  }, {
27961
- mobileNumber: string;
27962
28489
  apiKey: string;
28490
+ mobileNumber: string;
27963
28491
  apiSecret: string;
27964
28492
  }>>;
27965
28493
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -27971,9 +28499,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27971
28499
  channelSecret?: string | undefined;
27972
28500
  additionalCredentials?: any;
27973
28501
  senderId?: string | undefined;
28502
+ whatsapp?: {
28503
+ email: string;
28504
+ wabaExternalId: string;
28505
+ phoneNumberId: string;
28506
+ wabaBusinessId?: string | undefined;
28507
+ clientId?: string | undefined;
28508
+ channelId?: string | undefined;
28509
+ status?: "active" | "pending" | undefined;
28510
+ apiKey?: string | undefined;
28511
+ } | undefined;
27974
28512
  vonageCredentials?: {
27975
- mobileNumber: string;
27976
28513
  apiKey: string;
28514
+ mobileNumber: string;
27977
28515
  apiSecret: string;
27978
28516
  } | undefined;
27979
28517
  lineRichMenuId?: string | null | undefined;
@@ -27985,9 +28523,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
27985
28523
  channelSecret?: string | undefined;
27986
28524
  additionalCredentials?: any;
27987
28525
  senderId?: string | undefined;
28526
+ whatsapp?: {
28527
+ email: string;
28528
+ wabaExternalId: string;
28529
+ phoneNumberId: string;
28530
+ wabaBusinessId?: string | undefined;
28531
+ clientId?: string | undefined;
28532
+ channelId?: string | undefined;
28533
+ status?: "active" | "pending" | undefined;
28534
+ apiKey?: string | undefined;
28535
+ } | undefined;
27988
28536
  vonageCredentials?: {
27989
- mobileNumber: string;
27990
28537
  apiKey: string;
28538
+ mobileNumber: string;
27991
28539
  apiSecret: string;
27992
28540
  } | undefined;
27993
28541
  lineRichMenuId?: string | null | undefined;
@@ -28233,9 +28781,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28233
28781
  channelSecret?: string | undefined;
28234
28782
  additionalCredentials?: any;
28235
28783
  senderId?: string | undefined;
28784
+ whatsapp?: {
28785
+ email: string;
28786
+ wabaExternalId: string;
28787
+ phoneNumberId: string;
28788
+ wabaBusinessId?: string | undefined;
28789
+ clientId?: string | undefined;
28790
+ channelId?: string | undefined;
28791
+ status?: "active" | "pending" | undefined;
28792
+ apiKey?: string | undefined;
28793
+ } | undefined;
28236
28794
  vonageCredentials?: {
28237
- mobileNumber: string;
28238
28795
  apiKey: string;
28796
+ mobileNumber: string;
28239
28797
  apiSecret: string;
28240
28798
  } | undefined;
28241
28799
  lineRichMenuId?: string | null | undefined;
@@ -28312,9 +28870,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28312
28870
  channelSecret?: string | undefined;
28313
28871
  additionalCredentials?: any;
28314
28872
  senderId?: string | undefined;
28873
+ whatsapp?: {
28874
+ email: string;
28875
+ wabaExternalId: string;
28876
+ phoneNumberId: string;
28877
+ wabaBusinessId?: string | undefined;
28878
+ clientId?: string | undefined;
28879
+ channelId?: string | undefined;
28880
+ status?: "active" | "pending" | undefined;
28881
+ apiKey?: string | undefined;
28882
+ } | undefined;
28315
28883
  vonageCredentials?: {
28316
- mobileNumber: string;
28317
28884
  apiKey: string;
28885
+ mobileNumber: string;
28318
28886
  apiSecret: string;
28319
28887
  } | undefined;
28320
28888
  lineRichMenuId?: string | null | undefined;
@@ -28839,9 +29407,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
28839
29407
  channelSecret?: string | undefined;
28840
29408
  additionalCredentials?: any;
28841
29409
  senderId?: string | undefined;
29410
+ whatsapp?: {
29411
+ email: string;
29412
+ wabaExternalId: string;
29413
+ phoneNumberId: string;
29414
+ wabaBusinessId?: string | undefined;
29415
+ clientId?: string | undefined;
29416
+ channelId?: string | undefined;
29417
+ status?: "active" | "pending" | undefined;
29418
+ apiKey?: string | undefined;
29419
+ } | undefined;
28842
29420
  vonageCredentials?: {
28843
- mobileNumber: string;
28844
29421
  apiKey: string;
29422
+ mobileNumber: string;
28845
29423
  apiSecret: string;
28846
29424
  } | undefined;
28847
29425
  lineRichMenuId?: string | null | undefined;
@@ -29229,9 +29807,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29229
29807
  channelSecret?: string | undefined;
29230
29808
  additionalCredentials?: any;
29231
29809
  senderId?: string | undefined;
29810
+ whatsapp?: {
29811
+ email: string;
29812
+ wabaExternalId: string;
29813
+ phoneNumberId: string;
29814
+ wabaBusinessId?: string | undefined;
29815
+ clientId?: string | undefined;
29816
+ channelId?: string | undefined;
29817
+ status?: "active" | "pending" | undefined;
29818
+ apiKey?: string | undefined;
29819
+ } | undefined;
29232
29820
  vonageCredentials?: {
29233
- mobileNumber: string;
29234
29821
  apiKey: string;
29822
+ mobileNumber: string;
29235
29823
  apiSecret: string;
29236
29824
  } | undefined;
29237
29825
  lineRichMenuId?: string | null | undefined;
@@ -29648,7 +30236,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
29648
30236
  deletedAt: z.ZodNullable<z.ZodDate>;
29649
30237
  message: z.ZodString;
29650
30238
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
29651
- 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"]>;
30239
+ 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"]>;
29652
30240
  readAt: z.ZodDate;
29653
30241
  metadata: z.ZodAny;
29654
30242
  platformId: z.ZodString;
@@ -30306,7 +30894,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30306
30894
  };
30307
30895
  }>;
30308
30896
  }, "strip", z.ZodTypeAny, {
30309
- 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";
30897
+ 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";
30310
30898
  message: string;
30311
30899
  id: string;
30312
30900
  url: string;
@@ -30468,7 +31056,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
30468
31056
  metadata?: any;
30469
31057
  template?: any;
30470
31058
  }, {
30471
- 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";
31059
+ 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";
30472
31060
  message: string;
30473
31061
  id: string;
30474
31062
  url: string;
@@ -31270,7 +31858,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31270
31858
  editedMessageid: z.ZodString;
31271
31859
  label: z.ZodOptional<z.ZodString>;
31272
31860
  }, "strip", z.ZodTypeAny, {
31273
- 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";
31861
+ 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";
31274
31862
  message: string;
31275
31863
  id: string;
31276
31864
  url: string;
@@ -31392,9 +31980,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31392
31980
  channelSecret?: string | undefined;
31393
31981
  additionalCredentials?: any;
31394
31982
  senderId?: string | undefined;
31983
+ whatsapp?: {
31984
+ email: string;
31985
+ wabaExternalId: string;
31986
+ phoneNumberId: string;
31987
+ wabaBusinessId?: string | undefined;
31988
+ clientId?: string | undefined;
31989
+ channelId?: string | undefined;
31990
+ status?: "active" | "pending" | undefined;
31991
+ apiKey?: string | undefined;
31992
+ } | undefined;
31395
31993
  vonageCredentials?: {
31396
- mobileNumber: string;
31397
31994
  apiKey: string;
31995
+ mobileNumber: string;
31398
31996
  apiSecret: string;
31399
31997
  } | undefined;
31400
31998
  lineRichMenuId?: string | null | undefined;
@@ -31786,7 +32384,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31786
32384
  previewUrl: string;
31787
32385
  imageSetId: string;
31788
32386
  repliedMessage: {
31789
- 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";
32387
+ 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";
31790
32388
  message: string;
31791
32389
  id: string;
31792
32390
  url: string;
@@ -31997,7 +32595,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
31997
32595
  template?: any;
31998
32596
  label?: string | undefined;
31999
32597
  }, {
32000
- 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";
32598
+ 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";
32001
32599
  message: string;
32002
32600
  id: string;
32003
32601
  url: string;
@@ -32119,9 +32717,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32119
32717
  channelSecret?: string | undefined;
32120
32718
  additionalCredentials?: any;
32121
32719
  senderId?: string | undefined;
32720
+ whatsapp?: {
32721
+ email: string;
32722
+ wabaExternalId: string;
32723
+ phoneNumberId: string;
32724
+ wabaBusinessId?: string | undefined;
32725
+ clientId?: string | undefined;
32726
+ channelId?: string | undefined;
32727
+ status?: "active" | "pending" | undefined;
32728
+ apiKey?: string | undefined;
32729
+ } | undefined;
32122
32730
  vonageCredentials?: {
32123
- mobileNumber: string;
32124
32731
  apiKey: string;
32732
+ mobileNumber: string;
32125
32733
  apiSecret: string;
32126
32734
  } | undefined;
32127
32735
  lineRichMenuId?: string | null | undefined;
@@ -32513,7 +33121,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32513
33121
  previewUrl: string;
32514
33122
  imageSetId: string;
32515
33123
  repliedMessage: {
32516
- 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";
33124
+ 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";
32517
33125
  message: string;
32518
33126
  id: string;
32519
33127
  url: string;
@@ -32725,13 +33333,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32725
33333
  label?: string | undefined;
32726
33334
  }>, "many">;
32727
33335
  }, "strip", z.ZodTypeAny, {
32728
- 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";
33336
+ 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";
32729
33337
  message: string;
32730
33338
  id: string;
32731
33339
  url: string;
32732
33340
  direction: "incoming" | "outgoing" | "system";
32733
33341
  children: {
32734
- 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";
33342
+ 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";
32735
33343
  message: string;
32736
33344
  id: string;
32737
33345
  url: string;
@@ -32853,9 +33461,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
32853
33461
  channelSecret?: string | undefined;
32854
33462
  additionalCredentials?: any;
32855
33463
  senderId?: string | undefined;
33464
+ whatsapp?: {
33465
+ email: string;
33466
+ wabaExternalId: string;
33467
+ phoneNumberId: string;
33468
+ wabaBusinessId?: string | undefined;
33469
+ clientId?: string | undefined;
33470
+ channelId?: string | undefined;
33471
+ status?: "active" | "pending" | undefined;
33472
+ apiKey?: string | undefined;
33473
+ } | undefined;
32856
33474
  vonageCredentials?: {
32857
- mobileNumber: string;
32858
33475
  apiKey: string;
33476
+ mobileNumber: string;
32859
33477
  apiSecret: string;
32860
33478
  } | undefined;
32861
33479
  lineRichMenuId?: string | null | undefined;
@@ -33247,7 +33865,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33247
33865
  previewUrl: string;
33248
33866
  imageSetId: string;
33249
33867
  repliedMessage: {
33250
- 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";
33868
+ 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";
33251
33869
  message: string;
33252
33870
  id: string;
33253
33871
  url: string;
@@ -33575,9 +34193,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33575
34193
  channelSecret?: string | undefined;
33576
34194
  additionalCredentials?: any;
33577
34195
  senderId?: string | undefined;
34196
+ whatsapp?: {
34197
+ email: string;
34198
+ wabaExternalId: string;
34199
+ phoneNumberId: string;
34200
+ wabaBusinessId?: string | undefined;
34201
+ clientId?: string | undefined;
34202
+ channelId?: string | undefined;
34203
+ status?: "active" | "pending" | undefined;
34204
+ apiKey?: string | undefined;
34205
+ } | undefined;
33578
34206
  vonageCredentials?: {
33579
- mobileNumber: string;
33580
34207
  apiKey: string;
34208
+ mobileNumber: string;
33581
34209
  apiSecret: string;
33582
34210
  } | undefined;
33583
34211
  lineRichMenuId?: string | null | undefined;
@@ -33969,7 +34597,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
33969
34597
  previewUrl: string;
33970
34598
  imageSetId: string;
33971
34599
  repliedMessage: {
33972
- 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";
34600
+ 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";
33973
34601
  message: string;
33974
34602
  id: string;
33975
34603
  url: string;
@@ -34307,13 +34935,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34307
34935
  template?: any;
34308
34936
  metadata?: any;
34309
34937
  }, {
34310
- 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";
34938
+ 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";
34311
34939
  message: string;
34312
34940
  id: string;
34313
34941
  url: string;
34314
34942
  direction: "incoming" | "outgoing" | "system";
34315
34943
  children: {
34316
- 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";
34944
+ 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";
34317
34945
  message: string;
34318
34946
  id: string;
34319
34947
  url: string;
@@ -34435,9 +35063,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34435
35063
  channelSecret?: string | undefined;
34436
35064
  additionalCredentials?: any;
34437
35065
  senderId?: string | undefined;
35066
+ whatsapp?: {
35067
+ email: string;
35068
+ wabaExternalId: string;
35069
+ phoneNumberId: string;
35070
+ wabaBusinessId?: string | undefined;
35071
+ clientId?: string | undefined;
35072
+ channelId?: string | undefined;
35073
+ status?: "active" | "pending" | undefined;
35074
+ apiKey?: string | undefined;
35075
+ } | undefined;
34438
35076
  vonageCredentials?: {
34439
- mobileNumber: string;
34440
35077
  apiKey: string;
35078
+ mobileNumber: string;
34441
35079
  apiSecret: string;
34442
35080
  } | undefined;
34443
35081
  lineRichMenuId?: string | null | undefined;
@@ -34829,7 +35467,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
34829
35467
  previewUrl: string;
34830
35468
  imageSetId: string;
34831
35469
  repliedMessage: {
34832
- 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";
35470
+ 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";
34833
35471
  message: string;
34834
35472
  id: string;
34835
35473
  url: string;
@@ -35157,9 +35795,19 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35157
35795
  channelSecret?: string | undefined;
35158
35796
  additionalCredentials?: any;
35159
35797
  senderId?: string | undefined;
35798
+ whatsapp?: {
35799
+ email: string;
35800
+ wabaExternalId: string;
35801
+ phoneNumberId: string;
35802
+ wabaBusinessId?: string | undefined;
35803
+ clientId?: string | undefined;
35804
+ channelId?: string | undefined;
35805
+ status?: "active" | "pending" | undefined;
35806
+ apiKey?: string | undefined;
35807
+ } | undefined;
35160
35808
  vonageCredentials?: {
35161
- mobileNumber: string;
35162
35809
  apiKey: string;
35810
+ mobileNumber: string;
35163
35811
  apiSecret: string;
35164
35812
  } | undefined;
35165
35813
  lineRichMenuId?: string | null | undefined;
@@ -35551,7 +36199,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
35551
36199
  previewUrl: string;
35552
36200
  imageSetId: string;
35553
36201
  repliedMessage: {
35554
- 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";
36202
+ 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";
35555
36203
  message: string;
35556
36204
  id: string;
35557
36205
  url: string;