@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.
- package/CHANGELOG.md +26 -0
- package/README.md +13 -6
- package/dist/{src/assert → assert}/assertChat.d.ts +0 -0
- package/dist/{src/assert → assert}/assertWid.d.ts +0 -0
- package/dist/{src/assert → assert}/index.d.ts +0 -0
- package/dist/{src/auth → auth}/Auth.d.ts +2 -1
- package/dist/{src/auth → auth}/index.d.ts +0 -0
- package/dist/{src/auth → auth}/types.d.ts +1 -0
- package/dist/{src/blocklist → blocklist}/Blocklist.d.ts +0 -0
- package/dist/{src/blocklist → blocklist}/index.d.ts +0 -0
- package/dist/{src/blocklist → blocklist}/types.d.ts +0 -0
- package/dist/{src/chat → chat}/Chat.d.ts +10 -0
- package/dist/{src/chat → chat}/index.d.ts +0 -0
- package/dist/{src/group → chat}/types.d.ts +17 -1
- package/dist/{src/config.d.ts → config.d.ts} +5 -1
- package/dist/{src/deviceName.d.ts → deviceName.d.ts} +0 -0
- package/dist/{src/group → group}/Group.d.ts +0 -0
- package/dist/{src/group → group}/index.d.ts +0 -0
- package/dist/{src/chat → group}/types.d.ts +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +8 -11
- package/dist/internal.d.ts +20 -0
- package/dist/{src/patch.d.ts → patch.d.ts} +0 -0
- package/dist/{src/status → status}/Status.d.ts +0 -0
- package/dist/{src/status → status}/index.d.ts +0 -0
- package/dist/{src/status → status}/types.d.ts +0 -0
- package/dist/{src/util → util}/createWid.d.ts +0 -0
- package/dist/{src/util → util}/errors.d.ts +0 -0
- package/dist/{src/util → util}/index.d.ts +0 -0
- package/dist/{src/util → util}/types.d.ts +0 -0
- package/dist/{src/webpack.d.ts → webpack.d.ts} +0 -0
- package/dist/{src/whatsapp → whatsapp}/collections/BlocklistCollection.d.ts +1 -1
- package/dist/{src/whatsapp → whatsapp}/collections/BusinessCategoriesResultCollection.d.ts +1 -1
- package/dist/{src/whatsapp → whatsapp}/collections/BusinessProfileCollection.d.ts +1 -1
- package/dist/{src/whatsapp → whatsapp}/collections/ButtonCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/CallCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/CartCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/CartItemCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/CatalogCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ChatCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ChatstateCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/Collection.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/collections/CollectionCache.d.ts +1 -4
- package/dist/{src/whatsapp → whatsapp}/collections/ContactCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/EmojiVariantCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/GroupMetadataCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/LabelCollection.d.ts +3 -5
- package/dist/{src/whatsapp → whatsapp}/collections/LabelItemCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/LiveLocationCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/MsgCollection.d.ts +4 -5
- package/dist/{src/whatsapp → whatsapp}/collections/MsgInfoCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/MuteCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/OrderCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/OrderItemCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ParticipantCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/PresenceCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ProductCollCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ProductCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ProductImageCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ProductMessageListCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/ProfilePicThumbCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/QuickReplyCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/RecentEmojiCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/RecentStickerCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StarredMsgCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StarredStickerCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StatusCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StatusV3Collection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StickerCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StickerPackCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/StickerSearchCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/TemplateButtonCollection.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/collections/index.d.ts +0 -0
- package/dist/whatsapp/enums/LogoutReason.d.ts +27 -0
- package/dist/{src/whatsapp → whatsapp}/enums/SendMsgResult.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/enums/TextFontStyle.d.ts +0 -0
- package/dist/{src/whatsapp → whatsapp}/enums/index.d.ts +1 -0
- package/dist/{src/whatsapp → whatsapp}/exportModule.d.ts +0 -0
- package/dist/{src/whatsapp → whatsapp}/functions/addAndSendMsgToChat.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/functions/blockContact.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/functions/findChat.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/functions/getOrGenerate.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/functions/groupParticipants.d.ts +4 -12
- package/dist/{src/whatsapp → whatsapp}/functions/index.d.ts +2 -0
- package/dist/{src/whatsapp → whatsapp}/functions/isAuthenticated.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/functions/msgFindQuery.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/functions/randomId.d.ts +2 -6
- package/dist/whatsapp/functions/sendClear.d.ts +18 -0
- package/dist/whatsapp/functions/sendDelete.d.ts +18 -0
- package/dist/{src/whatsapp → whatsapp}/functions/sendTextMsgToChat.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/index.d.ts +0 -0
- package/dist/{src/whatsapp → whatsapp}/misc/Base64.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/Browser.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/ClockSkew.d.ts +1 -3
- package/dist/whatsapp/misc/Cmd.d.ts +150 -0
- package/dist/{src/whatsapp → whatsapp}/misc/Conn.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/Constants.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/EventEmitter.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/Features.d.ts +1 -6
- package/dist/{src/whatsapp → whatsapp}/misc/ImageUtils.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/MediaUtils.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/MsgKey.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/MsgLoadState.d.ts +5 -6
- package/dist/{src/whatsapp → whatsapp}/misc/State.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/Stringable.d.ts +0 -0
- package/dist/{src/whatsapp → whatsapp}/misc/UserPrefs.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/Wid.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/WidFactory.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/misc/index.d.ts +1 -0
- package/dist/{src/whatsapp → whatsapp}/models/AttachMediaModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/BlocklistModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/BusinessCategoriesResultModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/BusinessProfileModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/CallModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/CallParticipantModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/CartItemModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/CartModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/CatalogModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ChatModel.d.ts +10 -10
- package/dist/{src/whatsapp → whatsapp}/models/ChatPreferenceModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ChatstateModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ConnModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ContactModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ConversionTupleModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/EmojiVariantModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/GroupMetadataModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/LabelItemModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/LabelModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/LiveLocationModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/LiveLocationParticipantModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/MediaDataModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/Model.d.ts +1 -9
- package/dist/{src/whatsapp → whatsapp}/models/ModelChatBase.d.ts +1 -9
- package/dist/{src/whatsapp → whatsapp}/models/MsgButtonReplyMsgModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/MsgInfoModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/MsgModel.d.ts +3 -10
- package/dist/{src/whatsapp → whatsapp}/models/MuteModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/OrderItemModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/OrderModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ParticipantModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ProductCollModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ProductImageModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ProductModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/Product_listModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ProfilePicThumbModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/QuickReplyModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/RecentEmojiModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/RecentStickerModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/ReplyButtonModel.d.ts +2 -15
- package/dist/{src/whatsapp → whatsapp}/models/StateModel.d.ts +4 -7
- package/dist/{src/whatsapp → whatsapp}/models/StatusModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/StatusV3Model.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/StickerModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/StickerPackModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/TemplateButtonModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/UnreadMentionModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/WebCallModel.d.ts +2 -6
- package/dist/{src/whatsapp → whatsapp}/models/index.d.ts +1 -0
- package/dist/{src/whatsapp → whatsapp}/multidevice/adv.d.ts +1 -3
- package/dist/{src/whatsapp → whatsapp}/multidevice/index.d.ts +0 -0
- package/dist/{src/whatsapp → whatsapp}/multidevice/waNoiseInfo.d.ts +1 -6
- package/dist/{src/whatsapp → whatsapp}/multidevice/waSignalStore.d.ts +1 -6
- package/dist/{src/whatsapp → whatsapp}/stores.d.ts +29 -87
- package/dist/wppconnect-wa.js +1 -1
- 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(
|
|
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;
|
|
File without changes
|
|
@@ -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;
|