@wppconnect/wa-js 1.0.3 → 1.0.7

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 (164) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +13 -6
  3. package/dist/{src/assert → assert}/assertChat.d.ts +0 -0
  4. package/dist/{src/assert → assert}/assertWid.d.ts +0 -0
  5. package/dist/{src/assert → assert}/index.d.ts +0 -0
  6. package/dist/{src/auth → auth}/Auth.d.ts +2 -1
  7. package/dist/{src/auth → auth}/index.d.ts +0 -0
  8. package/dist/{src/auth → auth}/types.d.ts +1 -0
  9. package/dist/{src/blocklist → blocklist}/Blocklist.d.ts +0 -0
  10. package/dist/{src/blocklist → blocklist}/index.d.ts +0 -0
  11. package/dist/{src/blocklist → blocklist}/types.d.ts +0 -0
  12. package/dist/{src/chat → chat}/Chat.d.ts +10 -0
  13. package/dist/{src/chat → chat}/index.d.ts +0 -0
  14. package/dist/{src/group → chat}/types.d.ts +17 -1
  15. package/dist/{src/config.d.ts → config.d.ts} +5 -1
  16. package/dist/{src/deviceName.d.ts → deviceName.d.ts} +0 -0
  17. package/dist/{src/group → group}/Group.d.ts +0 -0
  18. package/dist/{src/group → group}/index.d.ts +0 -0
  19. package/dist/{src/chat → group}/types.d.ts +0 -0
  20. package/dist/{src/index.d.ts → index.d.ts} +8 -11
  21. package/dist/internal.d.ts +20 -0
  22. package/dist/{src/patch.d.ts → patch.d.ts} +0 -0
  23. package/dist/{src/status → status}/Status.d.ts +0 -0
  24. package/dist/{src/status → status}/index.d.ts +0 -0
  25. package/dist/{src/status → status}/types.d.ts +0 -0
  26. package/dist/{src/util → util}/createWid.d.ts +0 -0
  27. package/dist/{src/util → util}/errors.d.ts +0 -0
  28. package/dist/{src/util → util}/index.d.ts +0 -0
  29. package/dist/{src/util → util}/types.d.ts +0 -0
  30. package/dist/{src/webpack.d.ts → webpack.d.ts} +0 -0
  31. package/dist/{src/whatsapp → whatsapp}/collections/BlocklistCollection.d.ts +1 -1
  32. package/dist/{src/whatsapp → whatsapp}/collections/BusinessCategoriesResultCollection.d.ts +1 -1
  33. package/dist/{src/whatsapp → whatsapp}/collections/BusinessProfileCollection.d.ts +1 -1
  34. package/dist/{src/whatsapp → whatsapp}/collections/ButtonCollection.d.ts +1 -3
  35. package/dist/{src/whatsapp → whatsapp}/collections/CallCollection.d.ts +1 -3
  36. package/dist/{src/whatsapp → whatsapp}/collections/CartCollection.d.ts +1 -3
  37. package/dist/{src/whatsapp → whatsapp}/collections/CartItemCollection.d.ts +1 -3
  38. package/dist/{src/whatsapp → whatsapp}/collections/CatalogCollection.d.ts +1 -3
  39. package/dist/{src/whatsapp → whatsapp}/collections/ChatCollection.d.ts +1 -3
  40. package/dist/{src/whatsapp → whatsapp}/collections/ChatstateCollection.d.ts +1 -3
  41. package/dist/{src/whatsapp → whatsapp}/collections/Collection.d.ts +2 -6
  42. package/dist/{src/whatsapp → whatsapp}/collections/CollectionCache.d.ts +1 -4
  43. package/dist/{src/whatsapp → whatsapp}/collections/ContactCollection.d.ts +1 -3
  44. package/dist/{src/whatsapp → whatsapp}/collections/EmojiVariantCollection.d.ts +1 -3
  45. package/dist/{src/whatsapp → whatsapp}/collections/GroupMetadataCollection.d.ts +1 -3
  46. package/dist/{src/whatsapp → whatsapp}/collections/LabelCollection.d.ts +3 -5
  47. package/dist/{src/whatsapp → whatsapp}/collections/LabelItemCollection.d.ts +1 -3
  48. package/dist/{src/whatsapp → whatsapp}/collections/LiveLocationCollection.d.ts +1 -3
  49. package/dist/{src/whatsapp → whatsapp}/collections/MsgCollection.d.ts +4 -5
  50. package/dist/{src/whatsapp → whatsapp}/collections/MsgInfoCollection.d.ts +1 -3
  51. package/dist/{src/whatsapp → whatsapp}/collections/MuteCollection.d.ts +1 -3
  52. package/dist/{src/whatsapp → whatsapp}/collections/OrderCollection.d.ts +1 -3
  53. package/dist/{src/whatsapp → whatsapp}/collections/OrderItemCollection.d.ts +1 -3
  54. package/dist/{src/whatsapp → whatsapp}/collections/ParticipantCollection.d.ts +1 -3
  55. package/dist/{src/whatsapp → whatsapp}/collections/PresenceCollection.d.ts +1 -3
  56. package/dist/{src/whatsapp → whatsapp}/collections/ProductCollCollection.d.ts +1 -3
  57. package/dist/{src/whatsapp → whatsapp}/collections/ProductCollection.d.ts +1 -3
  58. package/dist/{src/whatsapp → whatsapp}/collections/ProductImageCollection.d.ts +1 -3
  59. package/dist/{src/whatsapp → whatsapp}/collections/ProductMessageListCollection.d.ts +1 -3
  60. package/dist/{src/whatsapp → whatsapp}/collections/ProfilePicThumbCollection.d.ts +1 -3
  61. package/dist/{src/whatsapp → whatsapp}/collections/QuickReplyCollection.d.ts +1 -3
  62. package/dist/{src/whatsapp → whatsapp}/collections/RecentEmojiCollection.d.ts +1 -3
  63. package/dist/{src/whatsapp → whatsapp}/collections/RecentStickerCollection.d.ts +1 -3
  64. package/dist/{src/whatsapp → whatsapp}/collections/StarredMsgCollection.d.ts +1 -3
  65. package/dist/{src/whatsapp → whatsapp}/collections/StarredStickerCollection.d.ts +1 -3
  66. package/dist/{src/whatsapp → whatsapp}/collections/StatusCollection.d.ts +1 -3
  67. package/dist/{src/whatsapp → whatsapp}/collections/StatusV3Collection.d.ts +1 -3
  68. package/dist/{src/whatsapp → whatsapp}/collections/StickerCollection.d.ts +1 -3
  69. package/dist/{src/whatsapp → whatsapp}/collections/StickerPackCollection.d.ts +1 -3
  70. package/dist/{src/whatsapp → whatsapp}/collections/StickerSearchCollection.d.ts +1 -3
  71. package/dist/{src/whatsapp → whatsapp}/collections/TemplateButtonCollection.d.ts +1 -3
  72. package/dist/{src/whatsapp → whatsapp}/collections/index.d.ts +0 -0
  73. package/dist/whatsapp/enums/LogoutReason.d.ts +27 -0
  74. package/dist/{src/whatsapp → whatsapp}/enums/SendMsgResult.d.ts +1 -3
  75. package/dist/{src/whatsapp → whatsapp}/enums/TextFontStyle.d.ts +0 -0
  76. package/dist/{src/whatsapp → whatsapp}/enums/index.d.ts +1 -0
  77. package/dist/{src/whatsapp → whatsapp}/exportModule.d.ts +0 -0
  78. package/dist/{src/whatsapp → whatsapp}/functions/addAndSendMsgToChat.d.ts +1 -3
  79. package/dist/{src/whatsapp → whatsapp}/functions/blockContact.d.ts +2 -6
  80. package/dist/{src/whatsapp → whatsapp}/functions/findChat.d.ts +1 -3
  81. package/dist/{src/whatsapp → whatsapp}/functions/getOrGenerate.d.ts +1 -3
  82. package/dist/{src/whatsapp → whatsapp}/functions/groupParticipants.d.ts +4 -12
  83. package/dist/{src/whatsapp → whatsapp}/functions/index.d.ts +2 -0
  84. package/dist/{src/whatsapp → whatsapp}/functions/isAuthenticated.d.ts +1 -3
  85. package/dist/{src/whatsapp → whatsapp}/functions/msgFindQuery.d.ts +1 -3
  86. package/dist/{src/whatsapp → whatsapp}/functions/randomId.d.ts +2 -6
  87. package/dist/whatsapp/functions/sendClear.d.ts +18 -0
  88. package/dist/whatsapp/functions/sendDelete.d.ts +18 -0
  89. package/dist/{src/whatsapp → whatsapp}/functions/sendTextMsgToChat.d.ts +1 -3
  90. package/dist/{src/whatsapp → whatsapp}/index.d.ts +0 -0
  91. package/dist/{src/whatsapp → whatsapp}/misc/Base64.d.ts +1 -3
  92. package/dist/{src/whatsapp → whatsapp}/misc/Browser.d.ts +1 -3
  93. package/dist/{src/whatsapp → whatsapp}/misc/ClockSkew.d.ts +1 -3
  94. package/dist/whatsapp/misc/Cmd.d.ts +150 -0
  95. package/dist/{src/whatsapp → whatsapp}/misc/Conn.d.ts +1 -3
  96. package/dist/{src/whatsapp → whatsapp}/misc/Constants.d.ts +1 -3
  97. package/dist/{src/whatsapp → whatsapp}/misc/EventEmitter.d.ts +1 -3
  98. package/dist/{src/whatsapp → whatsapp}/misc/Features.d.ts +1 -6
  99. package/dist/{src/whatsapp → whatsapp}/misc/ImageUtils.d.ts +1 -3
  100. package/dist/{src/whatsapp → whatsapp}/misc/MediaUtils.d.ts +1 -3
  101. package/dist/{src/whatsapp → whatsapp}/misc/MsgKey.d.ts +1 -3
  102. package/dist/{src/whatsapp → whatsapp}/misc/MsgLoadState.d.ts +5 -6
  103. package/dist/{src/whatsapp → whatsapp}/misc/State.d.ts +1 -3
  104. package/dist/{src/whatsapp → whatsapp}/misc/Stringable.d.ts +0 -0
  105. package/dist/{src/whatsapp → whatsapp}/misc/UserPrefs.d.ts +1 -3
  106. package/dist/{src/whatsapp → whatsapp}/misc/Wid.d.ts +1 -3
  107. package/dist/{src/whatsapp → whatsapp}/misc/WidFactory.d.ts +1 -3
  108. package/dist/{src/whatsapp → whatsapp}/misc/index.d.ts +1 -0
  109. package/dist/{src/whatsapp → whatsapp}/models/AttachMediaModel.d.ts +2 -6
  110. package/dist/{src/whatsapp → whatsapp}/models/BlocklistModel.d.ts +2 -6
  111. package/dist/{src/whatsapp → whatsapp}/models/BusinessCategoriesResultModel.d.ts +2 -6
  112. package/dist/{src/whatsapp → whatsapp}/models/BusinessProfileModel.d.ts +2 -6
  113. package/dist/{src/whatsapp → whatsapp}/models/CallModel.d.ts +2 -6
  114. package/dist/{src/whatsapp → whatsapp}/models/CallParticipantModel.d.ts +2 -6
  115. package/dist/{src/whatsapp → whatsapp}/models/CartItemModel.d.ts +2 -6
  116. package/dist/{src/whatsapp → whatsapp}/models/CartModel.d.ts +2 -6
  117. package/dist/{src/whatsapp → whatsapp}/models/CatalogModel.d.ts +2 -6
  118. package/dist/{src/whatsapp → whatsapp}/models/ChatModel.d.ts +10 -10
  119. package/dist/{src/whatsapp → whatsapp}/models/ChatPreferenceModel.d.ts +2 -6
  120. package/dist/{src/whatsapp → whatsapp}/models/ChatstateModel.d.ts +2 -6
  121. package/dist/{src/whatsapp → whatsapp}/models/ConnModel.d.ts +2 -6
  122. package/dist/{src/whatsapp → whatsapp}/models/ContactModel.d.ts +2 -6
  123. package/dist/{src/whatsapp → whatsapp}/models/ConversionTupleModel.d.ts +2 -6
  124. package/dist/{src/whatsapp → whatsapp}/models/EmojiVariantModel.d.ts +2 -6
  125. package/dist/{src/whatsapp → whatsapp}/models/GroupMetadataModel.d.ts +2 -6
  126. package/dist/{src/whatsapp → whatsapp}/models/LabelItemModel.d.ts +2 -6
  127. package/dist/{src/whatsapp → whatsapp}/models/LabelModel.d.ts +2 -6
  128. package/dist/{src/whatsapp → whatsapp}/models/LiveLocationModel.d.ts +2 -6
  129. package/dist/{src/whatsapp → whatsapp}/models/LiveLocationParticipantModel.d.ts +2 -6
  130. package/dist/{src/whatsapp → whatsapp}/models/MediaDataModel.d.ts +2 -6
  131. package/dist/{src/whatsapp → whatsapp}/models/Model.d.ts +1 -9
  132. package/dist/{src/whatsapp → whatsapp}/models/ModelChatBase.d.ts +1 -9
  133. package/dist/{src/whatsapp → whatsapp}/models/MsgButtonReplyMsgModel.d.ts +2 -6
  134. package/dist/{src/whatsapp → whatsapp}/models/MsgInfoModel.d.ts +2 -6
  135. package/dist/{src/whatsapp → whatsapp}/models/MsgModel.d.ts +3 -10
  136. package/dist/{src/whatsapp → whatsapp}/models/MuteModel.d.ts +2 -6
  137. package/dist/{src/whatsapp → whatsapp}/models/OrderItemModel.d.ts +2 -6
  138. package/dist/{src/whatsapp → whatsapp}/models/OrderModel.d.ts +2 -6
  139. package/dist/{src/whatsapp → whatsapp}/models/ParticipantModel.d.ts +2 -6
  140. package/dist/{src/whatsapp → whatsapp}/models/ProductCollModel.d.ts +2 -6
  141. package/dist/{src/whatsapp → whatsapp}/models/ProductImageModel.d.ts +2 -6
  142. package/dist/{src/whatsapp → whatsapp}/models/ProductModel.d.ts +2 -6
  143. package/dist/{src/whatsapp → whatsapp}/models/Product_listModel.d.ts +2 -6
  144. package/dist/{src/whatsapp → whatsapp}/models/ProfilePicThumbModel.d.ts +2 -6
  145. package/dist/{src/whatsapp → whatsapp}/models/QuickReplyModel.d.ts +2 -6
  146. package/dist/{src/whatsapp → whatsapp}/models/RecentEmojiModel.d.ts +2 -6
  147. package/dist/{src/whatsapp → whatsapp}/models/RecentStickerModel.d.ts +2 -6
  148. package/dist/{src/whatsapp → whatsapp}/models/ReplyButtonModel.d.ts +2 -15
  149. package/dist/{src/whatsapp → whatsapp}/models/StateModel.d.ts +4 -7
  150. package/dist/{src/whatsapp → whatsapp}/models/StatusModel.d.ts +2 -6
  151. package/dist/{src/whatsapp → whatsapp}/models/StatusV3Model.d.ts +2 -6
  152. package/dist/{src/whatsapp → whatsapp}/models/StickerModel.d.ts +2 -6
  153. package/dist/{src/whatsapp → whatsapp}/models/StickerPackModel.d.ts +2 -6
  154. package/dist/{src/whatsapp → whatsapp}/models/TemplateButtonModel.d.ts +2 -6
  155. package/dist/{src/whatsapp → whatsapp}/models/UnreadMentionModel.d.ts +2 -6
  156. package/dist/{src/whatsapp → whatsapp}/models/WebCallModel.d.ts +2 -6
  157. package/dist/{src/whatsapp → whatsapp}/models/index.d.ts +1 -0
  158. package/dist/{src/whatsapp → whatsapp}/multidevice/adv.d.ts +1 -3
  159. package/dist/{src/whatsapp → whatsapp}/multidevice/index.d.ts +0 -0
  160. package/dist/{src/whatsapp → whatsapp}/multidevice/waNoiseInfo.d.ts +1 -6
  161. package/dist/{src/whatsapp → whatsapp}/multidevice/waSignalStore.d.ts +1 -6
  162. package/dist/{src/whatsapp → whatsapp}/stores.d.ts +29 -87
  163. package/dist/wppconnect-wa.js +1 -1
  164. package/package.json +14 -14
