@wppconnect/wa-js 2.7.2 → 2.8.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/CHANGELOG.md +14 -0
- package/dist/config.d.ts +10 -0
- package/dist/contact/functions/getStatus.d.ts +1 -1
- package/dist/eventEmitter/eventEmitter.d.ts +5 -1
- package/dist/group/functions/addParticipants.d.ts +20 -1
- package/dist/group/functions/index.d.ts +1 -0
- package/dist/group/functions/setIcon.d.ts +31 -0
- package/dist/profile/functions/index.d.ts +1 -0
- package/dist/profile/functions/setMyProfilePicture.d.ts +32 -0
- package/dist/status/functions/index.d.ts +2 -0
- package/dist/status/functions/sendImageStatus.d.ts +26 -0
- package/dist/status/functions/sendVideoStatus.d.ts +26 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/{profile/functions/queryExists.d.ts → util/resizeImage.d.ts} +2 -5
- package/dist/whatsapp/collections/AggReactionsCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BaseCollection.d.ts +4 -2
- package/dist/whatsapp/collections/BlocklistCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CallCollection.d.ts +1 -0
- package/dist/whatsapp/collections/CartCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CartItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ChatCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ChatstateCollection.d.ts +3 -1
- package/dist/whatsapp/collections/Collection.d.ts +6 -2
- package/dist/whatsapp/collections/ContactCollection.d.ts +5 -4
- package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +3 -1
- package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LabelCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LabelItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LiveLocationCollection.d.ts +3 -1
- package/dist/whatsapp/collections/MsgCollection.d.ts +3 -1
- package/dist/whatsapp/collections/MsgInfoCollection.d.ts +3 -1
- package/dist/whatsapp/collections/OrderCollection.d.ts +3 -1
- package/dist/whatsapp/collections/OrderItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -0
- package/dist/whatsapp/collections/PresenceCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductCollCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductImageCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +3 -1
- package/dist/whatsapp/collections/QuickReplyCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ReactionsCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ReactionsSendersCollection.d.ts +3 -1
- package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +3 -1
- package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -0
- package/dist/whatsapp/collections/StarredMsgCollection.d.ts +3 -1
- package/dist/whatsapp/collections/StatusV3Collection.d.ts +3 -1
- package/dist/whatsapp/collections/StickerCollection.d.ts +3 -1
- package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -0
- package/dist/whatsapp/collections/StickerSearchCollection.d.ts +3 -1
- package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +3 -1
- package/dist/whatsapp/enums/ACK.d.ts +3 -0
- package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
- package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -0
- package/dist/whatsapp/enums/LogoutReason.d.ts +1 -0
- package/dist/whatsapp/enums/MSG_TYPE.d.ts +2 -0
- package/dist/whatsapp/enums/SendMsgResult.d.ts +3 -1
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +3 -1
- package/dist/whatsapp/functions/blockContact.d.ts +6 -2
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +3 -1
- package/dist/whatsapp/functions/createOrUpdateReactions.d.ts +3 -1
- package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
- package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
- package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/findChat.d.ts +3 -1
- package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -0
- package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/generateVideoThumbsAndDuration.d.ts +2 -1
- package/dist/whatsapp/functions/getFanOutList.d.ts +2 -0
- package/dist/whatsapp/functions/getGroupSenderKeyList.d.ts +6 -0
- package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -0
- package/dist/whatsapp/functions/groupParticipants.d.ts +12 -4
- package/dist/whatsapp/functions/handleAck.d.ts +12 -3
- package/dist/whatsapp/functions/index.d.ts +2 -0
- package/dist/whatsapp/functions/isAuthenticated.d.ts +2 -0
- package/dist/whatsapp/functions/markSeen.d.ts +3 -1
- package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/products.d.ts +12 -4
- package/dist/whatsapp/functions/profilePic.d.ts +7 -1
- package/dist/whatsapp/functions/randomId.d.ts +1 -0
- package/dist/whatsapp/functions/sendClear.d.ts +3 -1
- package/dist/whatsapp/functions/sendDelete.d.ts +3 -1
- package/dist/whatsapp/functions/sendExitGroup.d.ts +3 -1
- package/dist/whatsapp/functions/sendGroupParticipants.d.ts +42 -0
- package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +3 -1
- package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +3 -1
- package/dist/whatsapp/functions/sendReactionToMsg.d.ts +3 -1
- package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +3 -1
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +3 -1
- package/dist/whatsapp/functions/setArchive.d.ts +1 -0
- package/dist/whatsapp/functions/setGroup.d.ts +9 -3
- package/dist/whatsapp/functions/setPin.d.ts +1 -0
- package/dist/whatsapp/functions/status.d.ts +2 -0
- package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +3 -1
- package/dist/whatsapp/functions/updateParticipants.d.ts +27 -0
- package/dist/whatsapp/functions/uploadProductImage.d.ts +3 -1
- package/dist/whatsapp/functions/uploadThumbnail.d.ts +1 -0
- package/dist/whatsapp/misc/Base64.d.ts +3 -1
- package/dist/whatsapp/misc/Browser.d.ts +1 -0
- package/dist/whatsapp/misc/ChatPresence.d.ts +3 -1
- package/dist/whatsapp/misc/Cmd.d.ts +2 -0
- package/dist/whatsapp/misc/Conn.d.ts +3 -1
- package/dist/whatsapp/misc/Constants.d.ts +1 -0
- package/dist/whatsapp/misc/EventEmitter.d.ts +1 -0
- package/dist/whatsapp/misc/Features.d.ts +1 -0
- package/dist/whatsapp/misc/ImageUtils.d.ts +1 -0
- package/dist/whatsapp/misc/Locale.d.ts +1 -0
- package/dist/whatsapp/misc/MediaBlobCache.d.ts +6 -2
- package/dist/whatsapp/misc/MediaEntry.d.ts +2 -1
- package/dist/whatsapp/misc/MediaObject.d.ts +3 -1
- package/dist/whatsapp/misc/MediaObjectUtil.d.ts +3 -1
- package/dist/whatsapp/misc/MediaPrep.d.ts +3 -1
- package/dist/whatsapp/misc/MediaUtils.d.ts +3 -1
- package/dist/whatsapp/misc/MsgKey.d.ts +1 -0
- package/dist/whatsapp/misc/MsgLoadState.d.ts +6 -2
- package/dist/whatsapp/misc/OpaqueData.d.ts +6 -2
- package/dist/whatsapp/misc/Socket.d.ts +3 -1
- package/dist/whatsapp/misc/Stream.d.ts +3 -1
- package/dist/whatsapp/misc/UserPrefs.d.ts +1 -0
- package/dist/whatsapp/misc/VCard.d.ts +1 -0
- package/dist/whatsapp/misc/Wap.d.ts +2 -0
- package/dist/whatsapp/misc/Wid.d.ts +1 -0
- package/dist/whatsapp/misc/WidFactory.d.ts +1 -0
- package/dist/whatsapp/models/AggReactionsModel.d.ts +2 -0
- package/dist/whatsapp/models/AttachMediaModel.d.ts +6 -2
- package/dist/whatsapp/models/BlocklistModel.d.ts +6 -2
- package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +6 -2
- package/dist/whatsapp/models/BusinessProfileModel.d.ts +6 -2
- package/dist/whatsapp/models/CallModel.d.ts +2 -0
- package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -0
- package/dist/whatsapp/models/CartItemModel.d.ts +6 -2
- package/dist/whatsapp/models/CartModel.d.ts +6 -2
- package/dist/whatsapp/models/CatalogModel.d.ts +6 -2
- package/dist/whatsapp/models/ChatPreferenceModel.d.ts +6 -2
- package/dist/whatsapp/models/ChatstateModel.d.ts +6 -2
- package/dist/whatsapp/models/ConnModel.d.ts +6 -2
- package/dist/whatsapp/models/ContactModel.d.ts +6 -2
- package/dist/whatsapp/models/ConversionTupleModel.d.ts +6 -2
- package/dist/whatsapp/models/EmojiVariantModel.d.ts +6 -2
- package/dist/whatsapp/models/GroupMetadataModel.d.ts +6 -2
- package/dist/whatsapp/models/LabelItemModel.d.ts +6 -2
- package/dist/whatsapp/models/LabelModel.d.ts +6 -2
- package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +6 -2
- package/dist/whatsapp/models/MediaDataModel.d.ts +6 -2
- package/dist/whatsapp/models/Model.d.ts +3 -1
- package/dist/whatsapp/models/ModelChatBase.d.ts +3 -1
- package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +6 -2
- package/dist/whatsapp/models/MsgInfoModel.d.ts +6 -2
- package/dist/whatsapp/models/MuteModel.d.ts +6 -2
- package/dist/whatsapp/models/OrderItemModel.d.ts +6 -2
- package/dist/whatsapp/models/OrderModel.d.ts +6 -2
- package/dist/whatsapp/models/ParticipantModel.d.ts +6 -2
- package/dist/whatsapp/models/PresenceModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductCollModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductImageModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductMessageListModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductModel.d.ts +6 -2
- package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +6 -2
- package/dist/whatsapp/models/QuickReplyModel.d.ts +6 -2
- package/dist/whatsapp/models/ReactionsModel.d.ts +2 -0
- package/dist/whatsapp/models/ReactionsSendersModel.d.ts +2 -0
- package/dist/whatsapp/models/RecentStickerModel.d.ts +6 -2
- package/dist/whatsapp/models/ReplyButtonModel.d.ts +6 -2
- package/dist/whatsapp/models/StatusModel.d.ts +6 -2
- package/dist/whatsapp/models/StatusV3Model.d.ts +9 -5
- package/dist/whatsapp/models/StickerModel.d.ts +2 -0
- package/dist/whatsapp/models/StickerPackModel.d.ts +6 -2
- package/dist/whatsapp/models/StreamModel.d.ts +6 -2
- package/dist/whatsapp/models/TemplateButtonModel.d.ts +6 -2
- package/dist/whatsapp/models/UnreadMentionModel.d.ts +6 -2
- package/dist/whatsapp/models/WebCallModel.d.ts +2 -0
- package/dist/whatsapp/multidevice/adv.d.ts +1 -0
- package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -0
- package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -0
- package/dist/whatsapp/stores.d.ts +76 -25
- package/dist/wppconnect-wa.js +1 -1
- package/dist/wppconnect-wa.js.LICENSE.txt +10 -0
- package/package.json +20 -19
- package/dist/eventEmitter/index.d.ts +0 -195
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect/wa-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -39,43 +39,44 @@
|
|
|
39
39
|
"watch": "webpack watch --devtool inline-source-map --mode development"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@commitlint/cli": "^17.0.
|
|
43
|
-
"@commitlint/config-conventional": "^17.0.
|
|
44
|
-
"@commitlint/prompt-cli": "^17.0.
|
|
45
|
-
"@playwright/test": "^1.
|
|
42
|
+
"@commitlint/cli": "^17.0.3",
|
|
43
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
44
|
+
"@commitlint/prompt-cli": "^17.0.3",
|
|
45
|
+
"@playwright/test": "^1.23.1",
|
|
46
46
|
"@types/debug": "^4.1.7",
|
|
47
|
-
"@types/node": "^16.11.
|
|
47
|
+
"@types/node": "^16.11.43",
|
|
48
48
|
"@types/parse-data-url": "^3.0.0",
|
|
49
49
|
"@types/prettier": "^2.6.3",
|
|
50
50
|
"@types/shelljs": "^0.8.11",
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
52
|
-
"@typescript-eslint/parser": "^5.
|
|
53
|
-
"@wppconnect/wa-version": "^1.1.
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^5.30.4",
|
|
52
|
+
"@typescript-eslint/parser": "^5.30.4",
|
|
53
|
+
"@wppconnect/wa-version": "^1.1.100",
|
|
54
54
|
"buffer": "^6.0.3",
|
|
55
|
+
"compressorjs": "^1.1.1",
|
|
55
56
|
"conventional-changelog-cli": "^2.2.2",
|
|
56
57
|
"debug": "^4.3.4",
|
|
57
|
-
"eslint": "^8.
|
|
58
|
+
"eslint": "^8.19.0",
|
|
58
59
|
"eslint-config-prettier": "^8.5.0",
|
|
59
60
|
"eslint-plugin-header": "^3.1.1",
|
|
60
61
|
"eslint-plugin-import": "^2.26.0",
|
|
61
|
-
"eslint-plugin-prettier": "^4.
|
|
62
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
62
63
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
63
|
-
"eventemitter2": "^6.4.
|
|
64
|
+
"eventemitter2": "^6.4.6",
|
|
64
65
|
"file-type": "~16.5.3",
|
|
65
66
|
"husky": "^8.0.1",
|
|
66
67
|
"parse-data-url": "^4.0.1",
|
|
67
|
-
"playwright-chromium": "^1.
|
|
68
|
+
"playwright-chromium": "^1.23.1",
|
|
68
69
|
"prettier": "^2.7.1",
|
|
69
70
|
"pretty-quick": "^3.1.3",
|
|
70
|
-
"release-it": "^15.
|
|
71
|
+
"release-it": "^15.1.1",
|
|
71
72
|
"shx": "^0.3.4",
|
|
72
|
-
"ts-loader": "^9.3.
|
|
73
|
+
"ts-loader": "^9.3.1",
|
|
73
74
|
"ts-morph": "^15.1.0",
|
|
74
|
-
"ts-node": "^10.8.
|
|
75
|
-
"typedoc": "^0.
|
|
75
|
+
"ts-node": "^10.8.2",
|
|
76
|
+
"typedoc": "^0.23.5",
|
|
76
77
|
"typedoc-plugin-mdn-links": "^1.0.6",
|
|
77
|
-
"typedoc-plugin-missing-exports": "^0.
|
|
78
|
-
"typescript": "^4.7.
|
|
78
|
+
"typedoc-plugin-missing-exports": "^0.23.0",
|
|
79
|
+
"typescript": "^4.7.4",
|
|
79
80
|
"typescript-debounce-decorator": "^0.0.18",
|
|
80
81
|
"webpack": "^5.73.0",
|
|
81
82
|
"webpack-cli": "^4.10.0"
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright 2021 WPPConnect Team
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { EventEmitter } from './eventEmitter';
|
|
17
|
-
import { EventTypes } from './eventTypes';
|
|
18
|
-
export * from './eventTypes';
|
|
19
|
-
export declare const internalEv: EventEmitter<EventTypes>;
|
|
20
|
-
export declare const ev: EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
21
|
-
alfa: string;
|
|
22
|
-
beta: (from: number, to: string) => void;
|
|
23
|
-
}>;
|
|
24
|
-
export { EventEmitter };
|
|
25
|
-
export declare const addListener: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
26
|
-
alfa: string;
|
|
27
|
-
beta: (from: number, to: string) => void;
|
|
28
|
-
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
29
|
-
alfa: string;
|
|
30
|
-
beta: (from: number, to: string) => void;
|
|
31
|
-
}> | import("eventemitter2").Listener;
|
|
32
|
-
export declare const emit: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, ...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
33
|
-
alfa: string;
|
|
34
|
-
beta: (from: number, to: string) => void;
|
|
35
|
-
})[Name]>) => boolean;
|
|
36
|
-
export declare const emitAsync: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, ...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
37
|
-
alfa: string;
|
|
38
|
-
beta: (from: number, to: string) => void;
|
|
39
|
-
})[Name]>) => Promise<any[]>;
|
|
40
|
-
export declare const eventNames: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(nsAsArray?: boolean | undefined) => Name[];
|
|
41
|
-
export declare const getMaxListeners: () => number;
|
|
42
|
-
export declare const hasListeners: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => boolean;
|
|
43
|
-
export declare const listenTo: {
|
|
44
|
-
(target: import("eventemitter2").GeneralEventEmitter, events: string | symbol | import("eventemitter2").event[], options?: import("eventemitter2").ListenToOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
45
|
-
alfa: string;
|
|
46
|
-
beta: (from: number, to: string) => void;
|
|
47
|
-
}>;
|
|
48
|
-
(target: import("eventemitter2").GeneralEventEmitter, events: import("eventemitter2").event[], options?: import("eventemitter2").ListenToOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
49
|
-
alfa: string;
|
|
50
|
-
beta: (from: number, to: string) => void;
|
|
51
|
-
}>;
|
|
52
|
-
(target: import("eventemitter2").GeneralEventEmitter, events: object, options?: import("eventemitter2").ListenToOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
53
|
-
alfa: string;
|
|
54
|
-
beta: (from: number, to: string) => void;
|
|
55
|
-
}>;
|
|
56
|
-
};
|
|
57
|
-
export declare const listenerCount: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => number;
|
|
58
|
-
export declare const listeners: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => import("eventemitter2").ListenerFn[];
|
|
59
|
-
export declare const listenersAny: () => import("eventemitter2").ListenerFn[];
|
|
60
|
-
export declare const many: {
|
|
61
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, timesToListen: number, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
62
|
-
alfa: string;
|
|
63
|
-
beta: (from: number, to: string) => void;
|
|
64
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
65
|
-
objectify: true;
|
|
66
|
-
}): import("eventemitter2").Listener;
|
|
67
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, timesToListen: number, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
68
|
-
alfa: string;
|
|
69
|
-
beta: (from: number, to: string) => void;
|
|
70
|
-
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
71
|
-
alfa: string;
|
|
72
|
-
beta: (from: number, to: string) => void;
|
|
73
|
-
}>;
|
|
74
|
-
};
|
|
75
|
-
export declare const off: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
76
|
-
alfa: string;
|
|
77
|
-
beta: (from: number, to: string) => void;
|
|
78
|
-
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
79
|
-
alfa: string;
|
|
80
|
-
beta: (from: number, to: string) => void;
|
|
81
|
-
}>;
|
|
82
|
-
export declare const offAny: (listener: import("eventemitter2").ListenerFn) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
83
|
-
alfa: string;
|
|
84
|
-
beta: (from: number, to: string) => void;
|
|
85
|
-
}>;
|
|
86
|
-
export declare const on: {
|
|
87
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
88
|
-
alfa: string;
|
|
89
|
-
beta: (from: number, to: string) => void;
|
|
90
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
91
|
-
objectify: true;
|
|
92
|
-
}): import("eventemitter2").Listener;
|
|
93
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
94
|
-
alfa: string;
|
|
95
|
-
beta: (from: number, to: string) => void;
|
|
96
|
-
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
97
|
-
alfa: string;
|
|
98
|
-
beta: (from: number, to: string) => void;
|
|
99
|
-
}>;
|
|
100
|
-
};
|
|
101
|
-
export declare const onAny: (listener: import("eventemitter2").EventAndListener) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
102
|
-
alfa: string;
|
|
103
|
-
beta: (from: number, to: string) => void;
|
|
104
|
-
}>;
|
|
105
|
-
export declare const once: {
|
|
106
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
107
|
-
alfa: string;
|
|
108
|
-
beta: (from: number, to: string) => void;
|
|
109
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
110
|
-
objectify: true;
|
|
111
|
-
}): import("eventemitter2").Listener;
|
|
112
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
113
|
-
alfa: string;
|
|
114
|
-
beta: (from: number, to: string) => void;
|
|
115
|
-
})[Name_1]>) => void, options?: true | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
116
|
-
alfa: string;
|
|
117
|
-
beta: (from: number, to: string) => void;
|
|
118
|
-
}>;
|
|
119
|
-
};
|
|
120
|
-
export declare const prependAny: (listener: import("eventemitter2").EventAndListener) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
121
|
-
alfa: string;
|
|
122
|
-
beta: (from: number, to: string) => void;
|
|
123
|
-
}>;
|
|
124
|
-
export declare const prependListener: {
|
|
125
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
126
|
-
alfa: string;
|
|
127
|
-
beta: (from: number, to: string) => void;
|
|
128
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
129
|
-
objectify: true;
|
|
130
|
-
}): import("eventemitter2").Listener;
|
|
131
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
132
|
-
alfa: string;
|
|
133
|
-
beta: (from: number, to: string) => void;
|
|
134
|
-
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
135
|
-
alfa: string;
|
|
136
|
-
beta: (from: number, to: string) => void;
|
|
137
|
-
}>;
|
|
138
|
-
};
|
|
139
|
-
export declare const prependMany: {
|
|
140
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, timesToListen: number, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
141
|
-
alfa: string;
|
|
142
|
-
beta: (from: number, to: string) => void;
|
|
143
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
144
|
-
objectify: true;
|
|
145
|
-
}): import("eventemitter2").Listener;
|
|
146
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, timesToListen: number, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
147
|
-
alfa: string;
|
|
148
|
-
beta: (from: number, to: string) => void;
|
|
149
|
-
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
150
|
-
alfa: string;
|
|
151
|
-
beta: (from: number, to: string) => void;
|
|
152
|
-
}>;
|
|
153
|
-
};
|
|
154
|
-
export declare const prependOnceListener: {
|
|
155
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
156
|
-
alfa: string;
|
|
157
|
-
beta: (from: number, to: string) => void;
|
|
158
|
-
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
159
|
-
objectify: true;
|
|
160
|
-
}): import("eventemitter2").Listener;
|
|
161
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
162
|
-
alfa: string;
|
|
163
|
-
beta: (from: number, to: string) => void;
|
|
164
|
-
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
165
|
-
alfa: string;
|
|
166
|
-
beta: (from: number, to: string) => void;
|
|
167
|
-
}>;
|
|
168
|
-
};
|
|
169
|
-
export declare const removeAllListeners: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
170
|
-
alfa: string;
|
|
171
|
-
beta: (from: number, to: string) => void;
|
|
172
|
-
}>;
|
|
173
|
-
export declare const removeListener: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, listener: (...args: import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
174
|
-
alfa: string;
|
|
175
|
-
beta: (from: number, to: string) => void;
|
|
176
|
-
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
177
|
-
alfa: string;
|
|
178
|
-
beta: (from: number, to: string) => void;
|
|
179
|
-
}>;
|
|
180
|
-
export declare const setMaxListeners: (n: number) => void;
|
|
181
|
-
export declare const stopListeningTo: (target?: import("eventemitter2").GeneralEventEmitter | undefined, event?: string | symbol | import("eventemitter2").event[] | undefined) => boolean;
|
|
182
|
-
export declare const waitFor: {
|
|
183
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, timeout?: number | undefined): import("eventemitter2").CancelablePromise<import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
184
|
-
alfa: string;
|
|
185
|
-
beta: (from: number, to: string) => void;
|
|
186
|
-
})[Name]>>;
|
|
187
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, filter?: import("eventemitter2").WaitForFilter | undefined): import("eventemitter2").CancelablePromise<import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
188
|
-
alfa: string;
|
|
189
|
-
beta: (from: number, to: string) => void;
|
|
190
|
-
})[Name_1]>>;
|
|
191
|
-
<Name_2 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_2, options?: import("eventemitter2").WaitForOptions | undefined): import("eventemitter2").CancelablePromise<import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
192
|
-
alfa: string;
|
|
193
|
-
beta: (from: number, to: string) => void;
|
|
194
|
-
})[Name_2]>>;
|
|
195
|
-
};
|