diff --git a/index.d.ts b/index.d.ts index 05e0285..d9d5ea6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -443,7 +443,27 @@ declare namespace WAWebJS { PAYMENT = 'payment', UNKNOWN = 'unknown', GROUP_INVITE = 'groups_v4_invite', - BUTTONS_RESPONSE = 'buttons_response' + LIST = 'list', + LIST_RESPONSE = 'list_response', + BUTTONS_RESPONSE = 'buttons_response', + PAYMENT = 'payment', + BROADCAST_NOTIFICATION = 'broadcast_notification', + CALL_LOG = 'call_log', + CIPHERTEXT = 'ciphertext', + DEBUG = 'debug', + E2E_NOTIFICATION = 'e2e_notification', + GP2 = 'gp2', + GROUP_NOTIFICATION = 'group_notification', + HSM = 'hsm', + INTERACTIVE = 'interactive', + NATIVE_FLOW = 'native_flow', + NOTIFICATION = 'notification', + NOTIFICATION_TEMPLATE = 'notification_template', + OVERSIZED = 'oversized', + PROTOCOL = 'protocol', + PTT = 'ptt', + REACTION = 'reaction', + TEMPLATE_BUTTON_REPLY = 'template_button_reply', } /** Client status */ diff --git a/src/util/Constants.js b/src/util/Constants.js index 2ff4a6f..1e02e04 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -77,8 +77,26 @@ exports.MessageTypes = { UNKNOWN: 'unknown', GROUP_INVITE: 'groups_v4_invite', LIST: 'list', + LIST_RESPONSE: 'list_response', BUTTONS_RESPONSE: 'buttons_response', - PAYMENT: 'payment' + PAYMENT: 'payment', + BROADCAST_NOTIFICATION: 'broadcast_notification', + CALL_LOG: 'call_log', + CIPHERTEXT: 'ciphertext', + DEBUG: 'debug', + E2E_NOTIFICATION: 'e2e_notification', + GP2: 'gp2', + GROUP_NOTIFICATION: 'group_notification', + HSM: 'hsm', + INTERACTIVE: 'interactive', + NATIVE_FLOW: 'native_flow', + NOTIFICATION: 'notification', + NOTIFICATION_TEMPLATE: 'notification_template', + OVERSIZED: 'oversized', + PROTOCOL: 'protocol', + PTT: 'ptt', + REACTION: 'reaction', + TEMPLATE_BUTTON_REPLY: 'template_button_reply', }; /**