@wppconnect/wa-js 2.7.2 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/config.d.ts +10 -0
  3. package/dist/contact/functions/getStatus.d.ts +1 -1
  4. package/dist/eventEmitter/eventEmitter.d.ts +5 -1
  5. package/dist/group/functions/addParticipants.d.ts +20 -1
  6. package/dist/group/functions/index.d.ts +1 -0
  7. package/dist/group/functions/setIcon.d.ts +31 -0
  8. package/dist/profile/functions/index.d.ts +1 -0
  9. package/dist/profile/functions/setMyProfilePicture.d.ts +32 -0
  10. package/dist/status/functions/index.d.ts +2 -0
  11. package/dist/status/functions/sendImageStatus.d.ts +26 -0
  12. package/dist/status/functions/sendVideoStatus.d.ts +26 -0
  13. package/dist/util/index.d.ts +1 -0
  14. package/dist/{profile/functions/queryExists.d.ts → util/resizeImage.d.ts} +2 -5
  15. package/dist/whatsapp/collections/AggReactionsCollection.d.ts +3 -1
  16. package/dist/whatsapp/collections/BaseCollection.d.ts +4 -2
  17. package/dist/whatsapp/collections/BlocklistCollection.d.ts +3 -1
  18. package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +3 -1
  19. package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +3 -1
  20. package/dist/whatsapp/collections/CallCollection.d.ts +1 -0
  21. package/dist/whatsapp/collections/CartCollection.d.ts +3 -1
  22. package/dist/whatsapp/collections/CartItemCollection.d.ts +3 -1
  23. package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
  24. package/dist/whatsapp/collections/ChatCollection.d.ts +3 -1
  25. package/dist/whatsapp/collections/ChatstateCollection.d.ts +3 -1
  26. package/dist/whatsapp/collections/Collection.d.ts +6 -2
  27. package/dist/whatsapp/collections/ContactCollection.d.ts +5 -4
  28. package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +3 -1
  29. package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +3 -1
  30. package/dist/whatsapp/collections/LabelCollection.d.ts +3 -1
  31. package/dist/whatsapp/collections/LabelItemCollection.d.ts +3 -1
  32. package/dist/whatsapp/collections/LiveLocationCollection.d.ts +3 -1
  33. package/dist/whatsapp/collections/MsgCollection.d.ts +3 -1
  34. package/dist/whatsapp/collections/MsgInfoCollection.d.ts +3 -1
  35. package/dist/whatsapp/collections/OrderCollection.d.ts +3 -1
  36. package/dist/whatsapp/collections/OrderItemCollection.d.ts +3 -1
  37. package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -0
  38. package/dist/whatsapp/collections/PresenceCollection.d.ts +3 -1
  39. package/dist/whatsapp/collections/ProductCollCollection.d.ts +3 -1
  40. package/dist/whatsapp/collections/ProductCollection.d.ts +3 -1
  41. package/dist/whatsapp/collections/ProductImageCollection.d.ts +3 -1
  42. package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +3 -1
  43. package/dist/whatsapp/collections/QuickReplyCollection.d.ts +3 -1
  44. package/dist/whatsapp/collections/ReactionsCollection.d.ts +3 -1
  45. package/dist/whatsapp/collections/ReactionsSendersCollection.d.ts +3 -1
  46. package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +3 -1
  47. package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -0
  48. package/dist/whatsapp/collections/StarredMsgCollection.d.ts +3 -1
  49. package/dist/whatsapp/collections/StatusV3Collection.d.ts +3 -1
  50. package/dist/whatsapp/collections/StickerCollection.d.ts +3 -1
  51. package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -0
  52. package/dist/whatsapp/collections/StickerSearchCollection.d.ts +3 -1
  53. package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +3 -1
  54. package/dist/whatsapp/enums/ACK.d.ts +3 -0
  55. package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
  56. package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -0
  57. package/dist/whatsapp/enums/LogoutReason.d.ts +1 -0
  58. package/dist/whatsapp/enums/MSG_TYPE.d.ts +2 -0
  59. package/dist/whatsapp/enums/SendMsgResult.d.ts +3 -1
  60. package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +3 -1
  61. package/dist/whatsapp/functions/blockContact.d.ts +6 -2
  62. package/dist/whatsapp/functions/createMsgProtobuf.d.ts +3 -1
  63. package/dist/whatsapp/functions/createOrUpdateReactions.d.ts +3 -1
  64. package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
  65. package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
  66. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
  67. package/dist/whatsapp/functions/findChat.d.ts +3 -1
  68. package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -0
  69. package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
  70. package/dist/whatsapp/functions/generateVideoThumbsAndDuration.d.ts +2 -1
  71. package/dist/whatsapp/functions/getFanOutList.d.ts +2 -0
  72. package/dist/whatsapp/functions/getGroupSenderKeyList.d.ts +6 -0
  73. package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -0
  74. package/dist/whatsapp/functions/groupParticipants.d.ts +12 -4
  75. package/dist/whatsapp/functions/handleAck.d.ts +12 -3
  76. package/dist/whatsapp/functions/index.d.ts +2 -0
  77. package/dist/whatsapp/functions/isAuthenticated.d.ts +2 -0
  78. package/dist/whatsapp/functions/markSeen.d.ts +3 -1
  79. package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +1 -0
  80. package/dist/whatsapp/functions/products.d.ts +12 -4
  81. package/dist/whatsapp/functions/profilePic.d.ts +7 -1
  82. package/dist/whatsapp/functions/randomId.d.ts +1 -0
  83. package/dist/whatsapp/functions/sendClear.d.ts +3 -1
  84. package/dist/whatsapp/functions/sendDelete.d.ts +3 -1
  85. package/dist/whatsapp/functions/sendExitGroup.d.ts +3 -1
  86. package/dist/whatsapp/functions/sendGroupParticipants.d.ts +42 -0
  87. package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +3 -1
  88. package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +3 -1
  89. package/dist/whatsapp/functions/sendReactionToMsg.d.ts +3 -1
  90. package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +3 -1
  91. package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +3 -1
  92. package/dist/whatsapp/functions/setArchive.d.ts +1 -0
  93. package/dist/whatsapp/functions/setGroup.d.ts +9 -3
  94. package/dist/whatsapp/functions/setPin.d.ts +1 -0
  95. package/dist/whatsapp/functions/status.d.ts +2 -0
  96. package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +3 -1
  97. package/dist/whatsapp/functions/updateParticipants.d.ts +27 -0
  98. package/dist/whatsapp/functions/uploadProductImage.d.ts +3 -1
  99. package/dist/whatsapp/functions/uploadThumbnail.d.ts +1 -0
  100. package/dist/whatsapp/misc/Base64.d.ts +3 -1
  101. package/dist/whatsapp/misc/Browser.d.ts +1 -0
  102. package/dist/whatsapp/misc/ChatPresence.d.ts +3 -1
  103. package/dist/whatsapp/misc/Cmd.d.ts +2 -0
  104. package/dist/whatsapp/misc/Conn.d.ts +3 -1
  105. package/dist/whatsapp/misc/Constants.d.ts +1 -0
  106. package/dist/whatsapp/misc/EventEmitter.d.ts +1 -0
  107. package/dist/whatsapp/misc/Features.d.ts +1 -0
  108. package/dist/whatsapp/misc/ImageUtils.d.ts +1 -0
  109. package/dist/whatsapp/misc/Locale.d.ts +1 -0
  110. package/dist/whatsapp/misc/MediaBlobCache.d.ts +6 -2
  111. package/dist/whatsapp/misc/MediaEntry.d.ts +2 -1
  112. package/dist/whatsapp/misc/MediaObject.d.ts +3 -1
  113. package/dist/whatsapp/misc/MediaObjectUtil.d.ts +3 -1
  114. package/dist/whatsapp/misc/MediaPrep.d.ts +3 -1
  115. package/dist/whatsapp/misc/MediaUtils.d.ts +3 -1
  116. package/dist/whatsapp/misc/MsgKey.d.ts +1 -0
  117. package/dist/whatsapp/misc/MsgLoadState.d.ts +6 -2
  118. package/dist/whatsapp/misc/OpaqueData.d.ts +6 -2
  119. package/dist/whatsapp/misc/Socket.d.ts +3 -1
  120. package/dist/whatsapp/misc/Stream.d.ts +3 -1
  121. package/dist/whatsapp/misc/UserPrefs.d.ts +1 -0
  122. package/dist/whatsapp/misc/VCard.d.ts +1 -0
  123. package/dist/whatsapp/misc/Wap.d.ts +2 -0
  124. package/dist/whatsapp/misc/Wid.d.ts +1 -0
  125. package/dist/whatsapp/misc/WidFactory.d.ts +1 -0
  126. package/dist/whatsapp/models/AggReactionsModel.d.ts +2 -0
  127. package/dist/whatsapp/models/AttachMediaModel.d.ts +6 -2
  128. package/dist/whatsapp/models/BlocklistModel.d.ts +6 -2
  129. package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +6 -2
  130. package/dist/whatsapp/models/BusinessProfileModel.d.ts +6 -2
  131. package/dist/whatsapp/models/CallModel.d.ts +2 -0
  132. package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -0
  133. package/dist/whatsapp/models/CartItemModel.d.ts +6 -2
  134. package/dist/whatsapp/models/CartModel.d.ts +6 -2
  135. package/dist/whatsapp/models/CatalogModel.d.ts +6 -2
  136. package/dist/whatsapp/models/ChatPreferenceModel.d.ts +6 -2
  137. package/dist/whatsapp/models/ChatstateModel.d.ts +6 -2
  138. package/dist/whatsapp/models/ConnModel.d.ts +6 -2
  139. package/dist/whatsapp/models/ContactModel.d.ts +6 -2
  140. package/dist/whatsapp/models/ConversionTupleModel.d.ts +6 -2
  141. package/dist/whatsapp/models/EmojiVariantModel.d.ts +6 -2
  142. package/dist/whatsapp/models/GroupMetadataModel.d.ts +6 -2
  143. package/dist/whatsapp/models/LabelItemModel.d.ts +6 -2
  144. package/dist/whatsapp/models/LabelModel.d.ts +6 -2
  145. package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +6 -2
  146. package/dist/whatsapp/models/MediaDataModel.d.ts +6 -2
  147. package/dist/whatsapp/models/Model.d.ts +3 -1
  148. package/dist/whatsapp/models/ModelChatBase.d.ts +3 -1
  149. package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +6 -2
  150. package/dist/whatsapp/models/MsgInfoModel.d.ts +6 -2
  151. package/dist/whatsapp/models/MuteModel.d.ts +6 -2
  152. package/dist/whatsapp/models/OrderItemModel.d.ts +6 -2
  153. package/dist/whatsapp/models/OrderModel.d.ts +6 -2
  154. package/dist/whatsapp/models/ParticipantModel.d.ts +6 -2
  155. package/dist/whatsapp/models/PresenceModel.d.ts +6 -2
  156. package/dist/whatsapp/models/ProductCollModel.d.ts +6 -2
  157. package/dist/whatsapp/models/ProductImageModel.d.ts +6 -2
  158. package/dist/whatsapp/models/ProductMessageListModel.d.ts +6 -2
  159. package/dist/whatsapp/models/ProductModel.d.ts +6 -2
  160. package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +6 -2
  161. package/dist/whatsapp/models/QuickReplyModel.d.ts +6 -2
  162. package/dist/whatsapp/models/ReactionsModel.d.ts +2 -0
  163. package/dist/whatsapp/models/ReactionsSendersModel.d.ts +2 -0
  164. package/dist/whatsapp/models/RecentStickerModel.d.ts +6 -2
  165. package/dist/whatsapp/models/ReplyButtonModel.d.ts +6 -2
  166. package/dist/whatsapp/models/StatusModel.d.ts +6 -2
  167. package/dist/whatsapp/models/StatusV3Model.d.ts +9 -5
  168. package/dist/whatsapp/models/StickerModel.d.ts +2 -0
  169. package/dist/whatsapp/models/StickerPackModel.d.ts +6 -2
  170. package/dist/whatsapp/models/StreamModel.d.ts +6 -2
  171. package/dist/whatsapp/models/TemplateButtonModel.d.ts +6 -2
  172. package/dist/whatsapp/models/UnreadMentionModel.d.ts +6 -2
  173. package/dist/whatsapp/models/WebCallModel.d.ts +2 -0
  174. package/dist/whatsapp/multidevice/adv.d.ts +1 -0
  175. package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -0
  176. package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -0
  177. package/dist/whatsapp/stores.d.ts +76 -25
  178. package/dist/wppconnect-wa.js +1 -1
  179. package/dist/wppconnect-wa.js.LICENSE.txt +10 -0
  180. package/package.json +20 -19
  181. package/dist/eventEmitter/index.d.ts +0 -195
