@jkt48connect-corp/baileys 7.4.5 → 7.4.9

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 (59) hide show
  1. package/WAProto/CompanionReg/CompanionReg.d.ts +6 -0
  2. package/WAProto/CompanionReg/CompanionReg.js +36 -0
  3. package/WAProto/CompanionReg/CompanionReg.proto +1 -0
  4. package/WAProto/E2E/E2E.d.ts +434 -6
  5. package/WAProto/E2E/E2E.js +1427 -2
  6. package/WAProto/E2E/E2E.proto +33 -0
  7. package/WAProto/HistorySync/HistorySync.d.ts +434 -6
  8. package/WAProto/HistorySync/HistorySync.js +1427 -2
  9. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +434 -6
  10. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +1427 -2
  11. package/WAProto/StatusAttributions/StatusAttributions.d.ts +95 -3
  12. package/WAProto/StatusAttributions/StatusAttributions.js +270 -2
  13. package/WAProto/StatusAttributions/StatusAttributions.proto +8 -0
  14. package/WAProto/Web/Web.d.ts +434 -6
  15. package/WAProto/Web/Web.js +1427 -2
  16. package/lib/Defaults/baileys-version.json +1 -1
  17. package/lib/Socket/business.js +3 -3
  18. package/lib/Socket/chats.js +7 -7
  19. package/lib/Socket/groups.js +11 -9
  20. package/lib/Socket/messages-recv.js +12 -11
  21. package/lib/Socket/messages-send.js +981 -983
  22. package/lib/Socket/newsletter.js +3 -3
  23. package/lib/Socket/socket.js +13 -47
  24. package/lib/Socket/usync.js +3 -3
  25. package/lib/Store/make-cache-manager-store.js +9 -17
  26. package/lib/Store/make-in-memory-store.d.ts +2 -2
  27. package/lib/Store/make-in-memory-store.js +5 -5
  28. package/lib/Types/GroupMetadata.d.ts +2 -1
  29. package/lib/Utils/business.js +4 -0
  30. package/lib/Utils/decode-wa-message.js +4 -0
  31. package/lib/Utils/generics.js +10 -9
  32. package/lib/Utils/messages.js +1329 -1326
  33. package/lib/Utils/process-message.js +14 -1
  34. package/lib/index.js +1 -1
  35. package/package.json +5 -6
  36. package/WAProto/Adv/JKT48Connect - Valzyy +0 -0
  37. package/WAProto/Cert/JKT48Connect - Valzyy +0 -0
  38. package/WAProto/ChatLockSettings/JKT48Connect - Valzyy +0 -0
  39. package/WAProto/CompanionReg/JKT48Connect - Valzyy +0 -0
  40. package/WAProto/DeviceCapabilities/JKT48Connect - Valzyy +0 -0
  41. package/WAProto/E2E/JKT48Connect - Valzyy +0 -0
  42. package/WAProto/Ephemeral/JKT48Connect - Valzyy +0 -0
  43. package/WAProto/HistorySync/JKT48Connect - Valzyy +0 -0
  44. package/WAProto/JKT48Connect - Valzyy +0 -0
  45. package/WAProto/MdStorageChatRowOpaqueData/JKT48Connect - Valzyy +0 -0
  46. package/WAProto/MdStorageMsgRowOpaqueData/JKT48Connect - Valzyy +0 -0
  47. package/WAProto/MmsRetry/JKT48Connect - Valzyy +0 -0
  48. package/WAProto/Protocol/JKT48Connect - Valzyy +0 -0
  49. package/WAProto/Reporting/JKT48Connect - Valzyy +0 -0
  50. package/WAProto/ServerSync/JKT48Connect - Valzyy +0 -0
  51. package/WAProto/SignalLocalStorageProtocol/JKT48Connect - Valzyy +0 -0
  52. package/WAProto/SignalWhisperTextProtocol/JKT48Connect - Valzyy +0 -0
  53. package/WAProto/StatusAttributions/JKT48Connect - Valzyy +0 -0
  54. package/WAProto/SyncAction/JKT48Connect - Valzyy +0 -0
  55. package/WAProto/UserPassword/JKT48Connect - Valzyy +0 -0
  56. package/WAProto/VnameCert/JKT48Connect - Valzyy +0 -0
  57. package/WAProto/Wa6/JKT48Connect - Valzyy +0 -0
  58. package/WAProto/Web/JKT48Connect - Valzyy +0 -0
  59. package/lib/JKT48Connect - Valzyy +0 -0
