@wppconnect/wa-js 1.1.9 → 1.1.13

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.
Files changed (152) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/chat/functions/index.d.ts +1 -0
  3. package/dist/chat/functions/starMessage.d.ts +47 -0
  4. package/dist/contact/functions/queryExists.d.ts +13 -0
  5. package/dist/profile/functions/getMyStatus.d.ts +26 -0
  6. package/dist/profile/functions/index.d.ts +1 -0
  7. package/dist/util/index.d.ts +1 -0
  8. package/dist/util/isBase64.d.ts +16 -0
  9. package/dist/whatsapp/collections/BaseCollection.d.ts +1 -1
  10. package/dist/whatsapp/collections/BlocklistCollection.d.ts +1 -1
  11. package/dist/whatsapp/collections/BusinessCategoriesResultCollection.d.ts +1 -1
  12. package/dist/whatsapp/collections/BusinessProfileCollection.d.ts +1 -1
  13. package/dist/whatsapp/collections/ButtonCollection.d.ts +1 -1
  14. package/dist/whatsapp/collections/CallCollection.d.ts +1 -1
  15. package/dist/whatsapp/collections/CartCollection.d.ts +1 -1
  16. package/dist/whatsapp/collections/CartItemCollection.d.ts +1 -1
  17. package/dist/whatsapp/collections/CatalogCollection.d.ts +1 -1
  18. package/dist/whatsapp/collections/ChatCollection.d.ts +1 -1
  19. package/dist/whatsapp/collections/ChatstateCollection.d.ts +1 -1
  20. package/dist/whatsapp/collections/Collection.d.ts +2 -2
  21. package/dist/whatsapp/collections/ContactCollection.d.ts +1 -1
  22. package/dist/whatsapp/collections/EmojiVariantCollection.d.ts +1 -1
  23. package/dist/whatsapp/collections/GroupMetadataCollection.d.ts +1 -1
  24. package/dist/whatsapp/collections/LabelCollection.d.ts +1 -1
  25. package/dist/whatsapp/collections/LabelItemCollection.d.ts +1 -1
  26. package/dist/whatsapp/collections/LiveLocationCollection.d.ts +1 -1
  27. package/dist/whatsapp/collections/MsgCollection.d.ts +1 -1
  28. package/dist/whatsapp/collections/MsgInfoCollection.d.ts +1 -1
  29. package/dist/whatsapp/collections/MuteCollection.d.ts +1 -1
  30. package/dist/whatsapp/collections/OrderCollection.d.ts +1 -1
  31. package/dist/whatsapp/collections/OrderItemCollection.d.ts +1 -1
  32. package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -1
  33. package/dist/whatsapp/collections/PresenceCollection.d.ts +1 -1
  34. package/dist/whatsapp/collections/ProductCollCollection.d.ts +1 -1
  35. package/dist/whatsapp/collections/ProductCollection.d.ts +1 -1
  36. package/dist/whatsapp/collections/ProductImageCollection.d.ts +1 -1
  37. package/dist/whatsapp/collections/ProductMessageListCollection.d.ts +1 -1
  38. package/dist/whatsapp/collections/ProfilePicThumbCollection.d.ts +1 -1
  39. package/dist/whatsapp/collections/QuickReplyCollection.d.ts +1 -1
  40. package/dist/whatsapp/collections/RecentEmojiCollection.d.ts +1 -1
  41. package/dist/whatsapp/collections/RecentStickerCollection.d.ts +1 -1
  42. package/dist/whatsapp/collections/StarredMsgCollection.d.ts +1 -1
  43. package/dist/whatsapp/collections/StarredStickerCollection.d.ts +1 -1
  44. package/dist/whatsapp/collections/StatusCollection.d.ts +1 -1
  45. package/dist/whatsapp/collections/StatusV3Collection.d.ts +1 -1
  46. package/dist/whatsapp/collections/StickerCollection.d.ts +1 -1
  47. package/dist/whatsapp/collections/StickerPackCollection.d.ts +1 -1
  48. package/dist/whatsapp/collections/StickerSearchCollection.d.ts +1 -1
  49. package/dist/whatsapp/collections/TemplateButtonCollection.d.ts +1 -1
  50. package/dist/whatsapp/enums/LogoutReason.d.ts +1 -1
  51. package/dist/whatsapp/enums/OUTWARD_TYPES.d.ts +1 -1
  52. package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -1
  53. package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -1
  54. package/dist/whatsapp/functions/blockContact.d.ts +2 -2
  55. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -1
  56. package/dist/whatsapp/functions/findChat.d.ts +1 -1
  57. package/dist/whatsapp/functions/findFirstWebLink.d.ts +1 -1
  58. package/dist/whatsapp/functions/getOrGenerate.d.ts +1 -1
  59. package/dist/whatsapp/functions/groupParticipants.d.ts +4 -4
  60. package/dist/whatsapp/functions/handleAck.d.ts +3 -3
  61. package/dist/whatsapp/functions/isAuthenticated.d.ts +1 -1
  62. package/dist/whatsapp/functions/markSeen.d.ts +3 -3
  63. package/dist/whatsapp/functions/msgFindQuery.d.ts +1 -1
  64. package/dist/whatsapp/functions/products.d.ts +4 -4
  65. package/dist/whatsapp/functions/profilePic.d.ts +1 -1
  66. package/dist/whatsapp/functions/randomId.d.ts +2 -2
  67. package/dist/whatsapp/functions/sendClear.d.ts +1 -1
  68. package/dist/whatsapp/functions/sendCreateGroup.d.ts +1 -1
  69. package/dist/whatsapp/functions/sendDelete.d.ts +1 -1
  70. package/dist/whatsapp/functions/sendQueryExists.d.ts +1 -1
  71. package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -1
  72. package/dist/whatsapp/functions/status.d.ts +2 -2
  73. package/dist/whatsapp/functions/uploadProductImage.d.ts +1 -1
  74. package/dist/whatsapp/misc/Base64.d.ts +1 -1
  75. package/dist/whatsapp/misc/Browser.d.ts +1 -1
  76. package/dist/whatsapp/misc/ChatPresence.d.ts +1 -1
  77. package/dist/whatsapp/misc/Clock.d.ts +2 -2
  78. package/dist/whatsapp/misc/Cmd.d.ts +2 -2
  79. package/dist/whatsapp/misc/Conn.d.ts +1 -1
  80. package/dist/whatsapp/misc/Constants.d.ts +1 -1
  81. package/dist/whatsapp/misc/EventEmitter.d.ts +1 -1
  82. package/dist/whatsapp/misc/Features.d.ts +1 -1
  83. package/dist/whatsapp/misc/ImageUtils.d.ts +1 -1
  84. package/dist/whatsapp/misc/Locale.d.ts +1 -1
  85. package/dist/whatsapp/misc/MediaBlobCache.d.ts +2 -2
  86. package/dist/whatsapp/misc/MediaObject.d.ts +1 -1
  87. package/dist/whatsapp/misc/MediaObjectUtil.d.ts +1 -1
  88. package/dist/whatsapp/misc/MediaPrep.d.ts +1 -1
  89. package/dist/whatsapp/misc/MediaUtils.d.ts +1 -1
  90. package/dist/whatsapp/misc/MsgKey.d.ts +1 -1
  91. package/dist/whatsapp/misc/MsgLoadState.d.ts +2 -2
  92. package/dist/whatsapp/misc/OpaqueData.d.ts +2 -2
  93. package/dist/whatsapp/misc/State.d.ts +1 -1
  94. package/dist/whatsapp/misc/UserPrefs.d.ts +1 -1
  95. package/dist/whatsapp/misc/VCard.d.ts +1 -1
  96. package/dist/whatsapp/misc/Wap.d.ts +2 -2
  97. package/dist/whatsapp/misc/Wid.d.ts +1 -1
  98. package/dist/whatsapp/misc/WidFactory.d.ts +1 -1
  99. package/dist/whatsapp/models/AttachMediaModel.d.ts +2 -2
  100. package/dist/whatsapp/models/BlocklistModel.d.ts +2 -2
  101. package/dist/whatsapp/models/BusinessCategoriesResultModel.d.ts +2 -2
  102. package/dist/whatsapp/models/BusinessProfileModel.d.ts +2 -2
  103. package/dist/whatsapp/models/CallModel.d.ts +2 -2
  104. package/dist/whatsapp/models/CallParticipantModel.d.ts +2 -2
  105. package/dist/whatsapp/models/CartItemModel.d.ts +2 -2
  106. package/dist/whatsapp/models/CartModel.d.ts +2 -2
  107. package/dist/whatsapp/models/CatalogModel.d.ts +2 -2
  108. package/dist/whatsapp/models/ChatModel.d.ts +3 -3
  109. package/dist/whatsapp/models/ChatPreferenceModel.d.ts +2 -2
  110. package/dist/whatsapp/models/ChatstateModel.d.ts +2 -2
  111. package/dist/whatsapp/models/ConnModel.d.ts +2 -2
  112. package/dist/whatsapp/models/ContactModel.d.ts +2 -2
  113. package/dist/whatsapp/models/ConversionTupleModel.d.ts +2 -2
  114. package/dist/whatsapp/models/EmojiVariantModel.d.ts +2 -2
  115. package/dist/whatsapp/models/GroupMetadataModel.d.ts +2 -2
  116. package/dist/whatsapp/models/LabelItemModel.d.ts +2 -2
  117. package/dist/whatsapp/models/LabelModel.d.ts +2 -2
  118. package/dist/whatsapp/models/LiveLocationModel.d.ts +2 -2
  119. package/dist/whatsapp/models/LiveLocationParticipantModel.d.ts +2 -2
  120. package/dist/whatsapp/models/MediaDataModel.d.ts +2 -2
  121. package/dist/whatsapp/models/Model.d.ts +1 -1
  122. package/dist/whatsapp/models/ModelChatBase.d.ts +1 -1
  123. package/dist/whatsapp/models/MsgButtonReplyMsgModel.d.ts +2 -2
  124. package/dist/whatsapp/models/MsgInfoModel.d.ts +2 -2
  125. package/dist/whatsapp/models/MsgModel.d.ts +2 -2
  126. package/dist/whatsapp/models/MuteModel.d.ts +2 -2
  127. package/dist/whatsapp/models/OrderItemModel.d.ts +2 -2
  128. package/dist/whatsapp/models/OrderModel.d.ts +2 -2
  129. package/dist/whatsapp/models/ParticipantModel.d.ts +2 -2
  130. package/dist/whatsapp/models/ProductCollModel.d.ts +2 -2
  131. package/dist/whatsapp/models/ProductImageModel.d.ts +2 -2
  132. package/dist/whatsapp/models/ProductMessageListModel.d.ts +2 -2
  133. package/dist/whatsapp/models/ProductModel.d.ts +2 -2
  134. package/dist/whatsapp/models/ProfilePicThumbModel.d.ts +2 -2
  135. package/dist/whatsapp/models/QuickReplyModel.d.ts +2 -2
  136. package/dist/whatsapp/models/RecentEmojiModel.d.ts +2 -2
  137. package/dist/whatsapp/models/RecentStickerModel.d.ts +2 -2
  138. package/dist/whatsapp/models/ReplyButtonModel.d.ts +2 -2
  139. package/dist/whatsapp/models/StateModel.d.ts +2 -2
  140. package/dist/whatsapp/models/StatusModel.d.ts +3 -3
  141. package/dist/whatsapp/models/StatusV3Model.d.ts +2 -2
  142. package/dist/whatsapp/models/StickerModel.d.ts +2 -2
  143. package/dist/whatsapp/models/StickerPackModel.d.ts +2 -2
  144. package/dist/whatsapp/models/TemplateButtonModel.d.ts +2 -2
  145. package/dist/whatsapp/models/UnreadMentionModel.d.ts +2 -2
  146. package/dist/whatsapp/models/WebCallModel.d.ts +2 -2
  147. package/dist/whatsapp/multidevice/adv.d.ts +1 -1
  148. package/dist/whatsapp/multidevice/waNoiseInfo.d.ts +1 -1
  149. package/dist/whatsapp/multidevice/waSignalStore.d.ts +1 -1
  150. package/dist/whatsapp/stores.d.ts +29 -29
  151. package/dist/wppconnect-wa.js +1 -1
  152. package/package.json +13 -12
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ContactModel } from '../models';
17
- /** @whatsapp 38512 */
17
+ /** @whatsapp 93671 */
18
18
  export declare function blockContact(contact: ContactModel): Promise<void>;
