@oxidezap/whatsapp-rust-bridge 0.9.0 → 0.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.
@@ -298,6 +298,43 @@ export namespace proto {
298
298
  public toJSON(): { [k: string]: any };
299
299
  }
300
300
 
301
+ interface IAIProvenance {
302
+ c2PaMetadata?: (proto.AIProvenance.IMetadata|null);
303
+ iptcMetadata?: (proto.AIProvenance.IMetadata|null);
304
+ }
305
+
306
+ class AIProvenance implements IAIProvenance {
307
+ constructor(p?: IAIProvenance);
308
+ public c2PaMetadata?: (proto.AIProvenance.IMetadata|null);
309
+ public iptcMetadata?: (proto.AIProvenance.IMetadata|null);
310
+ public static create(p?: IAIProvenance): AIProvenance;
311
+ public static fromObject(d: { [k: string]: any }): AIProvenance;
312
+ public static toObject(m: AIProvenance, o?: $protobuf.IConversionOptions): { [k: string]: any };
313
+ public static encode(m: IAIProvenance, w?: $protobuf.Writer): $protobuf.Writer;
314
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AIProvenance;
315
+ public toJSON(): { [k: string]: any };
316
+ }
317
+
318
+ namespace AIProvenance {
319
+
320
+ interface IMetadata {
321
+ createdWithGenAi?: (boolean|null);
322
+ editedWithGenAi?: (boolean|null);
323
+ }
324
+
325
+ class Metadata implements IMetadata {
326
+ constructor(p?: IMetadata);
327
+ public createdWithGenAi?: (boolean|null);
328
+ public editedWithGenAi?: (boolean|null);
329
+ public static create(p?: IMetadata): Metadata;
330
+ public static fromObject(d: { [k: string]: any }): Metadata;
331
+ public static toObject(m: Metadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
332
+ public static encode(m: IMetadata, w?: $protobuf.Writer): $protobuf.Writer;
333
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): Metadata;
334
+ public toJSON(): { [k: string]: any };
335
+ }
336
+ }
337
+
301
338
  interface IAIQueryFanout {
302
339
  messageKey?: (proto.IMessageKey|null);
303
340
  message?: (proto.IMessage|null);
@@ -1014,11 +1051,13 @@ export namespace proto {
1014
1051
 
1015
1052
  interface IBotAgentDeepLinkMetadata {
1016
1053
  token?: (string|null);
1054
+ clientPublicKey?: (Uint8Array|null);
1017
1055
  }
1018
1056
 
1019
1057
  class BotAgentDeepLinkMetadata implements IBotAgentDeepLinkMetadata {
1020
1058
  constructor(p?: IBotAgentDeepLinkMetadata);
1021
1059
  public token?: (string|null);
1060
+ public clientPublicKey?: (Uint8Array|null);
1022
1061
  public static create(p?: IBotAgentDeepLinkMetadata): BotAgentDeepLinkMetadata;
1023
1062
  public static fromObject(d: { [k: string]: any }): BotAgentDeepLinkMetadata;
1024
1063
  public static toObject(m: BotAgentDeepLinkMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -1126,6 +1165,10 @@ export namespace proto {
1126
1165
  UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63,
1127
1166
  AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64,
1128
1167
  AI_SUBSCRIPTION_METERING_ENABLED = 65,
1168
+ RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66,
1169
+ AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67,
1170
+ AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68,
1171
+ AI_RICH_RESPONSE_REMINDERS_ENABLED = 69,
1129
1172
  }
1130
1173
  }
1131
1174
 
@@ -1434,6 +1477,21 @@ export namespace proto {
1434
1477
  public toJSON(): { [k: string]: any };
1435
1478
  }
1436
1479
 
1480
+ interface IBotHistoryShareMetadata {
1481
+ participantsMetadata?: proto.IBotGroupParticipantMetadata[];
1482
+ }
1483
+
1484
+ class BotHistoryShareMetadata implements IBotHistoryShareMetadata {
1485
+ constructor(p?: IBotHistoryShareMetadata);
1486
+ public participantsMetadata?: proto.IBotGroupParticipantMetadata[];
1487
+ public static create(p?: IBotHistoryShareMetadata): BotHistoryShareMetadata;
1488
+ public static fromObject(d: { [k: string]: any }): BotHistoryShareMetadata;
1489
+ public static toObject(m: BotHistoryShareMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
1490
+ public static encode(m: IBotHistoryShareMetadata, w?: $protobuf.Writer): $protobuf.Writer;
1491
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotHistoryShareMetadata;
1492
+ public toJSON(): { [k: string]: any };
1493
+ }
1494
+
1437
1495
  interface IBotImagineMetadata {
1438
1496
  imagineType?: (proto.BotImagineMetadata.ImagineType|null);
1439
1497
  shortPrompt?: (string|null);
@@ -1713,6 +1771,7 @@ export namespace proto {
1713
1771
  resolvedToolCallMetadata?: (proto.IBotResolvedToolCallMetadata|null);
1714
1772
  subscriptionUpsellMetadata?: (proto.IAISubscriptionUpsellMetadata|null);
1715
1773
  pttPromptMetadata?: (proto.IBotPttPromptMetadata|null);
1774
+ botHistoryShareMetadata?: (proto.IBotHistoryShareMetadata|null);
1716
1775
  internalMetadata?: (Uint8Array|null);
1717
1776
  }
1718
1777
 
@@ -1759,6 +1818,7 @@ export namespace proto {
1759
1818
  public resolvedToolCallMetadata?: (proto.IBotResolvedToolCallMetadata|null);
1760
1819
  public subscriptionUpsellMetadata?: (proto.IAISubscriptionUpsellMetadata|null);
1761
1820
  public pttPromptMetadata?: (proto.IBotPttPromptMetadata|null);
1821
+ public botHistoryShareMetadata?: (proto.IBotHistoryShareMetadata|null);
1762
1822
  public internalMetadata?: (Uint8Array|null);
1763
1823
  public static create(p?: IBotMetadata): BotMetadata;
1764
1824
  public static fromObject(d: { [k: string]: any }): BotMetadata;
@@ -1817,6 +1877,7 @@ export namespace proto {
1817
1877
  GROUP_MEMBER = 54,
1818
1878
  CHATLIST_SEARCH = 55,
1819
1879
  NEW_CHAT_LIST = 56,
1880
+ CONTACTS_TAB = 57,
1820
1881
  }
1821
1882
 
1822
1883
  interface IBotMetricsMetadata {
@@ -2369,6 +2430,7 @@ export namespace proto {
2369
2430
  useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
2370
2431
  signature?: (Uint8Array|null);
2371
2432
  certificateChain?: Uint8Array[];
2433
+ certificateChainSki?: proto.BotSignatureVerificationUseCaseProof.ICertificateSKI[];
2372
2434
  }
2373
2435
 
2374
2436
  class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
@@ -2377,6 +2439,7 @@ export namespace proto {
2377
2439
  public useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
2378
2440
  public signature?: (Uint8Array|null);
2379
2441
  public certificateChain?: Uint8Array[];
2442
+ public certificateChainSki?: proto.BotSignatureVerificationUseCaseProof.ICertificateSKI[];
2380
2443
  public static create(p?: IBotSignatureVerificationUseCaseProof): BotSignatureVerificationUseCaseProof;
2381
2444
  public static fromObject(d: { [k: string]: any }): BotSignatureVerificationUseCaseProof;
2382
2445
  public static toObject(m: BotSignatureVerificationUseCaseProof, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -2392,6 +2455,25 @@ export namespace proto {
2392
2455
  WA_BOT_MSG = 1,
2393
2456
  WA_TEE_BOT_MSG = 2,
2394
2457
  P2P_PILLS = 3,
2458
+ WA_WAFFLE = 4,
2459
+ WA_FEATURE_PKI = 5,
2460
+ }
2461
+
2462
+ interface ICertificateSKI {
2463
+ useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
2464
+ ski?: (Uint8Array|null);
2465
+ }
2466
+
2467
+ class CertificateSKI implements ICertificateSKI {
2468
+ constructor(p?: ICertificateSKI);
2469
+ public useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
2470
+ public ski?: (Uint8Array|null);
2471
+ public static create(p?: ICertificateSKI): CertificateSKI;
2472
+ public static fromObject(d: { [k: string]: any }): CertificateSKI;
2473
+ public static toObject(m: CertificateSKI, o?: $protobuf.IConversionOptions): { [k: string]: any };
2474
+ public static encode(m: ICertificateSKI, w?: $protobuf.Writer): $protobuf.Writer;
2475
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): CertificateSKI;
2476
+ public toJSON(): { [k: string]: any };
2395
2477
  }
2396
2478
  }
2397
2479
 
@@ -3197,6 +3279,7 @@ export namespace proto {
3197
3279
  SMART_GLASSES = 35,
3198
3280
  BLUE_VR = 36,
3199
3281
  AR_WRIST = 37,
3282
+ WAIL = 38,
3200
3283
  }
3201
3284
 
3202
3285
  enum ReleaseChannel {
@@ -3280,6 +3363,62 @@ export namespace proto {
3280
3363
  }
3281
3364
  }
3282
3365
 
3366
+ interface ICoexStateSync {
3367
+ collectionMutations?: proto.CoexStateSync.ICollectionMutations[];
3368
+ }
3369
+
3370
+ class CoexStateSync implements ICoexStateSync {
3371
+ constructor(p?: ICoexStateSync);
3372
+ public collectionMutations?: proto.CoexStateSync.ICollectionMutations[];
3373
+ public static create(p?: ICoexStateSync): CoexStateSync;
3374
+ public static fromObject(d: { [k: string]: any }): CoexStateSync;
3375
+ public static toObject(m: CoexStateSync, o?: $protobuf.IConversionOptions): { [k: string]: any };
3376
+ public static encode(m: ICoexStateSync, w?: $protobuf.Writer): $protobuf.Writer;
3377
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): CoexStateSync;
3378
+ public toJSON(): { [k: string]: any };
3379
+ }
3380
+
3381
+ namespace CoexStateSync {
3382
+
3383
+ interface ICollectionMutations {
3384
+ collection?: (string|null);
3385
+ mutations?: proto.CoexStateSync.IMutation[];
3386
+ }
3387
+
3388
+ class CollectionMutations implements ICollectionMutations {
3389
+ constructor(p?: ICollectionMutations);
3390
+ public collection?: (string|null);
3391
+ public mutations?: proto.CoexStateSync.IMutation[];
3392
+ public static create(p?: ICollectionMutations): CollectionMutations;
3393
+ public static fromObject(d: { [k: string]: any }): CollectionMutations;
3394
+ public static toObject(m: CollectionMutations, o?: $protobuf.IConversionOptions): { [k: string]: any };
3395
+ public static encode(m: ICollectionMutations, w?: $protobuf.Writer): $protobuf.Writer;
3396
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): CollectionMutations;
3397
+ public toJSON(): { [k: string]: any };
3398
+ }
3399
+
3400
+ interface IMutation {
3401
+ index?: (proto.ISyncdIndex|null);
3402
+ value?: (proto.ISyncdValue|null);
3403
+ dirtyVersion?: (Long|null);
3404
+ operation?: (proto.SyncdMutation.SyncdOperation|null);
3405
+ }
3406
+
3407
+ class Mutation implements IMutation {
3408
+ constructor(p?: IMutation);
3409
+ public index?: (proto.ISyncdIndex|null);
3410
+ public value?: (proto.ISyncdValue|null);
3411
+ public dirtyVersion?: (Long|null);
3412
+ public operation?: (proto.SyncdMutation.SyncdOperation|null);
3413
+ public static create(p?: IMutation): Mutation;
3414
+ public static fromObject(d: { [k: string]: any }): Mutation;
3415
+ public static toObject(m: Mutation, o?: $protobuf.IConversionOptions): { [k: string]: any };
3416
+ public static encode(m: IMutation, w?: $protobuf.Writer): $protobuf.Writer;
3417
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): Mutation;
3418
+ public toJSON(): { [k: string]: any };
3419
+ }
3420
+ }
3421
+
3283
3422
  enum CollectionName {
3284
3423
  COLLECTION_NAME_UNKNOWN = 0,
3285
3424
  REGULAR = 1,
@@ -4135,6 +4274,8 @@ export namespace proto {
4135
4274
  crossAppSource?: (proto.ContextInfo.CrossAppSource|null);
4136
4275
  businessInteractionPills?: (proto.ContextInfo.IBusinessInteractionPills|null);
4137
4276
  posterStatusId?: (string|null);
4277
+ instagramThreadLink?: (proto.ContextInfo.IInstagramThreadLink|null);
4278
+ aiProvenance?: (proto.IAIProvenance|null);
4138
4279
  }
4139
4280
 
4140
4281
  class ContextInfo implements IContextInfo {
@@ -4201,6 +4342,8 @@ export namespace proto {
4201
4342
  public crossAppSource?: (proto.ContextInfo.CrossAppSource|null);
4202
4343
  public businessInteractionPills?: (proto.ContextInfo.IBusinessInteractionPills|null);
4203
4344
  public posterStatusId?: (string|null);
4345
+ public instagramThreadLink?: (proto.ContextInfo.IInstagramThreadLink|null);
4346
+ public aiProvenance?: (proto.IAIProvenance|null);
4204
4347
  public static create(p?: IContextInfo): ContextInfo;
4205
4348
  public static fromObject(d: { [k: string]: any }): ContextInfo;
4206
4349
  public static toObject(m: ContextInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -4247,6 +4390,7 @@ export namespace proto {
4247
4390
  entryPoint?: (proto.ContextInfo.BusinessInteractionPills.EntryPoint|null);
4248
4391
  signedPayload?: (Uint8Array|null);
4249
4392
  signatureEnvelope?: (proto.IBotSignatureVerificationMetadata|null);
4393
+ unauthenticatedBusinessMetadata?: (proto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata|null);
4250
4394
  }
4251
4395
 
4252
4396
  class BusinessInteractionPills implements IBusinessInteractionPills {
@@ -4256,6 +4400,7 @@ export namespace proto {
4256
4400
  public entryPoint?: (proto.ContextInfo.BusinessInteractionPills.EntryPoint|null);
4257
4401
  public signedPayload?: (Uint8Array|null);
4258
4402
  public signatureEnvelope?: (proto.IBotSignatureVerificationMetadata|null);
4403
+ public unauthenticatedBusinessMetadata?: (proto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata|null);
4259
4404
  public static create(p?: IBusinessInteractionPills): BusinessInteractionPills;
4260
4405
  public static fromObject(d: { [k: string]: any }): BusinessInteractionPills;
4261
4406
  public static toObject(m: BusinessInteractionPills, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -4324,6 +4469,27 @@ export namespace proto {
4324
4469
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): SignedPayload;
4325
4470
  public toJSON(): { [k: string]: any };
4326
4471
  }
4472
+
4473
+ interface IUnauthenticatedBusinessMetadata {
4474
+ businessName?: (string|null);
4475
+ businessCategory?: (string|null);
4476
+ businessIsOpen?: (boolean|null);
4477
+ businessIsOpenSnapshotMs?: (Long|null);
4478
+ }
4479
+
4480
+ class UnauthenticatedBusinessMetadata implements IUnauthenticatedBusinessMetadata {
4481
+ constructor(p?: IUnauthenticatedBusinessMetadata);
4482
+ public businessName?: (string|null);
4483
+ public businessCategory?: (string|null);
4484
+ public businessIsOpen?: (boolean|null);
4485
+ public businessIsOpenSnapshotMs?: (Long|null);
4486
+ public static create(p?: IUnauthenticatedBusinessMetadata): UnauthenticatedBusinessMetadata;
4487
+ public static fromObject(d: { [k: string]: any }): UnauthenticatedBusinessMetadata;
4488
+ public static toObject(m: UnauthenticatedBusinessMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
4489
+ public static encode(m: IUnauthenticatedBusinessMetadata, w?: $protobuf.Writer): $protobuf.Writer;
4490
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): UnauthenticatedBusinessMetadata;
4491
+ public toJSON(): { [k: string]: any };
4492
+ }
4327
4493
  }
4328
4494
 
4329
4495
  interface IBusinessMessageForwardInfo {
@@ -4556,6 +4722,21 @@ export namespace proto {
4556
4722
  UGC = 5,
4557
4723
  }
4558
4724
 
4725
+ interface IInstagramThreadLink {
4726
+ url?: (string|null);
4727
+ }
4728
+
4729
+ class InstagramThreadLink implements IInstagramThreadLink {
4730
+ constructor(p?: IInstagramThreadLink);
4731
+ public url?: (string|null);
4732
+ public static create(p?: IInstagramThreadLink): InstagramThreadLink;
4733
+ public static fromObject(d: { [k: string]: any }): InstagramThreadLink;
4734
+ public static toObject(m: InstagramThreadLink, o?: $protobuf.IConversionOptions): { [k: string]: any };
4735
+ public static encode(m: IInstagramThreadLink, w?: $protobuf.Writer): $protobuf.Writer;
4736
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): InstagramThreadLink;
4737
+ public toJSON(): { [k: string]: any };
4738
+ }
4739
+
4559
4740
  enum PairedMediaType {
4560
4741
  NOT_PAIRED_MEDIA = 0,
4561
4742
  SD_VIDEO_PARENT = 1,
@@ -4732,6 +4913,7 @@ export namespace proto {
4732
4913
  appealUpdateTime?: (Long|null);
4733
4914
  authAgentParentCompanyName?: (string|null);
4734
4915
  authAgentObaPhoneNumber?: (string|null);
4916
+ identityVerification?: (proto.IIdentityVerificationState|null);
4735
4917
  }
4736
4918
 
4737
4919
  class Conversation implements IConversation {
@@ -4798,6 +4980,7 @@ export namespace proto {
4798
4980
  public appealUpdateTime?: (Long|null);
4799
4981
  public authAgentParentCompanyName?: (string|null);
4800
4982
  public authAgentObaPhoneNumber?: (string|null);
4983
+ public identityVerification?: (proto.IIdentityVerificationState|null);
4801
4984
  public static create(p?: IConversation): Conversation;
4802
4985
  public static fromObject(d: { [k: string]: any }): Conversation;
4803
4986
  public static toObject(m: Conversation, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -4903,6 +5086,42 @@ export namespace proto {
4903
5086
  public toJSON(): { [k: string]: any };
4904
5087
  }
4905
5088
 
5089
+ interface IDeriveMessageKeyInput {
5090
+ epochRootKey?: (Uint8Array|null);
5091
+ epochAnonId?: (Uint8Array|null);
5092
+ threadId?: (string|null);
5093
+ }
5094
+
5095
+ class DeriveMessageKeyInput implements IDeriveMessageKeyInput {
5096
+ constructor(p?: IDeriveMessageKeyInput);
5097
+ public epochRootKey?: (Uint8Array|null);
5098
+ public epochAnonId?: (Uint8Array|null);
5099
+ public threadId?: (string|null);
5100
+ public static create(p?: IDeriveMessageKeyInput): DeriveMessageKeyInput;
5101
+ public static fromObject(d: { [k: string]: any }): DeriveMessageKeyInput;
5102
+ public static toObject(m: DeriveMessageKeyInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5103
+ public static encode(m: IDeriveMessageKeyInput, w?: $protobuf.Writer): $protobuf.Writer;
5104
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMessageKeyInput;
5105
+ public toJSON(): { [k: string]: any };
5106
+ }
5107
+
5108
+ interface IDeriveMessageKeyOutput {
5109
+ messageKey?: (Uint8Array|null);
5110
+ error?: (string|null);
5111
+ }
5112
+
5113
+ class DeriveMessageKeyOutput implements IDeriveMessageKeyOutput {
5114
+ constructor(p?: IDeriveMessageKeyOutput);
5115
+ public messageKey?: (Uint8Array|null);
5116
+ public error?: (string|null);
5117
+ public static create(p?: IDeriveMessageKeyOutput): DeriveMessageKeyOutput;
5118
+ public static fromObject(d: { [k: string]: any }): DeriveMessageKeyOutput;
5119
+ public static toObject(m: DeriveMessageKeyOutput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5120
+ public static encode(m: IDeriveMessageKeyOutput, w?: $protobuf.Writer): $protobuf.Writer;
5121
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMessageKeyOutput;
5122
+ public toJSON(): { [k: string]: any };
5123
+ }
5124
+
4906
5125
  interface IDeviceCapabilities {
4907
5126
  chatLockSupportLevel?: (proto.DeviceCapabilities.ChatLockSupportLevel|null);
4908
5127
  lidMigration?: (proto.DeviceCapabilities.ILIDMigration|null);
@@ -4910,6 +5129,7 @@ export namespace proto {
4910
5129
  userHasAvatar?: (proto.DeviceCapabilities.IUserHasAvatar|null);
4911
5130
  memberNameTagPrimarySupport?: (proto.DeviceCapabilities.MemberNameTagPrimarySupport|null);
4912
5131
  aiThread?: (proto.DeviceCapabilities.IAiThread|null);
5132
+ aiFbidMigration?: (proto.DeviceCapabilities.IAiFbidMigration|null);
4913
5133
  }
4914
5134
 
4915
5135
  class DeviceCapabilities implements IDeviceCapabilities {
@@ -4920,6 +5140,7 @@ export namespace proto {
4920
5140
  public userHasAvatar?: (proto.DeviceCapabilities.IUserHasAvatar|null);
4921
5141
  public memberNameTagPrimarySupport?: (proto.DeviceCapabilities.MemberNameTagPrimarySupport|null);
4922
5142
  public aiThread?: (proto.DeviceCapabilities.IAiThread|null);
5143
+ public aiFbidMigration?: (proto.DeviceCapabilities.IAiFbidMigration|null);
4923
5144
  public static create(p?: IDeviceCapabilities): DeviceCapabilities;
4924
5145
  public static fromObject(d: { [k: string]: any }): DeviceCapabilities;
4925
5146
  public static toObject(m: DeviceCapabilities, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -4930,6 +5151,21 @@ export namespace proto {
4930
5151
 
4931
5152
  namespace DeviceCapabilities {
4932
5153
 
5154
+ interface IAiFbidMigration {
5155
+ chatDbMigrationTimestamp?: (Long|null);
5156
+ }
5157
+
5158
+ class AiFbidMigration implements IAiFbidMigration {
5159
+ constructor(p?: IAiFbidMigration);
5160
+ public chatDbMigrationTimestamp?: (Long|null);
5161
+ public static create(p?: IAiFbidMigration): AiFbidMigration;
5162
+ public static fromObject(d: { [k: string]: any }): AiFbidMigration;
5163
+ public static toObject(m: AiFbidMigration, o?: $protobuf.IConversionOptions): { [k: string]: any };
5164
+ public static encode(m: IAiFbidMigration, w?: $protobuf.Writer): $protobuf.Writer;
5165
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): AiFbidMigration;
5166
+ public toJSON(): { [k: string]: any };
5167
+ }
5168
+
4933
5169
  interface IAiThread {
4934
5170
  supportLevel?: (proto.DeviceCapabilities.AiThread.SupportLevel|null);
4935
5171
  }
@@ -5170,6 +5406,7 @@ export namespace proto {
5170
5406
  supportHatchHistory?: (boolean|null);
5171
5407
  supportedBotChannelFbids?: string[];
5172
5408
  supportInlineContacts?: (boolean|null);
5409
+ supportNewsletter?: (boolean|null);
5173
5410
  }
5174
5411
 
5175
5412
  class HistorySyncConfig implements IHistorySyncConfig {
@@ -5198,6 +5435,7 @@ export namespace proto {
5198
5435
  public supportHatchHistory?: (boolean|null);
5199
5436
  public supportedBotChannelFbids?: string[];
5200
5437
  public supportInlineContacts?: (boolean|null);
5438
+ public supportNewsletter?: (boolean|null);
5201
5439
  public static create(p?: IHistorySyncConfig): HistorySyncConfig;
5202
5440
  public static fromObject(d: { [k: string]: any }): HistorySyncConfig;
5203
5441
  public static toObject(m: HistorySyncConfig, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -5232,6 +5470,7 @@ export namespace proto {
5232
5470
  VR = 22,
5233
5471
  CLOUD_API = 23,
5234
5472
  SMARTGLASSES = 24,
5473
+ WAIL = 25,
5235
5474
  }
5236
5475
  }
5237
5476
 
@@ -5437,7 +5676,6 @@ export namespace proto {
5437
5676
  valueSecretRef?: (string|null);
5438
5677
  offlineThreadingId?: (Long|null);
5439
5678
  timestampMs?: (Long|null);
5440
- messageKey?: (Uint8Array|null);
5441
5679
  error?: (string|null);
5442
5680
  }
5443
5681
 
@@ -5448,7 +5686,6 @@ export namespace proto {
5448
5686
  public valueSecretRef?: (string|null);
5449
5687
  public offlineThreadingId?: (Long|null);
5450
5688
  public timestampMs?: (Long|null);
5451
- public messageKey?: (Uint8Array|null);
5452
5689
  public error?: (string|null);
5453
5690
  public static create(p?: IEncryptMessageOutput): EncryptMessageOutput;
5454
5691
  public static fromObject(d: { [k: string]: any }): EncryptMessageOutput;
@@ -5984,6 +6221,7 @@ export namespace proto {
5984
6221
  HANDSHAKE_PQ_MODE_UNKNOWN = 0,
5985
6222
  XXKEM = 1,
5986
6223
  XXKEM_FS = 2,
6224
+ XXKEM_EPH = 9,
5987
6225
  WA_CLASSICAL = 3,
5988
6226
  WA_PQ = 4,
5989
6227
  IKKEM = 5,
@@ -6230,6 +6468,23 @@ export namespace proto {
6230
6468
  public toJSON(): { [k: string]: any };
6231
6469
  }
6232
6470
 
6471
+ interface IIdentityVerificationState {
6472
+ verified?: (boolean|null);
6473
+ actionSeq?: (Long|null);
6474
+ }
6475
+
6476
+ class IdentityVerificationState implements IIdentityVerificationState {
6477
+ constructor(p?: IIdentityVerificationState);
6478
+ public verified?: (boolean|null);
6479
+ public actionSeq?: (Long|null);
6480
+ public static create(p?: IIdentityVerificationState): IdentityVerificationState;
6481
+ public static fromObject(d: { [k: string]: any }): IdentityVerificationState;
6482
+ public static toObject(m: IdentityVerificationState, o?: $protobuf.IConversionOptions): { [k: string]: any };
6483
+ public static encode(m: IIdentityVerificationState, w?: $protobuf.Writer): $protobuf.Writer;
6484
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): IdentityVerificationState;
6485
+ public toJSON(): { [k: string]: any };
6486
+ }
6487
+
6233
6488
  interface IInlineContact {
6234
6489
  pnJid?: (string|null);
6235
6490
  lidJid?: (string|null);
@@ -6487,6 +6742,8 @@ export namespace proto {
6487
6742
  encryptMessageInput?: (proto.IEncryptMessageInput|null);
6488
6743
  decryptMessageInput?: (proto.IDecryptMessageInput|null);
6489
6744
  orfThreadIdInput?: (proto.IOrfThreadIdInput|null);
6745
+ deriveMessageKeyInput?: (proto.IDeriveMessageKeyInput|null);
6746
+ rotateEpochInput?: (proto.IRotateEpochInput|null);
6490
6747
  }
6491
6748
 
6492
6749
  class LabyrinthWaCommand implements ILabyrinthWaCommand {
@@ -6495,6 +6752,8 @@ export namespace proto {
6495
6752
  public encryptMessageInput?: (proto.IEncryptMessageInput|null);
6496
6753
  public decryptMessageInput?: (proto.IDecryptMessageInput|null);
6497
6754
  public orfThreadIdInput?: (proto.IOrfThreadIdInput|null);
6755
+ public deriveMessageKeyInput?: (proto.IDeriveMessageKeyInput|null);
6756
+ public rotateEpochInput?: (proto.IRotateEpochInput|null);
6498
6757
  public static create(p?: ILabyrinthWaCommand): LabyrinthWaCommand;
6499
6758
  public static fromObject(d: { [k: string]: any }): LabyrinthWaCommand;
6500
6759
  public static toObject(m: LabyrinthWaCommand, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -6976,6 +7235,10 @@ export namespace proto {
6976
7235
  splitPaymentMessage?: (proto.Message.ISplitPaymentMessage|null);
6977
7236
  newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
6978
7237
  rootSecretDistributeMessage?: (proto.Message.IRootSecretDistributeMessage|null);
7238
+ splitPaymentUpdateMessage?: (proto.Message.ISplitPaymentUpdateMessage|null);
7239
+ musicMessage?: (proto.Message.IMusicMessage|null);
7240
+ statusLinkPreviewMetadata?: (proto.Message.IStatusLinkPreviewMetadata|null);
7241
+ botPlatformRegistrationSuccessMessage?: (proto.Message.IFutureProofMessage|null);
6979
7242
  }
6980
7243
 
6981
7244
  class Message implements IMessage {
@@ -7087,6 +7350,10 @@ export namespace proto {
7087
7350
  public splitPaymentMessage?: (proto.Message.ISplitPaymentMessage|null);
7088
7351
  public newsletterAdminProfileStatusMessage?: (proto.Message.IFutureProofMessage|null);
7089
7352
  public rootSecretDistributeMessage?: (proto.Message.IRootSecretDistributeMessage|null);
7353
+ public splitPaymentUpdateMessage?: (proto.Message.ISplitPaymentUpdateMessage|null);
7354
+ public musicMessage?: (proto.Message.IMusicMessage|null);
7355
+ public statusLinkPreviewMetadata?: (proto.Message.IStatusLinkPreviewMetadata|null);
7356
+ public botPlatformRegistrationSuccessMessage?: (proto.Message.IFutureProofMessage|null);
7090
7357
  public static create(p?: IMessage): Message;
7091
7358
  public static fromObject(d: { [k: string]: any }): Message;
7092
7359
  public static toObject(m: Message, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -7308,6 +7575,25 @@ export namespace proto {
7308
7575
  }
7309
7576
  }
7310
7577
 
7578
+ interface IBotHistoryShareSyncMetadata {
7579
+ botJid?: (string|null);
7580
+ historyShareCutoffTimestamp?: (Long|null);
7581
+ historyShareMessages?: proto.Message.IHistoryShareMessageEntry[];
7582
+ }
7583
+
7584
+ class BotHistoryShareSyncMetadata implements IBotHistoryShareSyncMetadata {
7585
+ constructor(p?: IBotHistoryShareSyncMetadata);
7586
+ public botJid?: (string|null);
7587
+ public historyShareCutoffTimestamp?: (Long|null);
7588
+ public historyShareMessages?: proto.Message.IHistoryShareMessageEntry[];
7589
+ public static create(p?: IBotHistoryShareSyncMetadata): BotHistoryShareSyncMetadata;
7590
+ public static fromObject(d: { [k: string]: any }): BotHistoryShareSyncMetadata;
7591
+ public static toObject(m: BotHistoryShareSyncMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
7592
+ public static encode(m: IBotHistoryShareSyncMetadata, w?: $protobuf.Writer): $protobuf.Writer;
7593
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BotHistoryShareSyncMetadata;
7594
+ public toJSON(): { [k: string]: any };
7595
+ }
7596
+
7311
7597
  interface IButtonsMessage {
7312
7598
  contentText?: (string|null);
7313
7599
  footerText?: (string|null);
@@ -7457,6 +7743,7 @@ export namespace proto {
7457
7743
  deeplinkPayload?: (string|null);
7458
7744
  messageContextInfo?: (proto.IMessageContextInfo|null);
7459
7745
  callEntryPoint?: (number|null);
7746
+ callReason?: (string|null);
7460
7747
  }
7461
7748
 
7462
7749
  class Call implements ICall {
@@ -7472,6 +7759,7 @@ export namespace proto {
7472
7759
  public deeplinkPayload?: (string|null);
7473
7760
  public messageContextInfo?: (proto.IMessageContextInfo|null);
7474
7761
  public callEntryPoint?: (number|null);
7762
+ public callReason?: (string|null);
7475
7763
  public static create(p?: ICall): Call;
7476
7764
  public static fromObject(d: { [k: string]: any }): Call;
7477
7765
  public static toObject(m: Call, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -8080,7 +8368,7 @@ export namespace proto {
8080
8368
  viewOnce?: (boolean|null);
8081
8369
  videoHeight?: (number|null);
8082
8370
  videoWidth?: (number|null);
8083
- faviconMMSMetadata?: (proto.Message.IMMSThumbnailMetadata|null);
8371
+ faviconMmsMetadata?: (proto.Message.IMMSThumbnailMetadata|null);
8084
8372
  linkPreviewMetadata?: (proto.Message.ILinkPreviewMetadata|null);
8085
8373
  paymentLinkMetadata?: (proto.Message.IPaymentLinkMetadata|null);
8086
8374
  endCardTiles?: proto.Message.IVideoEndCard[];
@@ -8116,7 +8404,7 @@ export namespace proto {
8116
8404
  public viewOnce?: (boolean|null);
8117
8405
  public videoHeight?: (number|null);
8118
8406
  public videoWidth?: (number|null);
8119
- public faviconMMSMetadata?: (proto.Message.IMMSThumbnailMetadata|null);
8407
+ public faviconMmsMetadata?: (proto.Message.IMMSThumbnailMetadata|null);
8120
8408
  public linkPreviewMetadata?: (proto.Message.ILinkPreviewMetadata|null);
8121
8409
  public paymentLinkMetadata?: (proto.Message.IPaymentLinkMetadata|null);
8122
8410
  public endCardTiles?: proto.Message.IVideoEndCard[];
@@ -8402,6 +8690,23 @@ export namespace proto {
8402
8690
  }
8403
8691
  }
8404
8692
 
8693
+ interface IHistoryShareMessageEntry {
8694
+ stanzaId?: (string|null);
8695
+ messageSecretProof?: (Uint8Array|null);
8696
+ }
8697
+
8698
+ class HistoryShareMessageEntry implements IHistoryShareMessageEntry {
8699
+ constructor(p?: IHistoryShareMessageEntry);
8700
+ public stanzaId?: (string|null);
8701
+ public messageSecretProof?: (Uint8Array|null);
8702
+ public static create(p?: IHistoryShareMessageEntry): HistoryShareMessageEntry;
8703
+ public static fromObject(d: { [k: string]: any }): HistoryShareMessageEntry;
8704
+ public static toObject(m: HistoryShareMessageEntry, o?: $protobuf.IConversionOptions): { [k: string]: any };
8705
+ public static encode(m: IHistoryShareMessageEntry, w?: $protobuf.Writer): $protobuf.Writer;
8706
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): HistoryShareMessageEntry;
8707
+ public toJSON(): { [k: string]: any };
8708
+ }
8709
+
8405
8710
  interface IHistorySyncMessageAccessStatus {
8406
8711
  completeAccessGranted?: (boolean|null);
8407
8712
  }
@@ -9244,6 +9549,27 @@ export namespace proto {
9244
9549
  public toJSON(): { [k: string]: any };
9245
9550
  }
9246
9551
 
9552
+ interface IMarkAsVerifiedAction {
9553
+ userJidString?: (string|null);
9554
+ verified?: (boolean|null);
9555
+ verifiedIdentityKey?: (Uint8Array|null);
9556
+ actionSeq?: (Long|null);
9557
+ }
9558
+
9559
+ class MarkAsVerifiedAction implements IMarkAsVerifiedAction {
9560
+ constructor(p?: IMarkAsVerifiedAction);
9561
+ public userJidString?: (string|null);
9562
+ public verified?: (boolean|null);
9563
+ public verifiedIdentityKey?: (Uint8Array|null);
9564
+ public actionSeq?: (Long|null);
9565
+ public static create(p?: IMarkAsVerifiedAction): MarkAsVerifiedAction;
9566
+ public static fromObject(d: { [k: string]: any }): MarkAsVerifiedAction;
9567
+ public static toObject(m: MarkAsVerifiedAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
9568
+ public static encode(m: IMarkAsVerifiedAction, w?: $protobuf.Writer): $protobuf.Writer;
9569
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MarkAsVerifiedAction;
9570
+ public toJSON(): { [k: string]: any };
9571
+ }
9572
+
9247
9573
  interface IMessageHistoryBundle {
9248
9574
  mimetype?: (string|null);
9249
9575
  fileSha256?: (Uint8Array|null);
@@ -9299,12 +9625,14 @@ export namespace proto {
9299
9625
  interface IMessageHistoryNotice {
9300
9626
  contextInfo?: (proto.IContextInfo|null);
9301
9627
  messageHistoryMetadata?: (proto.Message.IMessageHistoryMetadata|null);
9628
+ botHistoryShareSyncMetadata?: (proto.Message.IBotHistoryShareSyncMetadata|null);
9302
9629
  }
9303
9630
 
9304
9631
  class MessageHistoryNotice implements IMessageHistoryNotice {
9305
9632
  constructor(p?: IMessageHistoryNotice);
9306
9633
  public contextInfo?: (proto.IContextInfo|null);
9307
9634
  public messageHistoryMetadata?: (proto.Message.IMessageHistoryMetadata|null);
9635
+ public botHistoryShareSyncMetadata?: (proto.Message.IBotHistoryShareSyncMetadata|null);
9308
9636
  public static create(p?: IMessageHistoryNotice): MessageHistoryNotice;
9309
9637
  public static fromObject(d: { [k: string]: any }): MessageHistoryNotice;
9310
9638
  public static toObject(m: MessageHistoryNotice, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -9340,6 +9668,36 @@ export namespace proto {
9340
9668
  public toJSON(): { [k: string]: any };
9341
9669
  }
9342
9670
 
9671
+ interface IMusicMessage {
9672
+ embeddedMusic?: (proto.IEmbeddedMusic|null);
9673
+ songUri?: (string|null);
9674
+ artworkUri?: (string|null);
9675
+ style?: (number|null);
9676
+ contextInfo?: (proto.IContextInfo|null);
9677
+ }
9678
+
9679
+ class MusicMessage implements IMusicMessage {
9680
+ constructor(p?: IMusicMessage);
9681
+ public embeddedMusic?: (proto.IEmbeddedMusic|null);
9682
+ public songUri?: (string|null);
9683
+ public artworkUri?: (string|null);
9684
+ public style?: (number|null);
9685
+ public contextInfo?: (proto.IContextInfo|null);
9686
+ public static create(p?: IMusicMessage): MusicMessage;
9687
+ public static fromObject(d: { [k: string]: any }): MusicMessage;
9688
+ public static toObject(m: MusicMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
9689
+ public static encode(m: IMusicMessage, w?: $protobuf.Writer): $protobuf.Writer;
9690
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MusicMessage;
9691
+ public toJSON(): { [k: string]: any };
9692
+ }
9693
+
9694
+ namespace MusicMessage {
9695
+
9696
+ enum MusicMessageStyle {
9697
+ UNKNOWN = 0,
9698
+ }
9699
+ }
9700
+
9343
9701
  interface INewsletterAdminInviteMessage {
9344
9702
  newsletterJid?: (string|null);
9345
9703
  newsletterName?: (string|null);
@@ -9447,12 +9805,14 @@ export namespace proto {
9447
9805
  interface IPaymentExtendedMetadata {
9448
9806
  type?: (number|null);
9449
9807
  platform?: (string|null);
9808
+ messageParamsJson?: (string|null);
9450
9809
  }
9451
9810
 
9452
9811
  class PaymentExtendedMetadata implements IPaymentExtendedMetadata {
9453
9812
  constructor(p?: IPaymentExtendedMetadata);
9454
9813
  public type?: (number|null);
9455
9814
  public platform?: (string|null);
9815
+ public messageParamsJson?: (string|null);
9456
9816
  public static create(p?: IPaymentExtendedMetadata): PaymentExtendedMetadata;
9457
9817
  public static fromObject(d: { [k: string]: any }): PaymentExtendedMetadata;
9458
9818
  public static toObject(m: PaymentExtendedMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -9496,6 +9856,7 @@ export namespace proto {
9496
9856
  FBPAY = 1,
9497
9857
  NOVI = 2,
9498
9858
  UPI = 3,
9859
+ PIX = 4,
9499
9860
  }
9500
9861
  }
9501
9862
 
@@ -9906,6 +10267,7 @@ export namespace proto {
9906
10267
  historySyncChunkRetryResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse|null);
9907
10268
  flowResponsesCsvBundle?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle|null);
9908
10269
  bizBroadcastInsightsContactListResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse|null);
10270
+ contactRefreshResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse|null);
9909
10271
  }
9910
10272
 
9911
10273
  class PeerDataOperationResult implements IPeerDataOperationResult {
@@ -9922,6 +10284,7 @@ export namespace proto {
9922
10284
  public historySyncChunkRetryResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse|null);
9923
10285
  public flowResponsesCsvBundle?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle|null);
9924
10286
  public bizBroadcastInsightsContactListResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse|null);
10287
+ public contactRefreshResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse|null);
9925
10288
  public static create(p?: IPeerDataOperationResult): PeerDataOperationResult;
9926
10289
  public static fromObject(d: { [k: string]: any }): PeerDataOperationResult;
9927
10290
  public static toObject(m: PeerDataOperationResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -10002,6 +10365,27 @@ export namespace proto {
10002
10365
  public toJSON(): { [k: string]: any };
10003
10366
  }
10004
10367
 
10368
+ interface IContactRefreshResponse {
10369
+ coveredRequestIds?: string[];
10370
+ collectionVersion?: (Long|null);
10371
+ primaryDurationMs?: (Long|null);
10372
+ uniqueContactCount?: (number|null);
10373
+ }
10374
+
10375
+ class ContactRefreshResponse implements IContactRefreshResponse {
10376
+ constructor(p?: IContactRefreshResponse);
10377
+ public coveredRequestIds?: string[];
10378
+ public collectionVersion?: (Long|null);
10379
+ public primaryDurationMs?: (Long|null);
10380
+ public uniqueContactCount?: (number|null);
10381
+ public static create(p?: IContactRefreshResponse): ContactRefreshResponse;
10382
+ public static fromObject(d: { [k: string]: any }): ContactRefreshResponse;
10383
+ public static toObject(m: ContactRefreshResponse, o?: $protobuf.IConversionOptions): { [k: string]: any };
10384
+ public static encode(m: IContactRefreshResponse, w?: $protobuf.Writer): $protobuf.Writer;
10385
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ContactRefreshResponse;
10386
+ public toJSON(): { [k: string]: any };
10387
+ }
10388
+
10005
10389
  interface IFlowResponsesCsvBundle {
10006
10390
  flowId?: (string|null);
10007
10391
  galaxyFlowDownloadRequestId?: (string|null);
@@ -10243,6 +10627,7 @@ export namespace proto {
10243
10627
  GALAXY_FLOW_ACTION = 11,
10244
10628
  BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12,
10245
10629
  BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13,
10630
+ CONTACT_REFRESH_REQUEST = 14,
10246
10631
  }
10247
10632
 
10248
10633
  interface IPinInChatMessage {
@@ -10604,6 +10989,8 @@ export namespace proto {
10604
10989
  afterReadDuration?: (number|null);
10605
10990
  chatThemeSetting?: (proto.Message.IChatThemeSetting|null);
10606
10991
  aiMetadataOperation?: (proto.IAIMetadataOperation|null);
10992
+ markAsVerifiedAction?: (proto.Message.IMarkAsVerifiedAction|null);
10993
+ coexStateSync?: (proto.ICoexStateSync|null);
10607
10994
  }
10608
10995
 
10609
10996
  class ProtocolMessage implements IProtocolMessage {
@@ -10636,6 +11023,8 @@ export namespace proto {
10636
11023
  public afterReadDuration?: (number|null);
10637
11024
  public chatThemeSetting?: (proto.Message.IChatThemeSetting|null);
10638
11025
  public aiMetadataOperation?: (proto.IAIMetadataOperation|null);
11026
+ public markAsVerifiedAction?: (proto.Message.IMarkAsVerifiedAction|null);
11027
+ public coexStateSync?: (proto.ICoexStateSync|null);
10639
11028
  public static create(p?: IProtocolMessage): ProtocolMessage;
10640
11029
  public static fromObject(d: { [k: string]: any }): ProtocolMessage;
10641
11030
  public static toObject(m: ProtocolMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -10677,6 +11066,8 @@ export namespace proto {
10677
11066
  MESSAGE_UNSCHEDULE = 32,
10678
11067
  CHAT_THEME_SETTING = 34,
10679
11068
  AI_METADATA_OPERATION = 35,
11069
+ MARK_AS_VERIFIED_ACTION = 36,
11070
+ COEX_STATE_SYNC = 37,
10680
11071
  }
10681
11072
  }
10682
11073
 
@@ -10987,6 +11378,48 @@ export namespace proto {
10987
11378
  }
10988
11379
  }
10989
11380
 
11381
+ interface ISplitPaymentUpdateMessage {
11382
+ splitId?: (string|null);
11383
+ participantJid?: (string|null);
11384
+ }
11385
+
11386
+ class SplitPaymentUpdateMessage implements ISplitPaymentUpdateMessage {
11387
+ constructor(p?: ISplitPaymentUpdateMessage);
11388
+ public splitId?: (string|null);
11389
+ public participantJid?: (string|null);
11390
+ public static create(p?: ISplitPaymentUpdateMessage): SplitPaymentUpdateMessage;
11391
+ public static fromObject(d: { [k: string]: any }): SplitPaymentUpdateMessage;
11392
+ public static toObject(m: SplitPaymentUpdateMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
11393
+ public static encode(m: ISplitPaymentUpdateMessage, w?: $protobuf.Writer): $protobuf.Writer;
11394
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): SplitPaymentUpdateMessage;
11395
+ public toJSON(): { [k: string]: any };
11396
+ }
11397
+
11398
+ interface IStatusLinkPreviewMetadata {
11399
+ style?: (proto.Message.StatusLinkPreviewMetadata.Style|null);
11400
+ }
11401
+
11402
+ class StatusLinkPreviewMetadata implements IStatusLinkPreviewMetadata {
11403
+ constructor(p?: IStatusLinkPreviewMetadata);
11404
+ public style?: (proto.Message.StatusLinkPreviewMetadata.Style|null);
11405
+ public static create(p?: IStatusLinkPreviewMetadata): StatusLinkPreviewMetadata;
11406
+ public static fromObject(d: { [k: string]: any }): StatusLinkPreviewMetadata;
11407
+ public static toObject(m: StatusLinkPreviewMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
11408
+ public static encode(m: IStatusLinkPreviewMetadata, w?: $protobuf.Writer): $protobuf.Writer;
11409
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): StatusLinkPreviewMetadata;
11410
+ public toJSON(): { [k: string]: any };
11411
+ }
11412
+
11413
+ namespace StatusLinkPreviewMetadata {
11414
+
11415
+ enum Style {
11416
+ AUTO = 0,
11417
+ COMPACT = 1,
11418
+ FULL = 2,
11419
+ IMMERSIVE = 3,
11420
+ }
11421
+ }
11422
+
10990
11423
  interface IStatusNotificationMessage {
10991
11424
  responseMessageKey?: (proto.IMessageKey|null);
10992
11425
  originalMessageKey?: (proto.IMessageKey|null);
@@ -11013,6 +11446,7 @@ export namespace proto {
11013
11446
  STATUS_ADD_YOURS = 1,
11014
11447
  STATUS_RESHARE = 2,
11015
11448
  STATUS_QUESTION_ANSWER_RESHARE = 3,
11449
+ STATUS_GROUP_STATUS_REPLY = 4,
11016
11450
  }
11017
11451
  }
11018
11452
 
@@ -11616,6 +12050,8 @@ export namespace proto {
11616
12050
  threadId?: proto.IThreadID[];
11617
12051
  weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
11618
12052
  teeBotMetadata?: (Uint8Array|null);
12053
+ accountEncryptionAttestation?: (proto.INonE2EEAttestation|null);
12054
+ associatedPrimaryIdentityKey?: (Uint8Array|null);
11619
12055
  }
11620
12056
 
11621
12057
  class MessageContextInfo implements IMessageContextInfo {
@@ -11637,6 +12073,8 @@ export namespace proto {
11637
12073
  public threadId?: proto.IThreadID[];
11638
12074
  public weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
11639
12075
  public teeBotMetadata?: (Uint8Array|null);
12076
+ public accountEncryptionAttestation?: (proto.INonE2EEAttestation|null);
12077
+ public associatedPrimaryIdentityKey?: (Uint8Array|null);
11640
12078
  public static create(p?: IMessageContextInfo): MessageContextInfo;
11641
12079
  public static fromObject(d: { [k: string]: any }): MessageContextInfo;
11642
12080
  public static toObject(m: MessageContextInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -12045,6 +12483,9 @@ export namespace proto {
12045
12483
  BIZ_AI_SETTINGS_NUDGE_ACTION = 87,
12046
12484
  COEX_V2_VERSION_ACTION = 88,
12047
12485
  WASA_ROOT_SECRET_ACTION = 89,
12486
+ BUBBLE_LOCK_MESSAGE_ACTION = 90,
12487
+ LABEL_SUBLIST_ACTION = 91,
12488
+ DEVICE_CAPABILITIES_V2 = 92,
12048
12489
  SHARE_OWN_PN = 10001,
12049
12490
  BUSINESS_BROADCAST_ACTION = 10002,
12050
12491
  AI_THREAD_DELETE_ACTION = 10003,
@@ -12093,6 +12534,30 @@ export namespace proto {
12093
12534
  }
12094
12535
  }
12095
12536
 
12537
+ interface INonE2EEAttestation {
12538
+ accountType?: (proto.NonE2EEAttestation.AccountType|null);
12539
+ }
12540
+
12541
+ class NonE2EEAttestation implements INonE2EEAttestation {
12542
+ constructor(p?: INonE2EEAttestation);
12543
+ public accountType?: (proto.NonE2EEAttestation.AccountType|null);
12544
+ public static create(p?: INonE2EEAttestation): NonE2EEAttestation;
12545
+ public static fromObject(d: { [k: string]: any }): NonE2EEAttestation;
12546
+ public static toObject(m: NonE2EEAttestation, o?: $protobuf.IConversionOptions): { [k: string]: any };
12547
+ public static encode(m: INonE2EEAttestation, w?: $protobuf.Writer): $protobuf.Writer;
12548
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): NonE2EEAttestation;
12549
+ public toJSON(): { [k: string]: any };
12550
+ }
12551
+
12552
+ namespace NonE2EEAttestation {
12553
+
12554
+ enum AccountType {
12555
+ E2EE = 0,
12556
+ HYBRID_E2EE = 1,
12557
+ NON_E2EE = 2,
12558
+ }
12559
+ }
12560
+
12096
12561
  interface INotificationMessageInfo {
12097
12562
  key?: (proto.IMessageKey|null);
12098
12563
  message?: (proto.IMessage|null);
@@ -12964,11 +13429,13 @@ export namespace proto {
12964
13429
 
12965
13430
  interface IReportingTokenInfo {
12966
13431
  reportingTag?: (Uint8Array|null);
13432
+ reportingTagTimestamp?: (Long|null);
12967
13433
  }
12968
13434
 
12969
13435
  class ReportingTokenInfo implements IReportingTokenInfo {
12970
13436
  constructor(p?: IReportingTokenInfo);
12971
13437
  public reportingTag?: (Uint8Array|null);
13438
+ public reportingTagTimestamp?: (Long|null);
12972
13439
  public static create(p?: IReportingTokenInfo): ReportingTokenInfo;
12973
13440
  public static fromObject(d: { [k: string]: any }): ReportingTokenInfo;
12974
13441
  public static toObject(m: ReportingTokenInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -12977,6 +13444,96 @@ export namespace proto {
12977
13444
  public toJSON(): { [k: string]: any };
12978
13445
  }
12979
13446
 
13447
+ interface IRotateEpochInput {
13448
+ currentEpochRootKey?: (Uint8Array|null);
13449
+ currentEpochAnonId?: (Long|null);
13450
+ currentEpochFbid?: (Long|null);
13451
+ newEpochFbid?: (Long|null);
13452
+ epochStoragePrivateKey?: (Uint8Array|null);
13453
+ members?: proto.IRotateEpochMemberInput[];
13454
+ }
13455
+
13456
+ class RotateEpochInput implements IRotateEpochInput {
13457
+ constructor(p?: IRotateEpochInput);
13458
+ public currentEpochRootKey?: (Uint8Array|null);
13459
+ public currentEpochAnonId?: (Long|null);
13460
+ public currentEpochFbid?: (Long|null);
13461
+ public newEpochFbid?: (Long|null);
13462
+ public epochStoragePrivateKey?: (Uint8Array|null);
13463
+ public members?: proto.IRotateEpochMemberInput[];
13464
+ public static create(p?: IRotateEpochInput): RotateEpochInput;
13465
+ public static fromObject(d: { [k: string]: any }): RotateEpochInput;
13466
+ public static toObject(m: RotateEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13467
+ public static encode(m: IRotateEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
13468
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): RotateEpochInput;
13469
+ public toJSON(): { [k: string]: any };
13470
+ }
13471
+
13472
+ interface IRotateEpochMemberEdge {
13473
+ deviceId?: (Long|null);
13474
+ encryptedEpochKey?: (Uint8Array|null);
13475
+ deviceEpochHmac?: (Uint8Array|null);
13476
+ }
13477
+
13478
+ class RotateEpochMemberEdge implements IRotateEpochMemberEdge {
13479
+ constructor(p?: IRotateEpochMemberEdge);
13480
+ public deviceId?: (Long|null);
13481
+ public encryptedEpochKey?: (Uint8Array|null);
13482
+ public deviceEpochHmac?: (Uint8Array|null);
13483
+ public static create(p?: IRotateEpochMemberEdge): RotateEpochMemberEdge;
13484
+ public static fromObject(d: { [k: string]: any }): RotateEpochMemberEdge;
13485
+ public static toObject(m: RotateEpochMemberEdge, o?: $protobuf.IConversionOptions): { [k: string]: any };
13486
+ public static encode(m: IRotateEpochMemberEdge, w?: $protobuf.Writer): $protobuf.Writer;
13487
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): RotateEpochMemberEdge;
13488
+ public toJSON(): { [k: string]: any };
13489
+ }
13490
+
13491
+ interface IRotateEpochMemberInput {
13492
+ deviceId?: (Long|null);
13493
+ epochStoragePublicKey?: (Uint8Array|null);
13494
+ devicePublicKey?: (Uint8Array|null);
13495
+ }
13496
+
13497
+ class RotateEpochMemberInput implements IRotateEpochMemberInput {
13498
+ constructor(p?: IRotateEpochMemberInput);
13499
+ public deviceId?: (Long|null);
13500
+ public epochStoragePublicKey?: (Uint8Array|null);
13501
+ public devicePublicKey?: (Uint8Array|null);
13502
+ public static create(p?: IRotateEpochMemberInput): RotateEpochMemberInput;
13503
+ public static fromObject(d: { [k: string]: any }): RotateEpochMemberInput;
13504
+ public static toObject(m: RotateEpochMemberInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13505
+ public static encode(m: IRotateEpochMemberInput, w?: $protobuf.Writer): $protobuf.Writer;
13506
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): RotateEpochMemberInput;
13507
+ public toJSON(): { [k: string]: any };
13508
+ }
13509
+
13510
+ interface IRotateEpochOutput {
13511
+ newEpochRootKey?: (Uint8Array|null);
13512
+ newEpochAnonId?: (Long|null);
13513
+ epochAnonId?: (Uint8Array|null);
13514
+ epochData?: (Uint8Array|null);
13515
+ memberEdges?: proto.IRotateEpochMemberEdge[];
13516
+ epochRootKeyFingerprint?: (Uint8Array|null);
13517
+ error?: (string|null);
13518
+ }
13519
+
13520
+ class RotateEpochOutput implements IRotateEpochOutput {
13521
+ constructor(p?: IRotateEpochOutput);
13522
+ public newEpochRootKey?: (Uint8Array|null);
13523
+ public newEpochAnonId?: (Long|null);
13524
+ public epochAnonId?: (Uint8Array|null);
13525
+ public epochData?: (Uint8Array|null);
13526
+ public memberEdges?: proto.IRotateEpochMemberEdge[];
13527
+ public epochRootKeyFingerprint?: (Uint8Array|null);
13528
+ public error?: (string|null);
13529
+ public static create(p?: IRotateEpochOutput): RotateEpochOutput;
13530
+ public static fromObject(d: { [k: string]: any }): RotateEpochOutput;
13531
+ public static toObject(m: RotateEpochOutput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13532
+ public static encode(m: IRotateEpochOutput, w?: $protobuf.Writer): $protobuf.Writer;
13533
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): RotateEpochOutput;
13534
+ public toJSON(): { [k: string]: any };
13535
+ }
13536
+
12980
13537
  interface IRoutingInfo {
12981
13538
  regionId?: number[];
12982
13539
  clusterId?: number[];
@@ -13479,6 +14036,7 @@ export namespace proto {
13479
14036
  GOOGLE_PHOTOS = 10,
13480
14037
  SOUNDCLOUD = 11,
13481
14038
  SHAZAM = 12,
14039
+ PICSART = 13,
13482
14040
  }
13483
14041
  }
13484
14042
 
@@ -13609,6 +14167,7 @@ export namespace proto {
13609
14167
  NEWSLETTER_STATUS = 9,
13610
14168
  STATUS_CLOSE_SHARING = 10,
13611
14169
  PAID_PARTNERSHIP = 11,
14170
+ USERNAME_STATUS = 12,
13612
14171
  }
13613
14172
  }
13614
14173
 
@@ -13804,6 +14363,9 @@ export namespace proto {
13804
14363
  bizAiSettingsNudgeAction?: (proto.SyncActionValue.IBizAISettingsNudgeAction|null);
13805
14364
  coexV2VersionAction?: (proto.SyncActionValue.ICoexV2VersionAction|null);
13806
14365
  wasaRootSecretAction?: (proto.SyncActionValue.IWASARootSecretAction|null);
14366
+ bubbleLockMessageAction?: (proto.SyncActionValue.IBubbleLockMessageAction|null);
14367
+ labelSublistAction?: (proto.SyncActionValue.ILabelSublistAction|null);
14368
+ deviceCapabilitiesV2?: (proto.IDeviceCapabilities|null);
13807
14369
  }
13808
14370
 
13809
14371
  class SyncActionValue implements ISyncActionValue {
@@ -13888,6 +14450,9 @@ export namespace proto {
13888
14450
  public bizAiSettingsNudgeAction?: (proto.SyncActionValue.IBizAISettingsNudgeAction|null);
13889
14451
  public coexV2VersionAction?: (proto.SyncActionValue.ICoexV2VersionAction|null);
13890
14452
  public wasaRootSecretAction?: (proto.SyncActionValue.IWASARootSecretAction|null);
14453
+ public bubbleLockMessageAction?: (proto.SyncActionValue.IBubbleLockMessageAction|null);
14454
+ public labelSublistAction?: (proto.SyncActionValue.ILabelSublistAction|null);
14455
+ public deviceCapabilitiesV2?: (proto.IDeviceCapabilities|null);
13891
14456
  public static create(p?: ISyncActionValue): SyncActionValue;
13892
14457
  public static fromObject(d: { [k: string]: any }): SyncActionValue;
13893
14458
  public static toObject(m: SyncActionValue, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -14033,6 +14598,7 @@ export namespace proto {
14033
14598
  EXAMPLE_RESPONSES = 3,
14034
14599
  KNOWLEDGE = 4,
14035
14600
  LEAD_GEN = 5,
14601
+ HANDOFF_REMOVAL_TIMING = 6,
14036
14602
  }
14037
14603
  }
14038
14604
 
@@ -14068,6 +14634,21 @@ export namespace proto {
14068
14634
  public toJSON(): { [k: string]: any };
14069
14635
  }
14070
14636
 
14637
+ interface IBubbleLockMessageAction {
14638
+ locked?: (boolean|null);
14639
+ }
14640
+
14641
+ class BubbleLockMessageAction implements IBubbleLockMessageAction {
14642
+ constructor(p?: IBubbleLockMessageAction);
14643
+ public locked?: (boolean|null);
14644
+ public static create(p?: IBubbleLockMessageAction): BubbleLockMessageAction;
14645
+ public static fromObject(d: { [k: string]: any }): BubbleLockMessageAction;
14646
+ public static toObject(m: BubbleLockMessageAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
14647
+ public static encode(m: IBubbleLockMessageAction, w?: $protobuf.Writer): $protobuf.Writer;
14648
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BubbleLockMessageAction;
14649
+ public toJSON(): { [k: string]: any };
14650
+ }
14651
+
14071
14652
  interface IBusinessBroadcastAssociationAction {
14072
14653
  deleted?: (boolean|null);
14073
14654
  }
@@ -14151,6 +14732,7 @@ export namespace proto {
14151
14732
  listName?: (string|null);
14152
14733
  labelIds?: string[];
14153
14734
  audienceExpression?: (string|null);
14735
+ customAudienceFbid?: (string|null);
14154
14736
  }
14155
14737
 
14156
14738
  class BusinessBroadcastListAction implements IBusinessBroadcastListAction {
@@ -14160,6 +14742,7 @@ export namespace proto {
14160
14742
  public listName?: (string|null);
14161
14743
  public labelIds?: string[];
14162
14744
  public audienceExpression?: (string|null);
14745
+ public customAudienceFbid?: (string|null);
14163
14746
  public static create(p?: IBusinessBroadcastListAction): BusinessBroadcastListAction;
14164
14747
  public static fromObject(d: { [k: string]: any }): BusinessBroadcastListAction;
14165
14748
  public static toObject(m: BusinessBroadcastListAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -14589,6 +15172,7 @@ export namespace proto {
14589
15172
  LOCKED = 13,
14590
15173
  INVITES = 14,
14591
15174
  THIRD_PARTY = 15,
15175
+ LEAD = 16,
14592
15176
  }
14593
15177
  }
14594
15178
 
@@ -14607,6 +15191,21 @@ export namespace proto {
14607
15191
  public toJSON(): { [k: string]: any };
14608
15192
  }
14609
15193
 
15194
+ interface ILabelSublistAction {
15195
+ subListId?: (number|null);
15196
+ }
15197
+
15198
+ class LabelSublistAction implements ILabelSublistAction {
15199
+ constructor(p?: ILabelSublistAction);
15200
+ public subListId?: (number|null);
15201
+ public static create(p?: ILabelSublistAction): LabelSublistAction;
15202
+ public static fromObject(d: { [k: string]: any }): LabelSublistAction;
15203
+ public static toObject(m: LabelSublistAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
15204
+ public static encode(m: ILabelSublistAction, w?: $protobuf.Writer): $protobuf.Writer;
15205
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LabelSublistAction;
15206
+ public toJSON(): { [k: string]: any };
15207
+ }
15208
+
14610
15209
  interface ILidContactAction {
14611
15210
  fullName?: (string|null);
14612
15211
  firstName?: (string|null);
@@ -15231,6 +15830,7 @@ export namespace proto {
15231
15830
  shouldPlaySoundForCallNotification?: (boolean|null);
15232
15831
  chatThemeId?: (string|null);
15233
15832
  colorSchemeId?: (string|null);
15833
+ stockWallpaperImageId?: (string|null);
15234
15834
  }
15235
15835
 
15236
15836
  class SettingsSyncAction implements ISettingsSyncAction {
@@ -15268,6 +15868,7 @@ export namespace proto {
15268
15868
  public shouldPlaySoundForCallNotification?: (boolean|null);
15269
15869
  public chatThemeId?: (string|null);
15270
15870
  public colorSchemeId?: (string|null);
15871
+ public stockWallpaperImageId?: (string|null);
15271
15872
  public static create(p?: ISettingsSyncAction): SettingsSyncAction;
15272
15873
  public static fromObject(d: { [k: string]: any }): SettingsSyncAction;
15273
15874
  public static toObject(m: SettingsSyncAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -15326,6 +15927,7 @@ export namespace proto {
15326
15927
  SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31,
15327
15928
  CHAT_THEME_ID = 32,
15328
15929
  COLOR_SCHEME_ID = 33,
15930
+ STOCK_WALLPAPER_IMAGE_ID = 34,
15329
15931
  }
15330
15932
 
15331
15933
  enum SettingPlatform {
@@ -15748,6 +16350,7 @@ export namespace proto {
15748
16350
  id?: (string|null);
15749
16351
  rootSecret?: (Uint8Array|null);
15750
16352
  epoch?: (Long|null);
16353
+ status?: (proto.SyncActionValue.WASARootSecretAction.RootSecretEntry.Status|null);
15751
16354
  }
15752
16355
 
15753
16356
  class RootSecretEntry implements IRootSecretEntry {
@@ -15755,6 +16358,7 @@ export namespace proto {
15755
16358
  public id?: (string|null);
15756
16359
  public rootSecret?: (Uint8Array|null);
15757
16360
  public epoch?: (Long|null);
16361
+ public status?: (proto.SyncActionValue.WASARootSecretAction.RootSecretEntry.Status|null);
15758
16362
  public static create(p?: IRootSecretEntry): RootSecretEntry;
15759
16363
  public static fromObject(d: { [k: string]: any }): RootSecretEntry;
15760
16364
  public static toObject(m: RootSecretEntry, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -15762,6 +16366,14 @@ export namespace proto {
15762
16366
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): RootSecretEntry;
15763
16367
  public toJSON(): { [k: string]: any };
15764
16368
  }
16369
+
16370
+ namespace RootSecretEntry {
16371
+
16372
+ enum Status {
16373
+ INACTIVE = 0,
16374
+ ACTIVE = 1,
16375
+ }
16376
+ }
15765
16377
  }
15766
16378
  }
15767
16379