@@ -9124,7 +9124,8 @@ HD_IMAGE_DUAL_UPLOAD = 10,
9124
9124
  STICKER_ANNOTATION = 11,
9125
9125
  MOTION_PHOTO = 12,
9126
9126
  STATUS_LINK_ACTION = 13,
9127
- VIEW_ALL_REPLIES = 14
9127
+ VIEW_ALL_REPLIES = 14,
9128
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
9128
9129
  }
9129
9130
  }
9130
9131
  /** Properties of a BotMetadata. */
@@ -9179,6 +9180,10 @@ botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
9179
9180
  botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
9180
9181
  /** BotMetadata conversationStarterPromptId */
9181
9182
  conversationStarterPromptId?: (string|null);
9183
+ /** BotMetadata botResponseId */
9184
+ botResponseId?: (string|null);
9185
+ /** BotMetadata verificationMetadata */
9186
+ verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
9182
9187
  }
9183
9188
  /** Represents a BotMetadata. */
9184
9189
  class BotMetadata implements IBotMetadata {
@@ -9237,6 +9242,10 @@ public botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
9237
9242
  public botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
9238
9243
  /** BotMetadata conversationStarterPromptId. */
9239
9244
  public conversationStarterPromptId?: (string|null);
9245
+ /** BotMetadata botResponseId. */
9246
+ public botResponseId?: (string|null);
9247
+ /** BotMetadata verificationMetadata. */
9248
+ public verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
9240
9249
  /** BotMetadata _avatarMetadata. */
9241
9250
  public _avatarMetadata?: "avatarMetadata";
9242
9251
  /** BotMetadata _personaId. */
@@ -9287,6 +9296,10 @@ public _botQuotaMetadata?: "botQuotaMetadata";
9287
9296
  public _botAgeCollectionMetadata?: "botAgeCollectionMetadata";
9288
9297
  /** BotMetadata _conversationStarterPromptId. */
9289
9298
  public _conversationStarterPromptId?: "conversationStarterPromptId";
9299
+ /** BotMetadata _botResponseId. */
9300
+ public _botResponseId?: "botResponseId";
9301
+ /** BotMetadata _verificationMetadata. */
9302
+ public _verificationMetadata?: "verificationMetadata";
9290
9303
  /**
9291
9304
  * Creates a new BotMetadata instance using the specified properties.
9292
9305
  * @param [properties] Properties to set
@@ -10142,7 +10155,8 @@ RICH_RESPONSE_LATEX_INLINE = 31,
10142
10155
  QUERY_PLAN = 32,
10143
10156
  PROACTIVE_MESSAGE = 33,
10144
10157
  RICH_RESPONSE_UNIFIED_RESPONSE = 34,
10145
- PROMOTION_MESSAGE = 35
10158
+ PROMOTION_MESSAGE = 35,
10159
+ SIMPLIFIED_PROFILE_PAGE = 36
10146
10160
  }
10147
10161
  }
10148
10162
  /** Properties of a BotProgressIndicatorMetadata. */
@@ -11570,6 +11584,8 @@ messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
11570
11584
  submessages?: (E2E.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
11571
11585
  /** AIRichResponseMessage unifiedResponse */
11572
11586
  unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
11587
+ /** AIRichResponseMessage contextInfo */
11588
+ contextInfo?: (E2E.IContextInfo|null);
11573
11589
  }
11574
11590
  /** Represents a AIRichResponseMessage. */
11575
11591
  class AIRichResponseMessage implements IAIRichResponseMessage {
@@ -11584,10 +11600,14 @@ public messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
11584
11600
  public submessages: E2E.AIRichResponseMessage.IAIRichResponseSubMessage[];
11585
11601
  /** AIRichResponseMessage unifiedResponse. */
11586
11602
  public unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
11603
+ /** AIRichResponseMessage contextInfo. */
11604
+ public contextInfo?: (E2E.IContextInfo|null);
11587
11605
  /** AIRichResponseMessage _messageType. */
11588
11606
  public _messageType?: "messageType";
11589
11607
  /** AIRichResponseMessage _unifiedResponse. */
11590
11608
  public _unifiedResponse?: "unifiedResponse";
11609
+ /** AIRichResponseMessage _contextInfo. */
11610
+ public _contextInfo?: "contextInfo";
11591
11611
  /**
11592
11612
  * Creates a new AIRichResponseMessage instance using the specified properties.
11593
11613
  * @param [properties] Properties to set
@@ -13135,6 +13155,8 @@ AI_RICH_RESPONSE_CONTENT_ITEMS = 9
13135
13155
  interface IAIRichResponseTableMetadata {
13136
13156
  /** AIRichResponseTableMetadata rows */
13137
13157
  rows?: (E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
13158
+ /** AIRichResponseTableMetadata title */
13159
+ title?: (string|null);
13138
13160
  }
13139
13161
  /** Represents a AIRichResponseTableMetadata. */
13140
13162
  class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
@@ -13145,6 +13167,10 @@ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
13145
13167
  constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata);
13146
13168
  /** AIRichResponseTableMetadata rows. */
13147
13169
  public rows: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
13170
+ /** AIRichResponseTableMetadata title. */
13171
+ public title?: (string|null);
13172
+ /** AIRichResponseTableMetadata _title. */
13173
+ public _title?: "title";
13148
13174
  /**
13149
13175
  * Creates a new AIRichResponseTableMetadata instance using the specified properties.
13150
13176
  * @param [properties] Properties to set
@@ -13388,6 +13414,196 @@ public toJSON(): { [k: string]: any };
13388
13414
  public static getTypeUrl(typeUrlPrefix?: string): string;
13389
13415
  }
13390
13416
  }
13417
+ /** Properties of a BotSignatureVerificationUseCaseProof. */
13418
+ interface IBotSignatureVerificationUseCaseProof {
13419
+ /** BotSignatureVerificationUseCaseProof version */
13420
+ version?: (number|null);
13421
+ /** BotSignatureVerificationUseCaseProof useCase */
13422
+ useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
13423
+ /** BotSignatureVerificationUseCaseProof signature */
13424
+ signature?: (Uint8Array|null);
13425
+ /** BotSignatureVerificationUseCaseProof certificateChain */
13426
+ certificateChain?: (Uint8Array|null);
13427
+ }
13428
+ /** Represents a BotSignatureVerificationUseCaseProof. */
13429
+ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
13430
+ /**
13431
+ * Constructs a new BotSignatureVerificationUseCaseProof.
13432
+ * @param [properties] Properties to set
13433
+ */
13434
+ constructor(properties?: E2E.IBotSignatureVerificationUseCaseProof);
13435
+ /** BotSignatureVerificationUseCaseProof version. */
13436
+ public version?: (number|null);
13437
+ /** BotSignatureVerificationUseCaseProof useCase. */
13438
+ public useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
13439
+ /** BotSignatureVerificationUseCaseProof signature. */
13440
+ public signature?: (Uint8Array|null);
13441
+ /** BotSignatureVerificationUseCaseProof certificateChain. */
13442
+ public certificateChain?: (Uint8Array|null);
13443
+ /** BotSignatureVerificationUseCaseProof _version. */
13444
+ public _version?: "version";
13445
+ /** BotSignatureVerificationUseCaseProof _useCase. */
13446
+ public _useCase?: "useCase";
13447
+ /** BotSignatureVerificationUseCaseProof _signature. */
13448
+ public _signature?: "signature";
13449
+ /** BotSignatureVerificationUseCaseProof _certificateChain. */
13450
+ public _certificateChain?: "certificateChain";
13451
+ /**
13452
+ * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
13453
+ * @param [properties] Properties to set
13454
+ * @returns BotSignatureVerificationUseCaseProof instance
13455
+ */
13456
+ public static create(properties?: E2E.IBotSignatureVerificationUseCaseProof): E2E.BotSignatureVerificationUseCaseProof;
13457
+ /**
13458
+ * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
13459
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
13460
+ * @param [writer] Writer to encode to
13461
+ * @returns Writer
13462
+ */
13463
+ public static encode(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
13464
+ /**
13465
+ * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
13466
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
13467
+ * @param [writer] Writer to encode to
13468
+ * @returns Writer
13469
+ */
13470
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
13471
+ /**
13472
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
13473
+ * @param reader Reader or buffer to decode from
13474
+ * @param [length] Message length if known beforehand
13475
+ * @returns BotSignatureVerificationUseCaseProof
13476
+ * @throws {Error} If the payload is not a reader or valid buffer
13477
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13478
+ */
13479
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationUseCaseProof;
13480
+ /**
13481
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
13482
+ * @param reader Reader or buffer to decode from
13483
+ * @returns BotSignatureVerificationUseCaseProof
13484
+ * @throws {Error} If the payload is not a reader or valid buffer
13485
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13486
+ */
13487
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationUseCaseProof;
13488
+ /**
13489
+ * Verifies a BotSignatureVerificationUseCaseProof message.
13490
+ * @param message Plain object to verify
13491
+ * @returns `null` if valid, otherwise the reason why it is not
13492
+ */
13493
+ public static verify(message: { [k: string]: any }): (string|null);
13494
+ /**
13495
+ * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
13496
+ * @param object Plain object
13497
+ * @returns BotSignatureVerificationUseCaseProof
13498
+ */
13499
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationUseCaseProof;
13500
+ /**
13501
+ * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
13502
+ * @param message BotSignatureVerificationUseCaseProof
13503
+ * @param [options] Conversion options
13504
+ * @returns Plain object
13505
+ */
13506
+ public static toObject(message: E2E.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
13507
+ /**
13508
+ * Converts this BotSignatureVerificationUseCaseProof to JSON.
13509
+ * @returns JSON object
13510
+ */
13511
+ public toJSON(): { [k: string]: any };
13512
+ /**
13513
+ * Gets the default type url for BotSignatureVerificationUseCaseProof
13514
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13515
+ * @returns The default type url
13516
+ */
13517
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13518
+ }
13519
+ namespace BotSignatureVerificationUseCaseProof {
13520
+ /** BotSignatureUseCase enum. */
13521
+ enum BotSignatureUseCase {
13522
+ WA_BOT_MSG = 0
13523
+ }
13524
+ }
13525
+ /** Properties of a BotSignatureVerificationMetadata. */
13526
+ interface IBotSignatureVerificationMetadata {
13527
+ /** BotSignatureVerificationMetadata proofs */
13528
+ proofs?: (E2E.IBotSignatureVerificationUseCaseProof[]|null);
13529
+ }
13530
+ /** Represents a BotSignatureVerificationMetadata. */
13531
+ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
13532
+ /**
13533
+ * Constructs a new BotSignatureVerificationMetadata.
13534
+ * @param [properties] Properties to set
13535
+ */
13536
+ constructor(properties?: E2E.IBotSignatureVerificationMetadata);
13537
+ /** BotSignatureVerificationMetadata proofs. */
13538
+ public proofs: E2E.IBotSignatureVerificationUseCaseProof[];
13539
+ /**
13540
+ * Creates a new BotSignatureVerificationMetadata instance using the specified properties.
13541
+ * @param [properties] Properties to set
13542
+ * @returns BotSignatureVerificationMetadata instance
13543
+ */
13544
+ public static create(properties?: E2E.IBotSignatureVerificationMetadata): E2E.BotSignatureVerificationMetadata;
13545
+ /**
13546
+ * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
13547
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
13548
+ * @param [writer] Writer to encode to
13549
+ * @returns Writer
13550
+ */
13551
+ public static encode(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13552
+ /**
13553
+ * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
13554
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
13555
+ * @param [writer] Writer to encode to
13556
+ * @returns Writer
13557
+ */
13558
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13559
+ /**
13560
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
13561
+ * @param reader Reader or buffer to decode from
13562
+ * @param [length] Message length if known beforehand
13563
+ * @returns BotSignatureVerificationMetadata
13564
+ * @throws {Error} If the payload is not a reader or valid buffer
13565
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13566
+ */
13567
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationMetadata;
13568
+ /**
13569
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
13570
+ * @param reader Reader or buffer to decode from
13571
+ * @returns BotSignatureVerificationMetadata
13572
+ * @throws {Error} If the payload is not a reader or valid buffer
13573
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13574
+ */
13575
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationMetadata;
13576
+ /**
13577
+ * Verifies a BotSignatureVerificationMetadata message.
13578
+ * @param message Plain object to verify
13579
+ * @returns `null` if valid, otherwise the reason why it is not
13580
+ */
13581
+ public static verify(message: { [k: string]: any }): (string|null);
13582
+ /**
13583
+ * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
13584
+ * @param object Plain object
13585
+ * @returns BotSignatureVerificationMetadata
13586
+ */
13587
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationMetadata;
13588
+ /**
13589
+ * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
13590
+ * @param message BotSignatureVerificationMetadata
13591
+ * @param [options] Conversion options
13592
+ * @returns Plain object
13593
+ */
13594
+ public static toObject(message: E2E.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13595
+ /**
13596
+ * Converts this BotSignatureVerificationMetadata to JSON.
13597
+ * @returns JSON object
13598
+ */
13599
+ public toJSON(): { [k: string]: any };
13600
+ /**
13601
+ * Gets the default type url for BotSignatureVerificationMetadata
13602
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13603
+ * @returns The default type url
13604
+ */
13605
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13606
+ }
13391
13607
  /** Properties of a BotMemoryFact. */
13392
13608
  interface IBotMemoryFact {
13393
13609
  /** BotMemoryFact fact */
@@ -23080,6 +23296,10 @@ paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
23080
23296
  urlMetadata?: (E2E.Message.IURLMetadata|null);
23081
23297
  /** LinkPreviewMetadata fbExperimentId */
23082
23298
  fbExperimentId?: (number|null);
23299
+ /** LinkPreviewMetadata linkMediaDuration */
23300
+ linkMediaDuration?: (number|null);
23301
+ /** LinkPreviewMetadata socialMediaPostType */
23302
+ socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
23083
23303
  }
23084
23304
  /** Represents a LinkPreviewMetadata. */
23085
23305
  class LinkPreviewMetadata implements ILinkPreviewMetadata {
@@ -23094,12 +23314,20 @@ public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
23094
23314
  public urlMetadata?: (E2E.Message.IURLMetadata|null);
23095
23315
  /** LinkPreviewMetadata fbExperimentId. */
23096
23316
  public fbExperimentId?: (number|null);
23317
+ /** LinkPreviewMetadata linkMediaDuration. */
23318
+ public linkMediaDuration?: (number|null);
23319
+ /** LinkPreviewMetadata socialMediaPostType. */
23320
+ public socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
23097
23321
  /** LinkPreviewMetadata _paymentLinkMetadata. */
23098
23322
  public _paymentLinkMetadata?: "paymentLinkMetadata";
23099
23323
  /** LinkPreviewMetadata _urlMetadata. */
23100
23324
  public _urlMetadata?: "urlMetadata";
23101
23325
  /** LinkPreviewMetadata _fbExperimentId. */
23102
23326
  public _fbExperimentId?: "fbExperimentId";
23327
+ /** LinkPreviewMetadata _linkMediaDuration. */
23328
+ public _linkMediaDuration?: "linkMediaDuration";
23329
+ /** LinkPreviewMetadata _socialMediaPostType. */
23330
+ public _socialMediaPostType?: "socialMediaPostType";
23103
23331
  /**
23104
23332
  * Creates a new LinkPreviewMetadata instance using the specified properties.
23105
23333
  * @param [properties] Properties to set
@@ -23168,6 +23396,17 @@ public toJSON(): { [k: string]: any };
23168
23396
  */
23169
23397
  public static getTypeUrl(typeUrlPrefix?: string): string;
23170
23398
  }
23399
+ namespace LinkPreviewMetadata {
23400
+ /** SocialMediaPostType enum. */
23401
+ enum SocialMediaPostType {
23402
+ NONE = 0,
23403
+ REEL = 1,
23404
+ LIVE_VIDEO = 2,
23405
+ LONG_VIDEO = 3,
23406
+ SINGLE_IMAGE = 4,
23407
+ CAROUSEL = 5
23408
+ }
23409
+ }
23171
23410
  /** Properties of a ListMessage. */
23172
23411
  interface IListMessage {
23173
23412
  /** ListMessage title */
@@ -26288,6 +26527,8 @@ fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestRe
26288
26527
  companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
26289
26528
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
26290
26529
  syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
26530
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
26531
+ companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
26291
26532
  }
26292
26533
  /** Represents a PeerDataOperationResult. */
26293
26534
  class PeerDataOperationResult implements IPeerDataOperationResult {
@@ -26312,6 +26553,8 @@ public fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRe
26312
26553
  public companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
26313
26554
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
26314
26555
  public syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
26556
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
26557
+ public companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
26315
26558
  /** PeerDataOperationResult _mediaUploadResult. */
26316
26559
  public _mediaUploadResult?: "mediaUploadResult";
26317
26560
  /** PeerDataOperationResult _stickerMessage. */
@@ -26328,6 +26571,8 @@ public _fullHistorySyncOnDemandRequestResponse?: "fullHistorySyncOnDemandRequest
26328
26571
  public _companionMetaNonceFetchRequestResponse?: "companionMetaNonceFetchRequestResponse";
26329
26572
  /** PeerDataOperationResult _syncdSnapshotFatalRecoveryResponse. */
26330
26573
  public _syncdSnapshotFatalRecoveryResponse?: "syncdSnapshotFatalRecoveryResponse";
26574
+ /** PeerDataOperationResult _companionCanonicalUserNonceFetchRequestResponse. */
26575
+ public _companionCanonicalUserNonceFetchRequestResponse?: "companionCanonicalUserNonceFetchRequestResponse";
26331
26576
  /**
26332
26577
  * Creates a new PeerDataOperationResult instance using the specified properties.
26333
26578
  * @param [properties] Properties to set
@@ -26397,6 +26642,90 @@ public toJSON(): { [k: string]: any };
26397
26642
  public static getTypeUrl(typeUrlPrefix?: string): string;
26398
26643
  }
26399
26644
  namespace PeerDataOperationResult {
26645
+ /** Properties of a CompanionCanonicalUserNonceFetchResponse. */
26646
+ interface ICompanionCanonicalUserNonceFetchResponse {
26647
+ /** CompanionCanonicalUserNonceFetchResponse nonce */
26648
+ nonce?: (string|null);
26649
+ }
26650
+ /** Represents a CompanionCanonicalUserNonceFetchResponse. */
26651
+ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
26652
+ /**
26653
+ * Constructs a new CompanionCanonicalUserNonceFetchResponse.
26654
+ * @param [properties] Properties to set
26655
+ */
26656
+ constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
26657
+ /** CompanionCanonicalUserNonceFetchResponse nonce. */
26658
+ public nonce?: (string|null);
26659
+ /** CompanionCanonicalUserNonceFetchResponse _nonce. */
26660
+ public _nonce?: "nonce";
26661
+ /**
26662
+ * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
26663
+ * @param [properties] Properties to set
26664
+ * @returns CompanionCanonicalUserNonceFetchResponse instance
26665
+ */
26666
+ public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
26667
+ /**
26668
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
26669
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
26670
+ * @param [writer] Writer to encode to
26671
+ * @returns Writer
26672
+ */
26673
+ public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26674
+ /**
26675
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
26676
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
26677
+ * @param [writer] Writer to encode to
26678
+ * @returns Writer
26679
+ */
26680
+ public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26681
+ /**
26682
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
26683
+ * @param reader Reader or buffer to decode from
26684
+ * @param [length] Message length if known beforehand
26685
+ * @returns CompanionCanonicalUserNonceFetchResponse
26686
+ * @throws {Error} If the payload is not a reader or valid buffer
26687
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26688
+ */
26689
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
26690
+ /**
26691
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
26692
+ * @param reader Reader or buffer to decode from
26693
+ * @returns CompanionCanonicalUserNonceFetchResponse
26694
+ * @throws {Error} If the payload is not a reader or valid buffer
26695
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26696
+ */
26697
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
26698
+ /**
26699
+ * Verifies a CompanionCanonicalUserNonceFetchResponse message.
26700
+ * @param message Plain object to verify
26701
+ * @returns `null` if valid, otherwise the reason why it is not
26702
+ */
26703
+ public static verify(message: { [k: string]: any }): (string|null);
26704
+ /**
26705
+ * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
26706
+ * @param object Plain object
26707
+ * @returns CompanionCanonicalUserNonceFetchResponse
26708
+ */
26709
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
26710
+ /**
26711
+ * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
26712
+ * @param message CompanionCanonicalUserNonceFetchResponse
26713
+ * @param [options] Conversion options
26714
+ * @returns Plain object
26715
+ */
26716
+ public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26717
+ /**
26718
+ * Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
26719
+ * @returns JSON object
26720
+ */
26721
+ public toJSON(): { [k: string]: any };
26722
+ /**
26723
+ * Gets the default type url for CompanionCanonicalUserNonceFetchResponse
26724
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26725
+ * @returns The default type url
26726
+ */
26727
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26728
+ }
26400
26729
  /** Properties of a CompanionMetaNonceFetchResponse. */
26401
26730
  interface ICompanionMetaNonceFetchResponse {
26402
26731
  /** CompanionMetaNonceFetchResponse nonce */
@@ -27099,7 +27428,8 @@ PLACEHOLDER_MESSAGE_RESEND = 4,
27099
27428
  WAFFLE_LINKING_NONCE_FETCH = 5,
27100
27429
  FULL_HISTORY_SYNC_ON_DEMAND = 6,
27101
27430
  COMPANION_META_NONCE_FETCH = 7,
27102
- COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8
27431
+ COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
27432
+ COMPANION_CANONICAL_USER_NONCE_FETCH = 9
27103
27433
  }
27104
27434
  /** Properties of a PinInChatMessage. */
27105
27435
  interface IPinInChatMessage {
@@ -31905,6 +32235,8 @@ statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
31905
32235
  externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
31906
32236
  /** StatusAttribution music */
31907
32237
  music?: (StatusAttributions.StatusAttribution.IMusic|null);
32238
+ /** StatusAttribution groupStatus */
32239
+ groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
31908
32240
  }
31909
32241
  /** Represents a StatusAttribution. */
31910
32242
  class StatusAttribution implements IStatusAttribution {
@@ -31923,12 +32255,14 @@ public statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null
31923
32255
  public externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
31924
32256
  /** StatusAttribution music. */
31925
32257
  public music?: (StatusAttributions.StatusAttribution.IMusic|null);
32258
+ /** StatusAttribution groupStatus. */
32259
+ public groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
31926
32260
  /** StatusAttribution _type. */
31927
32261
  public _type?: "type";
31928
32262
  /** StatusAttribution _actionUrl. */
31929
32263
  public _actionUrl?: "actionUrl";
31930
32264
  /** StatusAttribution attributionData. */
31931
- public attributionData?: ("statusReshare"|"externalShare"|"music");
32265
+ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
31932
32266
  /**
31933
32267
  * Creates a new StatusAttribution instance using the specified properties.
31934
32268
  * @param [properties] Properties to set
@@ -32107,9 +32441,95 @@ UNKNOWN = 0,
32107
32441
  INSTAGRAM = 1,
32108
32442
  FACEBOOK = 2,
32109
32443
  MESSENGER = 3,
32110
- SPOTIFY = 4
32444
+ SPOTIFY = 4,
32445
+ YOUTUBE = 5,
32446
+ PINTEREST = 6
32111
32447
  }
32112
32448
  }
32449
+ /** Properties of a GroupStatus. */
32450
+ interface IGroupStatus {
32451
+ /** GroupStatus authorJid */
32452
+ authorJid?: (string|null);
32453
+ }
32454
+ /** Represents a GroupStatus. */
32455
+ class GroupStatus implements IGroupStatus {
32456
+ /**
32457
+ * Constructs a new GroupStatus.
32458
+ * @param [properties] Properties to set
32459
+ */
32460
+ constructor(properties?: StatusAttributions.StatusAttribution.IGroupStatus);
32461
+ /** GroupStatus authorJid. */
32462
+ public authorJid?: (string|null);
32463
+ /** GroupStatus _authorJid. */
32464
+ public _authorJid?: "authorJid";
32465
+ /**
32466
+ * Creates a new GroupStatus instance using the specified properties.
32467
+ * @param [properties] Properties to set
32468
+ * @returns GroupStatus instance
32469
+ */
32470
+ public static create(properties?: StatusAttributions.StatusAttribution.IGroupStatus): StatusAttributions.StatusAttribution.GroupStatus;
32471
+ /**
32472
+ * Encodes the specified GroupStatus message. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
32473
+ * @param message GroupStatus message or plain object to encode
32474
+ * @param [writer] Writer to encode to
32475
+ * @returns Writer
32476
+ */
32477
+ public static encode(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
32478
+ /**
32479
+ * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
32480
+ * @param message GroupStatus message or plain object to encode
32481
+ * @param [writer] Writer to encode to
32482
+ * @returns Writer
32483
+ */
32484
+ public static encodeDelimited(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
32485
+ /**
32486
+ * Decodes a GroupStatus message from the specified reader or buffer.
32487
+ * @param reader Reader or buffer to decode from
32488
+ * @param [length] Message length if known beforehand
32489
+ * @returns GroupStatus
32490
+ * @throws {Error} If the payload is not a reader or valid buffer
32491
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32492
+ */
32493
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatusAttributions.StatusAttribution.GroupStatus;
32494
+ /**
32495
+ * Decodes a GroupStatus message from the specified reader or buffer, length delimited.
32496
+ * @param reader Reader or buffer to decode from
32497
+ * @returns GroupStatus
32498
+ * @throws {Error} If the payload is not a reader or valid buffer
32499
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32500
+ */
32501
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatusAttributions.StatusAttribution.GroupStatus;
32502
+ /**
32503
+ * Verifies a GroupStatus message.
32504
+ * @param message Plain object to verify
32505
+ * @returns `null` if valid, otherwise the reason why it is not
32506
+ */
32507
+ public static verify(message: { [k: string]: any }): (string|null);
32508
+ /**
32509
+ * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types.
32510
+ * @param object Plain object
32511
+ * @returns GroupStatus
32512
+ */
32513
+ public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.GroupStatus;
32514
+ /**
32515
+ * Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
32516
+ * @param message GroupStatus
32517
+ * @param [options] Conversion options
32518
+ * @returns Plain object
32519
+ */
32520
+ public static toObject(message: StatusAttributions.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
32521
+ /**
32522
+ * Converts this GroupStatus to JSON.
32523
+ * @returns JSON object
32524
+ */
32525
+ public toJSON(): { [k: string]: any };
32526
+ /**
32527
+ * Gets the default type url for GroupStatus
32528
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32529
+ * @returns The default type url
32530
+ */
32531
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32532
+ }
32113
32533
  /** Properties of a Music. */
32114
32534
  interface IMusic {
32115
32535
  /** Music authorName */
@@ -32429,7 +32849,9 @@ CHANNEL_RESHARE = 3
32429
32849
  enum Type {
32430
32850
  RESHARE = 0,
32431
32851
  EXTERNAL_SHARE = 1,
32432
- MUSIC = 2
32852
+ MUSIC = 2,
32853
+ STATUS_MENTION = 3,
32854
+ GROUP_STATUS = 4
32433
32855
  }
32434
32856
  }
32435
32857
  }
@@ -32441,6 +32863,8 @@ interface IClientPairingProps {
32441
32863
  isChatDbLidMigrated?: (boolean|null);
32442
32864
  /** ClientPairingProps isSyncdPureLidSession */
32443
32865
  isSyncdPureLidSession?: (boolean|null);
32866
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
32867
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
32444
32868
  }
32445
32869
  /** Represents a ClientPairingProps. */
32446
32870
  class ClientPairingProps implements IClientPairingProps {
@@ -32453,10 +32877,14 @@ constructor(properties?: CompanionReg.IClientPairingProps);
32453
32877
  public isChatDbLidMigrated?: (boolean|null);
32454
32878
  /** ClientPairingProps isSyncdPureLidSession. */
32455
32879
  public isSyncdPureLidSession?: (boolean|null);
32880
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
32881
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
32456
32882
  /** ClientPairingProps _isChatDbLidMigrated. */
32457
32883
  public _isChatDbLidMigrated?: "isChatDbLidMigrated";
32458
32884
  /** ClientPairingProps _isSyncdPureLidSession. */
32459
32885
  public _isSyncdPureLidSession?: "isSyncdPureLidSession";
32886
+ /** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
32887
+ public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
32460
32888
  /**
32461
32889
  * Creates a new ClientPairingProps instance using the specified properties.
32462
32890
  * @param [properties] Properties to set