@wppconnect/wa-js 2.10.0 → 2.11.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 +2 -350
- package/dist/assert/assertProduct.d.ts +22 -0
- package/dist/assert/index.d.ts +1 -0
- package/dist/catalog/functions/addProductImage.d.ts +28 -0
- package/dist/catalog/functions/changeProductImage.d.ts +28 -0
- package/dist/catalog/functions/createCollection.d.ts +26 -0
- package/dist/catalog/functions/createProduct.d.ts +47 -0
- package/dist/catalog/functions/deleteCollection.d.ts +26 -0
- package/dist/catalog/functions/deleteProduct.d.ts +30 -0
- package/dist/catalog/functions/editCollection.d.ts +32 -0
- package/dist/catalog/functions/editProduct.d.ts +36 -0
- package/dist/catalog/functions/getCollections.d.ts +31 -0
- package/dist/catalog/functions/getProductById.d.ts +28 -0
- package/dist/catalog/functions/getProducts.d.ts +27 -0
- package/dist/catalog/functions/index.d.ts +14 -0
- package/dist/catalog/functions/removeProductImage.d.ts +29 -0
- package/dist/catalog/functions/setProductVisibility.d.ts +30 -0
- package/dist/catalog/functions/updateCartEnabled.d.ts +30 -0
- package/dist/chat/functions/canMarkPlayed.d.ts +27 -0
- package/dist/chat/functions/getMessages.d.ts +25 -0
- package/dist/chat/functions/getPlatformFromMessage.d.ts +34 -0
- package/dist/chat/functions/index.d.ts +3 -0
- package/dist/chat/functions/markPlayed.d.ts +27 -0
- package/dist/chat/functions/prepareMessageButtons.d.ts +1 -1
- package/dist/{config.d.ts → config/Config.d.ts} +2 -3
- package/dist/config/defaultConfig.d.ts +17 -0
- package/dist/config/eventTypes.d.ts +25 -0
- package/dist/config/index.d.ts +23 -0
- package/dist/contact/functions/getBusinessProfile.d.ts +27 -0
- package/dist/contact/functions/index.d.ts +1 -0
- package/dist/eventEmitter/eventTypes.d.ts +3 -1
- package/dist/eventEmitter/index.d.ts +41 -41
- package/dist/index.d.ts +1 -1
- package/dist/labels/functions/getLabelById.d.ts +17 -0
- package/dist/labels/functions/index.d.ts +1 -0
- package/dist/profile/functions/editBusinessProfile.d.ts +177 -0
- package/dist/profile/functions/index.d.ts +1 -0
- package/dist/status/functions/index.d.ts +1 -0
- package/dist/status/functions/sendReadStatus.d.ts +25 -0
- package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
- package/dist/whatsapp/contants/DROP_ATTR.d.ts +19 -0
- package/dist/whatsapp/contants/index.d.ts +16 -0
- package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
- package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -0
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -0
- package/dist/whatsapp/functions/blockContact.d.ts +2 -0
- package/dist/whatsapp/functions/calculateFilehashFromBlob.d.ts +19 -0
- package/dist/whatsapp/functions/collections.d.ts +37 -0
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/editBusinessProfile.d.ts +20 -0
- package/dist/whatsapp/functions/encodeMaybeMediaType.d.ts +19 -0
- 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 +1 -0
- package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/groupParticipants.d.ts +4 -0
- package/dist/whatsapp/functions/handleAck.d.ts +6 -0
- package/dist/whatsapp/functions/index.d.ts +6 -0
- package/dist/whatsapp/functions/markSeen.d.ts +9 -3
- package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/msgFindQuery.d.ts +2 -1
- package/dist/whatsapp/functions/productVisibilitySet.d.ts +21 -0
- package/dist/whatsapp/functions/products.d.ts +9 -0
- package/dist/whatsapp/functions/randomHex.d.ts +1 -0
- package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +3 -1
- package/dist/whatsapp/functions/sendClear.d.ts +1 -0
- package/dist/whatsapp/functions/sendDelete.d.ts +1 -0
- package/dist/whatsapp/functions/sendExitGroup.d.ts +1 -0
- package/dist/whatsapp/functions/sendReactionToMsg.d.ts +1 -0
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -0
- package/dist/whatsapp/functions/setArchive.d.ts +1 -0
- package/dist/whatsapp/functions/setPin.d.ts +2 -0
- package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/updateCartEnabled.d.ts +19 -0
- package/dist/whatsapp/index.d.ts +1 -0
- package/dist/whatsapp/misc/ChatPresence.d.ts +1 -0
- package/dist/whatsapp/misc/Locale.d.ts +1 -0
- package/dist/whatsapp/misc/ProductCatalogSession.d.ts +27 -0
- package/dist/whatsapp/misc/index.d.ts +1 -0
- package/dist/whatsapp/models/CatalogModel.d.ts +2 -0
- package/dist/whatsapp/models/ProductCollModel.d.ts +4 -0
- package/dist/whatsapp/models/ProductModel.d.ts +2 -1
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +14 -14
|
@@ -17,178 +17,178 @@ import { EventEmitter } from './eventEmitter';
|
|
|
17
17
|
import { EventTypes } from './eventTypes';
|
|
18
18
|
export * from './eventTypes';
|
|
19
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
20
|
+
export declare const ev: EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
21
21
|
alfa: string;
|
|
22
22
|
beta: (from: number, to: string) => void;
|
|
23
23
|
}>;
|
|
24
24
|
export { EventEmitter };
|
|
25
|
-
export declare const addListener: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
25
|
+
export declare const addListener: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
26
26
|
alfa: string;
|
|
27
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
28
|
+
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
29
29
|
alfa: string;
|
|
30
30
|
beta: (from: number, to: string) => void;
|
|
31
31
|
}> | import("eventemitter2").Listener;
|
|
32
|
-
export declare const emit: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
32
|
+
export declare const emit: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
33
33
|
alfa: string;
|
|
34
34
|
beta: (from: number, to: string) => void;
|
|
35
35
|
})[Name]>) => boolean;
|
|
36
|
-
export declare const emitAsync: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
36
|
+
export declare const emitAsync: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
37
37
|
alfa: string;
|
|
38
38
|
beta: (from: number, to: string) => void;
|
|
39
39
|
})[Name]>) => Promise<any[]>;
|
|
40
|
-
export declare const eventNames: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(nsAsArray?: boolean | undefined) => Name[];
|
|
40
|
+
export declare const eventNames: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(nsAsArray?: boolean | undefined) => Name[];
|
|
41
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 | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => boolean;
|
|
42
|
+
export declare const hasListeners: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => boolean;
|
|
43
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
45
45
|
alfa: string;
|
|
46
46
|
beta: (from: number, to: string) => void;
|
|
47
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
49
49
|
alfa: string;
|
|
50
50
|
beta: (from: number, to: string) => void;
|
|
51
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
52
|
+
(target: import("eventemitter2").GeneralEventEmitter, events: object, options?: import("eventemitter2").ListenToOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
53
53
|
alfa: string;
|
|
54
54
|
beta: (from: number, to: string) => void;
|
|
55
55
|
}>;
|
|
56
56
|
};
|
|
57
|
-
export declare const listenerCount: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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 | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => import("eventemitter2").ListenerFn[];
|
|
57
|
+
export declare const listenerCount: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => number;
|
|
58
|
+
export declare const listeners: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => import("eventemitter2").ListenerFn[];
|
|
59
59
|
export declare const listenersAny: () => import("eventemitter2").ListenerFn[];
|
|
60
60
|
export declare const many: {
|
|
61
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
61
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
62
62
|
alfa: string;
|
|
63
63
|
beta: (from: number, to: string) => void;
|
|
64
64
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
65
65
|
objectify: true;
|
|
66
66
|
}): import("eventemitter2").Listener;
|
|
67
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
67
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
68
68
|
alfa: string;
|
|
69
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
70
|
+
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
71
71
|
alfa: string;
|
|
72
72
|
beta: (from: number, to: string) => void;
|
|
73
73
|
}>;
|
|
74
74
|
};
|
|
75
|
-
export declare const off: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
75
|
+
export declare const off: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
76
76
|
alfa: string;
|
|
77
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
78
|
+
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
79
79
|
alfa: string;
|
|
80
80
|
beta: (from: number, to: string) => void;
|
|
81
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
82
|
+
export declare const offAny: (listener: import("eventemitter2").ListenerFn) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
83
83
|
alfa: string;
|
|
84
84
|
beta: (from: number, to: string) => void;
|
|
85
85
|
}>;
|
|
86
86
|
export declare const on: {
|
|
87
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
87
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
88
88
|
alfa: string;
|
|
89
89
|
beta: (from: number, to: string) => void;
|
|
90
90
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
91
91
|
objectify: true;
|
|
92
92
|
}): import("eventemitter2").Listener;
|
|
93
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
93
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
94
94
|
alfa: string;
|
|
95
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
96
|
+
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
97
97
|
alfa: string;
|
|
98
98
|
beta: (from: number, to: string) => void;
|
|
99
99
|
}>;
|
|
100
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
101
|
+
export declare const onAny: (listener: import("eventemitter2").EventAndListener) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
102
102
|
alfa: string;
|
|
103
103
|
beta: (from: number, to: string) => void;
|
|
104
104
|
}>;
|
|
105
105
|
export declare const once: {
|
|
106
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
106
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
107
107
|
alfa: string;
|
|
108
108
|
beta: (from: number, to: string) => void;
|
|
109
109
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
110
110
|
objectify: true;
|
|
111
111
|
}): import("eventemitter2").Listener;
|
|
112
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
112
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
113
113
|
alfa: string;
|
|
114
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
115
|
+
})[Name_1]>) => void, options?: true | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
116
116
|
alfa: string;
|
|
117
117
|
beta: (from: number, to: string) => void;
|
|
118
118
|
}>;
|
|
119
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
120
|
+
export declare const prependAny: (listener: import("eventemitter2").EventAndListener) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
121
121
|
alfa: string;
|
|
122
122
|
beta: (from: number, to: string) => void;
|
|
123
123
|
}>;
|
|
124
124
|
export declare const prependListener: {
|
|
125
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
125
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
126
126
|
alfa: string;
|
|
127
127
|
beta: (from: number, to: string) => void;
|
|
128
128
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
129
129
|
objectify: true;
|
|
130
130
|
}): import("eventemitter2").Listener;
|
|
131
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
131
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
132
132
|
alfa: string;
|
|
133
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
134
|
+
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
135
135
|
alfa: string;
|
|
136
136
|
beta: (from: number, to: string) => void;
|
|
137
137
|
}>;
|
|
138
138
|
};
|
|
139
139
|
export declare const prependMany: {
|
|
140
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
140
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
141
141
|
alfa: string;
|
|
142
142
|
beta: (from: number, to: string) => void;
|
|
143
143
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
144
144
|
objectify: true;
|
|
145
145
|
}): import("eventemitter2").Listener;
|
|
146
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
146
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
147
147
|
alfa: string;
|
|
148
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
149
|
+
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
150
150
|
alfa: string;
|
|
151
151
|
beta: (from: number, to: string) => void;
|
|
152
152
|
}>;
|
|
153
153
|
};
|
|
154
154
|
export declare const prependOnceListener: {
|
|
155
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
155
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
156
156
|
alfa: string;
|
|
157
157
|
beta: (from: number, to: string) => void;
|
|
158
158
|
})[Name]>) => void, options: import("./eventEmitter").OnOptions & {
|
|
159
159
|
objectify: true;
|
|
160
160
|
}): import("eventemitter2").Listener;
|
|
161
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
161
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
162
162
|
alfa: string;
|
|
163
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
164
|
+
})[Name_1]>) => void, options?: boolean | import("./eventEmitter").OnOptions | undefined): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
165
165
|
alfa: string;
|
|
166
166
|
beta: (from: number, to: string) => void;
|
|
167
167
|
}>;
|
|
168
168
|
};
|
|
169
|
-
export declare const removeAllListeners: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
169
|
+
export declare const removeAllListeners: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event?: Name | undefined) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
170
170
|
alfa: string;
|
|
171
171
|
beta: (from: number, to: string) => void;
|
|
172
172
|
}>;
|
|
173
|
-
export declare const removeListener: <Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
173
|
+
export declare const removeListener: <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
174
174
|
alfa: string;
|
|
175
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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
176
|
+
})[Name]>) => void) => EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
177
177
|
alfa: string;
|
|
178
178
|
beta: (from: number, to: string) => void;
|
|
179
179
|
}>;
|
|
180
180
|
export declare const setMaxListeners: (n: number) => void;
|
|
181
181
|
export declare const stopListeningTo: (target?: import("eventemitter2").GeneralEventEmitter | undefined, event?: string | symbol | import("eventemitter2").event[] | undefined) => boolean;
|
|
182
182
|
export declare const waitFor: {
|
|
183
|
-
<Name extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
183
|
+
<Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
184
184
|
alfa: string;
|
|
185
185
|
beta: (from: number, to: string) => void;
|
|
186
186
|
})[Name]>>;
|
|
187
|
-
<Name_1 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, filter?: import("./eventEmitter").WaitForFilter | undefined): import("eventemitter2").CancelablePromise<import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
187
|
+
<Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name_1, filter?: import("./eventEmitter").WaitForFilter | undefined): import("eventemitter2").CancelablePromise<import("./eventEmitter").ListenerType<(import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
188
188
|
alfa: string;
|
|
189
189
|
beta: (from: number, to: string) => void;
|
|
190
190
|
})[Name_1]>>;
|
|
191
|
-
<Name_2 extends "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
191
|
+
<Name_2 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
|
|
192
192
|
alfa: string;
|
|
193
193
|
beta: (from: number, to: string) => void;
|
|
194
194
|
})[Name_2]>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import './gtag';
|
|
|
19
19
|
import * as webpack from './webpack';
|
|
20
20
|
export { webpack };
|
|
21
21
|
export { isInjected, isReady } from './webpack';
|
|
22
|
-
export { config } from './config';
|
|
22
|
+
export { config, Config } from './config';
|
|
23
23
|
export * as blocklist from './blocklist';
|
|
24
24
|
export * as call from './call';
|
|
25
25
|
export * as catalog from './catalog';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 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 { Label } from '..';
|
|
17
|
+
export declare function getLabelById(labelId: string): Promise<Label>;
|
|
@@ -19,5 +19,6 @@ export { colorIsInLabelPalette } from './colorIsInLabelPalette';
|
|
|
19
19
|
export { deleteAllLabels } from './deleteAllLabels';
|
|
20
20
|
export { deleteLabel, DeleteLabelReturn } from './deleteLabel';
|
|
21
21
|
export { getAllLabels } from './getAllLabels';
|
|
22
|
+
export { getLabelById } from './getLabelById';
|
|
22
23
|
export { getLabelColorPalette } from './getLabelColorPalette';
|
|
23
24
|
export { getNewLabelColor } from './getNewLabelColor';
|
|
@@ -0,0 +1,177 @@
|
|
|
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 { BusinessProfileModel } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Update your business profile
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* await WPP.profile.editBusinessProfile({description: 'New description for profile'});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ```javascript
|
|
26
|
+
* await WPP.profile.editBusinessProfile({categories: {
|
|
27
|
+
id: "133436743388217",
|
|
28
|
+
localized_display_name: "Artes e entretenimento",
|
|
29
|
+
not_a_biz: false,
|
|
30
|
+
}});
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ```javascript
|
|
34
|
+
* await WPP.profile.editBusinessProfile({adress: 'Street 01, New York'});
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ```javascript
|
|
38
|
+
* await WPP.profile.editBusinessProfile({adress: 'Street 01, New York'});
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ```javascript
|
|
42
|
+
* await WPP.profile.editBusinessProfile({email: 'test@test.com.br'});
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* Change website of profile (max 2 sites)
|
|
46
|
+
* ```javascript
|
|
47
|
+
* await WPP.profile.editBusinessProfile({website: [
|
|
48
|
+
"https://www.wppconnect.io",
|
|
49
|
+
"https://www.teste2.com.br",
|
|
50
|
+
]});
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* Change businessHours for Specific Hours
|
|
54
|
+
* ```javascript
|
|
55
|
+
* await WPP.profile.editBusinessProfile({ businessHours: {
|
|
56
|
+
* {
|
|
57
|
+
tue: {
|
|
58
|
+
mode: "specific_hours",
|
|
59
|
+
hours: [
|
|
60
|
+
[
|
|
61
|
+
540,
|
|
62
|
+
1080,
|
|
63
|
+
],
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
wed: {
|
|
67
|
+
mode: "specific_hours",
|
|
68
|
+
hours: [
|
|
69
|
+
[
|
|
70
|
+
540,
|
|
71
|
+
1080,
|
|
72
|
+
],
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
thu: {
|
|
76
|
+
mode: "specific_hours",
|
|
77
|
+
hours: [
|
|
78
|
+
[
|
|
79
|
+
540,
|
|
80
|
+
1080,
|
|
81
|
+
],
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
fri: {
|
|
85
|
+
mode: "specific_hours",
|
|
86
|
+
hours: [
|
|
87
|
+
[
|
|
88
|
+
540,
|
|
89
|
+
1080,
|
|
90
|
+
],
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
sat: {
|
|
94
|
+
mode: "specific_hours",
|
|
95
|
+
hours: [
|
|
96
|
+
[
|
|
97
|
+
540,
|
|
98
|
+
1080,
|
|
99
|
+
],
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
sun: {
|
|
103
|
+
mode: "specific_hours",
|
|
104
|
+
hours: [
|
|
105
|
+
[
|
|
106
|
+
540,
|
|
107
|
+
1080,
|
|
108
|
+
],
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
timezone: "America/Sao_Paulo"
|
|
114
|
+
});
|
|
115
|
+
*
|
|
116
|
+
* Change businessHours for Always Opened
|
|
117
|
+
* ```javascript
|
|
118
|
+
* await WPP.profile.editBusinessProfile({ businessHours: {
|
|
119
|
+
{
|
|
120
|
+
mon: {
|
|
121
|
+
mode: "open_24h",
|
|
122
|
+
},
|
|
123
|
+
tue: {
|
|
124
|
+
mode: "open_24h",
|
|
125
|
+
},
|
|
126
|
+
wed: {
|
|
127
|
+
mode: "open_24h",
|
|
128
|
+
},
|
|
129
|
+
thu: {
|
|
130
|
+
mode: "open_24h",
|
|
131
|
+
},
|
|
132
|
+
fri: {
|
|
133
|
+
mode: "open_24h",
|
|
134
|
+
},
|
|
135
|
+
sat: {
|
|
136
|
+
mode: "open_24h",
|
|
137
|
+
},
|
|
138
|
+
sun: {
|
|
139
|
+
mode: "open_24h",
|
|
140
|
+
},
|
|
141
|
+
}
|
|
142
|
+
timezone: "America/Sao_Paulo"
|
|
143
|
+
});
|
|
144
|
+
*
|
|
145
|
+
* Change businessHours for Appointment Only
|
|
146
|
+
* ```javascript
|
|
147
|
+
* await WPP.profile.editBusinessProfile({ businessHours: { {
|
|
148
|
+
mon: {
|
|
149
|
+
mode: "appointment_only",
|
|
150
|
+
},
|
|
151
|
+
tue: {
|
|
152
|
+
mode: "appointment_only",
|
|
153
|
+
},
|
|
154
|
+
wed: {
|
|
155
|
+
mode: "appointment_only",
|
|
156
|
+
},
|
|
157
|
+
thu: {
|
|
158
|
+
mode: "appointment_only",
|
|
159
|
+
},
|
|
160
|
+
fri: {
|
|
161
|
+
mode: "appointment_only",
|
|
162
|
+
},
|
|
163
|
+
sat: {
|
|
164
|
+
mode: "appointment_only",
|
|
165
|
+
},
|
|
166
|
+
sun: {
|
|
167
|
+
mode: "appointment_only",
|
|
168
|
+
},
|
|
169
|
+
}
|
|
170
|
+
timezone: "America/Sao_Paulo"
|
|
171
|
+
});
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* ```
|
|
175
|
+
* @category Profile
|
|
176
|
+
*/
|
|
177
|
+
export declare function editBusinessProfile(params: BusinessProfileModel): Promise<any>;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
export { editBusinessProfile } from './editBusinessProfile';
|
|
16
17
|
export { getMyStatus } from './getMyStatus';
|
|
17
18
|
export { isBusiness } from './isBusiness';
|
|
18
19
|
export { setMyProfilePicture } from './setMyProfilePicture';
|
|
@@ -17,5 +17,6 @@ export { get } from './get';
|
|
|
17
17
|
export { getMyStatus } from './getMyStatus';
|
|
18
18
|
export { ImageStatusOptions, sendImageStatus } from './sendImageStatus';
|
|
19
19
|
export { sendRawStatus, SendStatusOptions } from './sendRawStatus';
|
|
20
|
+
export { sendReadStatus } from './sendReadStatus';
|
|
20
21
|
export { sendTextStatus, TextStatusOptions } from './sendTextStatus';
|
|
21
22
|
export { sendVideoStatus, VideoStatusOptions } from './sendVideoStatus';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 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 { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Mark status as read/seen
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* WPP.status.sendReadStatus('[phone_number]@c.us', 'false_status@broadcast_3A169E0FD4BC6E92212F_5521526232927@c.us');
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function sendReadStatus(chatId: string | Wid, statusId: string): Promise<any>;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { Wid } from '../misc';
|
|
16
17
|
import { CatalogModel } from '../models';
|
|
17
18
|
import { Collection } from './Collection';
|
|
18
19
|
/** @whatsapp 99989
|
|
@@ -25,9 +26,10 @@ export declare class CatalogCollection extends Collection<CatalogModel> {
|
|
|
25
26
|
findProduct(e?: {
|
|
26
27
|
catalogWid: any;
|
|
27
28
|
productId: any;
|
|
28
|
-
productMsgMediaData
|
|
29
|
+
productMsgMediaData?: any;
|
|
29
30
|
}): any;
|
|
30
31
|
findCarouselCatalog(e?: any): any;
|
|
31
32
|
findNextProductPage(e?: any): any;
|
|
32
33
|
findCollectionMembership(e?: any, t?: any): any;
|
|
34
|
+
_queryCatalog(e?: CatalogModel, t?: Wid, n?: any, r?: any, a?: any, o?: any): any;
|
|
33
35
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* @whatsapp 831914
|
|
18
|
+
*/
|
|
19
|
+
export declare const DROP_ATTR: any;
|