@open-wa/schema 5.0.0-alpha.8 → 5.1.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 (100) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/generated/index.cjs +8 -2
  4. package/dist/generated/index.cjs.map +1 -1
  5. package/dist/generated/index.d.cts +1164 -452
  6. package/dist/generated/index.d.cts.map +1 -1
  7. package/dist/generated/index.d.mts +1164 -452
  8. package/dist/generated/index.d.mts.map +1 -1
  9. package/dist/generated/index.mjs +8 -2
  10. package/dist/generated/index.mjs.map +1 -1
  11. package/dist/{http-manifest-BlJWPKsp.d.mts → http-manifest-CqjUoaDB.d.cts} +12 -13
  12. package/dist/http-manifest-CqjUoaDB.d.cts.map +1 -0
  13. package/dist/{http-manifest-DCOVY9QZ.d.cts → http-manifest-CqjUoaDB.d.mts} +12 -13
  14. package/dist/http-manifest-CqjUoaDB.d.mts.map +1 -0
  15. package/dist/http-manifest.cjs +1 -1
  16. package/dist/http-manifest.cjs.map +1 -1
  17. package/dist/http-manifest.d.cts +1 -1
  18. package/dist/http-manifest.d.mts +1 -1
  19. package/dist/http-manifest.mjs +1 -1
  20. package/dist/http-manifest.mjs.map +1 -1
  21. package/dist/{implementor-DIBNbQXA.d.cts → implementor-ACLHTHby.d.cts} +1 -2
  22. package/dist/implementor-ACLHTHby.d.cts.map +1 -0
  23. package/dist/{implementor-DoN9ga7C.d.mts → implementor-ACLHTHby.d.mts} +1 -2
  24. package/dist/implementor-ACLHTHby.d.mts.map +1 -0
  25. package/dist/implementor.cjs +1 -1
  26. package/dist/implementor.cjs.map +1 -1
  27. package/dist/implementor.d.cts +1 -1
  28. package/dist/implementor.d.mts +1 -1
  29. package/dist/implementor.mjs +1 -1
  30. package/dist/implementor.mjs.map +1 -1
  31. package/dist/{index-BB9uyLe8.d.cts → index-DTztyYhw.d.cts} +935 -103
  32. package/dist/index-DTztyYhw.d.cts.map +1 -0
  33. package/dist/{index-D77q1gPk.d.mts → index-nVKR0RmZ.d.mts} +935 -103
  34. package/dist/index-nVKR0RmZ.d.mts.map +1 -0
  35. package/dist/index.cjs +58 -6
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +4 -4
  38. package/dist/index.d.mts +4 -4
  39. package/dist/index.mjs +31 -7
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/methods/index.cjs +5 -1
  42. package/dist/methods/index.d.cts +2 -2
  43. package/dist/methods/index.d.mts +2 -2
  44. package/dist/methods/index.mjs +2 -2
  45. package/dist/{methods-BXZrkKjP.mjs → methods-BSv5O3bS.mjs} +318 -3
  46. package/dist/methods-BSv5O3bS.mjs.map +1 -0
  47. package/dist/{methods-CuiwUO7-.cjs → methods-DO0JONvB.cjs} +473 -2
  48. package/dist/methods-DO0JONvB.cjs.map +1 -0
  49. package/dist/{registry-CsyR8i6y.mjs → registry-BIddXpin.mjs} +26 -1
  50. package/dist/{registry-CsyR8i6y.mjs.map → registry-BIddXpin.mjs.map} +1 -1
  51. package/dist/{registry-TbMVoiw5.cjs → registry-_s9a7_jl.cjs} +26 -1
  52. package/dist/{registry-TbMVoiw5.cjs.map → registry-_s9a7_jl.cjs.map} +1 -1
  53. package/package.json +12 -10
  54. package/src/__tests__/generators.contract.test.ts +181 -0
  55. package/src/__tests__/registry.contract.test.ts +81 -0
  56. package/src/client-config.ts +30 -0
  57. package/src/codecs.test.ts +41 -0
  58. package/src/codecs.ts +191 -0
  59. package/src/common-types.ts +280 -0
  60. package/src/config.ts +47 -0
  61. package/src/enums.ts +63 -0
  62. package/src/events/groups.ts +33 -0
  63. package/src/events/index.ts +4 -0
  64. package/src/events/messaging.ts +86 -0
  65. package/src/events/registry.ts +124 -0
  66. package/src/events/state.ts +59 -0
  67. package/src/generated/AliasMap.ts +216 -0
  68. package/src/generated/BaseClient.ts +878 -0
  69. package/src/generated/BaseNamespacedClient.ts +214 -0
  70. package/src/generated/index.ts +5 -0
  71. package/src/generated/openapi.json +8949 -0
  72. package/src/generated/types.ts +383 -0
  73. package/src/http-manifest.ts +97 -0
  74. package/src/implementor.test.ts +88 -0
  75. package/src/implementor.ts +75 -0
  76. package/src/index.ts +44 -0
  77. package/src/interactive.ts +151 -0
  78. package/src/methods/business.ts +51 -0
  79. package/src/methods/chats.ts +263 -0
  80. package/src/methods/communities.ts +119 -0
  81. package/src/methods/contacts.ts +158 -0
  82. package/src/methods/groups.ts +376 -0
  83. package/src/methods/index.ts +34 -0
  84. package/src/methods/interactive.ts +21 -0
  85. package/src/methods/labels.ts +86 -0
  86. package/src/methods/media.ts +36 -0
  87. package/src/methods/messaging.ts +828 -0
  88. package/src/methods/session.ts +261 -0
  89. package/src/methods/status.ts +120 -0
  90. package/src/parameters.ts +237 -0
  91. package/src/registry.test.ts +30 -0
  92. package/src/registry.ts +601 -0
  93. package/dist/http-manifest-BlJWPKsp.d.mts.map +0 -1
  94. package/dist/http-manifest-DCOVY9QZ.d.cts.map +0 -1
  95. package/dist/implementor-DIBNbQXA.d.cts.map +0 -1
  96. package/dist/implementor-DoN9ga7C.d.mts.map +0 -1
  97. package/dist/index-BB9uyLe8.d.cts.map +0 -1
  98. package/dist/index-D77q1gPk.d.mts.map +0 -1
  99. package/dist/methods-BXZrkKjP.mjs.map +0 -1
  100. package/dist/methods-CuiwUO7-.cjs.map +0 -1
@@ -1,7 +1,8 @@
1
- import { F as LicenseTier, p as OpenWAMethodSchema } from "./http-manifest-DCOVY9QZ.cjs";
1
+ import { F as LicenseTier, p as OpenWAMethodSchema } from "./http-manifest-CqjUoaDB.cjs";
2
+ import "./implementor-ACLHTHby.cjs";
2
3
  import { z } from "zod";
3
4
  import { CLOUD_PROVIDERS, CloudUploadOptions, CloudUploadOptionsSchema, Config, Config as ClientConfig, ConfigSchema, ConfigSchema as ClientConfigSchema, DIRECTORY_STRATEGY, DeepPartialConfig, DevTools, DevToolsSchema, LicenseType, LoggingTransport, LoggingTransportSchema, NotificationLanguage, OnError, PartialConfig, PartialConfigSchema, ProxyServerCredentials, ProxyServerCredentialsSchema, QRFormat, S3Sync, S3SyncSchema, SessionData, SessionDataSchema, StrictConfig, StrictConfigSchema, Viewport, ViewportSchema, getDefaultConfig, parseConfig, validateConfig } from "@open-wa/config";
4
-
5
+ //#endregion
5
6
  //#region src/client-config.d.ts
6
7
  declare function migrateV4Config(oldConfig: Record<string, unknown>): Record<string, unknown>;
7
8
  //#endregion
@@ -190,8 +191,8 @@ declare const MessageSchema: z.ZodObject<{
190
191
  from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
191
192
  to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
192
193
  self: z.ZodEnum<{
193
- out: "out";
194
194
  in: "in";
195
+ out: "out";
195
196
  }>;
196
197
  ack: z.ZodEnum<typeof MessageAck>;
197
198
  invis: z.ZodOptional<z.ZodBoolean>;
@@ -343,7 +344,7 @@ declare const sendPaymentRequest: OpenWAMethodSchema<z.ZodObject<{
343
344
  }, z.core.$loose>, z.ZodBoolean]>>;
344
345
  declare const sendImage: OpenWAMethodSchema<z.ZodObject<{
345
346
  to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
346
- imgData: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
347
+ imgData: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
347
348
  filename: z.ZodOptional<z.ZodString>;
348
349
  caption: z.ZodOptional<z.ZodString>;
349
350
  id: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
@@ -353,7 +354,7 @@ declare const sendImage: OpenWAMethodSchema<z.ZodObject<{
353
354
  }, z.core.$loose>, z.ZodBoolean]>, z.ZodString]>>;
354
355
  declare const sendFile: OpenWAMethodSchema<z.ZodObject<{
355
356
  to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
356
- file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
357
+ file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
357
358
  filename: z.ZodOptional<z.ZodString>;
358
359
  caption: z.ZodOptional<z.ZodString>;
359
360
  }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
@@ -361,7 +362,7 @@ declare const sendFile: OpenWAMethodSchema<z.ZodObject<{
361
362
  }, z.core.$loose>, z.ZodString]>>;
362
363
  declare const sendAudio: OpenWAMethodSchema<z.ZodObject<{
363
364
  to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
364
- file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
365
+ file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
365
366
  filename: z.ZodOptional<z.ZodString>;
366
367
  quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
367
368
  }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
@@ -369,14 +370,14 @@ declare const sendAudio: OpenWAMethodSchema<z.ZodObject<{
369
370
  }, z.core.$loose>, z.ZodBoolean]>>;
370
371
  declare const sendPtt: OpenWAMethodSchema<z.ZodObject<{
371
372
  to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
372
- file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
373
+ file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
373
374
  quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
374
375
  }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
375
376
  _serialized: z.ZodString;
376
377
  }, z.core.$loose>, z.ZodBoolean]>>;
