Adapt TypeScript Events enum (#3271)
* Add missing js Events to ts Events enum * Placing back call Placing back call * Update index.d.ts --------- Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com> Co-authored-by: BenyFilho <168232825+BenyFilho@users.noreply.github.com>
This commit is contained in:
parent
047278b6e1
commit
42d0c40e2e
1 changed files with 5 additions and 0 deletions
5
index.d.ts
vendored
5
index.d.ts
vendored
|
|
@ -876,6 +876,8 @@ declare namespace WAWebJS {
|
|||
AUTHENTICATED = 'authenticated',
|
||||
AUTHENTICATION_FAILURE = 'auth_failure',
|
||||
READY = 'ready',
|
||||
CHAT_REMOVED = 'chat_removed',
|
||||
CHAT_ARCHIVED = 'chat_archived',
|
||||
MESSAGE_RECEIVED = 'message',
|
||||
MESSAGE_CIPHERTEXT = 'message_ciphertext',
|
||||
MESSAGE_CREATE = 'message_create',
|
||||
|
|
@ -883,6 +885,8 @@ declare namespace WAWebJS {
|
|||
MESSAGE_REVOKED_ME = 'message_revoke_me',
|
||||
MESSAGE_ACK = 'message_ack',
|
||||
MESSAGE_EDIT = 'message_edit',
|
||||
UNREAD_COUNT = 'unread_count',
|
||||
MESSAGE_REACTION = 'message_reaction',
|
||||
MEDIA_UPLOADED = 'media_uploaded',
|
||||
CONTACT_CHANGED = 'contact_changed',
|
||||
GROUP_JOIN = 'group_join',
|
||||
|
|
@ -893,6 +897,7 @@ declare namespace WAWebJS {
|
|||
QR_RECEIVED = 'qr',
|
||||
CODE_RECEIVED = 'code',
|
||||
LOADING_SCREEN = 'loading_screen',
|
||||
CALL = 'call',
|
||||
DISCONNECTED = 'disconnected',
|
||||
STATE_CHANGED = 'change_state',
|
||||
BATTERY_CHANGED = 'change_battery',
|
||||
|
|
|
|||
Loading…
Reference in a new issue