@wppconnect/wa-js 1.2.4 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/blocklist/events/eventTypes.d.ts +18 -0
  3. package/dist/blocklist/index.d.ts +0 -1
  4. package/dist/chat/{eventEmitter.d.ts → events/eventTypes.d.ts} +36 -38
  5. package/dist/chat/events/index.d.ts +3 -1
  6. package/dist/{patch.d.ts → chat/events/registerNewMessageEvent.d.ts} +0 -0
  7. package/dist/chat/events/registerPresenceChange.d.ts +16 -0
  8. package/dist/chat/index.d.ts +0 -1
  9. package/dist/conn/events/eventTypes.d.ts +55 -0
  10. package/dist/conn/functions/index.d.ts +1 -0
  11. package/dist/conn/functions/setKeepAlive.d.ts +28 -0
  12. package/dist/conn/index.d.ts +0 -1
  13. package/dist/contact/functions/getProfilePictureUrl.d.ts +27 -0
  14. package/dist/contact/functions/index.d.ts +1 -0
  15. package/dist/contact/index.d.ts +0 -1
  16. package/dist/eventEmitter/eventEmitter.d.ts +169 -0
  17. package/dist/eventEmitter/eventTypes.d.ts +26 -0
  18. package/dist/eventEmitter/index.d.ts +195 -0
  19. package/dist/group/functions/getGroupInfoFromInviteCode.d.ts +3 -3
  20. package/dist/group/index.d.ts +0 -1
  21. package/dist/index.d.ts +3 -1
  22. package/dist/labels/index.d.ts +0 -1
  23. package/dist/profile/index.d.ts +0 -1
  24. package/dist/status/events/eventTypes.d.ts +18 -0
  25. package/dist/status/index.d.ts +0 -1
  26. package/dist/util/index.d.ts +1 -0
  27. package/dist/util/types.d.ts +2 -0
  28. package/dist/util/wrapFunction.d.ts +20 -0
  29. package/dist/webpack/eventTypes.d.ts +19 -0
  30. package/dist/{webpack.d.ts → webpack/index.d.ts} +0 -0
  31. package/dist/whatsapp/collections/CallCollection.d.ts +3 -1
  32. package/dist/whatsapp/collections/ParticipantCollection.d.ts +3 -1
  33. package/dist/whatsapp/collections/PresenceCollection.d.ts +4 -4
  34. package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +2 -4
  35. package/dist/whatsapp/collections/RecentStickerCollection.d.ts +3 -1
  36. package/dist/whatsapp/collections/StickerPackCollection.d.ts +3 -1
  37. package/dist/whatsapp/enums/ACK.d.ts +9 -3
  38. package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +3 -1
  39. package/dist/whatsapp/enums/MSG_TYPE.d.ts +6 -2
  40. package/dist/whatsapp/exportModule.d.ts +19 -1
  41. package/dist/whatsapp/functions/createMsgProtobuf.d.ts +3 -1
  42. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +3 -1
  43. package/dist/whatsapp/functions/findFirstWebLink.d.ts +3 -1
  44. package/dist/whatsapp/functions/getOrGenerate.d.ts +3 -1
  45. package/dist/whatsapp/functions/handleAck.d.ts +17 -3
  46. package/dist/whatsapp/functions/index.d.ts +3 -0
  47. package/dist/whatsapp/functions/isAuthenticated.d.ts +6 -3
  48. package/dist/whatsapp/functions/isMDBackend.d.ts +19 -0
  49. package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +19 -0
  50. package/dist/whatsapp/functions/profilePic.d.ts +2 -1
  51. package/dist/whatsapp/functions/randomId.d.ts +3 -1
  52. package/dist/whatsapp/functions/sendQueryExists.d.ts +3 -1
  53. package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +3 -3
  54. package/dist/whatsapp/functions/status.d.ts +6 -2
  55. package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +19 -0
  56. package/dist/whatsapp/misc/Browser.d.ts +3 -1
  57. package/dist/whatsapp/misc/Clock.d.ts +6 -2
  58. package/dist/whatsapp/misc/Constants.d.ts +3 -1
  59. package/dist/whatsapp/misc/EventEmitter.d.ts +3 -1
  60. package/dist/whatsapp/misc/ImageUtils.d.ts +3 -1
  61. package/dist/whatsapp/misc/Locale.d.ts +3 -1
  62. package/dist/whatsapp/misc/MsgKey.d.ts +3 -1
  63. package/dist/whatsapp/misc/UserPrefs.d.ts +3 -1
  64. package/dist/whatsapp/misc/VCard.d.ts +3 -1
  65. package/dist/whatsapp/misc/Wap.d.ts +6 -2
  66. package/dist/whatsapp/misc/Wid.d.ts +3 -1
  67. package/dist/whatsapp/misc/WidFactory.d.ts +3 -1
  68. package/dist/whatsapp/models/CallModel.d.ts +6 -2
  69. package/dist/whatsapp/models/CallParticipantModel.d.ts +6 -2
  70. package/dist/whatsapp/models/PresenceModel.d.ts +49 -0
  71. package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +3 -3
  72. package/dist/whatsapp/models/StickerModel.d.ts +6 -2
  73. package/dist/whatsapp/models/WebCallModel.d.ts +6 -2
  74. package/dist/whatsapp/models/index.d.ts +1 -0
  75. package/dist/whatsapp/multidevice/adv.d.ts +3 -1
  76. package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +3 -1
  77. package/dist/whatsapp/stores.d.ts +3 -1
  78. package/dist/wppconnect-wa.js +1 -1
  79. package/dist/wppconnect-wa.js.LICENSE.txt +8 -0
  80. package/package.json +26 -23
  81. package/dist/blocklist/eventEmitter.d.ts +0 -49
  82. package/dist/conn/eventEmitter.d.ts +0 -86
  83. package/dist/contact/eventEmitter.d.ts +0 -48
  84. package/dist/group/eventEmitter.d.ts +0 -48
  85. package/dist/labels/eventEmitter.d.ts +0 -48
  86. package/dist/profile/eventEmitter.d.ts +0 -48
  87. package/dist/status/eventEmitter.d.ts +0 -49
