@open-wa/schema 5.4.0 → 5.5.1
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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"methods-BhLsQNtL.mjs","names":["ContactIdSchema","ChatIdSchema","MessageIdSchema","GroupIdSchema","ContactIdSchema","GroupIdSchema","MessageIdSchema","ChatIdSchema","ContactIdSchema","ContactIdSchema","MessageIdSchema"],"sources":["../src/common-types.ts","../src/return-types.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/methods/session.ts","../src/methods/media.ts","../src/interactive.ts","../src/methods/interactive.ts"],"sourcesContent":["import { z } from 'zod';\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 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 /**\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 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 { 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, MessageSchema } from '../common-types';\nimport { LLMMessageSchema, MessageInfoSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\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\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 an image 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 imgData: imageDataParam,\n filename: filenameParam,\n caption: captionParam,\n id: messageIdParam.optional(),\n waitForId: waitForIdParam\n }),\n parameterOrder: ['to', 'imgData', 'filename', 'caption', 'id', 'waitForId'],\n output: MessageIdReturnSchema.or(z.boolean()).or(z.string())\n});\n\n/**\n * Sends a file/document\n */\nexport const sendFile = defineMethodV2('sendFile', {\n meta: {\n description: 'Sends a file or document 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 file: fileDataParam,\n filename: filenameParam,\n caption: captionParam\n }),\n parameterOrder: ['to', 'file', 'filename', 'caption'],\n output: MessageIdReturnSchema.or(z.string())\n});\n\n/**\n * Sends an audio file\n */\nexport const sendAudio = defineMethodV2('sendAudio', {\n meta: {\n description: 'Sends an audio file 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 file: audioDataParam,\n filename: filenameParam,\n quotedMsgId: messageIdParam.optional()\n }),\n parameterOrder: ['to', 'file', 'filename', 'quotedMsgId'],\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 a voice note (push-to-talk) to a chat',\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 quotedMsgId: messageIdParam.optional()\n }),\n parameterOrder: ['to', 'file', 'quotedMsgId'],\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 a video as an animated GIF',\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,\n caption: captionParam,\n quotedMsgId: messageIdParam.optional()\n }),\n parameterOrder: ['to', 'file', 'filename', 'caption', 'quotedMsgId'],\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: 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.void())\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)\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 poll 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 name: z.string().describe('Poll question'),\n options: z.array(z.string()).min(2).max(12).describe('Poll options (2-12)'),\n selectableCount: z.number().optional().default(1).describe('Number of selectable options')\n }),\n parameterOrder: ['to', 'name', 'options', 'selectableCount'],\n output: MessageIdReturnSchema.or(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\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 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 a file from a URL and sends it 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 url: z.string().url().describe('URL of the file to download'),\n filename: z.string().describe('Filename for the sent file'),\n caption: z.string().optional().describe('Caption for the file'),\n headers: z.record(z.string(), z.string()).optional().describe('HTTP headers for the download request'),\n }),\n parameterOrder: ['to', 'url', 'filename', 'caption', 'headers'],\n output: 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 } from '../parameters';\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, GroupMetadataSchema } 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 getGroupInfo = defineMethodV2('getGroupInfo', {\n meta: {\n description: 'Get group metadata',\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: GroupMetadataSchema.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 { FeatureFlagsSchema, HealthCheckSchema, HostAccountSchema, LicenseTypeSchema, ProcessStatsSchema } from '../return-types';\nimport { z } from 'zod';\nimport { defineMethodV2 } from '../registry';\nimport { chatIdParam, imageDataParam, nameParam, statusTextParam, userAgentParam } from '../parameters';\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 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"],"mappings":";;;;AAGA,MAAaA,oBAAkB,EAAE,OAAO,CAAC,CAAC,MAAM,WAAW,CAAC,CAAC,SAAS,mFAAmF;AAGzJ,MAAaC,iBAAe,EAAE,OAAO,CAAC,CAAC,MAAM,QAAQ,CAAC,CAAC,SAAS,iGAAiG;AAGjK,MAAaC,oBAAkB,EAAE,OAAO,CAAC,CAAC,MAAM,WAAW,CAAC,CAAC,SAAS,gEAAgE;AAGtI,MAAa,oBAAoB,EAAE,OAAO,CAAC,CAAC,MAAM,aAAa,CAAC,CAAC,SAAS,iFAAiF;AAG3J,MAAaC,kBAAgB,EAAE,OAAO,CAAC,CAAC,MAAM,SAAS,CAAC,CAAC,SAAS,qEAAqE;AAGvI,MAAa,gBAAgB,EAAE,gBAAgB;CAAC;CAAS,EAAE,OAAO;CAAG;CAAY,EAAE,OAAO;AAAC,CAAC;AAK5F,MAAa,sBAAsB,EAAE,OAAO;CACx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