19
- /** @whatsapp 38512 */
19
+ /** @whatsapp 93671 */
20
20
  export declare function unblockContact(contact: ContactModel): Promise<void>;
@@ -25,5 +25,5 @@ export interface LinkPreviewResult {
25
25
  doNotPlayInline: boolean;
26
26
  };
27
27
  }
28
- /** @whatsapp 22750 */
28
+ /** @whatsapp 362 */
29
29
  export declare function fetchLinkPreview(url: string): Promise<null | LinkPreviewResult>;
@@ -15,5 +15,5 @@
15
15
  */
16
16
  import { Wid } from '..';
17
17
  import { ChatModel } from '../models';
18
- /** @whatsapp 62238 */
18
+ /** @whatsapp 42423 */
19
19
  export declare function findChat(wid: Wid): Promise<ChatModel>;
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 78502 */
16
+ /** @whatsapp 23740 */
17
17
  export declare function findFirstWebLink(message: string): undefined | string;
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 96403 */
16
+ /** @whatsapp 98863 */
17
17
  export declare function getOrGenerate(): string;
@@ -14,11 +14,11 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel, ParticipantModel } from '..';
17
- /** @whatsapp 97449 */
17
+ /** @whatsapp 27251 */
18
18
  export declare function addParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
19
- /** @whatsapp 97449 */
19
+ /** @whatsapp 27251 */
20
20
  export declare function removeParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