@@ -23,7 +23,9 @@ export * from './getOrGenerate';
23
23
  export * from './groupParticipants';
24
24
  export * from './handleAck';
25
25
  export * from './isAuthenticated';
26
+ export * from './isMDBackend';
26
27
  export * from './markSeen';
28
+ export * from './mediaTypeFromProtobuf';
27
29
  export * from './msgFindQuery';
28
30
  export * from './products';
29
31
  export * from './profilePic';
@@ -40,4 +42,5 @@ export * from './sendRevokeGroupInviteCode';
40
42
  export * from './sendTextMsgToChat';
41
43
  export * from './setGroup';
42
44
  export * from './status';
45
+ export * from './typeAttributeFromProtobuf';
43
46
  export * from './uploadProductImage';
@@ -13,10 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 13194 */
17
- export declare function isAuthenticated(): boolean;
18
16
  /**
19
17
  * @whatsapp 13194
20
- * whatsapp >= 2.2208.11
18
+ * @whatsapp 9530 >= 2.2210.9
19
+ */
20
+ export declare function isAuthenticated(): boolean;
21
+ /**
22
+ * @whatsapp 13194 >= 2.2208.11
23
+ * @whatsapp 9530 >= 2.2210.9
21
24
  */
22
25
  export declare function isLoggedIn(): boolean;
@@ -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
+ /** @whatsapp 88555 */
17
+ export declare function isMDBackend(): boolean;
18
+ /** @whatsapp 88555 */
19
+ export declare function isLegacyWebdBackend(): boolean;
@@ -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
+ /** @whatsapp 95318 */
17
+ export declare function mediaTypeFromProtobuf(protoMessage: {
18
+ [key: string]: any;
19
+ }): string;
@@ -16,6 +16,7 @@
16
16
  import { Wid } from '..';
17
17
  /**
18
18
  * This function can be used to define a group picture or self profile
19
- * @whatsapp 5018
19
+ * @whatsapp 78426
20
+ * @whatsapp 5018 >= 2.2204.13
20
21
  */
21
22
  export declare function sendSetPicture(chat: Wid, previewBase64: string, pictureBase64: string): Promise<void>;
@@ -13,5 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 65212 */
16
+ /** @whatsapp 65212
17
+ * @whatsapp 15860 >= 2.2204.13
18
+ */
17
19
  export declare function randomMessageId(): string;
