@wppconnect/wa-js 2.7.1 → 2.8.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 +62 -222
- package/dist/config.d.ts +25 -1
- package/dist/contact/functions/getStatus.d.ts +1 -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/gtag/Tracker.d.ts +51 -0
- package/dist/{gtag.d.ts → gtag/index.d.ts} +3 -2
- 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 +1 -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 +26 -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 -18
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { ChatModel } from '..';
|
|
17
|
-
/** @whatsapp 371
|
|
17
|
+
/** @whatsapp 371
|
|
18
|
+
* @whatsapp 800371 >= 2.2222.8
|
|
19
|
+
*/
|
|
18
20
|
export declare namespace ChatPresence {
|
|
19
21
|
function markComposing(chat: ChatModel): Promise<void>;
|
|
20
22
|
function markPaused(chat: ChatModel): Promise<void>;
|
|
@@ -18,6 +18,7 @@ import { MsgModel } from '../models';
|
|
|
18
18
|
import { EventEmitter } from '.';
|
|
19
19
|
/** @whatsapp 88102
|
|
20
20
|
* @whatsapp 81572 >= 2.2218.4
|
|
21
|
+
* @whatsapp 781572 >= 2.2222.8
|
|
21
22
|
*/
|
|
22
23
|
export declare class CmdClass extends EventEmitter {
|
|
23
24
|
isMainLoaded: boolean;
|
|
@@ -152,5 +153,6 @@ export declare class CmdClass extends EventEmitter {
|
|
|
152
153
|
}
|
|
153
154
|
/** @whatsapp 88102
|
|
154
155
|
* @whatsapp 81572 >= 2.2218.4
|
|
156
|
+
* @whatsapp 781572 >= 2.2222.8
|
|
155
157
|
*/
|
|
156
158
|
export declare const Cmd: CmdClass;
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/** @whatsapp 84866
|
|
16
|
+
/** @whatsapp 84866
|
|
17
|
+
* @whatsapp 284866 >= 2.2222.8
|
|
18
|
+
*/
|
|
17
19
|
export declare class MediaBlobCacheImpl {
|
|
18
20
|
is24h: boolean;
|
|
19
21
|
getOrCreateURL(filehash: string): string;
|
|
@@ -26,5 +28,7 @@ export declare class MediaBlobCacheImpl {
|
|
|
26
28
|
increaseUsageCount(filehash: string): void;
|
|
27
29
|
decreaseUsageCount(filehash: string): void;
|
|
28
30
|
}
|
|
29
|
-
/** @whatsapp 84866
|
|
31
|
+
/** @whatsapp 84866
|
|
32
|
+
* @whatsapp 284866 >= 2.2222.8
|
|
33
|
+
*/
|
|
30
34
|
export declare const MediaBlobCache: MediaBlobCacheImpl;
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { MediaObject } from '.';
|
|
17
|
-
/** @whatsapp 88297
|
|
17
|
+
/** @whatsapp 88297
|
|
18
|
+
* @whatsapp 988297 >= 2.2222.8
|
|
19
|
+
*/
|
|
18
20
|
export declare namespace MediaObjectUtil {
|
|
19
21
|
function getOrCreateMediaObject(hash: string): MediaObject;
|
|
20
22
|
}
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
import { ChatModel, MediaDataModel, ModelPropertiesContructor, MsgModel } from '..';
|
|
17
17
|
import { OUTWARD_TYPES, SendMsgResult } from '../enums';
|
|
18
18
|
import { OpaqueData } from '.';
|
|
19
|
-
/** @whatsapp 78986
|
|
19
|
+
/** @whatsapp 78986
|
|
20
|
+
* @whatsapp 778986 >= 2.2222.8
|
|
21
|
+
*/
|
|
20
22
|
export declare namespace MediaPrep {
|
|
21
23
|
function prepRawMedia(data: OpaqueData, options: {
|
|
22
24
|
isPtt?: boolean;
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/** @whatsapp 56406
|
|
16
|
+
/** @whatsapp 56406
|
|
17
|
+
* @whatsapp 756406 >= 2.2222.8
|
|
18
|
+
*/
|
|
17
19
|
export declare namespace MediaUtils {
|
|
18
20
|
function getImageWidthHeight(): Promise<{
|
|
19
21
|
width: number;
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { BaseCollection } from '../collections';
|
|
17
17
|
import { Model, MsgModel } from '../models';
|
|
18
|
-
/** @whatsapp 51612
|
|
18
|
+
/** @whatsapp 51612
|
|
19
|
+
* @whatsapp 951612 >= 2.2222.8
|
|
20
|
+
*/
|
|
19
21
|
export declare class MsgLoadState extends Model {
|
|
20
22
|
noEarlierMsgs: any;
|
|
21
23
|
isLoadingEarlierMsgs: any;
|
|
@@ -23,7 +25,9 @@ export declare class MsgLoadState extends Model {
|
|
|
23
25
|
isLoadingAroundMsgs: any;
|
|
24
26
|
contextLoaded: any;
|
|
25
27
|
}
|
|
26
|
-
/** @whatsapp 51612
|
|
28
|
+
/** @whatsapp 51612
|
|
29
|
+
* @whatsapp 951612 >= 2.2222.8
|
|
30
|
+
*/
|
|
27
31
|
export declare class MsgLoad extends BaseCollection<MsgModel> {
|
|
28
32
|
msgLoadState: MsgLoadState;
|
|
29
33
|
loadRecentPromise?: Promise<any>;
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/** @whatsapp 34949
|
|
16
|
+
/** @whatsapp 34949
|
|
17
|
+
* @whatsapp 534949 >= 2.2222.8
|
|
18
|
+
*/
|
|
17
19
|
export declare class OpaqueDataBase {
|
|
18
20
|
released: boolean;
|
|
19
21
|
retain(): void;
|
|
@@ -21,7 +23,9 @@ export declare class OpaqueDataBase {
|
|
|
21
23
|
autoreleaseWhenPromiseCompletes(e: Promise<any>): void;
|
|
22
24
|
throwIfReleased(e: any): void;
|
|
23
25
|
}
|
|
24
|
-
/** @whatsapp 34949
|
|
26
|
+
/** @whatsapp 34949
|
|
27
|
+
* @whatsapp 534949 >= 2.2222.8
|
|
28
|
+
*/
|
|
25
29
|
export declare class OpaqueData extends OpaqueDataBase {
|
|
26
30
|
url(): string;
|
|
27
31
|
getBase64(): string;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import { Wid } from '.';
|
|
17
17
|
/** @whatsapp 86875
|
|
18
18
|
* @whatsapp 56891 >= 2.2212.8
|
|
19
|
+
* @whatsapp 656891 >= 2.2222.8
|
|
19
20
|
*/
|
|
20
21
|
export declare class WapClass {
|
|
21
22
|
queryExist(contactId: string): Promise<{
|
|
@@ -31,5 +32,6 @@ export declare class WapClass {
|
|
|
31
32
|
}
|
|
32
33
|
/** @whatsapp 86875
|
|
33
34
|
* @whatsapp 56891 >= 2.2212.8
|
|
35
|
+
* @whatsapp 656891 >= 2.2222.8
|
|
34
36
|
*/
|
|
35
37
|
export declare const Wap: WapClass;
|
|
@@ -26,11 +26,13 @@ interface Derived {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* @whatsapp 81130
|
|
29
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
29
30
|
*/
|
|
30
31
|
export declare interface AggReactionsModel extends ModelProxy<Props, Session, Derived> {
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* @whatsapp 81130
|
|
35
|
+
* @whatsapp 981130 >= 2.2222.8
|
|
34
36
|
*/
|
|
35
37
|
export declare class AggReactionsModel extends Model {
|
|
36
38
|
constructor(proterties?: ModelPropertiesContructor<AggReactionsModel>, options?: ModelOptions);
|
|
@@ -46,10 +46,14 @@ interface Derived {
|
|
|
46
46
|
filesize?: any;
|
|
47
47
|
fileExt?: any;
|
|
48
48
|
}
|
|
49
|
-
/** @whatsapp 80666
|
|
49
|
+
/** @whatsapp 80666
|
|
50
|
+
* @whatsapp 480666 >= 2.2222.8
|
|
51
|
+
*/
|
|
50
52
|
export declare interface AttachMediaModel extends ModelProxy<Props, Session, Derived> {
|
|
51
53
|
}
|
|
52
|
-
/** @whatsapp 80666
|
|
54
|
+
/** @whatsapp 80666
|
|
55
|
+
* @whatsapp 480666 >= 2.2222.8
|
|
56
|
+
*/
|
|
53
57
|
export declare class AttachMediaModel extends Model {
|
|
54
58
|
constructor(proterties?: ModelPropertiesContructor<AttachMediaModel>, options?: ModelOptions);
|
|
55
59
|
processAttachment(e?: any): any;
|
|
@@ -24,10 +24,14 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp 89310
|
|
27
|
+
/** @whatsapp 89310
|
|
28
|
+
* @whatsapp 689310 >= 2.2222.8
|
|
29
|
+
*/
|
|
28
30
|
export declare interface BlocklistModel extends ModelProxy<Props, Session, Derived> {
|
|
29
31
|
}
|
|
30
|
-
/** @whatsapp 89310
|
|
32
|
+
/** @whatsapp 89310
|
|
33
|
+
* @whatsapp 689310 >= 2.2222.8
|
|
34
|
+
*/
|
|
31
35
|
export declare class BlocklistModel extends Model<BlocklistCollection> {
|
|
32
36
|
idClass: typeof Wid;
|
|
33
37
|
constructor(proterties?: ModelPropertiesContructor<BlocklistModel>, options?: ModelOptions);
|
|
@@ -25,10 +25,14 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 32742
|
|
28
|
+
/** @whatsapp 32742
|
|
29
|
+
* @whatsapp 132742 >= 2.2222.8
|
|
30
|
+
*/
|
|
29
31
|
export declare interface BusinessCategoriesResultModel extends ModelProxy<Props, Session, Derived> {
|
|
30
32
|
}
|
|
31
|
-
/** @whatsapp 32742
|
|
33
|
+
/** @whatsapp 32742
|
|
34
|
+
* @whatsapp 132742 >= 2.2222.8
|
|
35
|
+
*/
|
|
32
36
|
export declare class BusinessCategoriesResultModel extends Model<BusinessCategoriesResultCollection> {
|
|
33
37
|
idClass: typeof Wid;
|
|
34
38
|
constructor(proterties?: ModelPropertiesContructor<BusinessCategoriesResultModel>, options?: ModelOptions);
|
|
@@ -36,10 +36,14 @@ interface Session {
|
|
|
36
36
|
}
|
|
37
37
|
interface Derived {
|
|
38
38
|
}
|
|
39
|
-
/** @whatsapp 48018
|
|
39
|
+
/** @whatsapp 48018
|
|
40
|
+
* @whatsapp 348018 >= 2.2222.8
|
|
41
|
+
*/
|
|
40
42
|
export declare interface BusinessProfileModel extends ModelProxy<Props, Session, Derived> {
|
|
41
43
|
}
|
|
42
|
-
/** @whatsapp 48018
|
|
44
|
+
/** @whatsapp 48018
|
|
45
|
+
* @whatsapp 348018 >= 2.2222.8
|
|
46
|
+
*/
|
|
43
47
|
export declare class BusinessProfileModel extends Model<BusinessProfileCollection> {
|
|
44
48
|
idClass: typeof Wid;
|
|
45
49
|
constructor(proterties?: ModelPropertiesContructor<BusinessProfileModel>, options?: ModelOptions);
|
|
@@ -36,11 +36,13 @@ interface Derived {
|
|
|
36
36
|
}
|
|
37
37
|
/** @whatsapp 36473
|
|
38
38
|
* @whatsapp 40122 >= 2.2204.13
|
|
39
|
+
* @whatsapp 736473 >= 2.2222.8
|
|
39
40
|
*/
|
|
40
41
|
export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
|
|
41
42
|
}
|
|
42
43
|
/** @whatsapp 36473
|
|
43
44
|
* @whatsapp 40122 >= 2.2204.13
|
|
45
|
+
* @whatsapp 736473 >= 2.2222.8
|
|
44
46
|
*/
|
|
45
47
|
export declare class CallModel extends Model<CallCollection> {
|
|
46
48
|
constructor(proterties?: ModelPropertiesContructor<CallModel>, options?: ModelOptions);
|
|
@@ -36,11 +36,13 @@ interface Derived {
|
|
|
36
36
|
}
|
|
37
37
|
/** @whatsapp 50064
|
|
38
38
|
* @whatsapp 8384 >= 2.2204.13
|
|
39
|
+
* @whatsapp 850064 >= 2.2222.8
|
|
39
40
|
*/
|
|
40
41
|
export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
41
42
|
}
|
|
42
43
|
/** @whatsapp 50064
|
|
43
44
|
* @whatsapp 8384 >= 2.2204.13
|
|
45
|
+
* @whatsapp 850064 >= 2.2222.8
|
|
44
46
|
*/
|
|
45
47
|
export declare class CallParticipantModel extends Model {
|
|
46
48
|
constructor(proterties?: ModelPropertiesContructor<CallParticipantModel>, options?: ModelOptions);
|
|
@@ -28,10 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 9581
|
|
31
|
+
/** @whatsapp 9581
|
|
32
|
+
* @whatsapp 109581 >= 2.2222.8
|
|
33
|
+
*/
|
|
32
34
|
export declare interface CartItemModel extends ModelProxy<Props, Session, Derived> {
|
|
33
35
|
}
|
|
34
|
-
/** @whatsapp 9581
|
|
36
|
+
/** @whatsapp 9581
|
|
37
|
+
* @whatsapp 109581 >= 2.2222.8
|
|
38
|
+
*/
|
|
35
39
|
export declare class CartItemModel extends Model<CartCollection> {
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<CartItemModel>, options?: ModelOptions);
|
|
37
41
|
getCollection(): CartCollection;
|
|
@@ -28,10 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 65999
|
|
31
|
+
/** @whatsapp 65999
|
|
32
|
+
* @whatsapp 565999 >= 2.2222.8
|
|
33
|
+
*/
|
|
32
34
|
export declare interface CartModel extends ModelProxy<Props, Session, Derived> {
|
|
33
35
|
}
|
|
34
|
-
/** @whatsapp 65999
|
|
36
|
+
/** @whatsapp 65999
|
|
37
|
+
* @whatsapp 565999 >= 2.2222.8
|
|
38
|
+
*/
|
|
35
39
|
export declare class CartModel extends Model<CartCollection> {
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<CartModel>, options?: ModelOptions);
|
|
37
41
|
countTotals(): any;
|
|
@@ -28,10 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 52388
|
|
31
|
+
/** @whatsapp 52388
|
|
32
|
+
* @whatsapp 652388 >= 2.2222.8
|
|
33
|
+
*/
|
|
32
34
|
export declare interface CatalogModel extends ModelProxy<Props, Session, Derived> {
|
|
33
35
|
}
|
|
34
|
-
/** @whatsapp 52388
|
|
36
|
+
/** @whatsapp 52388
|
|
37
|
+
* @whatsapp 652388 >= 2.2222.8
|
|
38
|
+
*/
|
|
35
39
|
export declare class CatalogModel extends Model<CatalogCollection> {
|
|
36
40
|
idClass: typeof Wid;
|
|
37
41
|
constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);
|
|
@@ -26,10 +26,14 @@ interface Session {
|
|
|
26
26
|
}
|
|
27
27
|
interface Derived {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp 33929
|
|
29
|
+
/** @whatsapp 33929
|
|
30
|
+
* @whatsapp 133929 >= 2.2222.8
|
|
31
|
+
*/
|
|
30
32
|
export declare interface ChatPreferenceModel extends ModelProxy<Props, Session, Derived> {
|
|
31
33
|
}
|
|
32
|
-
/** @whatsapp 33929
|
|
34
|
+
/** @whatsapp 33929
|
|
35
|
+
* @whatsapp 133929 >= 2.2222.8
|
|
36
|
+
*/
|
|
33
37
|
export declare class ChatPreferenceModel extends Model {
|
|
34
38
|
idClass: typeof Wid;
|
|
35
39
|
allowedIds?: any;
|
|
@@ -27,10 +27,14 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 30000
|
|
30
|
+
/** @whatsapp 30000
|
|
31
|
+
* @whatsapp 330000 >= 2.2222.8
|
|
32
|
+
*/
|
|
31
33
|
export declare interface ChatstateModel extends ModelProxy<Props, Session, Derived> {
|
|
32
34
|
}
|
|
33
|
-
/** @whatsapp 30000
|
|
35
|
+
/** @whatsapp 30000
|
|
36
|
+
* @whatsapp 330000 >= 2.2222.8
|
|
37
|
+
*/
|
|
34
38
|
export declare class ChatstateModel extends Model {
|
|
35
39
|
idClass: typeof Wid;
|
|
36
40
|
allowedIds?: any;
|
|
@@ -53,10 +53,14 @@ interface Derived {
|
|
|
53
53
|
tosShowCallNotification?: any;
|
|
54
54
|
isSMB?: boolean;
|
|
55
55
|
}
|
|
56
|
-
/** @whatsapp 17239
|
|
56
|
+
/** @whatsapp 17239
|
|
57
|
+
* @whatsapp 317239 >= 2.2222.8
|
|
58
|
+
*/
|
|
57
59
|
export declare interface ConnModel extends ModelProxy<Props, Session, Derived> {
|
|
58
60
|
}
|
|
59
|
-
/** @whatsapp 17239
|
|
61
|
+
/** @whatsapp 17239
|
|
62
|
+
* @whatsapp 317239 >= 2.2222.8
|
|
63
|
+
*/
|
|
60
64
|
export declare class ConnModel extends Model {
|
|
61
65
|
constructor(proterties?: ModelPropertiesContructor<ConnModel>, options?: ModelOptions);
|
|
62
66
|
canSetMyPushname(): boolean;
|
|
@@ -71,10 +71,14 @@ interface Derived {
|
|
|
71
71
|
showBusinessCheckmarkAsPrimary?: any;
|
|
72
72
|
showBusinessCheckmarkAsSecondary?: any;
|
|
73
73
|
}
|
|
74
|
-
/** @whatsapp 121
|
|
74
|
+
/** @whatsapp 121
|
|
75
|
+
* @whatsapp 400121 >= 2.2222.8
|
|
76
|
+
*/
|
|
75
77
|
export declare interface ContactModel extends ModelProxy<Props, Session, Derived> {
|
|
76
78
|
}
|
|
77
|
-
/** @whatsapp 121
|
|
79
|
+
/** @whatsapp 121
|
|
80
|
+
* @whatsapp 400121 >= 2.2222.8
|
|
81
|
+
*/
|
|
78
82
|
export declare class ContactModel extends Model<ContactCollection> {
|
|
79
83
|
idClass: typeof Wid;
|
|
80
84
|
constructor(proterties?: ModelPropertiesContructor<ContactModel>, options?: ModelOptions);
|
|
@@ -27,10 +27,14 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 18787
|
|
30
|
+
/** @whatsapp 18787
|
|
31
|
+
* @whatsapp 118787 >= 2.2222.8
|
|
32
|
+
*/
|
|
31
33
|
export declare interface ConversionTupleModel extends ModelProxy<Props, Session, Derived> {
|
|
32
34
|
}
|
|
33
|
-
/** @whatsapp 18787
|
|
35
|
+
/** @whatsapp 18787
|
|
36
|
+
* @whatsapp 118787 >= 2.2222.8
|
|
37
|
+
*/
|
|
34
38
|
export declare class ConversionTupleModel extends Model {
|
|
35
39
|
idClass: typeof Wid;
|
|
36
40
|
constructor(proterties?: ModelPropertiesContructor<ConversionTupleModel>, options?: ModelOptions);
|
|
@@ -23,10 +23,14 @@ interface Session {
|
|
|
23
23
|
}
|
|
24
24
|
interface Derived {
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp 20472
|
|
26
|
+
/** @whatsapp 20472
|
|
27
|
+
* @whatsapp 120472 >= 2.2222.8
|
|
28
|
+
*/
|
|
27
29
|
export declare interface EmojiVariantModel extends ModelProxy<Props, Session, Derived> {
|
|
28
30
|
}
|
|
29
|
-
/** @whatsapp 20472
|
|
31
|
+
/** @whatsapp 20472
|
|
32
|
+
* @whatsapp 120472 >= 2.2222.8
|
|
33
|
+
*/
|
|
30
34
|
export declare class EmojiVariantModel extends Model {
|
|
31
35
|
constructor(proterties?: ModelPropertiesContructor<EmojiVariantModel>, options?: ModelOptions);
|
|
32
36
|
}
|
|
@@ -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);
|