21
- /** @whatsapp 97449 */
21
+ /** @whatsapp 27251 */
22
22
  export declare function promoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
23
- /** @whatsapp 97449 */
23
+ /** @whatsapp 27251 */
24
24
  export declare function demoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 82069 */
16
+ /** @whatsapp 95782 */
17
17
  export declare function handleStatusSimpleAck(ackData: any): Promise<any>;
18
- /** @whatsapp 82075 */
18
+ /** @whatsapp 33630 */
19
19
  export declare function handleChatSimpleAck(ackData: any): Promise<any>;
20
- /** @whatsapp 34269 */
20
+ /** @whatsapp 14569 */
21
21
  export declare function handleGroupSimpleAck(ackData: any): Promise<any>;
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 54930 */
16
+ /** @whatsapp 93784 */
17
17
  export declare function isAuthenticated(): boolean;
@@ -14,11 +14,11 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel, MsgModel } from '../models';
17
- /** @whatsapp 74109 */
17
+ /** @whatsapp 9301 */
18
18
  export declare function markUnread(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
19
- /** @whatsapp 74109 */
19
+ /** @whatsapp 9301 */
20
20
  export declare function sendSeen(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
21
- /** @whatsapp 64850 */
21
+ /** @whatsapp 12785 */
22
22
  export declare function markPlayed(msg: MsgModel): Promise<void>;
23
23
  /**
24
24
  * @whatsapp 2.2146.9:64850
@@ -23,5 +23,5 @@ export interface MsgFindQueryParams {
23
23
  id?: string;
24
24
  participant?: any;
25
25
  }
26
- /** @whatsapp 2495 */
26
+ /** @whatsapp 91626 */
27
27
  export declare function msgFindQuery(direction: 'after' | 'before', params: MsgFindQueryParams): Promise<ModelPropertiesContructor<MsgModel>[]>;
@@ -16,11 +16,11 @@
16
16
  import { ProductModel } from '..';
17
17
  /** @whatsapp 2.2144.10:35339 */
18
18
  export declare function createBusinessCatalog(): Promise<any>;
19
- /** @whatsapp 68793 */
19
+ /** @whatsapp 426 */
20
20
  export declare function addProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
21
- /** @whatsapp 68793 */
21
+ /** @whatsapp 426 */
22
22
  export declare function editProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
23
- /** @whatsapp 68793 */
23
+ /** @whatsapp 426 */
24
24
  export declare function deleteProducts(productIds: string[]): Promise<any>;
25
- /** @whatsapp 68793 */
25
+ /** @whatsapp 426 */
26
26
  export declare function sendProductToChat(...args: any[]): Promise<any>;
@@ -16,6 +16,6 @@
16
16
  import { Wid } from '..';
17
17
  /**
18
18
  * This function can be used to define a group picture or self profile
19
- * @whatsapp 13729
19
+ * @whatsapp 36161
20
20
  */
21
21
  export declare function sendSetPicture(chat: Wid, previewBase64: string, pictureBase64: string): Promise<void>;
@@ -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 17754 */
16
+ /** @whatsapp 2753 */
17
17
  export declare function randomMessageId(): string;
18
- /** @whatsapp 17754 */
18
+ /** @whatsapp 2753 */
19
19
  export declare function randomId(): string;
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel } from '..';
17
- /** @whatsapp 67357 */
17
+ /** @whatsapp 59098 */
18
18
  export declare function sendClear(chat: ChatModel, keepStarred?: boolean): Promise<void>;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '..';
17
- /** @whatsapp 53876 */
17
+ /** @whatsapp 75830 */
18
18
  export declare function sendCreateGroup(groupName: string, participants: Wid[], ephemeral?: number, dogfooding?: boolean): Promise<{
19
19
  gid: Wid;
20
20
  participants: {
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel } from '..';
17
- /** @whatsapp 61670 */
17
+ /** @whatsapp 86212 */
18
18
  export declare function sendDelete(chat: ChatModel): Promise<void>;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '..';
17
- /** @whatsapp 66469 */
17
+ /** @whatsapp 54150 */
18
18
  export declare function sendQueryExists(contact: Wid): Promise<{
19
19
  wid: Wid;
20
20
  biz: boolean;
@@ -13,5 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /** @whatsapp 30239 */
16
+ /** @whatsapp 54701 */
17
17
  export declare function sendTextMsgToChat(chat: any, message: any, options: any): Promise<string>;
@@ -14,12 +14,12 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '..';
17
- /** @whatsapp 15094 */
17
+ /** @whatsapp 12391 */
18
18
  export declare function getStatus(contactId: Wid): Promise<{
19
19
  id: Wid;
20
20
  status: string;
21
21
  }>;
22
- /** @whatsapp 15094 */
22
+ /** @whatsapp 12391 */
23
23
  export declare function setMyStatus(status: string, seqId?: number): Promise<{
24
24
  status: number;
25
25
  }>;
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { OpaqueData } from '..';
17
- /** @whatsapp 57990 */
17
+ /** @whatsapp 22367 */
18
18
  export declare function uploadProductImage(mediaBlob: OpaqueData, filehash: string): Promise<string>;
@@ -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 36117 */
16
+ /** @whatsapp 76512 */
17
17
  export declare namespace Base64 {
18
18
  const BASE64_DATA_URL_SCHEME: 'data:image/jpeg;base64,';
19
19
  function encodeB64(data: ArrayLike<number> | ArrayBufferLike): string;
@@ -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 94666 */
16
+ /** @whatsapp 5897 */
17
17
  export declare namespace Browser {
18
18
  let promptUnloadGuards: number;
19
19
  function id(): string;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel } from '..';
17
- /** @whatsapp 83271 */
17
+ /** @whatsapp 58487 */
18
18
  export declare namespace ChatPresence {
19
19
  function markComposing(chat: ChatModel): Promise<void>;
20
20
  function markPaused(chat: ChatModel): Promise<void>;
@@ -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 25142 */
16
+ /** @whatsapp 21810 */
17
17
  export declare class ClockClass {
18
18
  is24h: boolean;
19
19
  skew: number;
@@ -41,5 +41,5 @@ export declare class ClockClass {
41
41
  liveLocationLastUpdatedStr(timestamp: number): string;
42
42
  shouldUseIntlDateTimeFormat(): boolean;
43
43
  }
44
- /** @whatsapp 25142 */
44
+ /** @whatsapp 21810 */
45
45
  export declare const Clock: ClockClass;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { EventEmitter } from '.';
17
- /** @whatsapp 69162 */
17
+ /** @whatsapp 2751 */
18
18
  export declare class CmdClass extends EventEmitter {
19
19
  isMainLoaded: boolean;
20
20
  uiBusy: number;
@@ -143,5 +143,5 @@ export declare class CmdClass extends EventEmitter {
143
143
  showCountrySelector(e?: any, t?: any, r?: any): void;
144
144
  toggleStickerMaker(): void;
145
145
  }
146
- /** @whatsapp 69162 */
146
+ /** @whatsapp 2751 */
147
147
  export declare const Cmd: CmdClass;
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ConnModel } from '../models';
17
- /** @whatsapp 9322 */
17
+ /** @whatsapp 13798 */
18
18
  export declare const Conn: ConnModel;
@@ -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 55454 */
16
+ /** @whatsapp 11547 */
17
17
  export declare const Constants: {
18
18
  ARCHIVE_NUX_MAX_VIEWS: number;
19
19
  IMG_THUMB_MAX_EDGE: number;
@@ -21,7 +21,7 @@ declare type Event = string | symbol;
21
21
  * The callback function.
22
22
  */
23
23
  declare type Listener = (...args: any[]) => void;
24
- /** @whatsapp 95863 */
24
+ /** @whatsapp 98239 */
25
25
  export declare class EventEmitter {
26
26
  /**
27
27
  * Adds the listener function to the end of the listeners array for the event named eventName.
@@ -60,6 +60,6 @@ declare class FeatureClass extends EventEmitter {
60
60
  isGroupCatchUpEnabled(): boolean;
61
61
  isInAppSupportEnabled(): boolean;
62
62
  }
63
- /** @whatsapp 12950 */
63
+ /** @whatsapp 37268 */
64
64
  export declare const Features: FeatureClass;
65
65
  export {};
@@ -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 49288 */
16
+ /** @whatsapp 72999 */
17
17
  export declare namespace ImageUtils {
18
18
  function rotateAndResize(e: any, t: any, r: any): Promise<{
19
19
  width: number;
@@ -15,6 +15,6 @@
15
15
  */
16
16
  declare class LocaleClass {
17
17
  }
18
- /** @whatsapp 2408 */
18
+ /** @whatsapp 79276 */
19
19
  export declare const Locale: LocaleClass;
20
20
  export {};
@@ -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 75571 */
16
+ /** @whatsapp 21289 */
17
17
  export declare class MediaBlobCacheImpl {
18
18
  is24h: boolean;
19
19
  getOrCreateURL(filehash: string): string;
@@ -26,5 +26,5 @@ export declare class MediaBlobCacheImpl {
26
26
  increaseUsageCount(filehash: string): void;
27
27
  decreaseUsageCount(filehash: string): void;
28
28
  }
29
- /** @whatsapp 75571 */
29
+ /** @whatsapp 21289 */
30
30
  export declare const MediaBlobCache: MediaBlobCacheImpl;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { OpaqueData } from '.';
17
- /** @whatsapp 78690 */
17
+ /** @whatsapp 73941 */
18
18
  export declare class MediaObject {
19
19
  entries: any;
20
20
  downloadStage: any;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { MediaObject } from '.';
17
- /** @whatsapp 70233 */
17
+ /** @whatsapp 7240 */
18
18
  export declare namespace MediaObjectUtil {
19
19
  function getOrCreateMediaObject(hash: string): MediaObject;
20
20
  }
@@ -16,7 +16,7 @@
16
16
  import { ChatModel, MediaDataModel, ModelPropertiesContructor, MsgModel } from '..';
17
17
  import { OUTWARD_TYPES, SendMsgResult } from '../enums';
18
18
  import { OpaqueData } from '.';
19
- /** @whatsapp 57990 */
19
+ /** @whatsapp 22367 */
20
20
  export declare namespace MediaPrep {
21
21
  function prepRawMedia(data: OpaqueData, options: {
22
22
  isPtt?: boolean;
@@ -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 63063 */
16
+ /** @whatsapp 76329 */
17
17
  export declare namespace MediaUtils {
18
18
  function getImageWidthHeight(): Promise<{
19
19
  width: number;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 77043 */
17
+ /** @whatsapp 42078 */
18
18
  export declare class MsgKey {
19
19
  constructor(options: {
20
20
  from: Wid;
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { BaseCollection } from '../collections';
17
17
  import { Model, MsgModel } from '../models';
18
- /** @whatsapp 97490 */
18
+ /** @whatsapp 38671 */
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 97490 */
26
+ /** @whatsapp 38671 */
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 52937 */
16
+ /** @whatsapp 45138 */
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 52937 */
24
+ /** @whatsapp 45138 */
25
25
  export declare class OpaqueData extends OpaqueDataBase {
26
26
  url(): string;
27
27
  getBase64(): string;
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { StateModel } from '../models';
17
- /** @whatsapp 72787 */
17
+ /** @whatsapp 37441 */
18
18
  export declare const State: StateModel;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
- /** @whatsapp 86723 */
17
+ /** @whatsapp 26205 */
18
18
  export declare namespace UserPrefs {
19
19
  function setMe(wid: Wid): void;
20
20
  function getMe(): Wid;
@@ -19,7 +19,7 @@ export interface VCardData {
19
19
  vcard: string;
20
20
  isMultiVcard: false;
21
21
  }
22
- /** @whatsapp 50313 */
22
+ /** @whatsapp 26478 */
23
23
  export declare namespace VCard {
24
24
  function vcardFromContactModel(contact: ContactModel): VCardData;
25
25
  function mergeVcards(vcards: VCardData[]): VCardData;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from '.';
17
- /** @whatsapp 69610 */
17
+ /** @whatsapp 25195 */
18
18
  export declare class WapClass {
19
19
  queryExist(contactId: string): Promise<{
20
20
  status: 200;
@@ -27,5 +27,5 @@ export declare class WapClass {
27
27
  settingTimestamp: number;
28
28
  }>;
29
29
  }
30
- /** @whatsapp 69162 */
30
+ /** @whatsapp 25195 */
31
31
  export declare const Wap: WapClass;
@@ -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 69635 */
16
+ /** @whatsapp 69678 */
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 89573 */
17
+ /** @whatsapp 31517 */
18
18
  export declare namespace WidFactory {
19
19
  function createDeviceWid(wid: string): Wid;
20
20
  function createDeviceWidFromUserAndDevice(user: string, device: string): Wid;
@@ -46,10 +46,10 @@ interface Derived {
46
46
  filesize?: any;
47
47
  fileExt?: any;
48
48
  }
49
- /** @whatsapp 73754 */
49
+ /** @whatsapp 47121 */
50
50
  export declare interface AttachMediaModel extends ModelProxy<Props, Session, Derived> {
51
51
  }
52
- /** @whatsapp 73754 */
52
+ /** @whatsapp 47121 */
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 43123 */
27
+ /** @whatsapp 95254 */
28
28
  export declare interface BlocklistModel extends ModelProxy<Props, Session, Derived> {
29
29
  }
30
- /** @whatsapp 43123 */
30
+ /** @whatsapp 95254 */
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 32816 */
28
+ /** @whatsapp 85840 */
29
29
  export declare interface BusinessCategoriesResultModel extends ModelProxy<Props, Session, Derived> {
30
30
  }
31
- /** @whatsapp 32816 */
31
+ /** @whatsapp 85840 */
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 42097 */
39
+ /** @whatsapp 20586 */
40
40
  export declare interface BusinessProfileModel extends ModelProxy<Props, Session, Derived> {
41
41
  }
42
- /** @whatsapp 42097 */
42
+ /** @whatsapp 20586 */
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 70026 */
35
+ /** @whatsapp 42810 */
36
36
  export declare interface CallModel extends ModelProxy<Props, Session, Derived> {
37
37
  }
38
- /** @whatsapp 70026 */
38
+ /** @whatsapp 42810 */
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 5483 */
37
+ /** @whatsapp 5584 */
38
38
  export declare interface CallParticipantModel extends ModelProxy<Props, Session, Derived> {
39
39
  }
40
- /** @whatsapp 5483 */
40
+ /** @whatsapp 5584 */
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 53685 */
31
+ /** @whatsapp 57961 */
32
32
  export declare interface CartItemModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 53685 */
34
+ /** @whatsapp 57961 */
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 95537 */
31
+ /** @whatsapp 88043 */
32
32
  export declare interface CartModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 95537 */
34
+ /** @whatsapp 88043 */
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 73310 */
31
+ /** @whatsapp 22746 */
32
32
  export declare interface CatalogModel extends ModelProxy<Props, Session, Derived> {
33
33
  }
34
- /** @whatsapp 73310 */
34
+ /** @whatsapp 22746 */
35
35
  export declare class CatalogModel extends Model<CatalogCollection> {
36
36
  idClass: typeof Wid;
37
37
  constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);