@@ -32,14 +32,10 @@ interface Session {
32
32
  interface Derived {
33
33
  totalItemCount?: any;
34
34
  }
35
- /**
36
- * @whatsapp 2.2138.10:63444
37
- */
35
+ /** @whatsapp 2.2140.7:63444 */
38
36
  export declare interface OrderModel extends ModelProxy<Props, Session, Derived> {
39
37
  }
40
- /**
41
- * @whatsapp 2.2138.10:63444
42
- */
38
+ /** @whatsapp 2.2140.7:63444 */
43
39
  export declare class OrderModel extends Model<OrderCollection> {
44
40
  constructor(proterties?: ModelPropertiesContructor<OrderModel>, options?: ModelOptions);
45
41
  triggerItemCollectionUpdate(): any;
@@ -27,14 +27,10 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /**
31
- * @whatsapp 2.2138.10:47684
32
- */
30
+ /** @whatsapp 2.2140.7:47684 */
33
31
  export declare interface ParticipantModel extends ModelProxy<Props, Session, Derived> {
34
32
  }
35
- /**
36
- * @whatsapp 2.2138.10:47684
37
- */
33
+ /** @whatsapp 2.2140.7:47684 */
38
34
  export declare class ParticipantModel extends Model {
39
35
  idClass: typeof Wid;
40
36
  constructor(proterties?: ModelPropertiesContructor<ParticipantModel>, options?: ModelOptions);
@@ -26,14 +26,10 @@ interface Session {
26
26
  }
27
27
  interface Derived {
28
28
  }
29
- /**
30
- * @whatsapp 2.2138.10:13532
31
- */
29
+ /** @whatsapp 2.2140.7:13532 */
32
30
  export declare interface ProductCollModel extends ModelProxy<Props, Session, Derived> {
33
31
  }
34
- /**
35
- * @whatsapp 2.2138.10:13532
36
- */
32
+ /** @whatsapp 2.2140.7:13532 */
37
33
  export declare class ProductCollModel extends Model {
38
34
  constructor(proterties?: ModelPropertiesContructor<ProductCollModel>, options?: ModelOptions);
39
35
  addProducts(e?: any): any;
@@ -28,14 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /**
32
- * @whatsapp 2.2138.10:569
33
- */
31
+ /** @whatsapp 2.2140.7:569 */
34
32
  export declare interface ProductImageModel extends ModelProxy<Props, Session, Derived> {
35
33
  }
36
- /**
37
- * @whatsapp 2.2138.10:569
38
- */
34
+ /** @whatsapp 2.2140.7:569 */
39
35
  export declare class ProductImageModel extends Model {
40
36
  constructor(proterties?: ModelPropertiesContructor<ProductImageModel>, options?: ModelOptions);
41
37
  triggerImageUpdate(): any;
@@ -47,14 +47,10 @@ interface Session {
47
47
  }
48
48
  interface Derived {
49
49
  }
50
- /**
51
- * @whatsapp 2.2138.10:78150
52
- */
50
+ /** @whatsapp 2.2140.7:78150 */
53
51
  export declare interface ProductModel extends ModelProxy<Props, Session, Derived> {
54
52
  }
55
- /**
56
- * @whatsapp 2.2138.10:78150
57
- */
53
+ /** @whatsapp 2.2140.7:78150 */
58
54
  export declare class ProductModel extends Model {
59
55
  constructor(proterties?: ModelPropertiesContructor<ProductModel>, options?: ModelOptions);
60
56
  triggerImageUpdate(): any;
@@ -25,14 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /**
29
- * @whatsapp 2.2138.10:16689
30
- */
28
+ /** @whatsapp 2.2140.7:16689 */
31
29
  export declare interface Product_listModel extends ModelProxy<Props, Session, Derived> {
32
30
  }
33
- /**
34
- * @whatsapp 2.2138.10:16689
35
- */
31
+ /** @whatsapp 2.2140.7:16689 */
36
32
  export declare class Product_listModel extends Model {
37
33
  idClass: typeof MsgKey;
38
34
  constructor(proterties?: ModelPropertiesContructor<Product_listModel>, options?: ModelOptions);
@@ -34,14 +34,10 @@ interface Derived {
34
34
  imgFull?: any;
35
35
  fallbackType?: any;
36
36
  }
37
- /**
38
- * @whatsapp 2.2138.10:5924
39
- */
37
+ /** @whatsapp 2.2140.7:5924 */
40
38
  export declare interface ProfilePicThumbModel extends ModelProxy<Props, Session, Derived> {
41
39
  }
42
- /**
43
- * @whatsapp 2.2138.10:5924
44
- */
40
+ /** @whatsapp 2.2140.7:5924 */
45
41
  export declare class ProfilePicThumbModel extends Model<ProfilePicThumbCollection> {
46
42
  idClass: typeof Wid;
47
43
  constructor(proterties?: ModelPropertiesContructor<ProfilePicThumbModel>, options?: ModelOptions);
@@ -29,14 +29,10 @@ interface Session {
29
29
  interface Derived {
30
30
  totalCount?: any;
31
31
  }
32
- /**
33
- * @whatsapp 2.2138.10:16156
34
- */
32
+ /** @whatsapp 2.2140.7:16156 */
35
33
  export declare interface QuickReplyModel extends ModelProxy<Props, Session, Derived> {
36
34
  }
37
- /**
38
- * @whatsapp 2.2138.10:16156
39
- */
35
+ /** @whatsapp 2.2140.7:16156 */
40
36
  export declare class QuickReplyModel extends Model<QuickReplyCollection> {
41
37
  constructor(proterties?: ModelPropertiesContructor<QuickReplyModel>, options?: ModelOptions);
42
38
  useOnce(): any;
@@ -23,14 +23,10 @@ interface Session {
23
23
  }
24
24
  interface Derived {
25
25
  }
26
- /**
27
- * @whatsapp 2.2138.10:96276
28
- */
26
+ /** @whatsapp 2.2140.7:96276 */
29
27
  export declare interface RecentEmojiModel extends ModelProxy<Props, Session, Derived> {
30
28
  }
31
- /**
32
- * @whatsapp 2.2138.10:96276
33
- */
29
+ /** @whatsapp 2.2140.7:96276 */
34
30
  export declare class RecentEmojiModel extends Model {
35
31
  constructor(proterties?: ModelPropertiesContructor<RecentEmojiModel>, options?: ModelOptions);
36
32
  }
@@ -25,14 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /**
29
- * @whatsapp 2.2126.14:23119
30
- */
28
+ /** @whatsapp 2.2140.7:84959 */
31
29
  export declare interface RecentStickerModel extends ModelProxy<Props, Session, Derived> {
32
30
  }
33
- /**
34
- * @whatsapp 2.2126.14:23119
35
- */
31
+ /** @whatsapp 2.2140.7:84959 */
36
32
  export declare class RecentStickerModel extends Model {
37
33
  constructor(proterties?: ModelPropertiesContructor<RecentStickerModel>, options?: ModelOptions);
38
34
  }
@@ -14,33 +14,20 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
17
- /**
18
- * @whatsapp 2.2126.14:83065
19
- */
20
17
  interface Props {
21
18
  id?: string;
22
19
  displayText?: string;
23
20
  }
24
- /**
25
- * @whatsapp 2.2126.14:83065
26
- */
27
21
  interface Session {
28
22
  stale?: any;
29
23
  selected?: any;
30
24
  }
31
- /**
32
- * @whatsapp 2.2126.14:83065
33
- */
34
25
  interface Derived {
35
26
  }
36
- /**
37
- * @whatsapp 2.2138.10:46420
38
- */
27
+ /** @whatsapp 2.2140.7:46420 */
39
28
  export declare interface ReplyButtonModel extends ModelProxy<Props, Session, Derived> {
40
29
  }
41
- /**
42
- * @whatsapp 2.2138.10:46420
43
- */
30
+ /** @whatsapp 2.2140.7:46420 */
44
31
  export declare class ReplyButtonModel extends Model {
45
32
  constructor(proterties?: ModelPropertiesContructor<ReplyButtonModel>, options?: ModelOptions);
46
33
  }
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { LogoutReason } from '../enums';
16
17
  import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
17
18
  interface Props {
18
19
  }
@@ -53,14 +54,10 @@ interface Session {
53
54
  }
54
55
  interface Derived {
55
56
  }
56
- /**
57
- * @whatsapp 2.2138.10:72787
58
- */
57
+ /** @whatsapp 2.2140.7:72787 */
59
58
  export declare interface StateModel extends ModelProxy<Props, Session, Derived> {
60
59
  }
61
- /**
62
- * @whatsapp 2.2138.10:72787
63
- */
60
+ /** @whatsapp 2.2140.7:72787 */
64
61
  export declare class StateModel extends Model {
65
62
  constructor(proterties?: ModelPropertiesContructor<StateModel>, options?: ModelOptions);
66
63
  initialize(): any;
@@ -75,7 +72,7 @@ export declare class StateModel extends Model {
75
72
  exitLoop(e?: any): any;
76
73
  clearCredentialsAndStoredData(): any;
77
74
  destroyStorage(): any;
78
- logout(e?: any): any;
75
+ logout(sendLogout?: boolean, reason?: LogoutReason): void;
79
76
  summary(): any;
80
77
  registerHandler(e?: any): any;
81
78
  onStateChange(): any;
@@ -25,14 +25,10 @@ interface Session {
25
25
  }
26
26
  interface Derived {
27
27
  }
28
- /**
29
- * @whatsapp 2.2138.10:92472
30
- */
28
+ /** @whatsapp 2.2140.7:92472 */
31
29
  export declare interface StatusModel extends ModelProxy<Props, Session, Derived> {
32
30
  }
33
- /**
34
- * @whatsapp 2.2138.10:92472
35
- */
31
+ /** @whatsapp 2.2140.7:92472 */
36
32
  export declare class StatusModel extends Model<StatusCollection> {
37
33
  idClass: typeof Wid;
38
34
  constructor(proterties?: ModelPropertiesContructor<StatusModel>, options?: ModelOptions);
@@ -35,14 +35,10 @@ interface Derived {
35
35
  readCount?: any;
36
36
  lastStatus?: any;
37
37
  }
38
- /**
39
- * @whatsapp 2.2138.10:96944
40
- */
38
+ /** @whatsapp 2.2140.7:96944 */
41
39
  export declare interface StatusV3Model extends ModelProxy<Props, Session, Derived> {
42
40
  }
43
- /**
44
- * @whatsapp 2.2138.10:96944
45
- */
41
+ /** @whatsapp 2.2140.7:96944 */
46
42
  export declare class StatusV3Model extends Model<StatusV3Collection> {
47
43
  idClass: typeof Wid;
48
44
  constructor(proterties?: ModelPropertiesContructor<StatusV3Model>, options?: ModelOptions);
@@ -37,14 +37,10 @@ interface Session {
37
37
  }
38
38
  interface Derived {
39
39
  }
40
- /**
41
- * @whatsapp 2.2138.10:92537
42
- */
40
+ /** @whatsapp 2.2140.7:92537 */
43
41
  export declare interface StickerModel extends ModelProxy<Props, Session, Derived> {
44
42
  }
45
- /**
46
- * @whatsapp 2.2138.10:92537
47
- */
43
+ /** @whatsapp 2.2140.7:92537 */
48
44
  export declare class StickerModel extends Model {
49
45
  constructor(proterties?: ModelPropertiesContructor<StickerModel>, options?: ModelOptions);
50
46
  downloadMedia(): any;
@@ -39,14 +39,10 @@ interface Derived {
39
39
  isPlaceholder: boolean;
40
40
  isFirstParty: boolean;
41
41
  }
42
- /**
43
- * @whatsapp 2.2138.10:86668
44
- */
42
+ /** @whatsapp 2.2140.7:86668 */
45
43
  export declare interface StickerPackModel extends ModelProxy<Props, Session, Derived> {
46
44
  }
47
- /**
48
- * @whatsapp 2.2138.10:86668
49
- */
45
+ /** @whatsapp 2.2140.7:86668 */
50
46
  export declare class StickerPackModel extends Model {
51
47
  constructor(proterties?: ModelPropertiesContructor<StickerPackModel>, options?: ModelOptions);
52
48
  downloadMedia(): any;
@@ -28,14 +28,10 @@ interface Session {
28
28
  }
29
29
  interface Derived {
30
30
  }
31
- /**
32
- * @whatsapp 2.2138.10:65159
33
- */
31
+ /** @whatsapp 2.2140.7:65159 */
34
32
  export declare interface TemplateButtonModel extends ModelProxy<Props, Session, Derived> {
35
33
  }
36
- /**
37
- * @whatsapp 2.2138.10:65159
38
- */
34
+ /** @whatsapp 2.2140.7:65159 */
39
35
  export declare class TemplateButtonModel extends Model {
40
36
  constructor(proterties?: ModelPropertiesContructor<TemplateButtonModel>, options?: ModelOptions);
41
37
  }
@@ -23,14 +23,10 @@ interface Session {
23
23
  }
24
24
  interface Derived {
25
25
  }
26
- /**
27
- * @whatsapp 2.2138.10:85739
28
- */
26
+ /** @whatsapp 2.2140.7:85739 */
29
27
  export declare interface UnreadMentionModel extends ModelProxy<Props, Session, Derived> {
30
28
  }
31
- /**
32
- * @whatsapp 2.2138.10:85739
33
- */
29
+ /** @whatsapp 2.2140.7:85739 */
34
30
  export declare class UnreadMentionModel extends Model {
35
31
  constructor(proterties?: ModelPropertiesContructor<UnreadMentionModel>, options?: ModelOptions);
36
32
  }
@@ -27,14 +27,10 @@ interface Session {
27
27
  }
28
28
  interface Derived {
29
29
  }
30
- /**
31
- * @whatsapp 2.2138.10:91442
32
- */
30
+ /** @whatsapp 2.2140.7:91442 */
33
31
  export declare interface WebCallModel extends ModelProxy<Props, Session, Derived> {
34
32
  }
35
- /**
36
- * @whatsapp 2.2138.10:91442
37
- */
33
+ /** @whatsapp 2.2140.7:91442 */
38
34
  export declare class WebCallModel extends Model {
39
35
  constructor(proterties?: ModelPropertiesContructor<WebCallModel>, options?: ModelOptions);
40
36
  }
@@ -52,6 +52,7 @@ export * from './ProductModel';
52
52
  export * from './ProfilePicThumbModel';
53
53
  export * from './QuickReplyModel';
54
54
  export * from './RecentEmojiModel';
55
+ export * from './RecentStickerModel';
55
56
  export * from './ReplyButtonModel';
56
57
  export * from './StateModel';
57
58
  export * from './StatusModel';
@@ -13,9 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /**
17
- * @whatsapp 2.2138.10:2019
18
- */
16
+ /** @whatsapp 2.2140.7:2019 */
19
17
  export declare namespace adv {
20
18
  function generateADVSecretKey(): string;
21
19
  function getADVSecretKey(): string;
@@ -20,15 +20,10 @@ interface NoiseInfoData {
20
20
  pubKey: ArrayBuffer;
21
21
  };
22
22
  }
23
- /**
24
- * @whatsapp 2.2132.6:64468
25
- */
26
23
  declare class NoiseInfo {
27
24
  get(): Promise<NoiseInfoData>;
28
25
  set(info: Promise<NoiseInfoData>): any;
29
26
  }
30
- /**
31
- * @whatsapp 2.2138.10:79188
32
- */
27
+ /** @whatsapp 2.2140.7:79188 */
33
28
  export declare const waNoiseInfo: NoiseInfo;
34
29
  export {};
@@ -20,9 +20,6 @@ interface RegistrationInfo {
20
20
  privKey: ArrayBuffer;
21
21
  };
22
22
  }
23
- /**
24
- * @whatsapp 2.2132.6:40362
25
- */
26
23
  declare class SignalStore {
27
24
  getMeta(e?: any): any;
28
25
  putMeta(e?: any): any;
@@ -71,8 +68,6 @@ declare class SignalStore {
71
68
  markKeyAsUploaded(e?: any): any;
72
69
  rotateSignedPreKey(e?: any, t?: any): any;
73
70
  }
74
- /**
75
- * @whatsapp 2.2138.10:93381
76
- */
71
+ /** @whatsapp 2.2140.7:93381 */
77
72
  export declare const waSignalStore: SignalStore;
78
73
  export {};
@@ -14,119 +14,61 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import * as collections from './collections';
17
- /**
18
- * @whatsapp 2.2138.10:15701
19
- */
17
+ /** @whatsapp 2.2140.7:15701 */
20
18
  export declare const BlocklistStore: collections.BlocklistCollection;
21
- /**
22
- * @whatsapp 2.2138.10:54100
23
- */
19
+ /** @whatsapp 2.2140.7:54100 */
24
20
  export declare const BusinessCategoriesResultStore: collections.BusinessCategoriesResultCollection;
25
- /**
26
- * @whatsapp 2.2138.10:8581
27
- */
21
+ /** @whatsapp 2.2140.7:8581 */
28
22
  export declare const BusinessProfileStore: collections.BusinessProfileCollection;
29
- /**
30
- * @whatsapp 2.2138.10:15971
31
- */
23
+ /** @whatsapp 2.2140.7:15971 */
32
24
  export declare const CallStore: collections.CallCollection;
33
- /**
34
- * @whatsapp 2.2138.10:25523
35
- */
25
+ /** @whatsapp 2.2140.7:25523 */
36
26
  export declare const CartStore: collections.CartCollection;
37
- /**
38
- * @whatsapp 2.2138.10:60028
39
- */
27
+ /** @whatsapp 2.2140.7:60028 */
40
28
  export declare const CatalogStore: collections.CatalogCollection;
41
- /**
42
- * @whatsapp 2.2138.10:84758
43
- */
29
+ /** @whatsapp 2.2140.7:84758 */
44
30
  export declare const ChatStore: collections.ChatCollection;
45
- /**
46
- * @whatsapp 2.2138.10:17025
47
- */
31
+ /** @whatsapp 2.2140.7:17025 */
48
32
  export declare const ContactStore: collections.ContactCollection;
49
- /**
50
- * @whatsapp 2.2138.10:41098
51
- */
33
+ /** @whatsapp 2.2140.7:41098 */
52
34
  export declare const EmojiVariantStore: collections.EmojiVariantCollection;
53
- /**
54
- * @whatsapp 2.2138.10:75798
55
- */
35
+ /** @whatsapp 2.2140.7:75798 */
56
36
  export declare const GroupMetadataStore: collections.GroupMetadataCollection;
57
- /**
58
- * @whatsapp 2.2138.10:59606
59
- */
37
+ /** @whatsapp 2.2140.7:59606 */
60
38
  export declare const LabelStore: collections.LabelCollection;
61
- /**
62
- * @whatsapp 2.2138.10:31104
63
- */
39
+ /** @whatsapp 2.2140.7:31104 */
64
40
  export declare const LiveLocationStore: collections.LiveLocationCollection;
65
- /**
66
- * @whatsapp 2.2138.10:45472
67
- */
41
+ /** @whatsapp 2.2140.7:45472 */
68
42
  export declare const MsgStore: collections.MsgCollection;
69
- /**
70
- * @whatsapp 2.2138.10:57636
71
- */
43
+ /** @whatsapp 2.2140.7:57636 */
72
44
  export declare const MsgInfoStore: collections.MsgInfoCollection;
73
- /**
74
- * @whatsapp 2.2138.10:80959
75
- */
45
+ /** @whatsapp 2.2140.7:80959 */
76
46
  export declare const MuteStore: collections.MuteCollection;
77
- /**
78
- * @whatsapp 2.2138.10:98052
79
- */
47
+ /** @whatsapp 2.2140.7:98052 */
80
48
  export declare const OrderStore: collections.OrderCollection;
81
- /**
82
- * @whatsapp 2.2138.10:48327
83
- */
49
+ /** @whatsapp 2.2140.7:48327 */
84
50
  export declare const PresenceStore: collections.PresenceCollection;
85
- /**
86
- * @whatsapp 2.2138.10:97038
87
- */
51
+ /** @whatsapp 2.2140.7:97038 */
88
52
  export declare const ProductMessageListStore: collections.ProductMessageListCollection;
89
- /**
90
- * @whatsapp 2.2138.10:3165
91
- */
53
+ /** @whatsapp 2.2140.7:3165 */
92
54
  export declare const ProfilePicThumbStore: collections.ProfilePicThumbCollection;
93
- /**
94
- * @whatsapp 2.2138.10:65963
95
- */
55
+ /** @whatsapp 2.2140.7:65963 */
96
56
  export declare const QuickReplyStore: collections.QuickReplyCollection;
97
- /**
98
- * @whatsapp 2.2138.10:30462
99
- */
57
+ /** @whatsapp 2.2140.7:30462 */
100
58
  export declare const RecentEmojiStore: collections.RecentEmojiCollection;
101
- /**
102
- * @whatsapp 2.2138.10:27686
103
- */
59
+ /** @whatsapp 2.2140.7:27686 */
104
60
  export declare const RecentStickerStore: collections.RecentStickerCollection;
105
- /**
106
- * @whatsapp 2.2138.10:30118
107
- */
61
+ /** @whatsapp 2.2140.7:30118 */
108
62
  export declare const StarredMsgStore: collections.StarredMsgCollection;
109
- /**
110
- * @whatsapp 2.2138.10:68477
111
- */
63
+ /** @whatsapp 2.2140.7:68477 */
112
64
  export declare const StarredStickerStore: collections.StarredStickerCollection;
113
- /**
114
- * @whatsapp 2.2138.10:22360
115
- */
65
+ /** @whatsapp 2.2140.7:22360 */
116
66
  export declare const StatusStore: collections.StatusCollection;
117
- /**
118
- * @whatsapp 2.2138.10:83125
119
- */
67
+ /** @whatsapp 2.2140.7:83125 */
120
68
  export declare const StatusV3Store: collections.StatusV3Collection;
121
- /**
122
- * @whatsapp 2.2138.10:16482
123
- */
69
+ /** @whatsapp 2.2140.7:16482 */
124
70
  export declare const StickerStore: collections.StickerCollection;
125
- /**
126
- * @whatsapp 2.2138.10:61848
127
- */
71
+ /** @whatsapp 2.2140.7:45822 */
128
72
  export declare const StickerPackStore: collections.StickerPackCollection;
129
- /**
130
- * @whatsapp 2.2138.10:6009
131
- */
73
+ /** @whatsapp 2.2140.7:6009 */
132
74
  export declare const StickerSearchStore: collections.StickerSearchCollection;