supunmd-bail 2.0.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/LICENSE +21 -0
- package/WAProto/GenerateStatics.sh +3 -0
- package/WAProto/WAProto.proto +5519 -0
- package/WAProto/fix-imports.js +29 -0
- package/WAProto/index.d.ts +11969 -0
- package/WAProto/index.js +84368 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +62 -0
- package/lib/Defaults/index.js +115 -0
- package/lib/Signal/Group/ciphertext-message.d.ts +10 -0
- package/lib/Signal/Group/ciphertext-message.js +12 -0
- package/lib/Signal/Group/group-session-builder.d.ts +15 -0
- package/lib/Signal/Group/group-session-builder.js +30 -0
- package/lib/Signal/Group/group_cipher.d.ts +17 -0
- package/lib/Signal/Group/group_cipher.js +82 -0
- package/lib/Signal/Group/index.d.ts +12 -0
- package/lib/Signal/Group/index.js +12 -0
- package/lib/Signal/Group/keyhelper.d.ts +11 -0
- package/lib/Signal/Group/keyhelper.js +18 -0
- package/lib/Signal/Group/queue-job.d.ts +2 -0
- package/lib/Signal/Group/queue-job.js +54 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +14 -0
- package/lib/Signal/Group/sender-chain-key.js +26 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +17 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +63 -0
- package/lib/Signal/Group/sender-key-message.d.ts +19 -0
- package/lib/Signal/Group/sender-key-message.js +66 -0
- package/lib/Signal/Group/sender-key-name.d.ts +18 -0
- package/lib/Signal/Group/sender-key-name.js +48 -0
- package/lib/Signal/Group/sender-key-record.d.ts +31 -0
- package/lib/Signal/Group/sender-key-record.js +41 -0
- package/lib/Signal/Group/sender-key-state.d.ts +39 -0
- package/lib/Signal/Group/sender-key-state.js +84 -0
- package/lib/Signal/Group/sender-message-key.d.ts +12 -0
- package/lib/Signal/Group/sender-message-key.js +26 -0
- package/lib/Signal/libsignal.d.ts +5 -0
- package/lib/Signal/libsignal.js +342 -0
- package/lib/Signal/lid-mapping.d.ts +23 -0
- package/lib/Signal/lid-mapping.js +171 -0
- package/lib/Socket/Client/index.d.ts +3 -0
- package/lib/Socket/Client/index.js +3 -0
- package/lib/Socket/Client/types.d.ts +16 -0
- package/lib/Socket/Client/types.js +11 -0
- package/lib/Socket/Client/websocket.d.ts +13 -0
- package/lib/Socket/Client/websocket.js +50 -0
- package/lib/Socket/business.d.ts +188 -0
- package/lib/Socket/business.js +376 -0
- package/lib/Socket/chats.d.ts +98 -0
- package/lib/Socket/chats.js +962 -0
- package/lib/Socket/communities.d.ts +244 -0
- package/lib/Socket/communities.js +431 -0
- package/lib/Socket/groups.d.ts +137 -0
- package/lib/Socket/groups.js +327 -0
- package/lib/Socket/index.d.ts +231 -0
- package/lib/Socket/index.js +18 -0
- package/lib/Socket/messages-recv.d.ts +173 -0
- package/lib/Socket/messages-recv.js +1228 -0
- package/lib/Socket/messages-send.d.ts +169 -0
- package/lib/Socket/messages-send.js +1070 -0
- package/lib/Socket/mex.d.ts +3 -0
- package/lib/Socket/mex.js +42 -0
- package/lib/Socket/newsletter.d.ts +147 -0
- package/lib/Socket/newsletter.js +181 -0
- package/lib/Socket/socket.d.ts +51 -0
- package/lib/Socket/socket.js +883 -0
- package/lib/Socket/usync.d.ts +37 -0
- package/lib/Socket/usync.js +63 -0
- package/lib/Types/Auth.d.ts +111 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Bussines.d.ts +25 -0
- package/lib/Types/Bussines.js +2 -0
- package/lib/Types/Call.d.ts +14 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.d.ts +123 -0
- package/lib/Types/Chat.js +8 -0
- package/lib/Types/Contact.d.ts +24 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.d.ts +202 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.d.ts +67 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.d.ts +47 -0
- package/lib/Types/Label.js +25 -0
- package/lib/Types/LabelAssociation.d.ts +30 -0
- package/lib/Types/LabelAssociation.js +7 -0
- package/lib/Types/Message.d.ts +303 -0
- package/lib/Types/Message.js +11 -0
- package/lib/Types/Newsletter.d.ts +135 -0
- package/lib/Types/Newsletter.js +31 -0
- package/lib/Types/Product.d.ts +79 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.d.ts +76 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.d.ts +133 -0
- package/lib/Types/Socket.js +3 -0
- package/lib/Types/State.d.ts +39 -0
- package/lib/Types/State.js +13 -0
- package/lib/Types/USync.d.ts +26 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.d.ts +65 -0
- package/lib/Types/index.js +26 -0
- package/lib/Utils/auth-utils.d.ts +19 -0
- package/lib/Utils/auth-utils.js +257 -0
- package/lib/Utils/baileys-event-stream.d.ts +17 -0
- package/lib/Utils/baileys-event-stream.js +56 -0
- package/lib/Utils/browser-utils.d.ts +4 -0
- package/lib/Utils/browser-utils.js +28 -0
- package/lib/Utils/business.d.ts +23 -0
- package/lib/Utils/business.js +231 -0
- package/lib/Utils/chat-utils.d.ts +70 -0
- package/lib/Utils/chat-utils.js +763 -0
- package/lib/Utils/crypto.d.ts +41 -0
- package/lib/Utils/crypto.js +142 -0
- package/lib/Utils/decode-wa-message.d.ts +48 -0
- package/lib/Utils/decode-wa-message.js +279 -0
- package/lib/Utils/event-buffer.d.ts +34 -0
- package/lib/Utils/event-buffer.js +548 -0
- package/lib/Utils/generics.d.ts +90 -0
- package/lib/Utils/generics.js +381 -0
- package/lib/Utils/history.d.ts +19 -0
- package/lib/Utils/history.js +84 -0
- package/lib/Utils/index.d.ts +20 -0
- package/lib/Utils/index.js +20 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.js +85 -0
- package/lib/Utils/logger.d.ts +12 -0
- package/lib/Utils/logger.js +3 -0
- package/lib/Utils/lt-hash.d.ts +13 -0
- package/lib/Utils/lt-hash.js +48 -0
- package/lib/Utils/make-mutex.d.ts +8 -0
- package/lib/Utils/make-mutex.js +40 -0
- package/lib/Utils/message-retry-manager.d.ts +82 -0
- package/lib/Utils/message-retry-manager.js +149 -0
- package/lib/Utils/messages-media.d.ts +114 -0
- package/lib/Utils/messages-media.js +663 -0
- package/lib/Utils/messages.d.ts +76 -0
- package/lib/Utils/messages.js +908 -0
- package/lib/Utils/noise-handler.d.ts +20 -0
- package/lib/Utils/noise-handler.js +147 -0
- package/lib/Utils/pre-key-manager.d.ts +28 -0
- package/lib/Utils/pre-key-manager.js +106 -0
- package/lib/Utils/process-message.d.ts +42 -0
- package/lib/Utils/process-message.js +413 -0
- package/lib/Utils/signal.d.ts +34 -0
- package/lib/Utils/signal.js +159 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +13 -0
- package/lib/Utils/use-multi-file-auth-state.js +121 -0
- package/lib/Utils/validate-connection.d.ts +11 -0
- package/lib/Utils/validate-connection.js +195 -0
- package/lib/WABinary/constants.d.ts +28 -0
- package/lib/WABinary/constants.js +1301 -0
- package/lib/WABinary/decode.d.ts +7 -0
- package/lib/WABinary/decode.js +238 -0
- package/lib/WABinary/encode.d.ts +3 -0
- package/lib/WABinary/encode.js +216 -0
- package/lib/WABinary/generic-utils.d.ts +15 -0
- package/lib/WABinary/generic-utils.js +191 -0
- package/lib/WABinary/index.d.ts +6 -0
- package/lib/WABinary/index.js +6 -0
- package/lib/WABinary/jid-utils.d.ts +48 -0
- package/lib/WABinary/jid-utils.js +96 -0
- package/lib/WABinary/types.d.ts +19 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.d.ts +9 -0
- package/lib/WAM/BinaryInfo.js +10 -0
- package/lib/WAM/constants.d.ts +40 -0
- package/lib/WAM/constants.js +22853 -0
- package/lib/WAM/encode.d.ts +3 -0
- package/lib/WAM/encode.js +150 -0
- package/lib/WAM/index.d.ts +4 -0
- package/lib/WAM/index.js +4 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +10 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +29 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +23 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +54 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +13 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +27 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +13 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +38 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +26 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +51 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +10 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +29 -0
- package/lib/WAUSync/Protocols/index.d.ts +5 -0
- package/lib/WAUSync/Protocols/index.js +5 -0
- package/lib/WAUSync/USyncQuery.d.ts +29 -0
- package/lib/WAUSync/USyncQuery.js +94 -0
- package/lib/WAUSync/USyncUser.d.ts +13 -0
- package/lib/WAUSync/USyncUser.js +23 -0
- package/lib/WAUSync/index.d.ts +4 -0
- package/lib/WAUSync/index.js +4 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.js +36 -0
- package/lib/supun +1 -0
- package/package.json +104 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { Contact } from './Contact.js';
|
|
2
|
+
import type { WAMessageAddressingMode } from './Message.js';
|
|
3
|
+
export type GroupParticipant = Contact & {
|
|
4
|
+
isAdmin?: boolean;
|
|
5
|
+
isSuperAdmin?: boolean;
|
|
6
|
+
admin?: 'admin' | 'superadmin' | null;
|
|
7
|
+
};
|
|
8
|
+
export type ParticipantAction = 'add' | 'remove' | 'promote' | 'demote' | 'modify';
|
|
9
|
+
export type RequestJoinAction = 'created' | 'revoked' | 'rejected';
|
|
10
|
+
export type RequestJoinMethod = 'invite_link' | 'linked_group_join' | 'non_admin_add' | undefined;
|
|
11
|
+
export interface GroupMetadata {
|
|
12
|
+
id: string;
|
|
13
|
+
notify?: string;
|
|
14
|
+
/** group uses 'lid' or 'pn' to send messages */
|
|
15
|
+
addressingMode?: WAMessageAddressingMode;
|
|
16
|
+
owner: string | undefined;
|
|
17
|
+
ownerPn?: string | undefined;
|
|
18
|
+
owner_country_code?: string | undefined;
|
|
19
|
+
subject: string;
|
|
20
|
+
/** group subject owner */
|
|
21
|
+
subjectOwner?: string;
|
|
22
|
+
subjectOwnerPn?: string;
|
|
23
|
+
/** group subject modification date */
|
|
24
|
+
subjectTime?: number;
|
|
25
|
+
creation?: number;
|
|
26
|
+
desc?: string;
|
|
27
|
+
descOwner?: string;
|
|
28
|
+
descOwnerPn?: string;
|
|
29
|
+
descId?: string;
|
|
30
|
+
descTime?: number;
|
|
31
|
+
/** if this group is part of a community, it returns the jid of the community to which it belongs */
|
|
32
|
+
linkedParent?: string;
|
|
33
|
+
/** is set when the group only allows admins to change group settings */
|
|
34
|
+
restrict?: boolean;
|
|
35
|
+
/** is set when the group only allows admins to write messages */
|
|
36
|
+
announce?: boolean;
|
|
37
|
+
/** is set when the group also allows members to add participants */
|
|
38
|
+
memberAddMode?: boolean;
|
|
39
|
+
/** Request approval to join the group */
|
|
40
|
+
joinApprovalMode?: boolean;
|
|
41
|
+
/** is this a community */
|
|
42
|
+
isCommunity?: boolean;
|
|
43
|
+
/** is this the announce of a community */
|
|
44
|
+
isCommunityAnnounce?: boolean;
|
|
45
|
+
/** number of group participants */
|
|
46
|
+
size?: number;
|
|
47
|
+
participants: GroupParticipant[];
|
|
48
|
+
ephemeralDuration?: number;
|
|
49
|
+
inviteCode?: string;
|
|
50
|
+
/** the person who added you to group or changed some setting in group */
|
|
51
|
+
author?: string;
|
|
52
|
+
authorPn?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface WAGroupCreateResponse {
|
|
55
|
+
status: number;
|
|
56
|
+
gid?: string;
|
|
57
|
+
participants?: [{
|
|
58
|
+
[key: string]: {};
|
|
59
|
+
}];
|
|
60
|
+
}
|
|
61
|
+
export interface GroupModificationResponse {
|
|
62
|
+
status: number;
|
|
63
|
+
participants?: {
|
|
64
|
+
[key: string]: {};
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=GroupMetadata.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Label {
|
|
2
|
+
/** Label uniq ID */
|
|
3
|
+
id: string;
|
|
4
|
+
/** Label name */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Label color ID */
|
|
7
|
+
color: number;
|
|
8
|
+
/** Is label has been deleted */
|
|
9
|
+
deleted: boolean;
|
|
10
|
+
/** WhatsApp has 5 predefined labels (New customer, New order & etc) */
|
|
11
|
+
predefinedId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface LabelActionBody {
|
|
14
|
+
id: string;
|
|
15
|
+
/** Label name */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** Label color ID */
|
|
18
|
+
color?: number;
|
|
19
|
+
/** Is label has been deleted */
|
|
20
|
+
deleted?: boolean;
|
|
21
|
+
/** WhatsApp has 5 predefined labels (New customer, New order & etc) */
|
|
22
|
+
predefinedId?: number;
|
|
23
|
+
}
|
|
24
|
+
/** WhatsApp has 20 predefined colors */
|
|
25
|
+
export declare enum LabelColor {
|
|
26
|
+
Color1 = 0,
|
|
27
|
+
Color2 = 1,
|
|
28
|
+
Color3 = 2,
|
|
29
|
+
Color4 = 3,
|
|
30
|
+
Color5 = 4,
|
|
31
|
+
Color6 = 5,
|
|
32
|
+
Color7 = 6,
|
|
33
|
+
Color8 = 7,
|
|
34
|
+
Color9 = 8,
|
|
35
|
+
Color10 = 9,
|
|
36
|
+
Color11 = 10,
|
|
37
|
+
Color12 = 11,
|
|
38
|
+
Color13 = 12,
|
|
39
|
+
Color14 = 13,
|
|
40
|
+
Color15 = 14,
|
|
41
|
+
Color16 = 15,
|
|
42
|
+
Color17 = 16,
|
|
43
|
+
Color18 = 17,
|
|
44
|
+
Color19 = 18,
|
|
45
|
+
Color20 = 19
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** WhatsApp has 20 predefined colors */
|
|
2
|
+
export var LabelColor;
|
|
3
|
+
(function (LabelColor) {
|
|
4
|
+
LabelColor[LabelColor["Color1"] = 0] = "Color1";
|
|
5
|
+
LabelColor[LabelColor["Color2"] = 1] = "Color2";
|
|
6
|
+
LabelColor[LabelColor["Color3"] = 2] = "Color3";
|
|
7
|
+
LabelColor[LabelColor["Color4"] = 3] = "Color4";
|
|
8
|
+
LabelColor[LabelColor["Color5"] = 4] = "Color5";
|
|
9
|
+
LabelColor[LabelColor["Color6"] = 5] = "Color6";
|
|
10
|
+
LabelColor[LabelColor["Color7"] = 6] = "Color7";
|
|
11
|
+
LabelColor[LabelColor["Color8"] = 7] = "Color8";
|
|
12
|
+
LabelColor[LabelColor["Color9"] = 8] = "Color9";
|
|
13
|
+
LabelColor[LabelColor["Color10"] = 9] = "Color10";
|
|
14
|
+
LabelColor[LabelColor["Color11"] = 10] = "Color11";
|
|
15
|
+
LabelColor[LabelColor["Color12"] = 11] = "Color12";
|
|
16
|
+
LabelColor[LabelColor["Color13"] = 12] = "Color13";
|
|
17
|
+
LabelColor[LabelColor["Color14"] = 13] = "Color14";
|
|
18
|
+
LabelColor[LabelColor["Color15"] = 14] = "Color15";
|
|
19
|
+
LabelColor[LabelColor["Color16"] = 15] = "Color16";
|
|
20
|
+
LabelColor[LabelColor["Color17"] = 16] = "Color17";
|
|
21
|
+
LabelColor[LabelColor["Color18"] = 17] = "Color18";
|
|
22
|
+
LabelColor[LabelColor["Color19"] = 18] = "Color19";
|
|
23
|
+
LabelColor[LabelColor["Color20"] = 19] = "Color20";
|
|
24
|
+
})(LabelColor || (LabelColor = {}));
|
|
25
|
+
//# sourceMappingURL=Label.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Association type */
|
|
2
|
+
export declare enum LabelAssociationType {
|
|
3
|
+
Chat = "label_jid",
|
|
4
|
+
Message = "label_message"
|
|
5
|
+
}
|
|
6
|
+
export type LabelAssociationTypes = `${LabelAssociationType}`;
|
|
7
|
+
/** Association for chat */
|
|
8
|
+
export interface ChatLabelAssociation {
|
|
9
|
+
type: LabelAssociationType.Chat;
|
|
10
|
+
chatId: string;
|
|
11
|
+
labelId: string;
|
|
12
|
+
}
|
|
13
|
+
/** Association for message */
|
|
14
|
+
export interface MessageLabelAssociation {
|
|
15
|
+
type: LabelAssociationType.Message;
|
|
16
|
+
chatId: string;
|
|
17
|
+
messageId: string;
|
|
18
|
+
labelId: string;
|
|
19
|
+
}
|
|
20
|
+
export type LabelAssociation = ChatLabelAssociation | MessageLabelAssociation;
|
|
21
|
+
/** Body for add/remove chat label association action */
|
|
22
|
+
export interface ChatLabelAssociationActionBody {
|
|
23
|
+
labelId: string;
|
|
24
|
+
}
|
|
25
|
+
/** body for add/remove message label association action */
|
|
26
|
+
export interface MessageLabelAssociationActionBody {
|
|
27
|
+
labelId: string;
|
|
28
|
+
messageId: string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=LabelAssociation.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Association type */
|
|
2
|
+
export var LabelAssociationType;
|
|
3
|
+
(function (LabelAssociationType) {
|
|
4
|
+
LabelAssociationType["Chat"] = "label_jid";
|
|
5
|
+
LabelAssociationType["Message"] = "label_message";
|
|
6
|
+
})(LabelAssociationType || (LabelAssociationType = {}));
|
|
7
|
+
//# sourceMappingURL=LabelAssociation.js.map
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import type { Readable } from 'stream';
|
|
2
|
+
import type { URL } from 'url';
|
|
3
|
+
import { proto } from '../../WAProto/index.js';
|
|
4
|
+
import type { MediaType } from '../Defaults/index.js';
|
|
5
|
+
import type { BinaryNode } from '../WABinary/index.js';
|
|
6
|
+
import type { GroupMetadata } from './GroupMetadata.js';
|
|
7
|
+
import type { CacheStore } from './Socket.js';
|
|
8
|
+
export { proto as WAProto };
|
|
9
|
+
export type WAMessage = proto.IWebMessageInfo & {
|
|
10
|
+
key: WAMessageKey;
|
|
11
|
+
messageStubParameters?: any;
|
|
12
|
+
};
|
|
13
|
+
export type WAMessageContent = proto.IMessage;
|
|
14
|
+
export type WAContactMessage = proto.Message.IContactMessage;
|
|
15
|
+
export type WAContactsArrayMessage = proto.Message.IContactsArrayMessage;
|
|
16
|
+
export type WAMessageKey = proto.IMessageKey & {
|
|
17
|
+
remoteJidAlt?: string;
|
|
18
|
+
participantAlt?: string;
|
|
19
|
+
server_id?: string;
|
|
20
|
+
addressingMode?: string;
|
|
21
|
+
isViewOnce?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type WATextMessage = proto.Message.IExtendedTextMessage;
|
|
24
|
+
export type WAContextInfo = proto.IContextInfo;
|
|
25
|
+
export type WALocationMessage = proto.Message.ILocationMessage;
|
|
26
|
+
export type WAGenericMediaMessage = proto.Message.IVideoMessage | proto.Message.IImageMessage | proto.Message.IAudioMessage | proto.Message.IDocumentMessage | proto.Message.IStickerMessage;
|
|
27
|
+
export declare const WAMessageStubType: typeof proto.WebMessageInfo.StubType;
|
|
28
|
+
export declare const WAMessageStatus: typeof proto.WebMessageInfo.Status;
|
|
29
|
+
import type { ILogger } from '../Utils/logger.js';
|
|
30
|
+
export type WAMediaPayloadURL = {
|
|
31
|
+
url: URL | string;
|
|
32
|
+
};
|
|
33
|
+
export type WAMediaPayloadStream = {
|
|
34
|
+
stream: Readable;
|
|
35
|
+
};
|
|
36
|
+
export type WAMediaUpload = Buffer | WAMediaPayloadStream | WAMediaPayloadURL;
|
|
37
|
+
/** Set of message types that are supported by the library */
|
|
38
|
+
export type MessageType = keyof proto.Message;
|
|
39
|
+
export declare enum WAMessageAddressingMode {
|
|
40
|
+
PN = "pn",
|
|
41
|
+
LID = "lid"
|
|
42
|
+
}
|
|
43
|
+
export type MessageWithContextInfo = 'imageMessage' | 'contactMessage' | 'locationMessage' | 'extendedTextMessage' | 'documentMessage' | 'audioMessage' | 'videoMessage' | 'call' | 'contactsArrayMessage' | 'liveLocationMessage' | 'templateMessage' | 'stickerMessage' | 'groupInviteMessage' | 'templateButtonReplyMessage' | 'productMessage' | 'listMessage' | 'orderMessage' | 'listResponseMessage' | 'buttonsMessage' | 'buttonsResponseMessage' | 'interactiveMessage' | 'interactiveResponseMessage' | 'pollCreationMessage' | 'requestPhoneNumberMessage' | 'messageHistoryBundle' | 'eventMessage' | 'newsletterAdminInviteMessage' | 'albumMessage' | 'stickerPackMessage' | 'pollResultSnapshotMessage' | 'messageHistoryNotice';
|
|
44
|
+
export type DownloadableMessage = {
|
|
45
|
+
mediaKey?: Uint8Array | null;
|
|
46
|
+
directPath?: string | null;
|
|
47
|
+
url?: string | null;
|
|
48
|
+
};
|
|
49
|
+
export type MessageReceiptType = 'read' | 'read-self' | 'hist_sync' | 'peer_msg' | 'sender' | 'inactive' | 'played' | undefined;
|
|
50
|
+
export type MediaConnInfo = {
|
|
51
|
+
auth: string;
|
|
52
|
+
ttl: number;
|
|
53
|
+
hosts: {
|
|
54
|
+
hostname: string;
|
|
55
|
+
maxContentLengthBytes: number;
|
|
56
|
+
}[];
|
|
57
|
+
fetchDate: Date;
|
|
58
|
+
};
|
|
59
|
+
export interface WAUrlInfo {
|
|
60
|
+
'canonical-url': string;
|
|
61
|
+
'matched-text': string;
|
|
62
|
+
title: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
jpegThumbnail?: Buffer;
|
|
65
|
+
highQualityThumbnail?: proto.Message.IImageMessage;
|
|
66
|
+
originalThumbnailUrl?: string;
|
|
67
|
+
}
|
|
68
|
+
type Mentionable = {
|
|
69
|
+
/** list of jids that are mentioned in the accompanying text */
|
|
70
|
+
mentions?: string[];
|
|
71
|
+
};
|
|
72
|
+
type Contextable = {
|
|
73
|
+
/** add contextInfo to the message */
|
|
74
|
+
contextInfo?: proto.IContextInfo;
|
|
75
|
+
};
|
|
76
|
+
type ViewOnce = {
|
|
77
|
+
viewOnce?: boolean;
|
|
78
|
+
};
|
|
79
|
+
type Editable = {
|
|
80
|
+
edit?: WAMessageKey;
|
|
81
|
+
};
|
|
82
|
+
type WithDimensions = {
|
|
83
|
+
width?: number;
|
|
84
|
+
height?: number;
|
|
85
|
+
};
|
|
86
|
+
export type PollMessageOptions = {
|
|
87
|
+
name: string;
|
|
88
|
+
selectableCount?: number;
|
|
89
|
+
values: string[];
|
|
90
|
+
/** 32 byte message secret to encrypt poll selections */
|
|
91
|
+
messageSecret?: Uint8Array;
|
|
92
|
+
toAnnouncementGroup?: boolean;
|
|
93
|
+
};
|
|
94
|
+
export type EventMessageOptions = {
|
|
95
|
+
name: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
startDate: Date;
|
|
98
|
+
endDate?: Date;
|
|
99
|
+
location?: WALocationMessage;
|
|
100
|
+
call?: 'audio' | 'video';
|
|
101
|
+
isCancelled?: boolean;
|
|
102
|
+
isScheduleCall?: boolean;
|
|
103
|
+
extraGuestsAllowed?: boolean;
|
|
104
|
+
messageSecret?: Uint8Array<ArrayBufferLike>;
|
|
105
|
+
};
|
|
106
|
+
type SharePhoneNumber = {
|
|
107
|
+
sharePhoneNumber: boolean;
|
|
108
|
+
};
|
|
109
|
+
type RequestPhoneNumber = {
|
|
110
|
+
requestPhoneNumber: boolean;
|
|
111
|
+
};
|
|
112
|
+
export type AnyMediaMessageContent = (({
|
|
113
|
+
image: WAMediaUpload;
|
|
114
|
+
caption?: string;
|
|
115
|
+
jpegThumbnail?: string;
|
|
116
|
+
} & Mentionable & Contextable & WithDimensions) | ({
|
|
117
|
+
video: WAMediaUpload;
|
|
118
|
+
caption?: string;
|
|
119
|
+
gifPlayback?: boolean;
|
|
120
|
+
jpegThumbnail?: string;
|
|
121
|
+
/** if set to true, will send as a `video note` */
|
|
122
|
+
ptv?: boolean;
|
|
123
|
+
} & Mentionable & Contextable & WithDimensions) | {
|
|
124
|
+
audio: WAMediaUpload;
|
|
125
|
+
/** if set to true, will send as a `voice note` */
|
|
126
|
+
ptt?: boolean;
|
|
127
|
+
/** optionally tell the duration of the audio */
|
|
128
|
+
seconds?: number;
|
|
129
|
+
} | ({
|
|
130
|
+
sticker: WAMediaUpload;
|
|
131
|
+
isAnimated?: boolean;
|
|
132
|
+
} & WithDimensions) | ({
|
|
133
|
+
document: WAMediaUpload;
|
|
134
|
+
mimetype: string;
|
|
135
|
+
fileName?: string;
|
|
136
|
+
caption?: string;
|
|
137
|
+
} & Contextable)) & {
|
|
138
|
+
mimetype?: string;
|
|
139
|
+
} & Editable;
|
|
140
|
+
export type ButtonReplyInfo = {
|
|
141
|
+
displayText: string;
|
|
142
|
+
id: string;
|
|
143
|
+
index: number;
|
|
144
|
+
};
|
|
145
|
+
export type GroupInviteInfo = {
|
|
146
|
+
inviteCode: string;
|
|
147
|
+
inviteExpiration: number;
|
|
148
|
+
text: string;
|
|
149
|
+
jid: string;
|
|
150
|
+
subject: string;
|
|
151
|
+
};
|
|
152
|
+
export type WASendableProduct = Omit<proto.Message.ProductMessage.IProductSnapshot, 'productImage'> & {
|
|
153
|
+
productImage: WAMediaUpload;
|
|
154
|
+
};
|
|
155
|
+
export type AnyRegularMessageContent = (({
|
|
156
|
+
text: string;
|
|
157
|
+
linkPreview?: WAUrlInfo | null;
|
|
158
|
+
} & Mentionable & Contextable & Editable) | AnyMediaMessageContent | {
|
|
159
|
+
event: EventMessageOptions;
|
|
160
|
+
} | ({
|
|
161
|
+
poll: PollMessageOptions;
|
|
162
|
+
} & Mentionable & Contextable & Editable) | {
|
|
163
|
+
contacts: {
|
|
164
|
+
displayName?: string;
|
|
165
|
+
contacts: proto.Message.IContactMessage[];
|
|
166
|
+
};
|
|
167
|
+
} | {
|
|
168
|
+
location: WALocationMessage;
|
|
169
|
+
} | {
|
|
170
|
+
react: proto.Message.IReactionMessage;
|
|
171
|
+
} | {
|
|
172
|
+
buttonReply: ButtonReplyInfo;
|
|
173
|
+
type: 'template' | 'plain';
|
|
174
|
+
} | {
|
|
175
|
+
groupInvite: GroupInviteInfo;
|
|
176
|
+
} | {
|
|
177
|
+
listReply: Omit<proto.Message.IListResponseMessage, 'contextInfo'>;
|
|
178
|
+
} | {
|
|
179
|
+
pin: WAMessageKey;
|
|
180
|
+
type: proto.PinInChat.Type;
|
|
181
|
+
/**
|
|
182
|
+
* 24 hours, 7 days, 30 days
|
|
183
|
+
*/
|
|
184
|
+
time?: 86400 | 604800 | 2592000;
|
|
185
|
+
} | {
|
|
186
|
+
product: WASendableProduct;
|
|
187
|
+
businessOwnerJid?: string;
|
|
188
|
+
body?: string;
|
|
189
|
+
footer?: string;
|
|
190
|
+
} | SharePhoneNumber | RequestPhoneNumber) & ViewOnce;
|
|
191
|
+
export type AnyMessageContent = AnyRegularMessageContent | {
|
|
192
|
+
forward: WAMessage;
|
|
193
|
+
force?: boolean;
|
|
194
|
+
} | {
|
|
195
|
+
/** Delete your message or anyone's message in a group (admin required) */
|
|
196
|
+
delete: WAMessageKey;
|
|
197
|
+
} | {
|
|
198
|
+
disappearingMessagesInChat: boolean | number;
|
|
199
|
+
} | {
|
|
200
|
+
limitSharing: boolean;
|
|
201
|
+
};
|
|
202
|
+
export type GroupMetadataParticipants = Pick<GroupMetadata, 'participants'>;
|
|
203
|
+
type MinimalRelayOptions = {
|
|
204
|
+
/** override the message ID with a custom provided string */
|
|
205
|
+
messageId?: string;
|
|
206
|
+
/** should we use group metadata cache, or fetch afresh from the server; default assumed to be "true" */
|
|
207
|
+
useCachedGroupMetadata?: boolean;
|
|
208
|
+
};
|
|
209
|
+
export type MessageRelayOptions = MinimalRelayOptions & {
|
|
210
|
+
/** only send to a specific participant; used when a message decryption fails for a single user */
|
|
211
|
+
participant?: {
|
|
212
|
+
jid: string;
|
|
213
|
+
count: number;
|
|
214
|
+
};
|
|
215
|
+
/** additional attributes to add to the WA binary node */
|
|
216
|
+
additionalAttributes?: {
|
|
217
|
+
[_: string]: string;
|
|
218
|
+
};
|
|
219
|
+
additionalNodes?: BinaryNode[];
|
|
220
|
+
/** should we use the devices cache, or fetch afresh from the server; default assumed to be "true" */
|
|
221
|
+
useUserDevicesCache?: boolean;
|
|
222
|
+
/** jid list of participants for status@broadcast */
|
|
223
|
+
statusJidList?: string[];
|
|
224
|
+
};
|
|
225
|
+
export type MiscMessageGenerationOptions = MinimalRelayOptions & {
|
|
226
|
+
/** optional, if you want to manually set the timestamp of the message */
|
|
227
|
+
timestamp?: Date;
|
|
228
|
+
/** the message you want to quote */
|
|
229
|
+
quoted?: WAMessage;
|
|
230
|
+
/** disappearing messages settings */
|
|
231
|
+
ephemeralExpiration?: number | string;
|
|
232
|
+
/** timeout for media upload to WA server */
|
|
233
|
+
mediaUploadTimeoutMs?: number;
|
|
234
|
+
/** jid list of participants for status@broadcast */
|
|
235
|
+
statusJidList?: string[];
|
|
236
|
+
/** backgroundcolor for status */
|
|
237
|
+
backgroundColor?: string;
|
|
238
|
+
/** font type for status */
|
|
239
|
+
font?: number;
|
|
240
|
+
/** if it is broadcast */
|
|
241
|
+
broadcast?: boolean;
|
|
242
|
+
};
|
|
243
|
+
export type MessageGenerationOptionsFromContent = MiscMessageGenerationOptions & {
|
|
244
|
+
userJid: string;
|
|
245
|
+
};
|
|
246
|
+
export type WAMediaUploadFunction = (encFilePath: string, opts: {
|
|
247
|
+
fileEncSha256B64: string;
|
|
248
|
+
mediaType: MediaType;
|
|
249
|
+
timeoutMs?: number;
|
|
250
|
+
}) => Promise<{
|
|
251
|
+
mediaUrl: string;
|
|
252
|
+
directPath: string;
|
|
253
|
+
meta_hmac?: string;
|
|
254
|
+
ts?: number;
|
|
255
|
+
fbid?: number;
|
|
256
|
+
}>;
|
|
257
|
+
export type MediaGenerationOptions = {
|
|
258
|
+
logger?: ILogger;
|
|
259
|
+
mediaTypeOverride?: MediaType;
|
|
260
|
+
upload: WAMediaUploadFunction;
|
|
261
|
+
/** cache media so it does not have to be uploaded again */
|
|
262
|
+
mediaCache?: CacheStore;
|
|
263
|
+
mediaUploadTimeoutMs?: number;
|
|
264
|
+
options?: RequestInit;
|
|
265
|
+
backgroundColor?: string;
|
|
266
|
+
font?: number;
|
|
267
|
+
};
|
|
268
|
+
export type MessageContentGenerationOptions = MediaGenerationOptions & {
|
|
269
|
+
getUrlInfo?: (text: string) => Promise<WAUrlInfo | undefined>;
|
|
270
|
+
getProfilePicUrl?: (jid: string, type: 'image' | 'preview') => Promise<string | undefined>;
|
|
271
|
+
getCallLink?: (type: 'audio' | 'video', event?: {
|
|
272
|
+
startTime: number;
|
|
273
|
+
}) => Promise<string | undefined>;
|
|
274
|
+
jid?: string;
|
|
275
|
+
};
|
|
276
|
+
export type MessageGenerationOptions = MessageContentGenerationOptions & MessageGenerationOptionsFromContent;
|
|
277
|
+
/**
|
|
278
|
+
* Type of message upsert
|
|
279
|
+
* 1. notify => notify the user, this message was just received
|
|
280
|
+
* 2. append => append the message to the chat history, no notification required
|
|
281
|
+
*/
|
|
282
|
+
export type MessageUpsertType = 'append' | 'notify';
|
|
283
|
+
export type MessageUserReceipt = proto.IUserReceipt;
|
|
284
|
+
export type WAMessageUpdate = {
|
|
285
|
+
update: Partial<WAMessage>;
|
|
286
|
+
key: WAMessageKey;
|
|
287
|
+
};
|
|
288
|
+
export type WAMessageCursor = {
|
|
289
|
+
before: WAMessageKey | undefined;
|
|
290
|
+
} | {
|
|
291
|
+
after: WAMessageKey | undefined;
|
|
292
|
+
};
|
|
293
|
+
export type MessageUserReceiptUpdate = {
|
|
294
|
+
key: WAMessageKey;
|
|
295
|
+
receipt: MessageUserReceipt;
|
|
296
|
+
};
|
|
297
|
+
export type MediaDecryptionKeyInfo = {
|
|
298
|
+
iv: Buffer;
|
|
299
|
+
cipherKey: Buffer;
|
|
300
|
+
macKey?: Buffer;
|
|
301
|
+
};
|
|
302
|
+
export type MinimalMessage = Pick<WAMessage, 'key' | 'messageTimestamp'>;
|
|
303
|
+
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { proto } from '../../WAProto/index.js';
|
|
2
|
+
// export the WAMessage Prototypes
|
|
3
|
+
export { proto as WAProto };
|
|
4
|
+
export const WAMessageStubType = proto.WebMessageInfo.StubType;
|
|
5
|
+
export const WAMessageStatus = proto.WebMessageInfo.Status;
|
|
6
|
+
export var WAMessageAddressingMode;
|
|
7
|
+
(function (WAMessageAddressingMode) {
|
|
8
|
+
WAMessageAddressingMode["PN"] = "pn";
|
|
9
|
+
WAMessageAddressingMode["LID"] = "lid";
|
|
10
|
+
})(WAMessageAddressingMode || (WAMessageAddressingMode = {}));
|
|
11
|
+
//# sourceMappingURL=Message.js.map
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export declare enum XWAPaths {
|
|
2
|
+
xwa2_newsletter_create = "xwa2_newsletter_create",
|
|
3
|
+
xwa2_newsletter_subscribers = "xwa2_newsletter_subscribers",
|
|
4
|
+
xwa2_newsletter_view = "xwa2_newsletter_view",
|
|
5
|
+
xwa2_newsletter_metadata = "xwa2_newsletter",
|
|
6
|
+
xwa2_newsletter_admin_count = "xwa2_newsletter_admin",
|
|
7
|
+
xwa2_newsletter_mute_v2 = "xwa2_newsletter_mute_v2",
|
|
8
|
+
xwa2_newsletter_unmute_v2 = "xwa2_newsletter_unmute_v2",
|
|
9
|
+
xwa2_newsletter_follow = "xwa2_newsletter_follow",
|
|
10
|
+
xwa2_newsletter_unfollow = "xwa2_newsletter_unfollow",
|
|
11
|
+
xwa2_newsletter_change_owner = "xwa2_newsletter_change_owner",
|
|
12
|
+
xwa2_newsletter_demote = "xwa2_newsletter_demote",
|
|
13
|
+
xwa2_newsletter_delete_v2 = "xwa2_newsletter_delete_v2"
|
|
14
|
+
}
|
|
15
|
+
export declare enum QueryIds {
|
|
16
|
+
CREATE = "8823471724422422",
|
|
17
|
+
UPDATE_METADATA = "24250201037901610",
|
|
18
|
+
METADATA = "6563316087068696",
|
|
19
|
+
SUBSCRIBERS = "9783111038412085",
|
|
20
|
+
FOLLOW = "7871414976211147",
|
|
21
|
+
UNFOLLOW = "7238632346214362",
|
|
22
|
+
MUTE = "29766401636284406",
|
|
23
|
+
UNMUTE = "9864994326891137",
|
|
24
|
+
ADMIN_COUNT = "7130823597031706",
|
|
25
|
+
CHANGE_OWNER = "7341777602580933",
|
|
26
|
+
DEMOTE = "6551828931592903",
|
|
27
|
+
DELETE = "30062808666639665"
|
|
28
|
+
}
|
|
29
|
+
export type NewsletterUpdate = {
|
|
30
|
+
name?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
picture?: string;
|
|
33
|
+
};
|
|
34
|
+
export interface NewsletterCreateResponse {
|
|
35
|
+
id: string;
|
|
36
|
+
state: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
thread_metadata: {
|
|
40
|
+
creation_time: string;
|
|
41
|
+
description: {
|
|
42
|
+
id: string;
|
|
43
|
+
text: string;
|
|
44
|
+
update_time: string;
|
|
45
|
+
};
|
|
46
|
+
handle: string | null;
|
|
47
|
+
invite: string;
|
|
48
|
+
name: {
|
|
49
|
+
id: string;
|
|
50
|
+
text: string;
|
|
51
|
+
update_time: string;
|
|
52
|
+
};
|
|
53
|
+
picture: {
|
|
54
|
+
direct_path: string;
|
|
55
|
+
id: string;
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
preview: {
|
|
59
|
+
direct_path: string;
|
|
60
|
+
id: string;
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
subscribers_count: string;
|
|
64
|
+
verification: 'VERIFIED' | 'UNVERIFIED';
|
|
65
|
+
};
|
|
66
|
+
viewer_metadata: {
|
|
67
|
+
mute: 'ON' | 'OFF';
|
|
68
|
+
role: NewsletterViewRole;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export interface NewsletterCreateResponse {
|
|
72
|
+
id: string;
|
|
73
|
+
state: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
thread_metadata: {
|
|
77
|
+
creation_time: string;
|
|
78
|
+
description: {
|
|
79
|
+
id: string;
|
|
80
|
+
text: string;
|
|
81
|
+
update_time: string;
|
|
82
|
+
};
|
|
83
|
+
handle: string | null;
|
|
84
|
+
invite: string;
|
|
85
|
+
name: {
|
|
86
|
+
id: string;
|
|
87
|
+
text: string;
|
|
88
|
+
update_time: string;
|
|
89
|
+
};
|
|
90
|
+
picture: {
|
|
91
|
+
direct_path: string;
|
|
92
|
+
id: string;
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
preview: {
|
|
96
|
+
direct_path: string;
|
|
97
|
+
id: string;
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
100
|
+
subscribers_count: string;
|
|
101
|
+
verification: 'VERIFIED' | 'UNVERIFIED';
|
|
102
|
+
};
|
|
103
|
+
viewer_metadata: {
|
|
104
|
+
mute: 'ON' | 'OFF';
|
|
105
|
+
role: NewsletterViewRole;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export type NewsletterViewRole = 'ADMIN' | 'GUEST' | 'OWNER' | 'SUBSCRIBER';
|
|
109
|
+
export interface NewsletterMetadata {
|
|
110
|
+
id: string;
|
|
111
|
+
owner?: string;
|
|
112
|
+
name: string;
|
|
113
|
+
description?: string;
|
|
114
|
+
invite?: string;
|
|
115
|
+
creation_time?: number;
|
|
116
|
+
subscribers?: number;
|
|
117
|
+
picture?: {
|
|
118
|
+
url?: string;
|
|
119
|
+
directPath?: string;
|
|
120
|
+
mediaKey?: string;
|
|
121
|
+
id?: string;
|
|
122
|
+
};
|
|
123
|
+
verification?: 'VERIFIED' | 'UNVERIFIED';
|
|
124
|
+
reaction_codes?: {
|
|
125
|
+
code: string;
|
|
126
|
+
count: number;
|
|
127
|
+
}[];
|
|
128
|
+
mute_state?: 'ON' | 'OFF';
|
|
129
|
+
thread_metadata?: {
|
|
130
|
+
creation_time?: number;
|
|
131
|
+
name?: string;
|
|
132
|
+
description?: string;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
//# sourceMappingURL=Newsletter.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export var XWAPaths;
|
|
2
|
+
(function (XWAPaths) {
|
|
3
|
+
XWAPaths["xwa2_newsletter_create"] = "xwa2_newsletter_create";
|
|
4
|
+
XWAPaths["xwa2_newsletter_subscribers"] = "xwa2_newsletter_subscribers";
|
|
5
|
+
XWAPaths["xwa2_newsletter_view"] = "xwa2_newsletter_view";
|
|
6
|
+
XWAPaths["xwa2_newsletter_metadata"] = "xwa2_newsletter";
|
|
7
|
+
XWAPaths["xwa2_newsletter_admin_count"] = "xwa2_newsletter_admin";
|
|
8
|
+
XWAPaths["xwa2_newsletter_mute_v2"] = "xwa2_newsletter_mute_v2";
|
|
9
|
+
XWAPaths["xwa2_newsletter_unmute_v2"] = "xwa2_newsletter_unmute_v2";
|
|
10
|
+
XWAPaths["xwa2_newsletter_follow"] = "xwa2_newsletter_follow";
|
|
11
|
+
XWAPaths["xwa2_newsletter_unfollow"] = "xwa2_newsletter_unfollow";
|
|
12
|
+
XWAPaths["xwa2_newsletter_change_owner"] = "xwa2_newsletter_change_owner";
|
|
13
|
+
XWAPaths["xwa2_newsletter_demote"] = "xwa2_newsletter_demote";
|
|
14
|
+
XWAPaths["xwa2_newsletter_delete_v2"] = "xwa2_newsletter_delete_v2";
|
|
15
|
+
})(XWAPaths || (XWAPaths = {}));
|
|
16
|
+
export var QueryIds;
|
|
17
|
+
(function (QueryIds) {
|
|
18
|
+
QueryIds["CREATE"] = "8823471724422422";
|
|
19
|
+
QueryIds["UPDATE_METADATA"] = "24250201037901610";
|
|
20
|
+
QueryIds["METADATA"] = "6563316087068696";
|
|
21
|
+
QueryIds["SUBSCRIBERS"] = "9783111038412085";
|
|
22
|
+
QueryIds["FOLLOW"] = "7871414976211147";
|
|
23
|
+
QueryIds["UNFOLLOW"] = "7238632346214362";
|
|
24
|
+
QueryIds["MUTE"] = "29766401636284406";
|
|
25
|
+
QueryIds["UNMUTE"] = "9864994326891137";
|
|
26
|
+
QueryIds["ADMIN_COUNT"] = "7130823597031706";
|
|
27
|
+
QueryIds["CHANGE_OWNER"] = "7341777602580933";
|
|
28
|
+
QueryIds["DEMOTE"] = "6551828931592903";
|
|
29
|
+
QueryIds["DELETE"] = "30062808666639665";
|
|
30
|
+
})(QueryIds || (QueryIds = {}));
|
|
31
|
+
//# sourceMappingURL=Newsletter.js.map
|