@open-wa/schema 5.9.7 → 5.11.0

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 (67) hide show
  1. package/dist/generated/index.cjs +1 -1
  2. package/dist/generated/index.cjs.map +1 -1
  3. package/dist/generated/index.d.cts +141 -583
  4. package/dist/generated/index.d.cts.map +1 -1
  5. package/dist/generated/index.d.mts +141 -583
  6. package/dist/generated/index.d.mts.map +1 -1
  7. package/dist/generated/index.mjs +1 -1
  8. package/dist/generated/index.mjs.map +1 -1
  9. package/dist/{index-j2GMQzWY.d.mts → index-DlfSVhzo.d.mts} +53 -234
  10. package/dist/index-DlfSVhzo.d.mts.map +1 -0
  11. package/dist/{index-BR61SSKs.d.cts → index-JLPIa9s-.d.cts} +53 -234
  12. package/dist/index-JLPIa9s-.d.cts.map +1 -0
  13. package/dist/index.cjs +20 -11
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +3 -3
  16. package/dist/index.d.mts +3 -3
  17. package/dist/index.mjs +16 -10
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/{interactive-DxUwKpzK.d.cts → interactive-BE_M4nur.d.cts} +14 -6
  20. package/dist/interactive-BE_M4nur.d.cts.map +1 -0
  21. package/dist/{interactive-DxUwKpzK.d.mts → interactive-BE_M4nur.d.mts} +14 -6
  22. package/dist/interactive-BE_M4nur.d.mts.map +1 -0
  23. package/dist/interactive-ClvvgmVP.cjs +630 -0
  24. package/dist/interactive-ClvvgmVP.cjs.map +1 -0
  25. package/dist/interactive-Dec4HB2U.mjs +475 -0
  26. package/dist/interactive-Dec4HB2U.mjs.map +1 -0
  27. package/dist/interactive.cjs +26 -304
  28. package/dist/interactive.d.cts +2 -2
  29. package/dist/interactive.d.mts +2 -2
  30. package/dist/interactive.mjs +2 -283
  31. package/dist/methods/index.cjs +1 -1
  32. package/dist/methods/index.d.cts +1 -1
  33. package/dist/methods/index.d.mts +1 -1
  34. package/dist/methods/index.mjs +1 -1
  35. package/dist/{methods-D4XLSUxh.cjs → methods-CILSsPyT.cjs} +27 -93
  36. package/dist/methods-CILSsPyT.cjs.map +1 -0
  37. package/dist/{methods-CpeSpB2P.mjs → methods-L7ijqbZM.mjs} +19 -79
  38. package/dist/methods-L7ijqbZM.mjs.map +1 -0
  39. package/package.json +3 -3
  40. package/src/__tests__/booking-time.contract.test.ts +88 -0
  41. package/src/__tests__/generators.contract.test.ts +82 -45
  42. package/src/booking-time.ts +39 -0
  43. package/src/common-types.ts +1 -1
  44. package/src/effect-projection.ts +90 -47
  45. package/src/events/asyncapi.ts +2 -2
  46. package/src/events/contracts.ts +10 -3
  47. package/src/events/polls.ts +1 -1
  48. package/src/generated/BaseClient.ts +12 -12
  49. package/src/generated/asyncapi.json +206 -95
  50. package/src/generated/openapi.json +1702 -1337
  51. package/src/interactive.ts +12 -1
  52. package/src/methods/calls.ts +4 -4
  53. package/src/methods/contacts.ts +1 -1
  54. package/src/methods/groups.ts +2 -2
  55. package/src/methods/messaging.ts +7 -7
  56. package/src/methods/session.ts +1 -1
  57. package/src/methods/whatsapp-events.ts +1 -1
  58. package/src/parameters.ts +2 -2
  59. package/src/return-types.ts +1 -1
  60. package/dist/index-BR61SSKs.d.cts.map +0 -1
  61. package/dist/index-j2GMQzWY.d.mts.map +0 -1
  62. package/dist/interactive-DxUwKpzK.d.cts.map +0 -1
  63. package/dist/interactive-DxUwKpzK.d.mts.map +0 -1
  64. package/dist/interactive.cjs.map +0 -1
  65. package/dist/interactive.mjs.map +0 -1
  66. package/dist/methods-CpeSpB2P.mjs.map +0 -1
  67. package/dist/methods-D4XLSUxh.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { n as AudioOutput, r as CallMediaOptions, t as AudioInput, u as VideoInput } from "./calling-media-TZ9L95OH.cjs";
2
2
  import { F as LicenseTier, p as OpenWAMethodSchema } from "./http-manifest-CqjUoaDB.cjs";
3
3
  import "./implementor-ACLHTHby.cjs";
4
- import { x as JsonValue } from "./interactive-DxUwKpzK.cjs";
4
+ import { C as JsonValue } from "./interactive-BE_M4nur.cjs";
5
5
  import { z } from "zod";
6
6
  import { CLOUD_PROVIDERS, CloudUploadOptions, CloudUploadOptionsSchema, Config, Config as ClientConfig, ConfigSchema, ConfigSchema as ClientConfigSchema, DIRECTORY_STRATEGY, DeepPartialConfig, DevTools, DevToolsSchema, LoggingTransport, LoggingTransportSchema, NotificationLanguage, OnError, PartialConfig, PartialConfigSchema, ProxyServerCredentials, ProxyServerCredentialsSchema, QRFormat, S3Sync, S3SyncSchema, SessionData, SessionDataSchema, StrictConfig, StrictConfigSchema, Viewport, ViewportSchema, getDefaultConfig, parseConfig, validateConfig } from "@open-wa/config";
7
7
  import { Schema } from "effect";
