@wppconnect/wa-js 1.0.16 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +68 -0
- package/dist/auth/eventEmitter.d.ts +52 -0
- package/dist/{blocklist/Blocklist.d.ts → auth/events/index.d.ts} +3 -11
- package/dist/{contact/types.d.ts → auth/events/registerChangeEvent.d.ts} +1 -3
- package/dist/auth/events/registerIdleEvent.d.ts +16 -0
- package/dist/auth/events/registerLogoutEvent.d.ts +16 -0
- package/dist/auth/functions/getAuthCode.d.ts +22 -0
- package/dist/{contact/Contact.d.ts → auth/functions/index.d.ts} +7 -11
- package/dist/auth/functions/isAuthenticated.d.ts +16 -0
- package/dist/auth/functions/isIdle.d.ts +16 -0
- package/dist/auth/functions/isMultiDevice.d.ts +16 -0
- package/dist/auth/functions/logout.d.ts +16 -0
- package/dist/auth/functions/poke.d.ts +16 -0
- package/dist/auth/functions/setMultiDevice.d.ts +23 -0
- package/dist/auth/index.d.ts +3 -4
- package/dist/auth/types.d.ts +0 -5
- package/dist/blocklist/eventEmitter.d.ts +49 -0
- package/dist/blocklist/events/index.d.ts +16 -0
- package/dist/blocklist/events/registerSyncedEvent.d.ts +16 -0
- package/dist/blocklist/functions/all.d.ts +17 -0
- package/dist/blocklist/functions/blockContact.d.ts +18 -0
- package/dist/blocklist/functions/index.d.ts +19 -0
- package/dist/blocklist/functions/isBlocked.d.ts +17 -0
- package/dist/blocklist/functions/unblockContact.d.ts +18 -0
- package/dist/blocklist/index.d.ts +3 -5
- package/dist/blocklist/types.d.ts +0 -3
- package/dist/chat/defaultSendMessageOptions.d.ts +19 -0
- package/dist/chat/eventEmitter.d.ts +107 -0
- package/dist/chat/events/index.d.ts +18 -0
- package/dist/chat/events/registerAckMessageEvent.d.ts +16 -0
- package/dist/chat/events/registerLiveLocationUpdateEvent.d.ts +16 -0
- package/dist/chat/events/registerRevokeMessageEvent.d.ts +16 -0
- package/dist/chat/functions/clear.d.ts +26 -0
- package/dist/chat/functions/delete.d.ts +26 -0
- package/dist/chat/functions/deleteMessage.d.ts +35 -0
- package/dist/chat/functions/downloadMedia.d.ts +21 -0
- package/dist/chat/functions/find.d.ts +24 -0
- package/dist/chat/functions/generateMessageID.d.ts +22 -0
- package/dist/chat/functions/get.d.ts +22 -0
- package/dist/chat/functions/getMessageById.d.ts +35 -0
- package/dist/chat/functions/getMessages.d.ts +48 -0
- package/dist/chat/functions/index.d.ts +37 -0
- package/dist/chat/functions/markIsComposing.d.ts +31 -0
- package/dist/chat/functions/markIsPaused.d.ts +27 -0
- package/dist/chat/functions/markIsRead.d.ts +30 -0
- package/dist/chat/functions/markIsRecording.d.ts +31 -0
- package/dist/chat/functions/markIsUnread.d.ts +29 -0
- package/dist/chat/functions/prepareLinkPreview.d.ts +53 -0
- package/dist/chat/functions/prepareMessageButtons.d.ts +40 -0
- package/dist/chat/functions/prepareRawMessage.d.ts +23 -0
- package/dist/chat/functions/sendFileMessage.d.ts +116 -0
- package/dist/{group/types.d.ts → chat/functions/sendListMessage.d.ts} +26 -25
- package/dist/chat/functions/sendRawMessage.d.ts +22 -0
- package/dist/chat/functions/sendTextMessage.d.ts +23 -0
- package/dist/chat/functions/sendVCardContactMessage.d.ts +27 -0
- package/dist/chat/index.d.ts +4 -4
- package/dist/chat/types.d.ts +0 -105
- package/dist/contact/eventEmitter.d.ts +48 -0
- package/dist/contact/functions/index.d.ts +16 -0
- package/dist/contact/functions/queryExists.d.ts +20 -0
- package/dist/contact/index.d.ts +2 -5
- package/dist/group/eventEmitter.d.ts +48 -0
- package/dist/group/functions/addParticipants.d.ts +17 -0
- package/dist/group/functions/canAdd.d.ts +17 -0
- package/dist/group/functions/canDemote.d.ts +17 -0
- package/dist/group/functions/canPromote.d.ts +17 -0
- package/dist/group/functions/canRemove.d.ts +17 -0
- package/dist/group/functions/create.d.ts +25 -0
- package/dist/group/functions/demoteParticipants.d.ts +17 -0
- package/dist/group/functions/ensureGroup.d.ts +17 -0
- package/dist/group/functions/ensureGroupAndParticipants.d.ts +20 -0
- package/dist/group/functions/getParticipants.d.ts +25 -0
- package/dist/group/functions/iAmAdmin.d.ts +17 -0
- package/dist/group/functions/iAmMember.d.ts +17 -0
- package/dist/group/functions/iAmRestrictedMember.d.ts +17 -0
- package/dist/group/functions/iAmSuperAdmin.d.ts +17 -0
- package/dist/group/functions/index.d.ts +31 -0
- package/dist/group/functions/promoteParticipants.d.ts +17 -0
- package/dist/group/functions/removeParticipants.d.ts +17 -0
- package/dist/group/index.d.ts +2 -5
- package/dist/index.d.ts +8 -8
- package/dist/labels/eventEmitter.d.ts +48 -0
- package/dist/labels/functions/addNewLabel.d.ts +35 -0
- package/dist/{auth/Auth.d.ts → labels/functions/addOrRemoveLabels.d.ts} +15 -16
- package/dist/labels/functions/colorIsInLabelPalette.d.ts +26 -0
- package/dist/labels/functions/deleteAllLabels.d.ts +17 -0
- package/dist/labels/functions/deleteLabel.d.ts +21 -0
- package/dist/labels/functions/getAllLabels.d.ts +17 -0
- package/dist/labels/functions/getLabelColorPalette.d.ts +19 -0
- package/dist/labels/functions/getNewLabelColor.d.ts +19 -0
- package/dist/labels/functions/index.d.ts +23 -0
- package/dist/labels/index.d.ts +2 -4
- package/dist/labels/types.d.ts +5 -6
- package/dist/status/{types.d.ts → defaultSendStatusOptions.d.ts} +3 -12
- package/dist/status/eventEmitter.d.ts +49 -0
- package/dist/status/events/index.d.ts +16 -0
- package/dist/status/events/registerSyncedEvent.d.ts +16 -0
- package/dist/status/functions/get.d.ts +17 -0
- package/dist/status/functions/getMyStatus.d.ts +17 -0
- package/dist/status/functions/index.d.ts +19 -0
- package/dist/status/functions/sendRawStatus.d.ts +20 -0
- package/dist/status/functions/sendTextStatus.d.ts +31 -0
- package/dist/status/index.d.ts +4 -5
- package/dist/util/blobToBase64.d.ts +16 -0
- package/dist/util/convertToFile.d.ts +16 -0
- package/dist/util/index.d.ts +2 -0
- package/dist/webpack.d.ts +2 -1
- package/dist/whatsapp/collections/BaseCollection.d.ts +3 -3
- 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 +4 -3
- 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 +3 -5
- package/dist/whatsapp/collections/LabelCollection.d.ts +3 -2
- package/dist/whatsapp/collections/LabelItemCollection.d.ts +1 -1
- package/dist/whatsapp/collections/LiveLocationCollection.d.ts +3 -4
- 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/LogoutReason.d.ts +1 -1
- package/dist/whatsapp/enums/OUTWARD_TYPES.d.ts +1 -1
- package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -1
- package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -1
- package/dist/whatsapp/functions/blockContact.d.ts +2 -2
- package/dist/whatsapp/functions/fetchLinkPreview.d.ts +29 -0
- package/dist/whatsapp/functions/findChat.d.ts +1 -1
- package/dist/whatsapp/functions/findFirstWebLink.d.ts +17 -0
- 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 +21 -0
- package/dist/whatsapp/functions/index.d.ts +3 -0
- 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/randomId.d.ts +2 -2
- 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/sendQueryExists.d.ts +1 -1
- package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -1
- 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 +1 -1
- 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 +30 -0
- package/dist/whatsapp/misc/MediaObject.d.ts +2 -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 +3 -3
- 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/Wid.d.ts +1 -1
- package/dist/whatsapp/misc/WidFactory.d.ts +1 -1
- package/dist/whatsapp/misc/index.d.ts +1 -0
- 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 +4 -3
- 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 +25 -15
- 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 +14 -14
- package/dist/chat/Chat.d.ts +0 -225
- package/dist/group/Group.d.ts +0 -45
- package/dist/labels/Labels.d.ts +0 -52
- package/dist/status/Status.d.ts +0 -37
|
@@ -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 2.2147.
|
|
16
|
+
/** @whatsapp 2.2147.16:63063 */
|
|
17
17
|
export declare namespace MediaUtils {
|
|
18
18
|
function getImageWidthHeight(): Promise<{
|
|
19
19
|
width: number;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { BaseCollection } from '../collections';
|
|
17
17
|
import { Model, MsgModel } from '../models';
|
|
18
|
-
/** @whatsapp 2.2147.
|
|
18
|
+
/** @whatsapp 2.2147.16:97490 */
|
|
19
19
|
export declare class MsgLoadState extends Model {
|
|
20
20
|
noEarlierMsgs: any;
|
|
21
21
|
isLoadingEarlierMsgs: any;
|
|
@@ -23,7 +23,7 @@ export declare class MsgLoadState extends Model {
|
|
|
23
23
|
isLoadingAroundMsgs: any;
|
|
24
24
|
contextLoaded: any;
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp 2.2147.
|
|
26
|
+
/** @whatsapp 2.2147.16:97490 */
|
|
27
27
|
export declare class MsgLoad extends BaseCollection<MsgModel> {
|
|
28
28
|
msgLoadState: MsgLoadState;
|
|
29
29
|
loadRecentPromise?: Promise<any>;
|
|
@@ -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 2.2147.
|
|
16
|
+
/** @whatsapp 2.2147.16:52937 */
|
|
17
17
|
export declare class OpaqueDataBase {
|
|
18
18
|
released: boolean;
|
|
19
19
|
retain(): void;
|
|
@@ -21,7 +21,7 @@ export declare class OpaqueDataBase {
|
|
|
21
21
|
autoreleaseWhenPromiseCompletes(e: Promise<any>): void;
|
|
22
22
|
throwIfReleased(e: any): void;
|
|
23
23
|
}
|
|
24
|
-
/** @whatsapp 2.2147.
|
|
24
|
+
/** @whatsapp 2.2147.16:52937 */
|
|
25
25
|
export declare class OpaqueData extends OpaqueDataBase {
|
|
26
26
|
url(): string;
|
|
27
27
|
getBase64(): string;
|
|
@@ -32,7 +32,7 @@ export declare class OpaqueData extends OpaqueDataBase {
|
|
|
32
32
|
size(): number;
|
|
33
33
|
formData(): string;
|
|
34
34
|
type(): string;
|
|
35
|
-
forceToBlob():
|
|
35
|
+
forceToBlob(): Blob;
|
|
36
36
|
isBlobEqual(e: any): string;
|
|
37
37
|
static createFromBase64Jpeg(base64: string): Promise<OpaqueData>;
|
|
38
38
|
static createFromData(blob: BlobPart, type?: string): Promise<OpaqueData>;
|
|
@@ -19,7 +19,7 @@ export interface VCardData {
|
|
|
19
19
|
vcard: string;
|
|
20
20
|
isMultiVcard: false;
|
|
21
21
|
}
|
|
22
|
-
/** @whatsapp 2.2147.
|
|
22
|
+
/** @whatsapp 2.2147.16:50313 */
|
|
23
23
|
export declare namespace VCard {
|
|
24
24
|
function vcardFromContactModel(contact: ContactModel): VCardData;
|
|
25
25
|
function mergeVcards(vcards: VCardData[]): VCardData;
|
|
@@ -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 2.2147.
|
|
16
|
+
/** @whatsapp 2.2147.16:69635 */
|
|
17
17
|
export declare class Wid {
|
|
18
18
|
constructor(id: string, options?: {
|
|
19
19
|
intentionallyUsePrivateConstructor: boolean;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from './Wid';
|
|
17
|
-
/** @whatsapp 2.2147.
|
|
17
|
+
/** @whatsapp 2.2147.16:89573 */
|
|
18
18
|
export declare namespace WidFactory {
|
|
19
19
|
function createDeviceWid(wid: string): Wid;
|
|
20
20
|
function createDeviceWidFromUserAndDevice(user: string, device: string): Wid;
|
|
@@ -24,6 +24,7 @@ export * from './EventEmitter';
|
|
|
24
24
|
export * from './Features';
|
|
25
25
|
export * from './ImageUtils';
|
|
26
26
|
export * from './Locale';
|
|
27
|
+
export * from './MediaBlobCache';
|
|
27
28
|
export * from './MediaObject';
|
|
28
29
|
export * from './MediaObjectUtil';
|
|
29
30
|
export * from './MediaPrep';
|
|
@@ -46,10 +46,10 @@ interface Derived {
|
|
|
46
46
|
filesize?: any;
|
|
47
47
|
fileExt?: any;
|
|
48
48
|
}
|
|
49
|
-
/** @whatsapp 2.2147.
|
|
49
|
+
/** @whatsapp 2.2147.16:73754 */
|
|
50
50
|
export declare interface AttachMediaModel extends ModelProxy<Props, Session, Derived> {
|
|
51
51
|
}
|
|
52
|
-
/** @whatsapp 2.2147.
|
|
52
|
+
/** @whatsapp 2.2147.16:73754 */
|
|
53
53
|
export declare class AttachMediaModel extends Model {
|
|
54
54
|
constructor(proterties?: ModelPropertiesContructor<AttachMediaModel>, options?: ModelOptions);
|
|
55
55
|
processAttachment(e?: any): any;
|
|
@@ -24,10 +24,10 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp 2.2147.
|
|
27
|
+
/** @whatsapp 2.2147.16:43123 */
|
|
28
28
|
export declare interface BlocklistModel extends ModelProxy<Props, Session, Derived> {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:43123 */
|
|
31
31
|
export declare class BlocklistModel extends Model<BlocklistCollection> {
|
|
32
32
|
idClass: typeof Wid;
|
|
33
33
|
constructor(proterties?: ModelPropertiesContructor<BlocklistModel>, options?: ModelOptions);
|
|
@@ -25,10 +25,10 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 2.2147.
|
|
28
|
+
/** @whatsapp 2.2147.16:32816 */
|
|
29
29
|
export declare interface BusinessCategoriesResultModel extends ModelProxy<Props, Session, Derived> {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:32816 */
|
|
32
32
|
export declare class BusinessCategoriesResultModel extends Model<BusinessCategoriesResultCollection> {
|
|
33
33
|
idClass: typeof Wid;
|
|
34
34
|
constructor(proterties?: ModelPropertiesContructor<BusinessCategoriesResultModel>, options?: ModelOptions);
|
|
@@ -36,10 +36,10 @@ interface Session {
|
|
|
36
36
|
}
|
|
37
37
|
interface Derived {
|
|
38
38
|
}
|
|
39
|
-
/** @whatsapp 2.2147.
|
|
39
|
+
/** @whatsapp 2.2147.16:42097 */
|
|
40
40
|
export declare interface BusinessProfileModel extends ModelProxy<Props, Session, Derived> {
|
|
41
41
|
}
|
|
42
|
-
/** @whatsapp 2.2147.
|
|
42
|
+
/** @whatsapp 2.2147.16:42097 */
|
|
43
43
|
export declare class BusinessProfileModel extends Model<BusinessProfileCollection> {
|
|
44
44
|
idClass: typeof Wid;
|
|
45
45
|
constructor(proterties?: ModelPropertiesContructor<BusinessProfileModel>, options?: ModelOptions);
|
|
@@ -32,10 +32,10 @@ interface Session {
|
|
|
32
32
|
}
|
|
33
33
|
interface Derived {
|
|
34
34
|
}
|
|
35
|
-
/** @whatsapp 2.2147.
|
|
35
|
+
/** @whatsapp 2.2147.16:70026 */
|
|
36
36
|
export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
|
|
37
37
|
}
|
|
38
|
-
/** @whatsapp 2.2147.
|
|
38
|
+
/** @whatsapp 2.2147.16:70026 */
|
|
39
39
|
export declare class CallModel extends Model<CallCollection> {
|
|
40
40
|
constructor(proterties?: ModelPropertiesContructor<CallModel>, options?: ModelOptions);
|
|
41
41
|
getState(): any;
|
|
@@ -34,10 +34,10 @@ interface Session {
|
|
|
34
34
|
}
|
|
35
35
|
interface Derived {
|
|
36
36
|
}
|
|
37
|
-
/** @whatsapp 2.2147.
|
|
37
|
+
/** @whatsapp 2.2147.16:5483 */
|
|
38
38
|
export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
39
39
|
}
|
|
40
|
-
/** @whatsapp 2.2147.
|
|
40
|
+
/** @whatsapp 2.2147.16:5483 */
|
|
41
41
|
export declare class CallParticipantModel extends Model {
|
|
42
42
|
constructor(proterties?: ModelPropertiesContructor<CallParticipantModel>, options?: ModelOptions);
|
|
43
43
|
}
|
|
@@ -28,10 +28,10 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:53685 */
|
|
32
32
|
export declare interface CartItemModel extends ModelProxy<Props, Session, Derived> {
|
|
33
33
|
}
|
|
34
|
-
/** @whatsapp 2.2147.
|
|
34
|
+
/** @whatsapp 2.2147.16:53685 */
|
|
35
35
|
export declare class CartItemModel extends Model<CartCollection> {
|
|
36
36
|
constructor(proterties?: ModelPropertiesContructor<CartItemModel>, options?: ModelOptions);
|
|
37
37
|
getCollection(): CartCollection;
|
|
@@ -28,10 +28,10 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:95537 */
|
|
32
32
|
export declare interface CartModel extends ModelProxy<Props, Session, Derived> {
|
|
33
33
|
}
|
|
34
|
-
/** @whatsapp 2.2147.
|
|
34
|
+
/** @whatsapp 2.2147.16:95537 */
|
|
35
35
|
export declare class CartModel extends Model<CartCollection> {
|
|
36
36
|
constructor(proterties?: ModelPropertiesContructor<CartModel>, options?: ModelOptions);
|
|
37
37
|
countTotals(): any;
|
|
@@ -28,10 +28,10 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:73310 */
|
|
32
32
|
export declare interface CatalogModel extends ModelProxy<Props, Session, Derived> {
|
|
33
33
|
}
|
|
34
|
-
/** @whatsapp 2.2147.
|
|
34
|
+
/** @whatsapp 2.2147.16:73310 */
|
|
35
35
|
export declare class CatalogModel extends Model<CatalogCollection> {
|
|
36
36
|
idClass: typeof Wid;
|
|
37
37
|
constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);
|
|
@@ -95,10 +95,10 @@ interface Derived {
|
|
|
95
95
|
showChangeNumberNotification?: any;
|
|
96
96
|
shouldShowUnreadInTitle?: any;
|
|
97
97
|
}
|
|
98
|
-
/** @whatsapp 2.2147.
|
|
98
|
+
/** @whatsapp 2.2147.16:58380 */
|
|
99
99
|
export declare interface ChatModel extends ModelProxy<Props, Session, Derived> {
|
|
100
100
|
}
|
|
101
|
-
/** @whatsapp 2.2147.
|
|
101
|
+
/** @whatsapp 2.2147.16:58380 */
|
|
102
102
|
export declare class ChatModel extends ModelChatBase {
|
|
103
103
|
idClass: typeof Wid;
|
|
104
104
|
constructor(proterties?: ModelPropertiesContructor<ChatModel>, options?: ModelOptions);
|
|
@@ -26,10 +26,10 @@ interface Session {
|
|
|
26
26
|
}
|
|
27
27
|
interface Derived {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp 2.2147.
|
|
29
|
+
/** @whatsapp 2.2147.16:23821 */
|
|
30
30
|
export declare interface ChatPreferenceModel extends ModelProxy<Props, Session, Derived> {
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp 2.2147.
|
|
32
|
+
/** @whatsapp 2.2147.16:23821 */
|
|
33
33
|
export declare class ChatPreferenceModel extends Model {
|
|
34
34
|
idClass: typeof Wid;
|
|
35
35
|
allowedIds?: any;
|
|
@@ -27,10 +27,10 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:42165 */
|
|
31
31
|
export declare interface ChatstateModel extends ModelProxy<Props, Session, Derived> {
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:42165 */
|
|
34
34
|
export declare class ChatstateModel extends Model {
|
|
35
35
|
idClass: typeof Wid;
|
|
36
36
|
allowedIds?: any;
|
|
@@ -53,10 +53,10 @@ interface Derived {
|
|
|
53
53
|
tosShowCallNotification?: any;
|
|
54
54
|
isSMB?: boolean;
|
|
55
55
|
}
|
|
56
|
-
/** @whatsapp 2.2147.
|
|
56
|
+
/** @whatsapp 2.2147.16:9322 */
|
|
57
57
|
export declare interface ConnModel extends ModelProxy<Props, Session, Derived> {
|
|
58
58
|
}
|
|
59
|
-
/** @whatsapp 2.2147.
|
|
59
|
+
/** @whatsapp 2.2147.16:9322 */
|
|
60
60
|
export declare class ConnModel extends Model {
|
|
61
61
|
constructor(proterties?: ModelPropertiesContructor<ConnModel>, options?: ModelOptions);
|
|
62
62
|
canSetMyPushname(): boolean;
|
|
@@ -71,10 +71,10 @@ interface Derived {
|
|
|
71
71
|
showBusinessCheckmarkAsPrimary?: any;
|
|
72
72
|
showBusinessCheckmarkAsSecondary?: any;
|
|
73
73
|
}
|
|
74
|
-
/** @whatsapp 2.2147.
|
|
74
|
+
/** @whatsapp 2.2147.16:27387 */
|
|
75
75
|
export declare interface ContactModel extends ModelProxy<Props, Session, Derived> {
|
|
76
76
|
}
|
|
77
|
-
/** @whatsapp 2.2147.
|
|
77
|
+
/** @whatsapp 2.2147.16:27387 */
|
|
78
78
|
export declare class ContactModel extends Model<ContactCollection> {
|
|
79
79
|
idClass: typeof Wid;
|
|
80
80
|
constructor(proterties?: ModelPropertiesContructor<ContactModel>, options?: ModelOptions);
|
|
@@ -27,10 +27,10 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:71815 */
|
|
31
31
|
export declare interface ConversionTupleModel extends ModelProxy<Props, Session, Derived> {
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:71815 */
|
|
34
34
|
export declare class ConversionTupleModel extends Model {
|
|
35
35
|
idClass: typeof Wid;
|
|
36
36
|
constructor(proterties?: ModelPropertiesContructor<ConversionTupleModel>, options?: ModelOptions);
|
|
@@ -23,10 +23,10 @@ interface Session {
|
|
|
23
23
|
}
|
|
24
24
|
interface Derived {
|
|
25
25
|
}
|
|
26
|
-
/** @whatsapp 2.2147.
|
|
26
|
+
/** @whatsapp 2.2147.16:14996 */
|
|
27
27
|
export declare interface EmojiVariantModel extends ModelProxy<Props, Session, Derived> {
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp 2.2147.
|
|
29
|
+
/** @whatsapp 2.2147.16:14996 */
|
|
30
30
|
export declare class EmojiVariantModel extends Model {
|
|
31
31
|
constructor(proterties?: ModelPropertiesContructor<EmojiVariantModel>, options?: ModelOptions);
|
|
32
32
|
}
|
|
@@ -43,10 +43,10 @@ interface Session {
|
|
|
43
43
|
interface Derived {
|
|
44
44
|
groupInviteLink?: any;
|
|
45
45
|
}
|
|
46
|
-
/** @whatsapp 2.2147.
|
|
46
|
+
/** @whatsapp 2.2147.16:28197 */
|
|
47
47
|
export declare interface GroupMetadataModel extends ModelProxy<Props, Session, Derived> {
|
|
48
48
|
}
|
|
49
|
-
/** @whatsapp 2.2147.
|
|
49
|
+
/** @whatsapp 2.2147.16:28197 */
|
|
50
50
|
export declare class GroupMetadataModel extends Model {
|
|
51
51
|
idClass: typeof Wid;
|
|
52
52
|
participants: ParticipantCollection;
|
|
@@ -25,10 +25,10 @@ interface Session {
|
|
|
25
25
|
}
|
|
26
26
|
interface Derived {
|
|
27
27
|
}
|
|
28
|
-
/** @whatsapp 2.2147.
|
|
28
|
+
/** @whatsapp 2.2147.16:36705 */
|
|
29
29
|
export declare interface LabelItemModel extends ModelProxy<Props, Session, Derived> {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:36705 */
|
|
32
32
|
export declare class LabelItemModel extends Model {
|
|
33
33
|
constructor(proterties?: ModelPropertiesContructor<LabelItemModel>, options?: ModelOptions);
|
|
34
34
|
}
|
|
@@ -26,10 +26,10 @@ interface Session {
|
|
|
26
26
|
interface Derived {
|
|
27
27
|
hexColor?: any;
|
|
28
28
|
}
|
|
29
|
-
/** @whatsapp 2.2147.
|
|
29
|
+
/** @whatsapp 2.2147.16:14137 */
|
|
30
30
|
export declare interface LabelModel extends ModelProxy<Props, Session, Derived> {
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp 2.2147.
|
|
32
|
+
/** @whatsapp 2.2147.16:14137 */
|
|
33
33
|
export declare class LabelModel extends Model {
|
|
34
34
|
constructor(proterties?: ModelPropertiesContructor<LabelModel>, options?: ModelOptions);
|
|
35
35
|
}
|
|
@@ -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
|
-
import { LiveLocationCollection } from '../collections';
|
|
16
|
+
import { LiveLocationCollection, ParticipantCollection } from '../collections';
|
|
17
17
|
import { Wid } from '../misc';
|
|
18
18
|
import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
|
|
19
19
|
interface Props {
|
|
@@ -28,13 +28,14 @@ interface Session {
|
|
|
28
28
|
}
|
|
29
29
|
interface Derived {
|
|
30
30
|
}
|
|
31
|
-
/** @whatsapp 2.2147.
|
|
31
|
+
/** @whatsapp 2.2147.16:82600 */
|
|
32
32
|
export declare interface LiveLocationModel extends ModelProxy<Props, Session, Derived> {
|
|
33
33
|
}
|
|
34
|
-
/** @whatsapp 2.2147.
|
|
34
|
+
/** @whatsapp 2.2147.16:82600 */
|
|
35
35
|
export declare class LiveLocationModel extends Model<LiveLocationCollection> {
|
|
36
36
|
idClass: typeof Wid;
|
|
37
37
|
constructor(proterties?: ModelPropertiesContructor<LiveLocationModel>, options?: ModelOptions);
|
|
38
|
+
participants: ParticipantCollection;
|
|
38
39
|
hasParticipants(): boolean;
|
|
39
40
|
startViewingMap(): any;
|
|
40
41
|
stopViewingMap(): any;
|
|
@@ -38,10 +38,10 @@ interface Derived {
|
|
|
38
38
|
isMe: boolean;
|
|
39
39
|
valid?: any;
|
|
40
40
|
}
|
|
41
|
-
/** @whatsapp 2.2147.
|
|
41
|
+
/** @whatsapp 2.2147.16:77872 */
|
|
42
42
|
export declare interface LiveLocationParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
43
43
|
}
|
|
44
|
-
/** @whatsapp 2.2147.
|
|
44
|
+
/** @whatsapp 2.2147.16:77872 */
|
|
45
45
|
export declare class LiveLocationParticipantModel extends Model {
|
|
46
46
|
idClass: typeof Wid;
|
|
47
47
|
constructor(proterties?: ModelPropertiesContructor<LiveLocationParticipantModel>, options?: ModelOptions);
|
|
@@ -63,10 +63,10 @@ interface Session {
|
|
|
63
63
|
interface Derived {
|
|
64
64
|
streamable?: any;
|
|
65
65
|
}
|
|
66
|
-
/** @whatsapp 2.2147.
|
|
66
|
+
/** @whatsapp 2.2147.16:49694 */
|
|
67
67
|
export declare interface MediaDataModel extends ModelProxy<Props, Session, Derived> {
|
|
68
68
|
}
|
|
69
|
-
/** @whatsapp 2.2147.
|
|
69
|
+
/** @whatsapp 2.2147.16:49694 */
|
|
70
70
|
export declare class MediaDataModel extends Model {
|
|
71
71
|
static TYPE?: any;
|
|
72
72
|
constructor(proterties?: ModelPropertiesContructor<MediaDataModel>, options?: ModelOptions);
|
|
@@ -33,7 +33,7 @@ export interface ModelOptions {
|
|
|
33
33
|
parent?: any;
|
|
34
34
|
silent?: any;
|
|
35
35
|
}
|
|
36
|
-
/** @whatsapp 2.2147.
|
|
36
|
+
/** @whatsapp 2.2147.16:57283 */
|
|
37
37
|
export declare class Model<Collection = undefined> extends EventEmitter {
|
|
38
38
|
static Proxy: string;
|
|
39
39
|
static idClass?: any;
|
|
@@ -30,7 +30,7 @@ export interface SessionChatBase {
|
|
|
30
30
|
msgsLength: number;
|
|
31
31
|
msgsChanged: number;
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:53362 */
|
|
34
34
|
export declare class ModelChatBase extends Model<ChatCollection> {
|
|
35
35
|
msgs: MsgLoad;
|
|
36
36
|
onEmptyMRM(): void;
|
|
@@ -24,10 +24,10 @@ interface Session {
|
|
|
24
24
|
}
|
|
25
25
|
interface Derived {
|
|
26
26
|
}
|
|
27
|
-
/** @whatsapp 2.2147.
|
|
27
|
+
/** @whatsapp 2.2147.16:81750 */
|
|
28
28
|
export declare interface MsgButtonReplyMsgModel extends ModelProxy<Props, Session, Derived> {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:81750 */
|
|
31
31
|
export declare class MsgButtonReplyMsgModel extends Model {
|
|
32
32
|
idClass: typeof MsgKey;
|
|
33
33
|
constructor(proterties?: ModelPropertiesContructor<MsgButtonReplyMsgModel>, options?: ModelOptions);
|
|
@@ -30,10 +30,10 @@ interface Session {
|
|
|
30
30
|
interface Derived {
|
|
31
31
|
settled?: any;
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:63463 */
|
|
34
34
|
export declare interface MsgInfoModel extends ModelProxy<Props, Session, Derived> {
|
|
35
35
|
}
|
|
36
|
-
/** @whatsapp 2.2147.
|
|
36
|
+
/** @whatsapp 2.2147.16:63463 */
|
|
37
37
|
export declare class MsgInfoModel extends Model<MsgInfoCollection> {
|
|
38
38
|
idClass: typeof MsgKey;
|
|
39
39
|
constructor(proterties?: ModelPropertiesContructor<MsgInfoModel>, options?: ModelOptions);
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { TextFontStyle } from '../../enums';
|
|
17
17
|
import { ButtonCollection, MsgCollection } from '../collections';
|
|
18
|
-
import { MsgKey, Wid } from '../misc';
|
|
18
|
+
import { MediaObject, MsgKey, Wid } from '../misc';
|
|
19
|
+
import { ChatModel, MediaDataModel } from '.';
|
|
19
20
|
import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
|
|
20
21
|
interface Props {
|
|
21
22
|
id: MsgKey;
|
|
@@ -41,15 +42,15 @@ interface Props {
|
|
|
41
42
|
interactiveAnnotations?: any;
|
|
42
43
|
clientUrl?: any;
|
|
43
44
|
loc?: any;
|
|
44
|
-
lat?:
|
|
45
|
-
lng?:
|
|
45
|
+
lat?: number;
|
|
46
|
+
lng?: number;
|
|
46
47
|
isLive: boolean;
|
|
47
|
-
accuracy?:
|
|
48
|
-
speed?:
|
|
49
|
-
degrees?:
|
|
50
|
-
comment?:
|
|
51
|
-
sequence?:
|
|
52
|
-
shareDuration?:
|
|
48
|
+
accuracy?: number;
|
|
49
|
+
speed?: number;
|
|
50
|
+
degrees?: number;
|
|
51
|
+
comment?: string;
|
|
52
|
+
sequence?: number;
|
|
53
|
+
shareDuration?: number;
|
|
53
54
|
finalLat?: any;
|
|
54
55
|
finalLng?: any;
|
|
55
56
|
finalAccuracy?: any;
|
|
@@ -217,12 +218,12 @@ interface Session {
|
|
|
217
218
|
startOfDaySkew?: any;
|
|
218
219
|
isQuotedMsgAvailable: boolean;
|
|
219
220
|
senderObj?: any;
|
|
220
|
-
mediaData?:
|
|
221
|
+
mediaData?: MediaDataModel;
|
|
221
222
|
forwardedFromWeb?: any;
|
|
222
223
|
linksIndexParsed?: any;
|
|
223
224
|
}
|
|
224
225
|
interface Derived {
|
|
225
|
-
chat?:
|
|
226
|
+
chat?: ChatModel;
|
|
226
227
|
hasTemplateButtons: boolean;
|
|
227
228
|
ephemeralExpirationTimestamp?: any;
|
|
228
229
|
isEphemeral: boolean;
|
|
@@ -256,7 +257,7 @@ interface Derived {
|
|
|
256
257
|
numTimesForwarded?: any;
|
|
257
258
|
isFrequentlyForwarded: boolean;
|
|
258
259
|
eventType?: any;
|
|
259
|
-
sender?:
|
|
260
|
+
sender?: Wid;
|
|
260
261
|
text?: any;
|
|
261
262
|
containsEmoji?: any;
|
|
262
263
|
isFailed: boolean;
|
|
@@ -264,7 +265,15 @@ interface Derived {
|
|
|
264
265
|
isUnsentMedia: boolean;
|
|
265
266
|
dir?: any;
|
|
266
267
|
rtl?: any;
|
|
267
|
-
linkPreview?:
|
|
268
|
+
linkPreview?: {
|
|
269
|
+
title?: string;
|
|
270
|
+
description?: string;
|
|
271
|
+
canonicalUrl?: string;
|
|
272
|
+
matchedText: string;
|
|
273
|
+
richPreviewType: number;
|
|
274
|
+
thumbnail?: string;
|
|
275
|
+
doNotPlayInline: boolean;
|
|
276
|
+
};
|
|
268
277
|
isGroupsV4InviteExpired: boolean;
|
|
269
278
|
isPersistent: boolean;
|
|
270
279
|
isUnreadType: boolean;
|
|
@@ -275,13 +284,14 @@ interface Derived {
|
|
|
275
284
|
initialPageSize?: any;
|
|
276
285
|
productListHeaderImage?: any;
|
|
277
286
|
}
|
|
278
|
-
/** @whatsapp 2.2147.
|
|
287
|
+
/** @whatsapp 2.2147.16:92954 */
|
|
279
288
|
export declare interface MsgModel extends ModelProxy<Props, Session, Derived> {
|
|
280
289
|
}
|
|
281
|
-
/** @whatsapp 2.2147.
|
|
290
|
+
/** @whatsapp 2.2147.16:92954 */
|
|
282
291
|
export declare class MsgModel extends Model {
|
|
283
292
|
idClass: typeof MsgKey;
|
|
284
293
|
constructor(proterties: ModelPropertiesContructor<MsgModel, 'id'>, options?: ModelOptions);
|
|
294
|
+
mediaObject?: MediaObject;
|
|
285
295
|
getLinks(e?: number): any;
|
|
286
296
|
getHeaderLinks(): any;
|
|
287
297
|
getFooterLinks(): any;
|
|
@@ -27,10 +27,10 @@ interface Session {
|
|
|
27
27
|
interface Derived {
|
|
28
28
|
isMuted: boolean;
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:43376 */
|
|
31
31
|
export declare interface MuteModel extends ModelProxy<Props, Session, Derived> {
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:43376 */
|
|
34
34
|
export declare class MuteModel extends Model<MuteCollection> {
|
|
35
35
|
idClass: typeof Wid;
|
|
36
36
|
allowedIds?: any;
|
|
@@ -29,10 +29,10 @@ interface Session {
|
|
|
29
29
|
interface Derived {
|
|
30
30
|
mediaData?: any;
|
|
31
31
|
}
|
|
32
|
-
/** @whatsapp 2.2147.
|
|
32
|
+
/** @whatsapp 2.2147.16:70334 */
|
|
33
33
|
export declare interface OrderItemModel extends ModelProxy<Props, Session, Derived> {
|
|
34
34
|
}
|
|
35
|
-
/** @whatsapp 2.2147.
|
|
35
|
+
/** @whatsapp 2.2147.16:70334 */
|
|
36
36
|
export declare class OrderItemModel extends Model<OrderCollection> {
|
|
37
37
|
constructor(proterties?: ModelPropertiesContructor<OrderItemModel>, options?: ModelOptions);
|
|
38
38
|
getCollection(): OrderCollection;
|
|
@@ -32,10 +32,10 @@ interface Session {
|
|
|
32
32
|
interface Derived {
|
|
33
33
|
totalItemCount?: any;
|
|
34
34
|
}
|
|
35
|
-
/** @whatsapp 2.2147.
|
|
35
|
+
/** @whatsapp 2.2147.16:63444 */
|
|
36
36
|
export declare interface OrderModel extends ModelProxy<Props, Session, Derived> {
|
|
37
37
|
}
|
|
38
|
-
/** @whatsapp 2.2147.
|
|
38
|
+
/** @whatsapp 2.2147.16:63444 */
|
|
39
39
|
export declare class OrderModel extends Model<OrderCollection> {
|
|
40
40
|
constructor(proterties?: ModelPropertiesContructor<OrderModel>, options?: ModelOptions);
|
|
41
41
|
triggerItemCollectionUpdate(): any;
|
|
@@ -27,10 +27,10 @@ interface Session {
|
|
|
27
27
|
}
|
|
28
28
|
interface Derived {
|
|
29
29
|
}
|
|
30
|
-
/** @whatsapp 2.2147.
|
|
30
|
+
/** @whatsapp 2.2147.16:47684 */
|
|
31
31
|
export declare interface ParticipantModel extends ModelProxy<Props, Session, Derived> {
|
|
32
32
|
}
|
|
33
|
-
/** @whatsapp 2.2147.
|
|
33
|
+
/** @whatsapp 2.2147.16:47684 */
|
|
34
34
|
export declare class ParticipantModel extends Model {
|
|
35
35
|
idClass: typeof Wid;
|
|
36
36
|
constructor(proterties?: ModelPropertiesContructor<ParticipantModel>, options?: ModelOptions);
|