@wppconnect/wa-js 1.1.17 → 1.2.0

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 (197) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{auth → conn}/eventEmitter.d.ts +37 -3
  3. package/dist/conn/events/index.d.ts +22 -0
  4. package/dist/{auth/events/registerChangeEvent.d.ts → conn/events/registerAuthCodeChangeEvent.d.ts} +0 -0
  5. package/dist/{auth/events/registerIdleEvent.d.ts → conn/events/registerAuthenticatedEvent.d.ts} +0 -0
  6. package/dist/{auth → conn}/events/registerLogoutEvent.d.ts +0 -0
  7. package/dist/{auth/functions/poke.d.ts → conn/events/registerMainLoadedEvent.d.ts} +1 -1
  8. package/dist/conn/events/registerMainReadyEvent.d.ts +16 -0
  9. package/dist/conn/events/registerQRCodeIdleEvent.d.ts +16 -0
  10. package/dist/conn/events/registerRequireAuthEvent.d.ts +16 -0
  11. package/dist/{auth → conn}/functions/getAuthCode.d.ts +0 -0
  12. package/dist/{auth → conn}/functions/index.d.ts +2 -1
  13. package/dist/{auth → conn}/functions/isAuthenticated.d.ts +0 -0
  14. package/dist/{auth → conn}/functions/isIdle.d.ts +0 -0
  15. package/dist/conn/functions/isMainLoaded.d.ts +24 -0
  16. package/dist/{auth → conn}/functions/isMultiDevice.d.ts +0 -0
  17. package/dist/{auth → conn}/functions/logout.d.ts +0 -0
  18. package/dist/conn/functions/refreshQR.d.ts +28 -0
  19. package/dist/{auth → conn}/functions/setMultiDevice.d.ts +1 -1
  20. package/dist/{auth → conn}/index.d.ts +0 -0
  21. package/dist/{auth → conn}/types.d.ts +0 -0
  22. package/dist/group/functions/canAdd.d.ts +1 -1
  23. package/dist/group/functions/canDemote.d.ts +1 -1
  24. package/dist/group/functions/canPromote.d.ts +1 -1
  25. package/dist/group/functions/canRemove.d.ts +1 -1
  26. package/dist/group/functions/ensureGroup.d.ts +1 -1
  27. package/dist/group/functions/ensureGroupAndParticipants.d.ts +2 -2
  28. package/dist/group/functions/getParticipants.d.ts +1 -1
  29. package/dist/group/functions/iAmAdmin.d.ts +1 -1
  30. package/dist/group/functions/iAmMember.d.ts +1 -1
  31. package/dist/group/functions/iAmRestrictedMember.d.ts +1 -1
  32. package/dist/group/functions/iAmSuperAdmin.d.ts +1 -1
  33. package/dist/index.d.ts +1 -1
  34. package/dist/whatsapp/collections/BaseCollection.d.ts +1 -1
  35. package/dist/whatsapp/collections/BlocklistCollection.d.ts +1 -1
  36. package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +1 -1
  37. package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +1 -1
  38. package/dist/whatsapp/collections/ButtonCollection.d.ts +1 -1
  39. package/dist/whatsapp/collections/CallCollection.d.ts +1 -1
  40. package/dist/whatsapp/collections/CartCollection.d.ts +1 -1
  41. package/dist/whatsapp/collections/CartItemCollection.d.ts +1 -1
  42. package/dist/whatsapp/collections/CatalogCollection.d.ts +1 -1
  43. package/dist/whatsapp/collections/ChatCollection.d.ts +1 -1
  44. package/dist/whatsapp/collections/ChatstateCollection.d.ts +1 -1
  45. package/dist/whatsapp/collections/Collection.d.ts +2 -2
  46. package/dist/whatsapp/collections/ContactCollection.d.ts +1 -1
  47. package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +1 -1
  48. package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +1 -1
  49. package/dist/whatsapp/collections/LabelCollection.d.ts +1 -1
  50. package/dist/whatsapp/collections/LabelItemCollection.d.ts +1 -1
  51. package/dist/whatsapp/collections/LiveLocationCollection.d.ts +1 -1
  52. package/dist/whatsapp/collections/MsgCollection.d.ts +1 -1
  53. package/dist/whatsapp/collections/MsgInfoCollection.d.ts +1 -1
  54. package/dist/whatsapp/collections/MuteCollection.d.ts +1 -1
  55. package/dist/whatsapp/collections/OrderCollection.d.ts +1 -1
  56. package/dist/whatsapp/collections/OrderItemCollection.d.ts +1 -1
  57. package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -1
  58. package/dist/whatsapp/collections/PresenceCollection.d.ts +1 -1
  59. package/dist/whatsapp/collections/ProductCollCollection.d.ts +1 -1
  60. package/dist/whatsapp/collections/ProductCollection.d.ts +1 -1
  61. package/dist/whatsapp/collections/ProductImageCollection.d.ts +1 -1
  62. package/dist/whatsapp/collections/ProductMessageListCollection.d.ts +1 -1
  63. package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +1 -1
  64. package/dist/whatsapp/collections/QuickReplyCollection.d.ts +1 -1
  65. package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +1 -1
  66. package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -1
  67. package/dist/whatsapp/collections/StarredMsgCollection.d.ts +1 -1
  68. package/dist/whatsapp/collections/StarredStickerCollection.d.ts +1 -1
  69. package/dist/whatsapp/collections/StatusCollection.d.ts +1 -1
  70. package/dist/whatsapp/collections/StatusV3Collection.d.ts +1 -1
  71. package/dist/whatsapp/collections/StickerCollection.d.ts +1 -1
  72. package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -1
  73. package/dist/whatsapp/collections/StickerSearchCollection.d.ts +1 -1
  74. package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +1 -1
  75. package/dist/whatsapp/enums/ACK.d.ts +46 -0
  76. package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -1
  77. package/dist/whatsapp/enums/LogoutReason.d.ts +1 -1
  78. package/dist/whatsapp/enums/MSG_TYPE.d.ts +54 -0
  79. package/dist/whatsapp/enums/OUTWARD_TYPES.d.ts +1 -1
  80. package/dist/whatsapp/enums/SOCKET_STATE.d.ts +42 -0
  81. package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -1
  82. package/dist/whatsapp/enums/index.d.ts +2 -0
  83. package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -1
  84. package/dist/whatsapp/functions/blockContact.d.ts +2 -2
  85. package/dist/whatsapp/functions/createMsgProtobuf.d.ts +1 -1
  86. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -1
  87. package/dist/whatsapp/functions/findChat.d.ts +1 -1
  88. package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -1
  89. package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -1
  90. package/dist/whatsapp/functions/groupParticipants.d.ts +4 -4
  91. package/dist/whatsapp/functions/handleAck.d.ts +3 -3
  92. package/dist/whatsapp/functions/isAuthenticated.d.ts +1 -1
  93. package/dist/whatsapp/functions/markSeen.d.ts +3 -3
  94. package/dist/whatsapp/functions/msgFindQuery.d.ts +1 -1
  95. package/dist/whatsapp/functions/products.d.ts +4 -4
  96. package/dist/whatsapp/functions/profilePic.d.ts +1 -1
  97. package/dist/whatsapp/functions/randomId.d.ts +2 -2
  98. package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +1 -1
  99. package/dist/whatsapp/functions/sendClear.d.ts +1 -1
  100. package/dist/whatsapp/functions/sendCreateGroup.d.ts +1 -1
  101. package/dist/whatsapp/functions/sendDelete.d.ts +1 -1
  102. package/dist/whatsapp/functions/sendExitGroup.d.ts +1 -1
  103. package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +1 -1
  104. package/dist/whatsapp/functions/sendQueryExists.d.ts +1 -1
  105. package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +1 -1
  106. package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +1 -1
  107. package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -1
  108. package/dist/whatsapp/functions/setGroup.d.ts +3 -3
  109. package/dist/whatsapp/functions/status.d.ts +2 -2
  110. package/dist/whatsapp/functions/uploadProductImage.d.ts +1 -1
  111. package/dist/whatsapp/misc/Base64.d.ts +1 -1
  112. package/dist/whatsapp/misc/Browser.d.ts +1 -1
  113. package/dist/whatsapp/misc/ChatPresence.d.ts +1 -1
  114. package/dist/whatsapp/misc/Clock.d.ts +2 -2
  115. package/dist/whatsapp/misc/Cmd.d.ts +2 -2
  116. package/dist/whatsapp/misc/Conn.d.ts +1 -1
  117. package/dist/whatsapp/misc/Constants.d.ts +83 -430
  118. package/dist/whatsapp/misc/EventEmitter.d.ts +1 -1
  119. package/dist/whatsapp/misc/Features.d.ts +1 -1
  120. package/dist/whatsapp/misc/ImageUtils.d.ts +1 -1
  121. package/dist/whatsapp/misc/Locale.d.ts +1 -1
  122. package/dist/whatsapp/misc/MediaBlobCache.d.ts +2 -2
  123. package/dist/whatsapp/misc/MediaObject.d.ts +1 -1
  124. package/dist/whatsapp/misc/MediaObjectUtil.d.ts +1 -1
  125. package/dist/whatsapp/misc/MediaPrep.d.ts +1 -1
  126. package/dist/whatsapp/misc/MediaUtils.d.ts +1 -1
  127. package/dist/whatsapp/misc/MsgKey.d.ts +1 -1
  128. package/dist/whatsapp/misc/MsgLoadState.d.ts +2 -2
  129. package/dist/whatsapp/misc/OpaqueData.d.ts +2 -2
  130. package/dist/whatsapp/misc/Socket.d.ts +18 -0
  131. package/dist/{auth/events/index.d.ts → whatsapp/misc/Stream.d.ts} +3 -3
  132. package/dist/whatsapp/misc/UserPrefs.d.ts +1 -1
  133. package/dist/whatsapp/misc/VCard.d.ts +1 -1
  134. package/dist/whatsapp/misc/Wap.d.ts +2 -2
  135. package/dist/whatsapp/misc/Wid.d.ts +1 -1
  136. package/dist/whatsapp/misc/WidFactory.d.ts +1 -1
  137. package/dist/whatsapp/misc/index.d.ts +2 -1
  138. package/dist/whatsapp/models/AttachMediaModel.d.ts +2 -2
  139. package/dist/whatsapp/models/BlocklistModel.d.ts +2 -2
  140. package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +2 -2
  141. package/dist/whatsapp/models/BusinessProfileModel.d.ts +2 -2
  142. package/dist/whatsapp/models/CallModel.d.ts +2 -2
  143. package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -2
  144. package/dist/whatsapp/models/CartItemModel.d.ts +2 -2
  145. package/dist/whatsapp/models/CartModel.d.ts +2 -2
  146. package/dist/whatsapp/models/CatalogModel.d.ts +2 -2
  147. package/dist/whatsapp/models/ChatModel.d.ts +2 -2
  148. package/dist/whatsapp/models/ChatPreferenceModel.d.ts +2 -2
  149. package/dist/whatsapp/models/ChatstateModel.d.ts +2 -2
  150. package/dist/whatsapp/models/ConnModel.d.ts +2 -2
  151. package/dist/whatsapp/models/ContactModel.d.ts +2 -2
  152. package/dist/whatsapp/models/ConversionTupleModel.d.ts +2 -2
  153. package/dist/whatsapp/models/EmojiVariantModel.d.ts +2 -2
  154. package/dist/whatsapp/models/GroupMetadataModel.d.ts +2 -2
  155. package/dist/whatsapp/models/LabelItemModel.d.ts +2 -2
  156. package/dist/whatsapp/models/LabelModel.d.ts +2 -2
  157. package/dist/whatsapp/models/LiveLocationModel.d.ts +2 -2
  158. package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +2 -2
  159. package/dist/whatsapp/models/MediaDataModel.d.ts +2 -2
  160. package/dist/whatsapp/models/Model.d.ts +1 -1
  161. package/dist/whatsapp/models/ModelChatBase.d.ts +1 -1
  162. package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +2 -2
  163. package/dist/whatsapp/models/MsgInfoModel.d.ts +2 -2
  164. package/dist/whatsapp/models/MsgModel.d.ts +2 -2
  165. package/dist/whatsapp/models/MuteModel.d.ts +2 -2
  166. package/dist/whatsapp/models/OrderItemModel.d.ts +2 -2
  167. package/dist/whatsapp/models/OrderModel.d.ts +2 -2
  168. package/dist/whatsapp/models/ParticipantModel.d.ts +2 -2
  169. package/dist/whatsapp/models/ProductCollModel.d.ts +2 -2
  170. package/dist/whatsapp/models/ProductImageModel.d.ts +2 -2
  171. package/dist/whatsapp/models/ProductMessageListModel.d.ts +2 -2
  172. package/dist/whatsapp/models/ProductModel.d.ts +2 -2
  173. package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +2 -2
  174. package/dist/whatsapp/models/QuickReplyModel.d.ts +2 -2
  175. package/dist/whatsapp/models/RecentEmojiModel.d.ts +2 -2
  176. package/dist/whatsapp/models/RecentStickerModel.d.ts +2 -2
  177. package/dist/whatsapp/models/ReplyButtonModel.d.ts +2 -2
  178. package/dist/whatsapp/models/{StateModel.d.ts → SocketModel.d.ts} +5 -5
  179. package/dist/whatsapp/models/StatusModel.d.ts +2 -2
  180. package/dist/whatsapp/models/StatusV3Model.d.ts +2 -2
  181. package/dist/whatsapp/models/StickerModel.d.ts +2 -2
  182. package/dist/whatsapp/models/StickerPackModel.d.ts +2 -2
  183. package/dist/whatsapp/models/StreamModel.d.ts +61 -0
  184. package/dist/whatsapp/models/TemplateButtonModel.d.ts +2 -2
  185. package/dist/whatsapp/models/UnreadMentionModel.d.ts +2 -2
  186. package/dist/whatsapp/models/WebCallModel.d.ts +2 -2
  187. package/dist/whatsapp/models/index.d.ts +2 -1
  188. package/dist/whatsapp/multidevice/adv.d.ts +1 -1
  189. package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -1
  190. package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -1
  191. package/dist/whatsapp/stores.d.ts +29 -29
  192. package/dist/wppconnect-wa.js +1 -1
  193. package/package.json +20 -25
  194. package/tests/check-auth.ts +2 -2
  195. package/tests/prepare.ts +3 -3
  196. package/dist/internal.d.ts +0 -21
  197. package/dist/whatsapp/misc/State.d.ts +0 -18
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 42078 */
17
+ /** @whatsapp 32219 */
18
18
  export declare class MsgKey {
19
19
  constructor(options: {
20
20
  from: Wid;
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { BaseCollection } from '../collections';
17
17
  import { Model, MsgModel } from '../models';
18
- /** @whatsapp 38671 */
18
+ /** @whatsapp 51612 */
19
19
  export declare class MsgLoadState extends Model {
20
20
  noEarlierMsgs: any;
21
21
  isLoadingEarlierMsgs: any;
@@ -23,7 +23,7 @@ export declare class MsgLoadState extends Model {
23
23
  isLoadingAroundMsgs: any;
24
24
  contextLoaded: any;
25
25
  }
26
- /** @whatsapp 38671 */
26
+ /** @whatsapp 51612 */
27
27
  export declare class MsgLoad extends BaseCollection<MsgModel> {
28
28
  msgLoadState: MsgLoadState;
29
29
  loadRecentPromise?: Promise<any>;
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 45138 */
16
+ /** @whatsapp 34949 */
17
17
  export declare class OpaqueDataBase {
18
18
  released: boolean;
19
19
  retain(): void;
@@ -21,7 +21,7 @@ export declare class OpaqueDataBase {
21
21
  autoreleaseWhenPromiseCompletes(e: Promise<any>): void;
22
22
  throwIfReleased(e: any): void;
23
23
  }
24
- /** @whatsapp 45138 */
24
+ /** @whatsapp 34949 */
25
25
  export declare class OpaqueData extends OpaqueDataBase {
26
26
  url(): string;
27
27
  getBase64(): string;
@@ -0,0 +1,18 @@
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 { SocketModel } from '../models';
17
+ /** @whatsapp 65044 */
18
+ export declare const Socket: SocketModel;
@@ -13,6 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import './registerChangeEvent';
17
- import './registerIdleEvent';
18
- import './registerLogoutEvent';
16
+ import { StreamModel } from '../models';
17
+ /** @whatsapp 8080 */
18
+ export declare const Stream: StreamModel;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 26205 */
17
+ /** @whatsapp 99234 */
18
18
  export declare namespace UserPrefs {
19
19
  function setMe(wid: Wid): void;
20
20
  function getMe(): Wid;
@@ -19,7 +19,7 @@ export interface VCardData {
19
19
  vcard: string;
20
20
  isMultiVcard: false;
21
21
  }
22
- /** @whatsapp 26478 */
22
+ /** @whatsapp 78521 */
23
23
  export declare namespace VCard {
24
24
  function vcardFromContactModel(contact: ContactModel): VCardData;
25
25
  function mergeVcards(vcards: VCardData[]): VCardData;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '.';
17
- /** @whatsapp 25195 */
17
+ /** @whatsapp 86875 */
18
18
  export declare class WapClass {
19
19
  queryExist(contactId: string): Promise<{
20
20
  status: 200;
@@ -27,5 +27,5 @@ export declare class WapClass {
27
27
  settingTimestamp: number;
28
28
  }>;
29
29
  }
30
- /** @whatsapp 25195 */
30
+ /** @whatsapp 86875 */
31
31
  export declare const Wap: WapClass;
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 69678 */
16
+ /** @whatsapp 39546 */
17
17
  export declare class Wid {
18
18
  constructor(id: string, options?: {
19
19
  intentionallyUsePrivateConstructor: boolean;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 31517 */
17
+ /** @whatsapp 58021 */
18
18
  export declare namespace WidFactory {
19
19
  function createDeviceWid(wid: string): Wid;
20
20
  function createDeviceWidFromUserAndDevice(user: string, device: string): Wid;
@@ -32,7 +32,8 @@ export * from './MediaUtils';
32
32
  export * from './MsgKey';
33
33
  export * from './MsgLoadState';
34
34
  export * from './OpaqueData';
35
- export * from './State';
35
+ export * from './Socket';
36
+ export * from './Stream';
36
37
  export * from './UserPrefs';
37
38
  export * from './VCard';
38
39
  export * from './Wap';
@@ -46,10 +46,10 @@ interface Derived {
46
46
  filesize?: any;
47
47
  fileExt?: any;
48
48
  }
49
- /** @whatsapp 47121 */
49
+ /** @whatsapp 80666 */
50
50
  export declare interface AttachMediaModel extends ModelProxy<Props, Session, Derived> {
51
51
  }
52
- /** @whatsapp 47121 */
52
+ /** @whatsapp 80666 */
53
53
  export declare class AttachMediaModel extends Model {
54
54
  constructor(proterties?: ModelPropertiesContructor<AttachMediaModel>, options?: ModelOptions);
55
55
  processAttachment(e?: any): any;
@@ -24,10 +24,10 @@ interface Session {
24
24
  }
25
25
  interface Derived {
26
26
  }
27
- /** @whatsapp 95254 */
27
+ /** @whatsapp 89310 */
28
28
  export declare interface BlocklistModel extends ModelProxy<Props, Session, Derived> {
29
29
  }
30
- /** @whatsapp 95254 */
30
+ /** @whatsapp 89310 */
31
31
  export declare class BlocklistModel extends Model<BlocklistCollection> {
32
32
  idClass: typeof Wid;
33
33
  constructor(proterties?: ModelPropertiesContructor<BlocklistModel>, options?: ModelOptions);
@@ -25,10 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 85840 */
28
+ /** @whatsapp 32742 */
29
29
  export declare interface BusinessCategoriesResultModel extends ModelProxy<Props, Session, Derived> {
30
30
  }
31
- /** @whatsapp 85840 */
31
+ /** @whatsapp 32742 */
32
32
  export declare class BusinessCategoriesResultModel extends Model<BusinessCategoriesResultCollection> {
33
33
  idClass: typeof Wid;
34
34
  constructor(proterties?: ModelPropertiesContructor<BusinessCategoriesResultModel>, options?: ModelOptions);
@@ -36,10 +36,10 @@ interface Session {
36
36
  }
37
37
  interface Derived {
38
38
  }
39
- /** @whatsapp 20586 */
39
+ /** @whatsapp 48018 */
40
40
  export declare interface BusinessProfileModel extends ModelProxy<Props, Session, Derived> {
41
41
  }
42
- /** @whatsapp 20586 */
42
+ /** @whatsapp 48018 */
43
43
  export declare class BusinessProfileModel extends Model<BusinessProfileCollection> {
44
44
  idClass: typeof Wid;
45
45
  constructor(proterties?: ModelPropertiesContructor<BusinessProfileModel>, options?: ModelOptions);
@@ -32,10 +32,10 @@ interface Session {
32
32
  }
33
33
  interface Derived {
34
34
  }
35
- /** @whatsapp 42810 */
35
+ /** @whatsapp 40122 */
36
36
  export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
37
37
  }
38
- /** @whatsapp 42810 */
38
+ /** @whatsapp 40122 */
39
39
  export declare class CallModel extends Model<CallCollection> {
40
40
  constructor(proterties?: ModelPropertiesContructor<CallModel>, options?: ModelOptions);
41
41
  getState(): any;
@@ -34,10 +34,10 @@ interface Session {
34
34
  }
35
35
  interface Derived {
36
36
  }
37
- /** @whatsapp 5584 */
37
+ /** @whatsapp 8384 */
38
38
  export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
39
39
  }
40
- /** @whatsapp 5584 */
40
+ /** @whatsapp 8384 */
41
41
  export declare class CallParticipantModel extends Model {
42
42
  constructor(proterties?: ModelPropertiesContructor<CallParticipantModel>, options?: ModelOptions);
43
43
  }
@@ -28,10 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 57961 */
31
+ /** @whatsapp 9581 */
32
32
  export declare interface CartItemModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 57961 */
34
+ /** @whatsapp 9581 */
35
35
  export declare class CartItemModel extends Model<CartCollection> {
36
36
  constructor(proterties?: ModelPropertiesContructor<CartItemModel>, options?: ModelOptions);
37
37
  getCollection(): CartCollection;
@@ -28,10 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 88043 */
31
+ /** @whatsapp 65999 */
32
32
  export declare interface CartModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 88043 */
34
+ /** @whatsapp 65999 */
35
35
  export declare class CartModel extends Model<CartCollection> {
36
36
  constructor(proterties?: ModelPropertiesContructor<CartModel>, options?: ModelOptions);
37
37
  countTotals(): any;
@@ -28,10 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 22746 */
31
+ /** @whatsapp 52388 */
32
32
  export declare interface CatalogModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 22746 */
34
+ /** @whatsapp 52388 */
35
35
  export declare class CatalogModel extends Model<CatalogCollection> {
36
36
  idClass: typeof Wid;
37
37
  constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);
@@ -96,10 +96,10 @@ interface Derived {
96
96
  showChangeNumberNotification?: any;
97
97
  shouldShowUnreadInTitle?: any;
98
98
  }
99
- /** @whatsapp 8853 */
99
+ /** @whatsapp 63183 */
100
100
  export declare interface ChatModel extends ModelProxy<Props, Session, Derived> {
101
101
  }
102
- /** @whatsapp 8853 */
102
+ /** @whatsapp 63183 */
103
103
  export declare class ChatModel extends ModelChatBase {
104
104
  idClass: typeof Wid;
105
105
  constructor(proterties?: ModelPropertiesContructor<ChatModel>, options?: ModelOptions);
@@ -26,10 +26,10 @@ interface Session {
26
26
  }
27
27
  interface Derived {
28
28
  }
29
- /** @whatsapp 2100 */
29
+ /** @whatsapp 33929 */
30
30
  export declare interface ChatPreferenceModel extends ModelProxy<Props, Session, Derived> {
31
31
  }
32
- /** @whatsapp 2100 */
32
+ /** @whatsapp 33929 */
33
33
  export declare class ChatPreferenceModel extends Model {
34
34
  idClass: typeof Wid;
35
35
  allowedIds?: any;
@@ -27,10 +27,10 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 74378 */
30
+ /** @whatsapp 30000 */
31
31
  export declare interface ChatstateModel extends ModelProxy<Props, Session, Derived> {
32
32
  }
33
- /** @whatsapp 74378 */
33
+ /** @whatsapp 30000 */
34
34
  export declare class ChatstateModel extends Model {
35
35
  idClass: typeof Wid;
36
36
  allowedIds?: any;
@@ -53,10 +53,10 @@ interface Derived {
53
53
  tosShowCallNotification?: any;
54
54
  isSMB?: boolean;
55
55
  }
56
- /** @whatsapp 13798 */
56
+ /** @whatsapp 17239 */
57
57
  export declare interface ConnModel extends ModelProxy<Props, Session, Derived> {
58
58
  }
59
- /** @whatsapp 13798 */
59
+ /** @whatsapp 17239 */
60
60
  export declare class ConnModel extends Model {
61
61
  constructor(proterties?: ModelPropertiesContructor<ConnModel>, options?: ModelOptions);
62
62
  canSetMyPushname(): boolean;
@@ -71,10 +71,10 @@ interface Derived {
71
71
  showBusinessCheckmarkAsPrimary?: any;
72
72
  showBusinessCheckmarkAsSecondary?: any;
73
73
  }
74
- /** @whatsapp 81104 */
74
+ /** @whatsapp 121 */
75
75
  export declare interface ContactModel extends ModelProxy<Props, Session, Derived> {
76
76
  }
77
- /** @whatsapp 81104 */
77
+ /** @whatsapp 121 */
78
78
  export declare class ContactModel extends Model<ContactCollection> {
79
79
  idClass: typeof Wid;
80
80
  constructor(proterties?: ModelPropertiesContructor<ContactModel>, options?: ModelOptions);
@@ -27,10 +27,10 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 41869 */
30
+ /** @whatsapp 18787 */
31
31
  export declare interface ConversionTupleModel extends ModelProxy<Props, Session, Derived> {
32
32
  }
33
- /** @whatsapp 41869 */
33
+ /** @whatsapp 18787 */
34
34
  export declare class ConversionTupleModel extends Model {
35
35
  idClass: typeof Wid;
36
36
  constructor(proterties?: ModelPropertiesContructor<ConversionTupleModel>, options?: ModelOptions);
@@ -23,10 +23,10 @@ interface Session {
23
23
  }
24
24
  interface Derived {
25
25
  }
26
- /** @whatsapp 84603 */
26
+ /** @whatsapp 20472 */
27
27
  export declare interface EmojiVariantModel extends ModelProxy<Props, Session, Derived> {
28
28
  }
29
- /** @whatsapp 84603 */
29
+ /** @whatsapp 20472 */
30
30
  export declare class EmojiVariantModel extends Model {
31
31
  constructor(proterties?: ModelPropertiesContructor<EmojiVariantModel>, options?: ModelOptions);
32
32
  }
@@ -43,10 +43,10 @@ interface Session {
43
43
  interface Derived {
44
44
  groupInviteLink?: any;
45
45
  }
46
- /** @whatsapp 78688 */
46
+ /** @whatsapp 14423 */
47
47
  export declare interface GroupMetadataModel extends ModelProxy<Props, Session, Derived> {
48
48
  }
49
- /** @whatsapp 78688 */
49
+ /** @whatsapp 14423 */
50
50
  export declare class GroupMetadataModel extends Model {
51
51
  idClass: typeof Wid;
52
52
  participants: ParticipantCollection;
@@ -25,10 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 27009 */
28
+ /** @whatsapp 24137 */
29
29
  export declare interface LabelItemModel extends ModelProxy<Props, Session, Derived> {
30
30
  }
31
- /** @whatsapp 27009 */
31
+ /** @whatsapp 24137 */
32
32
  export declare class LabelItemModel extends Model {
33
33
  constructor(proterties?: ModelPropertiesContructor<LabelItemModel>, options?: ModelOptions);
34
34
  }
@@ -26,10 +26,10 @@ interface Session {
26
26
  interface Derived {
27
27
  hexColor?: any;
28
28
  }
29
- /** @whatsapp 26277 */
29
+ /** @whatsapp 8803 */
30
30
  export declare interface LabelModel extends ModelProxy<Props, Session, Derived> {
31
31
  }
32
- /** @whatsapp 26277 */
32
+ /** @whatsapp 8803 */
33
33
  export declare class LabelModel extends Model {
34
34
  constructor(proterties?: ModelPropertiesContructor<LabelModel>, options?: ModelOptions);
35
35
  }
@@ -28,10 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 98140 */
31
+ /** @whatsapp 71306 */
32
32
  export declare interface LiveLocationModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 98140 */
34
+ /** @whatsapp 71306 */
35
35
  export declare class LiveLocationModel extends Model<LiveLocationCollection> {
36
36
  idClass: typeof Wid;
37
37
  constructor(proterties?: ModelPropertiesContructor<LiveLocationModel>, options?: ModelOptions);
@@ -38,10 +38,10 @@ interface Derived {
38
38
  isMe: boolean;
39
39
  valid?: any;
40
40
  }
41
- /** @whatsapp 36016 */
41
+ /** @whatsapp 57465 */
42
42
  export declare interface LiveLocationParticipantModel extends ModelProxy<Props, Session, Derived> {
43
43
  }
44
- /** @whatsapp 36016 */
44
+ /** @whatsapp 57465 */
45
45
  export declare class LiveLocationParticipantModel extends Model {
46
46
  idClass: typeof Wid;
47
47
  constructor(proterties?: ModelPropertiesContructor<LiveLocationParticipantModel>, options?: ModelOptions);
@@ -63,10 +63,10 @@ interface Session {
63
63
  interface Derived {
64
64
  streamable?: any;
65
65
  }
66
- /** @whatsapp 58446 */
66
+ /** @whatsapp 2320 */
67
67
  export declare interface MediaDataModel extends ModelProxy<Props, Session, Derived> {
68
68
  }
69
- /** @whatsapp 58446 */
69
+ /** @whatsapp 2320 */
70
70
  export declare class MediaDataModel extends Model {
71
71
  static TYPE?: any;
72
72
  constructor(proterties?: ModelPropertiesContructor<MediaDataModel>, options?: ModelOptions);
@@ -33,7 +33,7 @@ export interface ModelOptions {
33
33
  parent?: any;
34
34
  silent?: any;
35
35
  }
36
- /** @whatsapp 94077 */
36
+ /** @whatsapp 11290 */
37
37
  export declare class Model<Collection = undefined> extends EventEmitter {
38
38
  static Proxy: string;
39
39
  static idClass?: any;
@@ -30,7 +30,7 @@ export interface SessionChatBase {
30
30
  msgsLength: number;
31
31
  msgsChanged: number;
32
32
  }
33
- /** @whatsapp 23345 */
33
+ /** @whatsapp 58492 */
34
34
  export declare class ModelChatBase extends Model<ChatCollection> {
35
35
  msgs: MsgLoad;
36
36
  onEmptyMRM(): void;
@@ -24,10 +24,10 @@ interface Session {
24
24
  }
25
25
  interface Derived {
26
26
  }
27
- /** @whatsapp 270 */
27
+ /** @whatsapp 52846 */
28
28
  export declare interface MsgButtonReplyMsgModel extends ModelProxy<Props, Session, Derived> {
29
29
  }
30
- /** @whatsapp 270 */
30
+ /** @whatsapp 52846 */
31
31
  export declare class MsgButtonReplyMsgModel extends Model {
32
32
  idClass: typeof MsgKey;
33
33
  constructor(proterties?: ModelPropertiesContructor<MsgButtonReplyMsgModel>, options?: ModelOptions);
@@ -30,10 +30,10 @@ interface Session {
30
30
  interface Derived {
31
31
  settled?: any;
32
32
  }
33
- /** @whatsapp 34125 */
33
+ /** @whatsapp 54311 */
34
34
  export declare interface MsgInfoModel extends ModelProxy<Props, Session, Derived> {
35
35
  }
36
- /** @whatsapp 34125 */
36
+ /** @whatsapp 54311 */
37
37
  export declare class MsgInfoModel extends Model<MsgInfoCollection> {
38
38
  idClass: typeof MsgKey;
39
39
  constructor(proterties?: ModelPropertiesContructor<MsgInfoModel>, options?: ModelOptions);
@@ -284,10 +284,10 @@ interface Derived {
284
284
  initialPageSize?: any;
285
285
  productListHeaderImage?: any;
286
286
  }
287
- /** @whatsapp 93021 */
287
+ /** @whatsapp 17304 */
288
288
  export declare interface MsgModel extends ModelProxy<Props, Session, Derived> {
289
289
  }
290
- /** @whatsapp 93021 */
290
+ /** @whatsapp 17304 */
291
291
  export declare class MsgModel extends Model {
292
292
  idClass: typeof MsgKey;
293
293
  constructor(proterties: ModelPropertiesContructor<MsgModel, 'id'>, options?: ModelOptions);
@@ -27,10 +27,10 @@ interface Session {
27
27
  interface Derived {
28
28
  isMuted: boolean;
29
29
  }
30
- /** @whatsapp 16425 */
30
+ /** @whatsapp 40214 */
31
31
  export declare interface MuteModel extends ModelProxy<Props, Session, Derived> {
32
32
  }
33
- /** @whatsapp 16425 */
33
+ /** @whatsapp 40214 */
34
34
  export declare class MuteModel extends Model<MuteCollection> {
35
35
  idClass: typeof Wid;
36
36
  allowedIds?: any;
@@ -29,10 +29,10 @@ interface Session {
29
29
  interface Derived {
30
30
  mediaData?: any;
31
31
  }
32
- /** @whatsapp 82250 */
32
+ /** @whatsapp 52822 */
33
33
  export declare interface OrderItemModel extends ModelProxy<Props, Session, Derived> {
34
34
  }
35
- /** @whatsapp 82250 */
35
+ /** @whatsapp 52822 */
36
36
  export declare class OrderItemModel extends Model<OrderCollection> {
37
37
  constructor(proterties?: ModelPropertiesContructor<OrderItemModel>, options?: ModelOptions);
38
38
  getCollection(): OrderCollection;
@@ -32,10 +32,10 @@ interface Session {
32
32
  interface Derived {
33
33
  totalItemCount?: any;
34
34
  }
35
- /** @whatsapp 7190 */
35
+ /** @whatsapp 86761 */
36
36
  export declare interface OrderModel extends ModelProxy<Props, Session, Derived> {
37
37
  }
38
- /** @whatsapp 7190 */
38
+ /** @whatsapp 86761 */
39
39
  export declare class OrderModel extends Model<OrderCollection> {
40
40
  constructor(proterties?: ModelPropertiesContructor<OrderModel>, options?: ModelOptions);
41
41
  triggerItemCollectionUpdate(): any;
@@ -27,10 +27,10 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 74577 */
30
+ /** @whatsapp 45077 */
31
31
  export declare interface ParticipantModel extends ModelProxy<Props, Session, Derived> {
32
32
  }
33
- /** @whatsapp 74577 */
33
+ /** @whatsapp 45077 */
34
34
  export declare class ParticipantModel extends Model {
35
35
  idClass: typeof Wid;
36
36
  constructor(proterties?: ModelPropertiesContructor<ParticipantModel>, options?: ModelOptions);
@@ -26,10 +26,10 @@ interface Session {
26
26
  }
27
27
  interface Derived {
28
28
  }
29
- /** @whatsapp 80929 */
29
+ /** @whatsapp 94629 */
30
30
  export declare interface ProductCollModel extends ModelProxy<Props, Session, Derived> {
31
31
  }
32
- /** @whatsapp 80929 */
32
+ /** @whatsapp 94629 */
33
33
  export declare class ProductCollModel extends Model {
34
34
  constructor(proterties?: ModelPropertiesContructor<ProductCollModel>, options?: ModelOptions);
35
35
  addProducts(e?: any): any;
@@ -28,10 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 13446 */
31
+ /** @whatsapp 51954 */
32
32
  export declare interface ProductImageModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 13446 */
34
+ /** @whatsapp 51954 */
35
35
  export declare class ProductImageModel extends Model {
36
36
  constructor(proterties?: ModelPropertiesContructor<ProductImageModel>, options?: ModelOptions);
37
37
  triggerImageUpdate(): any;
@@ -25,10 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 37263 */
28
+ /** @whatsapp 89295 */
29
29
  export declare interface ProductMessageListModel extends ModelProxy<Props, Session, Derived> {
30
30
  }
31
- /** @whatsapp 37263 */
31
+ /** @whatsapp 89295 */
32
32
  export declare class ProductMessageListModel extends Model {
33
33
  idClass: typeof MsgKey;
34
34
  constructor(proterties?: ModelPropertiesContructor<ProductMessageListModel>, options?: ModelOptions);
@@ -47,10 +47,10 @@ interface Session {
47
47
  }
48
48
  interface Derived {
49
49
  }
50
- /** @whatsapp 37700 */
50
+ /** @whatsapp 9468 */
51
51
  export declare interface ProductModel extends ModelProxy<Props, Session, Derived> {
52
52
  }
53
- /** @whatsapp 37700 */
53
+ /** @whatsapp 9468 */
54
54
  export declare class ProductModel extends Model {
55
55
  constructor(proterties?: ModelPropertiesContructor<ProductModel>, options?: ModelOptions);
56
56
  triggerImageUpdate(): any;