@@ -14,7 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '..';
17
- /** @whatsapp 69722 */
17
+ /** @whatsapp 57547
18
+ * @whatsapp 69722 >= 2.2204.13
19
+ */
18
20
  export declare function sendQueryExists(contact: Wid): Promise<{
19
21
  wid: Wid;
20
22
  biz: boolean;
@@ -19,11 +19,11 @@ export interface QueryGroupInviteResult {
19
19
  creation: number;
20
20
  desc: string;
21
21
  descId: string;
22
- descOwner: Wid;
22
+ descOwner?: Wid;
23
23
  descTime: number;
24
24
  id: Wid;
25
25
  noFrequentlyForwarded: boolean;
26
- owner: Wid;
26
+ owner?: Wid;
27
27
  parent: boolean;
28
28
  participants: {
29
29
  id: Wid;
@@ -35,7 +35,7 @@ export interface QueryGroupInviteResult {
35
35
  size: number;
36
36
  status: number;
37
37
  subject: string;
38
- subjectOwner: Wid;
38
+ subjectOwner?: Wid;
39
39
  subjectTime: number;
40
40
  support: boolean;
41
41
  suspended: boolean;
@@ -14,12 +14,16 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '..';
17
- /** @whatsapp 51316 */
17
+ /** @whatsapp 46898
18
+ * @whatsapp 51316 >= 2.2204.13
19
+ */
18
20
  export declare function getStatus(contactId: Wid): Promise<{
19
21
  id: Wid;
20
22
  status: string;
21
23
  }>;
22
- /** @whatsapp 51316 */
24
+ /** @whatsapp 46898
25
+ * @whatsapp 51316 >= 2.2204.13
26
+ */
23
27
  export declare function setMyStatus(status: string, seqId?: number): Promise<{
24
28
  status: number;
25
29
  }>;
@@ -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
+ /** @whatsapp 93650 */
17
+ export declare function typeAttributeFromProtobuf(protoMessage: {
18
+ [key: string]: any;
19
+ }): string;
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 87045 */
16
+ /** @whatsapp 79264
17
+ * @whatsapp 87045 >= 2.2204.13
18
+ */
17
19
  export declare namespace Browser {
18
20
  let promptUnloadGuards: number;
19
21
  function id(): string;
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 22683 */
16
+ /** @whatsapp 40234
17
+ * @whatsapp 22683 >= 2.2204.13
18
+ */
17
19
  export declare class ClockClass {
18
20
  is24h: boolean;
19
21
  skew: number;
@@ -41,5 +43,7 @@ export declare class ClockClass {
41
43
  liveLocationLastUpdatedStr(timestamp: number): string;
42
44
  shouldUseIntlDateTimeFormat(): boolean;
43
45
  }
44
- /** @whatsapp 22683 */
46
+ /** @whatsapp 40234
47
+ * @whatsapp 22683 >= 2.2204.13
48
+ */
45
49
  export declare const Clock: ClockClass;
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 64369 */
16
+ /** @whatsapp 64369
17
+ * @whatsapp 69618 >= 2.2204.13
18
+ */
17
19
  export declare const Constants: {
18
20
  IMG_THUMB_MAX_EDGE: 100;
19
21
  DOC_THUMB_MAX_EDGE: 480;
@@ -21,7 +21,9 @@ declare type Event = string | symbol;
21
21
  * The callback function.
22
22
  */
23
23
  declare type Listener = (...args: any[]) => void;
24
- /** @whatsapp 34342 */
24
+ /** @whatsapp 76521
25
+ * @whatsapp 34342 >= 2.2204.13
26
+ */
25
27
  export declare class EventEmitter {
26
28
  /**
27
29
  * Adds the listener function to the end of the listeners array for the event named eventName.
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 36638 */
16
+ /** @whatsapp 51428
17
+ * @whatsapp 36638 >= 2.2204.13
18
+ */
17
19
  export declare namespace ImageUtils {
18
20
  function rotateAndResize(e: any, t: any, r: any): Promise<{
19
21
  width: number;
@@ -15,6 +15,8 @@
15
15
  */
16
16
  declare class LocaleClass {
17
17
  }
18
- /** @whatsapp 43725 */
18
+ /** @whatsapp 14296
19
+ * @whatsapp 43725 >= 2.2204.13
20
+ */
19
21
  export declare const Locale: LocaleClass;
20
22
  export {};
@@ -14,7 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 65212 */
17
+ /** @whatsapp 65212
18
+ * @whatsapp 32219 >= 2.2204.13
19
+ */
18
20
  export declare class MsgKey {
19
21
  constructor(options: {
20
22
  from: Wid;
@@ -14,7 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 99234 */
17
+ /** @whatsapp 99234
18
+ * @whatsapp 11362 >= 2.2212.5
19
+ */
18
20
  export declare namespace UserPrefs {
19
21
  function setMe(wid: Wid): void;
20
22
  function getMe(): Wid;
@@ -19,7 +19,9 @@ export interface VCardData {
19
19
  vcard: string;
20
20
  isMultiVcard: false;
21
21
  }
22
- /** @whatsapp 78521 */
22
+ /** @whatsapp 93778
23
+ * @whatsapp 78521 >= 2.2204.13
24
+ */
23
25
  export declare namespace VCard {
24
26
  function vcardFromContactModel(contact: ContactModel): VCardData;
25
27
  function mergeVcards(vcards: VCardData[]): VCardData;
@@ -14,7 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '.';
17
- /** @whatsapp 86875 */
17
+ /** @whatsapp 86875
18
+ * @whatsapp 56891 >= 2.2212.8
19
+ */
18
20
  export declare class WapClass {
19
21
  queryExist(contactId: string): Promise<{
20
22
  status: 200;
@@ -27,5 +29,7 @@ export declare class WapClass {
27
29
  settingTimestamp: number;
28
30
  }>;
29
31
  }
30
- /** @whatsapp 86875 */
32
+ /** @whatsapp 86875
33
+ * @whatsapp 56891 >= 2.2212.8
34
+ */
31
35
  export declare const Wap: WapClass;
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 89867 */
16
+ /** @whatsapp 89867
17
+ * @whatsapp 39546 >= 2.2204.13
18
+ */
17
19
  export declare class Wid {
18
20
  constructor(id: string, options?: {
19
21
  intentionallyUsePrivateConstructor: boolean;
@@ -14,7 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 45454 */
17
+ /** @whatsapp 45454
18
+ * @whatsapp 58021 >= 2.2204.13
19
+ */
18
20
  export declare namespace WidFactory {
19
21
  function createDeviceWid(wid: string): Wid;
20
22
  function createDeviceWidFromUserAndDevice(user: string, device: string): Wid;
@@ -32,10 +32,14 @@ interface Session {
32
32
  }
33
33
  interface Derived {
34
34
  }
35
- /** @whatsapp 40122 */
35
+ /** @whatsapp 36473
36
+ * @whatsapp 40122 >= 2.2204.13
37
+ */
36
38
  export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
37
39
  }
38
- /** @whatsapp 40122 */
40
+ /** @whatsapp 36473
41
+ * @whatsapp 40122 >= 2.2204.13
42
+ */
39
43
  export declare class CallModel extends Model<CallCollection> {
40
44
  constructor(proterties?: ModelPropertiesContructor<CallModel>, options?: ModelOptions);
41
45
  getState(): any;
@@ -34,10 +34,14 @@ interface Session {
34
34
  }
35
35
  interface Derived {
36
36
  }
37
- /** @whatsapp 8384 */
37
+ /** @whatsapp 50064
38
+ * @whatsapp 8384 >= 2.2204.13
39
+ */
38
40
  export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
39
41
  }
40
- /** @whatsapp 8384 */
42
+ /** @whatsapp 50064
43
+ * @whatsapp 8384 >= 2.2204.13
44
+ */
41
45
  export declare class CallParticipantModel extends Model {
42
46
  constructor(proterties?: ModelPropertiesContructor<CallParticipantModel>, options?: ModelOptions);
43
47
  }
@@ -0,0 +1,49 @@
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 { ChatstateCollection } from '../collections';
17
+ import { Wid } from '../misc';
18
+ import { ChatstateModel } from './ChatstateModel';
19
+ import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
20
+ interface Props {
21
+ id: Wid;
22
+ }
23
+ interface Session {
24
+ isOnline: boolean;
25
+ hasData: boolean;
26
+ isSubscribed: boolean;
27
+ withholdDisplayStage?: any;
28
+ forceDisplay: boolean;
29
+ chatActive: boolean;
30
+ withholdDisplayTimer?: any;
31
+ forceDisplayTimer?: any;
32
+ chatstate?: ChatstateModel;
33
+ }
34
+ interface Derived {
35
+ isGroup: boolean;
36
+ isUser: boolean;
37
+ }
38
+ /** @whatsapp 30000 */
39
+ export declare interface PresenceModel extends ModelProxy<Props, Session, Derived> {
40
+ }
41
+ /** @whatsapp 30000 */
42
+ export declare class PresenceModel extends Model {
43
+ idClass: typeof Wid;
44
+ allowedIds?: any;
45
+ chatstates: ChatstateCollection;
46
+ constructor(proterties?: ModelPropertiesContructor<PresenceModel>, options?: ModelOptions);
47
+ getCollection(): any;
48
+ }
49
+ export {};
@@ -30,9 +30,9 @@ interface Session {
30
30
  pendingPic?: any;
31
31
  }
32
32
  interface Derived {
33
- img?: any;
34
- imgFull?: any;
35
- fallbackType?: any;
33
+ img?: string | null;
34
+ imgFull?: string | null;
35
+ fallbackType?: 'SINGLE' | 'GROUP';
36
36
  }
37
37
  /** @whatsapp 93836 */
38
38
  export declare interface ProfilePicThumbModel extends ModelProxy<Props, Session, Derived> {
@@ -37,10 +37,14 @@ interface Session {
37
37
  }
38
38
  interface Derived {
39
39
  }
40
- /** @whatsapp 99718 */
40
+ /** @whatsapp 99718
41
+ * @whatsapp 89867 >= 2.2204.13
42
+ */
41
43
  export declare interface StickerModel extends ModelProxy<Props, Session, Derived> {
42
44
  }
43
- /** @whatsapp 99718 */
45
+ /** @whatsapp 99718
46
+ * @whatsapp 89867 >= 2.2204.13
47
+ */
44
48
  export declare class StickerModel extends Model {
45
49
  constructor(proterties?: ModelPropertiesContructor<StickerModel>, options?: ModelOptions);
46
50
  downloadMedia(): any;
@@ -27,10 +27,14 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 91932 */
30
+ /** @whatsapp 77107
31
+ * @whatsapp 91932 >= 2.2204.13
32
+ */
31
33
  export declare interface WebCallModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 91932 */
35
+ /** @whatsapp 77107
36
+ * @whatsapp 91932 >= 2.2204.13
37
+ */
34
38
  export declare class WebCallModel extends Model {
35
39
  constructor(proterties?: ModelPropertiesContructor<WebCallModel>, options?: ModelOptions);
36
40
  }
@@ -45,6 +45,7 @@ export * from './OrderItemModel';
45
45
  export * from './OrderModel';
46
46
  export * from './ParticipantModel';
47
47
  export * from './ParticipantModel';
48
+ export * from './PresenceModel';
48
49
  export * from './ProductCollModel';
49
50
  export * from './ProductImageModel';
50
51
  export * from './ProductMessageListModel';
@@ -13,7 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 46308 */
16
+ /** @whatsapp 46308
17
+ * @whatsapp 24863 >= 2.2204.13
18
+ */
17
19
  export declare namespace adv {
18
20
  function generateADVSecretKey(): string;
19
21
  function getADVSecretKey(): string;
@@ -24,6 +24,8 @@ declare class NoiseInfo {
24
24
  get(): Promise<NoiseInfoData>;
25
25
  set(info: Promise<NoiseInfoData>): any;
26
26
  }
27
- /** @whatsapp 14111 */
27
+ /** @whatsapp 15875
28
+ * @whatsapp 14111 >= 2.2204.13
29
+ */
28
30
  export declare const waNoiseInfo: NoiseInfo;
29
31
  export {};
@@ -20,7 +20,9 @@ export declare const BlocklistStore: collections.BlocklistCollection;
20
20
  export declare const BusinessCategoriesResultStore: collections.BusinessCategoriesResultCollection;
21
21
  /** @whatsapp 93581 */
22
22
  export declare const BusinessProfileStore: collections.BusinessProfileCollection;
23
- /** @whatsapp 31218 */
23
+ /** @whatsapp 60868
24
+ * @whatsapp 31218 >= 2.2204.13
25
+ */
24
26
  export declare const CallStore: collections.CallCollection;
25
27
  /** @whatsapp 12392 */
26
28
  export declare const CartStore: collections.CartCollection;