@wppconnect/wa-js 2.7.0 → 2.7.3

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 (169) hide show
  1. package/CHANGELOG.md +59 -221
  2. package/dist/config.d.ts +15 -1
  3. package/dist/contact/functions/getStatus.d.ts +1 -1
  4. package/dist/group/functions/addParticipants.d.ts +20 -1
  5. package/dist/gtag/Tracker.d.ts +51 -0
  6. package/dist/{gtag.d.ts → gtag/index.d.ts} +3 -2
  7. package/dist/whatsapp/collections/AggReactionsCollection.d.ts +3 -1
  8. package/dist/whatsapp/collections/BaseCollection.d.ts +4 -2
  9. package/dist/whatsapp/collections/BlocklistCollection.d.ts +3 -1
  10. package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +3 -1
  11. package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +3 -1
  12. package/dist/whatsapp/collections/CallCollection.d.ts +1 -0
  13. package/dist/whatsapp/collections/CartCollection.d.ts +3 -1
  14. package/dist/whatsapp/collections/CartItemCollection.d.ts +3 -1
  15. package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
  16. package/dist/whatsapp/collections/ChatCollection.d.ts +3 -1
  17. package/dist/whatsapp/collections/ChatstateCollection.d.ts +3 -1
  18. package/dist/whatsapp/collections/Collection.d.ts +6 -2
  19. package/dist/whatsapp/collections/ContactCollection.d.ts +5 -4
  20. package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +3 -1
  21. package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +3 -1
  22. package/dist/whatsapp/collections/LabelCollection.d.ts +3 -1
  23. package/dist/whatsapp/collections/LabelItemCollection.d.ts +3 -1
  24. package/dist/whatsapp/collections/LiveLocationCollection.d.ts +3 -1
  25. package/dist/whatsapp/collections/MsgCollection.d.ts +3 -1
  26. package/dist/whatsapp/collections/MsgInfoCollection.d.ts +3 -1
  27. package/dist/whatsapp/collections/OrderCollection.d.ts +3 -1
  28. package/dist/whatsapp/collections/OrderItemCollection.d.ts +3 -1
  29. package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -0
  30. package/dist/whatsapp/collections/PresenceCollection.d.ts +3 -1
  31. package/dist/whatsapp/collections/ProductCollCollection.d.ts +3 -1
  32. package/dist/whatsapp/collections/ProductCollection.d.ts +3 -1
  33. package/dist/whatsapp/collections/ProductImageCollection.d.ts +3 -1
  34. package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +3 -1
  35. package/dist/whatsapp/collections/QuickReplyCollection.d.ts +3 -1
  36. package/dist/whatsapp/collections/ReactionsCollection.d.ts +3 -1
  37. package/dist/whatsapp/collections/ReactionsSendersCollection.d.ts +3 -1
  38. package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +3 -1
  39. package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -0
  40. package/dist/whatsapp/collections/StarredMsgCollection.d.ts +3 -1
  41. package/dist/whatsapp/collections/StatusV3Collection.d.ts +3 -1
  42. package/dist/whatsapp/collections/StickerCollection.d.ts +3 -1
  43. package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -0
  44. package/dist/whatsapp/collections/StickerSearchCollection.d.ts +3 -1
  45. package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +3 -1
  46. package/dist/whatsapp/enums/ACK.d.ts +3 -0
  47. package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
  48. package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -0
  49. package/dist/whatsapp/enums/LogoutReason.d.ts +1 -0
  50. package/dist/whatsapp/enums/MSG_TYPE.d.ts +2 -0
  51. package/dist/whatsapp/enums/SendMsgResult.d.ts +3 -1
  52. package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +3 -1
  53. package/dist/whatsapp/functions/blockContact.d.ts +6 -2
  54. package/dist/whatsapp/functions/createMsgProtobuf.d.ts +3 -1
  55. package/dist/whatsapp/functions/createOrUpdateReactions.d.ts +3 -1
  56. package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
  57. package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
  58. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
  59. package/dist/whatsapp/functions/findChat.d.ts +3 -1
  60. package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -0
  61. package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
  62. package/dist/whatsapp/functions/generateVideoThumbsAndDuration.d.ts +2 -1
  63. package/dist/whatsapp/functions/getFanOutList.d.ts +1 -0
  64. package/dist/whatsapp/functions/getGroupSenderKeyList.d.ts +1 -0
  65. package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -0
  66. package/dist/whatsapp/functions/groupParticipants.d.ts +12 -4
  67. package/dist/whatsapp/functions/handleAck.d.ts +12 -3
  68. package/dist/whatsapp/functions/index.d.ts +1 -0
  69. package/dist/whatsapp/functions/isAuthenticated.d.ts +2 -0
  70. package/dist/whatsapp/functions/markSeen.d.ts +3 -1
  71. package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +1 -0
  72. package/dist/whatsapp/functions/products.d.ts +12 -4
  73. package/dist/whatsapp/functions/randomId.d.ts +1 -0
  74. package/dist/whatsapp/functions/sendClear.d.ts +3 -1
  75. package/dist/whatsapp/functions/sendDelete.d.ts +3 -1
  76. package/dist/whatsapp/functions/sendExitGroup.d.ts +3 -1
  77. package/dist/whatsapp/functions/sendGroupParticipants.d.ts +42 -0
  78. package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +3 -1
  79. package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +3 -1
  80. package/dist/whatsapp/functions/sendReactionToMsg.d.ts +3 -1
  81. package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +3 -1
  82. package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +3 -1
  83. package/dist/whatsapp/functions/setArchive.d.ts +1 -0
  84. package/dist/whatsapp/functions/setGroup.d.ts +9 -3
  85. package/dist/whatsapp/functions/setPin.d.ts +1 -0
  86. package/dist/whatsapp/functions/status.d.ts +2 -0
  87. package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +3 -1
  88. package/dist/whatsapp/functions/uploadProductImage.d.ts +3 -1
  89. package/dist/whatsapp/functions/uploadThumbnail.d.ts +1 -0
  90. package/dist/whatsapp/misc/Base64.d.ts +3 -1
  91. package/dist/whatsapp/misc/Browser.d.ts +1 -0
  92. package/dist/whatsapp/misc/ChatPresence.d.ts +3 -1
  93. package/dist/whatsapp/misc/Cmd.d.ts +2 -0
  94. package/dist/whatsapp/misc/Conn.d.ts +3 -1
  95. package/dist/whatsapp/misc/Constants.d.ts +1 -0
  96. package/dist/whatsapp/misc/EventEmitter.d.ts +1 -0
  97. package/dist/whatsapp/misc/Features.d.ts +1 -0
  98. package/dist/whatsapp/misc/ImageUtils.d.ts +1 -0
  99. package/dist/whatsapp/misc/Locale.d.ts +1 -0
  100. package/dist/whatsapp/misc/MediaBlobCache.d.ts +6 -2
  101. package/dist/whatsapp/misc/MediaEntry.d.ts +2 -1
  102. package/dist/whatsapp/misc/MediaObject.d.ts +3 -1
  103. package/dist/whatsapp/misc/MediaObjectUtil.d.ts +3 -1
  104. package/dist/whatsapp/misc/MediaPrep.d.ts +3 -1
  105. package/dist/whatsapp/misc/MediaUtils.d.ts +3 -1
  106. package/dist/whatsapp/misc/MsgKey.d.ts +1 -0
  107. package/dist/whatsapp/misc/MsgLoadState.d.ts +6 -2
  108. package/dist/whatsapp/misc/OpaqueData.d.ts +6 -2
  109. package/dist/whatsapp/misc/Socket.d.ts +3 -1
  110. package/dist/whatsapp/misc/Stream.d.ts +3 -1
  111. package/dist/whatsapp/misc/UserPrefs.d.ts +1 -0
  112. package/dist/whatsapp/misc/VCard.d.ts +1 -0
  113. package/dist/whatsapp/misc/Wap.d.ts +2 -0
  114. package/dist/whatsapp/misc/Wid.d.ts +1 -0
  115. package/dist/whatsapp/misc/WidFactory.d.ts +1 -0
  116. package/dist/whatsapp/models/AggReactionsModel.d.ts +2 -0
  117. package/dist/whatsapp/models/AttachMediaModel.d.ts +6 -2
  118. package/dist/whatsapp/models/BlocklistModel.d.ts +6 -2
  119. package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +6 -2
  120. package/dist/whatsapp/models/BusinessProfileModel.d.ts +6 -2
  121. package/dist/whatsapp/models/CallModel.d.ts +2 -0
  122. package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -0
  123. package/dist/whatsapp/models/CartItemModel.d.ts +6 -2
  124. package/dist/whatsapp/models/CartModel.d.ts +6 -2
  125. package/dist/whatsapp/models/CatalogModel.d.ts +6 -2
  126. package/dist/whatsapp/models/ChatPreferenceModel.d.ts +6 -2
  127. package/dist/whatsapp/models/ChatstateModel.d.ts +6 -2
  128. package/dist/whatsapp/models/ConnModel.d.ts +6 -2
  129. package/dist/whatsapp/models/ContactModel.d.ts +6 -2
  130. package/dist/whatsapp/models/ConversionTupleModel.d.ts +6 -2
  131. package/dist/whatsapp/models/EmojiVariantModel.d.ts +6 -2
  132. package/dist/whatsapp/models/GroupMetadataModel.d.ts +6 -2
  133. package/dist/whatsapp/models/LabelItemModel.d.ts +6 -2
  134. package/dist/whatsapp/models/LabelModel.d.ts +6 -2
  135. package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +6 -2
  136. package/dist/whatsapp/models/MediaDataModel.d.ts +6 -2
  137. package/dist/whatsapp/models/Model.d.ts +3 -1
  138. package/dist/whatsapp/models/ModelChatBase.d.ts +3 -1
  139. package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +6 -2
  140. package/dist/whatsapp/models/MsgInfoModel.d.ts +6 -2
  141. package/dist/whatsapp/models/MuteModel.d.ts +6 -2
  142. package/dist/whatsapp/models/OrderItemModel.d.ts +6 -2
  143. package/dist/whatsapp/models/OrderModel.d.ts +6 -2
  144. package/dist/whatsapp/models/ParticipantModel.d.ts +6 -2
  145. package/dist/whatsapp/models/PresenceModel.d.ts +6 -2
  146. package/dist/whatsapp/models/ProductCollModel.d.ts +6 -2
  147. package/dist/whatsapp/models/ProductImageModel.d.ts +6 -2
  148. package/dist/whatsapp/models/ProductMessageListModel.d.ts +6 -2
  149. package/dist/whatsapp/models/ProductModel.d.ts +6 -2
  150. package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +6 -2
  151. package/dist/whatsapp/models/QuickReplyModel.d.ts +6 -2
  152. package/dist/whatsapp/models/ReactionsModel.d.ts +2 -0
  153. package/dist/whatsapp/models/ReactionsSendersModel.d.ts +2 -0
  154. package/dist/whatsapp/models/RecentStickerModel.d.ts +6 -2
  155. package/dist/whatsapp/models/ReplyButtonModel.d.ts +6 -2
  156. package/dist/whatsapp/models/StatusModel.d.ts +6 -2
  157. package/dist/whatsapp/models/StatusV3Model.d.ts +6 -2
  158. package/dist/whatsapp/models/StickerModel.d.ts +2 -0
  159. package/dist/whatsapp/models/StickerPackModel.d.ts +6 -2
  160. package/dist/whatsapp/models/StreamModel.d.ts +6 -2
  161. package/dist/whatsapp/models/TemplateButtonModel.d.ts +6 -2
  162. package/dist/whatsapp/models/UnreadMentionModel.d.ts +6 -2
  163. package/dist/whatsapp/models/WebCallModel.d.ts +2 -0
  164. package/dist/whatsapp/multidevice/adv.d.ts +1 -0
  165. package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -0
  166. package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -0
  167. package/dist/whatsapp/stores.d.ts +76 -25
  168. package/dist/wppconnect-wa.js +1 -1
  169. package/package.json +7 -6