@@ -43,10 +43,14 @@ interface Session {
43
43
  interface Derived {
44
44
  groupInviteLink?: any;
45
45
  }
46
- /** @whatsapp 14423 */
46
+ /** @whatsapp 14423
47
+ * @whatsapp 614423 >= 2.2222.8
48
+ */
47
49
  export declare interface GroupMetadataModel extends ModelProxy<Props, Session, Derived> {
48
50
  }
49
- /** @whatsapp 14423 */
51
+ /** @whatsapp 14423
52
+ * @whatsapp 614423 >= 2.2222.8
53
+ */
50
54
  export declare class GroupMetadataModel extends Model {
51
55
  idClass: typeof Wid;
52
56
  participants: ParticipantCollection;
@@ -25,10 +25,14 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 24137 */
28
+ /** @whatsapp 24137
29
+ * @whatsapp 724137 >= 2.2222.8
30
+ */
29
31
  export declare interface LabelItemModel extends ModelProxy<Props, Session, Derived> {
30
32
  }
31
- /** @whatsapp 24137 */
33
+ /** @whatsapp 24137
34
+ * @whatsapp 724137 >= 2.2222.8
35
+ */
32
36
  export declare class LabelItemModel extends Model {
33
37
  constructor(proterties?: ModelPropertiesContructor<LabelItemModel>, options?: ModelOptions);
34
38
  }
@@ -27,10 +27,14 @@ interface Session {
27
27
  interface Derived {
28
28
  hexColor: string;
29
29
  }
30
- /** @whatsapp 8803 */
30
+ /** @whatsapp 8803
31
+ * @whatsapp 208803 >= 2.2222.8
32
+ */
31
33
  export declare interface LabelModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 8803 */
35
+ /** @whatsapp 8803
36
+ * @whatsapp 208803 >= 2.2222.8
37
+ */
34
38
  export declare class LabelModel extends Model {
35
39
  constructor(proterties?: ModelPropertiesContructor<LabelModel>, options?: ModelOptions);
36
40
  }
@@ -38,10 +38,14 @@ interface Derived {
38
38
  isMe: boolean;
39
39
  valid?: any;
40
40
  }
41
- /** @whatsapp 57465 */
41
+ /** @whatsapp 57465
42
+ * @whatsapp 257465 >= 2.2222.8
43
+ */
42
44
  export declare interface LiveLocationParticipantModel extends ModelProxy<Props, Session, Derived> {
43
45
  }
44
- /** @whatsapp 57465 */
46
+ /** @whatsapp 57465
47
+ * @whatsapp 257465 >= 2.2222.8
48
+ */
45
49
  export declare class LiveLocationParticipantModel extends Model {
46
50
  idClass: typeof Wid;
47
51
  constructor(proterties?: ModelPropertiesContructor<LiveLocationParticipantModel>, options?: ModelOptions);
@@ -63,10 +63,14 @@ interface Session {
63
63
  interface Derived {
64
64
  streamable?: any;
65
65
  }
66
- /** @whatsapp 2320 */
66
+ /** @whatsapp 2320
67
+ * @whatsapp 502320 >= 2.2222.8
68
+ */
67
69
  export declare interface MediaDataModel extends ModelProxy<Props, Session, Derived> {
68
70
  }
69
- /** @whatsapp 2320 */
71
+ /** @whatsapp 2320
72
+ * @whatsapp 502320 >= 2.2222.8
73
+ */
70
74
  export declare class MediaDataModel extends Model {
71
75
  static TYPE?: any;
72
76
  constructor(proterties?: ModelPropertiesContructor<MediaDataModel>, options?: ModelOptions);
@@ -33,7 +33,9 @@ export interface ModelOptions {
33
33
  parent?: any;
34
34
  silent?: any;
35
35
  }
36
- /** @whatsapp 11290 */
36
+ /** @whatsapp 11290
37
+ * @whatsapp 411290 >= 2.2222.8
38
+ */
37
39
  export declare class Model<Collection = undefined> extends EventEmitter {
38
40
  static Proxy: string;
39
41
  static idClass?: any;
@@ -30,7 +30,9 @@ export interface SessionChatBase {
30
30
  msgsLength: number;
31
31
  msgsChanged: number;
32
32
  }
33
- /** @whatsapp 58492 */
33
+ /** @whatsapp 58492
34
+ * @whatsapp 558492 >= 2.2222.8
35
+ */
34
36
  export declare class ModelChatBase extends Model<ChatCollection> {
35
37
  msgs: MsgLoad;
36
38
  onEmptyMRM(): void;
@@ -24,10 +24,14 @@ interface Session {
24
24
  }
25
25
  interface Derived {
26
26
  }
27
- /** @whatsapp 52846 */
27
+ /** @whatsapp 52846
28
+ * @whatsapp 252846 >= 2.2222.8
29
+ */
28
30
  export declare interface MsgButtonReplyMsgModel extends ModelProxy<Props, Session, Derived> {
29
31
  }
30
- /** @whatsapp 52846 */
32
+ /** @whatsapp 52846
33
+ * @whatsapp 252846 >= 2.2222.8
34
+ */
31
35
  export declare class MsgButtonReplyMsgModel extends Model {
32
36
  idClass: typeof MsgKey;
33
37
  constructor(proterties?: ModelPropertiesContructor<MsgButtonReplyMsgModel>, options?: ModelOptions);
@@ -30,10 +30,14 @@ interface Session {
30
30
  interface Derived {
31
31
  settled?: any;
32
32
  }
33
- /** @whatsapp 54311 */
33
+ /** @whatsapp 54311
34
+ * @whatsapp 754311 >= 2.2222.8
35
+ */
34
36
  export declare interface MsgInfoModel extends ModelProxy<Props, Session, Derived> {
35
37
  }
36
- /** @whatsapp 54311 */
38
+ /** @whatsapp 54311
39
+ * @whatsapp 754311 >= 2.2222.8
40
+ */
37
41
  export declare class MsgInfoModel extends Model<MsgInfoCollection> {
38
42
  idClass: typeof MsgKey;
39
43
  constructor(proterties?: ModelPropertiesContructor<MsgInfoModel>, options?: ModelOptions);
@@ -27,10 +27,14 @@ interface Session {
27
27
  interface Derived {
28
28
  isMuted: boolean;
29
29
  }
30
- /** @whatsapp 40214 */
30
+ /** @whatsapp 40214
31
+ * @whatsapp 440214 >= 2.2222.8
32
+ */
31
33
  export declare interface MuteModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 40214 */
35
+ /** @whatsapp 40214
36
+ * @whatsapp 440214 >= 2.2222.8
37
+ */
34
38
  export declare class MuteModel extends Model<MuteCollection> {
35
39
  idClass: typeof Wid;
36
40
  allowedIds?: any;
@@ -29,10 +29,14 @@ interface Session {
29
29
  interface Derived {
30
30
  mediaData?: any;
31
31
  }
32
- /** @whatsapp 52822 */
32
+ /** @whatsapp 52822
33
+ * @whatsapp 852822 >= 2.2222.8
34
+ */
33
35
  export declare interface OrderItemModel extends ModelProxy<Props, Session, Derived> {
34
36
  }
35
- /** @whatsapp 52822 */
37
+ /** @whatsapp 52822
38
+ * @whatsapp 852822 >= 2.2222.8
39
+ */
36
40
  export declare class OrderItemModel extends Model<OrderCollection> {
37
41
  constructor(proterties?: ModelPropertiesContructor<OrderItemModel>, options?: ModelOptions);
38
42
  getCollection(): OrderCollection;
@@ -32,10 +32,14 @@ interface Session {
32
32
  interface Derived {
33
33
  totalItemCount?: any;
34
34
  }
35
- /** @whatsapp 86761 */
35
+ /** @whatsapp 86761
36
+ * @whatsapp 286761 >= 2.2222.8
37
+ */
36
38
  export declare interface OrderModel extends ModelProxy<Props, Session, Derived> {
37
39
  }
38
- /** @whatsapp 86761 */
40
+ /** @whatsapp 86761
41
+ * @whatsapp 286761 >= 2.2222.8
42
+ */
39
43
  export declare class OrderModel extends Model<OrderCollection> {
40
44
  constructor(proterties?: ModelPropertiesContructor<OrderModel>, options?: ModelOptions);
41
45
  triggerItemCollectionUpdate(): any;
@@ -27,10 +27,14 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 45077 */
30
+ /** @whatsapp 45077
31
+ * @whatsapp 245077 >= 2.2222.8
32
+ */
31
33
  export declare interface ParticipantModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 45077 */
35
+ /** @whatsapp 45077
36
+ * @whatsapp 245077 >= 2.2222.8
37
+ */
34
38
  export declare class ParticipantModel extends Model {
35
39
  idClass: typeof Wid;
36
40
  constructor(proterties?: ModelPropertiesContructor<ParticipantModel>, options?: ModelOptions);
@@ -35,10 +35,14 @@ interface Derived {
35
35
  isGroup: boolean;
36
36
  isUser: boolean;
37
37
  }
38
- /** @whatsapp 30000 */
38
+ /** @whatsapp 30000
39
+ * @whatsapp 330000 >= 2.2222.8
40
+ */
39
41
  export declare interface PresenceModel extends ModelProxy<Props, Session, Derived> {
40
42
  }
41
- /** @whatsapp 30000 */
43
+ /** @whatsapp 30000
44
+ * @whatsapp 330000 >= 2.2222.8
45
+ */
42
46
  export declare class PresenceModel extends Model {
43
47
  idClass: typeof Wid;
44
48
  allowedIds?: any;
@@ -26,10 +26,14 @@ interface Session {
26
26
  }
27
27
  interface Derived {
28
28
  }
29
- /** @whatsapp 94629 */
29
+ /** @whatsapp 94629
30
+ * @whatsapp 394629 >= 2.2222.8
31
+ */
30
32
  export declare interface ProductCollModel extends ModelProxy<Props, Session, Derived> {
31
33
  }
32
- /** @whatsapp 94629 */
34
+ /** @whatsapp 94629
35
+ * @whatsapp 394629 >= 2.2222.8
36
+ */
33
37
  export declare class ProductCollModel extends Model {
34
38
  constructor(proterties?: ModelPropertiesContructor<ProductCollModel>, options?: ModelOptions);
35
39
  addProducts(e?: any): any;
@@ -28,10 +28,14 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 51954 */
31
+ /** @whatsapp 51954
32
+ * @whatsapp 951954 >= 2.2222.8
33
+ */
32
34
  export declare interface ProductImageModel extends ModelProxy<Props, Session, Derived> {
33
35
  }
34
- /** @whatsapp 51954 */
36
+ /** @whatsapp 51954
37
+ * @whatsapp 951954 >= 2.2222.8
38
+ */
35
39
  export declare class ProductImageModel extends Model {
36
40
  constructor(proterties?: ModelPropertiesContructor<ProductImageModel>, options?: ModelOptions);
37
41
  triggerImageUpdate(): any;
@@ -25,10 +25,14 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 89295 */
28
+ /** @whatsapp 89295
29
+ * @whatsapp 989295 >= 2.2222.8
30
+ */
29
31
  export declare interface ProductMessageListModel extends ModelProxy<Props, Session, Derived> {
30
32
  }
31
- /** @whatsapp 89295 */
33
+ /** @whatsapp 89295
34
+ * @whatsapp 989295 >= 2.2222.8
35
+ */
32
36
  export declare class ProductMessageListModel extends Model {
33
37
  idClass: typeof MsgKey;
34
38
  constructor(proterties?: ModelPropertiesContructor<ProductMessageListModel>, options?: ModelOptions);
@@ -47,10 +47,14 @@ interface Session {
47
47
  }
48
48
  interface Derived {
49
49
  }
50
- /** @whatsapp 9468 */
50
+ /** @whatsapp 9468
51
+ * @whatsapp 509468 >= 2.2222.8
52
+ */
51
53
  export declare interface ProductModel extends ModelProxy<Props, Session, Derived> {
52
54
  }
53
- /** @whatsapp 9468 */
55
+ /** @whatsapp 9468
56
+ * @whatsapp 509468 >= 2.2222.8
57
+ */
54
58
  export declare class ProductModel extends Model {
55
59
  constructor(proterties?: ModelPropertiesContructor<ProductModel>, options?: ModelOptions);
56
60
  triggerImageUpdate(): any;
@@ -34,10 +34,14 @@ interface Derived {
34
34
  imgFull?: string | null;
35
35
  fallbackType?: 'SINGLE' | 'GROUP';
36
36
  }
37
- /** @whatsapp 93836 */
37
+ /** @whatsapp 93836
38
+ * @whatsapp 793836 >= 2.2222.8
39
+ */
38
40
  export declare interface ProfilePicThumbModel extends ModelProxy<Props, Session, Derived> {
39
41
  }
40
- /** @whatsapp 93836 */
42
+ /** @whatsapp 93836
43
+ * @whatsapp 793836 >= 2.2222.8
44
+ */
41
45
  export declare class ProfilePicThumbModel extends Model<ProfilePicThumbCollection> {
42
46
  idClass: typeof Wid;
43
47
  constructor(proterties?: ModelPropertiesContructor<ProfilePicThumbModel>, options?: ModelOptions);
@@ -29,10 +29,14 @@ interface Session {
29
29
  interface Derived {
30
30
  totalCount?: any;
31
31
  }
32
- /** @whatsapp 47169 */
32
+ /** @whatsapp 47169
33
+ * @whatsapp 947169 >= 2.2222.8
34
+ */
33
35
  export declare interface QuickReplyModel extends ModelProxy<Props, Session, Derived> {
34
36
  }
35
- /** @whatsapp 47169 */
37
+ /** @whatsapp 47169
38
+ * @whatsapp 947169 >= 2.2222.8
39
+ */
36
40
  export declare class QuickReplyModel extends Model<QuickReplyCollection> {
37
41
  constructor(proterties?: ModelPropertiesContructor<QuickReplyModel>, options?: ModelOptions);
38
42
  useOnce(): any;
@@ -27,11 +27,13 @@ interface Derived {
27
27
  }
28
28
  /** @whatsapp 80666
29
29
  * @whatsapp 81130 >= 2.2220.8
30
+ * @whatsapp 981130 >= 2.2222.8
30
31
  */
31
32
  export declare interface ReactionsModel extends ModelProxy<Props, Session, Derived> {
32
33
  }
33
34
  /** @whatsapp 80666
34
35
  * @whatsapp 81130 >= 2.2220.8
36
+ * @whatsapp 981130 >= 2.2222.8
35
37
  */
36
38
  export declare class ReactionsModel extends Model {
37
39
  constructor(proterties?: ModelPropertiesContructor<ReactionsModel>, options?: ModelOptions);
@@ -35,11 +35,13 @@ interface Derived {
35
35
  }
36
36
  /**
37
37
  * @whatsapp 81130
38
+ * @whatsapp 981130 >= 2.2222.8
38
39
  */
39
40
  export declare interface ReactionsSendersModel extends ModelProxy<Props, Session, Derived> {
40
41
  }
41
42
  /**
42
43
  * @whatsapp 81130
44
+ * @whatsapp 981130 >= 2.2222.8
43
45
  */
44
46
  export declare class ReactionsSendersModel extends Model {
45
47
  constructor(proterties?: ModelPropertiesContructor<ReactionsSendersModel>, options?: ModelOptions);
@@ -25,10 +25,14 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 20238 */
28
+ /** @whatsapp 20238
29
+ * @whatsapp 620238 >= 2.2222.8
30
+ */
29
31
  export declare interface RecentStickerModel extends ModelProxy<Props, Session, Derived> {
30
32
  }
31
- /** @whatsapp 20238 */
33
+ /** @whatsapp 20238
34
+ * @whatsapp 620238 >= 2.2222.8
35
+ */
32
36
  export declare class RecentStickerModel extends Model {
33
37
  constructor(proterties?: ModelPropertiesContructor<RecentStickerModel>, options?: ModelOptions);
34
38
  }
@@ -24,10 +24,14 @@ interface Session {
24
24
  }
25
25
  interface Derived {
26
26
  }
27
- /** @whatsapp 15871 */
27
+ /** @whatsapp 15871
28
+ * @whatsapp 315871 >= 2.2222.8
29
+ */
28
30
  export declare interface ReplyButtonModel extends ModelProxy<Props, Session, Derived> {
29
31
  }
30
- /** @whatsapp 15871 */
32
+ /** @whatsapp 15871
33
+ * @whatsapp 315871 >= 2.2222.8
34
+ */
31
35
  export declare class ReplyButtonModel extends Model {
32
36
  constructor(proterties?: ModelPropertiesContructor<ReplyButtonModel>, options?: ModelOptions);
33
37
  }
@@ -25,10 +25,14 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 67234 */
28
+ /** @whatsapp 67234
29
+ * @whatsapp 167234 >= 2.2222.8
30
+ */
29
31
  export declare interface StatusModel extends ModelProxy<Props, Session, Derived> {
30
32
  }
31
- /** @whatsapp 67234 */
33
+ /** @whatsapp 67234
34
+ * @whatsapp 167234 >= 2.2222.8
35
+ */
32
36
  export declare class StatusModel extends Model<StatusCollection> {
33
37
  idClass: typeof Wid;
34
38
  constructor(proterties?: ModelPropertiesContructor<StatusModel>, options?: ModelOptions);
@@ -15,8 +15,8 @@
15
15
  */
16
16
  import { StatusV3Collection } from '../collections';
17
17
  import { Wid } from '../misc';
18
- import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
19
- import { PropsChatBase, SessionChatBase } from './ModelChatBase';
18
+ import { ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
19
+ import { ModelChatBase, PropsChatBase, SessionChatBase } from './ModelChatBase';
20
20
  interface Props extends PropsChatBase {
21
21
  t?: any;
22
22
  unreadCount?: any;
@@ -35,11 +35,15 @@ interface Derived {
35
35
  readCount?: any;
36
36
  lastStatus?: any;
37
37
  }
38
- /** @whatsapp 47896 */
38
+ /** @whatsapp 47896
39
+ * @whatsapp 547896 >= 2.2222.8
40
+ */
39
41
  export declare interface StatusV3Model extends ModelProxy<Props, Session, Derived> {
40
42
  }
41
- /** @whatsapp 47896 */
42
- export declare class StatusV3Model extends Model<StatusV3Collection> {
43
+ /** @whatsapp 47896
44
+ * @whatsapp 547896 >= 2.2222.8
45
+ */
46
+ export declare class StatusV3Model extends ModelChatBase {
43
47
  idClass: typeof Wid;
44
48
  constructor(proterties?: ModelPropertiesContructor<StatusV3Model>, options?: ModelOptions);
45
49
  setupStatusExpiration(): any;
@@ -39,11 +39,13 @@ interface Derived {
39
39
  }
40
40
  /** @whatsapp 99718
41
41
  * @whatsapp 89867 >= 2.2204.13
42
+ * @whatsapp 689867 >= 2.2222.8
42
43
  */
43
44
  export declare interface StickerModel extends ModelProxy<Props, Session, Derived> {
44
45
  }
45
46
  /** @whatsapp 99718
46
47
  * @whatsapp 89867 >= 2.2204.13
48
+ * @whatsapp 689867 >= 2.2222.8
47
49
  */
48
50
  export declare class StickerModel extends Model {
49
51
  constructor(proterties?: ModelPropertiesContructor<StickerModel>, options?: ModelOptions);
@@ -39,10 +39,14 @@ interface Derived {
39
39
  isPlaceholder: boolean;
40
40
  isFirstParty: boolean;
41
41
  }
42
- /** @whatsapp 74470 */
42
+ /** @whatsapp 74470
43
+ * @whatsapp 574470 >= 2.2222.8
44
+ */
43
45
  export declare interface StickerPackModel extends ModelProxy<Props, Session, Derived> {
44
46
  }
45
- /** @whatsapp 74470 */
47
+ /** @whatsapp 74470
48
+ * @whatsapp 574470 >= 2.2222.8
49
+ */
46
50
  export declare class StickerPackModel extends Model {
47
51
  constructor(proterties?: ModelPropertiesContructor<StickerPackModel>, options?: ModelOptions);
48
52
  downloadMedia(): any;
@@ -38,10 +38,14 @@ interface Session {
38
38
  interface Derived {
39
39
  displayInfo?: any;
40
40
  }
41
- /** @whatsapp 8080 */
41
+ /** @whatsapp 8080
42
+ * @whatsapp 608080 >= 2.2222.8
43
+ */
42
44
  export declare interface StreamModel extends ModelProxy<Props, Session, Derived> {
43
45
  }
44
- /** @whatsapp 8080 */
46
+ /** @whatsapp 8080
47
+ * @whatsapp 608080 >= 2.2222.8
48
+ */
45
49
  export declare class StreamModel extends Model {
46
50
  constructor(proterties?: ModelPropertiesContructor<StreamModel>, options?: ModelOptions);
47
51
  markAvailable(): void;
@@ -28,10 +28,14 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 11897 */
31
+ /** @whatsapp 11897
32
+ * @whatsapp 311897 >= 2.2222.8
33
+ */
32
34
  export declare interface TemplateButtonModel extends ModelProxy<Props, Session, Derived> {
33
35
  }
34
- /** @whatsapp 11897 */
36
+ /** @whatsapp 11897
37
+ * @whatsapp 311897 >= 2.2222.8
38
+ */
35
39
  export declare class TemplateButtonModel extends Model {
36
40
  constructor(proterties?: ModelPropertiesContructor<TemplateButtonModel>, options?: ModelOptions);
37
41
  }
@@ -23,10 +23,14 @@ interface Session {
23
23
  }
24
24
  interface Derived {
25
25
  }
26
- /** @whatsapp 41809 */
26
+ /** @whatsapp 41809
27
+ * @whatsapp 441809 >= 2.2222.8
28
+ */
27
29
  export declare interface UnreadMentionModel extends ModelProxy<Props, Session, Derived> {
28
30
  }
29
- /** @whatsapp 41809 */
31
+ /** @whatsapp 41809
32
+ * @whatsapp 441809 >= 2.2222.8
33
+ */
30
34
  export declare class UnreadMentionModel extends Model {
31
35
  constructor(proterties?: ModelPropertiesContructor<UnreadMentionModel>, options?: ModelOptions);
32
36
  }
@@ -29,11 +29,13 @@ interface Derived {
29
29
  }
30
30
  /** @whatsapp 77107
31
31
  * @whatsapp 91932 >= 2.2204.13
32
+ * @whatsapp 277107 >= 2.2222.8
32
33
  */
33
34
  export declare interface WebCallModel extends ModelProxy<Props, Session, Derived> {
34
35
  }
35
36
  /** @whatsapp 77107
36
37
  * @whatsapp 91932 >= 2.2204.13
38
+ * @whatsapp 277107 >= 2.2222.8
37
39
  */
38
40
  export declare class WebCallModel extends Model {
39
41
  constructor(proterties?: ModelPropertiesContructor<WebCallModel>, options?: ModelOptions);
@@ -15,6 +15,7 @@
15
15
  */
16
16
  /** @whatsapp 46308
17
17
  * @whatsapp 24863 >= 2.2204.13
18
+ * @whatsapp 946308 >= 2.2222.8
18
19
  */
19
20
  export declare namespace adv {
20
21
  function generateADVSecretKey(): string;
@@ -27,6 +27,7 @@ declare class NoiseInfo {
27
27
  /** @whatsapp 15875
28
28
  * @whatsapp 14111 >= 2.2204.13
29
29
  * @whatsapp 34898 >= 2.2218.4
30
+ * @whatsapp 134898 >= 2.2222.8
30
31
  */
31
32
  export declare const waNoiseInfo: NoiseInfo;
32
33
  export {};
@@ -70,6 +70,7 @@ declare class SignalStore {
70
70
  }
71
71
  /** @whatsapp 11849
72
72
  * @whatsapp 40623 >= 2.2218.4
73
+ * @whatsapp 640623 >= 2.2222.8
73
74
  */
74
75
  export declare const waSignalStore: SignalStore;
75
76
  export {};