@wppconnect/wa-js 1.1.17 → 1.2.0
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 +17 -0
- package/dist/{auth → conn}/eventEmitter.d.ts +37 -3
- package/dist/conn/events/index.d.ts +22 -0
- package/dist/{auth/events/registerChangeEvent.d.ts → conn/events/registerAuthCodeChangeEvent.d.ts} +0 -0
- package/dist/{auth/events/registerIdleEvent.d.ts → conn/events/registerAuthenticatedEvent.d.ts} +0 -0
- package/dist/{auth → conn}/events/registerLogoutEvent.d.ts +0 -0
- package/dist/{auth/functions/poke.d.ts → conn/events/registerMainLoadedEvent.d.ts} +1 -1
- package/dist/conn/events/registerMainReadyEvent.d.ts +16 -0
- package/dist/conn/events/registerQRCodeIdleEvent.d.ts +16 -0
- package/dist/conn/events/registerRequireAuthEvent.d.ts +16 -0
- package/dist/{auth → conn}/functions/getAuthCode.d.ts +0 -0
- package/dist/{auth → conn}/functions/index.d.ts +2 -1
- package/dist/{auth → conn}/functions/isAuthenticated.d.ts +0 -0
- package/dist/{auth → conn}/functions/isIdle.d.ts +0 -0
- package/dist/conn/functions/isMainLoaded.d.ts +24 -0
- package/dist/{auth → conn}/functions/isMultiDevice.d.ts +0 -0
- package/dist/{auth → conn}/functions/logout.d.ts +0 -0
- package/dist/conn/functions/refreshQR.d.ts +28 -0
- package/dist/{auth → conn}/functions/setMultiDevice.d.ts +1 -1
- package/dist/{auth → conn}/index.d.ts +0 -0
- package/dist/{auth → conn}/types.d.ts +0 -0
- package/dist/group/functions/canAdd.d.ts +1 -1
- package/dist/group/functions/canDemote.d.ts +1 -1
- package/dist/group/functions/canPromote.d.ts +1 -1
- package/dist/group/functions/canRemove.d.ts +1 -1
- package/dist/group/functions/ensureGroup.d.ts +1 -1
- package/dist/group/functions/ensureGroupAndParticipants.d.ts +2 -2
- package/dist/group/functions/getParticipants.d.ts +1 -1
- package/dist/group/functions/iAmAdmin.d.ts +1 -1
- package/dist/group/functions/iAmMember.d.ts +1 -1
- package/dist/group/functions/iAmRestrictedMember.d.ts +1 -1
- package/dist/group/functions/iAmSuperAdmin.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- 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/Socket.d.ts +18 -0
- package/dist/{auth/events/index.d.ts → whatsapp/misc/Stream.d.ts} +3 -3
- 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/misc/index.d.ts +2 -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 → SocketModel.d.ts} +5 -5
- 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/StreamModel.d.ts +61 -0
- 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/models/index.d.ts +2 -1
- 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 +20 -25
- package/tests/check-auth.ts +2 -2
- package/tests/prepare.ts +3 -3
- package/dist/internal.d.ts +0 -21
- package/dist/whatsapp/misc/State.d.ts +0 -18
|
@@ -34,10 +34,10 @@ interface Derived {
|
|
|
34
34
|
imgFull?: any;
|
|
35
35
|
fallbackType?: any;
|
|
36
36
|
}
|
|
37
|
-
/** @whatsapp
|
|
37
|
+
/** @whatsapp 93836 */
|
|
38
38
|
export declare interface ProfilePicThumbModel extends ModelProxy<Props, Session, Derived> {
|
|
39
39
|
}
|
|
40
|
-
/** @whatsapp
|
|
40
|
+
/** @whatsapp 93836 */
|
|
41
41
|
export declare class ProfilePicThumbModel extends Model<ProfilePicThumbCollection> {
|
|
42
42
|
idClass: typeof Wid;
|
|
43
43
|
constructor(proterties?: ModelPropertiesContructor<ProfilePicThumbModel>, options?: ModelOptions);
|
|
@@ -29,10 +29,10 @@ interface Session {
|
|
|
29
29
|
interface Derived {
|
|
30
30
|
totalCount?: any;
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp
|
|
32
|
+
/** @whatsapp 47169 */
|
|
33
33
|
export declare interface QuickReplyModel extends ModelProxy<Props, Session, Derived> {
|
|
34
34
|
}
|
|
35
|
-
/** @whatsapp
|
|
35
|
+
/** @whatsapp 47169 */
|
|
36
36
|
export declare class QuickReplyModel extends Model<QuickReplyCollection> {
|
|
37
37
|
constructor(proterties?: ModelPropertiesContructor<QuickReplyModel>, options?: ModelOptions);
|
|
38
38
|
useOnce(): any;
|
|
@@ -23,10 +23,10 @@ interface Session {
|
|
|
23
23
|
}
|
|
24
24
|
interface Derived {
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp
|
|
26
|
+
/** @whatsapp 93894 */
|
|
27
27
|
export declare interface RecentEmojiModel extends ModelProxy<Props, Session, Derived> {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp
|
|
29
|
+
/** @whatsapp 93894 */
|
|
30
30
|
export declare class RecentEmojiModel extends Model {
|
|
31
31
|
constructor(proterties?: ModelPropertiesContructor<RecentEmojiModel>, options?: ModelOptions);
|
|
32
32
|
}
|
|
@@ -25,10 +25,10 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp
|
|
28
|
+
/** @whatsapp 20238 */
|
|
29
29
|
export declare interface RecentStickerModel extends ModelProxy<Props, Session, Derived> {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp
|
|
31
|
+
/** @whatsapp 20238 */
|
|
32
32
|
export declare class RecentStickerModel extends Model {
|
|
33
33
|
constructor(proterties?: ModelPropertiesContructor<RecentStickerModel>, options?: ModelOptions);
|
|
34
34
|
}
|
|
@@ -24,10 +24,10 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp
|
|
27
|
+
/** @whatsapp 15871 */
|
|
28
28
|
export declare interface ReplyButtonModel extends ModelProxy<Props, Session, Derived> {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp
|
|
30
|
+
/** @whatsapp 15871 */
|
|
31
31
|
export declare class ReplyButtonModel extends Model {
|
|
32
32
|
constructor(proterties?: ModelPropertiesContructor<ReplyButtonModel>, options?: ModelOptions);
|
|
33
33
|
}
|
|
@@ -54,12 +54,12 @@ interface Session {
|
|
|
54
54
|
}
|
|
55
55
|
interface Derived {
|
|
56
56
|
}
|
|
57
|
-
/** @whatsapp
|
|
58
|
-
export declare interface
|
|
57
|
+
/** @whatsapp 65044 */
|
|
58
|
+
export declare interface SocketModel extends ModelProxy<Props, Session, Derived> {
|
|
59
59
|
}
|
|
60
|
-
/** @whatsapp
|
|
61
|
-
export declare class
|
|
62
|
-
constructor(proterties?: ModelPropertiesContructor<
|
|
60
|
+
/** @whatsapp 65044 */
|
|
61
|
+
export declare class SocketModel extends Model {
|
|
62
|
+
constructor(proterties?: ModelPropertiesContructor<SocketModel>, options?: ModelOptions);
|
|
63
63
|
initialize(): any;
|
|
64
64
|
preload(): any;
|
|
65
65
|
send(e?: any): any;
|
|
@@ -25,10 +25,10 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp
|
|
28
|
+
/** @whatsapp 67234 */
|
|
29
29
|
export declare interface StatusModel extends ModelProxy<Props, Session, Derived> {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp
|
|
31
|
+
/** @whatsapp 67234 */
|
|
32
32
|
export declare class StatusModel extends Model<StatusCollection> {
|
|
33
33
|
idClass: typeof Wid;
|
|
34
34
|
constructor(proterties?: ModelPropertiesContructor<StatusModel>, options?: ModelOptions);
|
|
@@ -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;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
|
|
17
|
+
interface Props {
|
|
18
|
+
}
|
|
19
|
+
interface Session {
|
|
20
|
+
info?: any;
|
|
21
|
+
mode: string;
|
|
22
|
+
obscurity?: any;
|
|
23
|
+
needsUpdate?: any;
|
|
24
|
+
clientExpired?: any;
|
|
25
|
+
hardExpired?: any;
|
|
26
|
+
lastSyncStart?: any;
|
|
27
|
+
needsManualDownload?: any;
|
|
28
|
+
couldForce?: any;
|
|
29
|
+
uiActive?: any;
|
|
30
|
+
available?: any;
|
|
31
|
+
unavailableShiftTimer?: any;
|
|
32
|
+
unavailableLogoutTimer?: any;
|
|
33
|
+
unobscureShiftTimer?: any;
|
|
34
|
+
timeoutEvent?: any;
|
|
35
|
+
resumeCount?: any;
|
|
36
|
+
phoneAuthed?: any;
|
|
37
|
+
}
|
|
38
|
+
interface Derived {
|
|
39
|
+
displayInfo?: any;
|
|
40
|
+
}
|
|
41
|
+
/** @whatsapp 8080 */
|
|
42
|
+
export declare interface StreamModel extends ModelProxy<Props, Session, Derived> {
|
|
43
|
+
}
|
|
44
|
+
/** @whatsapp 8080 */
|
|
45
|
+
export declare class StreamModel extends Model {
|
|
46
|
+
constructor(proterties?: ModelPropertiesContructor<StreamModel>, options?: ModelOptions);
|
|
47
|
+
markAvailable(): void;
|
|
48
|
+
markUnavailable(e?: any): void;
|
|
49
|
+
onSelfUpdate(): void;
|
|
50
|
+
onSocketUpdate(): void;
|
|
51
|
+
unobscure(): void;
|
|
52
|
+
onPhoneAuthedUpdate(): void;
|
|
53
|
+
onAvailableUpdate(): void;
|
|
54
|
+
sendAvailability(e?: any): void;
|
|
55
|
+
updateCouldForce(): void;
|
|
56
|
+
updateHardExpire(): void;
|
|
57
|
+
logPageResume(): void;
|
|
58
|
+
updateWamLog(): void;
|
|
59
|
+
logModeChange(): void;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
@@ -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
|
}
|
|
@@ -54,11 +54,12 @@ export * from './QuickReplyModel';
|
|
|
54
54
|
export * from './RecentEmojiModel';
|
|
55
55
|
export * from './RecentStickerModel';
|
|
56
56
|
export * from './ReplyButtonModel';
|
|
57
|
-
export * from './
|
|
57
|
+
export * from './SocketModel';
|
|
58
58
|
export * from './StatusModel';
|
|
59
59
|
export * from './StatusV3Model';
|
|
60
60
|
export * from './StickerModel';
|
|
61
61
|
export * from './StickerPackModel';
|
|
62
|
+
export * from './StreamModel';
|
|
62
63
|
export * from './TemplateButtonModel';
|
|
63
64
|
export * from './UnreadMentionModel';
|
|
64
65
|
export * from './WebCallModel';
|
|
@@ -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;
|