@wppconnect/wa-js 1.1.18 → 1.1.19
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 +4 -0
- package/dist/whatsapp/collections/BaseCollection.d.ts +1 -1
- package/dist/whatsapp/collections/BlocklistCollection.d.ts +1 -1
- package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +1 -1
- package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ButtonCollection.d.ts +1 -1
- package/dist/whatsapp/collections/CallCollection.d.ts +1 -1
- package/dist/whatsapp/collections/CartCollection.d.ts +1 -1
- package/dist/whatsapp/collections/CartItemCollection.d.ts +1 -1
- package/dist/whatsapp/collections/CatalogCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ChatCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ChatstateCollection.d.ts +1 -1
- package/dist/whatsapp/collections/Collection.d.ts +2 -2
- package/dist/whatsapp/collections/ContactCollection.d.ts +1 -1
- package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +1 -1
- package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +1 -1
- package/dist/whatsapp/collections/LabelCollection.d.ts +1 -1
- package/dist/whatsapp/collections/LabelItemCollection.d.ts +1 -1
- package/dist/whatsapp/collections/LiveLocationCollection.d.ts +1 -1
- package/dist/whatsapp/collections/MsgCollection.d.ts +1 -1
- package/dist/whatsapp/collections/MsgInfoCollection.d.ts +1 -1
- package/dist/whatsapp/collections/MuteCollection.d.ts +1 -1
- package/dist/whatsapp/collections/OrderCollection.d.ts +1 -1
- package/dist/whatsapp/collections/OrderItemCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -1
- package/dist/whatsapp/collections/PresenceCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ProductCollCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ProductCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ProductImageCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ProductMessageListCollection.d.ts +1 -1
- package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +1 -1
- package/dist/whatsapp/collections/QuickReplyCollection.d.ts +1 -1
- package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +1 -1
- package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StarredMsgCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StarredStickerCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StatusCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StatusV3Collection.d.ts +1 -1
- package/dist/whatsapp/collections/StickerCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -1
- package/dist/whatsapp/collections/StickerSearchCollection.d.ts +1 -1
- package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +1 -1
- package/dist/whatsapp/enums/ACK.d.ts +46 -0
- package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +1 -1
- package/dist/whatsapp/enums/LogoutReason.d.ts +1 -1
- package/dist/whatsapp/enums/MSG_TYPE.d.ts +54 -0
- package/dist/whatsapp/enums/OUTWARD_TYPES.d.ts +1 -1
- package/dist/whatsapp/enums/SOCKET_STATE.d.ts +42 -0
- package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -1
- package/dist/whatsapp/enums/index.d.ts +2 -0
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -1
- package/dist/whatsapp/functions/blockContact.d.ts +2 -2
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +1 -1
- package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -1
- package/dist/whatsapp/functions/findChat.d.ts +1 -1
- package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -1
- package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -1
- package/dist/whatsapp/functions/groupParticipants.d.ts +4 -4
- package/dist/whatsapp/functions/handleAck.d.ts +3 -3
- package/dist/whatsapp/functions/isAuthenticated.d.ts +1 -1
- package/dist/whatsapp/functions/markSeen.d.ts +3 -3
- package/dist/whatsapp/functions/msgFindQuery.d.ts +1 -1
- package/dist/whatsapp/functions/products.d.ts +4 -4
- package/dist/whatsapp/functions/profilePic.d.ts +1 -1
- package/dist/whatsapp/functions/randomId.d.ts +2 -2
- package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +1 -1
- package/dist/whatsapp/functions/sendClear.d.ts +1 -1
- package/dist/whatsapp/functions/sendCreateGroup.d.ts +1 -1
- package/dist/whatsapp/functions/sendDelete.d.ts +1 -1
- package/dist/whatsapp/functions/sendExitGroup.d.ts +1 -1
- package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +1 -1
- package/dist/whatsapp/functions/sendQueryExists.d.ts +1 -1
- package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +1 -1
- package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +1 -1
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -1
- package/dist/whatsapp/functions/setGroup.d.ts +3 -3
- package/dist/whatsapp/functions/status.d.ts +2 -2
- package/dist/whatsapp/functions/uploadProductImage.d.ts +1 -1
- package/dist/whatsapp/misc/Base64.d.ts +1 -1
- package/dist/whatsapp/misc/Browser.d.ts +1 -1
- package/dist/whatsapp/misc/ChatPresence.d.ts +1 -1
- package/dist/whatsapp/misc/Clock.d.ts +2 -2
- package/dist/whatsapp/misc/Cmd.d.ts +2 -2
- package/dist/whatsapp/misc/Conn.d.ts +1 -1
- package/dist/whatsapp/misc/Constants.d.ts +83 -430
- package/dist/whatsapp/misc/EventEmitter.d.ts +1 -1
- package/dist/whatsapp/misc/Features.d.ts +1 -1
- package/dist/whatsapp/misc/ImageUtils.d.ts +1 -1
- package/dist/whatsapp/misc/Locale.d.ts +1 -1
- package/dist/whatsapp/misc/MediaBlobCache.d.ts +2 -2
- package/dist/whatsapp/misc/MediaObject.d.ts +1 -1
- package/dist/whatsapp/misc/MediaObjectUtil.d.ts +1 -1
- package/dist/whatsapp/misc/MediaPrep.d.ts +1 -1
- package/dist/whatsapp/misc/MediaUtils.d.ts +1 -1
- package/dist/whatsapp/misc/MsgKey.d.ts +1 -1
- package/dist/whatsapp/misc/MsgLoadState.d.ts +2 -2
- package/dist/whatsapp/misc/OpaqueData.d.ts +2 -2
- package/dist/whatsapp/misc/State.d.ts +1 -1
- package/dist/whatsapp/misc/UserPrefs.d.ts +1 -1
- package/dist/whatsapp/misc/VCard.d.ts +1 -1
- package/dist/whatsapp/misc/Wap.d.ts +2 -2
- package/dist/whatsapp/misc/Wid.d.ts +1 -1
- package/dist/whatsapp/misc/WidFactory.d.ts +1 -1
- package/dist/whatsapp/models/AttachMediaModel.d.ts +2 -2
- package/dist/whatsapp/models/BlocklistModel.d.ts +2 -2
- package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +2 -2
- package/dist/whatsapp/models/BusinessProfileModel.d.ts +2 -2
- package/dist/whatsapp/models/CallModel.d.ts +2 -2
- package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -2
- package/dist/whatsapp/models/CartItemModel.d.ts +2 -2
- package/dist/whatsapp/models/CartModel.d.ts +2 -2
- package/dist/whatsapp/models/CatalogModel.d.ts +2 -2
- package/dist/whatsapp/models/ChatModel.d.ts +2 -2
- package/dist/whatsapp/models/ChatPreferenceModel.d.ts +2 -2
- package/dist/whatsapp/models/ChatstateModel.d.ts +2 -2
- package/dist/whatsapp/models/ConnModel.d.ts +2 -2
- package/dist/whatsapp/models/ContactModel.d.ts +2 -2
- package/dist/whatsapp/models/ConversionTupleModel.d.ts +2 -2
- package/dist/whatsapp/models/EmojiVariantModel.d.ts +2 -2
- package/dist/whatsapp/models/GroupMetadataModel.d.ts +2 -2
- package/dist/whatsapp/models/LabelItemModel.d.ts +2 -2
- package/dist/whatsapp/models/LabelModel.d.ts +2 -2
- package/dist/whatsapp/models/LiveLocationModel.d.ts +2 -2
- package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +2 -2
- package/dist/whatsapp/models/MediaDataModel.d.ts +2 -2
- package/dist/whatsapp/models/Model.d.ts +1 -1
- package/dist/whatsapp/models/ModelChatBase.d.ts +1 -1
- package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +2 -2
- package/dist/whatsapp/models/MsgInfoModel.d.ts +2 -2
- package/dist/whatsapp/models/MsgModel.d.ts +2 -2
- package/dist/whatsapp/models/MuteModel.d.ts +2 -2
- package/dist/whatsapp/models/OrderItemModel.d.ts +2 -2
- package/dist/whatsapp/models/OrderModel.d.ts +2 -2
- package/dist/whatsapp/models/ParticipantModel.d.ts +2 -2
- package/dist/whatsapp/models/ProductCollModel.d.ts +2 -2
- package/dist/whatsapp/models/ProductImageModel.d.ts +2 -2
- package/dist/whatsapp/models/ProductMessageListModel.d.ts +2 -2
- package/dist/whatsapp/models/ProductModel.d.ts +2 -2
- package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +2 -2
- package/dist/whatsapp/models/QuickReplyModel.d.ts +2 -2
- package/dist/whatsapp/models/RecentEmojiModel.d.ts +2 -2
- package/dist/whatsapp/models/RecentStickerModel.d.ts +2 -2
- package/dist/whatsapp/models/ReplyButtonModel.d.ts +2 -2
- package/dist/whatsapp/models/StateModel.d.ts +2 -2
- package/dist/whatsapp/models/StatusModel.d.ts +2 -2
- package/dist/whatsapp/models/StatusV3Model.d.ts +2 -2
- package/dist/whatsapp/models/StickerModel.d.ts +2 -2
- package/dist/whatsapp/models/StickerPackModel.d.ts +2 -2
- package/dist/whatsapp/models/TemplateButtonModel.d.ts +2 -2
- package/dist/whatsapp/models/UnreadMentionModel.d.ts +2 -2
- package/dist/whatsapp/models/WebCallModel.d.ts +2 -2
- package/dist/whatsapp/multidevice/adv.d.ts +1 -1
- package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -1
- package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -1
- package/dist/whatsapp/stores.d.ts +29 -29
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +9 -9
|
@@ -35,10 +35,10 @@ interface Derived {
|
|
|
35
35
|
readCount?: any;
|
|
36
36
|
lastStatus?: any;
|
|
37
37
|
}
|
|
38
|
-
/** @whatsapp
|
|
38
|
+
/** @whatsapp 47896 */
|
|
39
39
|
export declare interface StatusV3Model extends ModelProxy<Props, Session, Derived> {
|
|
40
40
|
}
|
|
41
|
-
/** @whatsapp
|
|
41
|
+
/** @whatsapp 47896 */
|
|
42
42
|
export declare class StatusV3Model extends Model<StatusV3Collection> {
|
|
43
43
|
idClass: typeof Wid;
|
|
44
44
|
constructor(proterties?: ModelPropertiesContructor<StatusV3Model>, options?: ModelOptions);
|
|
@@ -37,10 +37,10 @@ interface Session {
|
|
|
37
37
|
}
|
|
38
38
|
interface Derived {
|
|
39
39
|
}
|
|
40
|
-
/** @whatsapp
|
|
40
|
+
/** @whatsapp 89867 */
|
|
41
41
|
export declare interface StickerModel extends ModelProxy<Props, Session, Derived> {
|
|
42
42
|
}
|
|
43
|
-
/** @whatsapp
|
|
43
|
+
/** @whatsapp 89867 */
|
|
44
44
|
export declare class StickerModel extends Model {
|
|
45
45
|
constructor(proterties?: ModelPropertiesContructor<StickerModel>, options?: ModelOptions);
|
|
46
46
|
downloadMedia(): any;
|
|
@@ -39,10 +39,10 @@ interface Derived {
|
|
|
39
39
|
isPlaceholder: boolean;
|
|
40
40
|
isFirstParty: boolean;
|
|
41
41
|
}
|
|
42
|
-
/** @whatsapp
|
|
42
|
+
/** @whatsapp 74470 */
|
|
43
43
|
export declare interface StickerPackModel extends ModelProxy<Props, Session, Derived> {
|
|
44
44
|
}
|
|
45
|
-
/** @whatsapp
|
|
45
|
+
/** @whatsapp 74470 */
|
|
46
46
|
export declare class StickerPackModel extends Model {
|
|
47
47
|
constructor(proterties?: ModelPropertiesContructor<StickerPackModel>, options?: ModelOptions);
|
|
48
48
|
downloadMedia(): any;
|
|
@@ -28,10 +28,10 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp
|
|
31
|
+
/** @whatsapp 11897 */
|
|
32
32
|
export declare interface TemplateButtonModel extends ModelProxy<Props, Session, Derived> {
|
|
33
33
|
}
|
|
34
|
-
/** @whatsapp
|
|
34
|
+
/** @whatsapp 11897 */
|
|
35
35
|
export declare class TemplateButtonModel extends Model {
|
|
36
36
|
constructor(proterties?: ModelPropertiesContructor<TemplateButtonModel>, options?: ModelOptions);
|
|
37
37
|
}
|
|
@@ -23,10 +23,10 @@ interface Session {
|
|
|
23
23
|
}
|
|
24
24
|
interface Derived {
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp
|
|
26
|
+
/** @whatsapp 41809 */
|
|
27
27
|
export declare interface UnreadMentionModel extends ModelProxy<Props, Session, Derived> {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp
|
|
29
|
+
/** @whatsapp 41809 */
|
|
30
30
|
export declare class UnreadMentionModel extends Model {
|
|
31
31
|
constructor(proterties?: ModelPropertiesContructor<UnreadMentionModel>, options?: ModelOptions);
|
|
32
32
|
}
|
|
@@ -27,10 +27,10 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp
|
|
30
|
+
/** @whatsapp 91932 */
|
|
31
31
|
export declare interface WebCallModel extends ModelProxy<Props, Session, Derived> {
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp
|
|
33
|
+
/** @whatsapp 91932 */
|
|
34
34
|
export declare class WebCallModel extends Model {
|
|
35
35
|
constructor(proterties?: ModelPropertiesContructor<WebCallModel>, options?: ModelOptions);
|
|
36
36
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/** @whatsapp
|
|
16
|
+
/** @whatsapp 45763 */
|
|
17
17
|
export declare namespace adv {
|
|
18
18
|
function generateADVSecretKey(): string;
|
|
19
19
|
function getADVSecretKey(): string;
|
|
@@ -14,61 +14,61 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import * as collections from './collections';
|
|
17
|
-
/** @whatsapp
|
|
17
|
+
/** @whatsapp 32826 */
|
|
18
18
|
export declare const BlocklistStore: collections.BlocklistCollection;
|
|
19
|
-
/** @whatsapp
|
|
19
|
+
/** @whatsapp 3754 */
|
|
20
20
|
export declare const BusinessCategoriesResultStore: collections.BusinessCategoriesResultCollection;
|
|
21
|
-
/** @whatsapp
|
|
21
|
+
/** @whatsapp 93581 */
|
|
22
22
|
export declare const BusinessProfileStore: collections.BusinessProfileCollection;
|
|
23
|
-
/** @whatsapp
|
|
23
|
+
/** @whatsapp 31218 */
|
|
24
24
|
export declare const CallStore: collections.CallCollection;
|
|
25
|
-
/** @whatsapp
|
|
25
|
+
/** @whatsapp 12392 */
|
|
26
26
|
export declare const CartStore: collections.CartCollection;
|
|
27
|
-
/** @whatsapp
|
|
27
|
+
/** @whatsapp 99989 */
|
|
28
28
|
export declare const CatalogStore: collections.CatalogCollection;
|
|
29
|
-
/** @whatsapp
|
|
29
|
+
/** @whatsapp 69951 */
|
|
30
30
|
export declare const ChatStore: collections.ChatCollection;
|
|
31
|
-
/** @whatsapp
|
|
31
|
+
/** @whatsapp 19380 */
|
|
32
32
|
export declare const ContactStore: collections.ContactCollection;
|
|
33
|
-
/** @whatsapp
|
|
33
|
+
/** @whatsapp 13185 */
|
|
34
34
|
export declare const EmojiVariantStore: collections.EmojiVariantCollection;
|
|
35
|
-
/** @whatsapp
|
|
35
|
+
/** @whatsapp 63928 */
|
|
36
36
|
export declare const GroupMetadataStore: collections.GroupMetadataCollection;
|
|
37
|
-
/** @whatsapp
|
|
37
|
+
/** @whatsapp 16770 */
|
|
38
38
|
export declare const LabelStore: collections.LabelCollection;
|
|
39
|
-
/** @whatsapp
|
|
39
|
+
/** @whatsapp 85865 */
|
|
40
40
|
export declare const LiveLocationStore: collections.LiveLocationCollection;
|
|
41
|
-
/** @whatsapp
|
|
41
|
+
/** @whatsapp 59871 */
|
|
42
42
|
export declare const MsgStore: collections.MsgCollection;
|
|
43
|
-
/** @whatsapp
|
|
43
|
+
/** @whatsapp 17972 */
|
|
44
44
|
export declare const MsgInfoStore: collections.MsgInfoCollection;
|
|
45
|
-
/** @whatsapp
|
|
45
|
+
/** @whatsapp 72472 */
|
|
46
46
|
export declare const MuteStore: collections.MuteCollection;
|
|
47
|
-
/** @whatsapp
|
|
47
|
+
/** @whatsapp 84312 */
|
|
48
48
|
export declare const OrderStore: collections.OrderCollection;
|
|
49
|
-
/** @whatsapp
|
|
49
|
+
/** @whatsapp 68315 */
|
|
50
50
|
export declare const PresenceStore: collections.PresenceCollection;
|
|
51
|
-
/** @whatsapp
|
|
51
|
+
/** @whatsapp 18952 */
|
|
52
52
|
export declare const ProductMessageListStore: collections.ProductMessageListCollection;
|
|
53
|
-
/** @whatsapp
|
|
53
|
+
/** @whatsapp 82039 */
|
|
54
54
|
export declare const ProfilePicThumbStore: collections.ProfilePicThumbCollection;
|
|
55
|
-
/** @whatsapp
|
|
55
|
+
/** @whatsapp 99662 */
|
|
56
56
|
export declare const QuickReplyStore: collections.QuickReplyCollection;
|
|
57
|
-
/** @whatsapp
|
|
57
|
+
/** @whatsapp 92671 */
|
|
58
58
|
export declare const RecentEmojiStore: collections.RecentEmojiCollection;
|
|
59
|
-
/** @whatsapp
|
|
59
|
+
/** @whatsapp 49264 */
|
|
60
60
|
export declare const RecentStickerStore: collections.RecentStickerCollection;
|
|
61
|
-
/** @whatsapp
|
|
61
|
+
/** @whatsapp 19011 */
|
|
62
62
|
export declare const StarredMsgStore: collections.StarredMsgCollection;
|
|
63
|
-
/** @whatsapp
|
|
63
|
+
/** @whatsapp 16774 */
|
|
64
64
|
export declare const StarredStickerStore: collections.StarredStickerCollection;
|
|
65
|
-
/** @whatsapp
|
|
65
|
+
/** @whatsapp 46133 */
|
|
66
66
|
export declare const StatusStore: collections.StatusCollection;
|
|
67
|
-
/** @whatsapp
|
|
67
|
+
/** @whatsapp 59387 */
|
|
68
68
|
export declare const StatusV3Store: collections.StatusV3Collection;
|
|
69
|
-
/** @whatsapp
|
|
69
|
+
/** @whatsapp 67963 */
|
|
70
70
|
export declare const StickerStore: collections.StickerCollection;
|
|
71
|
-
/** @whatsapp
|
|
71
|
+
/** @whatsapp 44333 */
|
|
72
72
|
export declare const StickerPackStore: collections.StickerPackCollection;
|
|
73
|
-
/** @whatsapp
|
|
73
|
+
/** @whatsapp 45068 */
|
|
74
74
|
export declare const StickerSearchStore: collections.StickerSearchCollection;
|