talkyzap-wapp-api 1.0.6 → 1.0.8

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +1 -6
  2. package/README.md +4 -4
  3. package/dist/assert/assertColor.d.ts +4 -4
  4. package/dist/chat/functions/buttonsParser.d.ts +24 -0
  5. package/dist/chat/functions/getNotes.d.ts +26 -0
  6. package/dist/chat/functions/index.d.ts +3 -0
  7. package/dist/chat/functions/sendEventMessage.d.ts +64 -0
  8. package/dist/chat/functions/sendFileMessage.d.ts +2 -1
  9. package/dist/chat/functions/sendScheduledCallMessage.d.ts +5 -8
  10. package/dist/chat/functions/setNotes.d.ts +26 -0
  11. package/dist/community/functions/getAnnouncementGroup.d.ts +28 -0
  12. package/dist/community/functions/getSubgroups.d.ts +28 -0
  13. package/dist/community/functions/index.d.ts +2 -0
  14. package/dist/contact/functions/getProfilePictureUrl.d.ts +1 -1
  15. package/dist/contact/functions/getStatus.d.ts +1 -1
  16. package/dist/contact/functions/index.d.ts +2 -0
  17. package/dist/contact/functions/queryExists.d.ts +1 -1
  18. package/dist/contact/functions/subscribePresence.d.ts +27 -0
  19. package/dist/contact/functions/unsubscribePresence.d.ts +27 -0
  20. package/dist/eventEmitter/index.d.ts +22 -22
  21. package/dist/group/functions/getGroupInfoFromInviteCode.d.ts +1 -1
  22. package/dist/profile/functions/getMyProfilePicture.d.ts +27 -0
  23. package/dist/profile/functions/index.d.ts +1 -0
  24. package/dist/whatsapp/collections/BotProfileCollection.d.ts +26 -0
  25. package/dist/whatsapp/collections/NoteCollection.d.ts +26 -0
  26. package/dist/whatsapp/collections/index.d.ts +2 -0
  27. package/dist/whatsapp/functions/addOrEditNoteAction.d.ts +27 -0
  28. package/dist/whatsapp/functions/createEventCallLink.d.ts +18 -0
  29. package/dist/whatsapp/functions/findOrCreateLatestChat.d.ts +20 -0
  30. package/dist/whatsapp/functions/genBotMsgSecretFromMsgSecret.d.ts +19 -0
  31. package/dist/whatsapp/functions/getShouldAppearInList.d.ts +24 -0
  32. package/dist/whatsapp/functions/index.d.ts +6 -0
  33. package/dist/whatsapp/functions/removeStatusMessage.d.ts +19 -0
  34. package/dist/whatsapp/functions/subscribePresence.d.ts +20 -0
  35. package/dist/whatsapp/misc/Wid.d.ts +1 -0
  36. package/dist/whatsapp/models/BotProfileModel.d.ts +51 -0
  37. package/dist/whatsapp/models/ChatModel.d.ts +29 -0
  38. package/dist/whatsapp/models/NoteModel.d.ts +40 -0
  39. package/dist/whatsapp/models/index.d.ts +2 -0
  40. package/dist/whatsapp/stores.d.ts +4 -0
  41. package/dist/wppconnect-wa.js +1 -1
  42. package/dist/wppconnect-wa.js.LICENSE.txt +1 -1
  43. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,9 +1,4 @@
1
- ## 3.10.1 (2024-09-09)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * Fixed buttons for non beta user ([fbbf094](https://github.com/wppconnect-team/wa-js/commit/fbbf0948c93cb9ec19ac8a1c85f24c44d94824a5))
1
+ ## 3.14.2 (2024-11-14)
7
2
 
8
3
 
