@wppconnect/wa-js 2.9.0 → 2.11.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/assert/assertProduct.d.ts +22 -0
  3. package/dist/assert/index.d.ts +1 -0
  4. package/dist/catalog/functions/addProductImage.d.ts +28 -0
  5. package/dist/catalog/functions/changeProductImage.d.ts +28 -0
  6. package/dist/catalog/functions/createCollection.d.ts +26 -0
  7. package/dist/catalog/functions/createProduct.d.ts +47 -0
  8. package/dist/catalog/functions/deleteCollection.d.ts +26 -0
  9. package/dist/catalog/functions/deleteProduct.d.ts +30 -0
  10. package/dist/catalog/functions/editCollection.d.ts +32 -0
  11. package/dist/catalog/functions/editProduct.d.ts +36 -0
  12. package/dist/catalog/functions/getCollections.d.ts +31 -0
  13. package/dist/catalog/functions/getProductById.d.ts +28 -0
  14. package/dist/catalog/functions/getProducts.d.ts +27 -0
  15. package/dist/catalog/functions/index.d.ts +14 -0
  16. package/dist/catalog/functions/removeProductImage.d.ts +29 -0
  17. package/dist/catalog/functions/setProductVisibility.d.ts +30 -0
  18. package/dist/catalog/functions/updateCartEnabled.d.ts +30 -0
  19. package/dist/chat/functions/canMarkPlayed.d.ts +27 -0
  20. package/dist/chat/functions/getMessages.d.ts +25 -0
  21. package/dist/chat/functions/getPlatformFromMessage.d.ts +34 -0
  22. package/dist/chat/functions/index.d.ts +3 -0
  23. package/dist/chat/functions/markPlayed.d.ts +27 -0
  24. package/dist/chat/functions/prepareMessageButtons.d.ts +1 -1
  25. package/dist/chat/functions/sendTextMessage.d.ts +31 -0
  26. package/dist/chat/functions/sendVCardContactMessage.d.ts +20 -0
  27. package/dist/chat/index.d.ts +1 -0
  28. package/dist/chat/patch.d.ts +16 -0
  29. package/dist/conn/functions/getPlatform.d.ts +25 -0
  30. package/dist/conn/functions/index.d.ts +2 -0
  31. package/dist/contact/functions/getBusinessProfile.d.ts +27 -0
  32. package/dist/contact/functions/index.d.ts +1 -0
  33. package/dist/labels/functions/getLabelById.d.ts +17 -0
  34. package/dist/labels/functions/index.d.ts +1 -0
  35. package/dist/profile/functions/editBusinessProfile.d.ts +177 -0
  36. package/dist/profile/functions/index.d.ts +2 -0
  37. package/dist/profile/functions/isBusiness.d.ts +24 -0
  38. package/dist/status/functions/index.d.ts +1 -0
  39. package/dist/status/functions/sendReadStatus.d.ts +25 -0
  40. package/dist/whatsapp/collections/CatalogCollection.d.ts +3 -1
  41. package/dist/whatsapp/contants/DROP_ATTR.d.ts +19 -0
  42. package/dist/whatsapp/contants/index.d.ts +16 -0
  43. package/dist/whatsapp/enums/CALL_STATES.d.ts +1 -0
  44. package/dist/whatsapp/enums/SendMsgResult.d.ts +1 -0
  45. package/dist/whatsapp/functions/addAndSendMsgToChat.d.ts +1 -0
  46. package/dist/whatsapp/functions/blockContact.d.ts +2 -0
  47. package/dist/whatsapp/functions/calculateFilehashFromBlob.d.ts +19 -0
  48. package/dist/whatsapp/functions/collections.d.ts +37 -0
  49. package/dist/whatsapp/functions/createMsgProtobuf.d.ts +1 -0
  50. package/dist/whatsapp/functions/editBusinessProfile.d.ts +20 -0
  51. package/dist/whatsapp/functions/encodeMaybeMediaType.d.ts +19 -0
  52. package/dist/whatsapp/functions/encryptAndSendGroupMsg.d.ts +1 -0
  53. package/dist/whatsapp/functions/encryptAndSendMsg.d.ts +1 -0
  54. package/dist/whatsapp/functions/fetchLinkPreview.d.ts +1 -0
  55. package/dist/whatsapp/functions/findChat.d.ts +1 -0
  56. package/dist/whatsapp/functions/genMinimalLinkPreview.d.ts +1 -0
  57. package/dist/whatsapp/functions/groupParticipants.d.ts +4 -0
  58. package/dist/whatsapp/functions/handleAck.d.ts +6 -0
  59. package/dist/whatsapp/functions/index.d.ts +6 -0
  60. package/dist/whatsapp/functions/markSeen.d.ts +9 -3
  61. package/dist/whatsapp/functions/mediaTypeFromProtobuf.d.ts +2 -1
  62. package/dist/whatsapp/functions/msgFindQuery.d.ts +2 -1
  63. package/dist/whatsapp/functions/productVisibilitySet.d.ts +21 -0
  64. package/dist/whatsapp/functions/products.d.ts +9 -0
  65. package/dist/whatsapp/functions/randomHex.d.ts +1 -0
  66. package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +3 -1
  67. package/dist/whatsapp/functions/sendClear.d.ts +1 -0
  68. package/dist/whatsapp/functions/sendDelete.d.ts +1 -0
  69. package/dist/whatsapp/functions/sendExitGroup.d.ts +1 -0
  70. package/dist/whatsapp/functions/sendReactionToMsg.d.ts +1 -0
  71. package/dist/whatsapp/functions/sendTextMsgToChat.d.ts +1 -0
  72. package/dist/whatsapp/functions/setArchive.d.ts +1 -0
  73. package/dist/whatsapp/functions/setPin.d.ts +2 -0
  74. package/dist/whatsapp/functions/typeAttributeFromProtobuf.d.ts +1 -0
  75. package/dist/whatsapp/functions/updateCartEnabled.d.ts +19 -0
  76. package/dist/whatsapp/index.d.ts +1 -0
  77. package/dist/whatsapp/misc/ChatPresence.d.ts +1 -0
  78. package/dist/whatsapp/misc/Locale.d.ts +1 -0
  79. package/dist/whatsapp/misc/ProductCatalogSession.d.ts +27 -0
  80. package/dist/whatsapp/misc/index.d.ts +1 -0
  81. package/dist/whatsapp/models/CatalogModel.d.ts +2 -0
  82. package/dist/whatsapp/models/ProductCollModel.d.ts +4 -0
  83. package/dist/whatsapp/models/ProductModel.d.ts +2 -1
  84. package/dist/wppconnect-wa.js +1 -1
  85. package/package.json +13 -13