@@ -115,11 +115,7 @@ declare const ContactSchema: z.ZodObject<{
115
115
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
116
116
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
117
117
  eurl: z.ZodOptional<z.ZodString>;
118
- id: z.ZodOptional<z.ZodObject<{
119
- server: z.ZodString;
120
- user: z.ZodString;
121
- _serialized: z.ZodString;
122
- }, z.core.$strip>>;
118
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
123
119
  img: z.ZodOptional<z.ZodString>;
124
120
  imgFull: z.ZodOptional<z.ZodString>;
125
121
  tag: z.ZodOptional<z.ZodString>;
@@ -162,11 +158,7 @@ declare const ChatSchema: z.ZodObject<{
162
158
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
163
159
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
164
160
  eurl: z.ZodOptional<z.ZodString>;
165
- id: z.ZodOptional<z.ZodObject<{
166
- server: z.ZodString;
167
- user: z.ZodString;
168
- _serialized: z.ZodString;
169
- }, z.core.$strip>>;
161
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
170
162
  img: z.ZodOptional<z.ZodString>;
171
163
  imgFull: z.ZodOptional<z.ZodString>;
172
164
  tag: z.ZodOptional<z.ZodString>;
@@ -343,11 +335,7 @@ declare const MessageSchema: z.ZodObject<{
343
335
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
344
336
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
345
337
  eurl: z.ZodOptional<z.ZodString>;
346
- id: z.ZodOptional<z.ZodObject<{
347
- server: z.ZodString;
348
- user: z.ZodString;
349
- _serialized: z.ZodString;
350
- }, z.core.$strip>>;
338
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
351
339
  img: z.ZodOptional<z.ZodString>;
352
340
  imgFull: z.ZodOptional<z.ZodString>;
353
341
  tag: z.ZodOptional<z.ZodString>;
@@ -381,11 +369,7 @@ declare const MessageSchema: z.ZodObject<{
381
369
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
382
370
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
383
371
  eurl: z.ZodOptional<z.ZodString>;
384
- id: z.ZodOptional<z.ZodObject<{
385
- server: z.ZodString;
386
- user: z.ZodString;
387
- _serialized: z.ZodString;
388
- }, z.core.$strip>>;
372
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
389
373
  img: z.ZodOptional<z.ZodString>;
390
374
  imgFull: z.ZodOptional<z.ZodString>;
391
375
  tag: z.ZodOptional<z.ZodString>;
@@ -539,11 +523,7 @@ declare const CommunityParticipantsSchema: z.ZodObject<{
539
523
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
540
524
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
541
525
  eurl: z.ZodOptional<z.ZodString>;
542
- id: z.ZodOptional<z.ZodObject<{
543
- server: z.ZodString;
544
- user: z.ZodString;
545
- _serialized: z.ZodString;
546
- }, z.core.$strip>>;
526
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
547
527
  img: z.ZodOptional<z.ZodString>;
548
528
  imgFull: z.ZodOptional<z.ZodString>;
549
529
  tag: z.ZodOptional<z.ZodString>;
@@ -576,11 +556,7 @@ declare const CommunityAdminsSchema: z.ZodObject<{
576
556
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
577
557
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
578
558
  eurl: z.ZodOptional<z.ZodString>;
579
- id: z.ZodOptional<z.ZodObject<{
580
- server: z.ZodString;
581
- user: z.ZodString;
582
- _serialized: z.ZodString;
583
- }, z.core.$strip>>;
559
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
584
560
  img: z.ZodOptional<z.ZodString>;
585
561
  imgFull: z.ZodOptional<z.ZodString>;
586
562
  tag: z.ZodOptional<z.ZodString>;
@@ -640,7 +616,6 @@ declare const HealthCheckSchema: z.ZodObject<{
640
616
  state: z.ZodOptional<z.ZodString>;
641
617
  isPhoneDisconnected: z.ZodOptional<z.ZodBoolean>;
642
618
  isHere: z.ZodOptional<z.ZodBoolean>;
643
- wapiInjected: z.ZodOptional<z.ZodBoolean>;
644
619
  online: z.ZodOptional<z.ZodBoolean>;
645
620
  tryingToReachPhone: z.ZodOptional<z.ZodBoolean>;
646
621
  retryingIn: z.ZodOptional<z.ZodNumber>;
@@ -837,11 +812,7 @@ declare const OrderSchema: z.ZodObject<{
837
812
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
838
813
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
839
814
  eurl: z.ZodOptional<z.ZodString>;
840
- id: z.ZodOptional<z.ZodObject<{
841
- server: z.ZodString;
842
- user: z.ZodString;
843
- _serialized: z.ZodString;
844
- }, z.core.$strip>>;
815
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
845
816
  img: z.ZodOptional<z.ZodString>;
846
817
  imgFull: z.ZodOptional<z.ZodString>;
847
818
  tag: z.ZodOptional<z.ZodString>;
@@ -875,11 +846,7 @@ declare const OrderSchema: z.ZodObject<{
875
846
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
876
847
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
877
848
  eurl: z.ZodOptional<z.ZodString>;
878
- id: z.ZodOptional<z.ZodObject<{
879
- server: z.ZodString;
880
- user: z.ZodString;
881
- _serialized: z.ZodString;
882
- }, z.core.$strip>>;
849
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
883
850
  img: z.ZodOptional<z.ZodString>;
884
851
  imgFull: z.ZodOptional<z.ZodString>;
885
852
  tag: z.ZodOptional<z.ZodString>;
@@ -985,11 +952,7 @@ declare const NumberProfileSchema: z.ZodObject<{
985
952
  msgs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>>;
986
953
  profilePicThumbObj: z.ZodOptional<z.ZodOptional<z.ZodObject<{
987
954
  eurl: z.ZodOptional<z.ZodString>;
988
- id: z.ZodOptional<z.ZodObject<{
989
- server: z.ZodString;
990
- user: z.ZodString;
991
- _serialized: z.ZodString;
992
- }, z.core.$strip>>;
955
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
993
956
  img: z.ZodOptional<z.ZodString>;
994
957
  imgFull: z.ZodOptional<z.ZodString>;
995
958
  tag: z.ZodOptional<z.ZodString>;
@@ -1143,11 +1106,7 @@ declare const StorySchema: z.ZodObject<{
1143
1106
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1144
1107
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
1145
1108
  eurl: z.ZodOptional<z.ZodString>;
1146
- id: z.ZodOptional<z.ZodObject<{
1147
- server: z.ZodString;
1148
- user: z.ZodString;
1149
- _serialized: z.ZodString;
1150
- }, z.core.$strip>>;
1109
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
1151
1110
  img: z.ZodOptional<z.ZodString>;
1152
1111
  imgFull: z.ZodOptional<z.ZodString>;
1153
1112
  tag: z.ZodOptional<z.ZodString>;
@@ -1203,11 +1162,7 @@ declare const StorySchema: z.ZodObject<{
1203
1162
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1204
1163
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
1205
1164
  eurl: z.ZodOptional<z.ZodString>;
1206
- id: z.ZodOptional<z.ZodObject<{
1207
- server: z.ZodString;
1208
- user: z.ZodString;
1209
- _serialized: z.ZodString;
1210
- }, z.core.$strip>>;
1165
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
1211
1166
  img: z.ZodOptional<z.ZodString>;
1212
1167
  imgFull: z.ZodOptional<z.ZodString>;
1213
1168
  tag: z.ZodOptional<z.ZodString>;
@@ -1771,11 +1726,7 @@ declare const getMessageById: OpenWAMethodSchema<z.ZodObject<{
1771
1726
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1772
1727
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
1773
1728
  eurl: z.ZodOptional<z.ZodString>;
1774
- id: z.ZodOptional<z.ZodObject<{
1775
- server: z.ZodString;
1776
- user: z.ZodString;
1777
- _serialized: z.ZodString;
1778
- }, z.core.$strip>>;
1729
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
1779
1730
  img: z.ZodOptional<z.ZodString>;
1780
1731
  imgFull: z.ZodOptional<z.ZodString>;
1781
1732
  tag: z.ZodOptional<z.ZodString>;
@@ -1809,11 +1760,7 @@ declare const getMessageById: OpenWAMethodSchema<z.ZodObject<{
1809
1760
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1810
1761
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
1811
1762
  eurl: z.ZodOptional<z.ZodString>;
1812
- id: z.ZodOptional<z.ZodObject<{
1813
- server: z.ZodString;
1814
- user: z.ZodString;
1815
- _serialized: z.ZodString;
1816
- }, z.core.$strip>>;
1763
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
1817
1764
  img: z.ZodOptional<z.ZodString>;
1818
1765
  imgFull: z.ZodOptional<z.ZodString>;
1819
1766
  tag: z.ZodOptional<z.ZodString>;
@@ -1992,11 +1939,7 @@ declare const getAlbumMessages: OpenWAMethodSchema<z.ZodObject<{
1992
1939
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1993
1940
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
1994
1941
  eurl: z.ZodOptional<z.ZodString>;
1995
- id: z.ZodOptional<z.ZodObject<{
1996
- server: z.ZodString;
1997
- user: z.ZodString;
1998
- _serialized: z.ZodString;
1999
- }, z.core.$strip>>;
1942
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2000
1943
  img: z.ZodOptional<z.ZodString>;
2001
1944
  imgFull: z.ZodOptional<z.ZodString>;
2002
1945
  tag: z.ZodOptional<z.ZodString>;
@@ -2030,11 +1973,7 @@ declare const getAlbumMessages: OpenWAMethodSchema<z.ZodObject<{
2030
1973
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2031
1974
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2032
1975
  eurl: z.ZodOptional<z.ZodString>;
2033
- id: z.ZodOptional<z.ZodObject<{
2034
- server: z.ZodString;
2035
- user: z.ZodString;
2036
- _serialized: z.ZodString;
2037
- }, z.core.$strip>>;
1976
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2038
1977
  img: z.ZodOptional<z.ZodString>;
2039
1978
  imgFull: z.ZodOptional<z.ZodString>;
2040
1979
  tag: z.ZodOptional<z.ZodString>;
@@ -2215,11 +2154,7 @@ declare const getAllMessages: OpenWAMethodSchema<z.ZodObject<{
2215
2154
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2216
2155
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2217
2156
  eurl: z.ZodOptional<z.ZodString>;
2218
- id: z.ZodOptional<z.ZodObject<{
2219
- server: z.ZodString;
2220
- user: z.ZodString;
2221
- _serialized: z.ZodString;
2222
- }, z.core.$strip>>;
2157
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2223
2158
  img: z.ZodOptional<z.ZodString>;
2224
2159
  imgFull: z.ZodOptional<z.ZodString>;
2225
2160
  tag: z.ZodOptional<z.ZodString>;
@@ -2253,11 +2188,7 @@ declare const getAllMessages: OpenWAMethodSchema<z.ZodObject<{
2253
2188
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2254
2189
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2255
2190
  eurl: z.ZodOptional<z.ZodString>;
2256
- id: z.ZodOptional<z.ZodObject<{
2257
- server: z.ZodString;
2258
- user: z.ZodString;
2259
- _serialized: z.ZodString;
2260
- }, z.core.$strip>>;
2191
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2261
2192
  img: z.ZodOptional<z.ZodString>;
2262
2193
  imgFull: z.ZodOptional<z.ZodString>;
2263
2194
  tag: z.ZodOptional<z.ZodString>;
@@ -2436,11 +2367,7 @@ declare const getMyLastMessage: OpenWAMethodSchema<z.ZodObject<{
2436
2367
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2437
2368
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2438
2369
  eurl: z.ZodOptional<z.ZodString>;
2439
- id: z.ZodOptional<z.ZodObject<{
2440
- server: z.ZodString;
2441
- user: z.ZodString;
2442
- _serialized: z.ZodString;
2443
- }, z.core.$strip>>;
2370
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2444
2371
  img: z.ZodOptional<z.ZodString>;
2445
2372
  imgFull: z.ZodOptional<z.ZodString>;
2446
2373
  tag: z.ZodOptional<z.ZodString>;
@@ -2474,11 +2401,7 @@ declare const getMyLastMessage: OpenWAMethodSchema<z.ZodObject<{
2474
2401
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2475
2402
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2476
2403
  eurl: z.ZodOptional<z.ZodString>;
2477
- id: z.ZodOptional<z.ZodObject<{
2478
- server: z.ZodString;
2479
- user: z.ZodString;
2480
- _serialized: z.ZodString;
2481
- }, z.core.$strip>>;
2404
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2482
2405
  img: z.ZodOptional<z.ZodString>;
2483
2406
  imgFull: z.ZodOptional<z.ZodString>;
2484
2407
  tag: z.ZodOptional<z.ZodString>;
@@ -2657,11 +2580,7 @@ declare const getStarredMessages: OpenWAMethodSchema<z.ZodObject<{
2657
2580
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2658
2581
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2659
2582
  eurl: z.ZodOptional<z.ZodString>;
2660
- id: z.ZodOptional<z.ZodObject<{
2661
- server: z.ZodString;
2662
- user: z.ZodString;
2663
- _serialized: z.ZodString;
2664
- }, z.core.$strip>>;
2583
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2665
2584
  img: z.ZodOptional<z.ZodString>;
2666
2585
  imgFull: z.ZodOptional<z.ZodString>;
2667
2586
  tag: z.ZodOptional<z.ZodString>;
@@ -2695,11 +2614,7 @@ declare const getStarredMessages: OpenWAMethodSchema<z.ZodObject<{
2695
2614
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2696
2615
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2697
2616
  eurl: z.ZodOptional<z.ZodString>;
2698
- id: z.ZodOptional<z.ZodObject<{
2699
- server: z.ZodString;
2700
- user: z.ZodString;
2701
- _serialized: z.ZodString;
2702
- }, z.core.$strip>>;
2617
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2703
2618
  img: z.ZodOptional<z.ZodString>;
2704
2619
  imgFull: z.ZodOptional<z.ZodString>;
2705
2620
  tag: z.ZodOptional<z.ZodString>;
@@ -2876,11 +2791,7 @@ declare const getUnsentMessages: OpenWAMethodSchema<z.ZodObject<{}, z.core.$stri
2876
2791
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2877
2792
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2878
2793
  eurl: z.ZodOptional<z.ZodString>;
2879
- id: z.ZodOptional<z.ZodObject<{
2880
- server: z.ZodString;
2881
- user: z.ZodString;
2882
- _serialized: z.ZodString;
2883
- }, z.core.$strip>>;
2794
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2884
2795
  img: z.ZodOptional<z.ZodString>;
2885
2796
  imgFull: z.ZodOptional<z.ZodString>;
2886
2797
  tag: z.ZodOptional<z.ZodString>;
@@ -2914,11 +2825,7 @@ declare const getUnsentMessages: OpenWAMethodSchema<z.ZodObject<{}, z.core.$stri
2914
2825
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
2915
2826
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
2916
2827
  eurl: z.ZodOptional<z.ZodString>;
2917
- id: z.ZodOptional<z.ZodObject<{
2918
- server: z.ZodString;
2919
- user: z.ZodString;
2920
- _serialized: z.ZodString;
2921
- }, z.core.$strip>>;
2828
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
2922
2829
  img: z.ZodOptional<z.ZodString>;
2923
2830
  imgFull: z.ZodOptional<z.ZodString>;
2924
2831
  tag: z.ZodOptional<z.ZodString>;
@@ -3149,11 +3056,7 @@ declare const loadEarlierMessages: OpenWAMethodSchema<z.ZodObject<{
3149
3056
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3150
3057
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3151
3058
  eurl: z.ZodOptional<z.ZodString>;
3152
- id: z.ZodOptional<z.ZodObject<{
3153
- server: z.ZodString;
3154
- user: z.ZodString;
3155
- _serialized: z.ZodString;
3156
- }, z.core.$strip>>;
3059
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3157
3060
  img: z.ZodOptional<z.ZodString>;
3158
3061
  imgFull: z.ZodOptional<z.ZodString>;
3159
3062
  tag: z.ZodOptional<z.ZodString>;
@@ -3187,11 +3090,7 @@ declare const loadEarlierMessages: OpenWAMethodSchema<z.ZodObject<{
3187
3090
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3188
3091
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3189
3092
  eurl: z.ZodOptional<z.ZodString>;
3190
- id: z.ZodOptional<z.ZodObject<{
3191
- server: z.ZodString;
3192
- user: z.ZodString;
3193
- _serialized: z.ZodString;
3194
- }, z.core.$strip>>;
3093
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3195
3094
  img: z.ZodOptional<z.ZodString>;
3196
3095
  imgFull: z.ZodOptional<z.ZodString>;
3197
3096
  tag: z.ZodOptional<z.ZodString>;
@@ -3292,11 +3191,7 @@ declare const getAllChats: OpenWAMethodSchema<z.ZodObject<{
3292
3191
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3293
3192
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3294
3193
  eurl: z.ZodOptional<z.ZodString>;
3295
- id: z.ZodOptional<z.ZodObject<{
3296
- server: z.ZodString;
3297
- user: z.ZodString;
3298
- _serialized: z.ZodString;
3299
- }, z.core.$strip>>;
3194
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3300
3195
  img: z.ZodOptional<z.ZodString>;
3301
3196
  imgFull: z.ZodOptional<z.ZodString>;
3302
3197
  tag: z.ZodOptional<z.ZodString>;
@@ -3360,11 +3255,7 @@ declare const getChat: OpenWAMethodSchema<z.ZodObject<{
3360
3255
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3361
3256
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3362
3257
  eurl: z.ZodOptional<z.ZodString>;
3363
- id: z.ZodOptional<z.ZodObject<{
3364
- server: z.ZodString;
3365
- user: z.ZodString;
3366
- _serialized: z.ZodString;
3367
- }, z.core.$strip>>;
3258
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3368
3259
  img: z.ZodOptional<z.ZodString>;
3369
3260
  imgFull: z.ZodOptional<z.ZodString>;
3370
3261
  tag: z.ZodOptional<z.ZodString>;
@@ -3420,11 +3311,7 @@ declare const getChatWithNonContacts: OpenWAMethodSchema<z.ZodObject<{}, z.core.
3420
3311
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3421
3312
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3422
3313
  eurl: z.ZodOptional<z.ZodString>;
3423
- id: z.ZodOptional<z.ZodObject<{
3424
- server: z.ZodString;
3425
- user: z.ZodString;
3426
- _serialized: z.ZodString;
3427
- }, z.core.$strip>>;
3314
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3428
3315
  img: z.ZodOptional<z.ZodString>;
3429
3316
  imgFull: z.ZodOptional<z.ZodString>;
3430
3317
  tag: z.ZodOptional<z.ZodString>;
@@ -3499,11 +3386,7 @@ declare const getAllContacts: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>,
3499
3386
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3500
3387
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3501
3388
  eurl: z.ZodOptional<z.ZodString>;
3502
- id: z.ZodOptional<z.ZodObject<{
3503
- server: z.ZodString;
3504
- user: z.ZodString;
3505
- _serialized: z.ZodString;
3506
- }, z.core.$strip>>;
3389
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3507
3390
  img: z.ZodOptional<z.ZodString>;
3508
3391
  imgFull: z.ZodOptional<z.ZodString>;
3509
3392
  tag: z.ZodOptional<z.ZodString>;
@@ -3534,11 +3417,7 @@ declare const getContact: OpenWAMethodSchema<z.ZodObject<{
3534
3417
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3535
3418
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3536
3419
  eurl: z.ZodOptional<z.ZodString>;
3537
- id: z.ZodOptional<z.ZodObject<{
3538
- server: z.ZodString;
3539
- user: z.ZodString;
3540
- _serialized: z.ZodString;
3541
- }, z.core.$strip>>;
3420
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3542
3421
  img: z.ZodOptional<z.ZodString>;
3543
3422
  imgFull: z.ZodOptional<z.ZodString>;
3544
3423
  tag: z.ZodOptional<z.ZodString>;
@@ -3575,11 +3454,7 @@ declare const getNumberProfile: OpenWAMethodSchema<z.ZodObject<{
3575
3454
  msgs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>>;
3576
3455
  profilePicThumbObj: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3577
3456
  eurl: z.ZodOptional<z.ZodString>;
3578
- id: z.ZodOptional<z.ZodObject<{
3579
- server: z.ZodString;
3580
- user: z.ZodString;
3581
- _serialized: z.ZodString;
3582
- }, z.core.$strip>>;
3457
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3583
3458
  img: z.ZodOptional<z.ZodString>;
3584
3459
  imgFull: z.ZodOptional<z.ZodString>;
3585
3460
  tag: z.ZodOptional<z.ZodString>;
@@ -3638,11 +3513,7 @@ declare const getGroupMembers: OpenWAMethodSchema<z.ZodObject<{
3638
3513
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3639
3514
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3640
3515
  eurl: z.ZodOptional<z.ZodString>;
3641
- id: z.ZodOptional<z.ZodObject<{
3642
- server: z.ZodString;
3643
- user: z.ZodString;
3644
- _serialized: z.ZodString;
3645
- }, z.core.$strip>>;
3516
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3646
3517
  img: z.ZodOptional<z.ZodString>;
3647
3518
  imgFull: z.ZodOptional<z.ZodString>;
3648
3519
  tag: z.ZodOptional<z.ZodString>;
@@ -3678,11 +3549,7 @@ declare const getAllGroups: OpenWAMethodSchema<z.ZodObject<{
3678
3549
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3679
3550
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3680
3551
  eurl: z.ZodOptional<z.ZodString>;
3681
- id: z.ZodOptional<z.ZodObject<{
3682
- server: z.ZodString;
3683
- user: z.ZodString;
3684
- _serialized: z.ZodString;
3685
- }, z.core.$strip>>;
3552
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3686
3553
  img: z.ZodOptional<z.ZodString>;
3687
3554
  imgFull: z.ZodOptional<z.ZodString>;
3688
3555
  tag: z.ZodOptional<z.ZodString>;
@@ -3786,11 +3653,7 @@ declare const joinGroupViaLink: OpenWAMethodSchema<z.ZodObject<{
3786
3653
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3787
3654
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3788
3655
  eurl: z.ZodOptional<z.ZodString>;
3789
- id: z.ZodOptional<z.ZodObject<{
3790
- server: z.ZodString;
3791
- user: z.ZodString;
3792
- _serialized: z.ZodString;
3793
- }, z.core.$strip>>;
3656
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3794
3657
  img: z.ZodOptional<z.ZodString>;
3795
3658
  imgFull: z.ZodOptional<z.ZodString>;
3796
3659
  tag: z.ZodOptional<z.ZodString>;
@@ -3948,11 +3811,7 @@ declare const getCommunityParticipants: OpenWAMethodSchema<z.ZodObject<{
3948
3811
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3949
3812
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3950
3813
  eurl: z.ZodOptional<z.ZodString>;
3951
- id: z.ZodOptional<z.ZodObject<{
3952
- server: z.ZodString;
3953
- user: z.ZodString;
3954
- _serialized: z.ZodString;
3955
- }, z.core.$strip>>;
3814
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3956
3815
  img: z.ZodOptional<z.ZodString>;
3957
3816
  imgFull: z.ZodOptional<z.ZodString>;
3958
3817
  tag: z.ZodOptional<z.ZodString>;
@@ -3987,11 +3846,7 @@ declare const getCommunityAdmins: OpenWAMethodSchema<z.ZodObject<{
3987
3846
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
3988
3847
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
3989
3848
  eurl: z.ZodOptional<z.ZodString>;
3990
- id: z.ZodOptional<z.ZodObject<{
3991
- server: z.ZodString;
3992
- user: z.ZodString;
3993
- _serialized: z.ZodString;
3994
- }, z.core.$strip>>;
3849
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
3995
3850
  img: z.ZodOptional<z.ZodString>;
3996
3851
  imgFull: z.ZodOptional<z.ZodString>;
3997
3852
  tag: z.ZodOptional<z.ZodString>;
@@ -4162,11 +4017,7 @@ declare const getStories: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.Z
4162
4017
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4163
4018
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4164
4019
  eurl: z.ZodOptional<z.ZodString>;
4165
- id: z.ZodOptional<z.ZodObject<{
4166
- server: z.ZodString;
4167
- user: z.ZodString;
4168
- _serialized: z.ZodString;
4169
- }, z.core.$strip>>;
4020
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4170
4021
  img: z.ZodOptional<z.ZodString>;
4171
4022
  imgFull: z.ZodOptional<z.ZodString>;
4172
4023
  tag: z.ZodOptional<z.ZodString>;
@@ -4222,11 +4073,7 @@ declare const getStories: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.Z
4222
4073
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4223
4074
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4224
4075
  eurl: z.ZodOptional<z.ZodString>;
4225
- id: z.ZodOptional<z.ZodObject<{
4226
- server: z.ZodString;
4227
- user: z.ZodString;
4228
- _serialized: z.ZodString;
4229
- }, z.core.$strip>>;
4076
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4230
4077
  img: z.ZodOptional<z.ZodString>;
4231
4078
  imgFull: z.ZodOptional<z.ZodString>;
4232
4079
  tag: z.ZodOptional<z.ZodString>;
@@ -4287,11 +4134,7 @@ declare const getChatsByLabel: OpenWAMethodSchema<z.ZodObject<{
4287
4134
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4288
4135
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4289
4136
  eurl: z.ZodOptional<z.ZodString>;
4290
- id: z.ZodOptional<z.ZodObject<{
4291
- server: z.ZodString;
4292
- user: z.ZodString;
4293
- _serialized: z.ZodString;
4294
- }, z.core.$strip>>;
4137
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4295
4138
  img: z.ZodOptional<z.ZodString>;
4296
4139
  imgFull: z.ZodOptional<z.ZodString>;
4297
4140
  tag: z.ZodOptional<z.ZodString>;
@@ -4561,11 +4404,7 @@ declare const getOrder: OpenWAMethodSchema<z.ZodObject<{
4561
4404
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4562
4405
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4563
4406
  eurl: z.ZodOptional<z.ZodString>;
4564
- id: z.ZodOptional<z.ZodObject<{
4565
- server: z.ZodString;
4566
- user: z.ZodString;
4567
- _serialized: z.ZodString;
4568
- }, z.core.$strip>>;
4407
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4569
4408
  img: z.ZodOptional<z.ZodString>;
4570
4409
  imgFull: z.ZodOptional<z.ZodString>;
4571
4410
  tag: z.ZodOptional<z.ZodString>;
@@ -4599,11 +4438,7 @@ declare const getOrder: OpenWAMethodSchema<z.ZodObject<{
4599
4438
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4600
4439
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4601
4440
  eurl: z.ZodOptional<z.ZodString>;
4602
- id: z.ZodOptional<z.ZodObject<{
4603
- server: z.ZodString;
4604
- user: z.ZodString;
4605
- _serialized: z.ZodString;
4606
- }, z.core.$strip>>;
4441
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4607
4442
  img: z.ZodOptional<z.ZodString>;
4608
4443
  imgFull: z.ZodOptional<z.ZodString>;
4609
4444
  tag: z.ZodOptional<z.ZodString>;
@@ -4713,7 +4548,6 @@ declare const healthCheck: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.
4713
4548
  state: z.ZodOptional<z.ZodString>;
4714
4549
  isPhoneDisconnected: z.ZodOptional<z.ZodBoolean>;
4715
4550
  isHere: z.ZodOptional<z.ZodBoolean>;
4716
- wapiInjected: z.ZodOptional<z.ZodBoolean>;
4717
4551
  online: z.ZodOptional<z.ZodBoolean>;
4718
4552
  tryingToReachPhone: z.ZodOptional<z.ZodBoolean>;
4719
4553
  retryingIn: z.ZodOptional<z.ZodNumber>;
@@ -4868,11 +4702,7 @@ declare const decryptMedia: OpenWAMethodSchema<z.ZodObject<{
4868
4702
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4869
4703
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4870
4704
  eurl: z.ZodOptional<z.ZodString>;
4871
- id: z.ZodOptional<z.ZodObject<{
4872
- server: z.ZodString;
4873
- user: z.ZodString;
4874
- _serialized: z.ZodString;
4875
- }, z.core.$strip>>;
4705
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4876
4706
  img: z.ZodOptional<z.ZodString>;
4877
4707
  imgFull: z.ZodOptional<z.ZodString>;
4878
4708
  tag: z.ZodOptional<z.ZodString>;
@@ -4906,11 +4736,7 @@ declare const decryptMedia: OpenWAMethodSchema<z.ZodObject<{
4906
4736
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
4907
4737
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
4908
4738
  eurl: z.ZodOptional<z.ZodString>;
4909
- id: z.ZodOptional<z.ZodObject<{
4910
- server: z.ZodString;
4911
- user: z.ZodString;
4912
- _serialized: z.ZodString;
4913
- }, z.core.$strip>>;
4739
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
4914
4740
  img: z.ZodOptional<z.ZodString>;
4915
4741
  imgFull: z.ZodOptional<z.ZodString>;
4916
4742
  tag: z.ZodOptional<z.ZodString>;
@@ -5089,11 +4915,7 @@ declare const downloadMedia: OpenWAMethodSchema<z.ZodObject<{
5089
4915
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
5090
4916
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
5091
4917
  eurl: z.ZodOptional<z.ZodString>;
5092
- id: z.ZodOptional<z.ZodObject<{
5093
- server: z.ZodString;
5094
- user: z.ZodString;
5095
- _serialized: z.ZodString;
5096
- }, z.core.$strip>>;
4918
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
5097
4919
  img: z.ZodOptional<z.ZodString>;
5098
4920
  imgFull: z.ZodOptional<z.ZodString>;
5099
4921
  tag: z.ZodOptional<z.ZodString>;
@@ -5127,11 +4949,7 @@ declare const downloadMedia: OpenWAMethodSchema<z.ZodObject<{
5127
4949
  msgs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
5128
4950
  profilePicThumbObj: z.ZodOptional<z.ZodObject<{
5129
4951
  eurl: z.ZodOptional<z.ZodString>;
5130
- id: z.ZodOptional<z.ZodObject<{
5131
- server: z.ZodString;
5132
- user: z.ZodString;
5133
- _serialized: z.ZodString;
5134
- }, z.core.$strip>>;
4952
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
5135
4953
  img: z.ZodOptional<z.ZodString>;
5136
4954
  imgFull: z.ZodOptional<z.ZodString>;
5137
4955
  tag: z.ZodOptional<z.ZodString>;
@@ -5291,8 +5109,8 @@ declare const SendInteractiveInputSchema: z.ZodObject<{
5291
5109
  title: z.ZodOptional<z.ZodString>;
5292
5110
  buttonLabel: z.ZodDefault<z.ZodString>;
5293
5111
  booking: z.ZodObject<{
5294
- startAt: z.ZodISODateTime;
5295
- endAt: z.ZodOptional<z.ZodISODateTime>;
5112
+ startAt: z.ZodType<string & import("effect/Brand").Brand<"BookingTimestamp">, string, z.core.$ZodTypeInternals<string & import("effect/Brand").Brand<"BookingTimestamp">, string>>;
5113
+ endAt: z.ZodOptional<z.ZodType<string & import("effect/Brand").Brand<"BookingTimestamp">, string, z.core.$ZodTypeInternals<string & import("effect/Brand").Brand<"BookingTimestamp">, string>>>;
5296
5114
  location: z.ZodOptional<z.ZodString>;
5297
5115
  url: z.ZodOptional<z.ZodURL>;
5298
5116
  managementUrl: z.ZodOptional<z.ZodURL>;
@@ -5472,8 +5290,8 @@ declare const sendInteractive: OpenWAMethodSchema<z.ZodObject<{
5472
5290
  title: z.ZodOptional<z.ZodString>;
5473
5291
  buttonLabel: z.ZodDefault<z.ZodString>;
5474
5292
  booking: z.ZodObject<{
5475
- startAt: z.ZodISODateTime;
5476
- endAt: z.ZodOptional<z.ZodISODateTime>;
5293
+ startAt: z.ZodType<string & import("effect/Brand").Brand<"BookingTimestamp">, string, z.core.$ZodTypeInternals<string & import("effect/Brand").Brand<"BookingTimestamp">, string>>;
5294
+ endAt: z.ZodOptional<z.ZodType<string & import("effect/Brand").Brand<"BookingTimestamp">, string, z.core.$ZodTypeInternals<string & import("effect/Brand").Brand<"BookingTimestamp">, string>>>;
5477
5295
  location: z.ZodOptional<z.ZodString>;
5478
5296
  url: z.ZodOptional<z.ZodURL>;
5479
5297
  managementUrl: z.ZodOptional<z.ZodURL>;
@@ -6045,6 +5863,7 @@ interface EventContract {
6045
5863
  inputSchema: z.ZodType;
6046
5864
  payloadSchema: z.ZodType;
6047
5865
  project(payload: unknown, sessionId: string): unknown;
5866
+ eventId?(data: Record<string, unknown>): string | undefined;
6048
5867
  };
6049
5868
  }
6050
5869
  declare const eventContracts: readonly EventContract[];
@@ -6053,7 +5872,7 @@ declare function eventJsonSchema(schema: z.ZodType): Record<string, unknown>;
6053
5872
  declare function getMcpEventDefinitions(): {
6054
5873
  name: string;
6055
5874
  description: string;
6056
- delivery: 'webhook'[];
5875
+ delivery: ('poll' | 'push' | 'webhook')[];
6057
5876
  inputSchema: Record<string, unknown>;
6058
5877
  payloadSchema: Record<string, unknown>;
6059
5878
  }[];
@@ -6605,4 +6424,4 @@ interface SessionRefreshSnapshot {
6605
6424
  type SessionRefreshResult = SessionRefreshSnapshot;
6606
6425
  //#endregion
6607
6426
  export { Call as $, sendTextWithMentions as $a, getChat as $i, QueueOptions as $n, ProductSchema as $o, deleteAllStatus as $r, S3SyncSchema as $s, HexColorSchema as $t, EventInputSchema as A, pinMessage as Aa, revokeGroupInviteLink as Ai, eventResponseEvent as An, GroupCreationResultSchema as Ao, getConnectionState as Ar, SimpleListener as As, longitudeParam as At, EventUpdateSchema as B, sendImage as Ba, getBlockedIds as Bi, chatStateEvent as Bn, MessageInfo as Bo, getWAVersion as Br, DeepPartialConfig as Bs, toParam as Bt, MediaSendOptions as C, getMessagesForLLM as Ca, getGroupMembersId as Ci, createAsyncApiDocument as Cn, CommunityParticipants as Co, SendInteractiveInputSchema as Cr, MessageId as Cs, filenameParam as Ct, VoiceNoteOptions as D, getUnsentMessages as Da, promoteParticipant as Di, getEventContract as Dn, FeatureFlags as Do, decryptMedia as Dr, MessageTypes as Ds, includeNotificationsParam as Dt, VideoSendOptionsSchema as E, getStarredMessages as Ea, leaveGroup as Ei, eventJsonSchema as En, ContactStatusSchema as Eo, sendRawMessage as Er, MessageSchema as Es, includeMeParam as Et, EventResponse as F, sendBanner as Fa, setGroupToAdminsOnly as Fi, ParticipantChangePatchSchema as Fn, LLMMessage as Fo, getLoadedMessageCount as Fr, CloudUploadOptions as Fs, nameParam as Ft, deserializeEventResponse as G, sendMultipleContacts as Ga, requestPhoneNumber as Gi, formResponseEvent as Gn, NumberCheckSchema as Go, setProfilePicture as Gr, NotificationLanguage as Gs, Base64ToDataUrlSchema as Gt, WhatsAppEventSchema as H, sendListMessage as Ha, getContact as Hi, stateChangedEvent as Hn, MessageInteraction as Ho, isPlugged as Hr, DevToolsSchema as Hs, videoDataParam as Ht, EventResponseSchema as I, sendButtons as Ia, blockContact as Ii, ParticipantChangeSchema as In, LLMMessageSchema as Io, getMe as Ir, CloudUploadOptionsSchema as Is, onlyLocalParam as It, serializeWhatsAppEvent as J, sendPtt as Ja, archiveChat as Ji, messageEvent as Jn, Order as Jo, getOrder as Jr, PartialConfigSchema as Js, ContactIdCodecSchema as Jt, deserializeWhatsAppEvent as K, sendPaymentRequest as Ka, sharePhoneNumber as Ki, interactiveResponseEvent as Kn, NumberProfile as Ko, getBusinessProducts as Kr, OnError as Ks, ChatIdCodecSchema as Kt, EventResponseType as L, sendContact as La, checkNumberStatus as Li, addedToGroupEvent as Ln, Label as Lo, getProcessStats as Lr, Config as Ls, skipMyMessagesParam as Lt, EventListOptionsSchema as M, sendAdvancedButtons as Ma, setGroupEditToAdminsOnly as Mi, callStateEvent as Mn, HealthCheckSchema as Mo, getHostNumber as Mr, ClientConfigSchema as Ms, messageIdParam as Mt, EventPage as N, sendAlbum as Na, setGroupIcon as Ni, incomingCallEvent as Nn, HostAccount as No, getLicenseFeatures as Nr, migrateV4Config as Ns, messageIdsParam as Nt, VoiceNoteOptionsSchema as O, getVCards as Oa, rejectGroupJoinRequest as Oi, getMcpEventDefinitions as On, FeatureFlagsSchema as Oo, downloadMedia as Or, SerializedMessageId as Os, latitudeParam as Ot, EventPageSchema as P, sendAudio as Pa, setGroupTitle as Pi, ParticipantChange as Pn, HostAccountSchema as Po, getLicenseType as Pr, CLOUD_PROVIDERS as Ps, messageOptionsParam as Pt, LicenseFeaturesSchema as Q, sendText as Qa, getAllChats as Qi, EventStatus as Qn, Product as Qo, removeLabel as Qr, S3Sync as Qs, GroupIdSchema as Qt, EventResponseTypeSchema as R, sendFile as Ra, checkReadReceipts as Ri, participantsChangedEvent as Rn, LabelSchema as Ro, getSnapshot as Rr, ConfigSchema as Rs, statusTextParam as Rt, ImageSendOptionsSchema as S, getMessageInfo as Sa, getGroupMembers as Si, AsyncApiOptions as Sn, CommunityParticipantIdsSchema as So, stopCallAudioObserver as Sr, MessageAck as Ss, fileDataParam as St, VideoSendOptions as T, getPollResults as Ta, joinGroupViaLink as Ti, eventContracts as Tn, ContactStatus as To, sendInteractive as Tr, MessageIdReturnSchema as Ts, imageDataParam as Tt, decodeEventResponse as U, sendLocation as Ua, getNumberProfile as Ui, ackEvent as Un, MessageInteractionSchema as Uo, setMyName as Ur, LoggingTransport as Us, waitForIdParam as Ut, WhatsAppEvent as V, sendLinkWithAutoPreview as Va, getCommonGroups as Vi, logoutEvent as Vn, MessageInfoSchema as Vo, healthCheck as Vr, DevTools as Vs, userAgentParam as Vt, decodeWhatsAppEvent as W, sendMessageWithThumb as Wa, getProfilePicture as Wi, anyMessageEvent as Wn, NumberCheck as Wo, setMyStatus as Wr, LoggingTransportSchema as Ws, withNewMessagesOnlyParam as Wt, validateEventUpdate as X, sendSeen as Xa, deleteChat as Xi, EventDefinition as Xn, ProcessStats as Xo, getAllLabels as Xr, ProxyServerCredentialsSchema as Xs, FileToDataUrlSchema as Xt, validateEventInput as Y, sendReplyWithMentions as Ya, clearChat as Yi, reactionEvent as Yn, OrderSchema as Yo, addLabel as Yr, ProxyServerCredentials as Ys, ContactIdSchema as Yt, LicenseFeatures as Z, sendSticker as Za, getAllChatIds as Zi, EventMetadata as Zn, ProcessStatsSchema as Zo, getChatsByLabel as Zr, QRFormat as Zs, GroupIdCodecSchema as Zt, AutoMediaSendOptionsSchema as _, editMessage as _a, demoteParticipant as _i, jsonStringCodec as _n, CommunityAdmins as _o, muteCall as _r, Id as _s, chatIdParam as _t, PinDuration as a, pinChat as aa, ViewportSchema as ac, postVideoStatus as ai, base64ToDataUrlCodec as an, unstarMessage as ao, cancelEvent as ar, ChatSchema as as, CallEndReason as at, GifSendOptionsSchema as b, getAllMessages as ba, getGroupInfo as bi, unixSecondsToDate as bn, CommunityMetadataSchema as bo, setCallMedia as br, LocationSchema as bs, contentParam as bt, PollResultsSchema as c, unmuteChat as ca, validateConfig as cc, getCommunityAdmins as ci, createFileCodec as cn, successResponseSchema as co, getEventResponses as cr, ContactSchema as cs, CallIdentitySchema as ct, PollVote as d, AlbumMediaSchema as da, getCommunityParticipants as di, fileToDataUrlCodec as dn, CartItem as do, sendEvent as dr, DataURLSchema as ds, CallSnapshot as dt, getChatWithNonContacts as ea, SessionData as ec, deleteStatus as ei, IsoDatetimeToDateSchema as en, sendVCard as eo, QueueOptionsSchema as er, Story as es, CallActionResult as et, PollVoteSchema as f, AlbumSendResult as fa, GroupInfo as fi, fileToStreamCodec as fn, CartItemSchema as fo, acceptCall as fr, GroupChatId as fs, CallSnapshotSchema as ft, AudioSendOptionsSchema as g, deleteMessage as ga, createGroup as gi, isoDatetimeToDate as gn, CommunityAdminIdsSchema as go, getCallCapabilities as gr, GroupMetadataSchema as gs, captionParam as gt, AudioSendOptions as h, StickerJobSchema as ha, approveGroupJoinRequest as hi, hexColorCodec as hn, CommunityAdminIds as ho, getActiveCall as hr, GroupMetadata as hs, audioDataParam as ht, SessionRefreshSnapshot as i, muteChat as ia, Viewport as ic, postTextStatus as ii, UnixSecondsToDateSchema as in, unpinMessage as io, index_d_exports as ir, ChatId as is, CallCapabilitiesSchema as it, EventListOptions as j, react as ja, setGroupDescription as ji, whatsappEvent as jn, HealthCheck as jo, getFeatures as jr, ClientConfig as js, mentionedJidListParam as jt, EventInput as k, loadEarlierMessages as ka, removeParticipant as ki, pollVoteEvent as kn, GroupCreationResult as ko, getBatteryLevel as kr, SerializedMessageIdSchema as ks, locationNameParam as kt, PollSendOptions as l, unpinChat as la, getCommunityInfo as li, fileToBase64Codec as ln, BusinessProfile as lo, getEvents as lr, Content as ls, CallMediaOptionsSchema as lt, AudioAttachmentOptionsSchema as m, SendTextResultSchema as ma, addParticipant as mi, groupIdCodec as mn, CommonGroupSchema as mo, endCall as mr, GroupId as ms, RawAudioFormatSchema as mt, SessionRefreshPhase as n, markAsRead as na, StrictConfig as nc, getStories as ni, MessageIdSchema as nn, sendYouTubeLink as no, defineListenerV2 as nr, Base64 as ns, CallAudioObserver as nt, PinDurationSchema as o, setChatEphemeral as oa, getDefaultConfig as oc, getAllCommunities as oi, chatIdCodec as on, voteOnPoll as oo, editEvent as or, Contact as os, CallEndReasonSchema as ot, AudioAttachmentOptions as p, AlbumSendResultSchema as pa, GroupInfoSchema as pi, fileToTempPathCodec as pn, CommonGroup as po, clearCallAudio as pr, GroupChatIdSchema as ps, MediaDescriptorSchema as pt, serializeEventResponse as q, sendPoll as qa, unblockContact as qi, messageDeletedEvent as qn, NumberProfileSchema as qo, getBusinessProfile as qr, PartialConfig as qs, ChatIdSchema as qt, SessionRefreshResult as r, markAsUnread as ra, StrictConfigSchema as rc, postImageStatus as ri, UnixMillisToDateSchema as rn, starMessage as ro, eventRegistry as rr, Chat as rs, CallCapabilities as rt, PollResults as s, unarchiveChat as sa, parseConfig as sc, getCommunityAdminIds as si, contactIdCodec as sn, outputJsonSchema as so, getEvent as sr, ContactId as ss, CallIdentity as st, SessionRefreshOptions as t, isChatOnline as ta, SessionDataSchema as tc, getStatus as ti, MessageIdCodecSchema as tn, sendVideoAsGif as to, QueueOverloadStrategy as tr, StorySchema as ts, CallActionResultSchema as tt, PollSendOptionsSchema as u, AlbumMedia as ua, getCommunityParticipantIds as ui, fileToBufferCodec as un, BusinessProfileSchema as uo, respondToEvent as ur, DataURL as us, CallReasonSchema as ut, DocumentSendOptionsSchema as v, forwardMessages as va, getAllGroups as vi, messageIdCodec as vn, CommunityAdminsSchema as vo, observeCallAudio as vr, IdSchema as vs, communityIdParam as vt, MediaSendOptionsSchema as w, getMyLastMessage as wa, getKickedGroups as wi, EventContract as wn, CommunityParticipantsSchema as wo, SendRawMessageInputSchema as wr, MessageIdReturn as ws, groupIdParam as wt, ImageSendOptions as x, getMessageById as xa, getGroupInviteLink as xi, urlToDataUrlCodec as xn, CommunityParticipantIds as xo, startCall as xr, Message as xs, documentDataParam as xt, GifSendOptions as y, getAlbumMessages as ya, getGroupAdmins as yi, unixMillisToDate as yn, CommunityMetadata as yo, rejectCall as yr, Location as ys, contactIdParam as yt, EventUpdate as z, sendFileFromUrl as za, getAllContacts as zi, StateEnum as zn, LicenseTypeSchema as zo, getUserAgent as zr, DIRECTORY_STRATEGY as zs, stickerDataParam as zt };
6608
- //# sourceMappingURL=index-BR61SSKs.d.cts.map
6427
+ //# sourceMappingURL=index-JLPIa9s-.d.cts.map