9
4
 
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@wppconnect/wa-js.svg?color=green)](https://www.npmjs.com/package/@wppconnect/wa-js)
4
4
  [![Downloads](https://img.shields.io/npm/dm/@wppconnect/wa-js.svg)](https://www.npmjs.com/package/@wppconnect/wa-js)
5
- [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wppconnect-team/wa-js.svg)](https://isitmaintained.com/project/wppconnect/wa-js 'Average time to resolve an issue')
6
- [![Percentage of issues still open](https://isitmaintained.com/badge/open/wppconnect-team/wa-js.svg)](https://isitmaintained.com/project/wppconnect/wa-js 'Percentage of issues still open')
5
+ [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wppconnect-team/wa-js.svg)](https://isitmaintained.com/project/wppconnect-team/wa-js 'Average time to resolve an issue')
6
+ [![Percentage of issues still open](https://isitmaintained.com/badge/open/wppconnect-team/wa-js.svg)](https://isitmaintained.com/project/wppconnect-team/wa-js 'Percentage of issues still open')
7
7
 
8
8
  [![Build Status](https://img.shields.io/github/actions/workflow/status/wppconnect-team/wa-js/build.yml?branch=main)](https://github.com/wppconnect-team/wa-js/actions/workflows/build.yml)
9
9
  [![Build Status](https://img.shields.io/github/actions/workflow/status/wppconnect-team/wa-js/test.yml?branch=main)](https://github.com/wppconnect-team/wa-js/actions/workflows/test.yml)
@@ -15,9 +15,9 @@
15
15
  ## Our online channels
16
16
 
17
17
  [![Discord](https://img.shields.io/discord/844351092758413353?color=blueviolet&label=Discord&logo=discord&style=flat)](https://discord.gg/JU5JGGKGNG)
18
- [![Telegram Group](https://img.shields.io/badge/Telegram-Group-32AFED?logo=telegram)](https://t.me/wppconnect)
19
- [![WhatsApp Group](https://img.shields.io/badge/WhatsApp-Group-25D366?logo=whatsapp)](https://chat.whatsapp.com/LJaQu6ZyNvnBPNAVRbX00K)
20
18
  [![YouTube](https://img.shields.io/youtube/channel/subscribers/UCD7J9LG08PmGQrF5IS7Yv9A?label=YouTube)](https://www.youtube.com/c/wppconnect)
19
+ [![WhatsApp Group](https://img.shields.io/badge/WhatsApp-Group-25D366?logo=whatsapp)](https://chat.whatsapp.com/LJaQu6ZyNvnBPNAVRbX00K)
20
+ [![Telegram Group](https://img.shields.io/badge/Telegram-Group-32AFED?logo=telegram)](https://t.me/wppconnect)
21
21
 
22
22
 
23
23
  ### Top Contributors (last 45 days) widget
@@ -15,12 +15,12 @@
15
15
  */
16
16
  import { WPPError } from '../util';
17
17
  export declare class InvalidColor extends WPPError {
18
- readonly color?: string | number | {
18
+ readonly color?: (string | number | {
19
19
  _serialized: string;
20
- } | undefined;
21
- constructor(color?: string | number | {
20
+ }) | undefined;
21
+ constructor(color?: (string | number | {
22
22
  _serialized: string;
23
- } | undefined);
23
+ }) | undefined);
24
24
  }
25
25
  /**
26
26
  * Return the color in positive decimal
@@ -0,0 +1,24 @@
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 { MsgModel, websocket, Wid } from '../../whatsapp';
17
+ export declare function encryptAndParserMsgButtons<TFunc extends (...args: any[]) => any>(message: {
18
+ type: string;
19
+ data: MsgModel;
20
+ }, proto: {
21
+ [key: string]: any;
22
+ }, devices: Wid[], options: {
23
+ [key: string]: any;
24
+ }, reporter: any, groupData: any, func: TFunc): Promise<websocket.WapNode>;
@@ -0,0 +1,26 @@
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 { NoteModel, Wid } from '../../whatsapp';
17
+ /**
18
+ * Get notes from a contact
19
+ * Only when are connected with business device
20
+ * @example
21
+ * ```javascript
22
+ * WPP.chat.getNotes('[number]@c.us', 'Text for your notes');
23
+ * ```
24
+ * @category Chat
25
+ */
26
+ export declare function getNotes(chatId: string | Wid): Promise<NoteModel | null>;
@@ -32,6 +32,7 @@ export { getLastSeen } from './getLastSeen';
32
32
  export { getMessageACK } from './getMessageACK';
33
33
  export { getMessageById } from './getMessageById';
34
34
  export { getMessages, GetMessagesOptions } from './getMessages';
35
+ export { getNotes } from './getNotes';
35
36
  export { getPlatformFromMessage } from './getPlatformFromMessage';
36
37
  export { getQuotedMsg } from './getQuotedMsg';
37
38
  export { getQuotedMsgKey } from './getQuotedMsgKey';
@@ -57,6 +58,7 @@ export { prepareRawMessage } from './prepareRawMessage';
57
58
  export { requestPhoneNumber } from './requestPhoneNumber';
58
59
  export { OrderItems, OrderMessageOptions, sendChargeMessage, } from './sendChargeMessage';
59
60
  export { PoolMessageOptions, sendCreatePollMessage, } from './sendCreatePollMessage';
61
+ export { sendEventMessage } from './sendEventMessage';
60
62
  export { AudioMessageOptions, AutoDetectMessageOptions, DocumentMessageOptions, FileMessageOptions, ImageMessageOptions, sendFileMessage, StickerMessageOptions, VideoMessageOptions, } from './sendFileMessage';
61
63
  export { GroupInviteMessage, sendGroupInviteMessage, } from './sendGroupInviteMessage';
62
64
  export { ListMessageOptions, sendListMessage } from './sendListMessage';
@@ -68,5 +70,6 @@ export { ScheduledCallMessageOptions, sendScheduledCallMessage, } from './sendSc
68
70
  export { sendTextMessage, TextMessageOptions } from './sendTextMessage';
69
71
  export { sendVCardContactMessage, VCardContact, } from './sendVCardContactMessage';
70
72
  export { setInputText } from './setInputText';
73
+ export { setNotes } from './setNotes';
71
74
  export { starMessage, StarMessageReturn } from './starMessage';
72
75
  export { unmute } from './unmute';
@@ -0,0 +1,64 @@
1
+ /*!
2
+ * Copyright 2024 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 { SendMessageOptions, SendMessageReturn } from '..';
17
+ export interface EventMessageOptions extends SendMessageOptions {
18
+ callType?: 'video' | 'voice';
19
+ name: string;
20
+ description?: string;
21
+ startTime: number;
22
+ endTime?: number;
23
+ location?: {
24
+ degreesLatitude: number;
25
+ degreesLongitude: number;
26
+ name: string;
27
+ };
28
+ }
29
+ /**
30
+ * Send a Event Message
31
+ *
32
+ * @example
33
+ * ```javascript
34
+ * // Simple com start time and end
35
+ * WPP.chat.sendEventMessage('[number]@c.us', {
36
+ * name: "Title of event"
37
+ * description: 'Description of your event',
38
+ * startTime: 1729551600
39
+ * endTime: 1729551900
40
+ * });
41
+ *
42
+ * // Event with location
43
+ * WPP.chat.sendEventMessage('[number]@c.us', {
44
+ * name: "Title of event"
45
+ * description: 'Description of your event',
46
+ * startTime: 1729551600
47
+ * location: {
48
+ * degreesLatitude: -22.9518551,
49
+ * degreesLongitude: -43.2108338,
50
+ * name: 'Cristo Redentor - RJ',
51
+ * }
52
+ * });
53
+ *
54
+ * // Event with link for call (use voice or video)
55
+ * WPP.chat.sendEventMessage('[number]@c.us', {
56
+ * name: "Title of event"
57
+ * callType: 'voice',
58
+ * description: 'Description of your event',
59
+ * startTime: 1729551600
60
+ * });
61
+ * ```
62
+ * @category Message
63
+ */
64
+ export declare function sendEventMessage(chatId: any, options: EventMessageOptions): Promise<SendMessageReturn>;
@@ -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 '../../whatsapp';
16
17
  import { SendMessageOptions, SendMessageReturn } from '..';
17
18
  import { MessageButtonsOptions } from '.';
18
19
  export interface FileMessageOptions extends SendMessageOptions {
@@ -180,4 +181,4 @@ export interface VideoMessageOptions extends FileMessageOptions, MessageButtonsO
180
181
  * @category Message
181
182
  * @return {SendMessageReturn} The result
182
183
  */
183
- export declare function sendFileMessage(chatId: any, content: string | Blob | File, options: AutoDetectMessageOptions | AudioMessageOptions | DocumentMessageOptions | ImageMessageOptions | VideoMessageOptions | StickerMessageOptions): Promise<SendMessageReturn>;
184
+ export declare function sendFileMessage(chatId: string | Wid, content: string | Blob | File, options: AutoDetectMessageOptions | AudioMessageOptions | DocumentMessageOptions | ImageMessageOptions | VideoMessageOptions | StickerMessageOptions): Promise<SendMessageReturn>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright 2021 WPPConnect Team
2
+ * Copyright 2024 WPPConnect Team
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -14,15 +14,11 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { SendMessageOptions, SendMessageReturn } from '..';
17
- export declare enum SCHEDULED_CALL_TYPE {
18
- UNKNOWN = 0,
19
- VOICE = 1,
20
- VIDEO = 2
21
- }
22
17
  export interface ScheduledCallMessageOptions extends SendMessageOptions {
23
18
  scheduledTimestampMs: number | string;
24
- callType: 'video' | 'voice' | SCHEDULED_CALL_TYPE;
19
+ callType: 'video' | 'voice';
25
20
  title: string;
21
+ description?: string;
26
22
  }
27
23
  /**
28
24
  * Send a scheduled call message
@@ -30,7 +26,8 @@ export interface ScheduledCallMessageOptions extends SendMessageOptions {
30
26
  * @example
31
27
  * ```javascript
32
28
  * WPP.chat.sendScheduledCallMessage('[number]@c.us', {
33
- * title: "Title of event"
29
+ * title: "Title of event call"
30
+ * description: 'Description for Call",
34
31
  * callType: 'voice'
35
32
  * scheduledTimestampMs: 1696084222000
36
33
  * });
@@ -0,0 +1,26 @@
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 { NoteModel, Wid } from '../../whatsapp';
17
+ /**
18
+ * Set notes for a contact
19
+ * Only when are connected with business device
20
+ * @example
21
+ * ```javascript
22
+ * WPP.chat.setNotes('[number]@c.us', 'Text for your notes');
23
+ * ```
24
+ * @category Chat
25
+ */
26
+ export declare function setNotes(chatId: string | Wid, content: string): Promise<NoteModel | null>;
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * Copyright 2024 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
+ * Get the default announcement group of a community
19
+ * You can pass any group id inside a community
20
+ *
21
+ * @example
22
+ * ```javascript
23
+ * WPP.community.getAnnouncementGroup('123456@g.us');
24
+ * ```
25
+ *
26
+ * @category Community
27
+ */
28
+ export declare function getAnnouncementGroup(communityId: string | Wid): Wid | undefined;
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * Copyright 2024 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
+ * Get all subgroups of a community
19
+ * You can pass id of group community, or id of a inside a grupo
20
+ *
21
+ * @example
22
+ * ```javascript
23
+ * await WPP.community.getSubgroups('123456@g.us');
24
+ * ```
25
+ *
26
+ * @category Community
27
+ */
28
+ export declare function getSubgroups(communityId: string | Wid): Wid[];
@@ -17,6 +17,8 @@ export { addSubgroups } from './addSubgroups';
17
17
  export { create } from './create';
18
18
  export { deactivate } from './deactivate';
19
19
  export { demoteParticipants } from './demoteParticipants';
20
+ export { getAnnouncementGroup } from './getAnnouncementGroup';
20
21
  export { getParticipants } from './getParticipants';
22
+ export { getSubgroups } from './getSubgroups';
21
23
  export { promoteParticipants } from './promoteParticipants';
22
24
  export { removeSubgroups } from './removeSubgroups';
@@ -22,6 +22,6 @@ import { Wid } from '../../whatsapp';
22
22
  * const url = await WPP.contact.getProfilePictureUrl('[number]@c.us');
23
23
  * ```
24
24
  *
25
- * @category Chat
25
+ * @category Contact
26
26
  */
27
27
  export declare function getProfilePictureUrl(contactId: string | Wid, full?: boolean): Promise<string | null | undefined>;
@@ -22,6 +22,6 @@ import { Wid } from '../../whatsapp';
22
22
  * await WPP.contact.getStatus('[number]@c.us');
23
23
  * ```
24
24
  *
25
- * @category Chat
25
+ * @category Contact
26
26
  */
27
27
  export declare function getStatus(contactId: string | Wid): Promise<string | null>;
@@ -20,3 +20,5 @@ export { getProfilePictureUrl } from './getProfilePictureUrl';
20
20
  export { getStatus } from './getStatus';
21
21
  export { ContactListOptions, list } from './list';
22
22
  export { queryExists } from './queryExists';
23
+ export { subscribePresence } from './subscribePresence';
24
+ export { unsubscribePresence } from './unsubscribePresence';
@@ -43,6 +43,6 @@ export interface QueryExistsResult {
43
43
  * console.log(result.wid); // Correct ID
44
44
  * ```
45
45
  *
46
- * @category Chat
46
+ * @category Contact
47
47
  */
48
48
  export declare function queryExists(contactId: string | Wid): Promise<QueryExistsResult | null>;
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright 2024 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
+ * Subscribe presente from a contact
19
+ *
20
+ * @example
21
+ * ```javascript
22
+ * await WPP.contact.subscribePresence('[number]@c.us');
23
+ * ```
24
+ *
25
+ * @category Contact
26
+ */
27
+ export declare function subscribePresence(ids: string | string[]): Promise<Wid[]>;
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright 2024 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
+ * Unsubscribe presence of a contact
19
+ *
20
+ * @example
21
+ * ```javascript
22
+ * await WPP.contact.unsubscribePresence('[number]@c.us');
23
+ * ```
24
+ *
25
+ * @category Contact
26
+ */
27
+ export declare function unsubscribePresence(ids: string | string[]): Promise<Wid[]>;
@@ -37,19 +37,19 @@ export declare const emitAsync: <Name extends "config.update" | "blocklist.sync"
37
37
  alfa: string;
38
38
  beta: (from: number, to: string) => void;
39
39
  })[Name]>) => Promise<any[]>;
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" | "order.payment_status" | "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" | "order.payment_status" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(nsAsArray?: boolean) => Name[];
41
41
  export declare const getMaxListeners: () => number;
42
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" | "order.payment_status" | "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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
44
+ (target: import("eventemitter2").GeneralEventEmitter, events: import("eventemitter2").event | import("eventemitter2").eventNS, options?: import("eventemitter2").ListenToOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
48
+ (target: import("eventemitter2").GeneralEventEmitter, events: import("eventemitter2").event[], options?: import("eventemitter2").ListenToOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
52
+ (target: import("eventemitter2").GeneralEventEmitter, events: object, options?: import("eventemitter2").ListenToOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
53
53
  alfa: string;
54
54
  beta: (from: number, to: string) => void;
55
55
  }>;
@@ -64,10 +64,10 @@ export declare const many: {
64
64
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
65
65
  objectify: true;
66
66
  }): import("eventemitter2").Listener;
67
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
67
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
70
+ })[Name]>) => void, options?: boolean | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
71
71
  alfa: string;
72
72
  beta: (from: number, to: string) => void;
73
73
  }>;
@@ -90,10 +90,10 @@ export declare const on: {
90
90
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
91
91
  objectify: true;
92
92
  }): import("eventemitter2").Listener;
93
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
93
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
96
+ })[Name]>) => void, options?: boolean | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
97
97
  alfa: string;
98
98
  beta: (from: number, to: string) => void;
99
99
  }>;
@@ -109,10 +109,10 @@ export declare const once: {
109
109
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
110
110
  objectify: true;
111
111
  }): import("eventemitter2").Listener;
112
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
112
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
115
+ })[Name]>) => void, options?: true | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
116
116
  alfa: string;
117
117
  beta: (from: number, to: string) => void;
118
118
  }>;
@@ -128,10 +128,10 @@ export declare const prependListener: {
128
128
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
129
129
  objectify: true;
130
130
  }): import("eventemitter2").Listener;
131
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
131
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
134
+ })[Name]>) => void, options?: boolean | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
135
135
  alfa: string;
136
136
  beta: (from: number, to: string) => void;
137
137
  }>;
@@ -143,10 +143,10 @@ export declare const prependMany: {
143
143
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
144
144
  objectify: true;
145
145
  }): import("eventemitter2").Listener;
146
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
146
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
149
+ })[Name]>) => void, options?: boolean | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
150
150
  alfa: string;
151
151
  beta: (from: number, to: string) => void;
152
152
  }>;
@@ -158,10 +158,10 @@ export declare const prependOnceListener: {
158
158
  })[Name]>) => void, options: import("./eventEmitter").OnOptions & {
159
159
  objectify: true;
160
160
  }): import("eventemitter2").Listener;
161
- <Name_1 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
161
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
164
+ })[Name]>) => void, options?: boolean | import("./eventEmitter").OnOptions): EventEmitter<import("./eventTypes").BlocklistEventTypes & import("./eventTypes").CallEventTypes & import("./eventTypes").ChatEventTypes & import("./eventTypes").ConfigEventTypes & import("./eventTypes").ConnEventTypes & import("./eventTypes").GroupEventTypes & import("./eventTypes").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
165
165
  alfa: string;
166
166
  beta: (from: number, to: string) => void;
167
167
  }>;
@@ -178,18 +178,18 @@ export declare const removeListener: <Name extends "config.update" | "blocklist.
178
178
  beta: (from: number, to: string) => void;
179
179
  }>;
180
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;
181
+ export declare const stopListeningTo: (target?: import("eventemitter2").GeneralEventEmitter, event?: import("eventemitter2").event | import("eventemitter2").eventNS) => boolean;
182
182
  export declare const waitFor: {
183
- <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & 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" | "order.payment_status" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, timeout?: number): 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").OrderEventTypes & 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 "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
187
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, filter?: import("./eventEmitter").WaitForFilter): 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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
188
188
  alfa: string;
189
189
  beta: (from: number, to: string) => void;
190
- })[Name_1]>>;
191
- <Name_2 extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
190
+ })[Name]>>;
191
+ <Name extends "config.update" | "blocklist.sync" | "call.incoming_call" | keyof import("./eventTypes").ChatEventTypes | keyof import("./eventTypes").ConnEventTypes | "group.participant_changed" | "order.payment_status" | "status.sync" | keyof import("./eventTypes").WebpackEvents | "alfa" | "beta">(event: Name, options?: import("eventemitter2").WaitForOptions): 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").OrderEventTypes & import("./eventTypes").StatusEventTypes & import("./eventTypes").WebpackEvents & {
192
192
  alfa: string;
193
193
  beta: (from: number, to: string) => void;
194
- })[Name_2]>>;
194
+ })[Name]>>;
195
195
  };
@@ -40,7 +40,7 @@ export declare function getGroupInfoFromInviteCode(inviteCode: string): Promise<
40
40
  descTime: number;
41
41
  noFrequentlyForwarded: boolean;
42
42
  parent: boolean;
43
- pvId?: string | undefined;
43
+ pvId?: string;
44
44
  restrict: boolean;
45
45
  size: number;
46
46
  status: number;