@wppconnect/wa-js 2.7.2 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/config.d.ts +10 -0
- package/dist/contact/functions/getStatus.d.ts +1 -1
- package/dist/eventEmitter/eventEmitter.d.ts +5 -1
- package/dist/group/functions/addParticipants.d.ts +20 -1
- package/dist/group/functions/index.d.ts +1 -0
- package/dist/group/functions/setIcon.d.ts +31 -0
- package/dist/profile/functions/index.d.ts +1 -0
- package/dist/profile/functions/setMyProfilePicture.d.ts +32 -0
- package/dist/status/functions/index.d.ts +2 -0
- package/dist/status/functions/sendImageStatus.d.ts +26 -0
- package/dist/status/functions/sendVideoStatus.d.ts +26 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/{profile/functions/queryExists.d.ts → util/resizeImage.d.ts} +2 -5
- package/dist/whatsapp/collections/AggReactionsCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BaseCollection.d.ts +4 -2
- package/dist/whatsapp/collections/BlocklistCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +3 -1
- package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CallCollection.d.ts +1 -0
- package/dist/whatsapp/collections/CartCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CartItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ChatCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ChatstateCollection.d.ts +3 -1
- package/dist/whatsapp/collections/Collection.d.ts +6 -2
- package/dist/whatsapp/collections/ContactCollection.d.ts +5 -4
- package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +3 -1
- package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LabelCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LabelItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/LiveLocationCollection.d.ts +3 -1
- package/dist/whatsapp/collections/MsgCollection.d.ts +3 -1
- package/dist/whatsapp/collections/MsgInfoCollection.d.ts +3 -1
- package/dist/whatsapp/collections/OrderCollection.d.ts +3 -1
- package/dist/whatsapp/collections/OrderItemCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -0
- package/dist/whatsapp/collections/PresenceCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductCollCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProductImageCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +3 -1
- package/dist/whatsapp/collections/QuickReplyCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ReactionsCollection.d.ts +3 -1
- package/dist/whatsapp/collections/ReactionsSendersCollection.d.ts +3 -1
- package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +3 -1
- package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -0
- package/dist/whatsapp/collections/StarredMsgCollection.d.ts +3 -1
- package/dist/whatsapp/collections/StatusV3Collection.d.ts +3 -1
- package/dist/whatsapp/collections/StickerCollection.d.ts +3 -1
- package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -0
- package/dist/whatsapp/collections/StickerSearchCollection.d.ts +3 -1
- package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +3 -1
- package/dist/whatsapp/enums/ACK.d.ts +3 -0
- package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
- package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -0
- package/dist/whatsapp/enums/LogoutReason.d.ts +1 -0
- package/dist/whatsapp/enums/MSG_TYPE.d.ts +2 -0
- package/dist/whatsapp/enums/SendMsgResult.d.ts +3 -1
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +3 -1
- package/dist/whatsapp/functions/blockContact.d.ts +6 -2
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +3 -1
- package/dist/whatsapp/functions/createOrUpdateReactions.d.ts +3 -1
- package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
- package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
- package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/findChat.d.ts +3 -1
- package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -0
- package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
- package/dist/whatsapp/functions/generateVideoThumbsAndDuration.d.ts +2 -1
- package/dist/whatsapp/functions/getFanOutList.d.ts +2 -0
- package/dist/whatsapp/functions/getGroupSenderKeyList.d.ts +6 -0
- package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -0
- package/dist/whatsapp/functions/groupParticipants.d.ts +12 -4
- package/dist/whatsapp/functions/handleAck.d.ts +12 -3
- package/dist/whatsapp/functions/index.d.ts +2 -0
- package/dist/whatsapp/functions/isAuthenticated.d.ts +2 -0
- package/dist/whatsapp/functions/markSeen.d.ts +3 -1
- package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +1 -0
- package/dist/whatsapp/functions/products.d.ts +12 -4
- package/dist/whatsapp/functions/profilePic.d.ts +7 -1
- package/dist/whatsapp/functions/randomId.d.ts +1 -0
- package/dist/whatsapp/functions/sendClear.d.ts +3 -1
- package/dist/whatsapp/functions/sendDelete.d.ts +3 -1
- package/dist/whatsapp/functions/sendExitGroup.d.ts +3 -1
- package/dist/whatsapp/functions/sendGroupParticipants.d.ts +42 -0
- package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +3 -1
- package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +3 -1
- package/dist/whatsapp/functions/sendReactionToMsg.d.ts +3 -1
- package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +3 -1
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +3 -1
- package/dist/whatsapp/functions/setArchive.d.ts +1 -0
- package/dist/whatsapp/functions/setGroup.d.ts +9 -3
- package/dist/whatsapp/functions/setPin.d.ts +1 -0
- package/dist/whatsapp/functions/status.d.ts +2 -0
- package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +3 -1
- package/dist/whatsapp/functions/updateParticipants.d.ts +27 -0
- package/dist/whatsapp/functions/uploadProductImage.d.ts +3 -1
- package/dist/whatsapp/functions/uploadThumbnail.d.ts +1 -0
- package/dist/whatsapp/misc/Base64.d.ts +3 -1
- package/dist/whatsapp/misc/Browser.d.ts +1 -0
- package/dist/whatsapp/misc/ChatPresence.d.ts +3 -1
- package/dist/whatsapp/misc/Cmd.d.ts +2 -0
- package/dist/whatsapp/misc/Conn.d.ts +3 -1
- package/dist/whatsapp/misc/Constants.d.ts +1 -0
- package/dist/whatsapp/misc/EventEmitter.d.ts +1 -0
- package/dist/whatsapp/misc/Features.d.ts +1 -0
- package/dist/whatsapp/misc/ImageUtils.d.ts +1 -0
- package/dist/whatsapp/misc/Locale.d.ts +1 -0
- package/dist/whatsapp/misc/MediaBlobCache.d.ts +6 -2
- package/dist/whatsapp/misc/MediaEntry.d.ts +2 -1
- package/dist/whatsapp/misc/MediaObject.d.ts +3 -1
- package/dist/whatsapp/misc/MediaObjectUtil.d.ts +3 -1
- package/dist/whatsapp/misc/MediaPrep.d.ts +3 -1
- package/dist/whatsapp/misc/MediaUtils.d.ts +3 -1
- package/dist/whatsapp/misc/MsgKey.d.ts +1 -0
- package/dist/whatsapp/misc/MsgLoadState.d.ts +6 -2
- package/dist/whatsapp/misc/OpaqueData.d.ts +6 -2
- package/dist/whatsapp/misc/Socket.d.ts +3 -1
- package/dist/whatsapp/misc/Stream.d.ts +3 -1
- package/dist/whatsapp/misc/UserPrefs.d.ts +1 -0
- package/dist/whatsapp/misc/VCard.d.ts +1 -0
- package/dist/whatsapp/misc/Wap.d.ts +2 -0
- package/dist/whatsapp/misc/Wid.d.ts +1 -0
- package/dist/whatsapp/misc/WidFactory.d.ts +1 -0
- package/dist/whatsapp/models/AggReactionsModel.d.ts +2 -0
- package/dist/whatsapp/models/AttachMediaModel.d.ts +6 -2
- package/dist/whatsapp/models/BlocklistModel.d.ts +6 -2
- package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +6 -2
- package/dist/whatsapp/models/BusinessProfileModel.d.ts +6 -2
- package/dist/whatsapp/models/CallModel.d.ts +2 -0
- package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -0
- package/dist/whatsapp/models/CartItemModel.d.ts +6 -2
- package/dist/whatsapp/models/CartModel.d.ts +6 -2
- package/dist/whatsapp/models/CatalogModel.d.ts +6 -2
- package/dist/whatsapp/models/ChatPreferenceModel.d.ts +6 -2
- package/dist/whatsapp/models/ChatstateModel.d.ts +6 -2
- package/dist/whatsapp/models/ConnModel.d.ts +6 -2
- package/dist/whatsapp/models/ContactModel.d.ts +6 -2
- package/dist/whatsapp/models/ConversionTupleModel.d.ts +6 -2
- package/dist/whatsapp/models/EmojiVariantModel.d.ts +6 -2
- package/dist/whatsapp/models/GroupMetadataModel.d.ts +6 -2
- package/dist/whatsapp/models/LabelItemModel.d.ts +6 -2
- package/dist/whatsapp/models/LabelModel.d.ts +6 -2
- package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +6 -2
- package/dist/whatsapp/models/MediaDataModel.d.ts +6 -2
- package/dist/whatsapp/models/Model.d.ts +3 -1
- package/dist/whatsapp/models/ModelChatBase.d.ts +3 -1
- package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +6 -2
- package/dist/whatsapp/models/MsgInfoModel.d.ts +6 -2
- package/dist/whatsapp/models/MuteModel.d.ts +6 -2
- package/dist/whatsapp/models/OrderItemModel.d.ts +6 -2
- package/dist/whatsapp/models/OrderModel.d.ts +6 -2
- package/dist/whatsapp/models/ParticipantModel.d.ts +6 -2
- package/dist/whatsapp/models/PresenceModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductCollModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductImageModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductMessageListModel.d.ts +6 -2
- package/dist/whatsapp/models/ProductModel.d.ts +6 -2
- package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +6 -2
- package/dist/whatsapp/models/QuickReplyModel.d.ts +6 -2
- package/dist/whatsapp/models/ReactionsModel.d.ts +2 -0
- package/dist/whatsapp/models/ReactionsSendersModel.d.ts +2 -0
- package/dist/whatsapp/models/RecentStickerModel.d.ts +6 -2
- package/dist/whatsapp/models/ReplyButtonModel.d.ts +6 -2
- package/dist/whatsapp/models/StatusModel.d.ts +6 -2
- package/dist/whatsapp/models/StatusV3Model.d.ts +9 -5
- package/dist/whatsapp/models/StickerModel.d.ts +2 -0
- package/dist/whatsapp/models/StickerPackModel.d.ts +6 -2
- package/dist/whatsapp/models/StreamModel.d.ts +6 -2
- package/dist/whatsapp/models/TemplateButtonModel.d.ts +6 -2
- package/dist/whatsapp/models/UnreadMentionModel.d.ts +6 -2
- package/dist/whatsapp/models/WebCallModel.d.ts +2 -0
- package/dist/whatsapp/multidevice/adv.d.ts +1 -0
- package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -0
- package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -0
- package/dist/whatsapp/stores.d.ts +76 -25
- package/dist/wppconnect-wa.js +1 -1
- package/dist/wppconnect-wa.js.LICENSE.txt +10 -0
- package/package.json +20 -19
- package/dist/eventEmitter/index.d.ts +0 -195
|
@@ -43,10 +43,14 @@ interface Session {
|
|
|
43
43
|
interface Derived {
|
|
44
44
|
groupInviteLink?: any;
|
|
45
45
|
}
|
|
46
|
-
/** @whatsapp 14423
|
|
46
|
+
/** @whatsapp 14423
|
|
47
|
+
* @whatsapp 614423 >= 2.2222.8
|
|
48
|
+
*/
|
|
47
49
|
export declare interface GroupMetadataModel extends ModelProxy<Props, Session, Derived> {
|
|
48
50
|
}
|
|
49
|
-
/** @whatsapp 14423
|
|
51
|
+
/** @whatsapp 14423
|
|
52
|
+
* @whatsapp 614423 >= 2.2222.8
|
|
53
|
+
*/
|
|
50
54
|
export declare class GroupMetadataModel extends Model {
|
|
51
55
|
idClass: typeof Wid;
|
|
52
56
|
participants: ParticipantCollection;
|
|
@@ -25,10 +25,14 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 24137
|
|
28
|
+
/** @whatsapp 24137
|
|
29
|
+
* @whatsapp 724137 >= 2.2222.8
|
|
30
|
+
*/
|
|
29
31
|
export declare interface LabelItemModel extends ModelProxy<Props, Session, Derived> {
|
|
30
32
|
}
|
|
31
|
-
/** @whatsapp 24137
|
|
33
|
+
/** @whatsapp 24137
|
|
34
|
+
* @whatsapp 724137 >= 2.2222.8
|
|
35
|
+
*/
|
|
32
36
|
export declare class LabelItemModel extends Model {
|
|
33
37
|
constructor(proterties?: ModelPropertiesContructor<LabelItemModel>, options?: ModelOptions);
|
|
34
38
|
}
|
|
@@ -27,10 +27,14 @@ interface Session {
|
|
|
27
27
|
interface Derived {
|
|
28
28
|
hexColor: string;
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 8803
|
|
30
|
+
/** @whatsapp 8803
|
|
31
|
+
* @whatsapp 208803 >= 2.2222.8
|
|
32
|
+
*/
|
|
31
33
|
export declare interface LabelModel extends ModelProxy<Props, Session, Derived> {
|
|
32
34
|
}
|
|
33
|
-
/** @whatsapp 8803
|
|
35
|
+
/** @whatsapp 8803
|
|
36
|
+
* @whatsapp 208803 >= 2.2222.8
|
|
37
|
+
*/
|
|
34
38
|
export declare class LabelModel extends Model {
|
|
35
39
|
constructor(proterties?: ModelPropertiesContructor<LabelModel>, options?: ModelOptions);
|
|
36
40
|
}
|
|
@@ -38,10 +38,14 @@ interface Derived {
|
|
|
38
38
|
isMe: boolean;
|
|
39
39
|
valid?: any;
|
|
40
40
|
}
|
|
41
|
-
/** @whatsapp 57465
|
|
41
|
+
/** @whatsapp 57465
|
|
42
|
+
* @whatsapp 257465 >= 2.2222.8
|
|
43
|
+
*/
|
|
42
44
|
export declare interface LiveLocationParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
43
45
|
}
|
|
44
|
-
/** @whatsapp 57465
|
|
46
|
+
/** @whatsapp 57465
|
|
47
|
+
* @whatsapp 257465 >= 2.2222.8
|
|
48
|
+
*/
|
|
45
49
|
export declare class LiveLocationParticipantModel extends Model {
|
|
46
50
|
idClass: typeof Wid;
|
|
47
51
|
constructor(proterties?: ModelPropertiesContructor<LiveLocationParticipantModel>, options?: ModelOptions);
|
|
@@ -63,10 +63,14 @@ interface Session {
|
|
|
63
63
|
interface Derived {
|
|
64
64
|
streamable?: any;
|
|
65
65
|
}
|
|
66
|
-
/** @whatsapp 2320
|
|
66
|
+
/** @whatsapp 2320
|
|
67
|
+
* @whatsapp 502320 >= 2.2222.8
|
|
68
|
+
*/
|
|
67
69
|
export declare interface MediaDataModel extends ModelProxy<Props, Session, Derived> {
|
|
68
70
|
}
|
|
69
|
-
/** @whatsapp 2320
|
|
71
|
+
/** @whatsapp 2320
|
|
72
|
+
* @whatsapp 502320 >= 2.2222.8
|
|
73
|
+
*/
|
|
70
74
|
export declare class MediaDataModel extends Model {
|
|
71
75
|
static TYPE?: any;
|
|
72
76
|
constructor(proterties?: ModelPropertiesContructor<MediaDataModel>, options?: ModelOptions);
|
|
@@ -33,7 +33,9 @@ export interface ModelOptions {
|
|
|
33
33
|
parent?: any;
|
|
34
34
|
silent?: any;
|
|
35
35
|
}
|
|
36
|
-
/** @whatsapp 11290
|
|
36
|
+
/** @whatsapp 11290
|
|
37
|
+
* @whatsapp 411290 >= 2.2222.8
|
|
38
|
+
*/
|
|
37
39
|
export declare class Model<Collection = undefined> extends EventEmitter {
|
|
38
40
|
static Proxy: string;
|
|
39
41
|
static idClass?: any;
|
|
@@ -30,7 +30,9 @@ export interface SessionChatBase {
|
|
|
30
30
|
msgsLength: number;
|
|
31
31
|
msgsChanged: number;
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 58492
|
|
33
|
+
/** @whatsapp 58492
|
|
34
|
+
* @whatsapp 558492 >= 2.2222.8
|
|
35
|
+
*/
|
|
34
36
|
export declare class ModelChatBase extends Model<ChatCollection> {
|
|
35
37
|
msgs: MsgLoad;
|
|
36
38
|
onEmptyMRM(): void;
|
|
@@ -24,10 +24,14 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp 52846
|
|
27
|
+
/** @whatsapp 52846
|
|
28
|
+
* @whatsapp 252846 >= 2.2222.8
|
|
29
|
+
*/
|
|
28
30
|
export declare interface MsgButtonReplyMsgModel extends ModelProxy<Props, Session, Derived> {
|
|
29
31
|
}
|
|
30
|
-
/** @whatsapp 52846
|
|
32
|
+
/** @whatsapp 52846
|
|
33
|
+
* @whatsapp 252846 >= 2.2222.8
|
|
34
|
+
*/
|
|
31
35
|
export declare class MsgButtonReplyMsgModel extends Model {
|
|
32
36
|
idClass: typeof MsgKey;
|
|
33
37
|
constructor(proterties?: ModelPropertiesContructor<MsgButtonReplyMsgModel>, options?: ModelOptions);
|
|
@@ -30,10 +30,14 @@ interface Session {
|
|
|
30
30
|
interface Derived {
|
|
31
31
|
settled?: any;
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 54311
|
|
33
|
+
/** @whatsapp 54311
|
|
34
|
+
* @whatsapp 754311 >= 2.2222.8
|
|
35
|
+
*/
|
|
34
36
|
export declare interface MsgInfoModel extends ModelProxy<Props, Session, Derived> {
|
|
35
37
|
}
|
|
36
|
-
/** @whatsapp 54311
|
|
38
|
+
/** @whatsapp 54311
|
|
39
|
+
* @whatsapp 754311 >= 2.2222.8
|
|
40
|
+
*/
|
|
37
41
|
export declare class MsgInfoModel extends Model<MsgInfoCollection> {
|
|
38
42
|
idClass: typeof MsgKey;
|
|
39
43
|
constructor(proterties?: ModelPropertiesContructor<MsgInfoModel>, options?: ModelOptions);
|
|
@@ -27,10 +27,14 @@ interface Session {
|
|
|
27
27
|
interface Derived {
|
|
28
28
|
isMuted: boolean;
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 40214
|
|
30
|
+
/** @whatsapp 40214
|
|
31
|
+
* @whatsapp 440214 >= 2.2222.8
|
|
32
|
+
*/
|
|
31
33
|
export declare interface MuteModel extends ModelProxy<Props, Session, Derived> {
|
|
32
34
|
}
|
|
33
|
-
/** @whatsapp 40214
|
|
35
|
+
/** @whatsapp 40214
|
|
36
|
+
* @whatsapp 440214 >= 2.2222.8
|
|
37
|
+
*/
|
|
34
38
|
export declare class MuteModel extends Model<MuteCollection> {
|
|
35
39
|
idClass: typeof Wid;
|
|
36
40
|
allowedIds?: any;
|
|
@@ -29,10 +29,14 @@ interface Session {
|
|
|
29
29
|
interface Derived {
|
|
30
30
|
mediaData?: any;
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp 52822
|
|
32
|
+
/** @whatsapp 52822
|
|
33
|
+
* @whatsapp 852822 >= 2.2222.8
|
|
34
|
+
*/
|
|
33
35
|
export declare interface OrderItemModel extends ModelProxy<Props, Session, Derived> {
|
|
34
36
|
}
|
|
35
|
-
/** @whatsapp 52822
|
|
37
|
+
/** @whatsapp 52822
|
|
38
|
+
* @whatsapp 852822 >= 2.2222.8
|
|
39
|
+
*/
|
|
36
40
|
export declare class OrderItemModel extends Model<OrderCollection> {
|
|
37
41
|
constructor(proterties?: ModelPropertiesContructor<OrderItemModel>, options?: ModelOptions);
|
|
38
42
|
getCollection(): OrderCollection;
|
|
@@ -32,10 +32,14 @@ interface Session {
|
|
|
32
32
|
interface Derived {
|
|
33
33
|
totalItemCount?: any;
|
|
34
34
|
}
|
|
35
|
-
/** @whatsapp 86761
|
|
35
|
+
/** @whatsapp 86761
|
|
36
|
+
* @whatsapp 286761 >= 2.2222.8
|
|
37
|
+
*/
|
|
36
38
|
export declare interface OrderModel extends ModelProxy<Props, Session, Derived> {
|
|
37
39
|
}
|
|
38
|
-
/** @whatsapp 86761
|
|
40
|
+
/** @whatsapp 86761
|
|
41
|
+
* @whatsapp 286761 >= 2.2222.8
|
|
42
|
+
*/
|
|
39
43
|
export declare class OrderModel extends Model<OrderCollection> {
|
|
40
44
|
constructor(proterties?: ModelPropertiesContructor<OrderModel>, options?: ModelOptions);
|
|
41
45
|
triggerItemCollectionUpdate(): any;
|
|
@@ -27,10 +27,14 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 45077
|
|
30
|
+
/** @whatsapp 45077
|
|
31
|
+
* @whatsapp 245077 >= 2.2222.8
|
|
32
|
+
*/
|
|
31
33
|
export declare interface ParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
32
34
|
}
|
|
33
|
-
/** @whatsapp 45077
|
|
35
|
+
/** @whatsapp 45077
|
|
36
|
+
* @whatsapp 245077 >= 2.2222.8
|
|
37
|
+
*/
|
|
34
38
|
export declare class ParticipantModel extends Model {
|
|
35
39
|
idClass: typeof Wid;
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<ParticipantModel>, options?: ModelOptions);
|
|
@@ -35,10 +35,14 @@ interface Derived {
|
|
|
35
35
|
isGroup: boolean;
|
|
36
36
|
isUser: boolean;
|
|
37
37
|
}
|
|
38
|
-
/** @whatsapp 30000
|
|
38
|
+
/** @whatsapp 30000
|
|
39
|
+
* @whatsapp 330000 >= 2.2222.8
|
|
40
|
+
*/
|
|
39
41
|
export declare interface PresenceModel extends ModelProxy<Props, Session, Derived> {
|
|
40
42
|
}
|
|
41
|
-
/** @whatsapp 30000
|
|
43
|
+
/** @whatsapp 30000
|
|
44
|
+
* @whatsapp 330000 >= 2.2222.8
|
|
45
|
+
*/
|
|
42
46
|
export declare class PresenceModel extends Model {
|
|
43
47
|
idClass: typeof Wid;
|
|
44
48
|
allowedIds?: any;
|
|
@@ -26,10 +26,14 @@ interface Session {
|
|
|
26
26
|
}
|
|
27
27
|
interface Derived {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp 94629
|
|
29
|
+
/** @whatsapp 94629
|
|
30
|
+
* @whatsapp 394629 >= 2.2222.8
|
|
31
|
+
*/
|
|
30
32
|
export declare interface ProductCollModel extends ModelProxy<Props, Session, Derived> {
|
|
31
33
|
}
|
|
32
|
-
/** @whatsapp 94629
|
|
34
|
+
/** @whatsapp 94629
|
|
35
|
+
* @whatsapp 394629 >= 2.2222.8
|
|
36
|
+
*/
|
|
33
37
|
export declare class ProductCollModel extends Model {
|
|
34
38
|
constructor(proterties?: ModelPropertiesContructor<ProductCollModel>, options?: ModelOptions);
|
|
35
39
|
addProducts(e?: any): any;
|
|
@@ -28,10 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 51954
|
|
31
|
+
/** @whatsapp 51954
|
|
32
|
+
* @whatsapp 951954 >= 2.2222.8
|
|
33
|
+
*/
|
|
32
34
|
export declare interface ProductImageModel extends ModelProxy<Props, Session, Derived> {
|
|
33
35
|
}
|
|
34
|
-
/** @whatsapp 51954
|
|
36
|
+
/** @whatsapp 51954
|
|
37
|
+
* @whatsapp 951954 >= 2.2222.8
|
|
38
|
+
*/
|
|
35
39
|
export declare class ProductImageModel extends Model {
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<ProductImageModel>, options?: ModelOptions);
|
|
37
41
|
triggerImageUpdate(): any;
|
|
@@ -25,10 +25,14 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 89295
|
|
28
|
+
/** @whatsapp 89295
|
|
29
|
+
* @whatsapp 989295 >= 2.2222.8
|
|
30
|
+
*/
|
|
29
31
|
export declare interface ProductMessageListModel extends ModelProxy<Props, Session, Derived> {
|
|
30
32
|
}
|
|
31
|
-
/** @whatsapp 89295
|
|
33
|
+
/** @whatsapp 89295
|
|
34
|
+
* @whatsapp 989295 >= 2.2222.8
|
|
35
|
+
*/
|
|
32
36
|
export declare class ProductMessageListModel extends Model {
|
|
33
37
|
idClass: typeof MsgKey;
|
|
34
38
|
constructor(proterties?: ModelPropertiesContructor<ProductMessageListModel>, options?: ModelOptions);
|
|
@@ -47,10 +47,14 @@ interface Session {
|
|
|
47
47
|
}
|
|
48
48
|
interface Derived {
|
|
49
49
|
}
|
|
50
|
-
/** @whatsapp 9468
|
|
50
|
+
/** @whatsapp 9468
|
|
51
|
+
* @whatsapp 509468 >= 2.2222.8
|
|
52
|
+
*/
|
|
51
53
|
export declare interface ProductModel extends ModelProxy<Props, Session, Derived> {
|
|
52
54
|
}
|
|
53
|
-
/** @whatsapp 9468
|
|
55
|
+
/** @whatsapp 9468
|
|
56
|
+
* @whatsapp 509468 >= 2.2222.8
|
|
57
|
+
*/
|
|
54
58
|
export declare class ProductModel extends Model {
|
|
55
59
|
constructor(proterties?: ModelPropertiesContructor<ProductModel>, options?: ModelOptions);
|
|
56
60
|
triggerImageUpdate(): any;
|
|
@@ -34,10 +34,14 @@ interface Derived {
|
|
|
34
34
|
imgFull?: string | null;
|
|
35
35
|
fallbackType?: 'SINGLE' | 'GROUP';
|
|
36
36
|
}
|
|
37
|
-
/** @whatsapp 93836
|
|
37
|
+
/** @whatsapp 93836
|
|
38
|
+
* @whatsapp 793836 >= 2.2222.8
|
|
39
|
+
*/
|
|
38
40
|
export declare interface ProfilePicThumbModel extends ModelProxy<Props, Session, Derived> {
|
|
39
41
|
}
|
|
40
|
-
/** @whatsapp 93836
|
|
42
|
+
/** @whatsapp 93836
|
|
43
|
+
* @whatsapp 793836 >= 2.2222.8
|
|
44
|
+
*/
|
|
41
45
|
export declare class ProfilePicThumbModel extends Model<ProfilePicThumbCollection> {
|
|
42
46
|
idClass: typeof Wid;
|
|
43
47
|
constructor(proterties?: ModelPropertiesContructor<ProfilePicThumbModel>, options?: ModelOptions);
|
|
@@ -29,10 +29,14 @@ interface Session {
|
|
|
29
29
|
interface Derived {
|
|
30
30
|
totalCount?: any;
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp 47169
|
|
32
|
+
/** @whatsapp 47169
|
|
33
|
+
* @whatsapp 947169 >= 2.2222.8
|
|
34
|
+
*/
|
|
33
35
|
export declare interface QuickReplyModel extends ModelProxy<Props, Session, Derived> {
|
|
34
36
|
}
|
|
35
|
-
/** @whatsapp 47169
|
|
37
|
+
/** @whatsapp 47169
|
|
38
|
+
* @whatsapp 947169 >= 2.2222.8
|
|
39
|
+
*/
|
|
36
40
|
export declare class QuickReplyModel extends Model<QuickReplyCollection> {
|
|
37
41
|
constructor(proterties?: ModelPropertiesContructor<QuickReplyModel>, options?: ModelOptions);
|
|
38
42
|
useOnce(): any;
|
|
@@ -27,11 +27,13 @@ interface Derived {
|
|
|
27
27
|
}
|
|
28
28
|
/** @whatsapp 80666
|
|
29
29
|
* @whatsapp 81130 >= 2.2220.8
|
|
30
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
30
31
|
*/
|
|
31
32
|
export declare interface ReactionsModel extends ModelProxy<Props, Session, Derived> {
|
|
32
33
|
}
|
|
33
34
|
/** @whatsapp 80666
|
|
34
35
|
* @whatsapp 81130 >= 2.2220.8
|
|
36
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
35
37
|
*/
|
|
36
38
|
export declare class ReactionsModel extends Model {
|
|
37
39
|
constructor(proterties?: ModelPropertiesContructor<ReactionsModel>, options?: ModelOptions);
|
|
@@ -35,11 +35,13 @@ interface Derived {
|
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* @whatsapp 81130
|
|
38
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
38
39
|
*/
|
|
39
40
|
export declare interface ReactionsSendersModel extends ModelProxy<Props, Session, Derived> {
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* @whatsapp 81130
|
|
44
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
43
45
|
*/
|
|
44
46
|
export declare class ReactionsSendersModel extends Model {
|
|
45
47
|
constructor(proterties?: ModelPropertiesContructor<ReactionsSendersModel>, options?: ModelOptions);
|
|
@@ -25,10 +25,14 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 20238
|
|
28
|
+
/** @whatsapp 20238
|
|
29
|
+
* @whatsapp 620238 >= 2.2222.8
|
|
30
|
+
*/
|
|
29
31
|
export declare interface RecentStickerModel extends ModelProxy<Props, Session, Derived> {
|
|
30
32
|
}
|
|
31
|
-
/** @whatsapp 20238
|
|
33
|
+
/** @whatsapp 20238
|
|
34
|
+
* @whatsapp 620238 >= 2.2222.8
|
|
35
|
+
*/
|
|
32
36
|
export declare class RecentStickerModel extends Model {
|
|
33
37
|
constructor(proterties?: ModelPropertiesContructor<RecentStickerModel>, options?: ModelOptions);
|
|
34
38
|
}
|
|
@@ -24,10 +24,14 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp 15871
|
|
27
|
+
/** @whatsapp 15871
|
|
28
|
+
* @whatsapp 315871 >= 2.2222.8
|
|
29
|
+
*/
|
|
28
30
|
export declare interface ReplyButtonModel extends ModelProxy<Props, Session, Derived> {
|
|
29
31
|
}
|
|
30
|
-
/** @whatsapp 15871
|
|
32
|
+
/** @whatsapp 15871
|
|
33
|
+
* @whatsapp 315871 >= 2.2222.8
|
|
34
|
+
*/
|
|
31
35
|
export declare class ReplyButtonModel extends Model {
|
|
32
36
|
constructor(proterties?: ModelPropertiesContructor<ReplyButtonModel>, options?: ModelOptions);
|
|
33
37
|
}
|
|
@@ -25,10 +25,14 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 67234
|
|
28
|
+
/** @whatsapp 67234
|
|
29
|
+
* @whatsapp 167234 >= 2.2222.8
|
|
30
|
+
*/
|
|
29
31
|
export declare interface StatusModel extends ModelProxy<Props, Session, Derived> {
|
|
30
32
|
}
|
|
31
|
-
/** @whatsapp 67234
|
|
33
|
+
/** @whatsapp 67234
|
|
34
|
+
* @whatsapp 167234 >= 2.2222.8
|
|
35
|
+
*/
|
|
32
36
|
export declare class StatusModel extends Model<StatusCollection> {
|
|
33
37
|
idClass: typeof Wid;
|
|
34
38
|
constructor(proterties?: ModelPropertiesContructor<StatusModel>, options?: ModelOptions);
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { StatusV3Collection } from '../collections';
|
|
17
17
|
import { Wid } from '../misc';
|
|
18
|
-
import {
|
|
19
|
-
import { PropsChatBase, SessionChatBase } from './ModelChatBase';
|
|
18
|
+
import { ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
|
|
19
|
+
import { ModelChatBase, PropsChatBase, SessionChatBase } from './ModelChatBase';
|
|
20
20
|
interface Props extends PropsChatBase {
|
|
21
21
|
t?: any;
|
|
22
22
|
unreadCount?: any;
|
|
@@ -35,11 +35,15 @@ interface Derived {
|
|
|
35
35
|
readCount?: any;
|
|
36
36
|
lastStatus?: any;
|
|
37
37
|
}
|
|
38
|
-
/** @whatsapp 47896
|
|
38
|
+
/** @whatsapp 47896
|
|
39
|
+
* @whatsapp 547896 >= 2.2222.8
|
|
40
|
+
*/
|
|
39
41
|
export declare interface StatusV3Model extends ModelProxy<Props, Session, Derived> {
|
|
40
42
|
}
|
|
41
|
-
/** @whatsapp 47896
|
|
42
|
-
|
|
43
|
+
/** @whatsapp 47896
|
|
44
|
+
* @whatsapp 547896 >= 2.2222.8
|
|
45
|
+
*/
|
|
46
|
+
export declare class StatusV3Model extends ModelChatBase {
|
|
43
47
|
idClass: typeof Wid;
|
|
44
48
|
constructor(proterties?: ModelPropertiesContructor<StatusV3Model>, options?: ModelOptions);
|
|
45
49
|
setupStatusExpiration(): any;
|
|
@@ -39,11 +39,13 @@ interface Derived {
|
|
|
39
39
|
}
|
|
40
40
|
/** @whatsapp 99718
|
|
41
41
|
* @whatsapp 89867 >= 2.2204.13
|
|
42
|
+
* @whatsapp 689867 >= 2.2222.8
|
|
42
43
|
*/
|
|
43
44
|
export declare interface StickerModel extends ModelProxy<Props, Session, Derived> {
|
|
44
45
|
}
|
|
45
46
|
/** @whatsapp 99718
|
|
46
47
|
* @whatsapp 89867 >= 2.2204.13
|
|
48
|
+
* @whatsapp 689867 >= 2.2222.8
|
|
47
49
|
*/
|
|
48
50
|
export declare class StickerModel extends Model {
|
|
49
51
|
constructor(proterties?: ModelPropertiesContructor<StickerModel>, options?: ModelOptions);
|
|
@@ -39,10 +39,14 @@ interface Derived {
|
|
|
39
39
|
isPlaceholder: boolean;
|
|
40
40
|
isFirstParty: boolean;
|
|
41
41
|
}
|
|
42
|
-
/** @whatsapp 74470
|
|
42
|
+
/** @whatsapp 74470
|
|
43
|
+
* @whatsapp 574470 >= 2.2222.8
|
|
44
|
+
*/
|
|
43
45
|
export declare interface StickerPackModel extends ModelProxy<Props, Session, Derived> {
|
|
44
46
|
}
|
|
45
|
-
/** @whatsapp 74470
|
|
47
|
+
/** @whatsapp 74470
|
|
48
|
+
* @whatsapp 574470 >= 2.2222.8
|
|
49
|
+
*/
|
|
46
50
|
export declare class StickerPackModel extends Model {
|
|
47
51
|
constructor(proterties?: ModelPropertiesContructor<StickerPackModel>, options?: ModelOptions);
|
|
48
52
|
downloadMedia(): any;
|
|
@@ -38,10 +38,14 @@ interface Session {
|
|
|
38
38
|
interface Derived {
|
|
39
39
|
displayInfo?: any;
|
|
40
40
|
}
|
|
41
|
-
/** @whatsapp 8080
|
|
41
|
+
/** @whatsapp 8080
|
|
42
|
+
* @whatsapp 608080 >= 2.2222.8
|
|
43
|
+
*/
|
|
42
44
|
export declare interface StreamModel extends ModelProxy<Props, Session, Derived> {
|
|
43
45
|
}
|
|
44
|
-
/** @whatsapp 8080
|
|
46
|
+
/** @whatsapp 8080
|
|
47
|
+
* @whatsapp 608080 >= 2.2222.8
|
|
48
|
+
*/
|
|
45
49
|
export declare class StreamModel extends Model {
|
|
46
50
|
constructor(proterties?: ModelPropertiesContructor<StreamModel>, options?: ModelOptions);
|
|
47
51
|
markAvailable(): void;
|
|
@@ -28,10 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 11897
|
|
31
|
+
/** @whatsapp 11897
|
|
32
|
+
* @whatsapp 311897 >= 2.2222.8
|
|
33
|
+
*/
|
|
32
34
|
export declare interface TemplateButtonModel extends ModelProxy<Props, Session, Derived> {
|
|
33
35
|
}
|
|
34
|
-
/** @whatsapp 11897
|
|
36
|
+
/** @whatsapp 11897
|
|
37
|
+
* @whatsapp 311897 >= 2.2222.8
|
|
38
|
+
*/
|
|
35
39
|
export declare class TemplateButtonModel extends Model {
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<TemplateButtonModel>, options?: ModelOptions);
|
|
37
41
|
}
|
|
@@ -23,10 +23,14 @@ interface Session {
|
|
|
23
23
|
}
|
|
24
24
|
interface Derived {
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp 41809
|
|
26
|
+
/** @whatsapp 41809
|
|
27
|
+
* @whatsapp 441809 >= 2.2222.8
|
|
28
|
+
*/
|
|
27
29
|
export declare interface UnreadMentionModel extends ModelProxy<Props, Session, Derived> {
|
|
28
30
|
}
|
|
29
|
-
/** @whatsapp 41809
|
|
31
|
+
/** @whatsapp 41809
|
|
32
|
+
* @whatsapp 441809 >= 2.2222.8
|
|
33
|
+
*/
|
|
30
34
|
export declare class UnreadMentionModel extends Model {
|
|
31
35
|
constructor(proterties?: ModelPropertiesContructor<UnreadMentionModel>, options?: ModelOptions);
|
|
32
36
|
}
|
|
@@ -29,11 +29,13 @@ interface Derived {
|
|
|
29
29
|
}
|
|
30
30
|
/** @whatsapp 77107
|
|
31
31
|
* @whatsapp 91932 >= 2.2204.13
|
|
32
|
+
* @whatsapp 277107 >= 2.2222.8
|
|
32
33
|
*/
|
|
33
34
|
export declare interface WebCallModel extends ModelProxy<Props, Session, Derived> {
|
|
34
35
|
}
|
|
35
36
|
/** @whatsapp 77107
|
|
36
37
|
* @whatsapp 91932 >= 2.2204.13
|
|
38
|
+
* @whatsapp 277107 >= 2.2222.8
|
|
37
39
|
*/
|
|
38
40
|
export declare class WebCallModel extends Model {
|
|
39
41
|
constructor(proterties?: ModelPropertiesContructor<WebCallModel>, options?: ModelOptions);
|