@@ -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 34949 */
16
+ /** @whatsapp 34949
17
+ * @whatsapp 534949 >= 2.2222.8
18
+ */
17
19
  export declare class OpaqueDataBase {
18
20
  released: boolean;
19
21
  retain(): void;
@@ -21,7 +23,9 @@ export declare class OpaqueDataBase {
21
23
  autoreleaseWhenPromiseCompletes(e: Promise<any>): void;
22
24
  throwIfReleased(e: any): void;
23
25
  }
24
- /** @whatsapp 34949 */
26
+ /** @whatsapp 34949
27
+ * @whatsapp 534949 >= 2.2222.8
28
+ */
25
29
  export declare class OpaqueData extends OpaqueDataBase {
26
30
  url(): string;
27
31
  getBase64(): string;
@@ -14,5 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { SocketModel } from '../models';
17
- /** @whatsapp 65044 */
17
+ /** @whatsapp 65044
18
+ * @whatsapp 765044 >= 2.2222.8
19
+ */
18
20
  export declare const Socket: SocketModel;
@@ -14,5 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { StreamModel } from '../models';
17
- /** @whatsapp 8080 */
17
+ /** @whatsapp 8080
18
+ * @whatsapp 608080 >= 2.2222.8
19
+ */
18
20
  export declare const Stream: StreamModel;
@@ -17,6 +17,7 @@ import { Wid } from './Wid';
17
17
  /** @whatsapp 99234
18
18
  * @whatsapp 11362 >= 2.2212.5
19
19
  * @whatsapp 78820 >= 2.2218.4
20
+ * @whatsapp 978820 >= 2.2222.8
20
21
  */
21
22
  export declare namespace UserPrefs {
22
23
  function setMe(wid: Wid): void;
@@ -21,6 +21,7 @@ export interface VCardData {
21
21
  }
22
22
  /** @whatsapp 93778
23
23
  * @whatsapp 78521 >= 2.2204.13
24
+ * @whatsapp 893778 >= 2.2222.8
24
25
  */
25
26
  export declare namespace VCard {
26
27
  function vcardFromContactModel(contact: ContactModel): VCardData;
@@ -16,6 +16,7 @@
16
16
  import { Wid } from '.';
17
17
  /** @whatsapp 86875
18
18
  * @whatsapp 56891 >= 2.2212.8
19
+ * @whatsapp 656891 >= 2.2222.8
19
20
  */
20
21
  export declare class WapClass {
21
22
  queryExist(contactId: string): Promise<{
@@ -31,5 +32,6 @@ export declare class WapClass {
31
32
  }
32
33
  /** @whatsapp 86875
33
34
  * @whatsapp 56891 >= 2.2212.8
35
+ * @whatsapp 656891 >= 2.2222.8
34
36
  */
35
37
  export declare const Wap: WapClass;
@@ -15,6 +15,7 @@
15
15
  */
16
16
  /** @whatsapp 89867
17
17
  * @whatsapp 39546 >= 2.2204.13
18
+ * @whatsapp 389867 >= 2.2222.8
18
19
  */
19
20
  export declare class Wid {
20
21
  constructor(id: string, options?: {
@@ -16,6 +16,7 @@
16
16
  import { Wid } from './Wid';
17
17
  /** @whatsapp 45454
18
18
  * @whatsapp 58021 >= 2.2204.13
19
+ * @whatsapp 745454 >= 2.2222.8
19
20
  */
20
21
  export declare namespace WidFactory {
21
22
  function createDeviceWid(wid: string): Wid;
@@ -26,11 +26,13 @@ interface Derived {
26
26
  }
27
27
  /**
28
28
  * @whatsapp 81130
29
+ * @whatsapp 981130 >= 2.2222.8
29
30
  */
30
31
  export declare interface AggReactionsModel extends ModelProxy<Props, Session, Derived> {
31
32
  }
32
33
  /**
33
34
  * @whatsapp 81130
35
+ * @whatsapp 981130 >= 2.2222.8
34
36
  */
35
37
  export declare class AggReactionsModel extends Model {
36
38
  constructor(proterties?: ModelPropertiesContructor<AggReactionsModel>, options?: ModelOptions);
@@ -46,10 +46,14 @@ interface Derived {
46
46
  filesize?: any;
47
47
  fileExt?: any;
48
48
  }
49
- /** @whatsapp 80666 */
49
+ /** @whatsapp 80666
50
+ * @whatsapp 480666 >= 2.2222.8
51
+ */
50
52
  export declare interface AttachMediaModel extends ModelProxy<Props, Session, Derived> {
51
53
  }
52
- /** @whatsapp 80666 */
54
+ /** @whatsapp 80666
55
+ * @whatsapp 480666 >= 2.2222.8
56
+ */
53
57
  export declare class AttachMediaModel extends Model {
54
58
  constructor(proterties?: ModelPropertiesContructor<AttachMediaModel>, options?: ModelOptions);
55
59
  processAttachment(e?: any): any;
@@ -24,10 +24,14 @@ interface Session {
24
24
  }
25
25
  interface Derived {
26
26
  }
27
- /** @whatsapp 89310 */
27
+ /** @whatsapp 89310
28
+ * @whatsapp 689310 >= 2.2222.8
29
+ */
28
30
  export declare interface BlocklistModel extends ModelProxy<Props, Session, Derived> {
29
31
  }
30
- /** @whatsapp 89310 */
32
+ /** @whatsapp 89310
33
+ * @whatsapp 689310 >= 2.2222.8
34
+ */
31
35
  export declare class BlocklistModel extends Model<BlocklistCollection> {
32
36
  idClass: typeof Wid;
33
37
  constructor(proterties?: ModelPropertiesContructor<BlocklistModel>, options?: ModelOptions);
@@ -25,10 +25,14 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /** @whatsapp 32742 */
28
+ /** @whatsapp 32742
29
+ * @whatsapp 132742 >= 2.2222.8
30
+ */
29
31
  export declare interface BusinessCategoriesResultModel extends ModelProxy<Props, Session, Derived> {
30
32
  }
31
- /** @whatsapp 32742 */
33
+ /** @whatsapp 32742
34
+ * @whatsapp 132742 >= 2.2222.8
35
+ */
32
36
  export declare class BusinessCategoriesResultModel extends Model<BusinessCategoriesResultCollection> {
33
37
  idClass: typeof Wid;
34
38
  constructor(proterties?: ModelPropertiesContructor<BusinessCategoriesResultModel>, options?: ModelOptions);
@@ -36,10 +36,14 @@ interface Session {
36
36
  }
37
37
  interface Derived {
38
38
  }
39
- /** @whatsapp 48018 */
39
+ /** @whatsapp 48018
40
+ * @whatsapp 348018 >= 2.2222.8
41
+ */
40
42
  export declare interface BusinessProfileModel extends ModelProxy<Props, Session, Derived> {
41
43
  }
42
- /** @whatsapp 48018 */
44
+ /** @whatsapp 48018
45
+ * @whatsapp 348018 >= 2.2222.8
46
+ */
43
47
  export declare class BusinessProfileModel extends Model<BusinessProfileCollection> {
44
48
  idClass: typeof Wid;
45
49
  constructor(proterties?: ModelPropertiesContructor<BusinessProfileModel>, options?: ModelOptions);
@@ -36,11 +36,13 @@ interface Derived {
36
36
  }
37
37
  /** @whatsapp 36473
38
38
  * @whatsapp 40122 >= 2.2204.13
39
+ * @whatsapp 736473 >= 2.2222.8
39
40
  */
40
41
  export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
41
42
  }
42
43
  /** @whatsapp 36473
43
44
  * @whatsapp 40122 >= 2.2204.13
45
+ * @whatsapp 736473 >= 2.2222.8
44
46
  */
45
47
  export declare class CallModel extends Model<CallCollection> {
46
48
  constructor(proterties?: ModelPropertiesContructor<CallModel>, options?: ModelOptions);
@@ -36,11 +36,13 @@ interface Derived {
36
36
  }
37
37
  /** @whatsapp 50064
38
38
  * @whatsapp 8384 >= 2.2204.13
39
+ * @whatsapp 850064 >= 2.2222.8
39
40
  */
40
41
  export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
41
42
  }
42
43
  /** @whatsapp 50064
43
44
  * @whatsapp 8384 >= 2.2204.13
45
+ * @whatsapp 850064 >= 2.2222.8
44
46
  */
45
47
  export declare class CallParticipantModel extends Model {
46
48
  constructor(proterties?: ModelPropertiesContructor<CallParticipantModel>, options?: ModelOptions);
@@ -28,10 +28,14 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 9581 */
31
+ /** @whatsapp 9581
32
+ * @whatsapp 109581 >= 2.2222.8
33
+ */
32
34
  export declare interface CartItemModel extends ModelProxy<Props, Session, Derived> {
33
35
  }
34
- /** @whatsapp 9581 */
36
+ /** @whatsapp 9581
37
+ * @whatsapp 109581 >= 2.2222.8
38
+ */
35
39
  export declare class CartItemModel extends Model<CartCollection> {
36
40
  constructor(proterties?: ModelPropertiesContructor<CartItemModel>, options?: ModelOptions);
37
41
  getCollection(): CartCollection;
@@ -28,10 +28,14 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 65999 */
31
+ /** @whatsapp 65999
32
+ * @whatsapp 565999 >= 2.2222.8
33
+ */
32
34
  export declare interface CartModel extends ModelProxy<Props, Session, Derived> {
33
35
  }
34
- /** @whatsapp 65999 */
36
+ /** @whatsapp 65999
37
+ * @whatsapp 565999 >= 2.2222.8
38
+ */
35
39
  export declare class CartModel extends Model<CartCollection> {
36
40
  constructor(proterties?: ModelPropertiesContructor<CartModel>, options?: ModelOptions);
37
41
  countTotals(): any;
@@ -28,10 +28,14 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /** @whatsapp 52388 */
31
+ /** @whatsapp 52388
32
+ * @whatsapp 652388 >= 2.2222.8
33
+ */
32
34
  export declare interface CatalogModel extends ModelProxy<Props, Session, Derived> {
33
35
  }
34
- /** @whatsapp 52388 */
36
+ /** @whatsapp 52388
37
+ * @whatsapp 652388 >= 2.2222.8
38
+ */
35
39
  export declare class CatalogModel extends Model<CatalogCollection> {
36
40
  idClass: typeof Wid;
37
41
  constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);
@@ -26,10 +26,14 @@ interface Session {
26
26
  }
27
27
  interface Derived {
28
28
  }
29
- /** @whatsapp 33929 */
29
+ /** @whatsapp 33929
30
+ * @whatsapp 133929 >= 2.2222.8
31
+ */
30
32
  export declare interface ChatPreferenceModel extends ModelProxy<Props, Session, Derived> {
31
33
  }
32
- /** @whatsapp 33929 */
34
+ /** @whatsapp 33929
35
+ * @whatsapp 133929 >= 2.2222.8
36
+ */
33
37
  export declare class ChatPreferenceModel extends Model {
34
38
  idClass: typeof Wid;
35
39
  allowedIds?: any;
@@ -27,10 +27,14 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 30000 */
30
+ /** @whatsapp 30000
31
+ * @whatsapp 330000 >= 2.2222.8
32
+ */
31
33
  export declare interface ChatstateModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 30000 */
35
+ /** @whatsapp 30000
36
+ * @whatsapp 330000 >= 2.2222.8
37
+ */
34
38
  export declare class ChatstateModel extends Model {
35
39
  idClass: typeof Wid;
36
40
  allowedIds?: any;
@@ -53,10 +53,14 @@ interface Derived {
53
53
  tosShowCallNotification?: any;
54
54
  isSMB?: boolean;
55
55
  }
56
- /** @whatsapp 17239 */
56
+ /** @whatsapp 17239
57
+ * @whatsapp 317239 >= 2.2222.8
58
+ */
57
59
  export declare interface ConnModel extends ModelProxy<Props, Session, Derived> {
58
60
  }
59
- /** @whatsapp 17239 */
61
+ /** @whatsapp 17239
62
+ * @whatsapp 317239 >= 2.2222.8
63
+ */
60
64
  export declare class ConnModel extends Model {
61
65
  constructor(proterties?: ModelPropertiesContructor<ConnModel>, options?: ModelOptions);
62
66
  canSetMyPushname(): boolean;
@@ -71,10 +71,14 @@ interface Derived {
71
71
  showBusinessCheckmarkAsPrimary?: any;
72
72
  showBusinessCheckmarkAsSecondary?: any;
73
73
  }
74
- /** @whatsapp 121 */
74
+ /** @whatsapp 121
75
+ * @whatsapp 400121 >= 2.2222.8
76
+ */
75
77
  export declare interface ContactModel extends ModelProxy<Props, Session, Derived> {
76
78
  }
77
- /** @whatsapp 121 */
79
+ /** @whatsapp 121
80
+ * @whatsapp 400121 >= 2.2222.8
81
+ */
78
82
  export declare class ContactModel extends Model<ContactCollection> {
79
83
  idClass: typeof Wid;
80
84
  constructor(proterties?: ModelPropertiesContructor<ContactModel>, options?: ModelOptions);
@@ -27,10 +27,14 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /** @whatsapp 18787 */
30
+ /** @whatsapp 18787
31
+ * @whatsapp 118787 >= 2.2222.8
32
+ */
31
33
  export declare interface ConversionTupleModel extends ModelProxy<Props, Session, Derived> {
32
34
  }
33
- /** @whatsapp 18787 */
35
+ /** @whatsapp 18787
36
+ * @whatsapp 118787 >= 2.2222.8
37
+ */
34
38
  export declare class ConversionTupleModel extends Model {
35
39
  idClass: typeof Wid;
36
40
  constructor(proterties?: ModelPropertiesContructor<ConversionTupleModel>, options?: ModelOptions);
@@ -23,10 +23,14 @@ interface Session {
23
23
  }
24
24
  interface Derived {
25
25
  }
26
- /** @whatsapp 20472 */
26
+ /** @whatsapp 20472
27
+ * @whatsapp 120472 >= 2.2222.8
28
+ */
27
29
  export declare interface EmojiVariantModel extends ModelProxy<Props, Session, Derived> {
28
30
  }
29
- /** @whatsapp 20472 */
31
+ /** @whatsapp 20472
32
+ * @whatsapp 120472 >= 2.2222.8
33
+ */
30
34
  export declare class EmojiVariantModel extends Model {
31
35
  constructor(proterties?: ModelPropertiesContructor<EmojiVariantModel>, options?: ModelOptions);
32
36
  }
@@ -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;