@@ -28,5 +28,6 @@ export interface LinkPreviewResult {
28
28
  /** @whatsapp 19146
29
29
  * @whatsapp 75820 >= 2.2204.13
30
30
  * @whatsapp 519146 >= 2.2222.8
31
+ * @whatsapp 632590 >= 2.2228.4
31
32
  */
32
33
  export declare function fetchLinkPreview(url: string): Promise<null | LinkPreviewResult>;
@@ -17,5 +17,6 @@ import { Wid } from '..';
17
17
  import { ChatModel } from '../models';
18
18
  /** @whatsapp 50101
19
19
  * @whatsapp 650101 >= 2.2222.8
20
+ * @whatsapp 211739 >= 2.2228.4
20
21
  */
21
22
  export declare function findChat(wid: Wid): Promise<ChatModel>;
@@ -17,6 +17,7 @@ import { LinkPreviewResult } from './fetchLinkPreview';
17
17
  /**
18
18
  * @whatsapp 92375
19
19
  * @whatsapp 692375 >= 2.2222.8
20
+ * @whatsapp 321120 >= 2.2228.4
20
21
  */
21
22
  export declare function genMinimalLinkPreview(data: {
22
23
  anchor: undefined;
@@ -16,17 +16,21 @@
16
16
  import { ChatModel, ParticipantModel } from '..';
17
17
  /** @whatsapp 89389
18
18
  * @whatsapp 389389 >= 2.2222.8
19
+ * @whatsapp 815562 >= 2.2228.4
19
20
  */
20
21
  export declare function addParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
21
22
  /** @whatsapp 89389
22
23
  * @whatsapp 389389 >= 2.2222.8
24
+ * @whatsapp 815562 >= 2.2228.4
23
25
  */
24
26
  export declare function removeParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
25
27
  /** @whatsapp 89389
26
28
  * @whatsapp 389389 >= 2.2222.8
29
+ * @whatsapp 815562 >= 2.2228.4
27
30
  */
28
31
  export declare function promoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
29
32
  /** @whatsapp 89389
30
33
  * @whatsapp 389389 >= 2.2222.8
34
+ * @whatsapp 815562 >= 2.2228.4
31
35
  */
32
36
  export declare function demoteParticipants(group: ChatModel, participants: ParticipantModel[]): Promise<void>;
@@ -31,29 +31,35 @@ export interface SimpleAckData {
31
31
  * @whatsapp 90756
32
32
  * @deprecated
33
33
  * @whatsapp 590756 >= 2.2222.8
34
+ * @whatsapp 585294 >= 2.2230.8
34
35
  */
35
36
  export declare function handleStatusSimpleAck(ackData: SimpleAckData): Promise<any>;
36
37
  /**
37
38
  * @whatsapp 48309
38
39
  * @deprecated
39
40
  * @whatsapp 648309 >= 2.2222.8
41
+ * @whatsapp 471873 >= 2.2230.8
40
42
  */
41
43
  export declare function handleChatSimpleAck(ackData: SimpleAckData): Promise<any>;
42
44
  /**
43
45
  * @whatsapp 84947
44
46
  * @deprecated
45
47
  * @whatsapp 284947 >= 2.2222.8
48
+ * @whatsapp 359554 >= 2.2230.8
46
49
  */
47
50
  export declare function handleGroupSimpleAck(ackData: SimpleAckData): Promise<any>;
48
51
  /** @whatsapp 90756
49
52
  * @whatsapp 590756 >= 2.2222.8
53
+ * @whatsapp 585294 >= 2.2230.8
50
54
  */
51
55
  export declare function handleStatusSimpleReceipt(ackData: SimpleAckData): Promise<any>;
52
56
  /** @whatsapp 48309
53
57
  * @whatsapp 648309 >= 2.2222.8
58
+ * @whatsapp 471873 >= 2.2230.8
54
59
  */
55
60
  export declare function handleChatSimpleReceipt(ackData: SimpleAckData): Promise<any>;
56
61
  /** @whatsapp 84947
57
62
  * @whatsapp 284947 >= 2.2222.8
63
+ * @whatsapp 359554 >= 2.2230.8
58
64
  */
59
65
  export declare function handleGroupSimpleReceipt(ackData: SimpleAckData): Promise<any>;
@@ -15,8 +15,12 @@
15
15
  */
16
16
  export * from './addAndSendMsgToChat';
17
17
  export * from './blockContact';
18
+ export * from './calculateFilehashFromBlob';
19
+ export * from './collections';
18
20
  export * from './createMsgProtobuf';
19
21
  export * from './createOrUpdateReactions';
22
+ export * from './editBusinessProfile';
23
+ export * from './encodeMaybeMediaType';
20
24
  export * from './encryptAndSendGroupMsg';
21
25
  export * from './encryptAndSendMsg';
22
26
  export * from './fetchLinkPreview';
@@ -35,6 +39,7 @@ export * from './markSeen';
35
39
  export * from './mediaTypeFromProtobuf';
36
40
  export * from './msgFindQuery';
37
41
  export * from './products';
42
+ export * from './productVisibilitySet';
38
43
  export * from './profilePic';
39
44
  export * from './randomHex';
40
45
  export * from './randomId';
@@ -55,6 +60,7 @@ export * from './setGroup';
55
60
  export * from './setPin';
56
61
  export * from './status';
57
62
  export * from './typeAttributeFromProtobuf';
63
+ export * from './updateCartEnabled';
58
64
  export * from './updateDBForGroupAction';
59
65
  export * from './updateParticipants';
60
66
  export * from './uploadProductImage';
@@ -14,15 +14,21 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ChatModel, MsgModel } from '../models';
17
- /** @whatsapp 9609 */
17
+ /** @whatsapp 9609
18
+ * @whatsapp 561498 >= 2.2228.4
19
+ */
18
20
  export declare function markUnread(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
19
- /** @whatsapp 9609 */
21
+ /** @whatsapp 9609
22
+ * @whatsapp 561498 >= 2.2228.4
23
+ */
20
24
  export declare function sendSeen(chat: ChatModel, whenAvailable: boolean): Promise<ChatModel>;
21
25
  /** @whatsapp 30734
22
26
  * @whatsapp 730734 >= 2.2222.8
27
+ * @whatsapp 242050 >= 2.2228.4
23
28
  */
24
29
  export declare function markPlayed(msg: MsgModel): Promise<void>;
25
30
  /**
26
- * @whatsapp 2.2146.9:64850
31
+ * @whatsapp 64850
32
+ * @whatsapp 242050 >= 2.2228.4
27
33
  */
28
34
  export declare function canMarkPlayed(msg: MsgModel): boolean;
@@ -16,7 +16,8 @@
16
16
  /** @whatsapp 95318
17
17
  * @whatsapp 58853 >= 2.2218.4
18
18
  * @whatsapp 458853 >= 2.2222.8
19
+ * @whatsapp 760210 >= 2.2228.4
19
20
  */
20
21
  export declare function mediaTypeFromProtobuf(protoMessage: {
21
22
  [key: string]: any;
22
- }): string;
23
+ }): string | null;
@@ -22,6 +22,7 @@ export interface MsgFindQueryParams {
22
22
  fromMe?: boolean;
23
23
  id?: string;
24
24
  participant?: any;
25
+ media?: 'url' | 'document';
25
26
  }
26
27
  /** @whatsapp 76581 */
27
- export declare function msgFindQuery(direction: 'after' | 'before', params: MsgFindQueryParams): Promise<ModelPropertiesContructor<MsgModel>[]>;
28
+ export declare function msgFindQuery(direction: 'after' | 'before' | 'media', params: MsgFindQueryParams): Promise<ModelPropertiesContructor<MsgModel>[] | any>;
@@ -0,0 +1,21 @@
1
+ /*!
2
+ * Copyright 2022 WPPConnect Team
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface ProductVisibilitySetParams {
17
+ isHidden: boolean;
18
+ productId: number;
19
+ }
20
+ /** @whatsapp 621374 >= 2.2228.14 */
21
+ export declare function productVisibilitySet(params: ProductVisibilitySetParams[]): any;
@@ -14,21 +14,30 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { ProductModel } from '..';
17
+ import { Wid } from '../misc';
17
18
  /** @whatsapp 2.2144.10:35339 */
18
19
  export declare function createBusinessCatalog(): Promise<any>;
19
20
  /** @whatsapp 96519
20
21
  * @whatsapp 196519 >= 2.2222.8
22
+ * @whatsapp 895697 >= 2.2228.4
21
23
  */
22
24
  export declare function addProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
23
25
  /** @whatsapp 96519
24
26
  * @whatsapp 196519 >= 2.2222.8
27
+ * @whatsapp 895697 >= 2.2228.4
25
28
  */
26
29
  export declare function editProduct(product: ProductModel, imageWidth?: number, imageHeight?: number): Promise<any>;
27
30
  /** @whatsapp 96519
28
31
  * @whatsapp 196519 >= 2.2222.8
32
+ * @whatsapp 895697 >= 2.2228.4
29
33
  */
30
34
  export declare function deleteProducts(productIds: string[]): Promise<any>;
31
35
  /** @whatsapp 96519
32
36
  * @whatsapp 196519 >= 2.2222.8
37
+ * @whatsapp 895697 >= 2.2228.4
33
38
  */
34
39
  export declare function sendProductToChat(...args: any[]): Promise<any>;
40
+ /** @whatsapp 621374 >= 2.2228.14 */
41
+ export declare function queryCatalog(chatId?: Wid, t?: any, n?: number, r?: number, i?: number, s?: any, l?: any): any;
42
+ /** @whatsapp 621374 >= 2.2228.14 */
43
+ export declare function queryProduct(chatId?: Wid, productId?: any, imageWidth?: number, imageHeight?: number, i?: any, s?: boolean, l?: any): any;
@@ -15,5 +15,6 @@
15
15
  */
16
16
  /**
17
17
  * @whatsapp 832678
18
+ * @whatsapp 787614 >= 2.2228.4
18
19
  */
19
20
  export declare function randomHex(size: number): string;
@@ -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 56981 */
16
+ /** @whatsapp 56981
17
+ * @whatsapp 383674 >= 2.2228.4
18
+ */
17
19
  export declare function sendCallSignalingMsg(data: {
18
20
  common: {
19
21
  type?: string;
@@ -16,5 +16,6 @@
16
16
  import { ChatModel } from '..';
17
17
  /** @whatsapp 83802
18
18
  * @whatsapp 483802 >= 2.2222.8
19
+ * @whatsapp 382019 >= 2.2228.4
19
20
  */
20
21
  export declare function sendClear(chat: ChatModel, keepStarred?: boolean): Promise<void>;
@@ -16,5 +16,6 @@
16
16
  import { ChatModel } from '..';
17
17
  /** @whatsapp 20052
18
18
  * @whatsapp 920052 >= 2.2222.8
19
+ * @whatsapp 43125 >= 2.2228.4
19
20
  */
20
21
  export declare function sendDelete(chat: ChatModel): Promise<void>;
@@ -16,5 +16,6 @@
16
16
  import { ChatModel } from '..';
17
17
  /** @whatsapp 5501
18
18
  * @whatsapp 605501 >= 2.2222.8
19
+ * @whatsapp 525510 >= 2.2228.4
19
20
  */
20
21
  export declare function sendExitGroup(group: ChatModel): Promise<void>;
@@ -16,5 +16,6 @@
16
16
  import { MsgModel } from '../models';
17
17
  /** @whatsapp 21357
18
18
  * @whatsapp 621357 >= 2.2222.8
19
+ * @whatsapp 805687 >= 2.2228.4
19
20
  */
20
21
  export declare function sendReactionToMsg(msg: MsgModel, reactionText: string): Promise<string>;
@@ -15,5 +15,6 @@
15
15
  */
16
16
  /** @whatsapp 5524
17
17
  * @whatsapp 105524 >= 2.2222.8
18
+ * @whatsapp 781845 >= 2.2228.4
18
19
  */
19
20
  export declare function sendTextMsgToChat(chat: any, message: any, options: any): Promise<string>;
@@ -17,5 +17,6 @@ import { ChatModel } from '../models';
17
17
  /**
18
18
  * @whatsapp 59992
19
19
  * @whatsapp 259992 >= 2.2222.8
20
+ * @whatsapp 503153 >= 2.2228.4
20
21
  */
21
22
  export declare function setArchive(chat: ChatModel, archive: boolean, id?: string): Promise<void>;
@@ -17,5 +17,7 @@ import { ChatModel } from '../models';
17
17
  /**
18
18
  * @whatsapp 10236
19
19
  * @whatsapp 510236 >= 2.2222.8
20
+ * @whatsapp 742348 >= 2.2228.4
21
+ * @whatsapp 456180 >= 2.2230.8
20
22
  */
21
23
  export declare function setPin(chat: ChatModel, pin: boolean): Promise<void>;
@@ -15,6 +15,7 @@
15
15
  */
16
16
  /** @whatsapp 93650
17
17
  * @whatsapp 193650 >= 2.2222.8
18
+ * @whatsapp 985947 >= 2.2228.4
18
19
  */
19
20
  export declare function typeAttributeFromProtobuf(protoMessage: {
20
21
  [key: string]: any;
@@ -0,0 +1,19 @@
1
+ /*!
2
+ * Copyright 2022 WPPConnect Team
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * @whatsapp 990553
18
+ */
19
+ export declare function updateCartEnabled(enabled: boolean): Promise<void>;
@@ -14,6 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './collections';
17
+ export * as contants from './contants';
17
18
  export * as enums from './enums';
18
19
  export { _moduleIdMap } from './exportModule';
19
20
  export * as functions from './functions';
@@ -16,6 +16,7 @@
16
16
  import { ChatModel } from '..';
17
17
  /** @whatsapp 371
18
18
  * @whatsapp 800371 >= 2.2222.8
19
+ * @whatsapp 366517 >= 2.2228.4
19
20
  */
20
21
  export declare namespace ChatPresence {
21
22
  function markComposing(chat: ChatModel): Promise<void>;
@@ -18,6 +18,7 @@ declare class LocaleClass {
18
18
  /** @whatsapp 14296
19
19
  * @whatsapp 43725 >= 2.2204.13
20
20
  * @whatsapp 914296 >= 2.2222.8
21
+ * @whatsapp 568064 >= 2.2230.8
21
22
  */
22
23
  export declare const Locale: LocaleClass;
23
24
  export {};
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright 2022 WPPConnect Team
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * @whatsapp 409153 >= 2.2228.14
18
+ */
19
+ export declare class ProductCatalogSession {
20
+ constructor(e: any);
21
+ accidental?: boolean;
22
+ sessionId?: number | string;
23
+ isAccidental(): boolean;
24
+ initSessionId(): number;
25
+ newSessionId(): number;
26
+ toString(): string;
27
+ }
@@ -33,6 +33,7 @@ export * from './MediaUtils';
33
33
  export * from './MsgKey';
34
34
  export * from './MsgLoadState';
35
35
  export * from './OpaqueData';
36
+ export * from './ProductCatalogSession';
36
37
  export * from './Socket';
37
38
  export * from './Stream';
38
39
  export * from './UserPrefs';
@@ -39,6 +39,8 @@ export declare interface CatalogModel extends ModelProxy<Props, Session, Derived
39
39
  export declare class CatalogModel extends Model<CatalogCollection> {
40
40
  idClass: typeof Wid;
41
41
  constructor(proterties?: ModelPropertiesContructor<CatalogModel>, options?: ModelOptions);
42
+ productCollection: ProductModel[];
43
+ collections: any;
42
44
  triggerProductUpdate(): any;
43
45
  triggerMsgUpdate(): any;
44
46
  markProductCollectionOld(): any;
@@ -16,10 +16,14 @@
16
16
  import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
17
17
  interface Props {
18
18
  id?: any;
19
+ name?: string;
19
20
  isHidden: boolean;
20
21
  reviewStatus?: any;
22
+ commerceUrl?: any;
23
+ rejectReason?: any;
21
24
  totalItemsCount?: any;
22
25
  afterCursor?: any;
26
+ canAppeal?: any;
23
27
  }
24
28
  interface Session {
25
29
  stale?: any;
@@ -16,9 +16,10 @@
16
16
  import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
17
17
  interface Props {
18
18
  id?: any;
19
- isHidden: boolean;
19
+ isHidden?: boolean;
20
20
  catalogWid?: any;
21
21
  url?: any;
22
+ name?: string;
22
23
  description?: any;
23
24
  availability?: any;
24
25
  reviewStatus?: any;