377
378
  declare const sendVideoAsGif: OpenWAMethodSchema<z.ZodObject<{
378
379
  to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
379
- file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
380
+ file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
380
381
  filename: z.ZodOptional<z.ZodString>;
381
382
  caption: z.ZodOptional<z.ZodString>;
382
383
  quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
@@ -805,7 +806,7 @@ declare const setMyStatus: OpenWAMethodSchema<z.ZodObject<{
805
806
  statusText: z.ZodString;
806
807
  }, z.core.$strip>, z.ZodBoolean>;
807
808
  declare const setProfilePicture: OpenWAMethodSchema<z.ZodObject<{
808
- image: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
809
+ image: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
809
810
  }, z.core.$strip>, z.ZodBoolean>;
810
811
  //#endregion
811
812
  //#region src/methods/media.d.ts
@@ -819,8 +820,8 @@ declare const decryptMedia: OpenWAMethodSchema<z.ZodObject<{
819
820
  from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
820
821
  to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
821
822
  self: z.ZodEnum<{
822
- out: "out";
823
823
  in: "in";
824
+ out: "out";
824
825
  }>;
825
826
  ack: z.ZodEnum<typeof MessageAck>;
826
827
  invis: z.ZodOptional<z.ZodBoolean>;
@@ -943,8 +944,8 @@ declare const downloadMedia: OpenWAMethodSchema<z.ZodObject<{
943
944
  from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
944
945
  to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
945
946
  self: z.ZodEnum<{
946
- out: "out";
947
947
  in: "in";
948
+ out: "out";
948
949
  }>;
949
950
  ack: z.ZodEnum<typeof MessageAck>;
950
951
  invis: z.ZodOptional<z.ZodBoolean>;
@@ -1059,83 +1060,384 @@ declare const downloadMedia: OpenWAMethodSchema<z.ZodObject<{
1059
1060
  path: z.ZodString;
1060
1061
  }, z.core.$strip>, z.ZodString>;
1061
1062
  //#endregion
1062
- //#region ../../node_modules/p-queue/dist/queue.d.ts
1063
- declare type RunFunction = () => Promise<unknown>;
1064
- interface Queue<Element, Options> {
1065
- size: number;
1066
- filter: (options: Partial<Options>) => Element[];
1067
- dequeue: () => Element | undefined;
1068
- enqueue: (run: Element, options?: Partial<Options>) => void;
1063
+ //#region src/methods/interactive.d.ts
1064
+ declare const SendInteractiveInputSchema: z.ZodObject<{
1065
+ to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
1066
+ content: z.ZodDiscriminatedUnion<[z.ZodObject<{
1067
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1068
+ body: z.ZodString;
1069
+ footer: z.ZodOptional<z.ZodString>;
1070
+ type: z.ZodLiteral<"buttons">;
1071
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1072
+ type: z.ZodLiteral<"text">;
1073
+ text: z.ZodString;
1074
+ }, z.core.$strict>, z.ZodObject<{
1075
+ source: z.ZodString;
1076
+ filename: z.ZodOptional<z.ZodString>;
1077
+ title: z.ZodOptional<z.ZodString>;
1078
+ type: z.ZodLiteral<"image">;
1079
+ }, z.core.$strict>, z.ZodObject<{
1080
+ source: z.ZodString;
1081
+ filename: z.ZodOptional<z.ZodString>;
1082
+ title: z.ZodOptional<z.ZodString>;
1083
+ type: z.ZodLiteral<"video">;
1084
+ }, z.core.$strict>, z.ZodObject<{
1085
+ source: z.ZodString;
1086
+ filename: z.ZodOptional<z.ZodString>;
1087
+ title: z.ZodOptional<z.ZodString>;
1088
+ type: z.ZodLiteral<"document">;
1089
+ }, z.core.$strict>], "type">>;
1090
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1091
+ type: z.ZodLiteral<"reply">;
1092
+ id: z.ZodString;
1093
+ label: z.ZodString;
1094
+ }, z.core.$strict>, z.ZodObject<{
1095
+ type: z.ZodLiteral<"url">;
1096
+ label: z.ZodString;
1097
+ url: z.ZodURL;
1098
+ }, z.core.$strict>, z.ZodObject<{
1099
+ type: z.ZodLiteral<"call">;
1100
+ label: z.ZodString;
1101
+ phoneNumber: z.ZodString;
1102
+ }, z.core.$strict>, z.ZodObject<{
1103
+ type: z.ZodLiteral<"copy">;
1104
+ label: z.ZodString;
1105
+ code: z.ZodString;
1106
+ }, z.core.$strict>], "type">>;
1107
+ }, z.core.$strict>, z.ZodObject<{
1108
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1109
+ body: z.ZodString;
1110
+ footer: z.ZodOptional<z.ZodString>;
1111
+ type: z.ZodLiteral<"list">;
1112
+ title: z.ZodOptional<z.ZodString>;
1113
+ buttonLabel: z.ZodDefault<z.ZodString>;
1114
+ sections: z.ZodArray<z.ZodObject<{
1115
+ title: z.ZodOptional<z.ZodString>;
1116
+ rows: z.ZodArray<z.ZodObject<{
1117
+ id: z.ZodString;
1118
+ title: z.ZodString;
1119
+ description: z.ZodOptional<z.ZodString>;
1120
+ }, z.core.$strict>>;
1121
+ }, z.core.$strict>>;
1122
+ }, z.core.$strict>, z.ZodObject<{
1123
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1124
+ body: z.ZodString;
1125
+ footer: z.ZodOptional<z.ZodString>;
1126
+ type: z.ZodLiteral<"form">;
1127
+ title: z.ZodOptional<z.ZodString>;
1128
+ questions: z.ZodArray<z.ZodObject<{
1129
+ type: z.ZodEnum<{
1130
+ multiSelect: "multiSelect";
1131
+ singleSelect: "singleSelect";
1132
+ }>;
1133
+ id: z.ZodString;
1134
+ label: z.ZodString;
1135
+ options: z.ZodArray<z.ZodObject<{
1136
+ id: z.ZodString;
1137
+ label: z.ZodString;
1138
+ }, z.core.$strict>>;
1139
+ allowCustomAnswer: z.ZodOptional<z.ZodBoolean>;
1140
+ }, z.core.$strict>>;
1141
+ }, z.core.$strict>, z.ZodObject<{
1142
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1143
+ body: z.ZodString;
1144
+ footer: z.ZodOptional<z.ZodString>;
1145
+ type: z.ZodLiteral<"carousel">;
1146
+ cards: z.ZodArray<z.ZodObject<{
1147
+ body: z.ZodString;
1148
+ header: z.ZodObject<{
1149
+ source: z.ZodString;
1150
+ filename: z.ZodOptional<z.ZodString>;
1151
+ title: z.ZodOptional<z.ZodString>;
1152
+ type: z.ZodLiteral<"image">;
1153
+ }, z.core.$strict>;
1154
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1155
+ type: z.ZodLiteral<"reply">;
1156
+ id: z.ZodString;
1157
+ label: z.ZodString;
1158
+ }, z.core.$strict>, z.ZodObject<{
1159
+ type: z.ZodLiteral<"url">;
1160
+ label: z.ZodString;
1161
+ url: z.ZodURL;
1162
+ }, z.core.$strict>, z.ZodObject<{
1163
+ type: z.ZodLiteral<"call">;
1164
+ label: z.ZodString;
1165
+ phoneNumber: z.ZodString;
1166
+ }, z.core.$strict>, z.ZodObject<{
1167
+ type: z.ZodLiteral<"copy">;
1168
+ label: z.ZodString;
1169
+ code: z.ZodString;
1170
+ }, z.core.$strict>], "type">>;
1171
+ }, z.core.$strict>>;
1172
+ }, z.core.$strict>, z.ZodObject<{
1173
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1174
+ body: z.ZodString;
1175
+ footer: z.ZodOptional<z.ZodString>;
1176
+ type: z.ZodLiteral<"booking">;
1177
+ title: z.ZodOptional<z.ZodString>;
1178
+ buttonLabel: z.ZodDefault<z.ZodString>;
1179
+ booking: z.ZodObject<{
1180
+ startAt: z.ZodISODateTime;
1181
+ endAt: z.ZodOptional<z.ZodISODateTime>;
1182
+ location: z.ZodOptional<z.ZodString>;
1183
+ url: z.ZodOptional<z.ZodURL>;
1184
+ managementUrl: z.ZodOptional<z.ZodURL>;
1185
+ phoneNumber: z.ZodOptional<z.ZodString>;
1186
+ email: z.ZodOptional<z.ZodEmail>;
1187
+ description: z.ZodOptional<z.ZodString>;
1188
+ labels: z.ZodOptional<z.ZodObject<{
1189
+ language: z.ZodOptional<z.ZodString>;
1190
+ meetingType: z.ZodOptional<z.ZodString>;
1191
+ detailsTitle: z.ZodOptional<z.ZodString>;
1192
+ addToCalendar: z.ZodOptional<z.ZodString>;
1193
+ viewOnMap: z.ZodOptional<z.ZodString>;
1194
+ manageBooking: z.ZodOptional<z.ZodString>;
1195
+ }, z.core.$strict>>;
1196
+ }, z.core.$strict>;
1197
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1198
+ type: z.ZodLiteral<"url">;
1199
+ label: z.ZodString;
1200
+ url: z.ZodURL;
1201
+ }, z.core.$strict>, z.ZodObject<{
1202
+ type: z.ZodLiteral<"call">;
1203
+ label: z.ZodString;
1204
+ phoneNumber: z.ZodString;
1205
+ }, z.core.$strict>, z.ZodObject<{
1206
+ type: z.ZodLiteral<"copy">;
1207
+ label: z.ZodString;
1208
+ code: z.ZodString;
1209
+ }, z.core.$strict>], "type">>>;
1210
+ }, z.core.$strict>, z.ZodObject<{
1211
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1212
+ body: z.ZodString;
1213
+ footer: z.ZodOptional<z.ZodString>;
1214
+ type: z.ZodLiteral<"native">;
1215
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1216
+ type: z.ZodLiteral<"text">;
1217
+ text: z.ZodString;
1218
+ }, z.core.$strict>, z.ZodObject<{
1219
+ source: z.ZodString;
1220
+ filename: z.ZodOptional<z.ZodString>;
1221
+ title: z.ZodOptional<z.ZodString>;
1222
+ type: z.ZodLiteral<"image">;
1223
+ }, z.core.$strict>, z.ZodObject<{
1224
+ source: z.ZodString;
1225
+ filename: z.ZodOptional<z.ZodString>;
1226
+ title: z.ZodOptional<z.ZodString>;
1227
+ type: z.ZodLiteral<"video">;
1228
+ }, z.core.$strict>, z.ZodObject<{
1229
+ source: z.ZodString;
1230
+ filename: z.ZodOptional<z.ZodString>;
1231
+ title: z.ZodOptional<z.ZodString>;
1232
+ type: z.ZodLiteral<"document">;
1233
+ }, z.core.$strict>], "type">>;
1234
+ actions: z.ZodArray<z.ZodObject<{
1235
+ name: z.ZodString;
1236
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1237
+ }, z.core.$strict>>;
1238
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1239
+ }, z.core.$strict>], "type">;
1240
+ }, z.core.$strict>;
1241
+ declare const SendRawMessageInputSchema: z.ZodObject<{
1242
+ to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
1243
+ payload: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
1244
+ }, z.core.$strict>;
1245
+ declare const sendInteractive: OpenWAMethodSchema<z.ZodObject<{
1246
+ to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
1247
+ content: z.ZodDiscriminatedUnion<[z.ZodObject<{
1248
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1249
+ body: z.ZodString;
1250
+ footer: z.ZodOptional<z.ZodString>;
1251
+ type: z.ZodLiteral<"buttons">;
1252
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1253
+ type: z.ZodLiteral<"text">;
1254
+ text: z.ZodString;
1255
+ }, z.core.$strict>, z.ZodObject<{
1256
+ source: z.ZodString;
1257
+ filename: z.ZodOptional<z.ZodString>;
1258
+ title: z.ZodOptional<z.ZodString>;
1259
+ type: z.ZodLiteral<"image">;
1260
+ }, z.core.$strict>, z.ZodObject<{
1261
+ source: z.ZodString;
1262
+ filename: z.ZodOptional<z.ZodString>;
1263
+ title: z.ZodOptional<z.ZodString>;
1264
+ type: z.ZodLiteral<"video">;
1265
+ }, z.core.$strict>, z.ZodObject<{
1266
+ source: z.ZodString;
1267
+ filename: z.ZodOptional<z.ZodString>;
1268
+ title: z.ZodOptional<z.ZodString>;
1269
+ type: z.ZodLiteral<"document">;
1270
+ }, z.core.$strict>], "type">>;
1271
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1272
+ type: z.ZodLiteral<"reply">;
1273
+ id: z.ZodString;
1274
+ label: z.ZodString;
1275
+ }, z.core.$strict>, z.ZodObject<{
1276
+ type: z.ZodLiteral<"url">;
1277
+ label: z.ZodString;
1278
+ url: z.ZodURL;
1279
+ }, z.core.$strict>, z.ZodObject<{
1280
+ type: z.ZodLiteral<"call">;
1281
+ label: z.ZodString;
1282
+ phoneNumber: z.ZodString;
1283
+ }, z.core.$strict>, z.ZodObject<{
1284
+ type: z.ZodLiteral<"copy">;
1285
+ label: z.ZodString;
1286
+ code: z.ZodString;
1287
+ }, z.core.$strict>], "type">>;
1288
+ }, z.core.$strict>, z.ZodObject<{
1289
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1290
+ body: z.ZodString;
1291
+ footer: z.ZodOptional<z.ZodString>;
1292
+ type: z.ZodLiteral<"list">;
1293
+ title: z.ZodOptional<z.ZodString>;
1294
+ buttonLabel: z.ZodDefault<z.ZodString>;
1295
+ sections: z.ZodArray<z.ZodObject<{
1296
+ title: z.ZodOptional<z.ZodString>;
1297
+ rows: z.ZodArray<z.ZodObject<{
1298
+ id: z.ZodString;
1299
+ title: z.ZodString;
1300
+ description: z.ZodOptional<z.ZodString>;
1301
+ }, z.core.$strict>>;
1302
+ }, z.core.$strict>>;
1303
+ }, z.core.$strict>, z.ZodObject<{
1304
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1305
+ body: z.ZodString;
1306
+ footer: z.ZodOptional<z.ZodString>;
1307
+ type: z.ZodLiteral<"form">;
1308
+ title: z.ZodOptional<z.ZodString>;
1309
+ questions: z.ZodArray<z.ZodObject<{
1310
+ type: z.ZodEnum<{
1311
+ multiSelect: "multiSelect";
1312
+ singleSelect: "singleSelect";
1313
+ }>;
1314
+ id: z.ZodString;
1315
+ label: z.ZodString;
1316
+ options: z.ZodArray<z.ZodObject<{
1317
+ id: z.ZodString;
1318
+ label: z.ZodString;
1319
+ }, z.core.$strict>>;
1320
+ allowCustomAnswer: z.ZodOptional<z.ZodBoolean>;
1321
+ }, z.core.$strict>>;
1322
+ }, z.core.$strict>, z.ZodObject<{
1323
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1324
+ body: z.ZodString;
1325
+ footer: z.ZodOptional<z.ZodString>;
1326
+ type: z.ZodLiteral<"carousel">;
1327
+ cards: z.ZodArray<z.ZodObject<{
1328
+ body: z.ZodString;
1329
+ header: z.ZodObject<{
1330
+ source: z.ZodString;
1331
+ filename: z.ZodOptional<z.ZodString>;
1332
+ title: z.ZodOptional<z.ZodString>;
1333
+ type: z.ZodLiteral<"image">;
1334
+ }, z.core.$strict>;
1335
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1336
+ type: z.ZodLiteral<"reply">;
1337
+ id: z.ZodString;
1338
+ label: z.ZodString;
1339
+ }, z.core.$strict>, z.ZodObject<{
1340
+ type: z.ZodLiteral<"url">;
1341
+ label: z.ZodString;
1342
+ url: z.ZodURL;
1343
+ }, z.core.$strict>, z.ZodObject<{
1344
+ type: z.ZodLiteral<"call">;
1345
+ label: z.ZodString;
1346
+ phoneNumber: z.ZodString;
1347
+ }, z.core.$strict>, z.ZodObject<{
1348
+ type: z.ZodLiteral<"copy">;
1349
+ label: z.ZodString;
1350
+ code: z.ZodString;
1351
+ }, z.core.$strict>], "type">>;
1352
+ }, z.core.$strict>>;
1353
+ }, z.core.$strict>, z.ZodObject<{
1354
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1355
+ body: z.ZodString;
1356
+ footer: z.ZodOptional<z.ZodString>;
1357
+ type: z.ZodLiteral<"booking">;
1358
+ title: z.ZodOptional<z.ZodString>;
1359
+ buttonLabel: z.ZodDefault<z.ZodString>;
1360
+ booking: z.ZodObject<{
1361
+ startAt: z.ZodISODateTime;
1362
+ endAt: z.ZodOptional<z.ZodISODateTime>;
1363
+ location: z.ZodOptional<z.ZodString>;
1364
+ url: z.ZodOptional<z.ZodURL>;
1365
+ managementUrl: z.ZodOptional<z.ZodURL>;
1366
+ phoneNumber: z.ZodOptional<z.ZodString>;
1367
+ email: z.ZodOptional<z.ZodEmail>;
1368
+ description: z.ZodOptional<z.ZodString>;
1369
+ labels: z.ZodOptional<z.ZodObject<{
1370
+ language: z.ZodOptional<z.ZodString>;
1371
+ meetingType: z.ZodOptional<z.ZodString>;
1372
+ detailsTitle: z.ZodOptional<z.ZodString>;
1373
+ addToCalendar: z.ZodOptional<z.ZodString>;
1374
+ viewOnMap: z.ZodOptional<z.ZodString>;
1375
+ manageBooking: z.ZodOptional<z.ZodString>;
1376
+ }, z.core.$strict>>;
1377
+ }, z.core.$strict>;
1378
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1379
+ type: z.ZodLiteral<"url">;
1380
+ label: z.ZodString;
1381
+ url: z.ZodURL;
1382
+ }, z.core.$strict>, z.ZodObject<{
1383
+ type: z.ZodLiteral<"call">;
1384
+ label: z.ZodString;
1385
+ phoneNumber: z.ZodString;
1386
+ }, z.core.$strict>, z.ZodObject<{
1387
+ type: z.ZodLiteral<"copy">;
1388
+ label: z.ZodString;
1389
+ code: z.ZodString;
1390
+ }, z.core.$strict>], "type">>>;
1391
+ }, z.core.$strict>, z.ZodObject<{
1392
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1393
+ body: z.ZodString;
1394
+ footer: z.ZodOptional<z.ZodString>;
1395
+ type: z.ZodLiteral<"native">;
1396
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1397
+ type: z.ZodLiteral<"text">;
1398
+ text: z.ZodString;
1399
+ }, z.core.$strict>, z.ZodObject<{
1400
+ source: z.ZodString;
1401
+ filename: z.ZodOptional<z.ZodString>;
1402
+ title: z.ZodOptional<z.ZodString>;
1403
+ type: z.ZodLiteral<"image">;
1404
+ }, z.core.$strict>, z.ZodObject<{
1405
+ source: z.ZodString;
1406
+ filename: z.ZodOptional<z.ZodString>;
1407
+ title: z.ZodOptional<z.ZodString>;
1408
+ type: z.ZodLiteral<"video">;
1409
+ }, z.core.$strict>, z.ZodObject<{
1410
+ source: z.ZodString;
1411
+ filename: z.ZodOptional<z.ZodString>;
1412
+ title: z.ZodOptional<z.ZodString>;
1413
+ type: z.ZodLiteral<"document">;
1414
+ }, z.core.$strict>], "type">>;
1415
+ actions: z.ZodArray<z.ZodObject<{
1416
+ name: z.ZodString;
1417
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1418
+ }, z.core.$strict>>;
1419
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1420
+ }, z.core.$strict>], "type">;
1421
+ }, z.core.$strict>, z.ZodString>;
1422
+ declare const sendRawMessage: OpenWAMethodSchema<z.ZodObject<{
1423
+ to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
1424
+ payload: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
1425
+ }, z.core.$strict>, z.ZodString>;
1426
+ declare namespace index_d_exports {
1427
+ export { SendInteractiveInputSchema, SendRawMessageInputSchema, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, checkNumberStatus, checkReadReceipts, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, forwardMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteChat, pinChat, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectGroupJoinRequest, removeLabel, removeParticipant, revokeGroupInviteLink, sendAdvancedButtons, sendAudio, sendBanner, sendButtons, sendContact, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, starMessage, unarchiveChat, unblockContact, unmuteChat, unpinChat, unstarMessage };
1069
1428
  }
