@open-wa/schema 5.3.0 → 5.5.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.
- package/dist/calling-media--BLrFrPc.cjs +113 -0
- package/dist/calling-media--BLrFrPc.cjs.map +1 -0
- package/dist/calling-media-BNTYvogE.mjs +60 -0
- package/dist/calling-media-BNTYvogE.mjs.map +1 -0
- package/dist/calling-media-CeGgSzhw.d.cts +48 -0
- package/dist/calling-media-CeGgSzhw.d.cts.map +1 -0
- package/dist/calling-media-CeGgSzhw.d.mts +48 -0
- package/dist/calling-media-CeGgSzhw.d.mts.map +1 -0
- package/dist/calling-media.cjs +8 -0
- package/dist/calling-media.d.cts +2 -0
- package/dist/calling-media.d.mts +2 -0
- package/dist/calling-media.mjs +2 -0
- package/dist/generated/index.cjs +94 -3
- package/dist/generated/index.cjs.map +1 -1
- package/dist/generated/index.d.cts +2328 -133
- package/dist/generated/index.d.cts.map +1 -1
- package/dist/generated/index.d.mts +2328 -133
- package/dist/generated/index.d.mts.map +1 -1
- package/dist/generated/index.mjs +94 -3
- package/dist/generated/index.mjs.map +1 -1
- package/dist/{index-C9Ad0lEr.d.cts → index-BWvNXopK.d.cts} +2375 -41
- package/dist/index-BWvNXopK.d.cts.map +1 -0
- package/dist/{index-D0QN2PaW.d.mts → index-Co8HQxm8.d.mts} +2375 -41
- package/dist/index-Co8HQxm8.d.mts.map +1 -0
- package/dist/index.cjs +191 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +105 -21
- package/dist/index.mjs.map +1 -1
- package/dist/methods/index.cjs +34 -1
- package/dist/methods/index.d.cts +2 -2
- package/dist/methods/index.d.mts +2 -2
- package/dist/methods/index.mjs +2 -2
- package/dist/{methods-BhLsQNtL.mjs → methods-BH7nDC3z.mjs} +816 -51
- package/dist/methods-BH7nDC3z.mjs.map +1 -0
- package/dist/{methods-BGmdzjd3.cjs → methods-DpDzgsbe.cjs} +1284 -63
- package/dist/methods-DpDzgsbe.cjs.map +1 -0
- package/package.json +15 -4
- package/src/calling-media.ts +64 -0
- package/src/calling-wire.ts +17 -0
- package/src/calling.ts +61 -0
- package/src/common-types.ts +16 -0
- package/src/effect-projection.ts +67 -0
- package/src/events/calls.ts +12 -0
- package/src/events/groups.ts +30 -6
- package/src/events/index.ts +4 -0
- package/src/events/messaging.ts +7 -7
- package/src/events/polls.ts +11 -0
- package/src/events/registry.ts +2 -1
- package/src/events/whatsapp-events.ts +13 -0
- package/src/generated/AliasMap.ts +30 -1
- package/src/generated/BaseClient.ts +153 -8
- package/src/generated/BaseNamespacedClient.ts +36 -1
- package/src/generated/openapi.json +22999 -12765
- package/src/generated/types.ts +87 -0
- package/src/index.ts +10 -0
- package/src/license.ts +10 -0
- package/src/media-options.ts +46 -0
- package/src/methods/calls.ts +23 -0
- package/src/methods/contacts.ts +10 -1
- package/src/methods/groups.ts +9 -3
- package/src/methods/index.ts +2 -0
- package/src/methods/messaging.ts +159 -45
- package/src/methods/session.ts +10 -0
- package/src/methods/whatsapp-events.ts +35 -0
- package/src/polls.ts +37 -0
- package/src/session-refresh.ts +15 -0
- package/src/whatsapp-event-registry.ts +17 -0
- package/src/whatsapp-events.ts +91 -0
- package/dist/index-C9Ad0lEr.d.cts.map +0 -1
- package/dist/index-D0QN2PaW.d.mts.map +0 -1
- package/dist/methods-BGmdzjd3.cjs.map +0 -1
- package/dist/methods-BhLsQNtL.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"methods-BH7nDC3z.mjs","names":["id","ContactIdSchema","ChatIdSchema","MessageIdSchema","GroupIdSchema","ContactIdSchema","GroupIdSchema","MessageIdSchema","MessageIdSchema","MessageIdSchema","ChatIdSchema","ContactIdSchema","MessageIdSchema","ChatIdSchema","ContactIdSchema","ContactIdSchema","MessageIdSchema","media"],"sources":["../src/effect-projection.ts","../src/whatsapp-events.ts","../src/whatsapp-event-registry.ts","../src/common-types.ts","../src/return-types.ts","../src/media-options.ts","../src/polls.ts","../src/codecs.ts","../src/parameters.ts","../src/methods/messaging.ts","../src/methods/chats.ts","../src/methods/contacts.ts","../src/methods/groups.ts","../src/methods/communities.ts","../src/methods/status.ts","../src/methods/labels.ts","../src/methods/business.ts","../src/license.ts","../src/methods/session.ts","../src/methods/media.ts","../src/interactive.ts","../src/methods/interactive.ts","../src/calling.ts","../src/methods/calls.ts","../src/methods/whatsapp-events.ts"],"sourcesContent":["import { Schema } from 'effect';\nimport { z } from 'zod';\n\ntype JsonSchema = { $ref?: string; type?: string; const?: unknown; enum?: unknown[]; anyOf?: JsonSchema[]; oneOf?: JsonSchema[]; properties?: Record<string, JsonSchema>; required?: string[]; items?: JsonSchema; additionalProperties?: boolean | JsonSchema; minimum?: number; maximum?: number; exclusiveMinimum?: number; exclusiveMaximum?: number; minLength?: number; maxLength?: number };\n\n/** Project Effect contracts into the serving method and listener registry. */\nexport function projectEffectSchema<S extends Schema.Top>(schema: S): z.ZodType<S['Type'], S['Encoded']> {\n // JSON codec generation maps undefined to null. Project Struct fields from\n // their original schemas so optional properties retain their JS semantics.\n if ('fields' in schema) {\n const fields = schema.fields as Record<string, Schema.Top>;\n const shape = Object.fromEntries(Object.entries(fields).map(([name, field]) => {\n const optional = field.ast.context?.isOptional === true;\n const hasUndefined = field.ast._tag === 'Union' && field.ast.types.some(member => member._tag === 'Undefined');\n const valueSchema = !optional ? field : hasUndefined\n ? Schema.required(field as Schema.optional<Schema.Top>)\n : Schema.requiredKey(field as Schema.optionalKey<Schema.Top>);\n const value = projectEffectSchema(valueSchema);\n return [name, optional ? value.optional() : value];\n }));\n return z.object(shape) as z.ZodType<S['Type'], S['Encoded']>;\n }\n const document = Schema.toJsonSchemaDocument(schema);\n const project = (node: JsonSchema): z.ZodType => {\n if (node.$ref) {\n const key = node.$ref.split('/').at(-1)!;\n return project(document.definitions[key] as JsonSchema);\n }\n if ('const' in node) return z.literal(node.const as string | number | boolean | null);\n if (node.enum) return z.union(node.enum.map(value => z.literal(value as string | number | boolean | null)));\n const members = node.anyOf ?? node.oneOf;\n if (members) return z.union(members.map(project));\n switch (node.type) {\n case 'string': {\n let value = z.string();\n if (node.minLength !== undefined) value = value.min(node.minLength);\n if (node.maxLength !== undefined) value = value.max(node.maxLength);\n return value;\n }\n case 'number':\n case 'integer': {\n let value = node.type === 'integer' ? z.number().int() : z.number();\n if (node.minimum !== undefined) value = value.min(node.minimum);\n if (node.maximum !== undefined) value = value.max(node.maximum);\n if (node.exclusiveMinimum !== undefined) value = value.gt(node.exclusiveMinimum);\n if (node.exclusiveMaximum !== undefined) value = value.lt(node.exclusiveMaximum);\n return value;\n }\n case 'boolean': return z.boolean();\n case 'null': return z.null();\n case 'array': return z.array(project(node.items ?? {}));\n case 'object': {\n const properties = node.properties ?? {};\n const values = typeof node.additionalProperties === 'object' ? project(node.additionalProperties) : node.additionalProperties ? z.unknown() : undefined;\n if (!Object.keys(properties).length && values) return z.record(z.string(), values);\n const required = new Set(node.required ?? []);\n const object = z.object(Object.fromEntries(Object.entries(properties).map(([key, value]) => {\n const field = project(value);\n return [key, required.has(key) ? field : field.optional()];\n })));\n return values ? object.catchall(values) : object;\n }\n default: return z.unknown();\n }\n };\n return project(document.schema as JsonSchema) as z.ZodType<S['Type'], S['Encoded']>;\n}\n","import { Schema } from 'effect';\n\nconst id = Schema.String.check(Schema.isMinLength(1));\nconst seconds = Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0), Schema.isLessThanOrEqualTo(2147483647));\nconst milliseconds = Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0));\n\n/** Native WhatsApp event input. All event times are Unix seconds. */\nexport const EventInputSchema = Schema.Struct({\n name: Schema.String.check(Schema.isMinLength(1)),\n startTime: seconds,\n endTime: Schema.optional(seconds),\n description: Schema.optional(Schema.String),\n location: Schema.optional(Schema.String),\n extraGuestsAllowed: Schema.optional(Schema.Boolean),\n callType: Schema.optional(Schema.Literals(['voice', 'video'])),\n isScheduledCall: Schema.optional(Schema.Boolean),\n requireApproval: Schema.optional(Schema.Boolean),\n quotedMsgId: Schema.optional(id),\n});\nexport type EventInput = typeof EventInputSchema.Type;\n\nexport function validateEventInput(input: unknown): EventInput {\n const event = Schema.decodeUnknownSync(EventInputSchema)(input);\n if (!event.name.trim()) throw new Error('An event needs a name.');\n if (event.endTime !== undefined && event.endTime < event.startTime) throw new Error('Event endTime must be at or after startTime.');\n if (event.isScheduledCall && !event.callType) throw new Error('A scheduled call needs a callType.');\n return event;\n}\n\nexport const EventUpdateSchema = Schema.Struct({\n name: Schema.optional(Schema.String.check(Schema.isMinLength(1))),\n startTime: Schema.optional(seconds),\n endTime: Schema.optional(Schema.NullOr(seconds)),\n description: Schema.optional(Schema.String),\n location: Schema.optional(Schema.String),\n});\nexport type EventUpdate = typeof EventUpdateSchema.Type;\n\nexport function validateEventUpdate(input: unknown): EventUpdate {\n const changes = Schema.decodeUnknownSync(EventUpdateSchema)(input);\n if (changes.name !== undefined && !changes.name.trim()) throw new Error('An event needs a name.');\n if (changes.startTime !== undefined && changes.endTime != null && changes.endTime < changes.startTime) throw new Error('Event endTime must be at or after startTime.');\n return changes;\n}\n\n/** A JSON-safe event snapshot. Message secrets and encrypted RSVP data stay private. */\nexport const WhatsAppEventSchema = Schema.Struct({\n id, chatId: id, creatorId: id,\n name: Schema.String,\n startTime: seconds,\n endTime: Schema.optional(seconds),\n description: Schema.optional(Schema.String),\n location: Schema.optional(Schema.Struct({\n name: Schema.optional(Schema.String),\n latitude: Schema.optional(Schema.Number.check(Schema.isGreaterThanOrEqualTo(-90), Schema.isLessThanOrEqualTo(90))),\n longitude: Schema.optional(Schema.Number.check(Schema.isGreaterThanOrEqualTo(-180), Schema.isLessThanOrEqualTo(180))),\n })),\n joinLink: Schema.optional(Schema.String),\n isScheduledCall: Schema.optional(Schema.Boolean),\n extraGuestsAllowed: Schema.optional(Schema.Boolean),\n isCanceled: Schema.Boolean,\n fromMe: Schema.Boolean,\n timestamp: seconds,\n});\nexport type WhatsAppEvent = typeof WhatsAppEventSchema.Type;\n\nexport const EventResponseTypeSchema = Schema.Literals(['going', 'notGoing', 'maybe', 'unknown']);\nexport type EventResponseType = typeof EventResponseTypeSchema.Type;\nexport const EventResponseSchema = Schema.Struct({\n id, eventId: id, chatId: id, senderId: id,\n response: EventResponseTypeSchema,\n /** Sender's monotonically increasing RSVP timestamp, in milliseconds. */\n timestamp: milliseconds,\n fromMe: Schema.Boolean,\n});\nexport type EventResponse = typeof EventResponseSchema.Type;\n\nexport const EventListOptionsSchema = Schema.Struct({\n limit: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(1), Schema.isLessThanOrEqualTo(100))),\n before: Schema.optional(id),\n});\nexport type EventListOptions = typeof EventListOptionsSchema.Type;\nexport const EventPageSchema = Schema.Struct({ events: Schema.Array(WhatsAppEventSchema), nextCursor: Schema.NullOr(id) });\nexport type EventPage = typeof EventPageSchema.Type;\n\nexport const decodeWhatsAppEvent = Schema.decodeUnknownSync(WhatsAppEventSchema);\nexport const decodeEventResponse = Schema.decodeUnknownSync(EventResponseSchema);\nexport const serializeWhatsAppEvent = (event: WhatsAppEvent): string => JSON.stringify(Schema.encodeSync(WhatsAppEventSchema)(event));\nexport const deserializeWhatsAppEvent = (json: string): WhatsAppEvent => decodeWhatsAppEvent(JSON.parse(json));\nexport const serializeEventResponse = (response: EventResponse): string => JSON.stringify(Schema.encodeSync(EventResponseSchema)(response));\nexport const deserializeEventResponse = (json: string): EventResponse => decodeEventResponse(JSON.parse(json));\n","import { projectEffectSchema } from './effect-projection';\nimport {\n EventInputSchema, EventUpdateSchema, WhatsAppEventSchema, EventResponseSchema,\n EventListOptionsSchema, EventPageSchema, validateEventInput, validateEventUpdate,\n} from './whatsapp-events';\n\n// Shared serving projections retain the Effect contracts' input/output types.\nexport const EventInputRegistrySchema = projectEffectSchema(EventInputSchema).superRefine((value, ctx) => {\n try { validateEventInput(value); } catch (error) { ctx.addIssue({ code: 'custom', message: String(error) }); }\n}).meta({ examples: [{ name: 'Community meetup', startTime: 1893456000, description: 'Meet the community' }] });\nexport const EventUpdateRegistrySchema = projectEffectSchema(EventUpdateSchema).superRefine((value, ctx) => {\n try { validateEventUpdate(value); } catch (error) { ctx.addIssue({ code: 'custom', message: String(error) }); }\n}).meta({ examples: [{ description: 'Updated meetup details' }] });\nexport const WhatsAppEventRegistrySchema = projectEffectSchema(WhatsAppEventSchema);\nexport const EventResponseRegistrySchema = projectEffectSchema(EventResponseSchema);\nexport const EventListOptionsRegistrySchema = projectEffectSchema(EventListOptionsSchema);\nexport const EventPageRegistrySchema = projectEffectSchema(EventPageSchema);\n","import { z } from 'zod';\nimport { WhatsAppEventRegistrySchema } from './whatsapp-event-registry';\n\n// Aliases\nexport const ContactIdSchema = z.string().brand('ContactId').describe('Opaque WhatsApp contact identifier. Preserve the exact value returned by the API.');\nexport type ContactId = z.infer<typeof ContactIdSchema>;\n\nexport const ChatIdSchema = z.string().brand('ChatId').describe('Opaque conversation identifier. Use the exact value returned by a message event or chat lookup.');\nexport type ChatId = z.infer<typeof ChatIdSchema>;\n\nexport const MessageIdSchema = z.string().brand('MessageId').describe('Message identifier returned by a send method or message event.');\nexport type MessageId = z.infer<typeof MessageIdSchema>;\n\nexport const GroupChatIdSchema = z.string().brand('GroupChatId').describe('Opaque group conversation identifier returned by a group lookup or join method.');\nexport type GroupChatId = z.infer<typeof GroupChatIdSchema>;\n\nexport const GroupIdSchema = z.string().brand('GroupId').describe('Identifier for a WhatsApp group. Use the value returned by the API.');\nexport type GroupId = z.infer<typeof GroupIdSchema>;\n\nexport const DataURLSchema = z.templateLiteral(['data:', z.string(), ';base64,', z.string()]);\nexport type DataURL = z.infer<typeof DataURLSchema>;\nexport type Base64 = string;\nexport type Content = string | DataURL | Base64 | Buffer;\n\nexport const GroupMetadataSchema = z.object({\n id: GroupIdSchema,\n subject: z.string(),\n creation: z.number(),\n owner: ContactIdSchema.optional(),\n desc: z.string().optional(),\n descTime: z.number().optional(),\n descOwner: ContactIdSchema.optional(),\n restrict: z.boolean().optional(),\n announce: z.boolean().optional(),\n participants: z.array(z.object({\n id: ContactIdSchema,\n isAdmin: z.boolean(),\n isSuperAdmin: z.boolean().optional(),\n })),\n}).passthrough().describe('Serialized group metadata returned by group lookups. Additional WhatsApp Web fields may be present.');\nexport type GroupMetadata = z.infer<typeof GroupMetadataSchema>;\n\n// Id\nexport const IdSchema = z.object({\n server: z.string(),\n user: z.string(),\n _serialized: z.string(),\n});\nexport type Id = z.infer<typeof IdSchema>;\n\n// Enums\nexport enum MessageTypes {\n TEXT = 'chat',\n AUDIO = 'audio',\n VOICE = 'ptt',\n IMAGE = 'image',\n VIDEO = 'video',\n ALBUM = 'album',\n EVENT_CREATION = 'event_creation',\n EVENT_RESPONSE = 'event_response',\n DOCUMENT = 'document',\n STICKER = 'sticker',\n LOCATION = 'location',\n CONTACT_CARD = 'vcard',\n CONTACT_CARD_MULTI = 'multi_vcard',\n REVOKED = 'revoked',\n ORDER = 'order',\n BUTTONS_RESPONSE = 'buttons_response',\n LIST_RESPONSE = \"list_response\",\n UNKNOWN = 'unknown'\n}\n\nexport enum MessageAck {\n ACK_ERROR = -1,\n ACK_PENDING = 0,\n ACK_SERVER = 1,\n ACK_DEVICE = 2,\n ACK_READ = 3,\n ACK_PLAYED = 4,\n}\n\n/**\n * An enum of all the \"simple listeners\". A simple listener is a listener that just takes one parameter which is the callback function to handle the event.\n */\nexport enum SimpleListener {\n Event = 'onEvent',\n EventResponse = 'onEventResponse',\n /**\n * Represents [[onMessage]]\n */\n Message = 'onMessage',\n /**\n * Represents [[onAnyMessage]]\n */\n AnyMessage = 'onAnyMessage',\n /**\n * Represents [[onMessageDeleted]]\n */\n MessageDeleted = 'onMessageDeleted',\n /**\n * Represents [[onAck]]\n */\n Ack = 'onAck',\n /**\n * Represents [[onAddedToGroup]]\n */\n AddedToGroup = 'onAddedToGroup',\n /**\n * Represents [[onChatDeleted]]\n */\n ChatDeleted = 'onChatDeleted',\n /**\n * Represents [[onBattery]]\n */\n Battery = 'onBattery',\n /**\n * Represents [[onChatOpened]]\n */\n ChatOpened = 'onChatOpened',\n /**\n * Represents [[onIncomingCall]]\n */\n IncomingCall = 'onIncomingCall',\n /**\n * Represents [[onGlobalParticipantsChanged]]\n */\n GlobalParticipantsChanged = 'onGlobalParticipantsChanged',\n /**\n * Represents [[onChatState]]\n */\n ChatState = 'onChatState',\n /**\n * Represents [[onLogout]]\n */\n Logout = 'onLogout',\n /**\n * Represents [[onPlugged]]\n */\n Plugged = 'onPlugged',\n /**\n * Represents [[onStateChanged]]\n */\n StateChanged = 'onStateChanged',\n /**\n * Represents [[onButton]]\n */\n Button = 'onButton',\n /**\n * Requires licence\n * Represents [[onStory]]\n */\n Story = 'onStory',\n /**\n * Requires licence\n * Represents [[onRemovedFromGroup]]\n */\n RemovedFromGroup = 'onRemovedFromGroup',\n /**\n * Requires licence\n * Represents [[onContactAdded]]\n */\n ContactAdded = 'onContactAdded',\n /**\n * Represents [[onOrder]]\n */\n Order = 'onOrder',\n}\n\n// Forward declarations\nconst MessageSchemaBase = z.object({\n id: MessageIdSchema,\n body: z.string(),\n type: z.nativeEnum(MessageTypes),\n t: z.number(),\n notifyName: z.string().optional(),\n from: ChatIdSchema,\n to: ChatIdSchema,\n self: z.enum(['in', 'out']),\n ack: z.nativeEnum(MessageAck),\n invis: z.boolean().optional(),\n isNewMsg: z.boolean().optional(),\n star: z.boolean().optional(),\n recvFresh: z.boolean().optional(),\n broadcast: z.boolean().optional(),\n isForwarded: z.boolean().optional(),\n labels: z.array(z.string()).optional(),\n mentionedJidList: z.array(ContactIdSchema).optional(),\n caption: z.string().optional(),\n event: WhatsAppEventRegistrySchema.optional(),\n expectedImageCount: z.number().int().nonnegative().nullable().optional()\n .describe('Number of image messages declared by an album container; not a received-media count.'),\n expectedVideoCount: z.number().int().nonnegative().nullable().optional()\n .describe('Number of video messages declared by an album container, including GIF videos.'),\n parentMsgKey: MessageIdSchema.nullable().optional()\n .describe('Serialized parent message ID for associated media.'),\n associationType: z.string().nullable().optional()\n .describe('WhatsApp association type. Album media uses MEDIA_ALBUM.'),\n isGif: z.boolean().optional(),\n sender: z.any(), // Circular reference handled later/lazy\n timestamp: z.number(),\n content: z.string(),\n isGroupMsg: z.boolean(),\n isMMS: z.boolean().optional(),\n isMedia: z.boolean(),\n isNotification: z.boolean(),\n isPSA: z.boolean().optional(),\n fromMe: z.boolean(),\n chat: z.any(), // Circular reference handled later/lazy\n chatId: ChatIdSchema,\n author: z.string().optional(),\n clientUrl: z.string().optional(),\n deprecatedMms3Url: z.string().optional(),\n isQuotedMsgAvailable: z.boolean(),\n quotedMsg: z.any().optional(), // z.lazy(() => MessageSchema.optional()),\n quotedMsgObj: z.any().optional(), // z.lazy(() => MessageSchema.optional()),\n senderId: z.string().optional(),\n}).passthrough();\n\n\n// Contact\nexport const ContactSchema = z.object({\n id: ContactIdSchema,\n name: z.string().optional(),\n shortName: z.string().optional(),\n pushname: z.string().optional(),\n formattedName: z.string().optional(),\n isBusiness: z.boolean().optional(),\n isEnterprise: z.boolean().optional(),\n isMe: z.boolean().optional(),\n isMyContact: z.boolean().optional(),\n isPSA: z.boolean().optional(),\n isUser: z.boolean().optional(),\n isWAContact: z.boolean().optional(),\n labels: z.array(z.string()).optional(),\n msgs: z.array(z.unknown()).nullable().optional(), // Raw nested messages avoid recursive serialization\n profilePicThumbObj: z.object({\n eurl: z.string().optional(),\n id: IdSchema.optional(),\n img: z.string().optional(),\n imgFull: z.string().optional(),\n tag: z.string().optional(),\n }).optional(),\n statusMute: z.boolean().optional(),\n type: z.string().optional(),\n verifiedLevel: z.number().optional(),\n verifiedName: z.string().optional(),\n isOnline: z.boolean().optional(),\n lastSeen: z.number().optional(),\n}).passthrough();\n\nexport type Contact = z.infer<typeof ContactSchema>;\n\n// Location\nexport const LocationSchema = z.object({\n lat: z.number().describe('Latitude coordinate'),\n lng: z.number().describe('Longitude coordinate'),\n name: z.string().optional().describe('Location name'),\n address: z.string().optional().describe('Formatted address'),\n url: z.string().optional().describe('WhatsApp location URL'),\n}).passthrough();\n\nexport type Location = z.infer<typeof LocationSchema>;\n\n// Chat\nexport const ChatSchema = z.object({\n id: ChatIdSchema,\n name: z.string().optional(),\n formattedTitle: z.string().optional(),\n isGroup: z.boolean(),\n contact: ContactSchema.nullable(),\n groupMetadata: GroupMetadataSchema.nullable().optional(),\n presence: z.record(z.string(), z.unknown()).nullable().optional(),\n t: z.number().optional(),\n unreadCount: z.number().optional(),\n lastReceivedKey: z.any().optional(),\n msgs: z.array(z.unknown()).nullable().optional(), // Raw nested messages avoid recursive serialization\n isReadOnly: z.boolean().optional(),\n muteExpiration: z.number().optional(),\n notSpam: z.boolean().optional(),\n pin: z.number().optional(),\n ack: z.any().optional(),\n}).passthrough().describe('Serialized chat returned by chat lookups and listings. Its id is an opaque ChatId; additional WhatsApp Web fields may be present.');\n\nexport type Chat = z.infer<typeof ChatSchema>;\n\n// Full Message Schema with implementations\nexport const MessageSchema = MessageSchemaBase.extend({\n sender: ContactSchema,\n chat: ChatSchema,\n});\n\nexport type Message = z.infer<typeof MessageSchema>;\n\n// Additional return types\nexport const SerializedMessageIdSchema = z.object({\n _serialized: z.string(),\n}).passthrough();\n\nexport const MessageIdReturnSchema = z.union([MessageIdSchema, SerializedMessageIdSchema])\n .describe('A message ID as a string or an object containing the serialized ID. Validate it before passing it to another method.');\nexport type MessageIdReturn = z.infer<typeof MessageIdReturnSchema>;\n\nexport type SerializedMessageId = z.infer<typeof SerializedMessageIdSchema>;\n","import { z } from 'zod';\nimport { ContactIdSchema, GroupChatIdSchema, GroupIdSchema, IdSchema, ContactSchema, GroupMetadataSchema, MessageIdSchema, MessageSchema } from './common-types';\n\n// Public data contracts retained from the v4 models and the shipped WAPI\n// serializers. Optional provider fields stay optional; extensions stay unknown.\nexport const LabelSchema = z.object({\n id: z.string(), name: z.string(),\n items: z.array(z.object({ type: z.enum(['Chat', 'Contact', 'Message']), id: z.string() })),\n}).passthrough();\nexport type Label = z.infer<typeof LabelSchema>;\n\nexport const NumberCheckSchema = z.object({\n id: z.union([IdSchema, ContactIdSchema]),\n status: z.unknown().describe('HTTP-like status code, or a provider error value when lookup fails.'), isBusiness: z.boolean().optional(),\n canReceiveMessage: z.boolean(), numberExists: z.boolean().optional(),\n}).passthrough();\nexport type NumberCheck = z.infer<typeof NumberCheckSchema>;\n\nexport const CommonGroupSchema = z.object({ id: GroupIdSchema, title: z.string() }).passthrough();\nexport const GroupCreationResultSchema = z.object({\n gid: z.union([GroupIdSchema, IdSchema]),\n status: z.number().optional(),\n participants: z.union([z.record(z.string(), z.object({ code: z.number(), invite_code: z.string().optional(), invite_code_exp: z.string().optional() })), z.array(z.record(z.string(), z.unknown()))]).optional(),\n}).passthrough();\nexport const CommunityMetadataSchema = GroupMetadataSchema.extend({ subGroups: z.array(GroupMetadataSchema) });\nexport const CommunityParticipantIdsSchema = z.object({ id: GroupChatIdSchema, participants: z.array(ContactIdSchema), subgroup: z.boolean() });\nexport const CommunityAdminIdsSchema = z.object({ id: GroupChatIdSchema, admins: z.array(ContactIdSchema), subgroup: z.boolean() });\nexport const CommunityParticipantsSchema = z.object({ id: GroupChatIdSchema, participants: z.array(ContactSchema), subgroup: z.boolean() });\nexport const CommunityAdminsSchema = z.object({ id: GroupChatIdSchema, admins: z.array(ContactSchema), subgroup: z.boolean() });\nexport const MessageInteractionSchema = z.object({ id: ContactIdSchema, t: z.number() });\nexport const MessageInfoSchema = z.object({\n id: MessageIdSchema, deliveryRemaining: z.number(), playedRemaining: z.number(), readRemaining: z.number(),\n delivery: z.array(MessageInteractionSchema), read: z.array(MessageInteractionSchema), played: z.array(MessageInteractionSchema),\n}).passthrough();\nexport type MessageInfo = z.infer<typeof MessageInfoSchema>;\nexport const LLMMessageSchema = z.object({ role: z.enum(['user', 'assistant']), content: z.string() });\nexport const ContactStatusSchema = z.object({ id: z.string(), status: z.string() });\nexport const HostAccountSchema = z.object({ me: z.union([IdSchema, ContactIdSchema]) }).passthrough()\n .describe('Host account attributes plus the current account ID. Additional WhatsApp Web attributes vary by version.');\nexport const HealthCheckSchema = z.object({\n queuedMessages: z.number().optional(), state: z.string().optional(), isPhoneDisconnected: z.boolean().optional(),\n isHere: z.boolean().optional(), wapiInjected: z.boolean().optional(), online: z.boolean().optional(),\n tryingToReachPhone: z.boolean().optional(), retryingIn: z.number().optional(), batteryLow: z.boolean().optional(),\n}).passthrough().describe('Browser health diagnostics. This is not the Easy API /health HTTP envelope.');\nexport const LicenseTypeSchema = z.enum(['CUSTOM', 'B2B_RESTRICTED_VOLUME_LICENSE', 'Insiders Program', 'Text Story License Key', 'Image Story License Key', 'Video Story License Key', 'Premium License Key', 'NONE']);\nexport const ProductSchema = z.object({\n id: z.string(), currency: z.string(), name: z.string().optional(), description: z.string().optional(),\n isHidden: z.boolean().optional(), catalogWid: z.string().optional(), url: z.string().optional(),\n availability: z.union([z.number(), z.literal('unknown')]).optional(),\n reviewStatus: z.enum(['NO_REVIEW', 'PENDING', 'REJECTED', 'APPROVED', 'OUTDATED']).optional(),\n imageCdnUrl: z.string().optional(), imageCount: z.number().optional(), additionalImageCdnUrl: z.array(z.string()).optional(),\n priceAmount1000: z.number().optional(), retailerId: z.string().optional(), t: z.number().optional(),\n}).passthrough();\nexport const CartItemSchema = z.object({ id: z.string(), name: z.string(), qty: z.number(), thumbnailId: z.string(), thumbnailUrl: z.string() });\nexport const OrderSchema = z.object({\n id: z.string(), createdAt: z.number(), currency: z.string(), products: z.array(CartItemSchema),\n sellerJid: z.string(), subtotal: z.string(), total: z.string(), message: MessageSchema.optional(),\n}).passthrough();\nexport const BusinessProfileSchema = z.object({\n id: ContactIdSchema, tag: z.string().optional(), description: z.string().optional(),\n categories: z.array(z.object({ id: z.string(), localized_display_name: z.string() })).optional(),\n profileOptions: z.object({ commerceExperience: z.enum(['catalog', 'none', 'shop']), cartEnabled: z.boolean() }).optional(),\n email: z.string().optional(), website: z.array(z.string()).optional(),\n businessHours: z.object({ config: z.record(z.string(), z.object({ mode: z.enum(['specific_hours', 'open_24h', 'appointment_only']), hours: z.array(z.array(z.number())) })), timezone: z.string() }).optional(),\n catalogStatus: z.string().optional(), address: z.string().optional(), fbPage: z.unknown().optional(), igProfessional: z.unknown().optional(),\n isProfileLinked: z.boolean().optional(), coverPhoto: z.object({ id: z.string(), url: z.string() }).optional(),\n latitude: z.number().optional(), longitude: z.number().optional(),\n}).passthrough();\nexport type BusinessProfile = z.infer<typeof BusinessProfileSchema>;\nexport type Product = z.infer<typeof ProductSchema>;\nexport type Order = z.infer<typeof OrderSchema>;\nexport type HealthCheck = z.infer<typeof HealthCheckSchema>;\nexport type HostAccount = z.infer<typeof HostAccountSchema>;\n\n// No fixed public payload is available for these patch-supplied methods. Do not\n// fabricate fields or let `any` disable narrowing for callers.\nexport const FeatureFlagsSchema = z.record(z.string(), z.unknown())\n .describe('WhatsApp feature flags keyed by name. Values are provider-defined and must be narrowed before use.');\nexport const ProcessStatsSchema = z.record(z.string(), z.unknown())\n .describe('Process diagnostics keyed by process ID. The provider controls each entry; no stable entry shape is guaranteed.');\n// Provisional profile contract: reuse the public contact serializer's fields,\n// but do not require them until the licensed provider payload is established.\n// Keep extensions unknown rather than inventing additional profile properties.\nexport const NumberProfileSchema = ContactSchema.partial()\n .describe('Provisional number profile based on the public Contact fields. Fields are optional and additional provider fields are unknown. The licensed getNumberProfile payload has not been verified against this model.');\n\n// The v4 getMyStoryArray and onStory contracts use Message. Reuse that model\n// for story entries, allowing provider payloads to omit hydrated chat/sender data.\nexport const StorySchema = MessageSchema.omit({ chat: true, sender: true }).extend({\n chat: MessageSchema.shape.chat.nullable().optional(),\n sender: ContactSchema.nullable().optional(),\n})\n .describe('Message-shaped status entry, based on the legacy story API. Chat and sender may be absent or null. The licensed getStories payload has not been verified against this model.');\n\nexport type CommonGroup = z.infer<typeof CommonGroupSchema>;\n\nexport type GroupCreationResult = z.infer<typeof GroupCreationResultSchema>;\n\nexport type CommunityMetadata = z.infer<typeof CommunityMetadataSchema>;\n\nexport type CommunityParticipantIds = z.infer<typeof CommunityParticipantIdsSchema>;\n\nexport type CommunityAdminIds = z.infer<typeof CommunityAdminIdsSchema>;\n\nexport type CommunityParticipants = z.infer<typeof CommunityParticipantsSchema>;\n\nexport type CommunityAdmins = z.infer<typeof CommunityAdminsSchema>;\n\nexport type MessageInteraction = z.infer<typeof MessageInteractionSchema>;\n\nexport type LLMMessage = z.infer<typeof LLMMessageSchema>;\n\nexport type ContactStatus = z.infer<typeof ContactStatusSchema>;\n\nexport type LicenseType = z.infer<typeof LicenseTypeSchema>;\n\nexport type CartItem = z.infer<typeof CartItemSchema>;\n\nexport type FeatureFlags = z.infer<typeof FeatureFlagsSchema>;\n\nexport type ProcessStats = z.infer<typeof ProcessStatsSchema>;\n\nexport type NumberProfile = z.infer<typeof NumberProfileSchema>;\n\nexport type Story = z.infer<typeof StorySchema>;\n","import { z } from 'zod';\nimport { MessageIdSchema } from './common-types';\n\nconst quote = { quotedMsgId: MessageIdSchema.optional().describe('A message in the destination chat to quote') };\nconst caption = { caption: z.string().optional().describe('Caption for the attachment') };\nconst viewOnce = { viewOnce: z.boolean().optional().describe('Use WhatsApp view-once media') };\n\nexport const ImageSendOptionsSchema = z.strictObject({\n type: z.literal('image'), ...caption, ...quote, ...viewOnce,\n});\nexport const VideoSendOptionsSchema = z.strictObject({\n type: z.literal('video'), ...caption, ...quote, ...viewOnce,\n isGif: z.boolean().optional().describe('Loop an MP4 as a WhatsApp GIF'),\n videoNote: z.boolean().optional().describe('Send a square MP4, at most 60 seconds, as a circular video note (PTV)'),\n}).superRefine((options, ctx) => {\n if (options.videoNote && options.isGif) ctx.addIssue({ code: 'custom', path: ['isGif'], message: 'A video note cannot also be a GIF' });\n if (options.isGif && options.viewOnce) ctx.addIssue({ code: 'custom', path: ['viewOnce'], message: 'A GIF cannot be view once' });\n if (options.videoNote && options.caption) ctx.addIssue({ code: 'custom', path: ['caption'], message: 'Video notes do not support captions' });\n});\nexport const AudioSendOptionsSchema = z.strictObject({\n type: z.literal('audio'), ...quote, ...viewOnce,\n ptt: z.boolean().optional().describe('Send audio as a voice note; does not transcode it'),\n}).refine(options => !options.viewOnce || options.ptt === true, {\n path: ['viewOnce'], message: 'View-once audio must be a voice note (ptt: true)',\n});\nexport const DocumentSendOptionsSchema = z.strictObject({\n type: z.literal('document'), ...caption, ...quote,\n}).describe('Force document presentation, even for an image, video or audio file');\nexport const AutoMediaSendOptionsSchema = z.strictObject({\n type: z.literal('auto').optional(), ...caption, ...quote, ...viewOnce,\n}).describe('Detect presentation from the file MIME type; view once requires an image or video');\nexport const MediaSendOptionsSchema = z.discriminatedUnion('type', [\n AutoMediaSendOptionsSchema, ImageSendOptionsSchema, VideoSendOptionsSchema,\n AudioSendOptionsSchema, DocumentSendOptionsSchema,\n]);\nexport type MediaSendOptions = z.infer<typeof MediaSendOptionsSchema>;\nexport type ImageSendOptions = z.infer<typeof ImageSendOptionsSchema>;\nexport type VideoSendOptions = z.infer<typeof VideoSendOptionsSchema>;\nexport type AudioSendOptions = z.infer<typeof AudioSendOptionsSchema>;\n\nexport const AudioAttachmentOptionsSchema = z.strictObject({ ...quote });\nexport const VoiceNoteOptionsSchema = z.strictObject({ ...quote, ...viewOnce });\nexport const GifSendOptionsSchema = z.strictObject({ ...caption, ...quote });\nexport type AudioAttachmentOptions = z.infer<typeof AudioAttachmentOptionsSchema>;\nexport type VoiceNoteOptions = z.infer<typeof VoiceNoteOptionsSchema>;\nexport type GifSendOptions = z.infer<typeof GifSendOptionsSchema>;\n","import { z } from 'zod';\nimport { ChatIdSchema, ContactIdSchema, MessageIdSchema } from './common-types';\n\nexport const PollSendOptionsSchema = z.strictObject({\n selectableCount: z.number().int().min(0).optional().describe('Selection limit; default 1, zero allows all options'),\n quotedMsgId: MessageIdSchema.optional(),\n endTime: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).optional().describe('Closing time as Unix milliseconds; must be in the future'),\n hideVoterNames: z.boolean().optional().describe('Hide voter names in WhatsApp; not a cryptographic anonymity guarantee'),\n});\nexport type PollSendOptions = z.infer<typeof PollSendOptionsSchema>;\nexport const PollVoteSchema = z.strictObject({\n pollId: MessageIdSchema,\n chatId: ChatIdSchema,\n id: MessageIdSchema.optional().describe('Omitted when the poll hides voter names'),\n senderId: ContactIdSchema.optional().describe('Omitted when the poll hides voter names'),\n selectedOptionIds: z.array(z.number().int().nonnegative()),\n timestamp: z.number().int().nonnegative().describe('Native vote timestamp in Unix milliseconds'),\n fromMe: z.boolean(),\n hideVoterNames: z.boolean(),\n});\nexport type PollVote = z.infer<typeof PollVoteSchema>;\nexport const PollResultsSchema = z.strictObject({\n pollId: MessageIdSchema,\n chatId: ChatIdSchema,\n name: z.string(),\n selectableCount: z.number().int().nonnegative(),\n endTime: z.number().int().nonnegative().optional(),\n isClosed: z.boolean(),\n hideVoterNames: z.boolean(),\n options: z.array(z.strictObject({ id: z.number().int().nonnegative(), name: z.string(), count: z.number().int().nonnegative() })),\n voterCount: z.number().int().nonnegative(),\n votes: z.array(PollVoteSchema).optional().describe('Omitted for hidden-voter polls'),\n scope: z.literal('synced').describe('Hydrated local WhatsApp data, which may not include unsynced votes'),\n});\nexport type PollResults = z.infer<typeof PollResultsSchema>;\nexport const PinDurationSchema = z.enum(['OneDay', 'SevenDays', 'ThirtyDays']);\nexport type PinDuration = z.infer<typeof PinDurationSchema>;\n","import { z } from 'zod';\nimport { assertFile, getDUrl } from '@open-wa/utils';\n\nconst chatIdPattern = /^\\d+(-\\d+)?@(c|g)\\.us$|^\\d+@lid$/;\nconst contactIdPattern = /^\\d+@c\\.us$/;\nconst groupIdPattern = /^\\d+(-\\d+)?@g\\.us$/;\nconst messageIdPattern = /^(true|false)_.+_.+$/;\n\n/**\n * Chat ID Codec\n * Intelligently converts phone numbers to proper WhatsApp chat IDs.\n */\nexport const chatIdCodec = {\n decode: (input: string): string => {\n if (input.includes('@')) {\n return input;\n }\n\n const digits = input.replace(/\\D/g, '');\n const digitCount = digits.length;\n\n if (digitCount === 18) {\n return `${digits}@g.us`;\n }\n\n if (digitCount === 14 && !digits.startsWith('62')) {\n return `${digits}@lid`;\n }\n\n return `${digits}@c.us`;\n },\n encode: (chatId: string): string => chatId,\n};\n\n/**\n * Contact ID Codec - always formats as @c.us\n */\nexport const contactIdCodec = {\n decode: (input: string): string => {\n if (input.endsWith('@c.us')) {\n return input;\n }\n\n return `${input.replace(/\\D/g, '')}@c.us`;\n },\n encode: (contactId: string): string => contactId,\n};\n\n/**\n * Group ID Codec - always formats as @g.us\n */\nexport const groupIdCodec = {\n decode: (input: string): string => {\n if (input.endsWith('@g.us')) {\n return input;\n }\n\n return `${input.replace(/\\D/g, '')}@g.us`;\n },\n encode: (groupId: string): string => groupId,\n};\n\n/**\n * Message ID Codec - validates format only\n */\nexport const messageIdCodec = {\n decode: (input: string): string => input,\n encode: (messageId: string): string => messageId,\n};\n\n/**\n * File Codec Factory\n */\nexport const createFileCodec = (outputType: string) => ({\n decode: async (input: unknown): Promise<unknown> => assertFile(input, outputType),\n encode: (output: unknown) => output,\n});\n\nexport const fileToDataUrlCodec = createFileCodec('DATA_URL');\nexport const fileToBase64Codec = createFileCodec('BASE_64');\nexport const fileToBufferCodec = createFileCodec('BUFFER');\nexport const fileToTempPathCodec = createFileCodec('TEMP_FILE_PATH');\nexport const fileToStreamCodec = createFileCodec('READ_STREAM');\n\nexport const base64ToDataUrlCodec = {\n decode: (base64: string): string => {\n if (base64.startsWith('data:')) {\n return base64;\n }\n\n return `data:application/octet-stream;base64,${base64}`;\n },\n encode: (dataUrl: string): string => dataUrl.split(',')[1] || dataUrl,\n};\n\nexport const urlToDataUrlCodec = {\n decode: async (url: string): Promise<string> => getDUrl(url),\n encode: (_dataUrl: string): string => {\n throw new Error('Cannot encode DataURL back to URL');\n },\n};\n\nexport const isoDatetimeToDate = {\n decode: (isoString: string): Date => new Date(isoString),\n encode: (date: Date): string => date.toISOString(),\n};\n\nexport const unixSecondsToDate = {\n decode: (seconds: number): Date => new Date(seconds * 1000),\n encode: (date: Date): number => Math.floor(date.getTime() / 1000),\n};\n\nexport const unixMillisToDate = {\n decode: (millis: number): Date => new Date(millis),\n encode: (date: Date): number => date.getTime(),\n};\n\nexport const hexColorCodec = {\n decode: (input: string): string => input.replace('#', '').toUpperCase(),\n encode: (hex: string): string => `#${hex}`,\n};\n\nexport const jsonStringCodec = <T>(schema: z.ZodType<T>) =>\n z.codec(z.string(), schema, {\n decode: (jsonString: string): T => schema.parse(JSON.parse(jsonString)),\n encode: (value: T): string => JSON.stringify(value),\n });\n\nexport const ChatIdSchema = z.codec(\n z.string(),\n z.string().regex(chatIdPattern).brand('ChatId'),\n chatIdCodec\n);\n\nexport const ContactIdSchema = z.codec(\n z.string(),\n z.string().regex(contactIdPattern).brand('ContactId'),\n contactIdCodec\n);\n\nexport const GroupIdSchema = z.codec(\n z.string(),\n z.string().regex(groupIdPattern).brand('GroupChatId'),\n groupIdCodec\n);\n\nexport const MessageIdSchema = z.codec(\n z.string(),\n z.string().regex(messageIdPattern).brand('MessageId'),\n messageIdCodec\n);\n\nexport const ChatIdCodecSchema = ChatIdSchema;\nexport const ContactIdCodecSchema = ContactIdSchema;\nexport const GroupIdCodecSchema = GroupIdSchema;\nexport const MessageIdCodecSchema = MessageIdSchema;\n\nexport const FileToDataUrlSchema = z\n .union([z.string(), z.instanceof(Buffer)])\n .transform(async (input) => fileToDataUrlCodec.decode(input))\n .pipe(z.string().regex(/^data:.+;base64,.+$/).brand('DataURL'));\n\nexport const Base64ToDataUrlSchema = z.codec(\n z.string(),\n z.string().regex(/^data:.+;base64,.+$/).brand('DataURL'),\n base64ToDataUrlCodec\n);\n\nexport const HexColorSchema = z.codec(\n z.string(),\n z.string().regex(/^[0-9A-F]+$/),\n hexColorCodec\n);\n\nexport const IsoDatetimeToDateSchema = z.codec(\n z.iso.datetime(),\n z.date(),\n isoDatetimeToDate\n);\n\nexport const UnixSecondsToDateSchema = z.codec(\n z.number().int().min(0),\n z.date(),\n unixSecondsToDate\n);\n\nexport const UnixMillisToDateSchema = z.codec(\n z.number().int().min(0),\n z.date(),\n unixMillisToDate\n);\n","import { z } from 'zod';\nimport { parameterRegistry } from './registry';\nimport {\n ChatIdSchema,\n ContactIdSchema,\n GroupIdSchema,\n MessageIdSchema,\n FileToDataUrlSchema,\n} from './codecs';\n\nexport const chatIdParam = ChatIdSchema.describe('Chat ID (phone number or formatted ID)').register(\n parameterRegistry,\n {\n example: '447123456789@c.us',\n brandedType: 'ChatId',\n formatDescription: 'A contact ID, group ID, or LID JID',\n pattern: '^\\\\d+(-\\\\d+)?@(c|g)\\\\.us$|^\\\\d+@lid$',\n keyAliases: ['id', 'contactId'],\n }\n);\n\nexport const contactIdParam = ContactIdSchema.describe('Contact ID').register(parameterRegistry, {\n example: '447123456789@c.us',\n brandedType: 'ContactId',\n formatDescription: 'A WhatsApp contact JID',\n pattern: '^\\\\d+@c\\\\.us$',\n keyAliases: ['id'],\n});\n\nexport const groupIdParam = GroupIdSchema.describe('Group chat ID').register(parameterRegistry, {\n example: '447123456789-1445627445@g.us',\n brandedType: 'GroupChatId',\n formatDescription: 'A WhatsApp group JID',\n pattern: '^\\\\d+(-\\\\d+)?@g\\\\.us$',\n keyAliases: ['chatId', 'groupChatId'],\n deprecatedKeyAliases: ['groupChatId'],\n});\n\nexport const communityIdParam = GroupIdSchema.describe('Community ID').register(parameterRegistry, {\n example: '447123456789-1445627445@g.us',\n brandedType: 'GroupChatId',\n formatDescription: 'A WhatsApp community JID',\n pattern: '^\\\\d+(-\\\\d+)?@g\\\\.us$',\n});\n\nexport const messageIdParam = MessageIdSchema.describe('Message ID').register(parameterRegistry, {\n example: 'false_447123456789@c.us_9C4D0965EA5C09D591334AB6BDB07FEB',\n brandedType: 'MessageId',\n formatDescription: 'A WhatsApp message identifier',\n pattern: '^(true|false)_.+_.+$',\n keyAliases: ['id', 'msgId'],\n deprecatedKeyAliases: ['msgId'],\n});\n\nexport const toParam = ChatIdSchema.describe('Recipient chat ID').register(parameterRegistry, {\n example: '447123456789@c.us',\n brandedType: 'ChatId',\n formatDescription: 'The target chat for a send operation',\n pattern: '^\\\\d+(-\\\\d+)?@(c|g)\\\\.us$|^\\\\d+@lid$',\n keyAliases: ['chatId'],\n});\n\nexport const contentParam = z.string().min(1).brand('Content').describe('Message content').register(\n parameterRegistry,\n {\n example: 'Hello, world!',\n brandedType: 'Content',\n keyAliases: ['text', 'body', 'message'],\n }\n);\n\nexport const captionParam = z.string().optional().describe('Media caption').register(parameterRegistry, {\n example: 'Check out this image!',\n});\n\nexport const filenameParam = z.string().optional().describe('Filename with extension').register(\n parameterRegistry,\n {\n example: 'document.pdf',\n }\n);\n\nexport const userAgentParam = z.string().optional().describe('User agent string').register(\n parameterRegistry,\n {\n example: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)',\n keyAliases: ['userA'],\n deprecatedKeyAliases: ['userA'],\n }\n);\n\nexport const nameParam = z.string().describe('Display name').register(parameterRegistry, {\n example: 'OpenWA Bot',\n keyAliases: ['newName'],\n deprecatedKeyAliases: ['newName'],\n});\n\nexport const statusTextParam = z.string().describe('Status text').register(parameterRegistry, {\n example: 'Available',\n keyAliases: ['newStatus'],\n deprecatedKeyAliases: ['newStatus'],\n});\n\nexport const imageDataParam = FileToDataUrlSchema.describe(\n 'Image file (path, URL, DataURL, or Base64)'\n).register(parameterRegistry, {\n example: 'data:image/png;base64,iVBORw0KGgo...',\n brandedType: 'DataURL',\n});\n\nexport const fileDataParam = FileToDataUrlSchema.describe(\n 'File (path, URL, DataURL, Base64, or Buffer)'\n).register(parameterRegistry, {\n example: 'data:application/pdf;base64,JVBERi0xLjQK...',\n brandedType: 'DataURL',\n});\n\nexport const audioDataParam = FileToDataUrlSchema.describe(\n 'Audio file (path, URL, DataURL, or Base64)'\n).register(parameterRegistry, {\n example: 'data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAA...',\n brandedType: 'DataURL',\n});\n\nexport const videoDataParam = FileToDataUrlSchema.describe(\n 'Video file (path, URL, DataURL, or Base64)'\n).register(parameterRegistry, {\n example: 'data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21...',\n brandedType: 'DataURL',\n});\n\nexport const documentDataParam = FileToDataUrlSchema.describe(\n 'Document file (path, URL, DataURL, or Base64)'\n).register(parameterRegistry, {\n example: 'data:application/pdf;base64,JVBERi0xLjQK...',\n brandedType: 'DataURL',\n});\n\nexport const stickerDataParam = FileToDataUrlSchema.describe(\n 'Sticker file (path, URL, DataURL, or Base64)'\n).register(parameterRegistry, {\n example: 'data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAw...',\n brandedType: 'DataURL',\n});\n\nexport const latitudeParam = z.union([z.number(), z.string()]).describe('Latitude coordinate').register(\n parameterRegistry,\n {\n example: 51.5074,\n }\n);\n\nexport const longitudeParam = z.union([z.number(), z.string()]).describe('Longitude coordinate').register(\n parameterRegistry,\n {\n example: -0.1278,\n }\n);\n\nexport const locationNameParam = z.string().optional().describe('Location name or description').register(\n parameterRegistry,\n {\n example: 'London, UK',\n }\n);\n\nexport const waitForIdParam = z.boolean().optional().default(false).describe('Wait for message ID').register(\n parameterRegistry,\n {\n example: true,\n }\n);\n\nexport const includeMeParam = z.boolean().optional().default(true).describe('Include own messages').register(\n parameterRegistry,\n {\n example: true,\n }\n);\n\nexport const includeNotificationsParam = z\n .boolean()\n .optional()\n .default(false)\n .describe('Include notification messages')\n .register(parameterRegistry, {\n example: false,\n });\n\nexport const onlyLocalParam = z.boolean().optional().default(false).describe('Delete only locally').register(\n parameterRegistry,\n {\n example: false,\n }\n);\n\nexport const skipMyMessagesParam = z\n .boolean()\n .optional()\n .default(false)\n .describe('Skip own messages')\n .register(parameterRegistry, {\n example: false,\n });\n\nexport const withNewMessagesOnlyParam = z\n .boolean()\n .optional()\n .default(false)\n .describe('Only chats with unread messages')\n .register(parameterRegistry, {\n example: false,\n });\n\nexport const messageIdsParam = z\n .union([z.array(messageIdParam), messageIdParam])\n .describe('Message ID(s) to process')\n .register(parameterRegistry, {\n example: ['false_447123456789@c.us_ABC123', 'false_447123456789@c.us_DEF456'],\n brandedType: 'MessageId[]',\n keyAliases: ['messages'],\n });\n\nexport const mentionedJidListParam = z\n .array(contactIdParam)\n .optional()\n .describe('List of mentioned contact IDs')\n .register(parameterRegistry, {\n example: ['447123456789@c.us', '441234567890@c.us'],\n });\n\nexport const messageOptionsParam = z.unknown().optional().describe('Reserved for compatibility with legacy request shapes. The current sendText Client implementation ignores this argument; use reply() or sendTextWithMentions() for quoted replies and mentions.').register(\n parameterRegistry,\n {\n formatDescription: 'Accepted as unknown for compatibility; currently ignored by sendText. Use reply() or sendTextWithMentions() for supported reply and mention behavior.',\n }\n);\n","import { MessageIdReturnSchema, MessageIdSchema, MessageSchema } from '../common-types';\nimport { LLMMessageSchema, MessageInfoSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { MediaSendOptionsSchema, AudioAttachmentOptionsSchema, VoiceNoteOptionsSchema, GifSendOptionsSchema } from '../media-options';\nimport { PollSendOptionsSchema, PollResultsSchema, PinDurationSchema } from '../polls';\n\nimport {\n chatIdParam,\n toParam,\n contentParam,\n messageOptionsParam,\n imageDataParam,\n filenameParam,\n captionParam,\n messageIdParam,\n waitForIdParam,\n messageIdsParam,\n skipMyMessagesParam,\n latitudeParam,\n longitudeParam,\n locationNameParam,\n contactIdParam,\n mentionedJidListParam,\n fileDataParam,\n audioDataParam,\n videoDataParam\n} from '../parameters';\n\n// ============================================================================\n// Messaging Methods\n// ============================================================================\n\n/** The normalized serialized message key returned by the public sendText client. */\nexport const SendTextResultSchema = z.string()\n .regex(/^(true|false)_[^\\s_]+@[^\\s_]+_[^\\s]+$/)\n .brand('MessageId')\n .describe('Validated serialized message ID. This confirms the send returned an ID, not delivery or reading.');\n\nexport const StickerJobSchema = z.object({\n effects: z.array(z.union([z.string(), z.object({ name: z.string(), options: z.record(z.string(), z.unknown()).optional() }).strict()])).max(8).optional(),\n backend: z.enum(['auto','browser','standalone']).optional().describe('Defaults to browser when it supports the entire job; otherwise the entire job runs standalone.'),\n quality: z.number().min(0.01).max(1).optional().describe('Maximum encoding quality; encoding can reduce quality to meet sticker byte limits.'),\n fit: z.enum(['contain','cover']).optional(),\n circle: z.boolean().optional(), background: z.string().max(64).optional(),\n trim: z.tuple([z.number().nonnegative(),z.number().positive()]).refine(([start,end])=>end>start).optional(),\n fps: z.number().int().min(1).max(30).optional(),\n loopCount: z.number().int().min(0).max(65535).optional(),\n author: z.string().max(128).optional(), pack: z.string().max(128).optional(),\n quotedMsgId: messageIdParam.optional().describe('Reply with the sticker to a loaded message in the destination chat.'),\n}).strict();\n\nexport const sendSticker = defineMethodV2('sendSticker', {\n meta: {\n description: 'Render a sticker locally using automatic whole-job backend selection and ordered effects, then submit through the private donor finalizer. Author and pack labels are configurable; donor app links are owned by the installed patch. Returns a submitted message ID, not a delivery receipt. Unknown send outcomes must be reconciled before retrying.',\n action: 'send', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST',\n wapiOverride: 'sendStickerJob',\n },\n input: z.object({\n to: toParam,\n input: z.string().regex(/^(?:data:(?:image|video)\\/[^;,]+;base64,[A-Za-z0-9+/]+={0,2}|https?:\\/\\/\\S+)$/).describe('A media data URL or HTTP(S) URL. The local library additionally accepts bytes, Blob and local filenames.'),\n job: StickerJobSchema.optional(),\n }),\n parameterOrder: ['to','input','job'],\n output: SendTextResultSchema,\n});\n\nexport const AlbumMediaSchema = z.object({\n file: z.string().regex(/^data:(image|video)\\/[^;,]+;base64,[A-Za-z0-9+/]+={0,2}$/)\n .describe('Image or video as a base64 data URL. For a WhatsApp GIF, supply an MP4 video and set isGif to true.'),\n filename: z.string().min(1).describe('Filename including its extension'),\n isGif: z.boolean().optional().describe('Send an MP4 video as a looping WhatsApp GIF'),\n}).refine(media => !media.isGif || media.file.startsWith('data:video/mp4;base64,'), {\n message: 'GIF album items require MP4 video data',\n path: ['file'],\n});\nexport type AlbumMedia = z.infer<typeof AlbumMediaSchema>;\n\nexport const AlbumSendResultSchema = z.object({\n albumId: MessageIdSchema,\n messageIds: z.array(MessageIdSchema).min(2),\n}).describe('Submitted album parent and child message IDs, in input order. Submission does not confirm recipient delivery. Runtime failures include the album ID and submitted child IDs when available. A lost connection can leave the send outcome unknown; inspect the chat before retrying.');\nexport type AlbumSendResult = z.infer<typeof AlbumSendResultSchema>;\n\nexport const sendAlbum = defineMethodV2('sendAlbum', {\n meta: {\n description: 'Sends images and videos together as a native WhatsApp album with one caption on its first item. GIFs use MP4 video data with isGif: true. Documents are rejected. Phone-number IDs are resolved to LIDs; the destination chat must already be loaded and allow sending. WhatsApp controls the minimum item count and upload limits. Runtime failures include the parent and submitted child IDs when available; inspect the chat before retrying.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n media: z.array(AlbumMediaSchema).min(2).describe('Album items in send order'),\n caption: captionParam.optional().default(''),\n quotedMsgId: messageIdParam.optional().describe('Message to quote on the first album item'),\n }),\n parameterOrder: ['to', 'media', 'caption', 'quotedMsgId'],\n output: AlbumSendResultSchema,\n});\n\n/**\n * Sends a text message to a chat\n */\nexport const sendText = defineMethodV2('sendText', {\n meta: {\n description: 'Sends a text message and returns a validated serialized message ID. The in-process Client throws SendTextError on failure. An unknown outcome means the message may have been sent: check the chat before retrying. Starting a chat with a new number requires an applied restricted or premium license.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n content: contentParam,\n options: messageOptionsParam\n }),\n parameterOrder: ['to', 'content', 'options'],\n output: SendTextResultSchema\n});\n\n/**\n * Sends a text message with mentions\n */\nexport const sendTextWithMentions = defineMethodV2('sendTextWithMentions', {\n meta: {\n description: 'Sends a text message that includes @mentions',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n content: contentParam,\n hideTags: z.boolean().optional().describe('Removes all tags within the message'),\n mentions: mentionedJidListParam\n }),\n parameterOrder: ['to', 'content', 'hideTags', 'mentions'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a reply with mentions\n */\nexport const sendReplyWithMentions = defineMethodV2('sendReplyWithMentions', {\n meta: {\n description: 'Sends a reply to a message that includes @mentions',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n content: contentParam,\n replyMessageId: messageIdParam,\n hideTags: z.boolean().optional().describe('Removes all tags within the message'),\n mentions: mentionedJidListParam\n }),\n parameterOrder: ['to', 'content', 'replyMessageId', 'hideTags', 'mentions'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a payment request\n */\nexport const sendPaymentRequest = defineMethodV2('sendPaymentRequest', {\n meta: {\n description: 'Sends a payment request message',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n amount: z.number().describe('Amount in 1000 format (e.g £10 => 10000)'),\n currency: z.string().length(3).describe('3 letter currency code'),\n message: z.string().optional().describe('Optional message')\n }),\n parameterOrder: ['to', 'amount', 'currency', 'message'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends an image to a chat\n */\nexport const sendImage = defineMethodV2('sendImage', {\n meta: {\n description: 'Sends media through the native attachment pipeline, including images and videos. Options select presentation, view once, GIF playback or circular video notes; media is not transcoded. Returns submission status, not a delivery receipt.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n file: fileDataParam,\n filename: filenameParam.optional(),\n options: MediaSendOptionsSchema.optional().default({}),\n }),\n parameterOrder: ['to', 'file', 'filename', 'options'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a file/document\n */\nexport const sendFile = defineMethodV2('sendFile', {\n meta: {\n description: 'Sends an image, video, audio file or document using MIME detection or an explicit typed presentation. Incompatible options are rejected before sending. Media is not transcoded.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n file: fileDataParam,\n filename: filenameParam.optional(),\n options: MediaSendOptionsSchema.optional().default({}),\n }),\n parameterOrder: ['to', 'file', 'filename', 'options'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends an audio file\n */\nexport const sendAudio = defineMethodV2('sendAudio', {\n meta: {\n description: 'Sends an audio attachment with an optional quoted message. Use sendPtt for voice notes and view-once audio.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n file: audioDataParam,\n filename: filenameParam.optional(),\n options: AudioAttachmentOptionsSchema.optional().default({}),\n }),\n parameterOrder: ['to', 'file', 'filename', 'options'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a voice note (PTT)\n */\nexport const sendPtt = defineMethodV2('sendPtt', {\n meta: {\n description: 'Sends prepared audio as a voice note, optionally view once. It does not transcode the input; use suitable voice-note audio such as Ogg Opus.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['sendVoiceNote'],\n },\n },\n input: z.object({\n to: toParam,\n file: audioDataParam,\n options: VoiceNoteOptionsSchema.optional().default({}),\n }),\n parameterOrder: ['to', 'file', 'options'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a video as GIF\n */\nexport const sendVideoAsGif = defineMethodV2('sendVideoAsGif', {\n meta: {\n description: 'Sends MP4 video with WhatsApp GIF playback. GIF is a video presentation flag; this method does not convert a GIF image or transcode video.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n file: videoDataParam,\n filename: filenameParam.optional(),\n options: GifSendOptionsSchema.optional().default({}),\n }),\n parameterOrder: ['to', 'file', 'filename', 'options'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a location\n */\nexport const sendLocation = defineMethodV2('sendLocation', {\n meta: {\n description: 'Sends a location to a chat',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n lat: latitudeParam,\n lng: longitudeParam,\n loc: locationNameParam,\n address: z.string().optional().describe('Address text'),\n url: z.string().url().optional().describe('Address link')\n }),\n parameterOrder: ['to', 'lat', 'lng', 'loc', 'address', 'url'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a vCard\n */\nexport const sendVCard = defineMethodV2('sendVCard', {\n meta: {\n description: 'Sends a contact card (vCard)',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n vcard: z.string().describe('vCard string'),\n contactName: z.string().optional().describe('Contact display name'),\n contactNumber: z.string().optional().describe('Contact number with country code')\n }),\n parameterOrder: ['to', 'vcard', 'contactName', 'contactNumber'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a contact\n */\nexport const sendContact = defineMethodV2('sendContact', {\n meta: {\n description: 'Sends a single contact',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n contactId: contactIdParam.or(z.array(contactIdParam))\n }),\n parameterOrder: ['to', 'contactId'],\n output: MessageIdReturnSchema.or(z.boolean()).or(z.array(MessageIdReturnSchema.or(z.boolean())))\n});\n\n/**\n * Sends multiple contacts\n */\nexport const sendMultipleContacts = defineMethodV2('sendMultipleContacts', {\n meta: {\n description: 'Sends multiple contacts',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['sendContacts'],\n namespacedName: 'sendContacts',\n },\n },\n input: z.object({\n to: toParam,\n contactIds: z.array(contactIdParam).min(1)\n }),\n parameterOrder: ['to', 'contactIds'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends button message\n */\nexport const sendButtons = defineMethodV2('sendButtons', {\n meta: {\n description: 'Sends a button message (deprecated)',\n action: 'send',\n namespace: 'messages',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n body: z.union([z.string(), z.any()]).describe('Message body or location'),\n buttons: z.array(z.any()).max(3).describe('Array of buttons (max 3)'),\n title: z.string().optional().describe('Message title'),\n footer: z.string().optional().describe('Message footer')\n }),\n parameterOrder: ['to', 'body', 'buttons', 'title', 'footer'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends advanced button message\n */\nexport const sendAdvancedButtons = defineMethodV2('sendAdvancedButtons', {\n meta: {\n description: 'Sends an advanced button message with media (deprecated)',\n action: 'send',\n namespace: 'messages',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n body: z.union([z.string(), z.any()]).describe('Message body, location, or media'),\n buttons: z.array(z.any()).max(3).describe('Array of advanced buttons (max 3)'),\n text: z.string().describe('Message text'),\n footer: z.string().describe('Message footer'),\n filename: z.string().describe('Filename if body is a file')\n }),\n parameterOrder: ['to', 'body', 'buttons', 'text', 'footer', 'filename'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends list message\n */\nexport const sendListMessage = defineMethodV2('sendListMessage', {\n meta: {\n description: 'Sends a list/menu message (deprecated)',\n action: 'send',\n namespace: 'messages',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['sendList'],\n },\n },\n input: z.object({\n to: toParam,\n sections: z.array(z.any()).describe('List sections'),\n title: z.string().describe('List title'),\n description: z.string().describe('List description'),\n actionText: z.string().describe('Action button text')\n }),\n parameterOrder: ['to', 'sections', 'title', 'description', 'actionText'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends a poll\n */\nexport const sendPoll = defineMethodV2('sendPoll', {\n meta: {\n description: 'Sends a text poll with a selection limit, quote, optional closing time in Unix milliseconds and hidden voter names. Closing time and hidden names require native WhatsApp support for the sending account/chat. These fields select the native V6 poll payload.',\n action: 'send', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n name: z.string().trim().min(1).max(500).describe('Poll question'),\n options: z.array(z.string().trim().min(1).max(255)).min(2).max(20).describe('Poll choices; the account may have a lower native limit'),\n config: PollSendOptionsSchema.optional().default({}),\n }).refine(input => (input.config.selectableCount ?? 1) <= input.options.length, {\n path: ['config', 'selectableCount'], message: 'Selection limit cannot exceed the number of poll options',\n }).refine(input => new Set(input.options).size === input.options.length, {\n path: ['options'], message: 'Poll choices must be unique',\n }),\n parameterOrder: ['to', 'name', 'options', 'config'],\n output: MessageIdReturnSchema.or(z.boolean()),\n});\n\nexport const voteOnPoll = defineMethodV2('voteOnPoll', {\n meta: { description: 'Votes using option IDs returned by getPollResults; an empty array removes the current vote. The poll must be open and allow this account to vote.', action: 'send', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ messageId: messageIdParam, optionIds: z.array(z.number().int().nonnegative()).max(20) }).refine(input => new Set(input.optionIds).size === input.optionIds.length, { path: ['optionIds'], message: 'Duplicate poll choices are not allowed' }),\n parameterOrder: ['messageId', 'optionIds'], output: z.boolean(),\n});\nexport const getPollResults = defineMethodV2('getPollResults', {\n meta: { description: 'Hydrates the local poll vote store and returns synced counts, choices and votes. Hidden-voter polls omit voter identities and the votes array. Unsynced votes may be absent.', action: 'get', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ messageId: messageIdParam }), parameterOrder: ['messageId'], output: PollResultsSchema,\n});\nexport const pinMessage = defineMethodV2('pinMessage', {\n meta: { description: 'Pins a message in its chat for everyone, subject to native permissions. This differs from pinChat, which changes the current account chat list.', action: 'set', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ messageId: messageIdParam, duration: PinDurationSchema.optional().default('SevenDays') }),\n parameterOrder: ['messageId', 'duration'], output: z.boolean(),\n});\nexport const unpinMessage = defineMethodV2('unpinMessage', {\n meta: { description: 'Removes a message pin for everyone, subject to native chat permissions.', action: 'set', namespace: 'messages', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ messageId: messageIdParam }), parameterOrder: ['messageId'], output: z.boolean(),\n});\n\n/**\n * Sends a banner image\n */\nexport const sendBanner = defineMethodV2('sendBanner', {\n meta: {\n description: 'Sends a banner image',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n base64: z.string().describe('Base64 encoded JPEG')\n }),\n parameterOrder: ['to', 'base64'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends YouTube link with preview\n */\nexport const sendYouTubeLink = defineMethodV2('sendYouTubeLink', {\n meta: {\n description: 'Sends a YouTube link with auto-generated preview',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n deprecated: ['sendYoutubeLink'],\n },\n wapiOverride: 'sendYoutubeLink',\n },\n input: z.object({\n to: toParam,\n url: z.string().url().describe('YouTube URL'),\n text: contentParam.optional().default(''),\n thumbnail: z.string().optional().describe('Base64 thumbnail override'),\n quotedMsgId: messageIdParam.optional(),\n customSize: z.object({\n height: z.number(),\n width: z.number()\n }).optional().describe('Custom thumbnail size')\n }),\n parameterOrder: ['to', 'url', 'text', 'thumbnail', 'quotedMsgId', 'customSize'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends link with auto preview\n */\nexport const sendLinkWithAutoPreview = defineMethodV2('sendLinkWithAutoPreview', {\n meta: {\n description: 'Sends a link with auto-generated preview',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['sendLink'],\n },\n },\n input: z.object({\n to: toParam,\n url: z.string().url().describe('Link URL'),\n text: contentParam.optional(),\n thumbnail: z.string().optional().describe('Base64 thumbnail override'),\n quotedMsgId: messageIdParam.optional(),\n customSize: z.object({\n height: z.number(),\n width: z.number()\n }).optional().describe('Custom thumbnail size')\n }),\n parameterOrder: ['to', 'url', 'text', 'thumbnail', 'quotedMsgId', 'customSize'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Sends message with custom thumbnail\n */\nexport const sendMessageWithThumb = defineMethodV2('sendMessageWithThumb', {\n meta: {\n description: 'Sends a link preview message with custom thumbnail',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['sendLinkWithThumbnail'],\n namespacedName: 'sendLinkWithThumbnail',\n },\n },\n input: z.object({\n thumb: z.string().describe('Base64 thumbnail (max 200x200px)'),\n url: z.string().url().describe('Link URL'),\n title: z.string().describe('Link title'),\n description: z.string().describe('Link description'),\n content: contentParam,\n to: toParam,\n quotedMsgId: messageIdParam.optional(),\n customSize: z.object({\n height: z.number(),\n width: z.number()\n }).optional().describe('Custom thumbnail size')\n }),\n parameterOrder: ['thumb', 'url', 'title', 'description', 'content', 'to', 'quotedMsgId', 'customSize'],\n output: MessageIdReturnSchema.or(z.boolean())\n});\n\n/**\n * Forwards messages to a chat\n */\nexport const forwardMessages = defineMethodV2('forwardMessages', {\n meta: {\n description: 'Forwards messages to a chat',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n namespacedName: 'forward',\n },\n },\n input: z.object({\n to: toParam,\n messages: messageIdsParam,\n skipMyMessages: skipMyMessagesParam\n }),\n parameterOrder: ['to', 'messages', 'skipMyMessages'],\n output: z.array(MessageIdReturnSchema).or(z.boolean())\n});\n\n/**\n * Deletes a message\n */\nexport const deleteMessage = defineMethodV2('deleteMessage', {\n meta: {\n description: 'Deletes a message',\n action: 'delete',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'DELETE',\n aliases: {\n namespacedName: 'delete',\n },\n },\n input: z.object({\n chatId: chatIdParam,\n messageId: messageIdsParam,\n onlyLocal: z.boolean().optional().default(false).describe('Delete only locally')\n }),\n parameterOrder: ['chatId', 'messageId', 'onlyLocal'],\n output: z.boolean()\n});\n\n/**\n * Retrieves a specific message by ID\n */\nexport const getMessageById = defineMethodV2('getMessageById', {\n meta: {\n description: 'Retrieves a specific message by ID',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getMessage'],\n namespacedName: 'get',\n },\n },\n input: z.object({\n messageId: messageIdParam\n }),\n parameterOrder: ['messageId'],\n output: MessageSchema.nullable().or(z.literal(false)),\n});\n\nexport const getAlbumMessages = defineMethodV2('getAlbumMessages', {\n meta: {\n description: 'Returns currently loaded image and video messages associated with an album, including GIF videos. The album can arrive before its media, so the array may be incomplete. Returns false if the album is not loaded or the ID belongs to another message type.',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ messageId: messageIdParam.describe('Album container message ID') }),\n parameterOrder: ['messageId'],\n output: z.array(MessageSchema).or(z.literal(false))\n .describe('A snapshot of currently loaded album media. An empty or partial array does not mean that the sender sent an empty or partial album. Each item retains its caption and can be passed to decryptMedia or downloadMedia.'),\n});\n\n/**\n * Retrieves all messages in the session\n */\nexport const getAllMessages = defineMethodV2('getAllMessages', {\n meta: {\n description: 'Retrieves all messages in the session',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n chatId: chatIdParam.optional(),\n includeMe: z.boolean().optional().default(true).describe('Include own messages'),\n includeNotifications: z.boolean().optional().default(false).describe('Include notification messages'),\n }),\n parameterOrder: ['chatId', 'includeMe', 'includeNotifications'],\n output: z.array(MessageSchema),\n});\n\nexport const getMyLastMessage = defineMethodV2('getMyLastMessage', {\n meta: {\n description: 'Get last message sent by host',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n chatId: chatIdParam.optional(),\n }),\n parameterOrder: ['chatId'],\n output: MessageSchema.optional(),\n});\n\nexport const getStarredMessages = defineMethodV2('getStarredMessages', {\n meta: {\n description: 'Get starred messages',\n action: 'read',\n namespace: 'messages',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n chatId: chatIdParam.optional(),\n }),\n parameterOrder: ['chatId'],\n output: z.array(MessageSchema),\n});\n\nexport const getUnsentMessages = defineMethodV2('getUnsentMessages', {\n meta: {\n description: 'Get unsent/pending messages',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(MessageSchema),\n});\n\nexport const getMessageInfo = defineMethodV2('getMessageInfo', {\n meta: {\n description: 'Get message delivery info',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n messageId: messageIdParam,\n }),\n parameterOrder: ['messageId'],\n output: MessageInfoSchema,\n});\n\nexport const getVCards = defineMethodV2('getVCards', {\n meta: {\n description: 'Extract vCards from message',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n messageId: messageIdParam,\n }),\n parameterOrder: ['messageId'],\n output: z.array(z.string()),\n});\n\nexport const getMessagesForLLM = defineMethodV2('getMessagesForLLM', {\n meta: {\n description: 'Get messages formatted for LLMs',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getGptArray'],\n },\n wapiOverride: 'getGptArray',\n },\n input: z.object({\n chatId: chatIdParam,\n last: z.number().optional().default(10),\n }),\n parameterOrder: ['chatId', 'last'],\n output: z.array(LLMMessageSchema),\n});\n\nexport const starMessage = defineMethodV2('starMessage', {\n meta: {\n description: 'Star a message',\n action: 'update',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n messageId: messageIdParam,\n }),\n parameterOrder: ['messageId'],\n output: z.boolean(),\n});\n\nexport const unstarMessage = defineMethodV2('unstarMessage', {\n meta: {\n description: 'Unstar a message',\n action: 'update',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n messageId: messageIdParam,\n }),\n parameterOrder: ['messageId'],\n output: z.boolean(),\n});\n\nexport const editMessage = defineMethodV2('editMessage', {\n meta: {\n description: 'Edits the text of a message through the installed private patch',\n action: 'update',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n messageId: messageIdParam,\n newContent: z.string().describe('Replacement message text'),\n }),\n parameterOrder: ['messageId', 'newContent'],\n output: z.boolean(),\n});\n\nexport const react = defineMethodV2('react', {\n meta: {\n description: 'React to message with emoji',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n messageId: messageIdParam,\n emoji: z.string().describe('Emoji reaction'),\n }),\n parameterOrder: ['messageId', 'emoji'],\n output: z.boolean(),\n});\n\nexport const sendSeen = defineMethodV2('sendSeen', {\n meta: {\n description: 'Mark message as seen',\n action: 'update',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n chatId: chatIdParam,\n }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const loadEarlierMessages = defineMethodV2('loadEarlierMessages', {\n meta: {\n description: 'Loads earlier messages from a chat',\n action: 'read',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['loadOlderMessages'],\n namespacedName: 'loadEarlier',\n },\n },\n input: z.object({\n chatId: chatIdParam,\n count: z.number().positive().optional().describe('Number of messages to load (default: 20)'),\n includeMe: z.boolean().optional().describe('Whether to include messages from the host account (default: false)'),\n }),\n parameterOrder: ['chatId', 'count', 'includeMe'],\n output: z.array(MessageSchema),\n});\n\nexport const sendFileFromUrl = defineMethodV2('sendFileFromUrl', {\n meta: {\n description: 'Downloads media and sends it through sendFile with the same typed presentation options.',\n action: 'send',\n namespace: 'messages',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n to: toParam,\n url: z.string().url().describe('URL of the file to download'),\n filename: filenameParam.optional(),\n options: MediaSendOptionsSchema.optional().default({}),\n headers: z.record(z.string(), z.string()).optional().describe('HTTP headers for the download request'),\n }),\n parameterOrder: ['to', 'url', 'filename', 'options', 'headers'],\n output: MessageIdReturnSchema.or(z.string()).or(z.boolean()).describe('Message ID or success status'),\n});\n","import { ChatIdSchema, ChatSchema, ContactSchema } from '../common-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { chatIdParam, withNewMessagesOnlyParam } from '../parameters';\n\nexport const getAllChats = defineMethodV2('getAllChats', {\n meta: {\n description: 'Returns serialized Chat objects from the current session, optionally limited to chats with unread messages.',\n action: 'read',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ withNewMessagesOnly: withNewMessagesOnlyParam }),\n parameterOrder: ['withNewMessagesOnly'],\n output: z.array(ChatSchema),\n});\n\nexport const getAllChatIds = defineMethodV2('getAllChatIds', {\n meta: {\n description: 'Get all chat IDs',\n action: 'read',\n namespace: 'chatIds',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['chats.ids'],\n },\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(ChatIdSchema),\n});\n\n// export const getAllChatsWithMessages = defineMethodV2('getAllChatsWithMessages', {\n// meta: {\n// description: 'Get chats with messages',\n// action: 'read',\n// namespace: 'chats',\n// license: 'none',\n// functionality: 'both',\n// httpMethod: 'GET',\n// },\n// input: z.object({\n// withNewMessagesOnly: withNewMessagesOnlyParam,\n// }),\n// parameterOrder: ['withNewMessagesOnly'],\n// output: z.array(z.any()),\n// });\n\nexport const getChat = defineMethodV2('getChat', {\n meta: {\n description: 'Get specific chat by ID',\n action: 'read',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getChatById'],\n },\n },\n input: z.object({\n chatId: chatIdParam,\n }),\n parameterOrder: ['chatId'],\n output: ChatSchema.nullable().optional().or(z.literal(false)),\n});\n\nexport const getChatWithNonContacts = defineMethodV2('getChatWithNonContacts', {\n meta: {\n description: 'Get chats with non-contacts',\n action: 'read',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(ContactSchema),\n});\n\nexport const archiveChat = defineMethodV2('archiveChat', {\n meta: {\n description: 'Archive a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const unarchiveChat = defineMethodV2('unarchiveChat', {\n meta: {\n description: 'Unarchive a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const clearChat = defineMethodV2('clearChat', {\n meta: {\n description: 'Clear chat history',\n action: 'delete',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'DELETE',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const deleteChat = defineMethodV2('deleteChat', {\n meta: {\n description: 'Delete a chat',\n action: 'delete',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'DELETE',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const pinChat = defineMethodV2('pinChat', {\n meta: {\n description: 'Pin a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const unpinChat = defineMethodV2('unpinChat', {\n meta: {\n description: 'Unpin a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const muteChat = defineMethodV2('muteChat', {\n meta: {\n description: 'Mute a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n chatId: chatIdParam,\n muteDuration: z.union([z.number(), z.string()]).describe('Mute duration'),\n }),\n parameterOrder: ['chatId', 'muteDuration'],\n output: z.union([z.string(), z.boolean(), z.number()]),\n});\n\nexport const unmuteChat = defineMethodV2('unmuteChat', {\n meta: {\n description: 'Unmute a chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.union([z.string(), z.boolean(), z.number()]),\n});\n\nexport const markAsRead = defineMethodV2('markAsRead', {\n meta: {\n description: 'Mark chat as read',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n namespacedName: 'markAsRead',\n },\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const markAsUnread = defineMethodV2('markAsUnread', {\n meta: {\n description: 'Mark chat as unread',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n namespacedName: 'markAsUnread',\n },\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.boolean(),\n});\n\nexport const setChatEphemeral = defineMethodV2('setChatEphemeral', {\n meta: {\n description: 'Set ephemeral messages for chat',\n action: 'update',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n chatId: chatIdParam,\n ephemeral: z.union([z.boolean(), z.number()]).describe('Ephemeral setting'),\n }),\n parameterOrder: ['chatId', 'ephemeral'],\n output: z.boolean(),\n});\n\nexport const isChatOnline = defineMethodV2('isChatOnline', {\n meta: {\n description: 'Check if chat is online',\n action: 'read',\n namespace: 'chats',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.union([z.boolean(), z.string()]),\n});\n","import { ContactIdSchema, ContactSchema } from '../common-types';\nimport { CommonGroupSchema, NumberCheckSchema, NumberProfileSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { chatIdParam, contactIdParam, toParam, messageIdParam } from '../parameters';\n\nexport const requestPhoneNumber = defineMethodV2('requestPhoneNumber', {\n meta: { description: 'Ask a direct LID chat to voluntarily share their phone number. A submitted request does not confirm sharing.', action: 'send', namespace: 'contacts', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ to: toParam }), parameterOrder: ['to'], output: messageIdParam,\n});\nexport const sharePhoneNumber = defineMethodV2('sharePhoneNumber', {\n meta: { description: 'Share the signed-in account’s own phone number with a direct LID chat using WhatsApp’s native protocol. No arbitrary phone number is accepted.', action: 'send', namespace: 'contacts', license: 'none', functionality: 'both', httpMethod: 'POST' },\n input: z.object({ to: toParam }), parameterOrder: ['to'], output: messageIdParam,\n});\n\nexport const getAllContacts = defineMethodV2('getAllContacts', {\n meta: {\n description: 'Retrieves all contacts',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(ContactSchema),\n});\n\nexport const getContact = defineMethodV2('getContact', {\n meta: {\n description: 'Get specific contact',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: ContactSchema.nullable(),\n});\n\nexport const getCommonGroups = defineMethodV2('getCommonGroups', {\n meta: {\n description: 'Get common groups with contact',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: z.array(CommonGroupSchema).or(z.literal(false)),\n});\n\nexport const getNumberProfile = defineMethodV2('getNumberProfile', {\n meta: {\n description: 'Get profile of number',\n action: 'read',\n namespace: 'contacts',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: NumberProfileSchema,\n});\n\nexport const getBlockedIds = defineMethodV2('getBlockedIds', {\n meta: {\n description: 'Get blocked contact IDs',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(ContactIdSchema).or(z.literal(false)),\n});\n\nexport const blockContact = defineMethodV2('blockContact', {\n meta: {\n description: 'Block a contact',\n action: 'update',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n deprecated: ['contactBlock'],\n },\n wapiOverride: 'contactBlock',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: z.boolean(),\n});\n\nexport const unblockContact = defineMethodV2('unblockContact', {\n meta: {\n description: 'Unblock a contact',\n action: 'update',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n deprecated: ['contactUnblock'],\n },\n wapiOverride: 'contactUnblock',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: z.boolean(),\n});\n\nexport const checkReadReceipts = defineMethodV2('checkReadReceipts', {\n meta: {\n description: 'Check read receipts setting',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getReadReceipts'],\n },\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: z.union([z.boolean(), z.string()]),\n});\n\nexport const checkNumberStatus = defineMethodV2('checkNumberStatus', {\n meta: {\n description: 'Check if number is on WhatsApp',\n action: 'read',\n namespace: 'contacts',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: NumberCheckSchema,\n});\n\nexport const getProfilePicture = defineMethodV2('getProfilePicture', {\n meta: {\n description: 'Get profile picture from server',\n action: 'read',\n namespace: 'contacts',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getProfilePicFromServer'],\n },\n wapiOverride: 'getProfilePicFromServer',\n },\n input: z.object({ chatId: chatIdParam }),\n parameterOrder: ['chatId'],\n output: z.string(),\n});\n","import { ChatSchema, ContactIdSchema, ContactSchema, GroupChatIdSchema } from '../common-types';\nimport { GroupCreationResultSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { contactIdParam, groupIdParam, withNewMessagesOnlyParam } from '../parameters';\n\nexport const getGroupMembers = defineMethodV2('getGroupMembers', {\n meta: {\n description: 'Retrieves members of a group',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.array(ContactSchema),\n});\n\nexport const getAllGroups = defineMethodV2('getAllGroups', {\n meta: {\n description: 'Get all groups',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ withNewMessagesOnly: withNewMessagesOnlyParam }),\n parameterOrder: ['withNewMessagesOnly'],\n output: z.array(ChatSchema),\n});\n\nexport const getGroupMembersId = defineMethodV2('getGroupMembersId', {\n meta: {\n description: 'Get group member IDs',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getGroupMemberIds'],\n namespacedName: 'getMemberIds',\n },\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.array(ContactIdSchema),\n});\n\nexport const GroupInfoSchema = z.object({\n title: z.string(),\n description: z.string().nullish(),\n}).passthrough().describe('Group title and description returned by the private getGroupInfo patch.');\nexport type GroupInfo = z.infer<typeof GroupInfoSchema>;\n\nexport const getGroupInfo = defineMethodV2('getGroupInfo', {\n meta: {\n description: 'Get the group title and description through the installed private patch',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: GroupInfoSchema.or(z.string()).nullable(),\n});\n\nexport const getGroupAdmins = defineMethodV2('getGroupAdmins', {\n meta: {\n description: 'Get group admins',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.array(ContactIdSchema),\n});\n\nexport const getKickedGroups = defineMethodV2('getKickedGroups', {\n meta: {\n description: 'Get groups where kicked',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(GroupChatIdSchema),\n});\n\nexport const getGroupInviteLink = defineMethodV2('getGroupInviteLink', {\n meta: {\n description: 'Get group invite link',\n action: 'read',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.string(),\n});\n\nexport const createGroup = defineMethodV2('createGroup', {\n meta: {\n description: 'Create new group',\n action: 'send',\n namespace: 'groups',\n license: 'restricted',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n name: z.string().describe('Group name'),\n contacts: z.array(contactIdParam).describe('Contact IDs to add'),\n }),\n parameterOrder: ['name', 'contacts'],\n output: GroupCreationResultSchema.nullable(),\n});\n\nexport const leaveGroup = defineMethodV2('leaveGroup', {\n meta: {\n description: 'Leave a group',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.void(),\n});\n\nexport const joinGroupViaLink = defineMethodV2('joinGroupViaLink', {\n meta: {\n description: 'Join group via invite link',\n action: 'send',\n namespace: 'groups',\n license: 'restricted',\n functionality: 'both',\n httpMethod: 'POST',\n aliases: {\n explicit: ['joinGroup'],\n namespacedName: 'join',\n },\n },\n input: z.object({\n link: z.string().url().describe('Group invite link'),\n returnChatObj: z.boolean().optional().describe('Return chat object'),\n }),\n parameterOrder: ['link', 'returnChatObj'],\n output: z.union([GroupChatIdSchema, z.boolean(), z.number(), ChatSchema]),\n});\n\nexport const revokeGroupInviteLink = defineMethodV2('revokeGroupInviteLink', {\n meta: {\n description: 'Revoke group invite link',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({ groupId: groupIdParam }),\n parameterOrder: ['groupId'],\n output: z.union([z.string(), z.boolean()]),\n});\n\nexport const setGroupTitle = defineMethodV2('setGroupTitle', {\n meta: {\n description: 'Set group title',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n groupId: groupIdParam,\n title: z.string().describe('New group title'),\n }),\n parameterOrder: ['groupId', 'title'],\n output: z.boolean(),\n});\n\nexport const setGroupDescription = defineMethodV2('setGroupDescription', {\n meta: {\n description: 'Set group description',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n groupId: groupIdParam,\n description: z.string().describe('New group description'),\n }),\n parameterOrder: ['groupId', 'description'],\n output: z.boolean(),\n});\n\nexport const setGroupIcon = defineMethodV2('setGroupIcon', {\n meta: {\n description: 'Set group icon',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n groupId: groupIdParam,\n image: z.string().describe('Image data URL'),\n }),\n parameterOrder: ['groupId', 'image'],\n output: z.boolean(),\n});\n\nexport const setGroupToAdminsOnly = defineMethodV2('setGroupToAdminsOnly', {\n meta: {\n description: 'Restrict group to admins only',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n namespacedName: 'setAdminsOnly',\n },\n },\n input: z.object({\n groupId: groupIdParam,\n onlyAdmins: z.boolean().describe('Admins only setting'),\n }),\n parameterOrder: ['groupId', 'onlyAdmins'],\n output: z.boolean(),\n});\n\nexport const setGroupEditToAdminsOnly = defineMethodV2('setGroupEditToAdminsOnly', {\n meta: {\n description: 'Restrict group editing to admins only',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n namespacedName: 'setEditAdminsOnly',\n },\n },\n input: z.object({\n groupId: groupIdParam,\n onlyAdmins: z.boolean().describe('Admins only setting'),\n }),\n parameterOrder: ['groupId', 'onlyAdmins'],\n output: z.boolean(),\n});\n\nexport const addParticipant = defineMethodV2('addParticipant', {\n meta: {\n description: 'Add participant to group',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['addGroupParticipant'],\n },\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.boolean(),\n});\n\nexport const removeParticipant = defineMethodV2('removeParticipant', {\n meta: {\n description: 'Remove participant from group',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['removeGroupParticipant'],\n },\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.boolean(),\n});\n\nexport const promoteParticipant = defineMethodV2('promoteParticipant', {\n meta: {\n description: 'Promote participant to admin',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['promoteGroupParticipant'],\n },\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.union([z.boolean(), z.string()]),\n});\n\nexport const demoteParticipant = defineMethodV2('demoteParticipant', {\n meta: {\n description: 'Demote participant from admin',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['demoteGroupParticipant'],\n },\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.union([z.boolean(), z.string()]),\n});\n\nexport const approveGroupJoinRequest = defineMethodV2('approveGroupJoinRequest', {\n meta: {\n description: 'Approve group join request',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.union([z.string(), z.boolean()]),\n});\n\nexport const rejectGroupJoinRequest = defineMethodV2('rejectGroupJoinRequest', {\n meta: {\n description: 'Reject group join request',\n action: 'update',\n namespace: 'groups',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n },\n input: z.object({\n groupId: groupIdParam,\n contactId: contactIdParam,\n }),\n parameterOrder: ['groupId', 'contactId'],\n output: z.union([z.string(), z.boolean()]),\n});\n","import { GroupChatIdSchema } from '../common-types';\nimport { CommunityAdminIdsSchema, CommunityAdminsSchema, CommunityMetadataSchema, CommunityParticipantIdsSchema, CommunityParticipantsSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { communityIdParam } from '../parameters';\n\n// ============================================================================\n// Community Methods\n// ============================================================================\n\n/**\n * Get all communities\n */\nexport const getAllCommunities = defineMethodV2('getAllCommunities', {\n meta: {\n description: 'Get all communities',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(GroupChatIdSchema),\n});\n\n/**\n * Get community info\n */\nexport const getCommunityInfo = defineMethodV2('getCommunityInfo', {\n meta: {\n description: 'Get community metadata',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n communityId: communityIdParam\n }),\n parameterOrder: ['communityId'],\n output: CommunityMetadataSchema,\n});\n\n/**\n * Get community participant IDs\n */\nexport const getCommunityParticipantIds = defineMethodV2('getCommunityParticipantIds', {\n meta: {\n description: 'Get community participant IDs',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n communityId: communityIdParam\n }),\n parameterOrder: ['communityId'],\n output: z.array(CommunityParticipantIdsSchema),\n});\n\n/**\n * Get community admin IDs\n */\nexport const getCommunityAdminIds = defineMethodV2('getCommunityAdminIds', {\n meta: {\n description: 'Get community admin IDs',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n communityId: communityIdParam\n }),\n parameterOrder: ['communityId'],\n output: z.array(CommunityAdminIdsSchema),\n});\n\n/**\n * Get community participants\n */\nexport const getCommunityParticipants = defineMethodV2('getCommunityParticipants', {\n meta: {\n description: 'Get community participants',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n communityId: communityIdParam\n }),\n parameterOrder: ['communityId'],\n output: z.array(CommunityParticipantsSchema),\n});\n\n/**\n * Get community admins\n */\nexport const getCommunityAdmins = defineMethodV2('getCommunityAdmins', {\n meta: {\n description: 'Get community admins',\n action: 'read',\n namespace: 'communities',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n communityId: communityIdParam\n }),\n parameterOrder: ['communityId'],\n output: z.array(CommunityAdminsSchema),\n});\n","import { MessageIdSchema } from '../common-types';\nimport { ContactStatusSchema, StorySchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { contactIdParam } from '../parameters';\n\nexport const postTextStatus = defineMethodV2('postTextStatus', {\n meta: {\n description: 'Post text status',\n action: 'send',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n text: z.string().describe('Status text'),\n backgroundColor: z.string().optional().describe('Background color'),\n font: z.number().optional().describe('Font style'),\n }),\n parameterOrder: ['text', 'backgroundColor', 'font'],\n output: MessageIdSchema.or(z.string()).or(z.boolean()),\n});\n\nexport const postImageStatus = defineMethodV2('postImageStatus', {\n meta: {\n description: 'Post image status',\n action: 'send',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n image: z.string().describe('Image data URL'),\n caption: z.string().optional().describe('Status caption'),\n }),\n parameterOrder: ['image', 'caption'],\n output: MessageIdSchema.or(z.string()).or(z.boolean()),\n});\n\nexport const postVideoStatus = defineMethodV2('postVideoStatus', {\n meta: {\n description: 'Post video status',\n action: 'send',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n video: z.string().describe('Video data URL'),\n caption: z.string().optional().describe('Status caption'),\n }),\n parameterOrder: ['video', 'caption'],\n output: MessageIdSchema.or(z.string()).or(z.boolean()),\n});\n\nexport const getStories = defineMethodV2('getStories', {\n meta: {\n description: 'Get all stories',\n action: 'read',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getStatuses'],\n namespacedName: 'getAll',\n },\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(StorySchema),\n});\n\nexport const getStatus = defineMethodV2('getStatus', {\n meta: {\n description: 'Get specific status',\n action: 'read',\n namespace: 'mystatus',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: ContactStatusSchema,\n});\n\nexport const deleteStatus = defineMethodV2('deleteStatus', {\n meta: {\n description: 'Delete status',\n action: 'delete',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'DELETE',\n },\n input: z.object({\n statusesToDelete: z.union([z.string(), z.array(z.string())]).describe('Status ID(s)'),\n }),\n parameterOrder: ['statusesToDelete'],\n output: z.boolean(),\n});\n\nexport const deleteAllStatus = defineMethodV2('deleteAllStatus', {\n meta: {\n description: 'Delete all statuses',\n action: 'delete',\n namespace: 'status',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'DELETE',\n aliases: {\n explicit: ['deleteAllStatuses'],\n },\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.boolean(),\n});\n","import { ChatSchema } from '../common-types';\nimport { LabelSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { toParam } from '../parameters';\n\n// ============================================================================\n// Label Methods\n// ============================================================================\n\n/**\n * Get all labels\n */\nexport const getAllLabels = defineMethodV2('getAllLabels', {\n meta: {\n description: 'Get all labels',\n action: 'read',\n namespace: 'labels',\n license: 'none',\n functionality: 'business-only',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.array(LabelSchema),\n});\n\n/**\n * Get chats by label\n */\nexport const getChatsByLabel = defineMethodV2('getChatsByLabel', {\n meta: {\n description: 'Get chats by label',\n action: 'read',\n namespace: 'labels',\n license: 'none',\n functionality: 'business-only',\n httpMethod: 'GET',\n aliases: {\n namespacedName: 'getChats',\n },\n },\n input: z.object({\n label: z.string().describe('Label name')\n }),\n parameterOrder: ['label'],\n output: z.array(ChatSchema),\n});\n\n/**\n * Add label\n */\nexport const addLabel = defineMethodV2('addLabel', {\n meta: {\n description: 'Add label to chat',\n action: 'update',\n namespace: 'labels',\n license: 'none',\n functionality: 'business-only',\n httpMethod: 'PUT',\n },\n input: z.object({\n label: z.string().describe('Label ID or name'),\n chatId: toParam\n }),\n parameterOrder: ['label', 'chatId'],\n output: z.boolean()\n});\n\n/**\n * Remove label\n */\nexport const removeLabel = defineMethodV2('removeLabel', {\n meta: {\n description: 'Remove label from chat',\n action: 'update',\n namespace: 'labels',\n license: 'none',\n functionality: 'business-only',\n httpMethod: 'PUT',\n },\n input: z.object({\n label: z.string().describe('Label ID or name'),\n chatId: toParam\n }),\n parameterOrder: ['label', 'chatId'],\n output: z.boolean()\n});\n","import { BusinessProfileSchema, OrderSchema, ProductSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { contactIdParam, messageIdParam } from '../parameters';\n\nexport const getBusinessProfile = defineMethodV2('getBusinessProfile', {\n meta: {\n description: 'Get business profile',\n action: 'read',\n namespace: 'business',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: BusinessProfileSchema,\n});\n\nexport const getBusinessProducts = defineMethodV2('getBusinessProducts', {\n meta: {\n description: 'Get business products',\n action: 'read',\n namespace: 'business',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getBusinessProfilesProducts'],\n },\n wapiOverride: 'getBusinessProfilesProducts',\n },\n input: z.object({ contactId: contactIdParam }),\n parameterOrder: ['contactId'],\n output: z.array(ProductSchema).or(z.literal(false)),\n});\n\nexport const getOrder = defineMethodV2('getOrder', {\n meta: {\n description: 'Get order details',\n action: 'read',\n namespace: 'business',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({\n id: z.union([messageIdParam, z.string()]).describe('Order or message ID'),\n }),\n parameterOrder: ['id'],\n output: OrderSchema,\n});\n","import { Schema } from 'effect';\n\n/** Licence access selected by the server, distinct from WhatsApp feature flags. */\nexport const LicenseFeaturesSchema = Schema.Struct({\n status: Schema.Literals(['valid', 'missing', 'invalid', 'expired', 'metadata_only']),\n keyType: Schema.NullOr(Schema.String),\n expiresAt: Schema.NullOr(Schema.Number),\n features: Schema.Record(Schema.String, Schema.Boolean),\n});\nexport type LicenseFeatures = typeof LicenseFeaturesSchema.Type;\n","import { FeatureFlagsSchema, HealthCheckSchema, HostAccountSchema, LicenseTypeSchema, ProcessStatsSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { chatIdParam, imageDataParam, nameParam, statusTextParam, userAgentParam } from '../parameters';\nimport { LicenseFeaturesSchema } from '../license';\nimport { projectEffectSchema } from '../effect-projection';\n\nexport const getMe = defineMethodV2('getMe', {\n meta: {\n description: 'Get host account info',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: HostAccountSchema,\n});\n\nexport const getHostNumber = defineMethodV2('getHostNumber', {\n meta: {\n description: 'Get host phone number',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.string(),\n});\n\nexport const getConnectionState = defineMethodV2('getConnectionState', {\n meta: {\n description: 'Get connection state',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.string(),\n});\n\nexport const getWAVersion = defineMethodV2('getWAVersion', {\n meta: {\n description: 'Get WhatsApp Web version',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['getWhatsAppVersion'],\n },\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.string(),\n});\n\nexport const getBatteryLevel = defineMethodV2('getBatteryLevel', {\n meta: {\n description: 'Get phone battery level',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.number(),\n});\n\nexport const isPlugged = defineMethodV2('isPlugged', {\n meta: {\n description: 'Check if phone is charging',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getIsPlugged'],\n },\n wapiOverride: 'getIsPlugged',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.boolean(),\n});\n\nexport const getFeatures = defineMethodV2('getFeatures', {\n meta: {\n description: 'Get enabled features',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: FeatureFlagsSchema,\n});\n\nexport const getLicenseType = defineMethodV2('getLicenseType', {\n meta: {\n description: 'Get license type',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: LicenseTypeSchema.or(z.literal(false)),\n});\n\nexport const getLicenseFeatures = defineMethodV2('getLicenseFeatures', {\n meta: {\n description: 'Get enabled and disabled licensed features from the accepted licence patch. This reports licence access; actions check runtime availability automatically.',\n action: 'read', namespace: 'session', license: 'none', functionality: 'both', httpMethod: 'GET',\n },\n input: z.object({}), parameterOrder: [], output: projectEffectSchema(LicenseFeaturesSchema),\n});\n\nexport const getUserAgent = defineMethodV2('getUserAgent', {\n meta: {\n description: 'Get user agent',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getGeneratedUserAgent'],\n },\n wapiOverride: 'getGeneratedUserAgent',\n },\n input: z.object({ userAgent: userAgentParam }),\n parameterOrder: ['userAgent'],\n output: z.string(),\n});\n\nexport const getProcessStats = defineMethodV2('getProcessStats', {\n meta: {\n description: 'Get process statistics',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: ProcessStatsSchema,\n});\n\nexport const getLoadedMessageCount = defineMethodV2('getLoadedMessageCount', {\n meta: {\n description: 'Get loaded message count',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n deprecated: ['getAmountOfLoadedMessages'],\n },\n wapiOverride: 'getAmountOfLoadedMessages',\n },\n input: z.object({}),\n parameterOrder: [],\n output: z.number(),\n});\n\nexport const getSnapshot = defineMethodV2('getSnapshot', {\n meta: {\n description: 'Take screenshot',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n aliases: {\n explicit: ['takeScreenshot'],\n },\n },\n input: z.object({\n chatId: chatIdParam.optional(),\n width: z.number().optional(),\n height: z.number().optional(),\n }),\n parameterOrder: ['chatId', 'width', 'height'],\n output: z.string(),\n});\n\nexport const healthCheck = defineMethodV2('healthCheck', {\n meta: {\n description: 'Health check',\n action: 'read',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'GET',\n },\n input: z.object({}),\n parameterOrder: [],\n output: HealthCheckSchema,\n});\n\nexport const setMyName = defineMethodV2('setMyName', {\n meta: {\n description: 'Set host name',\n action: 'update',\n namespace: 'session',\n license: 'none',\n functionality: 'personal-only',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['setDisplayName'],\n namespacedName: 'setName',\n },\n },\n input: z.object({ name: nameParam }),\n parameterOrder: ['name'],\n output: z.boolean(),\n});\n\nexport const setMyStatus = defineMethodV2('setMyStatus', {\n meta: {\n description: 'Set host status',\n action: 'update',\n namespace: 'session',\n license: 'none',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n explicit: ['setStatusText'],\n namespacedName: 'setStatus',\n },\n },\n input: z.object({ statusText: statusTextParam }),\n parameterOrder: ['statusText'],\n output: z.boolean(),\n});\n\nexport const setProfilePicture = defineMethodV2('setProfilePicture', {\n meta: {\n description: 'Set profile picture',\n action: 'update',\n namespace: 'session',\n license: 'insiders',\n functionality: 'both',\n httpMethod: 'PUT',\n aliases: {\n deprecated: ['setProfilePic'],\n },\n wapiOverride: 'setProfilePic',\n },\n input: z.object({ image: imageDataParam }),\n parameterOrder: ['image'],\n output: z.boolean(),\n});\n","import { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { DataURLSchema, MessageSchema } from '../common-types';\n\nexport const decryptMedia = defineMethodV2('decryptMedia', {\n meta: {\n description: 'Decrypts media from a message',\n action: 'read',\n namespace: 'media',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n message: MessageSchema.describe('Message object containing media'),\n }),\n parameterOrder: ['message'],\n output: DataURLSchema,\n});\n\nexport const downloadMedia = defineMethodV2('downloadMedia', {\n meta: {\n description: 'Downloads and decrypts media from a message to a file',\n action: 'read',\n namespace: 'media',\n license: 'none',\n functionality: 'both',\n httpMethod: 'POST',\n },\n input: z.object({\n message: MessageSchema.describe('Message object containing media'),\n path: z.string().describe('File path to save the media'),\n }),\n parameterOrder: ['message', 'path'],\n output: z.string().describe('Path to the saved file'),\n});\n","import { z } from 'zod';\n\n/** A portable JSON document shared by the SDK, HTTP API and message builders. */\nexport type JsonValue = null | boolean | number | string | JsonValue[] | { [key: string]: JsonValue };\nexport const JsonValueSchema: z.ZodType<JsonValue> = z.lazy(() => z.union([\n z.null(), z.boolean(), z.number().finite(), z.string(),\n z.array(JsonValueSchema), z.record(z.string(), JsonValueSchema),\n]));\nexport const JsonObjectSchema = z.record(z.string(), JsonValueSchema);\nconst text = z.string().min(1);\nconst url = z.url().refine(value => /^https?:\\/\\//i.test(value), 'Use an HTTP or HTTPS URL');\nconst id = text.describe('Stable application-defined ID returned when the recipient chooses this item');\n\nexport const ReplyActionSchema = z.object({ type: z.literal('reply'), id, label: text }).strict();\nexport const LinkActionSchema = z.object({ type: z.literal('url'), label: text, url }).strict();\nexport const CallActionSchema = z.object({ type: z.literal('call'), label: text, phoneNumber: text }).strict();\nexport const CopyActionSchema = z.object({ type: z.literal('copy'), label: text, code: text }).strict();\nexport const InteractiveActionSchema = z.discriminatedUnion('type', [\n ReplyActionSchema, LinkActionSchema, CallActionSchema, CopyActionSchema,\n]);\nexport const NativeActionSchema = z.object({\n name: text.describe('WhatsApp native action name; availability depends on the recipient and account'),\n parameters: JsonObjectSchema.optional(),\n}).strict();\nconst actions = z.array(InteractiveActionSchema).min(1).superRefine((items, ctx) => {\n const replies = items.filter(item => item.type === 'reply');\n if (replies.length && replies.length !== items.length) {\n ctx.addIssue({ code: 'custom', message: 'Reply actions cannot be mixed with URL, call or copy actions' });\n }\n const ids = new Set<string>();\n items.forEach((item, index) => {\n if (item.type !== 'reply') return;\n if (ids.has(item.id)) ctx.addIssue({ code: 'custom', path: [index, 'id'], message: 'Duplicate reply ID' });\n ids.add(item.id);\n });\n});\n\nconst media = {\n source: text.describe('HTTP(S) URL, local file path or base64 data URL; resolved by the client before sending'),\n filename: text.optional(),\n title: z.string().optional(),\n};\nexport const InteractiveHeaderSchema = z.discriminatedUnion('type', [\n z.object({ type: z.literal('text'), text }).strict(),\n z.object({ type: z.literal('image'), ...media }).strict(),\n z.object({ type: z.literal('video'), ...media }).strict(),\n z.object({ type: z.literal('document'), ...media }).strict(),\n]);\nconst base = {\n version: z.literal(1).optional().describe('Document format version, defaults to 1; independent of WhatsApp protocol versions'),\n body: text,\n footer: z.string().optional(),\n};\nexport const ButtonsContentSchema = z.object({\n ...base, type: z.literal('buttons'), header: InteractiveHeaderSchema.optional(), actions,\n}).strict();\nexport const ListRowSchema = z.object({ id, title: text, description: z.string().optional() }).strict();\nexport const ListContentSchema = z.object({\n ...base, type: z.literal('list'), title: z.string().optional(), buttonLabel: text.default('Choose an option'),\n sections: z.array(z.object({ title: z.string().optional(), rows: z.array(ListRowSchema).min(1) }).strict()).min(1),\n}).strict();\nexport const FormQuestionSchema = z.object({\n type: z.enum(['singleSelect', 'multiSelect']), id, label: text,\n options: z.array(z.object({ id, label: text }).strict()).min(1),\n allowCustomAnswer: z.boolean().optional(),\n}).strict();\nexport const FormContentSchema = z.object({\n ...base, type: z.literal('form'), title: z.string().optional(), questions: z.array(FormQuestionSchema).min(1),\n}).strict();\nexport const CarouselCardSchema = z.object({\n body: text,\n header: z.object({ type: z.literal('image'), ...media }).strict(),\n actions,\n}).strict();\nexport const CarouselContentSchema = z.object({\n ...base, type: z.literal('carousel'), cards: z.array(CarouselCardSchema).min(1),\n}).strict();\nexport const BookingContentSchema = z.object({\n ...base, type: z.literal('booking'), title: z.string().optional(), buttonLabel: text.default('View booking'),\n booking: z.object({\n startAt: z.iso.datetime({ offset: true }), endAt: z.iso.datetime({ offset: true }).optional(),\n location: z.string().optional(), url: url.optional(), managementUrl: url.optional(),\n phoneNumber: z.string().optional(), email: z.email().optional(), description: z.string().optional(),\n labels: z.object({\n language: z.string().optional(), meetingType: z.string().optional(), detailsTitle: z.string().optional(),\n addToCalendar: z.string().optional(), viewOnMap: z.string().optional(), manageBooking: z.string().optional(),\n }).strict().optional(),\n }).strict(),\n actions: z.array(z.discriminatedUnion('type', [LinkActionSchema, CallActionSchema, CopyActionSchema])).optional(),\n}).strict();\nexport const NativeContentSchema = z.object({\n ...base, type: z.literal('native'), header: InteractiveHeaderSchema.optional(),\n actions: z.array(NativeActionSchema).min(1), parameters: JsonObjectSchema.optional(),\n}).strict().describe('Advanced extension for new native action types; parameters are passed through without claiming recipient support');\n\nexport const InteractiveContentSchema = z.discriminatedUnion('type', [\n ButtonsContentSchema, ListContentSchema, FormContentSchema, CarouselContentSchema, BookingContentSchema, NativeContentSchema,\n]).superRefine((content, ctx) => {\n const unique = (items: { id: string }[], path: (string | number)[]) => {\n const seen = new Set<string>();\n items.forEach((item, index) => {\n if (seen.has(item.id)) ctx.addIssue({ code: 'custom', path: [...path, index, 'id'], message: 'IDs must be unique' });\n seen.add(item.id);\n });\n };\n if (content.type === 'form') {\n unique(content.questions, ['questions']);\n content.questions.forEach((q, index) => {\n unique(q.options, ['questions', index, 'options']);\n if (q.id === '__openwa_form__') ctx.addIssue({ code: 'custom', path: ['questions', index, 'id'], message: 'This question ID is reserved' });\n });\n }\n if (content.type === 'list') {\n const seen = new Set<string>();\n content.sections.forEach((section, s) => section.rows.forEach((row, r) => {\n if (seen.has(row.id)) ctx.addIssue({ code: 'custom', path: ['sections', s, 'rows', r, 'id'], message: 'Row IDs must be unique across sections' });\n seen.add(row.id);\n }));\n }\n if (content.type === 'booking' && content.booking.endAt && Date.parse(content.booking.endAt) <= Date.parse(content.booking.startAt)) {\n ctx.addIssue({ code: 'custom', path: ['booking', 'endAt'], message: 'Booking end must be after its start' });\n }\n});\n\nexport type InteractiveContent = z.input<typeof InteractiveContentSchema>;\nexport type InteractiveAction = z.infer<typeof InteractiveActionSchema>;\nexport type InteractiveHeader = z.infer<typeof InteractiveHeaderSchema>;\nexport type FormQuestion = z.infer<typeof FormQuestionSchema>;\n/** Validate a JSON document without sending it or loading media; suitable for UI builders. */\nexport function defineInteractiveMessage<T extends InteractiveContent>(content: T): Extract<z.output<typeof InteractiveContentSchema>, { type: T['type'] }> {\n return InteractiveContentSchema.parse(content) as Extract<z.output<typeof InteractiveContentSchema>, { type: T['type'] }>;\n}\n\nconst responseBase = {\n messageId: text, chatId: text, senderId: text,\n originalMessageId: z.string().optional().describe('Original WhatsApp stanza ID; may not be a full serialized message key'),\n timestamp: z.number().optional(),\n raw: JsonObjectSchema,\n};\nexport const FormResponseSchema = z.object({\n ...responseBase, type: z.literal('form'),\n answers: z.record(z.string(), z.union([z.string(), z.array(z.string())])),\n});\nexport const InteractiveResponseSchema = z.discriminatedUnion('type', [\n FormResponseSchema,\n z.object({ ...responseBase, type: z.literal('reply'), id: text, label: z.string().optional() }),\n z.object({ ...responseBase, type: z.literal('list'), id: text, label: z.string().optional() }),\n z.object({ ...responseBase, type: z.literal('native'), name: text, parameters: JsonValueSchema.optional(), parseError: z.string().optional() }),\n]);\nexport type FormResponse = z.infer<typeof FormResponseSchema>;\nexport type InteractiveResponse = z.infer<typeof InteractiveResponseSchema>;\n","import { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { toParam } from '../parameters';\nimport { InteractiveContentSchema, JsonObjectSchema } from '../interactive';\n\nexport const SendInteractiveInputSchema = z.object({ to: toParam, content: InteractiveContentSchema }).strict();\nexport const SendRawMessageInputSchema = z.object({ to: toParam, payload: JsonObjectSchema }).strict();\nexport const sendInteractive = defineMethodV2('sendInteractive', {\n meta: {\n description: 'Send a portable interactive message document (Insiders and above)',\n namespace: 'messages', action: 'send', license: 'insiders', functionality: 'both', httpMethod: 'POST',\n },\n input: SendInteractiveInputSchema, parameterOrder: ['to', 'content'], output: z.string(),\n});\nexport const sendRawMessage = defineMethodV2('sendRawMessage', {\n meta: {\n description: 'Send a constructed WhatsApp protobuf Message payload (Insiders and above); media must already be uploaded',\n namespace: 'messages', action: 'send', license: 'insiders', functionality: 'both', httpMethod: 'POST',\n },\n input: SendRawMessageInputSchema, parameterOrder: ['to', 'payload'], output: z.string(),\n});\n","import { Schema } from 'effect';\nimport type { AudioInput, AudioOutput, CallMediaOptions, VideoInput } from './calling-media';\n\nexport const RawAudioFormatSchema = Schema.Struct({ encoding: Schema.Literals(['pcm16le', 'float32le']), sampleRate: Schema.Number, channels: Schema.Literals([1, 2]) });\nexport const MediaDescriptorSchema = Schema.Struct({\n kind: Schema.Literals(['file', 'url', 'device', 'remote']), path: Schema.optional(Schema.String), url: Schema.optional(Schema.String),\n deviceId: Schema.optional(Schema.String), raw: Schema.optional(RawAudioFormatSchema), headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),\n overwrite: Schema.optional(Schema.Boolean), loop: Schema.optional(Schema.Boolean), remoteId: Schema.optional(Schema.String),\n});\nexport const CallMediaOptionsSchema = Schema.Struct({\n microphone: Schema.optional(Schema.Unknown), speaker: Schema.optional(Schema.Unknown), camera: Schema.optional(Schema.Unknown),\n onMediaFailure: Schema.optional(Schema.Literals(['end', 'keep-open'])),\n});\nexport const CallIdentitySchema = Schema.Struct({\n id: Schema.String,\n sessionId: Schema.String,\n generation: Schema.String,\n});\nexport const CallEndReasonSchema = Schema.Struct({\n code: Schema.String,\n message: Schema.String,\n source: Schema.Literals(['local', 'media', 'license', 'session', 'whatsapp']),\n});\nexport const CallSnapshotSchema = Schema.Struct({\n ...CallIdentitySchema.fields,\n peer: Schema.String,\n state: Schema.String,\n direction: Schema.Literals(['incoming', 'outgoing']),\n video: Schema.Boolean,\n terminal: Schema.Boolean,\n observedAt: Schema.Number,\n endReason: Schema.optional(CallEndReasonSchema),\n media: Schema.optional(Schema.Struct({ state: Schema.Literals(['attached', 'ended']), reason: Schema.optional(Schema.String) })),\n});\nexport const CallReasonSchema = Schema.Struct({ code: Schema.String, message: Schema.String, status: Schema.Number });\nexport const CallActionResultSchema = Schema.Union([\n Schema.Struct({ ok: Schema.Literal(true), status: Schema.Literal('requested'), callId: Schema.optional(Schema.String) }),\n Schema.Struct({ ok: Schema.Literal(false), status: Schema.Literals(['unavailable', 'failed', 'unknown']), reason: CallReasonSchema, callId: Schema.optional(Schema.String) }),\n]);\nexport const CallCapabilitiesSchema = Schema.Struct({\n control: Schema.Boolean, audio: Schema.Boolean, video: Schema.Boolean,\n reason: Schema.optional(CallReasonSchema),\n});\nexport type CallIdentity = typeof CallIdentitySchema.Type;\nexport type CallSnapshot = typeof CallSnapshotSchema.Type;\nexport type CallEndReason = typeof CallEndReasonSchema.Type;\nexport type CallActionResult = typeof CallActionResultSchema.Type;\nexport type CallCapabilities = typeof CallCapabilitiesSchema.Type;\nexport type CallAudioObserver = { ok: true; status: 'attached'; stop(): Promise<void> };\n\n/** Methods are hydrated locally; transports carry only CallSnapshot. */\nexport interface Call extends CallSnapshot {\n accept(microphone?: AudioInput | CallMediaOptions, speaker?: AudioOutput, camera?: VideoInput): Promise<CallActionResult>;\n reject(): Promise<CallActionResult>;\n end(): Promise<CallActionResult>;\n mute(): Promise<CallActionResult>;\n unmute(): Promise<CallActionResult>;\n clearAudio(): Promise<CallActionResult>;\n setMedia(options: CallMediaOptions): Promise<CallActionResult>;\n observeAudio(speaker: AudioOutput): Promise<CallAudioObserver | Exclude<CallActionResult, { ok: true }>>;\n}\n","import { Schema } from 'effect';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { projectEffectSchema } from '../effect-projection';\nimport { CallActionResultSchema, CallCapabilitiesSchema, CallMediaOptionsSchema, CallIdentitySchema, CallSnapshotSchema } from '../calling';\n\nconst media = Schema.optional(Schema.Unknown);\nconst actionInput = Schema.Struct({ call: CallIdentitySchema, media: Schema.optional(CallMediaOptionsSchema) });\nconst register = (name: string, input: Schema.Top, output: Schema.Top, parameters: string[], description: string) => defineMethodV2(name, {\n meta: { namespace: 'calls', action: 'update', httpMethod: 'POST', license: name === 'getCallCapabilities' ? 'none' : 'restricted', functionality: 'both', description },\n input: projectEffectSchema(input) as z.ZodObject<any>, parameterOrder: parameters, output: projectEffectSchema(output),\n});\nexport const getCallCapabilities = register('getCallCapabilities', Schema.Struct({}), CallCapabilitiesSchema, [], 'Optional calling availability for UI and diagnostics. Actions perform admission automatically.');\nexport const getActiveCall = register('getActiveCall', Schema.Struct({}), Schema.NullOr(CallSnapshotSchema), [], 'Get the current call snapshot. SDK clients hydrate its bound methods.');\nexport const acceptCall = register('acceptCall', actionInput, CallActionResultSchema, ['call', 'media'], 'Prepare media and accept this incoming call.');\nexport const startCall = register('startCall', Schema.Struct({ to: Schema.String, microphone: media, speaker: media, camera: media }), CallActionResultSchema, ['to', 'microphone', 'speaker', 'camera'], 'Prepare media and place an outgoing audio or video call.');\nexport const rejectCall = register('rejectCall', Schema.Struct({ call: CallIdentitySchema }), CallActionResultSchema, ['call'], 'Reject this call with native state confirmation.');\nexport const endCall = register('endCall', Schema.Struct({ call: CallIdentitySchema }), CallActionResultSchema, ['call'], 'Request hangup for this call.');\nexport const muteCall = register('muteCall', Schema.Struct({ call: CallIdentitySchema, muted: Schema.Boolean }), CallActionResultSchema, ['call', 'muted'], 'Mute or unmute the microphone without ending reception.');\nexport const clearCallAudio = register('clearCallAudio', Schema.Struct({ call: CallIdentitySchema }), CallActionResultSchema, ['call'], 'Discard queued outgoing audio.');\nexport const setCallMedia = register('setCallMedia', actionInput, CallActionResultSchema, ['call', 'media'], 'Prepare a replacement before releasing the working media.');\nexport const observeCallAudio = register('observeCallAudio', Schema.Struct({ call: CallIdentitySchema, speaker: Schema.Unknown }), Schema.Union([Schema.Struct({ ok: Schema.Literal(true), status: Schema.Literal('requested'), observerId: Schema.String }), CallActionResultSchema]), ['call', 'speaker'], 'Attach an isolated receive-only audio sink. Its failure does not interrupt the call owner.');\nexport const stopCallAudioObserver = register('stopCallAudioObserver', Schema.Struct({ call: CallIdentitySchema, observerId: Schema.String }), CallActionResultSchema, ['call', 'observerId'], 'Stop an audio observer and finalize its sink.');\n","import { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { toParam, messageIdParam } from '../parameters';\nimport { EventInputRegistrySchema, EventUpdateRegistrySchema, WhatsAppEventRegistrySchema, EventResponseRegistrySchema, EventListOptionsRegistrySchema, EventPageRegistrySchema } from '../whatsapp-event-registry';\n\nconst meta = { namespace: 'events', license: 'none', functionality: 'both' } as const;\n\nexport const sendEvent = defineMethodV2('sendEvent', {\n meta: { ...meta, action: 'send', httpMethod: 'POST', description: 'Send a native WhatsApp event with Unix-second times. Returns its submitted message ID; delivery is observed through ACKs.' },\n input: z.object({ to: toParam, event: EventInputRegistrySchema }), parameterOrder: ['to', 'event'], output: messageIdParam,\n});\nexport const getEvent = defineMethodV2('getEvent', {\n meta: { ...meta, action: 'read', httpMethod: 'GET', description: 'Retrieve an event by message ID from WhatsApp local history. Returns null when absent.' },\n input: z.object({ eventId: messageIdParam }), parameterOrder: ['eventId'], output: WhatsAppEventRegistrySchema.nullable(),\n});\nexport const getEvents = defineMethodV2('getEvents', {\n meta: { ...meta, action: 'read', httpMethod: 'GET', description: 'Page through a chat’s locally synced event history, newest first. Pass nextCursor as options.before to retrieve the next page.' },\n input: z.object({ chatId: toParam, options: EventListOptionsRegistrySchema.optional() }), parameterOrder: ['chatId', 'options'], output: EventPageRegistrySchema,\n});\nexport const getEventResponses = defineMethodV2('getEventResponses', {\n meta: { ...meta, action: 'read', httpMethod: 'GET', description: 'Get the latest decrypted RSVP per participant, including responses persisted in WhatsApp local history.' },\n input: z.object({ eventId: messageIdParam }), parameterOrder: ['eventId'], output: EventResponseRegistrySchema.array(),\n});\nexport const editEvent = defineMethodV2('editEvent', {\n meta: { ...meta, action: 'update', httpMethod: 'POST', description: 'Edit an event created by this account. Unspecified fields retain their current values; endTime: null removes the end time.' },\n input: z.object({ eventId: messageIdParam, changes: EventUpdateRegistrySchema }), parameterOrder: ['eventId', 'changes'], output: z.boolean(),\n});\nexport const cancelEvent = defineMethodV2('cancelEvent', {\n meta: { ...meta, action: 'update', httpMethod: 'POST', description: 'Cancel an event created by this account using WhatsApp’s encrypted event edit action.' },\n input: z.object({ eventId: messageIdParam }), parameterOrder: ['eventId'], output: z.boolean(),\n});\nexport const respondToEvent = defineMethodV2('respondToEvent', {\n meta: { ...meta, action: 'send', httpMethod: 'POST', description: 'RSVP through WhatsApp’s native encrypted event-response action.' },\n input: z.object({ eventId: messageIdParam, response: z.enum(['going', 'notGoing', 'maybe']).meta({ examples: ['going'] }) }), parameterOrder: ['eventId', 'response'], output: z.boolean(),\n});\n"],"mappings":";;;;;;AAMA,SAAgB,oBAA0C,QAA+C;CAGvG,IAAI,YAAY,QAAQ;EACt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