1070
1429
  //#endregion
1071
- //#region ../../node_modules/p-queue/dist/options.d.ts
1072
- interface QueueAddOptions {
1073
- readonly [key: string]: unknown;
1074
- }
1075
- interface Options<QueueType extends Queue<RunFunction, QueueOptions>, QueueOptions extends QueueAddOptions> {
1076
- /**
1077
- Concurrency limit.
1078
- Minimum: `1`.
1079
- @default Infinity
1080
- */
1081
- readonly concurrency?: number;
1082
- /**
1083
- Whether queue tasks within concurrency limit, are auto-executed as soon as they're added.
1084
- @default true
1085
- */
1086
- readonly autoStart?: boolean;
1087
- /**
1088
- Class with a `enqueue` and `dequeue` method, and a `size` getter. See the [Custom QueueClass](https://github.com/sindresorhus/p-queue#custom-queueclass) section.
1089
- */
1090
- readonly queueClass?: new () => QueueType;
1091
- /**
1092
- The max number of runs in the given interval of time.
1093
- Minimum: `1`.
1094
- @default Infinity
1095
- */
1096
- readonly intervalCap?: number;
1097
- /**
1098
- The length of time in milliseconds before the interval count resets. Must be finite.
1099
- Minimum: `0`.
1100
- @default 0
1101
- */
1102
- readonly interval?: number;
1103
- /**
1104
- Whether the task must finish in the given interval or will be carried over into the next interval count.
1105
- @default false
1106
- */
1107
- readonly carryoverConcurrencyCount?: boolean;
1108
- /**
1109
- Per-operation timeout in milliseconds. Operations fulfill once `timeout` elapses if they haven't already.
1110
- */
1430
+ //#region src/events/registry.d.ts
1431
+ type QueueOverloadStrategy = 'backpressure' | 'dropping';
1432
+ interface QueueOptions {
1433
+ concurrency?: number;
1434
+ capacity?: number;
1435
+ overload?: QueueOverloadStrategy;
1436
+ ordering?: 'fifo';
1437
+ intervalCap?: number;
1438
+ interval?: number;
1111
1439
  timeout?: number;
1112
- /**
1113
- Whether or not a timeout is considered an exception.
1114
- @default false
1115
- */
1116
- throwOnTimeout?: boolean;
1117
- }
1118
- interface DefaultAddOptions extends QueueAddOptions {
1119
- /**
1120
- Priority of operation. Operations with greater priority will be scheduled first.
1121
- @default 0
1122
- */
1123
- readonly priority?: number;
1124
1440
  }
1125
- //#endregion
1126
- //#region ../../node_modules/p-queue/dist/priority-queue.d.ts
1127
- interface PriorityQueueOptions extends QueueAddOptions {
1128
- priority?: number;
1129
- }
1130
- declare class PriorityQueue implements Queue<RunFunction, PriorityQueueOptions> {
1131
- private readonly _queue;
1132
- enqueue(run: RunFunction, options?: Partial<PriorityQueueOptions>): void;
1133
- dequeue(): RunFunction | undefined;
1134
- filter(options: Readonly<Partial<PriorityQueueOptions>>): RunFunction[];
1135
- get size(): number;
1136
- }
1137
- //#endregion
1138
- //#region src/events/registry.d.ts
1139
1441
  type EventStatus = 'stable' | 'beta' | 'deprecated' | 'experimental';
1140
1442
  interface EventMetadata {
1141
1443
  eventName: string;
@@ -1147,7 +1449,7 @@ interface EventMetadata {
1147
1449
  license?: LicenseTier;
1148
1450
  since?: string;
1149
1451
  payloadSchema: z.ZodTypeAny;
1150
- defaultQueueOptions?: Options<PriorityQueue, DefaultAddOptions>;
1452
+ defaultQueueOptions?: QueueOptions;
1151
1453
  }
1152
1454
  interface EventDefinition {
1153
1455
  callbackSchema: z.ZodFunction<any, any>;
@@ -1164,17 +1466,21 @@ declare const eventRegistry: {
1164
1466
  };
1165
1467
  declare const QueueOptionsSchema: z.ZodOptional<z.ZodObject<{
1166
1468
  concurrency: z.ZodOptional<z.ZodNumber>;
1469
+ capacity: z.ZodOptional<z.ZodNumber>;
1470
+ overload: z.ZodOptional<z.ZodEnum<{
1471
+ backpressure: "backpressure";
1472
+ dropping: "dropping";
1473
+ }>>;
1474
+ ordering: z.ZodOptional<z.ZodLiteral<"fifo">>;
1167
1475
  intervalCap: z.ZodOptional<z.ZodNumber>;
1168
1476
  interval: z.ZodOptional<z.ZodNumber>;
1169
1477
  timeout: z.ZodOptional<z.ZodNumber>;
1170
- priority: z.ZodOptional<z.ZodNumber>;
1171
1478
  }, z.core.$strip>>;
1172
- type QueueOptions = z.infer<typeof QueueOptionsSchema>;
1173
1479
  declare function defineListenerV2<T extends z.ZodTypeAny>(name: string, params: {
1174
1480
  legacyName?: string;
1175
1481
  meta: Omit<EventMetadata, 'eventName' | 'legacyName' | 'payloadSchema'>;
1176
1482
  payload: T;
1177
- defaultQueueOptions?: Options<PriorityQueue, DefaultAddOptions>;
1483
+ defaultQueueOptions?: QueueOptions;
1178
1484
  }): z.ZodFunction<any, any>;
1179
1485
  //#endregion
1180
1486
  //#region src/events/messaging.d.ts
@@ -1183,20 +1489,22 @@ declare const anyMessageEvent: z.ZodFunction<any, any>;
1183
1489
  declare const messageDeletedEvent: z.ZodFunction<any, any>;
1184
1490
  declare const ackEvent: z.ZodFunction<any, any>;
1185
1491
  declare const reactionEvent: z.ZodFunction<any, any>;
1492
+ declare const interactiveResponseEvent: z.ZodFunction<any, any>;
1493
+ declare const formResponseEvent: z.ZodFunction<any, any>;
1186
1494
  //#endregion
1187
1495
  //#region src/events/state.d.ts
1188
1496
  declare const StateEnum: z.ZodEnum<{
1189
- STARTING: "STARTING";
1190
1497
  AUTHENTICATING: "AUTHENTICATING";
1191
- READY: "READY";
1192
- STOPPED: "STOPPED";
1498
+ CONFLICT: "CONFLICT";
1193
1499
  CONNECTED: "CONNECTED";
1194
1500
  DISCONNECTED: "DISCONNECTED";
1195
- SYNCING: "SYNCING";
1196
- CONFLICT: "CONFLICT";
1197
- UNLAUNCHED: "UNLAUNCHED";
1198
1501
  PAIRING: "PAIRING";
1502
+ READY: "READY";
1503
+ STARTING: "STARTING";
1504
+ STOPPED: "STOPPED";
1505
+ SYNCING: "SYNCING";
1199
1506
  TIMEOUT: "TIMEOUT";
1507
+ UNLAUNCHED: "UNLAUNCHED";
1200
1508
  }>;
1201
1509
  declare const stateChangedEvent: z.ZodFunction<any, any>;
1202
1510
  declare const chatStateEvent: z.ZodFunction<any, any>;
@@ -1280,7 +1588,7 @@ declare const ChatIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.Zo
1280
1588
  declare const ContactIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
1281
1589
  declare const GroupIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
1282
1590
  declare const MessageIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
1283
- declare const FileToDataUrlSchema: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1591
+ declare const FileToDataUrlSchema: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1284
1592
  declare const Base64ToDataUrlSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1285
1593
  declare const HexColorSchema: z.ZodCodec<z.ZodString, z.ZodString>;
1286
1594
  declare const IsoDatetimeToDateSchema: z.ZodCodec<z.ZodISODateTime, z.ZodDate>;
@@ -1300,12 +1608,12 @@ declare const filenameParam: z.ZodOptional<z.ZodString>;
1300
1608
  declare const userAgentParam: z.ZodOptional<z.ZodString>;
1301
1609
  declare const nameParam: z.ZodString;
1302
1610
  declare const statusTextParam: z.ZodString;
1303
- declare const imageDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1304
- declare const fileDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1305
- declare const audioDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1306
- declare const videoDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1307
- declare const documentDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1308
- declare const stickerDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<any, any>]>, z.ZodTransform<unknown, any>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1611
+ declare const imageDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1612
+ declare const fileDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1613
+ declare const audioDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1614
+ declare const videoDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1615
+ declare const documentDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1616
+ declare const stickerDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
1309
1617
  declare const latitudeParam: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1310
1618
  declare const longitudeParam: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1311
1619
  declare const locationNameParam: z.ZodOptional<z.ZodString>;
@@ -1319,5 +1627,529 @@ declare const messageIdsParam: z.ZodUnion<readonly [z.ZodArray<z.ZodCodec<z.ZodS
1319
1627
  declare const mentionedJidListParam: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>>;
1320
1628
  declare const messageOptionsParam: z.ZodOptional<z.ZodAny>;
1321
1629
  //#endregion
1322
- export { fileToTempPathCodec as $, pinChat as $n, GroupMetadata as $r, getStatus as $t, withNewMessagesOnlyParam as A, PartialConfigSchema as Ai, setGroupTitle as An, sendPoll as Ar, getFeatures as At, IsoDatetimeToDateSchema as B, Viewport as Bi, getProfilePicture as Bn, unstarMessage as Br, isPlugged as Bt, skipMyMessagesParam as C, DevToolsSchema as Ci, promoteParticipant as Cn, sendImage as Cr, QueueOptionsSchema as Ct, userAgentParam as D, NotificationLanguage as Di, setGroupDescription as Dn, sendMessageWithThumb as Dr, downloadMedia as Dt, toParam as E, LoggingTransportSchema as Ei, revokeGroupInviteLink as En, sendLocation as Er, decryptMedia as Et, ContactIdSchema as F, S3SyncSchema as Fi, getAllContacts as Fn, sendTextWithMentions as Fr, getProcessStats as Ft, base64ToDataUrlCodec as G, getAllChatIds as Gn, Contact as Gr, getBusinessProfile as Gt, MessageIdSchema as H, getDefaultConfig as Hi, archiveChat as Hn, Chat as Hr, setMyStatus as Ht, FileToDataUrlSchema as I, SessionData as Ii, getBlockedIds as In, sendVCard as Ir, getSnapshot as It, createFileCodec as J, getChatWithNonContacts as Jn, Content as Jr, getAllLabels as Jt, chatIdCodec as K, getAllChats as Kn, ContactId as Kr, getOrder as Kt, GroupIdCodecSchema as L, SessionDataSchema as Li, getCommonGroups as Ln, sendVideoAsGif as Lr, getUserAgent as Lt, ChatIdCodecSchema as M, ProxyServerCredentialsSchema as Mi, blockContact as Mn, sendReplyWithMentions as Mr, getLicenseType as Mt, ChatIdSchema as N, QRFormat as Ni, checkNumberStatus as Nn, sendSeen as Nr, getLoadedMessageCount as Nt, videoDataParam as O, OnError as Oi, setGroupEditToAdminsOnly as On, sendMultipleContacts as Or, getBatteryLevel as Ot, ContactIdCodecSchema as P, S3Sync as Pi, checkReadReceipts as Pn, sendText as Pr, getMe as Pt, fileToStreamCodec as Q, muteChat as Qn, GroupId as Qr, deleteStatus as Qt, GroupIdSchema as R, StrictConfig as Ri, getContact as Rn, sendYouTubeLink as Rr, getWAVersion as Rt, onlyLocalParam as S, DevTools as Si, leaveGroup as Sn, sendFileFromUrl as Sr, QueueOptions as St, stickerDataParam as T, LoggingTransport as Ti, removeParticipant as Tn, sendListMessage as Tr, eventRegistry as Tt, UnixMillisToDateSchema as U, parseConfig as Ui, clearChat as Un, ChatId as Ur, setProfilePicture as Ut, MessageIdCodecSchema as V, ViewportSchema as Vi, unblockContact as Vn, Base64 as Vr, setMyName as Vt, UnixSecondsToDateSchema as W, validateConfig as Wi, deleteChat as Wn, ChatSchema as Wr, getBusinessProducts as Wt, fileToBufferCodec as X, markAsRead as Xn, GroupChatId as Xr, removeLabel as Xt, fileToBase64Codec as Y, isChatOnline as Yn, DataURL as Yr, getChatsByLabel as Yt, fileToDataUrlCodec as Z, markAsUnread as Zn, GroupChatIdSchema as Zr, deleteAllStatus as Zt, mentionedJidListParam as _, CloudUploadOptionsSchema as _i, getGroupInviteLink as _n, sendAudio as _r, messageEvent as _t, contactIdParam as a, Message as ai, getCommunityAdminIds as an, forwardMessages as ar, unixMillisToDate as at, messageOptionsParam as b, DIRECTORY_STRATEGY as bi, getKickedGroups as bn, sendContact as br, EventMetadata as bt, fileDataParam as c, MessageIdReturnSchema as ci, getCommunityParticipantIds as cn, getMessageInfo as cr, addedToGroupEvent as ct, imageDataParam as d, SimpleListener as di, approveGroupJoinRequest as dn, getStarredMessages as dr, chatStateEvent as dt, GroupMetadataSchema as ei, getStories as en, setChatEphemeral as er, groupIdCodec as et, includeMeParam as f, ClientConfig as fi, createGroup as fn, getUnsentMessages as fr, logoutEvent as ft, longitudeParam as g, CloudUploadOptions as gi, getGroupInfo as gn, sendAdvancedButtons as gr, messageDeletedEvent as gt, locationNameParam as h, CLOUD_PROVIDERS as hi, getGroupAdmins as hn, react as hr, anyMessageEvent as ht, communityIdParam as i, LocationSchema as ii, getAllCommunities as in, deleteMessage as ir, messageIdCodec as it, Base64ToDataUrlSchema as j, ProxyServerCredentials as ji, setGroupToAdminsOnly as jn, sendPtt as jr, getHostNumber as jt, waitForIdParam as k, PartialConfig as ki, setGroupIcon as kn, sendPaymentRequest as kr, getConnectionState as kt, filenameParam as l, MessageSchema as li, getCommunityParticipants as ln, getMessagesForLLM as lr, participantsChangedEvent as lt, latitudeParam as m, migrateV4Config as mi, getAllGroups as mn, loadEarlierMessages as mr, ackEvent as mt, captionParam as n, IdSchema as ni, postTextStatus as nn, unmuteChat as nr, isoDatetimeToDate as nt, contentParam as o, MessageAck as oi, getCommunityAdmins as on, getAllMessages as or, unixSecondsToDate as ot, includeNotificationsParam as p, ClientConfigSchema as pi, demoteParticipant as pn, getVCards as pr, stateChangedEvent as pt, contactIdCodec as q, getChat as qn, ContactSchema as qr, addLabel as qt, chatIdParam as r, Location as ri, postVideoStatus as rn, unpinChat as rr, jsonStringCodec as rt, documentDataParam as s, MessageId as si, getCommunityInfo as sn, getMessageById as sr, urlToDataUrlCodec as st, audioDataParam as t, Id as ti, postImageStatus as tn, unarchiveChat as tr, hexColorCodec as tt, groupIdParam as u, MessageTypes as ui, addParticipant as un, getMyLastMessage as ur, StateEnum as ut, messageIdParam as v, Config as vi, getGroupMembers as vn, sendBanner as vr, reactionEvent as vt, statusTextParam as w, LicenseType as wi, rejectGroupJoinRequest as wn, sendLinkWithAutoPreview as wr, defineListenerV2 as wt, nameParam as x, DeepPartialConfig as xi, joinGroupViaLink as xn, sendFile as xr, EventStatus as xt, messageIdsParam as y, ConfigSchema as yi, getGroupMembersId as yn, sendButtons as yr, EventDefinition as yt, HexColorSchema as z, StrictConfigSchema as zi, getNumberProfile as zn, starMessage as zr, healthCheck as zt };
1323
- //# sourceMappingURL=index-BB9uyLe8.d.cts.map
1630
+ //#region src/interactive.d.ts
1631
+ type JsonValue = null | boolean | number | string | JsonValue[] | {
1632
+ [key: string]: JsonValue;
1633
+ };
1634
+ declare const JsonValueSchema: z.ZodType<JsonValue>;
1635
+ declare const JsonObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
1636
+ declare const ReplyActionSchema: z.ZodObject<{
1637
+ type: z.ZodLiteral<"reply">;
1638
+ id: z.ZodString;
1639
+ label: z.ZodString;
1640
+ }, z.core.$strict>;
1641
+ declare const LinkActionSchema: z.ZodObject<{
1642
+ type: z.ZodLiteral<"url">;
1643
+ label: z.ZodString;
1644
+ url: z.ZodURL;
1645
+ }, z.core.$strict>;
1646
+ declare const CallActionSchema: z.ZodObject<{
1647
+ type: z.ZodLiteral<"call">;
1648
+ label: z.ZodString;
1649
+ phoneNumber: z.ZodString;
1650
+ }, z.core.$strict>;
1651
+ declare const CopyActionSchema: z.ZodObject<{
1652
+ type: z.ZodLiteral<"copy">;
1653
+ label: z.ZodString;
1654
+ code: z.ZodString;
1655
+ }, z.core.$strict>;
1656
+ declare const InteractiveActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1657
+ type: z.ZodLiteral<"reply">;
1658
+ id: z.ZodString;
1659
+ label: z.ZodString;
1660
+ }, z.core.$strict>, z.ZodObject<{
1661
+ type: z.ZodLiteral<"url">;
1662
+ label: z.ZodString;
1663
+ url: z.ZodURL;
1664
+ }, z.core.$strict>, z.ZodObject<{
1665
+ type: z.ZodLiteral<"call">;
1666
+ label: z.ZodString;
1667
+ phoneNumber: z.ZodString;
1668
+ }, z.core.$strict>, z.ZodObject<{
1669
+ type: z.ZodLiteral<"copy">;
1670
+ label: z.ZodString;
1671
+ code: z.ZodString;
1672
+ }, z.core.$strict>], "type">;
1673
+ declare const NativeActionSchema: z.ZodObject<{
1674
+ name: z.ZodString;
1675
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1676
+ }, z.core.$strict>;
1677
+ declare const InteractiveHeaderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1678
+ type: z.ZodLiteral<"text">;
1679
+ text: z.ZodString;
1680
+ }, z.core.$strict>, z.ZodObject<{
1681
+ source: z.ZodString;
1682
+ filename: z.ZodOptional<z.ZodString>;
1683
+ title: z.ZodOptional<z.ZodString>;
1684
+ type: z.ZodLiteral<"image">;
1685
+ }, z.core.$strict>, z.ZodObject<{
1686
+ source: z.ZodString;
1687
+ filename: z.ZodOptional<z.ZodString>;
1688
+ title: z.ZodOptional<z.ZodString>;
1689
+ type: z.ZodLiteral<"video">;
1690
+ }, z.core.$strict>, z.ZodObject<{
1691
+ source: z.ZodString;
1692
+ filename: z.ZodOptional<z.ZodString>;
1693
+ title: z.ZodOptional<z.ZodString>;
1694
+ type: z.ZodLiteral<"document">;
1695
+ }, z.core.$strict>], "type">;
1696
+ declare const ButtonsContentSchema: z.ZodObject<{
1697
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1698
+ body: z.ZodString;
1699
+ footer: z.ZodOptional<z.ZodString>;
1700
+ type: z.ZodLiteral<"buttons">;
1701
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1702
+ type: z.ZodLiteral<"text">;
1703
+ text: z.ZodString;
1704
+ }, z.core.$strict>, z.ZodObject<{
1705
+ source: z.ZodString;
1706
+ filename: z.ZodOptional<z.ZodString>;
1707
+ title: z.ZodOptional<z.ZodString>;
1708
+ type: z.ZodLiteral<"image">;
1709
+ }, z.core.$strict>, z.ZodObject<{
1710
+ source: z.ZodString;
1711
+ filename: z.ZodOptional<z.ZodString>;
1712
+ title: z.ZodOptional<z.ZodString>;
1713
+ type: z.ZodLiteral<"video">;
1714
+ }, z.core.$strict>, z.ZodObject<{
1715
+ source: z.ZodString;
1716
+ filename: z.ZodOptional<z.ZodString>;
1717
+ title: z.ZodOptional<z.ZodString>;
1718
+ type: z.ZodLiteral<"document">;
1719
+ }, z.core.$strict>], "type">>;
1720
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1721
+ type: z.ZodLiteral<"reply">;
1722
+ id: z.ZodString;
1723
+ label: z.ZodString;
1724
+ }, z.core.$strict>, z.ZodObject<{
1725
+ type: z.ZodLiteral<"url">;
1726
+ label: z.ZodString;
1727
+ url: z.ZodURL;
1728
+ }, z.core.$strict>, z.ZodObject<{
1729
+ type: z.ZodLiteral<"call">;
1730
+ label: z.ZodString;
1731
+ phoneNumber: z.ZodString;
1732
+ }, z.core.$strict>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"copy">;
1734
+ label: z.ZodString;
1735
+ code: z.ZodString;
1736
+ }, z.core.$strict>], "type">>;
1737
+ }, z.core.$strict>;
1738
+ declare const ListRowSchema: z.ZodObject<{
1739
+ id: z.ZodString;
1740
+ title: z.ZodString;
1741
+ description: z.ZodOptional<z.ZodString>;
1742
+ }, z.core.$strict>;
1743
+ declare const ListContentSchema: z.ZodObject<{
1744
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1745
+ body: z.ZodString;
1746
+ footer: z.ZodOptional<z.ZodString>;
1747
+ type: z.ZodLiteral<"list">;
1748
+ title: z.ZodOptional<z.ZodString>;
1749
+ buttonLabel: z.ZodDefault<z.ZodString>;
1750
+ sections: z.ZodArray<z.ZodObject<{
1751
+ title: z.ZodOptional<z.ZodString>;
1752
+ rows: z.ZodArray<z.ZodObject<{
1753
+ id: z.ZodString;
1754
+ title: z.ZodString;
1755
+ description: z.ZodOptional<z.ZodString>;
1756
+ }, z.core.$strict>>;
1757
+ }, z.core.$strict>>;
1758
+ }, z.core.$strict>;
1759
+ declare const FormQuestionSchema: z.ZodObject<{
1760
+ type: z.ZodEnum<{
1761
+ multiSelect: "multiSelect";
1762
+ singleSelect: "singleSelect";
1763
+ }>;
1764
+ id: z.ZodString;
1765
+ label: z.ZodString;
1766
+ options: z.ZodArray<z.ZodObject<{
1767
+ id: z.ZodString;
1768
+ label: z.ZodString;
1769
+ }, z.core.$strict>>;
1770
+ allowCustomAnswer: z.ZodOptional<z.ZodBoolean>;
1771
+ }, z.core.$strict>;
1772
+ declare const FormContentSchema: z.ZodObject<{
1773
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1774
+ body: z.ZodString;
1775
+ footer: z.ZodOptional<z.ZodString>;
1776
+ type: z.ZodLiteral<"form">;
1777
+ title: z.ZodOptional<z.ZodString>;
1778
+ questions: z.ZodArray<z.ZodObject<{
1779
+ type: z.ZodEnum<{
1780
+ multiSelect: "multiSelect";
1781
+ singleSelect: "singleSelect";
1782
+ }>;
1783
+ id: z.ZodString;
1784
+ label: z.ZodString;
1785
+ options: z.ZodArray<z.ZodObject<{
1786
+ id: z.ZodString;
1787
+ label: z.ZodString;
1788
+ }, z.core.$strict>>;
1789
+ allowCustomAnswer: z.ZodOptional<z.ZodBoolean>;
1790
+ }, z.core.$strict>>;
1791
+ }, z.core.$strict>;
1792
+ declare const CarouselCardSchema: z.ZodObject<{
1793
+ body: z.ZodString;
1794
+ header: z.ZodObject<{
1795
+ source: z.ZodString;
1796
+ filename: z.ZodOptional<z.ZodString>;
1797
+ title: z.ZodOptional<z.ZodString>;
1798
+ type: z.ZodLiteral<"image">;
1799
+ }, z.core.$strict>;
1800
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1801
+ type: z.ZodLiteral<"reply">;
1802
+ id: z.ZodString;
1803
+ label: z.ZodString;
1804
+ }, z.core.$strict>, z.ZodObject<{
1805
+ type: z.ZodLiteral<"url">;
1806
+ label: z.ZodString;
1807
+ url: z.ZodURL;
1808
+ }, z.core.$strict>, z.ZodObject<{
1809
+ type: z.ZodLiteral<"call">;
1810
+ label: z.ZodString;
1811
+ phoneNumber: z.ZodString;
1812
+ }, z.core.$strict>, z.ZodObject<{
1813
+ type: z.ZodLiteral<"copy">;
1814
+ label: z.ZodString;
1815
+ code: z.ZodString;
1816
+ }, z.core.$strict>], "type">>;
1817
+ }, z.core.$strict>;
1818
+ declare const CarouselContentSchema: z.ZodObject<{
1819
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1820
+ body: z.ZodString;
1821
+ footer: z.ZodOptional<z.ZodString>;
1822
+ type: z.ZodLiteral<"carousel">;
1823
+ cards: z.ZodArray<z.ZodObject<{
1824
+ body: z.ZodString;
1825
+ header: z.ZodObject<{
1826
+ source: z.ZodString;
1827
+ filename: z.ZodOptional<z.ZodString>;
1828
+ title: z.ZodOptional<z.ZodString>;
1829
+ type: z.ZodLiteral<"image">;
1830
+ }, z.core.$strict>;
1831
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1832
+ type: z.ZodLiteral<"reply">;
1833
+ id: z.ZodString;
1834
+ label: z.ZodString;
1835
+ }, z.core.$strict>, z.ZodObject<{
1836
+ type: z.ZodLiteral<"url">;
1837
+ label: z.ZodString;
1838
+ url: z.ZodURL;
1839
+ }, z.core.$strict>, z.ZodObject<{
1840
+ type: z.ZodLiteral<"call">;
1841
+ label: z.ZodString;
1842
+ phoneNumber: z.ZodString;
1843
+ }, z.core.$strict>, z.ZodObject<{
1844
+ type: z.ZodLiteral<"copy">;
1845
+ label: z.ZodString;
1846
+ code: z.ZodString;
1847
+ }, z.core.$strict>], "type">>;
1848
+ }, z.core.$strict>>;
1849
+ }, z.core.$strict>;
1850
+ declare const BookingContentSchema: z.ZodObject<{
1851
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1852
+ body: z.ZodString;
1853
+ footer: z.ZodOptional<z.ZodString>;
1854
+ type: z.ZodLiteral<"booking">;
1855
+ title: z.ZodOptional<z.ZodString>;
1856
+ buttonLabel: z.ZodDefault<z.ZodString>;
1857
+ booking: z.ZodObject<{
1858
+ startAt: z.ZodISODateTime;
1859
+ endAt: z.ZodOptional<z.ZodISODateTime>;
1860
+ location: z.ZodOptional<z.ZodString>;
1861
+ url: z.ZodOptional<z.ZodURL>;
1862
+ managementUrl: z.ZodOptional<z.ZodURL>;
1863
+ phoneNumber: z.ZodOptional<z.ZodString>;
1864
+ email: z.ZodOptional<z.ZodEmail>;
1865
+ description: z.ZodOptional<z.ZodString>;
1866
+ labels: z.ZodOptional<z.ZodObject<{
1867
+ language: z.ZodOptional<z.ZodString>;
1868
+ meetingType: z.ZodOptional<z.ZodString>;
1869
+ detailsTitle: z.ZodOptional<z.ZodString>;
1870
+ addToCalendar: z.ZodOptional<z.ZodString>;
1871
+ viewOnMap: z.ZodOptional<z.ZodString>;
1872
+ manageBooking: z.ZodOptional<z.ZodString>;
1873
+ }, z.core.$strict>>;
1874
+ }, z.core.$strict>;
1875
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1876
+ type: z.ZodLiteral<"url">;
1877
+ label: z.ZodString;
1878
+ url: z.ZodURL;
1879
+ }, z.core.$strict>, z.ZodObject<{
1880
+ type: z.ZodLiteral<"call">;
1881
+ label: z.ZodString;
1882
+ phoneNumber: z.ZodString;
1883
+ }, z.core.$strict>, z.ZodObject<{
1884
+ type: z.ZodLiteral<"copy">;
1885
+ label: z.ZodString;
1886
+ code: z.ZodString;
1887
+ }, z.core.$strict>], "type">>>;
1888
+ }, z.core.$strict>;
1889
+ declare const NativeContentSchema: z.ZodObject<{
1890
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1891
+ body: z.ZodString;
1892
+ footer: z.ZodOptional<z.ZodString>;
1893
+ type: z.ZodLiteral<"native">;
1894
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1895
+ type: z.ZodLiteral<"text">;
1896
+ text: z.ZodString;
1897
+ }, z.core.$strict>, z.ZodObject<{
1898
+ source: z.ZodString;
1899
+ filename: z.ZodOptional<z.ZodString>;
1900
+ title: z.ZodOptional<z.ZodString>;
1901
+ type: z.ZodLiteral<"image">;
1902
+ }, z.core.$strict>, z.ZodObject<{
1903
+ source: z.ZodString;
1904
+ filename: z.ZodOptional<z.ZodString>;
1905
+ title: z.ZodOptional<z.ZodString>;
1906
+ type: z.ZodLiteral<"video">;
1907
+ }, z.core.$strict>, z.ZodObject<{
1908
+ source: z.ZodString;
1909
+ filename: z.ZodOptional<z.ZodString>;
1910
+ title: z.ZodOptional<z.ZodString>;
1911
+ type: z.ZodLiteral<"document">;
1912
+ }, z.core.$strict>], "type">>;
1913
+ actions: z.ZodArray<z.ZodObject<{
1914
+ name: z.ZodString;
1915
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1916
+ }, z.core.$strict>>;
1917
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
1918
+ }, z.core.$strict>;
1919
+ declare const InteractiveContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1920
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1921
+ body: z.ZodString;
1922
+ footer: z.ZodOptional<z.ZodString>;
1923
+ type: z.ZodLiteral<"buttons">;
1924
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1925
+ type: z.ZodLiteral<"text">;
1926
+ text: z.ZodString;
1927
+ }, z.core.$strict>, z.ZodObject<{
1928
+ source: z.ZodString;
1929
+ filename: z.ZodOptional<z.ZodString>;
1930
+ title: z.ZodOptional<z.ZodString>;
1931
+ type: z.ZodLiteral<"image">;
1932
+ }, z.core.$strict>, z.ZodObject<{
1933
+ source: z.ZodString;
1934
+ filename: z.ZodOptional<z.ZodString>;
1935
+ title: z.ZodOptional<z.ZodString>;
1936
+ type: z.ZodLiteral<"video">;
1937
+ }, z.core.$strict>, z.ZodObject<{
1938
+ source: z.ZodString;
1939
+ filename: z.ZodOptional<z.ZodString>;
1940
+ title: z.ZodOptional<z.ZodString>;
1941
+ type: z.ZodLiteral<"document">;
1942
+ }, z.core.$strict>], "type">>;
1943
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1944
+ type: z.ZodLiteral<"reply">;
1945
+ id: z.ZodString;
1946
+ label: z.ZodString;
1947
+ }, z.core.$strict>, z.ZodObject<{
1948
+ type: z.ZodLiteral<"url">;
1949
+ label: z.ZodString;
1950
+ url: z.ZodURL;
1951
+ }, z.core.$strict>, z.ZodObject<{
1952
+ type: z.ZodLiteral<"call">;
1953
+ label: z.ZodString;
1954
+ phoneNumber: z.ZodString;
1955
+ }, z.core.$strict>, z.ZodObject<{
1956
+ type: z.ZodLiteral<"copy">;
1957
+ label: z.ZodString;
1958
+ code: z.ZodString;
1959
+ }, z.core.$strict>], "type">>;
1960
+ }, z.core.$strict>, z.ZodObject<{
1961
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1962
+ body: z.ZodString;
1963
+ footer: z.ZodOptional<z.ZodString>;
1964
+ type: z.ZodLiteral<"list">;
1965
+ title: z.ZodOptional<z.ZodString>;
1966
+ buttonLabel: z.ZodDefault<z.ZodString>;
1967
+ sections: z.ZodArray<z.ZodObject<{
1968
+ title: z.ZodOptional<z.ZodString>;
1969
+ rows: z.ZodArray<z.ZodObject<{
1970
+ id: z.ZodString;
1971
+ title: z.ZodString;
1972
+ description: z.ZodOptional<z.ZodString>;
1973
+ }, z.core.$strict>>;
1974
+ }, z.core.$strict>>;
1975
+ }, z.core.$strict>, z.ZodObject<{
1976
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1977
+ body: z.ZodString;
1978
+ footer: z.ZodOptional<z.ZodString>;
1979
+ type: z.ZodLiteral<"form">;
1980
+ title: z.ZodOptional<z.ZodString>;
1981
+ questions: z.ZodArray<z.ZodObject<{
1982
+ type: z.ZodEnum<{
1983
+ multiSelect: "multiSelect";
1984
+ singleSelect: "singleSelect";
1985
+ }>;
1986
+ id: z.ZodString;
1987
+ label: z.ZodString;
1988
+ options: z.ZodArray<z.ZodObject<{
1989
+ id: z.ZodString;
1990
+ label: z.ZodString;
1991
+ }, z.core.$strict>>;
1992
+ allowCustomAnswer: z.ZodOptional<z.ZodBoolean>;
1993
+ }, z.core.$strict>>;
1994
+ }, z.core.$strict>, z.ZodObject<{
1995
+ version: z.ZodOptional<z.ZodLiteral<1>>;
1996
+ body: z.ZodString;
1997
+ footer: z.ZodOptional<z.ZodString>;
1998
+ type: z.ZodLiteral<"carousel">;
1999
+ cards: z.ZodArray<z.ZodObject<{
2000
+ body: z.ZodString;
2001
+ header: z.ZodObject<{
2002
+ source: z.ZodString;
2003
+ filename: z.ZodOptional<z.ZodString>;
2004
+ title: z.ZodOptional<z.ZodString>;
2005
+ type: z.ZodLiteral<"image">;
2006
+ }, z.core.$strict>;
2007
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2008
+ type: z.ZodLiteral<"reply">;
2009
+ id: z.ZodString;
2010
+ label: z.ZodString;
2011
+ }, z.core.$strict>, z.ZodObject<{
2012
+ type: z.ZodLiteral<"url">;
2013
+ label: z.ZodString;
2014
+ url: z.ZodURL;
2015
+ }, z.core.$strict>, z.ZodObject<{
2016
+ type: z.ZodLiteral<"call">;
2017
+ label: z.ZodString;
2018
+ phoneNumber: z.ZodString;
2019
+ }, z.core.$strict>, z.ZodObject<{
2020
+ type: z.ZodLiteral<"copy">;
2021
+ label: z.ZodString;
2022
+ code: z.ZodString;
2023
+ }, z.core.$strict>], "type">>;
2024
+ }, z.core.$strict>>;
2025
+ }, z.core.$strict>, z.ZodObject<{
2026
+ version: z.ZodOptional<z.ZodLiteral<1>>;
2027
+ body: z.ZodString;
2028
+ footer: z.ZodOptional<z.ZodString>;
2029
+ type: z.ZodLiteral<"booking">;
2030
+ title: z.ZodOptional<z.ZodString>;
2031
+ buttonLabel: z.ZodDefault<z.ZodString>;
2032
+ booking: z.ZodObject<{
2033
+ startAt: z.ZodISODateTime;
2034
+ endAt: z.ZodOptional<z.ZodISODateTime>;
2035
+ location: z.ZodOptional<z.ZodString>;
2036
+ url: z.ZodOptional<z.ZodURL>;
2037
+ managementUrl: z.ZodOptional<z.ZodURL>;
2038
+ phoneNumber: z.ZodOptional<z.ZodString>;
2039
+ email: z.ZodOptional<z.ZodEmail>;
2040
+ description: z.ZodOptional<z.ZodString>;
2041
+ labels: z.ZodOptional<z.ZodObject<{
2042
+ language: z.ZodOptional<z.ZodString>;
2043
+ meetingType: z.ZodOptional<z.ZodString>;
2044
+ detailsTitle: z.ZodOptional<z.ZodString>;
2045
+ addToCalendar: z.ZodOptional<z.ZodString>;
2046
+ viewOnMap: z.ZodOptional<z.ZodString>;
2047
+ manageBooking: z.ZodOptional<z.ZodString>;
2048
+ }, z.core.$strict>>;
2049
+ }, z.core.$strict>;
2050
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2051
+ type: z.ZodLiteral<"url">;
2052
+ label: z.ZodString;
2053
+ url: z.ZodURL;
2054
+ }, z.core.$strict>, z.ZodObject<{
2055
+ type: z.ZodLiteral<"call">;
2056
+ label: z.ZodString;
2057
+ phoneNumber: z.ZodString;
2058
+ }, z.core.$strict>, z.ZodObject<{
2059
+ type: z.ZodLiteral<"copy">;
2060
+ label: z.ZodString;
2061
+ code: z.ZodString;
2062
+ }, z.core.$strict>], "type">>>;
2063
+ }, z.core.$strict>, z.ZodObject<{
2064
+ version: z.ZodOptional<z.ZodLiteral<1>>;
2065
+ body: z.ZodString;
2066
+ footer: z.ZodOptional<z.ZodString>;
2067
+ type: z.ZodLiteral<"native">;
2068
+ header: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2069
+ type: z.ZodLiteral<"text">;
2070
+ text: z.ZodString;
2071
+ }, z.core.$strict>, z.ZodObject<{
2072
+ source: z.ZodString;
2073
+ filename: z.ZodOptional<z.ZodString>;
2074
+ title: z.ZodOptional<z.ZodString>;
2075
+ type: z.ZodLiteral<"image">;
2076
+ }, z.core.$strict>, z.ZodObject<{
2077
+ source: z.ZodString;
2078
+ filename: z.ZodOptional<z.ZodString>;
2079
+ title: z.ZodOptional<z.ZodString>;
2080
+ type: z.ZodLiteral<"video">;
2081
+ }, z.core.$strict>, z.ZodObject<{
2082
+ source: z.ZodString;
2083
+ filename: z.ZodOptional<z.ZodString>;
2084
+ title: z.ZodOptional<z.ZodString>;
2085
+ type: z.ZodLiteral<"document">;
2086
+ }, z.core.$strict>], "type">>;
2087
+ actions: z.ZodArray<z.ZodObject<{
2088
+ name: z.ZodString;
2089
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
2090
+ }, z.core.$strict>>;
2091
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
2092
+ }, z.core.$strict>], "type">;
2093
+ type InteractiveContent = z.input<typeof InteractiveContentSchema>;
2094
+ type InteractiveAction = z.infer<typeof InteractiveActionSchema>;
2095
+ type InteractiveHeader = z.infer<typeof InteractiveHeaderSchema>;
2096
+ type FormQuestion = z.infer<typeof FormQuestionSchema>;
2097
+ declare function defineInteractiveMessage<T extends InteractiveContent>(content: T): Extract<z.output<typeof InteractiveContentSchema>, {
2098
+ type: T['type'];
2099
+ }>;
2100
+ declare const FormResponseSchema: z.ZodObject<{
2101
+ messageId: z.ZodString;
2102
+ chatId: z.ZodString;
2103
+ senderId: z.ZodString;
2104
+ originalMessageId: z.ZodOptional<z.ZodString>;
2105
+ timestamp: z.ZodOptional<z.ZodNumber>;
2106
+ raw: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2107
+ type: z.ZodLiteral<"form">;
2108
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2109
+ }, z.core.$strip>;
2110
+ declare const InteractiveResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2111
+ messageId: z.ZodString;
2112
+ chatId: z.ZodString;
2113
+ senderId: z.ZodString;
2114
+ originalMessageId: z.ZodOptional<z.ZodString>;
2115
+ timestamp: z.ZodOptional<z.ZodNumber>;
2116
+ raw: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2117
+ type: z.ZodLiteral<"form">;
2118
+ answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2119
+ }, z.core.$strip>, z.ZodObject<{
2120
+ messageId: z.ZodString;
2121
+ chatId: z.ZodString;
2122
+ senderId: z.ZodString;
2123
+ originalMessageId: z.ZodOptional<z.ZodString>;
2124
+ timestamp: z.ZodOptional<z.ZodNumber>;
2125
+ raw: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2126
+ type: z.ZodLiteral<"reply">;
2127
+ id: z.ZodString;
2128
+ label: z.ZodOptional<z.ZodString>;
2129
+ }, z.core.$strip>, z.ZodObject<{
2130
+ messageId: z.ZodString;
2131
+ chatId: z.ZodString;
2132
+ senderId: z.ZodString;
2133
+ originalMessageId: z.ZodOptional<z.ZodString>;
2134
+ timestamp: z.ZodOptional<z.ZodNumber>;
2135
+ raw: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2136
+ type: z.ZodLiteral<"list">;
2137
+ id: z.ZodString;
2138
+ label: z.ZodOptional<z.ZodString>;
2139
+ }, z.core.$strip>, z.ZodObject<{
2140
+ messageId: z.ZodString;
2141
+ chatId: z.ZodString;
2142
+ senderId: z.ZodString;
2143
+ originalMessageId: z.ZodOptional<z.ZodString>;
2144
+ timestamp: z.ZodOptional<z.ZodNumber>;
2145
+ raw: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2146
+ type: z.ZodLiteral<"native">;
2147
+ name: z.ZodString;
2148
+ parameters: z.ZodOptional<z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
2149
+ parseError: z.ZodOptional<z.ZodString>;
2150
+ }, z.core.$strip>], "type">;
2151
+ type FormResponse = z.infer<typeof FormResponseSchema>;
2152
+ type InteractiveResponse = z.infer<typeof InteractiveResponseSchema>;
2153
+ //#endregion
2154
+ export { statusTextParam as $, CloudUploadOptions as $i, getGroupInfo as $n, sendAdvancedButtons as $r, QueueOptions as $t, audioDataParam as A, ContactSchema as Ai, addLabel as An, getChat as Ar, hexColorCodec as At, imageDataParam as B, Location as Bi, postVideoStatus as Bn, unpinChat as Br, chatStateEvent as Bt, LinkActionSchema as C, Viewport as Ca, unstarMessage as Ci, isPlugged as Cn, getProfilePicture as Cr, createFileCodec as Ct, NativeContentSchema as D, validateConfig as Da, ChatSchema as Di, getBusinessProducts as Dn, deleteChat as Dr, fileToStreamCodec as Dt, NativeActionSchema as E, parseConfig as Ea, ChatId as Ei, setProfilePicture as En, clearChat as Er, fileToDataUrlCodec as Et, contentParam as F, GroupId as Fi, deleteStatus as Fn, muteChat as Fr, unixSecondsToDate as Ft, longitudeParam as G, MessageIdReturnSchema as Gi, getCommunityParticipantIds as Gn, getMessageInfo as Gr, formResponseEvent as Gt, includeNotificationsParam as H, Message as Hi, getCommunityAdminIds as Hn, forwardMessages as Hr, stateChangedEvent as Ht, documentDataParam as I, GroupMetadata as Ii, getStatus as In, pinChat as Ir, urlToDataUrlCodec as It, messageIdsParam as J, SimpleListener as Ji, approveGroupJoinRequest as Jn, getStarredMessages as Jr, messageEvent as Jt, mentionedJidListParam as K, MessageSchema as Ki, getCommunityParticipants as Kn, getMessagesForLLM as Kr, interactiveResponseEvent as Kt, fileDataParam as L, GroupMetadataSchema as Li, getStories as Ln, setChatEphemeral as Lr, addedToGroupEvent as Lt, chatIdParam as M, DataURL as Mi, getChatsByLabel as Mn, isChatOnline as Mr, jsonStringCodec as Mt, communityIdParam as N, GroupChatId as Ni, removeLabel as Nn, markAsRead as Nr, messageIdCodec as Nt, ReplyActionSchema as O, Contact as Oi, getBusinessProfile as On, getAllChatIds as Or, fileToTempPathCodec as Ot, contactIdParam as P, GroupChatIdSchema as Pi, deleteAllStatus as Pn, markAsUnread as Pr, unixMillisToDate as Pt, skipMyMessagesParam as Q, CLOUD_PROVIDERS as Qi, getGroupAdmins as Qn, react as Qr, EventStatus as Qt, filenameParam as R, Id as Ri, postImageStatus as Rn, unarchiveChat as Rr, participantsChangedEvent as Rt, JsonValueSchema as S, StrictConfigSchema as Sa, starMessage as Si, healthCheck as Sn, getNumberProfile as Sr, contactIdCodec as St, ListRowSchema as T, getDefaultConfig as Ta, Chat as Ti, setMyStatus as Tn, archiveChat as Tr, fileToBufferCodec as Tt, latitudeParam as U, MessageAck as Ui, getCommunityAdmins as Un, getAllMessages as Ur, ackEvent as Ut, includeMeParam as V, LocationSchema as Vi, getAllCommunities as Vn, deleteMessage as Vr, logoutEvent as Vt, locationNameParam as W, MessageId as Wi, getCommunityInfo as Wn, getMessageById as Wr, anyMessageEvent as Wt, nameParam as X, ClientConfigSchema as Xi, demoteParticipant as Xn, getVCards as Xr, EventDefinition as Xt, messageOptionsParam as Y, ClientConfig as Yi, createGroup as Yn, getUnsentMessages as Yr, reactionEvent as Yt, onlyLocalParam as Z, migrateV4Config as Zi, getAllGroups as Zn, loadEarlierMessages as Zr, EventMetadata as Zt, InteractiveHeaderSchema as _, S3Sync as _a, sendText as _i, getMe as _n, checkReadReceipts as _r, MessageIdSchema as _t, CarouselContentSchema as a, DevTools as aa, sendFileFromUrl as ai, SendInteractiveInputSchema as an, leaveGroup as ar, withNewMessagesOnlyParam as at, JsonObjectSchema as b, SessionDataSchema as ba, sendVideoAsGif as bi, getUserAgent as bn, getCommonGroups as br, base64ToDataUrlCodec as bt, FormQuestion as c, LoggingTransport as ca, sendListMessage as ci, sendRawMessage as cn, removeParticipant as cr, ChatIdSchema as ct, FormResponseSchema as d, OnError as da, sendMultipleContacts as di, getBatteryLevel as dn, setGroupEditToAdminsOnly as dr, FileToDataUrlSchema as dt, CloudUploadOptionsSchema as ea, sendAudio as ei, QueueOptionsSchema as en, getGroupInviteLink as er, stickerDataParam as et, InteractiveAction as f, PartialConfig as fa, sendPaymentRequest as fi, getConnectionState as fn, setGroupIcon as fr, GroupIdCodecSchema as ft, InteractiveHeader as g, QRFormat as ga, sendSeen as gi, getLoadedMessageCount as gn, checkNumberStatus as gr, MessageIdCodecSchema as gt, InteractiveContentSchema as h, ProxyServerCredentialsSchema as ha, sendReplyWithMentions as hi, getLicenseType as hn, blockContact as hr, IsoDatetimeToDateSchema as ht, CarouselCardSchema as i, DeepPartialConfig as ia, sendFile as ii, index_d_exports as in, joinGroupViaLink as ir, waitForIdParam as it, captionParam as j, Content as ji, getAllLabels as jn, getChatWithNonContacts as jr, isoDatetimeToDate as jt, defineInteractiveMessage as k, ContactId as ki, getOrder as kn, getAllChats as kr, groupIdCodec as kt, FormQuestionSchema as l, LoggingTransportSchema as la, sendLocation as li, decryptMedia as ln, revokeGroupInviteLink as lr, ContactIdCodecSchema as lt, InteractiveContent as m, ProxyServerCredentials as ma, sendPtt as mi, getHostNumber as mn, setGroupToAdminsOnly as mr, HexColorSchema as mt, ButtonsContentSchema as n, ConfigSchema as na, sendButtons as ni, defineListenerV2 as nn, getGroupMembersId as nr, userAgentParam as nt, CopyActionSchema as o, DevToolsSchema as oa, sendImage as oi, SendRawMessageInputSchema as on, promoteParticipant as or, Base64ToDataUrlSchema as ot, InteractiveActionSchema as p, PartialConfigSchema as pa, sendPoll as pi, getFeatures as pn, setGroupTitle as pr, GroupIdSchema as pt, messageIdParam as q, MessageTypes as qi, addParticipant as qn, getMyLastMessage as qr, messageDeletedEvent as qt, CallActionSchema as r, DIRECTORY_STRATEGY as ra, sendContact as ri, eventRegistry as rn, getKickedGroups as rr, videoDataParam as rt, FormContentSchema as s, LicenseType as sa, sendLinkWithAutoPreview as si, sendInteractive as sn, rejectGroupJoinRequest as sr, ChatIdCodecSchema as st, BookingContentSchema as t, Config as ta, sendBanner as ti, QueueOverloadStrategy as tn, getGroupMembers as tr, toParam as tt, FormResponse as u, NotificationLanguage as ua, sendMessageWithThumb as ui, downloadMedia as un, setGroupDescription as ur, ContactIdSchema as ut, InteractiveResponse as v, S3SyncSchema as va, sendTextWithMentions as vi, getProcessStats as vn, getAllContacts as vr, UnixMillisToDateSchema as vt, ListContentSchema as w, ViewportSchema as wa, Base64 as wi, setMyName as wn, unblockContact as wr, fileToBase64Codec as wt, JsonValue as x, StrictConfig as xa, sendYouTubeLink as xi, getWAVersion as xn, getContact as xr, chatIdCodec as xt, InteractiveResponseSchema as y, SessionData as ya, sendVCard as yi, getSnapshot as yn, getBlockedIds as yr, UnixSecondsToDateSchema as yt, groupIdParam as z, IdSchema as zi, postTextStatus as zn, unmuteChat as zr, StateEnum as zt };
2155
+ //# sourceMappingURL=index-DTztyYhw.d.cts.map