@oxidezap/whatsapp-rust-bridge 0.17.0 → 0.18.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.
@@ -922,6 +922,25 @@ export namespace proto {
922
922
  public toJSON(): { [k: string]: any };
923
923
  }
924
924
 
925
+ interface IBackwardEdge {
926
+ encryptedPrevEpochAnonId?: (Uint8Array|null);
927
+ encryptedPrevEpochRootKey?: (Uint8Array|null);
928
+ prevEpochRootKeyFingerprint?: (Uint8Array|null);
929
+ }
930
+
931
+ class BackwardEdge implements IBackwardEdge {
932
+ constructor(p?: IBackwardEdge);
933
+ public encryptedPrevEpochAnonId?: (Uint8Array|null);
934
+ public encryptedPrevEpochRootKey?: (Uint8Array|null);
935
+ public prevEpochRootKeyFingerprint?: (Uint8Array|null);
936
+ public static create(p?: IBackwardEdge): BackwardEdge;
937
+ public static fromObject(d: { [k: string]: any }): BackwardEdge;
938
+ public static toObject(m: BackwardEdge, o?: $protobuf.IConversionOptions): { [k: string]: any };
939
+ public static encode(m: IBackwardEdge, w?: $protobuf.Writer): $protobuf.Writer;
940
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BackwardEdge;
941
+ public toJSON(): { [k: string]: any };
942
+ }
943
+
925
944
  interface IBizAccountLinkInfo {
926
945
  whatsappBizAcctFbid?: (Long|null);
927
946
  whatsappAcctNumber?: (string|null);
@@ -5046,6 +5065,152 @@ export namespace proto {
5046
5065
  public toJSON(): { [k: string]: any };
5047
5066
  }
5048
5067
 
5068
+ interface IDecryptMekForDistributionFromTransportSenderInput {
5069
+ mekDistribution?: (proto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient|null);
5070
+ mekId?: (Uint8Array|null);
5071
+ rosterHash?: (Uint8Array|null);
5072
+ recipientEncSk?: (Uint8Array|null);
5073
+ version?: (Long|null);
5074
+ conf?: (proto.IMinosClientConfig|null);
5075
+ }
5076
+
5077
+ class DecryptMekForDistributionFromTransportSenderInput implements IDecryptMekForDistributionFromTransportSenderInput {
5078
+ constructor(p?: IDecryptMekForDistributionFromTransportSenderInput);
5079
+ public mekDistribution?: (proto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient|null);
5080
+ public mekId?: (Uint8Array|null);
5081
+ public rosterHash?: (Uint8Array|null);
5082
+ public recipientEncSk?: (Uint8Array|null);
5083
+ public version?: (Long|null);
5084
+ public conf?: (proto.IMinosClientConfig|null);
5085
+ public static create(p?: IDecryptMekForDistributionFromTransportSenderInput): DecryptMekForDistributionFromTransportSenderInput;
5086
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionFromTransportSenderInput;
5087
+ public static toObject(m: DecryptMekForDistributionFromTransportSenderInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5088
+ public static encode(m: IDecryptMekForDistributionFromTransportSenderInput, w?: $protobuf.Writer): $protobuf.Writer;
5089
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionFromTransportSenderInput;
5090
+ public toJSON(): { [k: string]: any };
5091
+ }
5092
+
5093
+ namespace DecryptMekForDistributionFromTransportSenderInput {
5094
+
5095
+ interface ITransportSenderMEKDistributionSingleRecipient {
5096
+ encryptedMek?: (Uint8Array|null);
5097
+ ephemeralEncryptionPk?: (Uint8Array|null);
5098
+ signingPk?: (Uint8Array|null);
5099
+ signature?: (Uint8Array|null);
5100
+ recipientEpochHead?: (Uint8Array|null);
5101
+ }
5102
+
5103
+ class TransportSenderMEKDistributionSingleRecipient implements ITransportSenderMEKDistributionSingleRecipient {
5104
+ constructor(p?: ITransportSenderMEKDistributionSingleRecipient);
5105
+ public encryptedMek?: (Uint8Array|null);
5106
+ public ephemeralEncryptionPk?: (Uint8Array|null);
5107
+ public signingPk?: (Uint8Array|null);
5108
+ public signature?: (Uint8Array|null);
5109
+ public recipientEpochHead?: (Uint8Array|null);
5110
+ public static create(p?: ITransportSenderMEKDistributionSingleRecipient): TransportSenderMEKDistributionSingleRecipient;
5111
+ public static fromObject(d: { [k: string]: any }): TransportSenderMEKDistributionSingleRecipient;
5112
+ public static toObject(m: TransportSenderMEKDistributionSingleRecipient, o?: $protobuf.IConversionOptions): { [k: string]: any };
5113
+ public static encode(m: ITransportSenderMEKDistributionSingleRecipient, w?: $protobuf.Writer): $protobuf.Writer;
5114
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): TransportSenderMEKDistributionSingleRecipient;
5115
+ public toJSON(): { [k: string]: any };
5116
+ }
5117
+ }
5118
+
5119
+ interface IDecryptMekForDistributionFromTransportSenderResult {
5120
+ success?: (proto.IDecryptMekForDistributionFromTransportSenderSuccess|null);
5121
+ errorMessage?: (string|null);
5122
+ }
5123
+
5124
+ class DecryptMekForDistributionFromTransportSenderResult implements IDecryptMekForDistributionFromTransportSenderResult {
5125
+ constructor(p?: IDecryptMekForDistributionFromTransportSenderResult);
5126
+ public success?: (proto.IDecryptMekForDistributionFromTransportSenderSuccess|null);
5127
+ public errorMessage?: (string|null);
5128
+ public static create(p?: IDecryptMekForDistributionFromTransportSenderResult): DecryptMekForDistributionFromTransportSenderResult;
5129
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionFromTransportSenderResult;
5130
+ public static toObject(m: DecryptMekForDistributionFromTransportSenderResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5131
+ public static encode(m: IDecryptMekForDistributionFromTransportSenderResult, w?: $protobuf.Writer): $protobuf.Writer;
5132
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionFromTransportSenderResult;
5133
+ public toJSON(): { [k: string]: any };
5134
+ }
5135
+
5136
+ interface IDecryptMekForDistributionFromTransportSenderSuccess {
5137
+ mek?: (Uint8Array|null);
5138
+ }
5139
+
5140
+ class DecryptMekForDistributionFromTransportSenderSuccess implements IDecryptMekForDistributionFromTransportSenderSuccess {
5141
+ constructor(p?: IDecryptMekForDistributionFromTransportSenderSuccess);
5142
+ public mek?: (Uint8Array|null);
5143
+ public static create(p?: IDecryptMekForDistributionFromTransportSenderSuccess): DecryptMekForDistributionFromTransportSenderSuccess;
5144
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionFromTransportSenderSuccess;
5145
+ public static toObject(m: DecryptMekForDistributionFromTransportSenderSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
5146
+ public static encode(m: IDecryptMekForDistributionFromTransportSenderSuccess, w?: $protobuf.Writer): $protobuf.Writer;
5147
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionFromTransportSenderSuccess;
5148
+ public toJSON(): { [k: string]: any };
5149
+ }
5150
+
5151
+ interface IDecryptMekForDistributionInput {
5152
+ toMailboxSk?: (Uint8Array|null);
5153
+ fromPk?: (Uint8Array|null);
5154
+ mekId?: (Uint8Array|null);
5155
+ senderEpochHead?: (Uint8Array|null);
5156
+ rosterHash?: (Uint8Array|null);
5157
+ ciphertext?: (Uint8Array|null);
5158
+ toEpochHead?: (Uint8Array|null);
5159
+ mekEncryptionVersion?: (number|null);
5160
+ conf?: (proto.IMinosClientConfig|null);
5161
+ }
5162
+
5163
+ class DecryptMekForDistributionInput implements IDecryptMekForDistributionInput {
5164
+ constructor(p?: IDecryptMekForDistributionInput);
5165
+ public toMailboxSk?: (Uint8Array|null);
5166
+ public fromPk?: (Uint8Array|null);
5167
+ public mekId?: (Uint8Array|null);
5168
+ public senderEpochHead?: (Uint8Array|null);
5169
+ public rosterHash?: (Uint8Array|null);
5170
+ public ciphertext?: (Uint8Array|null);
5171
+ public toEpochHead?: (Uint8Array|null);
5172
+ public mekEncryptionVersion?: (number|null);
5173
+ public conf?: (proto.IMinosClientConfig|null);
5174
+ public static create(p?: IDecryptMekForDistributionInput): DecryptMekForDistributionInput;
5175
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionInput;
5176
+ public static toObject(m: DecryptMekForDistributionInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5177
+ public static encode(m: IDecryptMekForDistributionInput, w?: $protobuf.Writer): $protobuf.Writer;
5178
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionInput;
5179
+ public toJSON(): { [k: string]: any };
5180
+ }
5181
+
5182
+ interface IDecryptMekForDistributionResult {
5183
+ success?: (proto.IDecryptMekForDistributionSuccess|null);
5184
+ errorMessage?: (string|null);
5185
+ }
5186
+
5187
+ class DecryptMekForDistributionResult implements IDecryptMekForDistributionResult {
5188
+ constructor(p?: IDecryptMekForDistributionResult);
5189
+ public success?: (proto.IDecryptMekForDistributionSuccess|null);
5190
+ public errorMessage?: (string|null);
5191
+ public static create(p?: IDecryptMekForDistributionResult): DecryptMekForDistributionResult;
5192
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionResult;
5193
+ public static toObject(m: DecryptMekForDistributionResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5194
+ public static encode(m: IDecryptMekForDistributionResult, w?: $protobuf.Writer): $protobuf.Writer;
5195
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionResult;
5196
+ public toJSON(): { [k: string]: any };
5197
+ }
5198
+
5199
+ interface IDecryptMekForDistributionSuccess {
5200
+ mek?: (Uint8Array|null);
5201
+ }
5202
+
5203
+ class DecryptMekForDistributionSuccess implements IDecryptMekForDistributionSuccess {
5204
+ constructor(p?: IDecryptMekForDistributionSuccess);
5205
+ public mek?: (Uint8Array|null);
5206
+ public static create(p?: IDecryptMekForDistributionSuccess): DecryptMekForDistributionSuccess;
5207
+ public static fromObject(d: { [k: string]: any }): DecryptMekForDistributionSuccess;
5208
+ public static toObject(m: DecryptMekForDistributionSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
5209
+ public static encode(m: IDecryptMekForDistributionSuccess, w?: $protobuf.Writer): $protobuf.Writer;
5210
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptMekForDistributionSuccess;
5211
+ public toJSON(): { [k: string]: any };
5212
+ }
5213
+
5049
5214
  interface IDecryptMessageInput {
5050
5215
  epochRootKey?: (Uint8Array|null);
5051
5216
  epochAnonId?: (Uint8Array|null);
@@ -5086,6 +5251,236 @@ export namespace proto {
5086
5251
  public toJSON(): { [k: string]: any };
5087
5252
  }
5088
5253
 
5254
+ interface IDecryptSelfMmkDistributionInput {
5255
+ encryptedMmk?: (Uint8Array|null);
5256
+ exportRootKey?: (Uint8Array|null);
5257
+ mailboxHeadHash?: (Uint8Array|null);
5258
+ }
5259
+
5260
+ class DecryptSelfMmkDistributionInput implements IDecryptSelfMmkDistributionInput {
5261
+ constructor(p?: IDecryptSelfMmkDistributionInput);
5262
+ public encryptedMmk?: (Uint8Array|null);
5263
+ public exportRootKey?: (Uint8Array|null);
5264
+ public mailboxHeadHash?: (Uint8Array|null);
5265
+ public static create(p?: IDecryptSelfMmkDistributionInput): DecryptSelfMmkDistributionInput;
5266
+ public static fromObject(d: { [k: string]: any }): DecryptSelfMmkDistributionInput;
5267
+ public static toObject(m: DecryptSelfMmkDistributionInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5268
+ public static encode(m: IDecryptSelfMmkDistributionInput, w?: $protobuf.Writer): $protobuf.Writer;
5269
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptSelfMmkDistributionInput;
5270
+ public toJSON(): { [k: string]: any };
5271
+ }
5272
+
5273
+ interface IDecryptSelfMmkDistributionResult {
5274
+ success?: (proto.IDecryptSelfMmkDistributionSuccess|null);
5275
+ errorMessage?: (string|null);
5276
+ }
5277
+
5278
+ class DecryptSelfMmkDistributionResult implements IDecryptSelfMmkDistributionResult {
5279
+ constructor(p?: IDecryptSelfMmkDistributionResult);
5280
+ public success?: (proto.IDecryptSelfMmkDistributionSuccess|null);
5281
+ public errorMessage?: (string|null);
5282
+ public static create(p?: IDecryptSelfMmkDistributionResult): DecryptSelfMmkDistributionResult;
5283
+ public static fromObject(d: { [k: string]: any }): DecryptSelfMmkDistributionResult;
5284
+ public static toObject(m: DecryptSelfMmkDistributionResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5285
+ public static encode(m: IDecryptSelfMmkDistributionResult, w?: $protobuf.Writer): $protobuf.Writer;
5286
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptSelfMmkDistributionResult;
5287
+ public toJSON(): { [k: string]: any };
5288
+ }
5289
+
5290
+ interface IDecryptSelfMmkDistributionSuccess {
5291
+ mmkSeed?: (Uint8Array|null);
5292
+ }
5293
+
5294
+ class DecryptSelfMmkDistributionSuccess implements IDecryptSelfMmkDistributionSuccess {
5295
+ constructor(p?: IDecryptSelfMmkDistributionSuccess);
5296
+ public mmkSeed?: (Uint8Array|null);
5297
+ public static create(p?: IDecryptSelfMmkDistributionSuccess): DecryptSelfMmkDistributionSuccess;
5298
+ public static fromObject(d: { [k: string]: any }): DecryptSelfMmkDistributionSuccess;
5299
+ public static toObject(m: DecryptSelfMmkDistributionSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
5300
+ public static encode(m: IDecryptSelfMmkDistributionSuccess, w?: $protobuf.Writer): $protobuf.Writer;
5301
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DecryptSelfMmkDistributionSuccess;
5302
+ public toJSON(): { [k: string]: any };
5303
+ }
5304
+
5305
+ interface IDeriveAttachmentAccessTokenSecretInput {
5306
+ mediaKey?: (Uint8Array|null);
5307
+ }
5308
+
5309
+ class DeriveAttachmentAccessTokenSecretInput implements IDeriveAttachmentAccessTokenSecretInput {
5310
+ constructor(p?: IDeriveAttachmentAccessTokenSecretInput);
5311
+ public mediaKey?: (Uint8Array|null);
5312
+ public static create(p?: IDeriveAttachmentAccessTokenSecretInput): DeriveAttachmentAccessTokenSecretInput;
5313
+ public static fromObject(d: { [k: string]: any }): DeriveAttachmentAccessTokenSecretInput;
5314
+ public static toObject(m: DeriveAttachmentAccessTokenSecretInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5315
+ public static encode(m: IDeriveAttachmentAccessTokenSecretInput, w?: $protobuf.Writer): $protobuf.Writer;
5316
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveAttachmentAccessTokenSecretInput;
5317
+ public toJSON(): { [k: string]: any };
5318
+ }
5319
+
5320
+ interface IDeriveAttachmentAccessTokenSecretResult {
5321
+ attachmentAccessTokenSecret?: (Uint8Array|null);
5322
+ }
5323
+
5324
+ class DeriveAttachmentAccessTokenSecretResult implements IDeriveAttachmentAccessTokenSecretResult {
5325
+ constructor(p?: IDeriveAttachmentAccessTokenSecretResult);
5326
+ public attachmentAccessTokenSecret?: (Uint8Array|null);
5327
+ public static create(p?: IDeriveAttachmentAccessTokenSecretResult): DeriveAttachmentAccessTokenSecretResult;
5328
+ public static fromObject(d: { [k: string]: any }): DeriveAttachmentAccessTokenSecretResult;
5329
+ public static toObject(m: DeriveAttachmentAccessTokenSecretResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5330
+ public static encode(m: IDeriveAttachmentAccessTokenSecretResult, w?: $protobuf.Writer): $protobuf.Writer;
5331
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveAttachmentAccessTokenSecretResult;
5332
+ public toJSON(): { [k: string]: any };
5333
+ }
5334
+
5335
+ interface IDeriveAttachmentPrimaryKeySecretInput {
5336
+ mediaKey?: (Uint8Array|null);
5337
+ }
5338
+
5339
+ class DeriveAttachmentPrimaryKeySecretInput implements IDeriveAttachmentPrimaryKeySecretInput {
5340
+ constructor(p?: IDeriveAttachmentPrimaryKeySecretInput);
5341
+ public mediaKey?: (Uint8Array|null);
5342
+ public static create(p?: IDeriveAttachmentPrimaryKeySecretInput): DeriveAttachmentPrimaryKeySecretInput;
5343
+ public static fromObject(d: { [k: string]: any }): DeriveAttachmentPrimaryKeySecretInput;
5344
+ public static toObject(m: DeriveAttachmentPrimaryKeySecretInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5345
+ public static encode(m: IDeriveAttachmentPrimaryKeySecretInput, w?: $protobuf.Writer): $protobuf.Writer;
5346
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveAttachmentPrimaryKeySecretInput;
5347
+ public toJSON(): { [k: string]: any };
5348
+ }
5349
+
5350
+ interface IDeriveAttachmentPrimaryKeySecretResult {
5351
+ attachmentPrimaryKeySecret?: (Uint8Array|null);
5352
+ }
5353
+
5354
+ class DeriveAttachmentPrimaryKeySecretResult implements IDeriveAttachmentPrimaryKeySecretResult {
5355
+ constructor(p?: IDeriveAttachmentPrimaryKeySecretResult);
5356
+ public attachmentPrimaryKeySecret?: (Uint8Array|null);
5357
+ public static create(p?: IDeriveAttachmentPrimaryKeySecretResult): DeriveAttachmentPrimaryKeySecretResult;
5358
+ public static fromObject(d: { [k: string]: any }): DeriveAttachmentPrimaryKeySecretResult;
5359
+ public static toObject(m: DeriveAttachmentPrimaryKeySecretResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5360
+ public static encode(m: IDeriveAttachmentPrimaryKeySecretResult, w?: $protobuf.Writer): $protobuf.Writer;
5361
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveAttachmentPrimaryKeySecretResult;
5362
+ public toJSON(): { [k: string]: any };
5363
+ }
5364
+
5365
+ interface IDeriveMailboxAuthKeypairInput {
5366
+ exportRootKey?: (Uint8Array|null);
5367
+ epochNumber?: (Long|null);
5368
+ }
5369
+
5370
+ class DeriveMailboxAuthKeypairInput implements IDeriveMailboxAuthKeypairInput {
5371
+ constructor(p?: IDeriveMailboxAuthKeypairInput);
5372
+ public exportRootKey?: (Uint8Array|null);
5373
+ public epochNumber?: (Long|null);
5374
+ public static create(p?: IDeriveMailboxAuthKeypairInput): DeriveMailboxAuthKeypairInput;
5375
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxAuthKeypairInput;
5376
+ public static toObject(m: DeriveMailboxAuthKeypairInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5377
+ public static encode(m: IDeriveMailboxAuthKeypairInput, w?: $protobuf.Writer): $protobuf.Writer;
5378
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxAuthKeypairInput;
5379
+ public toJSON(): { [k: string]: any };
5380
+ }
5381
+
5382
+ interface IDeriveMailboxAuthKeypairResult {
5383
+ mailboxAuthPublicKey?: (Uint8Array|null);
5384
+ mailboxAuthPrivateKey?: (Uint8Array|null);
5385
+ }
5386
+
5387
+ class DeriveMailboxAuthKeypairResult implements IDeriveMailboxAuthKeypairResult {
5388
+ constructor(p?: IDeriveMailboxAuthKeypairResult);
5389
+ public mailboxAuthPublicKey?: (Uint8Array|null);
5390
+ public mailboxAuthPrivateKey?: (Uint8Array|null);
5391
+ public static create(p?: IDeriveMailboxAuthKeypairResult): DeriveMailboxAuthKeypairResult;
5392
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxAuthKeypairResult;
5393
+ public static toObject(m: DeriveMailboxAuthKeypairResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5394
+ public static encode(m: IDeriveMailboxAuthKeypairResult, w?: $protobuf.Writer): $protobuf.Writer;
5395
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxAuthKeypairResult;
5396
+ public toJSON(): { [k: string]: any };
5397
+ }
5398
+
5399
+ interface IDeriveMailboxEncryptionKeypairInput {
5400
+ exportRootKey?: (Uint8Array|null);
5401
+ epochNumber?: (Long|null);
5402
+ }
5403
+
5404
+ class DeriveMailboxEncryptionKeypairInput implements IDeriveMailboxEncryptionKeypairInput {
5405
+ constructor(p?: IDeriveMailboxEncryptionKeypairInput);
5406
+ public exportRootKey?: (Uint8Array|null);
5407
+ public epochNumber?: (Long|null);
5408
+ public static create(p?: IDeriveMailboxEncryptionKeypairInput): DeriveMailboxEncryptionKeypairInput;
5409
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxEncryptionKeypairInput;
5410
+ public static toObject(m: DeriveMailboxEncryptionKeypairInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5411
+ public static encode(m: IDeriveMailboxEncryptionKeypairInput, w?: $protobuf.Writer): $protobuf.Writer;
5412
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxEncryptionKeypairInput;
5413
+ public toJSON(): { [k: string]: any };
5414
+ }
5415
+
5416
+ interface IDeriveMailboxEncryptionKeypairResult {
5417
+ mailboxEncryptionPublicKey?: (Uint8Array|null);
5418
+ mailboxEncryptionPrivateKey?: (Uint8Array|null);
5419
+ }
5420
+
5421
+ class DeriveMailboxEncryptionKeypairResult implements IDeriveMailboxEncryptionKeypairResult {
5422
+ constructor(p?: IDeriveMailboxEncryptionKeypairResult);
5423
+ public mailboxEncryptionPublicKey?: (Uint8Array|null);
5424
+ public mailboxEncryptionPrivateKey?: (Uint8Array|null);
5425
+ public static create(p?: IDeriveMailboxEncryptionKeypairResult): DeriveMailboxEncryptionKeypairResult;
5426
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxEncryptionKeypairResult;
5427
+ public static toObject(m: DeriveMailboxEncryptionKeypairResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5428
+ public static encode(m: IDeriveMailboxEncryptionKeypairResult, w?: $protobuf.Writer): $protobuf.Writer;
5429
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxEncryptionKeypairResult;
5430
+ public toJSON(): { [k: string]: any };
5431
+ }
5432
+
5433
+ interface IDeriveMailboxSigningKeypairInput {
5434
+ exportRootKey?: (Uint8Array|null);
5435
+ epochNumber?: (Long|null);
5436
+ }
5437
+
5438
+ class DeriveMailboxSigningKeypairInput implements IDeriveMailboxSigningKeypairInput {
5439
+ constructor(p?: IDeriveMailboxSigningKeypairInput);
5440
+ public exportRootKey?: (Uint8Array|null);
5441
+ public epochNumber?: (Long|null);
5442
+ public static create(p?: IDeriveMailboxSigningKeypairInput): DeriveMailboxSigningKeypairInput;
5443
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxSigningKeypairInput;
5444
+ public static toObject(m: DeriveMailboxSigningKeypairInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5445
+ public static encode(m: IDeriveMailboxSigningKeypairInput, w?: $protobuf.Writer): $protobuf.Writer;
5446
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxSigningKeypairInput;
5447
+ public toJSON(): { [k: string]: any };
5448
+ }
5449
+
5450
+ interface IDeriveMailboxSigningKeypairResult {
5451
+ success?: (proto.IDeriveMailboxSigningKeypairSuccess|null);
5452
+ errorMessage?: (string|null);
5453
+ }
5454
+
5455
+ class DeriveMailboxSigningKeypairResult implements IDeriveMailboxSigningKeypairResult {
5456
+ constructor(p?: IDeriveMailboxSigningKeypairResult);
5457
+ public success?: (proto.IDeriveMailboxSigningKeypairSuccess|null);
5458
+ public errorMessage?: (string|null);
5459
+ public static create(p?: IDeriveMailboxSigningKeypairResult): DeriveMailboxSigningKeypairResult;
5460
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxSigningKeypairResult;
5461
+ public static toObject(m: DeriveMailboxSigningKeypairResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5462
+ public static encode(m: IDeriveMailboxSigningKeypairResult, w?: $protobuf.Writer): $protobuf.Writer;
5463
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxSigningKeypairResult;
5464
+ public toJSON(): { [k: string]: any };
5465
+ }
5466
+
5467
+ interface IDeriveMailboxSigningKeypairSuccess {
5468
+ mailboxSigningPublicKey?: (Uint8Array|null);
5469
+ mailboxSigningPrivateKey?: (Uint8Array|null);
5470
+ }
5471
+
5472
+ class DeriveMailboxSigningKeypairSuccess implements IDeriveMailboxSigningKeypairSuccess {
5473
+ constructor(p?: IDeriveMailboxSigningKeypairSuccess);
5474
+ public mailboxSigningPublicKey?: (Uint8Array|null);
5475
+ public mailboxSigningPrivateKey?: (Uint8Array|null);
5476
+ public static create(p?: IDeriveMailboxSigningKeypairSuccess): DeriveMailboxSigningKeypairSuccess;
5477
+ public static fromObject(d: { [k: string]: any }): DeriveMailboxSigningKeypairSuccess;
5478
+ public static toObject(m: DeriveMailboxSigningKeypairSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
5479
+ public static encode(m: IDeriveMailboxSigningKeypairSuccess, w?: $protobuf.Writer): $protobuf.Writer;
5480
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMailboxSigningKeypairSuccess;
5481
+ public toJSON(): { [k: string]: any };
5482
+ }
5483
+
5089
5484
  interface IDeriveMessageKeyInput {
5090
5485
  epochRootKey?: (Uint8Array|null);
5091
5486
  epochAnonId?: (Uint8Array|null);
@@ -5122,6 +5517,84 @@ export namespace proto {
5122
5517
  public toJSON(): { [k: string]: any };
5123
5518
  }
5124
5519
 
5520
+ interface IDeriveMessagingMailboxKeypairsInput {
5521
+ mmkSeed?: (Uint8Array|null);
5522
+ }
5523
+
5524
+ class DeriveMessagingMailboxKeypairsInput implements IDeriveMessagingMailboxKeypairsInput {
5525
+ constructor(p?: IDeriveMessagingMailboxKeypairsInput);
5526
+ public mmkSeed?: (Uint8Array|null);
5527
+ public static create(p?: IDeriveMessagingMailboxKeypairsInput): DeriveMessagingMailboxKeypairsInput;
5528
+ public static fromObject(d: { [k: string]: any }): DeriveMessagingMailboxKeypairsInput;
5529
+ public static toObject(m: DeriveMessagingMailboxKeypairsInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
5530
+ public static encode(m: IDeriveMessagingMailboxKeypairsInput, w?: $protobuf.Writer): $protobuf.Writer;
5531
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMessagingMailboxKeypairsInput;
5532
+ public toJSON(): { [k: string]: any };
5533
+ }
5534
+
5535
+ interface IDeriveMessagingMailboxKeypairsResult {
5536
+ success?: (proto.IDeriveMessagingMailboxKeypairsSuccess|null);
5537
+ errorMessage?: (string|null);
5538
+ }
5539
+
5540
+ class DeriveMessagingMailboxKeypairsResult implements IDeriveMessagingMailboxKeypairsResult {
5541
+ constructor(p?: IDeriveMessagingMailboxKeypairsResult);
5542
+ public success?: (proto.IDeriveMessagingMailboxKeypairsSuccess|null);
5543
+ public errorMessage?: (string|null);
5544
+ public static create(p?: IDeriveMessagingMailboxKeypairsResult): DeriveMessagingMailboxKeypairsResult;
5545
+ public static fromObject(d: { [k: string]: any }): DeriveMessagingMailboxKeypairsResult;
5546
+ public static toObject(m: DeriveMessagingMailboxKeypairsResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
5547
+ public static encode(m: IDeriveMessagingMailboxKeypairsResult, w?: $protobuf.Writer): $protobuf.Writer;
5548
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMessagingMailboxKeypairsResult;
5549
+ public toJSON(): { [k: string]: any };
5550
+ }
5551
+
5552
+ interface IDeriveMessagingMailboxKeypairsSuccess {
5553
+ encSk?: (Uint8Array|null);
5554
+ encPk?: (Uint8Array|null);
5555
+ authSk?: (Uint8Array|null);
5556
+ authPk?: (Uint8Array|null);
5557
+ }
5558
+
5559
+ class DeriveMessagingMailboxKeypairsSuccess implements IDeriveMessagingMailboxKeypairsSuccess {
5560
+ constructor(p?: IDeriveMessagingMailboxKeypairsSuccess);
5561
+ public encSk?: (Uint8Array|null);
5562
+ public encPk?: (Uint8Array|null);
5563
+ public authSk?: (Uint8Array|null);
5564
+ public authPk?: (Uint8Array|null);
5565
+ public static create(p?: IDeriveMessagingMailboxKeypairsSuccess): DeriveMessagingMailboxKeypairsSuccess;
5566
+ public static fromObject(d: { [k: string]: any }): DeriveMessagingMailboxKeypairsSuccess;
5567
+ public static toObject(m: DeriveMessagingMailboxKeypairsSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
5568
+ public static encode(m: IDeriveMessagingMailboxKeypairsSuccess, w?: $protobuf.Writer): $protobuf.Writer;
5569
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DeriveMessagingMailboxKeypairsSuccess;
5570
+ public toJSON(): { [k: string]: any };
5571
+ }
5572
+
5573
+ interface IDetachedDevicePublicData {
5574
+ deviceId?: (Long|null);
5575
+ name?: (Uint8Array|null);
5576
+ sigPk?: (Uint8Array|null);
5577
+ authPk?: (Uint8Array|null);
5578
+ encPk?: (Uint8Array|null);
5579
+ signature?: (Uint8Array|null);
5580
+ }
5581
+
5582
+ class DetachedDevicePublicData implements IDetachedDevicePublicData {
5583
+ constructor(p?: IDetachedDevicePublicData);
5584
+ public deviceId?: (Long|null);
5585
+ public name?: (Uint8Array|null);
5586
+ public sigPk?: (Uint8Array|null);
5587
+ public authPk?: (Uint8Array|null);
5588
+ public encPk?: (Uint8Array|null);
5589
+ public signature?: (Uint8Array|null);
5590
+ public static create(p?: IDetachedDevicePublicData): DetachedDevicePublicData;
5591
+ public static fromObject(d: { [k: string]: any }): DetachedDevicePublicData;
5592
+ public static toObject(m: DetachedDevicePublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
5593
+ public static encode(m: IDetachedDevicePublicData, w?: $protobuf.Writer): $protobuf.Writer;
5594
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DetachedDevicePublicData;
5595
+ public toJSON(): { [k: string]: any };
5596
+ }
5597
+
5125
5598
  interface IDeviceCapabilities {
5126
5599
  chatLockSupportLevel?: (proto.DeviceCapabilities.ChatLockSupportLevel|null);
5127
5600
  lidMigration?: (proto.DeviceCapabilities.ILIDMigration|null);
@@ -5130,6 +5603,8 @@ export namespace proto {
5130
5603
  memberNameTagPrimarySupport?: (proto.DeviceCapabilities.MemberNameTagPrimarySupport|null);
5131
5604
  aiThread?: (proto.DeviceCapabilities.IAiThread|null);
5132
5605
  aiFbidMigration?: (proto.DeviceCapabilities.IAiFbidMigration|null);
5606
+ bizAiSettingsSync?: (proto.DeviceCapabilities.IBizAiSettingsSync|null);
5607
+ contactRefresh?: (proto.DeviceCapabilities.IContactRefresh|null);
5133
5608
  }
5134
5609
 
5135
5610
  class DeviceCapabilities implements IDeviceCapabilities {
@@ -5141,6 +5616,8 @@ export namespace proto {
5141
5616
  public memberNameTagPrimarySupport?: (proto.DeviceCapabilities.MemberNameTagPrimarySupport|null);
5142
5617
  public aiThread?: (proto.DeviceCapabilities.IAiThread|null);
5143
5618
  public aiFbidMigration?: (proto.DeviceCapabilities.IAiFbidMigration|null);
5619
+ public bizAiSettingsSync?: (proto.DeviceCapabilities.IBizAiSettingsSync|null);
5620
+ public contactRefresh?: (proto.DeviceCapabilities.IContactRefresh|null);
5144
5621
  public static create(p?: IDeviceCapabilities): DeviceCapabilities;
5145
5622
  public static fromObject(d: { [k: string]: any }): DeviceCapabilities;
5146
5623
  public static toObject(m: DeviceCapabilities, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -5190,6 +5667,21 @@ export namespace proto {
5190
5667
  }
5191
5668
  }
5192
5669
 
5670
+ interface IBizAiSettingsSync {
5671
+ handoffRemovalTimingEnabled?: (boolean|null);
5672
+ }
5673
+
5674
+ class BizAiSettingsSync implements IBizAiSettingsSync {
5675
+ constructor(p?: IBizAiSettingsSync);
5676
+ public handoffRemovalTimingEnabled?: (boolean|null);
5677
+ public static create(p?: IBizAiSettingsSync): BizAiSettingsSync;
5678
+ public static fromObject(d: { [k: string]: any }): BizAiSettingsSync;
5679
+ public static toObject(m: BizAiSettingsSync, o?: $protobuf.IConversionOptions): { [k: string]: any };
5680
+ public static encode(m: IBizAiSettingsSync, w?: $protobuf.Writer): $protobuf.Writer;
5681
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): BizAiSettingsSync;
5682
+ public toJSON(): { [k: string]: any };
5683
+ }
5684
+
5193
5685
  interface IBusinessBroadcast {
5194
5686
  importListEnabled?: (boolean|null);
5195
5687
  companionSupportEnabled?: (boolean|null);
@@ -5219,6 +5711,21 @@ export namespace proto {
5219
5711
  FULL = 2,
5220
5712
  }
5221
5713
 
5714
+ interface IContactRefresh {
5715
+ refreshSupported?: (boolean|null);
5716
+ }
5717
+
5718
+ class ContactRefresh implements IContactRefresh {
5719
+ constructor(p?: IContactRefresh);
5720
+ public refreshSupported?: (boolean|null);
5721
+ public static create(p?: IContactRefresh): ContactRefresh;
5722
+ public static fromObject(d: { [k: string]: any }): ContactRefresh;
5723
+ public static toObject(m: ContactRefresh, o?: $protobuf.IConversionOptions): { [k: string]: any };
5724
+ public static encode(m: IContactRefresh, w?: $protobuf.Writer): $protobuf.Writer;
5725
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ContactRefresh;
5726
+ public toJSON(): { [k: string]: any };
5727
+ }
5728
+
5222
5729
  interface ILIDMigration {
5223
5730
  chatDbMigrationTimestamp?: (Long|null);
5224
5731
  }
@@ -5312,6 +5819,7 @@ export namespace proto {
5312
5819
  encryptionVersionSignature?: (Uint8Array|null);
5313
5820
  clientVersion?: (number|null);
5314
5821
  ocmfClientState?: (Uint8Array|null);
5822
+ epochStoragePrivateKey?: (Uint8Array|null);
5315
5823
  }
5316
5824
 
5317
5825
  class DeviceOutput implements IDeviceOutput {
@@ -5325,6 +5833,7 @@ export namespace proto {
5325
5833
  public encryptionVersionSignature?: (Uint8Array|null);
5326
5834
  public clientVersion?: (number|null);
5327
5835
  public ocmfClientState?: (Uint8Array|null);
5836
+ public epochStoragePrivateKey?: (Uint8Array|null);
5328
5837
  public static create(p?: IDeviceOutput): DeviceOutput;
5329
5838
  public static fromObject(d: { [k: string]: any }): DeviceOutput;
5330
5839
  public static toObject(m: DeviceOutput, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -5635,6 +6144,134 @@ export namespace proto {
5635
6144
  public toJSON(): { [k: string]: any };
5636
6145
  }
5637
6146
 
6147
+ interface IEncryptMekForDistributionInput {
6148
+ senderEpochHead?: (Uint8Array|null);
6149
+ toMailboxPk?: (Uint8Array|null);
6150
+ fromKeypair?: (proto.EncryptMekForDistributionInput.IMailboxAuthKP|null);
6151
+ mek?: (proto.IMekBundle|null);
6152
+ toEpochHead?: (Uint8Array|null);
6153
+ conf?: (proto.IMinosClientConfig|null);
6154
+ }
6155
+
6156
+ class EncryptMekForDistributionInput implements IEncryptMekForDistributionInput {
6157
+ constructor(p?: IEncryptMekForDistributionInput);
6158
+ public senderEpochHead?: (Uint8Array|null);
6159
+ public toMailboxPk?: (Uint8Array|null);
6160
+ public fromKeypair?: (proto.EncryptMekForDistributionInput.IMailboxAuthKP|null);
6161
+ public mek?: (proto.IMekBundle|null);
6162
+ public toEpochHead?: (Uint8Array|null);
6163
+ public conf?: (proto.IMinosClientConfig|null);
6164
+ public static create(p?: IEncryptMekForDistributionInput): EncryptMekForDistributionInput;
6165
+ public static fromObject(d: { [k: string]: any }): EncryptMekForDistributionInput;
6166
+ public static toObject(m: EncryptMekForDistributionInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
6167
+ public static encode(m: IEncryptMekForDistributionInput, w?: $protobuf.Writer): $protobuf.Writer;
6168
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EncryptMekForDistributionInput;
6169
+ public toJSON(): { [k: string]: any };
6170
+ }
6171
+
6172
+ namespace EncryptMekForDistributionInput {
6173
+
6174
+ interface IMailboxAuthKP {
6175
+ sk?: (Uint8Array|null);
6176
+ pk?: (Uint8Array|null);
6177
+ }
6178
+
6179
+ class MailboxAuthKP implements IMailboxAuthKP {
6180
+ constructor(p?: IMailboxAuthKP);
6181
+ public sk?: (Uint8Array|null);
6182
+ public pk?: (Uint8Array|null);
6183
+ public static create(p?: IMailboxAuthKP): MailboxAuthKP;
6184
+ public static fromObject(d: { [k: string]: any }): MailboxAuthKP;
6185
+ public static toObject(m: MailboxAuthKP, o?: $protobuf.IConversionOptions): { [k: string]: any };
6186
+ public static encode(m: IMailboxAuthKP, w?: $protobuf.Writer): $protobuf.Writer;
6187
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MailboxAuthKP;
6188
+ public toJSON(): { [k: string]: any };
6189
+ }
6190
+ }
6191
+
6192
+ interface IEncryptMekForDistributionResult {
6193
+ ciphertext?: (Uint8Array|null);
6194
+ version?: (Long|null);
6195
+ }
6196
+
6197
+ class EncryptMekForDistributionResult implements IEncryptMekForDistributionResult {
6198
+ constructor(p?: IEncryptMekForDistributionResult);
6199
+ public ciphertext?: (Uint8Array|null);
6200
+ public version?: (Long|null);
6201
+ public static create(p?: IEncryptMekForDistributionResult): EncryptMekForDistributionResult;
6202
+ public static fromObject(d: { [k: string]: any }): EncryptMekForDistributionResult;
6203
+ public static toObject(m: EncryptMekForDistributionResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
6204
+ public static encode(m: IEncryptMekForDistributionResult, w?: $protobuf.Writer): $protobuf.Writer;
6205
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EncryptMekForDistributionResult;
6206
+ public toJSON(): { [k: string]: any };
6207
+ }
6208
+
6209
+ interface IEncryptMeksForDistributionFromTransportSenderInput {
6210
+ mek?: (proto.IMekBundle|null);
6211
+ transportSigningKp?: (proto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP|null);
6212
+ recipientMailboxEncryptionPks?: Uint8Array[];
6213
+ recipientEpochHeads?: Uint8Array[];
6214
+ conf?: (proto.IMinosClientConfig|null);
6215
+ }
6216
+
6217
+ class EncryptMeksForDistributionFromTransportSenderInput implements IEncryptMeksForDistributionFromTransportSenderInput {
6218
+ constructor(p?: IEncryptMeksForDistributionFromTransportSenderInput);
6219
+ public mek?: (proto.IMekBundle|null);
6220
+ public transportSigningKp?: (proto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP|null);
6221
+ public recipientMailboxEncryptionPks?: Uint8Array[];
6222
+ public recipientEpochHeads?: Uint8Array[];
6223
+ public conf?: (proto.IMinosClientConfig|null);
6224
+ public static create(p?: IEncryptMeksForDistributionFromTransportSenderInput): EncryptMeksForDistributionFromTransportSenderInput;
6225
+ public static fromObject(d: { [k: string]: any }): EncryptMeksForDistributionFromTransportSenderInput;
6226
+ public static toObject(m: EncryptMeksForDistributionFromTransportSenderInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
6227
+ public static encode(m: IEncryptMeksForDistributionFromTransportSenderInput, w?: $protobuf.Writer): $protobuf.Writer;
6228
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EncryptMeksForDistributionFromTransportSenderInput;
6229
+ public toJSON(): { [k: string]: any };
6230
+ }
6231
+
6232
+ namespace EncryptMeksForDistributionFromTransportSenderInput {
6233
+
6234
+ interface ITransportSigningKP {
6235
+ sk?: (Uint8Array|null);
6236
+ pk?: (Uint8Array|null);
6237
+ }
6238
+
6239
+ class TransportSigningKP implements ITransportSigningKP {
6240
+ constructor(p?: ITransportSigningKP);
6241
+ public sk?: (Uint8Array|null);
6242
+ public pk?: (Uint8Array|null);
6243
+ public static create(p?: ITransportSigningKP): TransportSigningKP;
6244
+ public static fromObject(d: { [k: string]: any }): TransportSigningKP;
6245
+ public static toObject(m: TransportSigningKP, o?: $protobuf.IConversionOptions): { [k: string]: any };
6246
+ public static encode(m: ITransportSigningKP, w?: $protobuf.Writer): $protobuf.Writer;
6247
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): TransportSigningKP;
6248
+ public toJSON(): { [k: string]: any };
6249
+ }
6250
+ }
6251
+
6252
+ interface IEncryptMeksForDistributionFromTransportSenderResult {
6253
+ encryptedMeks?: Uint8Array[];
6254
+ ephemeralEncryptionPk?: (Uint8Array|null);
6255
+ signingPk?: (Uint8Array|null);
6256
+ signature?: (Uint8Array|null);
6257
+ version?: (Long|null);
6258
+ }
6259
+
6260
+ class EncryptMeksForDistributionFromTransportSenderResult implements IEncryptMeksForDistributionFromTransportSenderResult {
6261
+ constructor(p?: IEncryptMeksForDistributionFromTransportSenderResult);
6262
+ public encryptedMeks?: Uint8Array[];
6263
+ public ephemeralEncryptionPk?: (Uint8Array|null);
6264
+ public signingPk?: (Uint8Array|null);
6265
+ public signature?: (Uint8Array|null);
6266
+ public version?: (Long|null);
6267
+ public static create(p?: IEncryptMeksForDistributionFromTransportSenderResult): EncryptMeksForDistributionFromTransportSenderResult;
6268
+ public static fromObject(d: { [k: string]: any }): EncryptMeksForDistributionFromTransportSenderResult;
6269
+ public static toObject(m: EncryptMeksForDistributionFromTransportSenderResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
6270
+ public static encode(m: IEncryptMeksForDistributionFromTransportSenderResult, w?: $protobuf.Writer): $protobuf.Writer;
6271
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EncryptMeksForDistributionFromTransportSenderResult;
6272
+ public toJSON(): { [k: string]: any };
6273
+ }
6274
+
5638
6275
  interface IEncryptMessageInput {
5639
6276
  epochRootKey?: (Uint8Array|null);
5640
6277
  mailboxRootKey?: (Uint8Array|null);
@@ -5739,6 +6376,48 @@ export namespace proto {
5739
6376
  public toJSON(): { [k: string]: any };
5740
6377
  }
5741
6378
 
6379
+ interface IEpochPublicData {
6380
+ epochNumber?: (Long|null);
6381
+ userFbid?: (string|null);
6382
+ mailboxSigningPk?: (Uint8Array|null);
6383
+ mailboxEncryptionPk?: (Uint8Array|null);
6384
+ mailboxAuthPk?: (Uint8Array|null);
6385
+ previousEpochHead?: (Uint8Array|null);
6386
+ }
6387
+
6388
+ class EpochPublicData implements IEpochPublicData {
6389
+ constructor(p?: IEpochPublicData);
6390
+ public epochNumber?: (Long|null);
6391
+ public userFbid?: (string|null);
6392
+ public mailboxSigningPk?: (Uint8Array|null);
6393
+ public mailboxEncryptionPk?: (Uint8Array|null);
6394
+ public mailboxAuthPk?: (Uint8Array|null);
6395
+ public previousEpochHead?: (Uint8Array|null);
6396
+ public static create(p?: IEpochPublicData): EpochPublicData;
6397
+ public static fromObject(d: { [k: string]: any }): EpochPublicData;
6398
+ public static toObject(m: EpochPublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
6399
+ public static encode(m: IEpochPublicData, w?: $protobuf.Writer): $protobuf.Writer;
6400
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EpochPublicData;
6401
+ public toJSON(): { [k: string]: any };
6402
+ }
6403
+
6404
+ interface IEpochSignatures {
6405
+ selfSignature?: (Uint8Array|null);
6406
+ prevSignature?: (Uint8Array|null);
6407
+ }
6408
+
6409
+ class EpochSignatures implements IEpochSignatures {
6410
+ constructor(p?: IEpochSignatures);
6411
+ public selfSignature?: (Uint8Array|null);
6412
+ public prevSignature?: (Uint8Array|null);
6413
+ public static create(p?: IEpochSignatures): EpochSignatures;
6414
+ public static fromObject(d: { [k: string]: any }): EpochSignatures;
6415
+ public static toObject(m: EpochSignatures, o?: $protobuf.IConversionOptions): { [k: string]: any };
6416
+ public static encode(m: IEpochSignatures, w?: $protobuf.Writer): $protobuf.Writer;
6417
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EpochSignatures;
6418
+ public toJSON(): { [k: string]: any };
6419
+ }
6420
+
5742
6421
  interface IEventAdditionalMetadata {
5743
6422
  isStale?: (boolean|null);
5744
6423
  }
@@ -5792,6 +6471,223 @@ export namespace proto {
5792
6471
  public toJSON(): { [k: string]: any };
5793
6472
  }
5794
6473
 
6474
+ interface IExtendedContentMessage {
6475
+ associatedMessage?: (proto.ISubProtocol|null);
6476
+ targetType?: (extendedContentMessageExtendedContentType|null);
6477
+ targetUsername?: (string|null);
6478
+ targetId?: (string|null);
6479
+ targetExpiringAtSec?: (Long|null);
6480
+ xmaLayoutType?: (extendedContentMessageXmaLayoutType|null);
6481
+ ctas?: proto.ExtendedContentMessage.ICTA[];
6482
+ previews?: proto.ISubProtocol[];
6483
+ titleText?: (string|null);
6484
+ subtitleText?: (string|null);
6485
+ maxTitleNumOfLines?: (number|null);
6486
+ maxSubtitleNumOfLines?: (number|null);
6487
+ favicon?: (proto.ISubProtocol|null);
6488
+ headerImage?: (proto.ISubProtocol|null);
6489
+ headerTitle?: (string|null);
6490
+ overlayIconGlyph?: (proto.ExtendedContentMessage.extendedContentMessageOverlayIconGlyph|null);
6491
+ overlayTitle?: (string|null);
6492
+ overlayDescription?: (string|null);
6493
+ sentWithMessageId?: (string|null);
6494
+ messageText?: (string|null);
6495
+ headerSubtitle?: (string|null);
6496
+ xmaDataclass?: (string|null);
6497
+ contentRef?: (string|null);
6498
+ mentionedJid?: string[];
6499
+ commands?: proto.ICommand[];
6500
+ mentions?: proto.IMention[];
6501
+ xmaDataclassType?: (extendedContentMessageXmaDataclassType|null);
6502
+ signedXmaDataclassValidation?: (string|null);
6503
+ featureSharedSessionId?: (string|null);
6504
+ }
6505
+
6506
+ class ExtendedContentMessage implements IExtendedContentMessage {
6507
+ constructor(p?: IExtendedContentMessage);
6508
+ public associatedMessage?: (proto.ISubProtocol|null);
6509
+ public targetType?: (extendedContentMessageExtendedContentType|null);
6510
+ public targetUsername?: (string|null);
6511
+ public targetId?: (string|null);
6512
+ public targetExpiringAtSec?: (Long|null);
6513
+ public xmaLayoutType?: (extendedContentMessageXmaLayoutType|null);
6514
+ public ctas?: proto.ExtendedContentMessage.ICTA[];
6515
+ public previews?: proto.ISubProtocol[];
6516
+ public titleText?: (string|null);
6517
+ public subtitleText?: (string|null);
6518
+ public maxTitleNumOfLines?: (number|null);
6519
+ public maxSubtitleNumOfLines?: (number|null);
6520
+ public favicon?: (proto.ISubProtocol|null);
6521
+ public headerImage?: (proto.ISubProtocol|null);
6522
+ public headerTitle?: (string|null);
6523
+ public overlayIconGlyph?: (proto.ExtendedContentMessage.extendedContentMessageOverlayIconGlyph|null);
6524
+ public overlayTitle?: (string|null);
6525
+ public overlayDescription?: (string|null);
6526
+ public sentWithMessageId?: (string|null);
6527
+ public messageText?: (string|null);
6528
+ public headerSubtitle?: (string|null);
6529
+ public xmaDataclass?: (string|null);
6530
+ public contentRef?: (string|null);
6531
+ public mentionedJid?: string[];
6532
+ public commands?: proto.ICommand[];
6533
+ public mentions?: proto.IMention[];
6534
+ public xmaDataclassType?: (extendedContentMessageXmaDataclassType|null);
6535
+ public signedXmaDataclassValidation?: (string|null);
6536
+ public featureSharedSessionId?: (string|null);
6537
+ public static create(p?: IExtendedContentMessage): ExtendedContentMessage;
6538
+ public static fromObject(d: { [k: string]: any }): ExtendedContentMessage;
6539
+ public static toObject(m: ExtendedContentMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
6540
+ public static encode(m: IExtendedContentMessage, w?: $protobuf.Writer): $protobuf.Writer;
6541
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): ExtendedContentMessage;
6542
+ public toJSON(): { [k: string]: any };
6543
+ }
6544
+
6545
+ namespace ExtendedContentMessage {
6546
+
6547
+ interface ICTA {
6548
+ buttonType?: (extendedContentMessageCtaButtonType|null);
6549
+ title?: (string|null);
6550
+ actionUrl?: (string|null);
6551
+ nativeUrl?: (string|null);
6552
+ ctaType?: (string|null);
6553
+ actionContentBlob?: (string|null);
6554
+ }
6555
+
6556
+ class CTA implements ICTA {
6557
+ constructor(p?: ICTA);
6558
+ public buttonType?: (extendedContentMessageCtaButtonType|null);
6559
+ public title?: (string|null);
6560
+ public actionUrl?: (string|null);
6561
+ public nativeUrl?: (string|null);
6562
+ public ctaType?: (string|null);
6563
+ public actionContentBlob?: (string|null);
6564
+ public static create(p?: ICTA): CTA;
6565
+ public static fromObject(d: { [k: string]: any }): CTA;
6566
+ public static toObject(m: CTA, o?: $protobuf.IConversionOptions): { [k: string]: any };
6567
+ public static encode(m: ICTA, w?: $protobuf.Writer): $protobuf.Writer;
6568
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): CTA;
6569
+ public toJSON(): { [k: string]: any };
6570
+ }
6571
+
6572
+ enum extendedContentMessageOverlayIconGlyph {
6573
+ INFO = 0,
6574
+ EYE_OFF = 1,
6575
+ NEWS_OFF = 2,
6576
+ WARNING = 3,
6577
+ PRIVATE = 4,
6578
+ NONE = 5,
6579
+ MEDIA_LABEL = 6,
6580
+ POST_COVER = 7,
6581
+ POST_LABEL = 8,
6582
+ WARNING_SCREENS = 9,
6583
+ }
6584
+ }
6585
+
6586
+ enum extendedContentMessageCtaButtonType {
6587
+ OPEN_NATIVE = 11,
6588
+ }
6589
+
6590
+ enum extendedContentMessageExtendedContentType {
6591
+ UNSUPPORTED = -1,
6592
+ IG_STORY_PHOTO_MENTION = 4,
6593
+ IG_SINGLE_IMAGE_POST_SHARE = 9,
6594
+ IG_MULTIPOST_SHARE = 10,
6595
+ IG_SINGLE_VIDEO_POST_SHARE = 11,
6596
+ IG_STORY_PHOTO_SHARE = 12,
6597
+ IG_STORY_VIDEO_SHARE = 13,
6598
+ IG_CLIPS_SHARE = 14,
6599
+ IG_IGTV_SHARE = 15,
6600
+ IG_SHOP_SHARE = 16,
6601
+ IG_PROFILE_SHARE = 19,
6602
+ IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20,
6603
+ IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21,
6604
+ IG_STORY_REPLY = 22,
6605
+ IG_STORY_REACTION = 23,
6606
+ IG_STORY_VIDEO_MENTION = 24,
6607
+ IG_STORY_HIGHLIGHT_REPLY = 25,
6608
+ IG_STORY_HIGHLIGHT_REACTION = 26,
6609
+ IG_EXTERNAL_LINK = 27,
6610
+ IG_RECEIVER_FETCH = 28,
6611
+ FB_FEED_SHARE = 1000,
6612
+ FB_STORY_REPLY = 1001,
6613
+ FB_STORY_SHARE = 1002,
6614
+ FB_STORY_MENTION = 1003,
6615
+ FB_FEED_VIDEO_SHARE = 1004,
6616
+ FB_GAMING_CUSTOM_UPDATE = 1005,
6617
+ FB_PRODUCER_STORY_REPLY = 1006,
6618
+ FB_EVENT = 1007,
6619
+ FB_FEED_POST_PRIVATE_REPLY = 1008,
6620
+ FB_SHORT = 1009,
6621
+ FB_COMMENT_MENTION_SHARE = 1010,
6622
+ FB_POST_MENTION = 1011,
6623
+ FB_PROFILE_DIRECTORY_ITEM = 1013,
6624
+ FB_FEED_POST_REACTION_REPLY = 1014,
6625
+ FB_QUICKSNAP_REPLY = 1015,
6626
+ MSG_EXTERNAL_LINK_SHARE = 2000,
6627
+ MSG_P2P_PAYMENT = 2001,
6628
+ MSG_LOCATION_SHARING = 2002,
6629
+ MSG_LOCATION_SHARING_V2 = 2003,
6630
+ MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004,
6631
+ MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005,
6632
+ MSG_RECEIVER_FETCH = 2006,
6633
+ MSG_IG_MEDIA_SHARE = 2007,
6634
+ MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008,
6635
+ MSG_REELS_LIST = 2009,
6636
+ MSG_CONTACT = 2010,
6637
+ MSG_THREADS_POST_SHARE = 2011,
6638
+ MSG_FILE = 2012,
6639
+ MSG_AVATAR_DETAILS = 2013,
6640
+ MSG_AI_CONTACT = 2014,
6641
+ MSG_MEMORIES_SHARE = 2015,
6642
+ MSG_SHARED_ALBUM_REPLY = 2016,
6643
+ MSG_SHARED_ALBUM = 2017,
6644
+ MSG_OCCAMADILLO_XMA = 2018,
6645
+ MSG_GEN_AI_SUBSCRIPTION = 2021,
6646
+ MSG_GEN_AI_REMINDER = 2022,
6647
+ MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023,
6648
+ MSG_NOTE_REPLY = 2024,
6649
+ MSG_NOTE_MENTION = 2025,
6650
+ GEN_AI_ENTITY = 2026,
6651
+ MSG_OPG_P2P_PAYMENT = 2027,
6652
+ GEN_AI_RICH_RESPONSE = 2028,
6653
+ MSG_MUSIC_STICKER = 2029,
6654
+ MSG_PHONE_NUMBER = 2030,
6655
+ AI_ACTIVITY_SHARE = 2031,
6656
+ MSG_PRIVATE_XMA = 2032,
6657
+ MSG_SOCIAL_CUE_MEMORIES = 2033,
6658
+ MSG_MANUS_GROWTH_REFERRAL = 2060,
6659
+ MSG_MOMENT_LINK = 2061,
6660
+ MSG_HORIZON_WEEL = 2062,
6661
+ MSG_MOMENT_ADDED = 2063,
6662
+ RTC_AUDIO_CALL = 3000,
6663
+ RTC_VIDEO_CALL = 3001,
6664
+ RTC_MISSED_AUDIO_CALL = 3002,
6665
+ RTC_MISSED_VIDEO_CALL = 3003,
6666
+ RTC_GROUP_AUDIO_CALL = 3004,
6667
+ RTC_GROUP_VIDEO_CALL = 3005,
6668
+ RTC_MISSED_GROUP_AUDIO_CALL = 3006,
6669
+ RTC_MISSED_GROUP_VIDEO_CALL = 3007,
6670
+ RTC_ONGOING_AUDIO_CALL = 3008,
6671
+ RTC_ONGOING_VIDEO_CALL = 3009,
6672
+ MSG_RECEIVER_FETCH_FALLBACK = 3025,
6673
+ DATACLASS_SENDER_COPY = 4000,
6674
+ }
6675
+
6676
+ enum extendedContentMessageXmaDataclassType {
6677
+ SENDER_COPY = 0,
6678
+ SERVER = 1,
6679
+ SIGNED_CLIENT = 2,
6680
+ }
6681
+
6682
+ enum extendedContentMessageXmaLayoutType {
6683
+ SINGLE = 0,
6684
+ HSCROLL = 1,
6685
+ PORTRAIT = 3,
6686
+ STANDARD_DXMA = 12,
6687
+ LIST_DXMA = 15,
6688
+ GRID = 16,
6689
+ }
6690
+
5795
6691
  interface IExternalBlobReference {
5796
6692
  mediaKey?: (Uint8Array|null);
5797
6693
  directPath?: (string|null);
@@ -5918,6 +6814,66 @@ export namespace proto {
5918
6814
  IGNORE = 2,
5919
6815
  }
5920
6816
 
6817
+ interface IGenerateMekInput {
6818
+ epochHeads?: Uint8Array[];
6819
+ }
6820
+
6821
+ class GenerateMekInput implements IGenerateMekInput {
6822
+ constructor(p?: IGenerateMekInput);
6823
+ public epochHeads?: Uint8Array[];
6824
+ public static create(p?: IGenerateMekInput): GenerateMekInput;
6825
+ public static fromObject(d: { [k: string]: any }): GenerateMekInput;
6826
+ public static toObject(m: GenerateMekInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
6827
+ public static encode(m: IGenerateMekInput, w?: $protobuf.Writer): $protobuf.Writer;
6828
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): GenerateMekInput;
6829
+ public toJSON(): { [k: string]: any };
6830
+ }
6831
+
6832
+ interface IGenerateMekResult {
6833
+ mek?: (proto.IMekBundle|null);
6834
+ }
6835
+
6836
+ class GenerateMekResult implements IGenerateMekResult {
6837
+ constructor(p?: IGenerateMekResult);
6838
+ public mek?: (proto.IMekBundle|null);
6839
+ public static create(p?: IGenerateMekResult): GenerateMekResult;
6840
+ public static fromObject(d: { [k: string]: any }): GenerateMekResult;
6841
+ public static toObject(m: GenerateMekResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
6842
+ public static encode(m: IGenerateMekResult, w?: $protobuf.Writer): $protobuf.Writer;
6843
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): GenerateMekResult;
6844
+ public toJSON(): { [k: string]: any };
6845
+ }
6846
+
6847
+ interface IGenerateMekRosterHashInput {
6848
+ epochHeads?: Uint8Array[];
6849
+ }
6850
+
6851
+ class GenerateMekRosterHashInput implements IGenerateMekRosterHashInput {
6852
+ constructor(p?: IGenerateMekRosterHashInput);
6853
+ public epochHeads?: Uint8Array[];
6854
+ public static create(p?: IGenerateMekRosterHashInput): GenerateMekRosterHashInput;
6855
+ public static fromObject(d: { [k: string]: any }): GenerateMekRosterHashInput;
6856
+ public static toObject(m: GenerateMekRosterHashInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
6857
+ public static encode(m: IGenerateMekRosterHashInput, w?: $protobuf.Writer): $protobuf.Writer;
6858
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): GenerateMekRosterHashInput;
6859
+ public toJSON(): { [k: string]: any };
6860
+ }
6861
+
6862
+ interface IGenerateMekRosterHashResult {
6863
+ rosterHash?: (Uint8Array|null);
6864
+ }
6865
+
6866
+ class GenerateMekRosterHashResult implements IGenerateMekRosterHashResult {
6867
+ constructor(p?: IGenerateMekRosterHashResult);
6868
+ public rosterHash?: (Uint8Array|null);
6869
+ public static create(p?: IGenerateMekRosterHashResult): GenerateMekRosterHashResult;
6870
+ public static fromObject(d: { [k: string]: any }): GenerateMekRosterHashResult;
6871
+ public static toObject(m: GenerateMekRosterHashResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
6872
+ public static encode(m: IGenerateMekRosterHashResult, w?: $protobuf.Writer): $protobuf.Writer;
6873
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): GenerateMekRosterHashResult;
6874
+ public toJSON(): { [k: string]: any };
6875
+ }
6876
+
5921
6877
  interface IGlobalSettings {
5922
6878
  lightThemeWallpaper?: (proto.IWallpaperSettings|null);
5923
6879
  mediaVisibility?: (proto.MediaVisibility|null);
@@ -6813,89 +7769,526 @@ export namespace proto {
6813
7769
  public toJSON(): { [k: string]: any };
6814
7770
  }
6815
7771
 
6816
- interface ILIDMigrationMappingSyncPayload {
6817
- pnToLidMappings?: proto.ILIDMigrationMapping[];
6818
- chatDbMigrationTimestamp?: (Long|null);
7772
+ interface ILIDMigrationMappingSyncPayload {
7773
+ pnToLidMappings?: proto.ILIDMigrationMapping[];
7774
+ chatDbMigrationTimestamp?: (Long|null);
7775
+ }
7776
+
7777
+ class LIDMigrationMappingSyncPayload implements ILIDMigrationMappingSyncPayload {
7778
+ constructor(p?: ILIDMigrationMappingSyncPayload);
7779
+ public pnToLidMappings?: proto.ILIDMigrationMapping[];
7780
+ public chatDbMigrationTimestamp?: (Long|null);
7781
+ public static create(p?: ILIDMigrationMappingSyncPayload): LIDMigrationMappingSyncPayload;
7782
+ public static fromObject(d: { [k: string]: any }): LIDMigrationMappingSyncPayload;
7783
+ public static toObject(m: LIDMigrationMappingSyncPayload, o?: $protobuf.IConversionOptions): { [k: string]: any };
7784
+ public static encode(m: ILIDMigrationMappingSyncPayload, w?: $protobuf.Writer): $protobuf.Writer;
7785
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LIDMigrationMappingSyncPayload;
7786
+ public toJSON(): { [k: string]: any };
7787
+ }
7788
+
7789
+ interface ILimitSharing {
7790
+ sharingLimited?: (boolean|null);
7791
+ trigger?: (proto.LimitSharing.TriggerType|null);
7792
+ limitSharingSettingTimestamp?: (Long|null);
7793
+ initiatedByMe?: (boolean|null);
7794
+ }
7795
+
7796
+ class LimitSharing implements ILimitSharing {
7797
+ constructor(p?: ILimitSharing);
7798
+ public sharingLimited?: (boolean|null);
7799
+ public trigger?: (proto.LimitSharing.TriggerType|null);
7800
+ public limitSharingSettingTimestamp?: (Long|null);
7801
+ public initiatedByMe?: (boolean|null);
7802
+ public static create(p?: ILimitSharing): LimitSharing;
7803
+ public static fromObject(d: { [k: string]: any }): LimitSharing;
7804
+ public static toObject(m: LimitSharing, o?: $protobuf.IConversionOptions): { [k: string]: any };
7805
+ public static encode(m: ILimitSharing, w?: $protobuf.Writer): $protobuf.Writer;
7806
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LimitSharing;
7807
+ public toJSON(): { [k: string]: any };
7808
+ }
7809
+
7810
+ namespace LimitSharing {
7811
+
7812
+ enum TriggerType {
7813
+ UNKNOWN = 0,
7814
+ CHAT_SETTING = 1,
7815
+ BIZ_SUPPORTS_FB_HOSTING = 2,
7816
+ UNKNOWN_GROUP = 3,
7817
+ }
7818
+ }
7819
+
7820
+ interface ILocalizedName {
7821
+ lg?: (string|null);
7822
+ lc?: (string|null);
7823
+ verifiedName?: (string|null);
7824
+ }
7825
+
7826
+ class LocalizedName implements ILocalizedName {
7827
+ constructor(p?: ILocalizedName);
7828
+ public lg?: (string|null);
7829
+ public lc?: (string|null);
7830
+ public verifiedName?: (string|null);
7831
+ public static create(p?: ILocalizedName): LocalizedName;
7832
+ public static fromObject(d: { [k: string]: any }): LocalizedName;
7833
+ public static toObject(m: LocalizedName, o?: $protobuf.IConversionOptions): { [k: string]: any };
7834
+ public static encode(m: ILocalizedName, w?: $protobuf.Writer): $protobuf.Writer;
7835
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LocalizedName;
7836
+ public toJSON(): { [k: string]: any };
7837
+ }
7838
+
7839
+ interface ILocation {
7840
+ degreesLatitude?: (number|null);
7841
+ degreesLongitude?: (number|null);
7842
+ name?: (string|null);
7843
+ }
7844
+
7845
+ class Location implements ILocation {
7846
+ constructor(p?: ILocation);
7847
+ public degreesLatitude?: (number|null);
7848
+ public degreesLongitude?: (number|null);
7849
+ public name?: (string|null);
7850
+ public static create(p?: ILocation): Location;
7851
+ public static fromObject(d: { [k: string]: any }): Location;
7852
+ public static toObject(m: Location, o?: $protobuf.IConversionOptions): { [k: string]: any };
7853
+ public static encode(m: ILocation, w?: $protobuf.Writer): $protobuf.Writer;
7854
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): Location;
7855
+ public toJSON(): { [k: string]: any };
7856
+ }
7857
+
7858
+ interface IMandrakeDecryptMekInput {
7859
+ encryptedMek?: (Uint8Array|null);
7860
+ recipientsHash?: (Uint8Array|null);
7861
+ recipientEncSk?: (Uint8Array|null);
7862
+ mekEncryptionVersion?: (Long|null);
7863
+ conf?: (proto.IMinosClientConfig|null);
7864
+ recipientMmk?: (proto.IMessagingMailboxPublicData|null);
7865
+ mekId?: (Uint8Array|null);
7866
+ recipientMembershipProof?: (proto.IMerkleMembershipProof|null);
7867
+ mmkSender?: (proto.MandrakeDecryptMekInput.IMmkSenderPublicData|null);
7868
+ epochSender?: (proto.MandrakeDecryptMekInput.IEpochSenderPublicData|null);
7869
+ precomputedEpochSender?: (proto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData|null);
7870
+ }
7871
+
7872
+ class MandrakeDecryptMekInput implements IMandrakeDecryptMekInput {
7873
+ constructor(p?: IMandrakeDecryptMekInput);
7874
+ public encryptedMek?: (Uint8Array|null);
7875
+ public recipientsHash?: (Uint8Array|null);
7876
+ public recipientEncSk?: (Uint8Array|null);
7877
+ public mekEncryptionVersion?: (Long|null);
7878
+ public conf?: (proto.IMinosClientConfig|null);
7879
+ public recipientMmk?: (proto.IMessagingMailboxPublicData|null);
7880
+ public mekId?: (Uint8Array|null);
7881
+ public recipientMembershipProof?: (proto.IMerkleMembershipProof|null);
7882
+ public mmkSender?: (proto.MandrakeDecryptMekInput.IMmkSenderPublicData|null);
7883
+ public epochSender?: (proto.MandrakeDecryptMekInput.IEpochSenderPublicData|null);
7884
+ public precomputedEpochSender?: (proto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData|null);
7885
+ public static create(p?: IMandrakeDecryptMekInput): MandrakeDecryptMekInput;
7886
+ public static fromObject(d: { [k: string]: any }): MandrakeDecryptMekInput;
7887
+ public static toObject(m: MandrakeDecryptMekInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
7888
+ public static encode(m: IMandrakeDecryptMekInput, w?: $protobuf.Writer): $protobuf.Writer;
7889
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeDecryptMekInput;
7890
+ public toJSON(): { [k: string]: any };
7891
+ }
7892
+
7893
+ namespace MandrakeDecryptMekInput {
7894
+
7895
+ interface IEpochSenderPublicData {
7896
+ epochPublicData?: (proto.IEpochPublicData|null);
7897
+ }
7898
+
7899
+ class EpochSenderPublicData implements IEpochSenderPublicData {
7900
+ constructor(p?: IEpochSenderPublicData);
7901
+ public epochPublicData?: (proto.IEpochPublicData|null);
7902
+ public static create(p?: IEpochSenderPublicData): EpochSenderPublicData;
7903
+ public static fromObject(d: { [k: string]: any }): EpochSenderPublicData;
7904
+ public static toObject(m: EpochSenderPublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
7905
+ public static encode(m: IEpochSenderPublicData, w?: $protobuf.Writer): $protobuf.Writer;
7906
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EpochSenderPublicData;
7907
+ public toJSON(): { [k: string]: any };
7908
+ }
7909
+
7910
+ interface IMmkSenderPublicData {
7911
+ mmkPublicData?: (proto.IMessagingMailboxPublicData|null);
7912
+ }
7913
+
7914
+ class MmkSenderPublicData implements IMmkSenderPublicData {
7915
+ constructor(p?: IMmkSenderPublicData);
7916
+ public mmkPublicData?: (proto.IMessagingMailboxPublicData|null);
7917
+ public static create(p?: IMmkSenderPublicData): MmkSenderPublicData;
7918
+ public static fromObject(d: { [k: string]: any }): MmkSenderPublicData;
7919
+ public static toObject(m: MmkSenderPublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
7920
+ public static encode(m: IMmkSenderPublicData, w?: $protobuf.Writer): $protobuf.Writer;
7921
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkSenderPublicData;
7922
+ public toJSON(): { [k: string]: any };
7923
+ }
7924
+
7925
+ interface IPrecomputedEpochSenderPublicData {
7926
+ authPk?: (Uint8Array|null);
7927
+ epochHead?: (Uint8Array|null);
7928
+ }
7929
+
7930
+ class PrecomputedEpochSenderPublicData implements IPrecomputedEpochSenderPublicData {
7931
+ constructor(p?: IPrecomputedEpochSenderPublicData);
7932
+ public authPk?: (Uint8Array|null);
7933
+ public epochHead?: (Uint8Array|null);
7934
+ public static create(p?: IPrecomputedEpochSenderPublicData): PrecomputedEpochSenderPublicData;
7935
+ public static fromObject(d: { [k: string]: any }): PrecomputedEpochSenderPublicData;
7936
+ public static toObject(m: PrecomputedEpochSenderPublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
7937
+ public static encode(m: IPrecomputedEpochSenderPublicData, w?: $protobuf.Writer): $protobuf.Writer;
7938
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): PrecomputedEpochSenderPublicData;
7939
+ public toJSON(): { [k: string]: any };
7940
+ }
7941
+ }
7942
+
7943
+ interface IMandrakeDecryptMekResult {
7944
+ success?: (proto.IMandrakeDecryptMekSuccess|null);
7945
+ errorMessage?: (string|null);
7946
+ }
7947
+
7948
+ class MandrakeDecryptMekResult implements IMandrakeDecryptMekResult {
7949
+ constructor(p?: IMandrakeDecryptMekResult);
7950
+ public success?: (proto.IMandrakeDecryptMekSuccess|null);
7951
+ public errorMessage?: (string|null);
7952
+ public static create(p?: IMandrakeDecryptMekResult): MandrakeDecryptMekResult;
7953
+ public static fromObject(d: { [k: string]: any }): MandrakeDecryptMekResult;
7954
+ public static toObject(m: MandrakeDecryptMekResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
7955
+ public static encode(m: IMandrakeDecryptMekResult, w?: $protobuf.Writer): $protobuf.Writer;
7956
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeDecryptMekResult;
7957
+ public toJSON(): { [k: string]: any };
7958
+ }
7959
+
7960
+ interface IMandrakeDecryptMekSuccess {
7961
+ mek?: (Uint8Array|null);
7962
+ }
7963
+
7964
+ class MandrakeDecryptMekSuccess implements IMandrakeDecryptMekSuccess {
7965
+ constructor(p?: IMandrakeDecryptMekSuccess);
7966
+ public mek?: (Uint8Array|null);
7967
+ public static create(p?: IMandrakeDecryptMekSuccess): MandrakeDecryptMekSuccess;
7968
+ public static fromObject(d: { [k: string]: any }): MandrakeDecryptMekSuccess;
7969
+ public static toObject(m: MandrakeDecryptMekSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
7970
+ public static encode(m: IMandrakeDecryptMekSuccess, w?: $protobuf.Writer): $protobuf.Writer;
7971
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeDecryptMekSuccess;
7972
+ public toJSON(): { [k: string]: any };
7973
+ }
7974
+
7975
+ interface IMandrakeEncryptMekInput {
7976
+ mek?: (proto.IMandrakeMekBundle|null);
7977
+ recipients?: proto.IMessagingMailboxPublicData[];
7978
+ conf?: (proto.IMinosClientConfig|null);
7979
+ mmkSender?: (proto.MandrakeEncryptMekInput.IMmkSender|null);
7980
+ epochSender?: (proto.MandrakeEncryptMekInput.IEpochSender|null);
7981
+ detachedDeviceSender?: (proto.MandrakeEncryptMekInput.IDetachedDeviceSender|null);
7982
+ }
7983
+
7984
+ class MandrakeEncryptMekInput implements IMandrakeEncryptMekInput {
7985
+ constructor(p?: IMandrakeEncryptMekInput);
7986
+ public mek?: (proto.IMandrakeMekBundle|null);
7987
+ public recipients?: proto.IMessagingMailboxPublicData[];
7988
+ public conf?: (proto.IMinosClientConfig|null);
7989
+ public mmkSender?: (proto.MandrakeEncryptMekInput.IMmkSender|null);
7990
+ public epochSender?: (proto.MandrakeEncryptMekInput.IEpochSender|null);
7991
+ public detachedDeviceSender?: (proto.MandrakeEncryptMekInput.IDetachedDeviceSender|null);
7992
+ public static create(p?: IMandrakeEncryptMekInput): MandrakeEncryptMekInput;
7993
+ public static fromObject(d: { [k: string]: any }): MandrakeEncryptMekInput;
7994
+ public static toObject(m: MandrakeEncryptMekInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
7995
+ public static encode(m: IMandrakeEncryptMekInput, w?: $protobuf.Writer): $protobuf.Writer;
7996
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeEncryptMekInput;
7997
+ public toJSON(): { [k: string]: any };
7998
+ }
7999
+
8000
+ namespace MandrakeEncryptMekInput {
8001
+
8002
+ interface IDetachedDeviceSender {
8003
+ detachedDevicePublicData?: (proto.IDetachedDevicePublicData|null);
8004
+ authSk?: (Uint8Array|null);
8005
+ authPk?: (Uint8Array|null);
8006
+ }
8007
+
8008
+ class DetachedDeviceSender implements IDetachedDeviceSender {
8009
+ constructor(p?: IDetachedDeviceSender);
8010
+ public detachedDevicePublicData?: (proto.IDetachedDevicePublicData|null);
8011
+ public authSk?: (Uint8Array|null);
8012
+ public authPk?: (Uint8Array|null);
8013
+ public static create(p?: IDetachedDeviceSender): DetachedDeviceSender;
8014
+ public static fromObject(d: { [k: string]: any }): DetachedDeviceSender;
8015
+ public static toObject(m: DetachedDeviceSender, o?: $protobuf.IConversionOptions): { [k: string]: any };
8016
+ public static encode(m: IDetachedDeviceSender, w?: $protobuf.Writer): $protobuf.Writer;
8017
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): DetachedDeviceSender;
8018
+ public toJSON(): { [k: string]: any };
8019
+ }
8020
+
8021
+ interface IEpochSender {
8022
+ epochPublicData?: (proto.IEpochPublicData|null);
8023
+ authSk?: (Uint8Array|null);
8024
+ authPk?: (Uint8Array|null);
8025
+ }
8026
+
8027
+ class EpochSender implements IEpochSender {
8028
+ constructor(p?: IEpochSender);
8029
+ public epochPublicData?: (proto.IEpochPublicData|null);
8030
+ public authSk?: (Uint8Array|null);
8031
+ public authPk?: (Uint8Array|null);
8032
+ public static create(p?: IEpochSender): EpochSender;
8033
+ public static fromObject(d: { [k: string]: any }): EpochSender;
8034
+ public static toObject(m: EpochSender, o?: $protobuf.IConversionOptions): { [k: string]: any };
8035
+ public static encode(m: IEpochSender, w?: $protobuf.Writer): $protobuf.Writer;
8036
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): EpochSender;
8037
+ public toJSON(): { [k: string]: any };
8038
+ }
8039
+
8040
+ interface IMmkSender {
8041
+ mmkPublicData?: (proto.IMessagingMailboxPublicData|null);
8042
+ authSk?: (Uint8Array|null);
8043
+ authPk?: (Uint8Array|null);
8044
+ }
8045
+
8046
+ class MmkSender implements IMmkSender {
8047
+ constructor(p?: IMmkSender);
8048
+ public mmkPublicData?: (proto.IMessagingMailboxPublicData|null);
8049
+ public authSk?: (Uint8Array|null);
8050
+ public authPk?: (Uint8Array|null);
8051
+ public static create(p?: IMmkSender): MmkSender;
8052
+ public static fromObject(d: { [k: string]: any }): MmkSender;
8053
+ public static toObject(m: MmkSender, o?: $protobuf.IConversionOptions): { [k: string]: any };
8054
+ public static encode(m: IMmkSender, w?: $protobuf.Writer): $protobuf.Writer;
8055
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkSender;
8056
+ public toJSON(): { [k: string]: any };
8057
+ }
8058
+ }
8059
+
8060
+ interface IMandrakeEncryptMekResult {
8061
+ success?: (proto.IMandrakeEncryptMekSuccess|null);
8062
+ errorMessage?: (string|null);
8063
+ }
8064
+
8065
+ class MandrakeEncryptMekResult implements IMandrakeEncryptMekResult {
8066
+ constructor(p?: IMandrakeEncryptMekResult);
8067
+ public success?: (proto.IMandrakeEncryptMekSuccess|null);
8068
+ public errorMessage?: (string|null);
8069
+ public static create(p?: IMandrakeEncryptMekResult): MandrakeEncryptMekResult;
8070
+ public static fromObject(d: { [k: string]: any }): MandrakeEncryptMekResult;
8071
+ public static toObject(m: MandrakeEncryptMekResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
8072
+ public static encode(m: IMandrakeEncryptMekResult, w?: $protobuf.Writer): $protobuf.Writer;
8073
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeEncryptMekResult;
8074
+ public toJSON(): { [k: string]: any };
8075
+ }
8076
+
8077
+ interface IMandrakeEncryptMekSuccess {
8078
+ distributions?: proto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient[];
8079
+ recipientsHash?: (Uint8Array|null);
8080
+ version?: (Long|null);
8081
+ }
8082
+
8083
+ class MandrakeEncryptMekSuccess implements IMandrakeEncryptMekSuccess {
8084
+ constructor(p?: IMandrakeEncryptMekSuccess);
8085
+ public distributions?: proto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient[];
8086
+ public recipientsHash?: (Uint8Array|null);
8087
+ public version?: (Long|null);
8088
+ public static create(p?: IMandrakeEncryptMekSuccess): MandrakeEncryptMekSuccess;
8089
+ public static fromObject(d: { [k: string]: any }): MandrakeEncryptMekSuccess;
8090
+ public static toObject(m: MandrakeEncryptMekSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
8091
+ public static encode(m: IMandrakeEncryptMekSuccess, w?: $protobuf.Writer): $protobuf.Writer;
8092
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeEncryptMekSuccess;
8093
+ public toJSON(): { [k: string]: any };
8094
+ }
8095
+
8096
+ namespace MandrakeEncryptMekSuccess {
8097
+
8098
+ interface IMekDistributionSingleRecipient {
8099
+ encryptedMek?: (Uint8Array|null);
8100
+ toMmk?: (proto.IMessagingMailboxPublicData|null);
8101
+ recipientMembershipProof?: (proto.IMerkleMembershipProof|null);
8102
+ }
8103
+
8104
+ class MekDistributionSingleRecipient implements IMekDistributionSingleRecipient {
8105
+ constructor(p?: IMekDistributionSingleRecipient);
8106
+ public encryptedMek?: (Uint8Array|null);
8107
+ public toMmk?: (proto.IMessagingMailboxPublicData|null);
8108
+ public recipientMembershipProof?: (proto.IMerkleMembershipProof|null);
8109
+ public static create(p?: IMekDistributionSingleRecipient): MekDistributionSingleRecipient;
8110
+ public static fromObject(d: { [k: string]: any }): MekDistributionSingleRecipient;
8111
+ public static toObject(m: MekDistributionSingleRecipient, o?: $protobuf.IConversionOptions): { [k: string]: any };
8112
+ public static encode(m: IMekDistributionSingleRecipient, w?: $protobuf.Writer): $protobuf.Writer;
8113
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MekDistributionSingleRecipient;
8114
+ public toJSON(): { [k: string]: any };
8115
+ }
8116
+ }
8117
+
8118
+ interface IMandrakeMekBundle {
8119
+ key?: (Uint8Array|null);
8120
+ mekId?: (Uint8Array|null);
8121
+ mailboxHeadHash?: (Uint8Array|null);
8122
+ }
8123
+
8124
+ class MandrakeMekBundle implements IMandrakeMekBundle {
8125
+ constructor(p?: IMandrakeMekBundle);
8126
+ public key?: (Uint8Array|null);
8127
+ public mekId?: (Uint8Array|null);
8128
+ public mailboxHeadHash?: (Uint8Array|null);
8129
+ public static create(p?: IMandrakeMekBundle): MandrakeMekBundle;
8130
+ public static fromObject(d: { [k: string]: any }): MandrakeMekBundle;
8131
+ public static toObject(m: MandrakeMekBundle, o?: $protobuf.IConversionOptions): { [k: string]: any };
8132
+ public static encode(m: IMandrakeMekBundle, w?: $protobuf.Writer): $protobuf.Writer;
8133
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeMekBundle;
8134
+ public toJSON(): { [k: string]: any };
8135
+ }
8136
+
8137
+ interface IMandrakeOpenEpochInput {
8138
+ userFbid?: (string|null);
8139
+ epochNumber?: (Long|null);
8140
+ exportRootKey?: (Uint8Array|null);
8141
+ previousExportRootKey?: (Uint8Array|null);
8142
+ previousEpochNumber?: (Long|null);
8143
+ previousEpochHead?: (Uint8Array|null);
8144
+ previousMmk?: (proto.IMessagingMailboxPublicData|null);
8145
+ detachedDevices?: proto.IDetachedDevicePublicData[];
8146
+ }
8147
+
8148
+ class MandrakeOpenEpochInput implements IMandrakeOpenEpochInput {
8149
+ constructor(p?: IMandrakeOpenEpochInput);
8150
+ public userFbid?: (string|null);
8151
+ public epochNumber?: (Long|null);
8152
+ public exportRootKey?: (Uint8Array|null);
8153
+ public previousExportRootKey?: (Uint8Array|null);
8154
+ public previousEpochNumber?: (Long|null);
8155
+ public previousEpochHead?: (Uint8Array|null);
8156
+ public previousMmk?: (proto.IMessagingMailboxPublicData|null);
8157
+ public detachedDevices?: proto.IDetachedDevicePublicData[];
8158
+ public static create(p?: IMandrakeOpenEpochInput): MandrakeOpenEpochInput;
8159
+ public static fromObject(d: { [k: string]: any }): MandrakeOpenEpochInput;
8160
+ public static toObject(m: MandrakeOpenEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
8161
+ public static encode(m: IMandrakeOpenEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
8162
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeOpenEpochInput;
8163
+ public toJSON(): { [k: string]: any };
8164
+ }
8165
+
8166
+ interface IMandrakeOpenEpochResult {
8167
+ success?: (proto.IMandrakeOpenEpochSuccess|null);
8168
+ errorMessage?: (string|null);
6819
8169
  }
6820
8170
 
6821
- class LIDMigrationMappingSyncPayload implements ILIDMigrationMappingSyncPayload {
6822
- constructor(p?: ILIDMigrationMappingSyncPayload);
6823
- public pnToLidMappings?: proto.ILIDMigrationMapping[];
6824
- public chatDbMigrationTimestamp?: (Long|null);
6825
- public static create(p?: ILIDMigrationMappingSyncPayload): LIDMigrationMappingSyncPayload;
6826
- public static fromObject(d: { [k: string]: any }): LIDMigrationMappingSyncPayload;
6827
- public static toObject(m: LIDMigrationMappingSyncPayload, o?: $protobuf.IConversionOptions): { [k: string]: any };
6828
- public static encode(m: ILIDMigrationMappingSyncPayload, w?: $protobuf.Writer): $protobuf.Writer;
6829
- public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LIDMigrationMappingSyncPayload;
8171
+ class MandrakeOpenEpochResult implements IMandrakeOpenEpochResult {
8172
+ constructor(p?: IMandrakeOpenEpochResult);
8173
+ public success?: (proto.IMandrakeOpenEpochSuccess|null);
8174
+ public errorMessage?: (string|null);
8175
+ public static create(p?: IMandrakeOpenEpochResult): MandrakeOpenEpochResult;
8176
+ public static fromObject(d: { [k: string]: any }): MandrakeOpenEpochResult;
8177
+ public static toObject(m: MandrakeOpenEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
8178
+ public static encode(m: IMandrakeOpenEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
8179
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeOpenEpochResult;
6830
8180
  public toJSON(): { [k: string]: any };
6831
8181
  }
6832
8182
 
6833
- interface ILimitSharing {
6834
- sharingLimited?: (boolean|null);
6835
- trigger?: (proto.LimitSharing.TriggerType|null);
6836
- limitSharingSettingTimestamp?: (Long|null);
6837
- initiatedByMe?: (boolean|null);
8183
+ interface IMandrakeOpenEpochSuccess {
8184
+ minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
8185
+ signedMmkDistribution?: (proto.ISignedMmkDistributionFromMailbox|null);
6838
8186
  }
6839
8187
 
6840
- class LimitSharing implements ILimitSharing {
6841
- constructor(p?: ILimitSharing);
6842
- public sharingLimited?: (boolean|null);
6843
- public trigger?: (proto.LimitSharing.TriggerType|null);
6844
- public limitSharingSettingTimestamp?: (Long|null);
6845
- public initiatedByMe?: (boolean|null);
6846
- public static create(p?: ILimitSharing): LimitSharing;
6847
- public static fromObject(d: { [k: string]: any }): LimitSharing;
6848
- public static toObject(m: LimitSharing, o?: $protobuf.IConversionOptions): { [k: string]: any };
6849
- public static encode(m: ILimitSharing, w?: $protobuf.Writer): $protobuf.Writer;
6850
- public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LimitSharing;
8188
+ class MandrakeOpenEpochSuccess implements IMandrakeOpenEpochSuccess {
8189
+ constructor(p?: IMandrakeOpenEpochSuccess);
8190
+ public minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
8191
+ public signedMmkDistribution?: (proto.ISignedMmkDistributionFromMailbox|null);
8192
+ public static create(p?: IMandrakeOpenEpochSuccess): MandrakeOpenEpochSuccess;
8193
+ public static fromObject(d: { [k: string]: any }): MandrakeOpenEpochSuccess;
8194
+ public static toObject(m: MandrakeOpenEpochSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
8195
+ public static encode(m: IMandrakeOpenEpochSuccess, w?: $protobuf.Writer): $protobuf.Writer;
8196
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeOpenEpochSuccess;
6851
8197
  public toJSON(): { [k: string]: any };
6852
8198
  }
6853
8199
 
6854
- namespace LimitSharing {
8200
+ interface IMandrakeOpenInitialEpochInput {
8201
+ userFbid?: (string|null);
8202
+ epochNumber?: (Long|null);
8203
+ exportRootKey?: (Uint8Array|null);
8204
+ detachedDevices?: proto.IDetachedDevicePublicData[];
8205
+ }
8206
+
8207
+ class MandrakeOpenInitialEpochInput implements IMandrakeOpenInitialEpochInput {
8208
+ constructor(p?: IMandrakeOpenInitialEpochInput);
8209
+ public userFbid?: (string|null);
8210
+ public epochNumber?: (Long|null);
8211
+ public exportRootKey?: (Uint8Array|null);
8212
+ public detachedDevices?: proto.IDetachedDevicePublicData[];
8213
+ public static create(p?: IMandrakeOpenInitialEpochInput): MandrakeOpenInitialEpochInput;
8214
+ public static fromObject(d: { [k: string]: any }): MandrakeOpenInitialEpochInput;
8215
+ public static toObject(m: MandrakeOpenInitialEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
8216
+ public static encode(m: IMandrakeOpenInitialEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
8217
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeOpenInitialEpochInput;
8218
+ public toJSON(): { [k: string]: any };
8219
+ }
6855
8220
 
6856
- enum TriggerType {
6857
- UNKNOWN = 0,
6858
- CHAT_SETTING = 1,
6859
- BIZ_SUPPORTS_FB_HOSTING = 2,
6860
- UNKNOWN_GROUP = 3,
6861
- }
8221
+ interface IMandrakeOpenInitialEpochResult {
8222
+ success?: (proto.IMandrakeOpenEpochSuccess|null);
8223
+ errorMessage?: (string|null);
6862
8224
  }
6863
8225
 
6864
- interface ILocalizedName {
6865
- lg?: (string|null);
6866
- lc?: (string|null);
6867
- verifiedName?: (string|null);
8226
+ class MandrakeOpenInitialEpochResult implements IMandrakeOpenInitialEpochResult {
8227
+ constructor(p?: IMandrakeOpenInitialEpochResult);
8228
+ public success?: (proto.IMandrakeOpenEpochSuccess|null);
8229
+ public errorMessage?: (string|null);
8230
+ public static create(p?: IMandrakeOpenInitialEpochResult): MandrakeOpenInitialEpochResult;
8231
+ public static fromObject(d: { [k: string]: any }): MandrakeOpenInitialEpochResult;
8232
+ public static toObject(m: MandrakeOpenInitialEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
8233
+ public static encode(m: IMandrakeOpenInitialEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
8234
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeOpenInitialEpochResult;
8235
+ public toJSON(): { [k: string]: any };
6868
8236
  }
6869
8237
 
6870
- class LocalizedName implements ILocalizedName {
6871
- constructor(p?: ILocalizedName);
6872
- public lg?: (string|null);
6873
- public lc?: (string|null);
6874
- public verifiedName?: (string|null);
6875
- public static create(p?: ILocalizedName): LocalizedName;
6876
- public static fromObject(d: { [k: string]: any }): LocalizedName;
6877
- public static toObject(m: LocalizedName, o?: $protobuf.IConversionOptions): { [k: string]: any };
6878
- public static encode(m: ILocalizedName, w?: $protobuf.Writer): $protobuf.Writer;
6879
- public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): LocalizedName;
8238
+ interface IMandrakeValidateNewMmkFromDetachedDeviceInput {
8239
+ mmkFromDevice?: (proto.IMmkFromDetachedDevice|null);
8240
+ signature?: (Uint8Array|null);
8241
+ prevMmk?: (proto.IMessagingMailboxPublicData|null);
8242
+ }
8243
+
8244
+ class MandrakeValidateNewMmkFromDetachedDeviceInput implements IMandrakeValidateNewMmkFromDetachedDeviceInput {
8245
+ constructor(p?: IMandrakeValidateNewMmkFromDetachedDeviceInput);
8246
+ public mmkFromDevice?: (proto.IMmkFromDetachedDevice|null);
8247
+ public signature?: (Uint8Array|null);
8248
+ public prevMmk?: (proto.IMessagingMailboxPublicData|null);
8249
+ public static create(p?: IMandrakeValidateNewMmkFromDetachedDeviceInput): MandrakeValidateNewMmkFromDetachedDeviceInput;
8250
+ public static fromObject(d: { [k: string]: any }): MandrakeValidateNewMmkFromDetachedDeviceInput;
8251
+ public static toObject(m: MandrakeValidateNewMmkFromDetachedDeviceInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
8252
+ public static encode(m: IMandrakeValidateNewMmkFromDetachedDeviceInput, w?: $protobuf.Writer): $protobuf.Writer;
8253
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeValidateNewMmkFromDetachedDeviceInput;
6880
8254
  public toJSON(): { [k: string]: any };
6881
8255
  }
6882
8256
 
6883
- interface ILocation {
6884
- degreesLatitude?: (number|null);
6885
- degreesLongitude?: (number|null);
6886
- name?: (string|null);
8257
+ interface IMandrakeValidateNewMmkFromMailboxInput {
8258
+ newMmk?: (proto.IMessagingMailboxPublicData|null);
8259
+ signature?: (Uint8Array|null);
8260
+ prevMmk?: (proto.IMessagingMailboxPublicData|null);
8261
+ epochPublicData?: (proto.IEpochPublicData|null);
6887
8262
  }
6888
8263
 
6889
- class Location implements ILocation {
6890
- constructor(p?: ILocation);
6891
- public degreesLatitude?: (number|null);
6892
- public degreesLongitude?: (number|null);
6893
- public name?: (string|null);
6894
- public static create(p?: ILocation): Location;
6895
- public static fromObject(d: { [k: string]: any }): Location;
6896
- public static toObject(m: Location, o?: $protobuf.IConversionOptions): { [k: string]: any };
6897
- public static encode(m: ILocation, w?: $protobuf.Writer): $protobuf.Writer;
6898
- public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): Location;
8264
+ class MandrakeValidateNewMmkFromMailboxInput implements IMandrakeValidateNewMmkFromMailboxInput {
8265
+ constructor(p?: IMandrakeValidateNewMmkFromMailboxInput);
8266
+ public newMmk?: (proto.IMessagingMailboxPublicData|null);
8267
+ public signature?: (Uint8Array|null);
8268
+ public prevMmk?: (proto.IMessagingMailboxPublicData|null);
8269
+ public epochPublicData?: (proto.IEpochPublicData|null);
8270
+ public static create(p?: IMandrakeValidateNewMmkFromMailboxInput): MandrakeValidateNewMmkFromMailboxInput;
8271
+ public static fromObject(d: { [k: string]: any }): MandrakeValidateNewMmkFromMailboxInput;
8272
+ public static toObject(m: MandrakeValidateNewMmkFromMailboxInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
8273
+ public static encode(m: IMandrakeValidateNewMmkFromMailboxInput, w?: $protobuf.Writer): $protobuf.Writer;
8274
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeValidateNewMmkFromMailboxInput;
8275
+ public toJSON(): { [k: string]: any };
8276
+ }
8277
+
8278
+ interface IMandrakeValidateNewMmkResult {
8279
+ valid?: (boolean|null);
8280
+ errorMessage?: (string|null);
8281
+ }
8282
+
8283
+ class MandrakeValidateNewMmkResult implements IMandrakeValidateNewMmkResult {
8284
+ constructor(p?: IMandrakeValidateNewMmkResult);
8285
+ public valid?: (boolean|null);
8286
+ public errorMessage?: (string|null);
8287
+ public static create(p?: IMandrakeValidateNewMmkResult): MandrakeValidateNewMmkResult;
8288
+ public static fromObject(d: { [k: string]: any }): MandrakeValidateNewMmkResult;
8289
+ public static toObject(m: MandrakeValidateNewMmkResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
8290
+ public static encode(m: IMandrakeValidateNewMmkResult, w?: $protobuf.Writer): $protobuf.Writer;
8291
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MandrakeValidateNewMmkResult;
6899
8292
  public toJSON(): { [k: string]: any };
6900
8293
  }
6901
8294
 
@@ -7085,6 +8478,25 @@ export namespace proto {
7085
8478
  ON = 2,
7086
8479
  }
7087
8480
 
8481
+ interface IMekBundle {
8482
+ key?: (Uint8Array|null);
8483
+ mekId?: (Uint8Array|null);
8484
+ rosterHash?: (Uint8Array|null);
8485
+ }
8486
+
8487
+ class MekBundle implements IMekBundle {
8488
+ constructor(p?: IMekBundle);
8489
+ public key?: (Uint8Array|null);
8490
+ public mekId?: (Uint8Array|null);
8491
+ public rosterHash?: (Uint8Array|null);
8492
+ public static create(p?: IMekBundle): MekBundle;
8493
+ public static fromObject(d: { [k: string]: any }): MekBundle;
8494
+ public static toObject(m: MekBundle, o?: $protobuf.IConversionOptions): { [k: string]: any };
8495
+ public static encode(m: IMekBundle, w?: $protobuf.Writer): $protobuf.Writer;
8496
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MekBundle;
8497
+ public toJSON(): { [k: string]: any };
8498
+ }
8499
+
7088
8500
  interface IMemberLabel {
7089
8501
  label?: (string|null);
7090
8502
  labelTimestamp?: (Long|null);
@@ -7127,6 +8539,27 @@ export namespace proto {
7127
8539
  PROFILE = 0,
7128
8540
  }
7129
8541
 
8542
+ interface IMerkleMembershipProof {
8543
+ proof?: (Uint8Array|null);
8544
+ root?: (Uint8Array|null);
8545
+ leafIndex?: (Long|null);
8546
+ totalLeaves?: (Long|null);
8547
+ }
8548
+
8549
+ class MerkleMembershipProof implements IMerkleMembershipProof {
8550
+ constructor(p?: IMerkleMembershipProof);
8551
+ public proof?: (Uint8Array|null);
8552
+ public root?: (Uint8Array|null);
8553
+ public leafIndex?: (Long|null);
8554
+ public totalLeaves?: (Long|null);
8555
+ public static create(p?: IMerkleMembershipProof): MerkleMembershipProof;
8556
+ public static fromObject(d: { [k: string]: any }): MerkleMembershipProof;
8557
+ public static toObject(m: MerkleMembershipProof, o?: $protobuf.IConversionOptions): { [k: string]: any };
8558
+ public static encode(m: IMerkleMembershipProof, w?: $protobuf.Writer): $protobuf.Writer;
8559
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MerkleMembershipProof;
8560
+ public toJSON(): { [k: string]: any };
8561
+ }
8562
+
7130
8563
  interface IMessage {
7131
8564
  conversation?: (string|null);
7132
8565
  senderKeyDistributionMessage?: (proto.Message.ISenderKeyDistributionMessage|null);
@@ -9695,6 +11128,7 @@ export namespace proto {
9695
11128
 
9696
11129
  enum MusicMessageStyle {
9697
11130
  UNKNOWN = 0,
11131
+ VINYL = 1,
9698
11132
  }
9699
11133
  }
9700
11134
 
@@ -12152,6 +13586,538 @@ export namespace proto {
12152
13586
  public toJSON(): { [k: string]: any };
12153
13587
  }
12154
13588
 
13589
+ interface IMessagingMailboxPublicData {
13590
+ epochHead?: (Uint8Array|null);
13591
+ deviceRosterHash?: (Uint8Array|null);
13592
+ sequenceNumber?: (Long|null);
13593
+ sigPk?: (Uint8Array|null);
13594
+ encPk?: (Uint8Array|null);
13595
+ authPk?: (Uint8Array|null);
13596
+ }
13597
+
13598
+ class MessagingMailboxPublicData implements IMessagingMailboxPublicData {
13599
+ constructor(p?: IMessagingMailboxPublicData);
13600
+ public epochHead?: (Uint8Array|null);
13601
+ public deviceRosterHash?: (Uint8Array|null);
13602
+ public sequenceNumber?: (Long|null);
13603
+ public sigPk?: (Uint8Array|null);
13604
+ public encPk?: (Uint8Array|null);
13605
+ public authPk?: (Uint8Array|null);
13606
+ public static create(p?: IMessagingMailboxPublicData): MessagingMailboxPublicData;
13607
+ public static fromObject(d: { [k: string]: any }): MessagingMailboxPublicData;
13608
+ public static toObject(m: MessagingMailboxPublicData, o?: $protobuf.IConversionOptions): { [k: string]: any };
13609
+ public static encode(m: IMessagingMailboxPublicData, w?: $protobuf.Writer): $protobuf.Writer;
13610
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MessagingMailboxPublicData;
13611
+ public toJSON(): { [k: string]: any };
13612
+ }
13613
+
13614
+ interface IMinosClientConfig {
13615
+ preferredMessageEncryptionVersion?: (number|null);
13616
+ preferredMekEncryptionVersion?: (number|null);
13617
+ }
13618
+
13619
+ class MinosClientConfig implements IMinosClientConfig {
13620
+ constructor(p?: IMinosClientConfig);
13621
+ public preferredMessageEncryptionVersion?: (number|null);
13622
+ public preferredMekEncryptionVersion?: (number|null);
13623
+ public static create(p?: IMinosClientConfig): MinosClientConfig;
13624
+ public static fromObject(d: { [k: string]: any }): MinosClientConfig;
13625
+ public static toObject(m: MinosClientConfig, o?: $protobuf.IConversionOptions): { [k: string]: any };
13626
+ public static encode(m: IMinosClientConfig, w?: $protobuf.Writer): $protobuf.Writer;
13627
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosClientConfig;
13628
+ public toJSON(): { [k: string]: any };
13629
+ }
13630
+
13631
+ interface IMinosCommand {
13632
+ encryptAndSignMessage?: (proto.IMinosEncryptAndSignMessageInput|null);
13633
+ decryptAndVerifyMessage?: (proto.IMinosDecryptAndVerifyMessageInput|null);
13634
+ generateMek?: (proto.IGenerateMekInput|null);
13635
+ generateMekRosterHash?: (proto.IGenerateMekRosterHashInput|null);
13636
+ encryptMekForDistribution?: (proto.IEncryptMekForDistributionInput|null);
13637
+ decryptMekForDistribution?: (proto.IDecryptMekForDistributionInput|null);
13638
+ encryptMeksForDistributionFromTransportSender?: (proto.IEncryptMeksForDistributionFromTransportSenderInput|null);
13639
+ decryptMekForDistributionFromTransportSender?: (proto.IDecryptMekForDistributionFromTransportSenderInput|null);
13640
+ wrapTransportSigningPublicKey?: (proto.IWrapTransportSigningPublicKeyInput|null);
13641
+ wrapTransportSigningSecretKey?: (proto.IWrapTransportSigningSecretKeyInput|null);
13642
+ deriveMailboxSigningKeypair?: (proto.IDeriveMailboxSigningKeypairInput|null);
13643
+ deriveMailboxEncryptionKeypair?: (proto.IDeriveMailboxEncryptionKeypairInput|null);
13644
+ deriveMailboxAuthKeypair?: (proto.IDeriveMailboxAuthKeypairInput|null);
13645
+ deriveAttachmentAccessTokenSecret?: (proto.IDeriveAttachmentAccessTokenSecretInput|null);
13646
+ deriveAttachmentPrimaryKeySecret?: (proto.IDeriveAttachmentPrimaryKeySecretInput|null);
13647
+ minosOpenInitialEpoch?: (proto.IMinosOpenInitialEpochInput|null);
13648
+ minosOpenEpoch?: (proto.IMinosOpenEpochInput|null);
13649
+ minosValidateEpoch?: (proto.IMinosValidateEpochInput|null);
13650
+ minosVerifySingleEpoch?: (proto.IMinosVerifySingleEpochInput|null);
13651
+ minosThreadIdFromOneToOneThread?: (proto.IMinosThreadIdFromOneToOneThreadInput|null);
13652
+ minosThreadIdFromActThreadId?: (proto.IMinosThreadIdFromActThreadIdInput|null);
13653
+ mandrakeOpenEpoch?: (proto.IMandrakeOpenEpochInput|null);
13654
+ mandrakeEncryptMek?: (proto.IMandrakeEncryptMekInput|null);
13655
+ mandrakeDecryptMek?: (proto.IMandrakeDecryptMekInput|null);
13656
+ mandrakeOpenInitialEpoch?: (proto.IMandrakeOpenInitialEpochInput|null);
13657
+ mandrakeValidateNewMmkFromMailbox?: (proto.IMandrakeValidateNewMmkFromMailboxInput|null);
13658
+ mandrakeValidateNewMmkFromDetachedDevice?: (proto.IMandrakeValidateNewMmkFromDetachedDeviceInput|null);
13659
+ deriveMessagingMailboxKeypairs?: (proto.IDeriveMessagingMailboxKeypairsInput|null);
13660
+ decryptSelfMmkDistribution?: (proto.IDecryptSelfMmkDistributionInput|null);
13661
+ }
13662
+
13663
+ class MinosCommand implements IMinosCommand {
13664
+ constructor(p?: IMinosCommand);
13665
+ public encryptAndSignMessage?: (proto.IMinosEncryptAndSignMessageInput|null);
13666
+ public decryptAndVerifyMessage?: (proto.IMinosDecryptAndVerifyMessageInput|null);
13667
+ public generateMek?: (proto.IGenerateMekInput|null);
13668
+ public generateMekRosterHash?: (proto.IGenerateMekRosterHashInput|null);
13669
+ public encryptMekForDistribution?: (proto.IEncryptMekForDistributionInput|null);
13670
+ public decryptMekForDistribution?: (proto.IDecryptMekForDistributionInput|null);
13671
+ public encryptMeksForDistributionFromTransportSender?: (proto.IEncryptMeksForDistributionFromTransportSenderInput|null);
13672
+ public decryptMekForDistributionFromTransportSender?: (proto.IDecryptMekForDistributionFromTransportSenderInput|null);
13673
+ public wrapTransportSigningPublicKey?: (proto.IWrapTransportSigningPublicKeyInput|null);
13674
+ public wrapTransportSigningSecretKey?: (proto.IWrapTransportSigningSecretKeyInput|null);
13675
+ public deriveMailboxSigningKeypair?: (proto.IDeriveMailboxSigningKeypairInput|null);
13676
+ public deriveMailboxEncryptionKeypair?: (proto.IDeriveMailboxEncryptionKeypairInput|null);
13677
+ public deriveMailboxAuthKeypair?: (proto.IDeriveMailboxAuthKeypairInput|null);
13678
+ public deriveAttachmentAccessTokenSecret?: (proto.IDeriveAttachmentAccessTokenSecretInput|null);
13679
+ public deriveAttachmentPrimaryKeySecret?: (proto.IDeriveAttachmentPrimaryKeySecretInput|null);
13680
+ public minosOpenInitialEpoch?: (proto.IMinosOpenInitialEpochInput|null);
13681
+ public minosOpenEpoch?: (proto.IMinosOpenEpochInput|null);
13682
+ public minosValidateEpoch?: (proto.IMinosValidateEpochInput|null);
13683
+ public minosVerifySingleEpoch?: (proto.IMinosVerifySingleEpochInput|null);
13684
+ public minosThreadIdFromOneToOneThread?: (proto.IMinosThreadIdFromOneToOneThreadInput|null);
13685
+ public minosThreadIdFromActThreadId?: (proto.IMinosThreadIdFromActThreadIdInput|null);
13686
+ public mandrakeOpenEpoch?: (proto.IMandrakeOpenEpochInput|null);
13687
+ public mandrakeEncryptMek?: (proto.IMandrakeEncryptMekInput|null);
13688
+ public mandrakeDecryptMek?: (proto.IMandrakeDecryptMekInput|null);
13689
+ public mandrakeOpenInitialEpoch?: (proto.IMandrakeOpenInitialEpochInput|null);
13690
+ public mandrakeValidateNewMmkFromMailbox?: (proto.IMandrakeValidateNewMmkFromMailboxInput|null);
13691
+ public mandrakeValidateNewMmkFromDetachedDevice?: (proto.IMandrakeValidateNewMmkFromDetachedDeviceInput|null);
13692
+ public deriveMessagingMailboxKeypairs?: (proto.IDeriveMessagingMailboxKeypairsInput|null);
13693
+ public decryptSelfMmkDistribution?: (proto.IDecryptSelfMmkDistributionInput|null);
13694
+ public static create(p?: IMinosCommand): MinosCommand;
13695
+ public static fromObject(d: { [k: string]: any }): MinosCommand;
13696
+ public static toObject(m: MinosCommand, o?: $protobuf.IConversionOptions): { [k: string]: any };
13697
+ public static encode(m: IMinosCommand, w?: $protobuf.Writer): $protobuf.Writer;
13698
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosCommand;
13699
+ public toJSON(): { [k: string]: any };
13700
+ }
13701
+
13702
+ interface IMinosDecryptAndVerifyMessageInput {
13703
+ transportSigningPk?: (Uint8Array|null);
13704
+ mek?: (Uint8Array|null);
13705
+ encryptedMessageCiphertext?: (Uint8Array|null);
13706
+ encryptedMessageSignature?: (Uint8Array|null);
13707
+ metadata?: (proto.IMinosMessageMetadata|null);
13708
+ messageEncryptionVersion?: (number|null);
13709
+ conf?: (proto.IMinosClientConfig|null);
13710
+ }
13711
+
13712
+ class MinosDecryptAndVerifyMessageInput implements IMinosDecryptAndVerifyMessageInput {
13713
+ constructor(p?: IMinosDecryptAndVerifyMessageInput);
13714
+ public transportSigningPk?: (Uint8Array|null);
13715
+ public mek?: (Uint8Array|null);
13716
+ public encryptedMessageCiphertext?: (Uint8Array|null);
13717
+ public encryptedMessageSignature?: (Uint8Array|null);
13718
+ public metadata?: (proto.IMinosMessageMetadata|null);
13719
+ public messageEncryptionVersion?: (number|null);
13720
+ public conf?: (proto.IMinosClientConfig|null);
13721
+ public static create(p?: IMinosDecryptAndVerifyMessageInput): MinosDecryptAndVerifyMessageInput;
13722
+ public static fromObject(d: { [k: string]: any }): MinosDecryptAndVerifyMessageInput;
13723
+ public static toObject(m: MinosDecryptAndVerifyMessageInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13724
+ public static encode(m: IMinosDecryptAndVerifyMessageInput, w?: $protobuf.Writer): $protobuf.Writer;
13725
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosDecryptAndVerifyMessageInput;
13726
+ public toJSON(): { [k: string]: any };
13727
+ }
13728
+
13729
+ interface IMinosDecryptAndVerifyMessageResult {
13730
+ success?: (proto.IMinosDecryptAndVerifyMessageSuccess|null);
13731
+ errorMessage?: (string|null);
13732
+ }
13733
+
13734
+ class MinosDecryptAndVerifyMessageResult implements IMinosDecryptAndVerifyMessageResult {
13735
+ constructor(p?: IMinosDecryptAndVerifyMessageResult);
13736
+ public success?: (proto.IMinosDecryptAndVerifyMessageSuccess|null);
13737
+ public errorMessage?: (string|null);
13738
+ public static create(p?: IMinosDecryptAndVerifyMessageResult): MinosDecryptAndVerifyMessageResult;
13739
+ public static fromObject(d: { [k: string]: any }): MinosDecryptAndVerifyMessageResult;
13740
+ public static toObject(m: MinosDecryptAndVerifyMessageResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13741
+ public static encode(m: IMinosDecryptAndVerifyMessageResult, w?: $protobuf.Writer): $protobuf.Writer;
13742
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosDecryptAndVerifyMessageResult;
13743
+ public toJSON(): { [k: string]: any };
13744
+ }
13745
+
13746
+ interface IMinosDecryptAndVerifyMessageSuccess {
13747
+ plaintext?: (Uint8Array|null);
13748
+ }
13749
+
13750
+ class MinosDecryptAndVerifyMessageSuccess implements IMinosDecryptAndVerifyMessageSuccess {
13751
+ constructor(p?: IMinosDecryptAndVerifyMessageSuccess);
13752
+ public plaintext?: (Uint8Array|null);
13753
+ public static create(p?: IMinosDecryptAndVerifyMessageSuccess): MinosDecryptAndVerifyMessageSuccess;
13754
+ public static fromObject(d: { [k: string]: any }): MinosDecryptAndVerifyMessageSuccess;
13755
+ public static toObject(m: MinosDecryptAndVerifyMessageSuccess, o?: $protobuf.IConversionOptions): { [k: string]: any };
13756
+ public static encode(m: IMinosDecryptAndVerifyMessageSuccess, w?: $protobuf.Writer): $protobuf.Writer;
13757
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosDecryptAndVerifyMessageSuccess;
13758
+ public toJSON(): { [k: string]: any };
13759
+ }
13760
+
13761
+ interface IMinosEncryptAndSignMessageInput {
13762
+ transportSigningSk?: (Uint8Array|null);
13763
+ mek?: (Uint8Array|null);
13764
+ plaintext?: (Uint8Array|null);
13765
+ metadata?: (proto.IMinosMessageMetadata|null);
13766
+ transportSigningPk?: (Uint8Array|null);
13767
+ conf?: (proto.IMinosClientConfig|null);
13768
+ }
13769
+
13770
+ class MinosEncryptAndSignMessageInput implements IMinosEncryptAndSignMessageInput {
13771
+ constructor(p?: IMinosEncryptAndSignMessageInput);
13772
+ public transportSigningSk?: (Uint8Array|null);
13773
+ public mek?: (Uint8Array|null);
13774
+ public plaintext?: (Uint8Array|null);
13775
+ public metadata?: (proto.IMinosMessageMetadata|null);
13776
+ public transportSigningPk?: (Uint8Array|null);
13777
+ public conf?: (proto.IMinosClientConfig|null);
13778
+ public static create(p?: IMinosEncryptAndSignMessageInput): MinosEncryptAndSignMessageInput;
13779
+ public static fromObject(d: { [k: string]: any }): MinosEncryptAndSignMessageInput;
13780
+ public static toObject(m: MinosEncryptAndSignMessageInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13781
+ public static encode(m: IMinosEncryptAndSignMessageInput, w?: $protobuf.Writer): $protobuf.Writer;
13782
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosEncryptAndSignMessageInput;
13783
+ public toJSON(): { [k: string]: any };
13784
+ }
13785
+
13786
+ interface IMinosEncryptAndSignMessageResult {
13787
+ ciphertext?: (Uint8Array|null);
13788
+ signature?: (Uint8Array|null);
13789
+ version?: (number|null);
13790
+ }
13791
+
13792
+ class MinosEncryptAndSignMessageResult implements IMinosEncryptAndSignMessageResult {
13793
+ constructor(p?: IMinosEncryptAndSignMessageResult);
13794
+ public ciphertext?: (Uint8Array|null);
13795
+ public signature?: (Uint8Array|null);
13796
+ public version?: (number|null);
13797
+ public static create(p?: IMinosEncryptAndSignMessageResult): MinosEncryptAndSignMessageResult;
13798
+ public static fromObject(d: { [k: string]: any }): MinosEncryptAndSignMessageResult;
13799
+ public static toObject(m: MinosEncryptAndSignMessageResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13800
+ public static encode(m: IMinosEncryptAndSignMessageResult, w?: $protobuf.Writer): $protobuf.Writer;
13801
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosEncryptAndSignMessageResult;
13802
+ public toJSON(): { [k: string]: any };
13803
+ }
13804
+
13805
+ interface IMinosMessageMetadata {
13806
+ mekId?: (Uint8Array|null);
13807
+ timestamp?: (Long|null);
13808
+ messageId?: (string|null);
13809
+ threadId?: (Uint8Array|null);
13810
+ }
13811
+
13812
+ class MinosMessageMetadata implements IMinosMessageMetadata {
13813
+ constructor(p?: IMinosMessageMetadata);
13814
+ public mekId?: (Uint8Array|null);
13815
+ public timestamp?: (Long|null);
13816
+ public messageId?: (string|null);
13817
+ public threadId?: (Uint8Array|null);
13818
+ public static create(p?: IMinosMessageMetadata): MinosMessageMetadata;
13819
+ public static fromObject(d: { [k: string]: any }): MinosMessageMetadata;
13820
+ public static toObject(m: MinosMessageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
13821
+ public static encode(m: IMinosMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
13822
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosMessageMetadata;
13823
+ public toJSON(): { [k: string]: any };
13824
+ }
13825
+
13826
+ interface IMinosOpenEpochInput {
13827
+ userFbid?: (string|null);
13828
+ epochNumber?: (Long|null);
13829
+ exportRootKey?: (Uint8Array|null);
13830
+ previousExportRootKey?: (Uint8Array|null);
13831
+ previousEpochNumber?: (Long|null);
13832
+ previousEpochHead?: (Uint8Array|null);
13833
+ }
13834
+
13835
+ class MinosOpenEpochInput implements IMinosOpenEpochInput {
13836
+ constructor(p?: IMinosOpenEpochInput);
13837
+ public userFbid?: (string|null);
13838
+ public epochNumber?: (Long|null);
13839
+ public exportRootKey?: (Uint8Array|null);
13840
+ public previousExportRootKey?: (Uint8Array|null);
13841
+ public previousEpochNumber?: (Long|null);
13842
+ public previousEpochHead?: (Uint8Array|null);
13843
+ public static create(p?: IMinosOpenEpochInput): MinosOpenEpochInput;
13844
+ public static fromObject(d: { [k: string]: any }): MinosOpenEpochInput;
13845
+ public static toObject(m: MinosOpenEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13846
+ public static encode(m: IMinosOpenEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
13847
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosOpenEpochInput;
13848
+ public toJSON(): { [k: string]: any };
13849
+ }
13850
+
13851
+ interface IMinosOpenEpochResult {
13852
+ minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
13853
+ }
13854
+
13855
+ class MinosOpenEpochResult implements IMinosOpenEpochResult {
13856
+ constructor(p?: IMinosOpenEpochResult);
13857
+ public minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
13858
+ public static create(p?: IMinosOpenEpochResult): MinosOpenEpochResult;
13859
+ public static fromObject(d: { [k: string]: any }): MinosOpenEpochResult;
13860
+ public static toObject(m: MinosOpenEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13861
+ public static encode(m: IMinosOpenEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
13862
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosOpenEpochResult;
13863
+ public toJSON(): { [k: string]: any };
13864
+ }
13865
+
13866
+ interface IMinosOpenInitialEpochInput {
13867
+ userFbid?: (string|null);
13868
+ epochNumber?: (Long|null);
13869
+ exportRootKey?: (Uint8Array|null);
13870
+ }
13871
+
13872
+ class MinosOpenInitialEpochInput implements IMinosOpenInitialEpochInput {
13873
+ constructor(p?: IMinosOpenInitialEpochInput);
13874
+ public userFbid?: (string|null);
13875
+ public epochNumber?: (Long|null);
13876
+ public exportRootKey?: (Uint8Array|null);
13877
+ public static create(p?: IMinosOpenInitialEpochInput): MinosOpenInitialEpochInput;
13878
+ public static fromObject(d: { [k: string]: any }): MinosOpenInitialEpochInput;
13879
+ public static toObject(m: MinosOpenInitialEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13880
+ public static encode(m: IMinosOpenInitialEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
13881
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosOpenInitialEpochInput;
13882
+ public toJSON(): { [k: string]: any };
13883
+ }
13884
+
13885
+ interface IMinosOpenInitialEpochResult {
13886
+ minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
13887
+ }
13888
+
13889
+ class MinosOpenInitialEpochResult implements IMinosOpenInitialEpochResult {
13890
+ constructor(p?: IMinosOpenInitialEpochResult);
13891
+ public minosSignedEpoch?: (proto.IMinosSignedEpoch|null);
13892
+ public static create(p?: IMinosOpenInitialEpochResult): MinosOpenInitialEpochResult;
13893
+ public static fromObject(d: { [k: string]: any }): MinosOpenInitialEpochResult;
13894
+ public static toObject(m: MinosOpenInitialEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13895
+ public static encode(m: IMinosOpenInitialEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
13896
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosOpenInitialEpochResult;
13897
+ public toJSON(): { [k: string]: any };
13898
+ }
13899
+
13900
+ interface IMinosSignedEpoch {
13901
+ epochPublicData?: (proto.IEpochPublicData|null);
13902
+ signatures?: (proto.IEpochSignatures|null);
13903
+ epochHead?: (Uint8Array|null);
13904
+ }
13905
+
13906
+ class MinosSignedEpoch implements IMinosSignedEpoch {
13907
+ constructor(p?: IMinosSignedEpoch);
13908
+ public epochPublicData?: (proto.IEpochPublicData|null);
13909
+ public signatures?: (proto.IEpochSignatures|null);
13910
+ public epochHead?: (Uint8Array|null);
13911
+ public static create(p?: IMinosSignedEpoch): MinosSignedEpoch;
13912
+ public static fromObject(d: { [k: string]: any }): MinosSignedEpoch;
13913
+ public static toObject(m: MinosSignedEpoch, o?: $protobuf.IConversionOptions): { [k: string]: any };
13914
+ public static encode(m: IMinosSignedEpoch, w?: $protobuf.Writer): $protobuf.Writer;
13915
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosSignedEpoch;
13916
+ public toJSON(): { [k: string]: any };
13917
+ }
13918
+
13919
+ interface IMinosThreadIdFromActThreadIdInput {
13920
+ actThreadId?: (string|null);
13921
+ }
13922
+
13923
+ class MinosThreadIdFromActThreadIdInput implements IMinosThreadIdFromActThreadIdInput {
13924
+ constructor(p?: IMinosThreadIdFromActThreadIdInput);
13925
+ public actThreadId?: (string|null);
13926
+ public static create(p?: IMinosThreadIdFromActThreadIdInput): MinosThreadIdFromActThreadIdInput;
13927
+ public static fromObject(d: { [k: string]: any }): MinosThreadIdFromActThreadIdInput;
13928
+ public static toObject(m: MinosThreadIdFromActThreadIdInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13929
+ public static encode(m: IMinosThreadIdFromActThreadIdInput, w?: $protobuf.Writer): $protobuf.Writer;
13930
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosThreadIdFromActThreadIdInput;
13931
+ public toJSON(): { [k: string]: any };
13932
+ }
13933
+
13934
+ interface IMinosThreadIdFromActThreadIdResult {
13935
+ threadId?: (Uint8Array|null);
13936
+ }
13937
+
13938
+ class MinosThreadIdFromActThreadIdResult implements IMinosThreadIdFromActThreadIdResult {
13939
+ constructor(p?: IMinosThreadIdFromActThreadIdResult);
13940
+ public threadId?: (Uint8Array|null);
13941
+ public static create(p?: IMinosThreadIdFromActThreadIdResult): MinosThreadIdFromActThreadIdResult;
13942
+ public static fromObject(d: { [k: string]: any }): MinosThreadIdFromActThreadIdResult;
13943
+ public static toObject(m: MinosThreadIdFromActThreadIdResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13944
+ public static encode(m: IMinosThreadIdFromActThreadIdResult, w?: $protobuf.Writer): $protobuf.Writer;
13945
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosThreadIdFromActThreadIdResult;
13946
+ public toJSON(): { [k: string]: any };
13947
+ }
13948
+
13949
+ interface IMinosThreadIdFromOneToOneThreadInput {
13950
+ actThreadId?: (string|null);
13951
+ selfFbid?: (string|null);
13952
+ }
13953
+
13954
+ class MinosThreadIdFromOneToOneThreadInput implements IMinosThreadIdFromOneToOneThreadInput {
13955
+ constructor(p?: IMinosThreadIdFromOneToOneThreadInput);
13956
+ public actThreadId?: (string|null);
13957
+ public selfFbid?: (string|null);
13958
+ public static create(p?: IMinosThreadIdFromOneToOneThreadInput): MinosThreadIdFromOneToOneThreadInput;
13959
+ public static fromObject(d: { [k: string]: any }): MinosThreadIdFromOneToOneThreadInput;
13960
+ public static toObject(m: MinosThreadIdFromOneToOneThreadInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13961
+ public static encode(m: IMinosThreadIdFromOneToOneThreadInput, w?: $protobuf.Writer): $protobuf.Writer;
13962
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosThreadIdFromOneToOneThreadInput;
13963
+ public toJSON(): { [k: string]: any };
13964
+ }
13965
+
13966
+ interface IMinosThreadIdFromOneToOneThreadResult {
13967
+ threadId?: (Uint8Array|null);
13968
+ }
13969
+
13970
+ class MinosThreadIdFromOneToOneThreadResult implements IMinosThreadIdFromOneToOneThreadResult {
13971
+ constructor(p?: IMinosThreadIdFromOneToOneThreadResult);
13972
+ public threadId?: (Uint8Array|null);
13973
+ public static create(p?: IMinosThreadIdFromOneToOneThreadResult): MinosThreadIdFromOneToOneThreadResult;
13974
+ public static fromObject(d: { [k: string]: any }): MinosThreadIdFromOneToOneThreadResult;
13975
+ public static toObject(m: MinosThreadIdFromOneToOneThreadResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
13976
+ public static encode(m: IMinosThreadIdFromOneToOneThreadResult, w?: $protobuf.Writer): $protobuf.Writer;
13977
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosThreadIdFromOneToOneThreadResult;
13978
+ public toJSON(): { [k: string]: any };
13979
+ }
13980
+
13981
+ interface IMinosValidateEpochInput {
13982
+ epochPublicData?: (proto.IEpochPublicData|null);
13983
+ previousEpochPublicData?: (proto.IEpochPublicData|null);
13984
+ signatures?: (proto.IEpochSignatures|null);
13985
+ }
13986
+
13987
+ class MinosValidateEpochInput implements IMinosValidateEpochInput {
13988
+ constructor(p?: IMinosValidateEpochInput);
13989
+ public epochPublicData?: (proto.IEpochPublicData|null);
13990
+ public previousEpochPublicData?: (proto.IEpochPublicData|null);
13991
+ public signatures?: (proto.IEpochSignatures|null);
13992
+ public static create(p?: IMinosValidateEpochInput): MinosValidateEpochInput;
13993
+ public static fromObject(d: { [k: string]: any }): MinosValidateEpochInput;
13994
+ public static toObject(m: MinosValidateEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
13995
+ public static encode(m: IMinosValidateEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
13996
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosValidateEpochInput;
13997
+ public toJSON(): { [k: string]: any };
13998
+ }
13999
+
14000
+ interface IMinosValidateEpochResult {
14001
+ valid?: (boolean|null);
14002
+ errorMessage?: (string|null);
14003
+ }
14004
+
14005
+ class MinosValidateEpochResult implements IMinosValidateEpochResult {
14006
+ constructor(p?: IMinosValidateEpochResult);
14007
+ public valid?: (boolean|null);
14008
+ public errorMessage?: (string|null);
14009
+ public static create(p?: IMinosValidateEpochResult): MinosValidateEpochResult;
14010
+ public static fromObject(d: { [k: string]: any }): MinosValidateEpochResult;
14011
+ public static toObject(m: MinosValidateEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
14012
+ public static encode(m: IMinosValidateEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
14013
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosValidateEpochResult;
14014
+ public toJSON(): { [k: string]: any };
14015
+ }
14016
+
14017
+ interface IMinosVerifySingleEpochInput {
14018
+ epochPublicData?: (proto.IEpochPublicData|null);
14019
+ signature?: (Uint8Array|null);
14020
+ }
14021
+
14022
+ class MinosVerifySingleEpochInput implements IMinosVerifySingleEpochInput {
14023
+ constructor(p?: IMinosVerifySingleEpochInput);
14024
+ public epochPublicData?: (proto.IEpochPublicData|null);
14025
+ public signature?: (Uint8Array|null);
14026
+ public static create(p?: IMinosVerifySingleEpochInput): MinosVerifySingleEpochInput;
14027
+ public static fromObject(d: { [k: string]: any }): MinosVerifySingleEpochInput;
14028
+ public static toObject(m: MinosVerifySingleEpochInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
14029
+ public static encode(m: IMinosVerifySingleEpochInput, w?: $protobuf.Writer): $protobuf.Writer;
14030
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosVerifySingleEpochInput;
14031
+ public toJSON(): { [k: string]: any };
14032
+ }
14033
+
14034
+ interface IMinosVerifySingleEpochResult {
14035
+ valid?: (boolean|null);
14036
+ }
14037
+
14038
+ class MinosVerifySingleEpochResult implements IMinosVerifySingleEpochResult {
14039
+ constructor(p?: IMinosVerifySingleEpochResult);
14040
+ public valid?: (boolean|null);
14041
+ public static create(p?: IMinosVerifySingleEpochResult): MinosVerifySingleEpochResult;
14042
+ public static fromObject(d: { [k: string]: any }): MinosVerifySingleEpochResult;
14043
+ public static toObject(m: MinosVerifySingleEpochResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
14044
+ public static encode(m: IMinosVerifySingleEpochResult, w?: $protobuf.Writer): $protobuf.Writer;
14045
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MinosVerifySingleEpochResult;
14046
+ public toJSON(): { [k: string]: any };
14047
+ }
14048
+
14049
+ interface IMmkDistribution {
14050
+ toDetachedDevices?: proto.IMmkDistributionToDetachedDevice[];
14051
+ toMailbox?: (proto.IMmkDistributionToMailbox|null);
14052
+ version?: (Long|null);
14053
+ }
14054
+
14055
+ class MmkDistribution implements IMmkDistribution {
14056
+ constructor(p?: IMmkDistribution);
14057
+ public toDetachedDevices?: proto.IMmkDistributionToDetachedDevice[];
14058
+ public toMailbox?: (proto.IMmkDistributionToMailbox|null);
14059
+ public version?: (Long|null);
14060
+ public static create(p?: IMmkDistribution): MmkDistribution;
14061
+ public static fromObject(d: { [k: string]: any }): MmkDistribution;
14062
+ public static toObject(m: MmkDistribution, o?: $protobuf.IConversionOptions): { [k: string]: any };
14063
+ public static encode(m: IMmkDistribution, w?: $protobuf.Writer): $protobuf.Writer;
14064
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkDistribution;
14065
+ public toJSON(): { [k: string]: any };
14066
+ }
14067
+
14068
+ interface IMmkDistributionToDetachedDevice {
14069
+ encryptedMmk?: (Uint8Array|null);
14070
+ recipDeviceHash?: (Uint8Array|null);
14071
+ }
14072
+
14073
+ class MmkDistributionToDetachedDevice implements IMmkDistributionToDetachedDevice {
14074
+ constructor(p?: IMmkDistributionToDetachedDevice);
14075
+ public encryptedMmk?: (Uint8Array|null);
14076
+ public recipDeviceHash?: (Uint8Array|null);
14077
+ public static create(p?: IMmkDistributionToDetachedDevice): MmkDistributionToDetachedDevice;
14078
+ public static fromObject(d: { [k: string]: any }): MmkDistributionToDetachedDevice;
14079
+ public static toObject(m: MmkDistributionToDetachedDevice, o?: $protobuf.IConversionOptions): { [k: string]: any };
14080
+ public static encode(m: IMmkDistributionToDetachedDevice, w?: $protobuf.Writer): $protobuf.Writer;
14081
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkDistributionToDetachedDevice;
14082
+ public toJSON(): { [k: string]: any };
14083
+ }
14084
+
14085
+ interface IMmkDistributionToMailbox {
14086
+ encryptedMmk?: (Uint8Array|null);
14087
+ recipMailboxHeadHash?: (Uint8Array|null);
14088
+ }
14089
+
14090
+ class MmkDistributionToMailbox implements IMmkDistributionToMailbox {
14091
+ constructor(p?: IMmkDistributionToMailbox);
14092
+ public encryptedMmk?: (Uint8Array|null);
14093
+ public recipMailboxHeadHash?: (Uint8Array|null);
14094
+ public static create(p?: IMmkDistributionToMailbox): MmkDistributionToMailbox;
14095
+ public static fromObject(d: { [k: string]: any }): MmkDistributionToMailbox;
14096
+ public static toObject(m: MmkDistributionToMailbox, o?: $protobuf.IConversionOptions): { [k: string]: any };
14097
+ public static encode(m: IMmkDistributionToMailbox, w?: $protobuf.Writer): $protobuf.Writer;
14098
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkDistributionToMailbox;
14099
+ public toJSON(): { [k: string]: any };
14100
+ }
14101
+
14102
+ interface IMmkFromDetachedDevice {
14103
+ mmk?: (proto.IMessagingMailboxPublicData|null);
14104
+ fromDetachedDevice?: (proto.IDetachedDevicePublicData|null);
14105
+ membershipProof?: (proto.IMerkleMembershipProof|null);
14106
+ }
14107
+
14108
+ class MmkFromDetachedDevice implements IMmkFromDetachedDevice {
14109
+ constructor(p?: IMmkFromDetachedDevice);
14110
+ public mmk?: (proto.IMessagingMailboxPublicData|null);
14111
+ public fromDetachedDevice?: (proto.IDetachedDevicePublicData|null);
14112
+ public membershipProof?: (proto.IMerkleMembershipProof|null);
14113
+ public static create(p?: IMmkFromDetachedDevice): MmkFromDetachedDevice;
14114
+ public static fromObject(d: { [k: string]: any }): MmkFromDetachedDevice;
14115
+ public static toObject(m: MmkFromDetachedDevice, o?: $protobuf.IConversionOptions): { [k: string]: any };
14116
+ public static encode(m: IMmkFromDetachedDevice, w?: $protobuf.Writer): $protobuf.Writer;
14117
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): MmkFromDetachedDevice;
14118
+ public toJSON(): { [k: string]: any };
14119
+ }
14120
+
12155
14121
  interface IMoney {
12156
14122
  value?: (Long|null);
12157
14123
  offset?: (number|null);
@@ -12486,6 +14452,7 @@ export namespace proto {
12486
14452
  BUBBLE_LOCK_MESSAGE_ACTION = 90,
12487
14453
  LABEL_SUBLIST_ACTION = 91,
12488
14454
  DEVICE_CAPABILITIES_V2 = 92,
14455
+ CTWA_MESSAGE_RECEIVED_ACTION = 93,
12489
14456
  SHARE_OWN_PN = 10001,
12490
14457
  BUSINESS_BROADCAST_ACTION = 10002,
12491
14458
  AI_THREAD_DELETE_ACTION = 10003,
@@ -13446,9 +15413,8 @@ export namespace proto {
13446
15413
 
13447
15414
  interface IRotateEpochInput {
13448
15415
  currentEpochRootKey?: (Uint8Array|null);
13449
- currentEpochAnonId?: (Long|null);
15416
+ currentEpochAnonId?: (Uint8Array|null);
13450
15417
  currentEpochFbid?: (Long|null);
13451
- newEpochFbid?: (Long|null);
13452
15418
  epochStoragePrivateKey?: (Uint8Array|null);
13453
15419
  members?: proto.IRotateEpochMemberInput[];
13454
15420
  }
@@ -13456,9 +15422,8 @@ export namespace proto {
13456
15422
  class RotateEpochInput implements IRotateEpochInput {
13457
15423
  constructor(p?: IRotateEpochInput);
13458
15424
  public currentEpochRootKey?: (Uint8Array|null);
13459
- public currentEpochAnonId?: (Long|null);
15425
+ public currentEpochAnonId?: (Uint8Array|null);
13460
15426
  public currentEpochFbid?: (Long|null);
13461
- public newEpochFbid?: (Long|null);
13462
15427
  public epochStoragePrivateKey?: (Uint8Array|null);
13463
15428
  public members?: proto.IRotateEpochMemberInput[];
13464
15429
  public static create(p?: IRotateEpochInput): RotateEpochInput;
@@ -13510,8 +15475,9 @@ export namespace proto {
13510
15475
  interface IRotateEpochOutput {
13511
15476
  newEpochRootKey?: (Uint8Array|null);
13512
15477
  newEpochAnonId?: (Long|null);
15478
+ newEpochFbid?: (Long|null);
13513
15479
  epochAnonId?: (Uint8Array|null);
13514
- epochData?: (Uint8Array|null);
15480
+ backwardEdge?: (proto.IBackwardEdge|null);
13515
15481
  memberEdges?: proto.IRotateEpochMemberEdge[];
13516
15482
  epochRootKeyFingerprint?: (Uint8Array|null);
13517
15483
  error?: (string|null);
@@ -13521,8 +15487,9 @@ export namespace proto {
13521
15487
  constructor(p?: IRotateEpochOutput);
13522
15488
  public newEpochRootKey?: (Uint8Array|null);
13523
15489
  public newEpochAnonId?: (Long|null);
15490
+ public newEpochFbid?: (Long|null);
13524
15491
  public epochAnonId?: (Uint8Array|null);
13525
- public epochData?: (Uint8Array|null);
15492
+ public backwardEdge?: (proto.IBackwardEdge|null);
13526
15493
  public memberEdges?: proto.IRotateEpochMemberEdge[];
13527
15494
  public epochRootKeyFingerprint?: (Uint8Array|null);
13528
15495
  public error?: (string|null);
@@ -13922,6 +15889,25 @@ export namespace proto {
13922
15889
  public toJSON(): { [k: string]: any };
13923
15890
  }
13924
15891
 
15892
+ interface ISignedMmkDistributionFromMailbox {
15893
+ mmkDistribution?: (proto.IMmkDistribution|null);
15894
+ signature?: (Uint8Array|null);
15895
+ fromMailbox?: (proto.IMessagingMailboxPublicData|null);
15896
+ }
15897
+
15898
+ class SignedMmkDistributionFromMailbox implements ISignedMmkDistributionFromMailbox {
15899
+ constructor(p?: ISignedMmkDistributionFromMailbox);
15900
+ public mmkDistribution?: (proto.IMmkDistribution|null);
15901
+ public signature?: (Uint8Array|null);
15902
+ public fromMailbox?: (proto.IMessagingMailboxPublicData|null);
15903
+ public static create(p?: ISignedMmkDistributionFromMailbox): SignedMmkDistributionFromMailbox;
15904
+ public static fromObject(d: { [k: string]: any }): SignedMmkDistributionFromMailbox;
15905
+ public static toObject(m: SignedMmkDistributionFromMailbox, o?: $protobuf.IConversionOptions): { [k: string]: any };
15906
+ public static encode(m: ISignedMmkDistributionFromMailbox, w?: $protobuf.Writer): $protobuf.Writer;
15907
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): SignedMmkDistributionFromMailbox;
15908
+ public toJSON(): { [k: string]: any };
15909
+ }
15910
+
13925
15911
  interface ISignedPreKeyRecordStructure {
13926
15912
  id?: (number|null);
13927
15913
  publicKey?: (Uint8Array|null);
@@ -14366,6 +16352,7 @@ export namespace proto {
14366
16352
  bubbleLockMessageAction?: (proto.SyncActionValue.IBubbleLockMessageAction|null);
14367
16353
  labelSublistAction?: (proto.SyncActionValue.ILabelSublistAction|null);
14368
16354
  deviceCapabilitiesV2?: (proto.IDeviceCapabilities|null);
16355
+ ctwaMessageReceivedAction?: (proto.SyncActionValue.ICtwaMessageReceivedAction|null);
14369
16356
  }
14370
16357
 
14371
16358
  class SyncActionValue implements ISyncActionValue {
@@ -14453,6 +16440,7 @@ export namespace proto {
14453
16440
  public bubbleLockMessageAction?: (proto.SyncActionValue.IBubbleLockMessageAction|null);
14454
16441
  public labelSublistAction?: (proto.SyncActionValue.ILabelSublistAction|null);
14455
16442
  public deviceCapabilitiesV2?: (proto.IDeviceCapabilities|null);
16443
+ public ctwaMessageReceivedAction?: (proto.SyncActionValue.ICtwaMessageReceivedAction|null);
14456
16444
  public static create(p?: ISyncActionValue): SyncActionValue;
14457
16445
  public static fromObject(d: { [k: string]: any }): SyncActionValue;
14458
16446
  public static toObject(m: SyncActionValue, o?: $protobuf.IConversionOptions): { [k: string]: any };
@@ -14851,6 +16839,21 @@ export namespace proto {
14851
16839
  public toJSON(): { [k: string]: any };
14852
16840
  }
14853
16841
 
16842
+ interface ICtwaMessageReceivedAction {
16843
+ isCtwaMessageReceived?: (boolean|null);
16844
+ }
16845
+
16846
+ class CtwaMessageReceivedAction implements ICtwaMessageReceivedAction {
16847
+ constructor(p?: ICtwaMessageReceivedAction);
16848
+ public isCtwaMessageReceived?: (boolean|null);
16849
+ public static create(p?: ICtwaMessageReceivedAction): CtwaMessageReceivedAction;
16850
+ public static fromObject(d: { [k: string]: any }): CtwaMessageReceivedAction;
16851
+ public static toObject(m: CtwaMessageReceivedAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
16852
+ public static encode(m: ICtwaMessageReceivedAction, w?: $protobuf.Writer): $protobuf.Writer;
16853
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): CtwaMessageReceivedAction;
16854
+ public toJSON(): { [k: string]: any };
16855
+ }
16856
+
14854
16857
  interface ICtwaPerCustomerDataSharingAction {
14855
16858
  isCtwaPerCustomerDataSharingEnabled?: (boolean|null);
14856
16859
  }
@@ -15173,6 +17176,7 @@ export namespace proto {
15173
17176
  INVITES = 14,
15174
17177
  THIRD_PARTY = 15,
15175
17178
  LEAD = 16,
17179
+ MENTIONS_AND_REPLIES = 17,
15176
17180
  }
15177
17181
  }
15178
17182
 
@@ -17518,6 +19522,66 @@ export namespace proto {
17518
19522
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): WebNotificationsInfo;
17519
19523
  public toJSON(): { [k: string]: any };
17520
19524
  }
19525
+
19526
+ interface IWrapTransportSigningPublicKeyInput {
19527
+ keyBytes?: (Uint8Array|null);
19528
+ }
19529
+
19530
+ class WrapTransportSigningPublicKeyInput implements IWrapTransportSigningPublicKeyInput {
19531
+ constructor(p?: IWrapTransportSigningPublicKeyInput);
19532
+ public keyBytes?: (Uint8Array|null);
19533
+ public static create(p?: IWrapTransportSigningPublicKeyInput): WrapTransportSigningPublicKeyInput;
19534
+ public static fromObject(d: { [k: string]: any }): WrapTransportSigningPublicKeyInput;
19535
+ public static toObject(m: WrapTransportSigningPublicKeyInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
19536
+ public static encode(m: IWrapTransportSigningPublicKeyInput, w?: $protobuf.Writer): $protobuf.Writer;
19537
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): WrapTransportSigningPublicKeyInput;
19538
+ public toJSON(): { [k: string]: any };
19539
+ }
19540
+
19541
+ interface IWrapTransportSigningPublicKeyResult {
19542
+ prefixedKey?: (Uint8Array|null);
19543
+ }
19544
+
19545
+ class WrapTransportSigningPublicKeyResult implements IWrapTransportSigningPublicKeyResult {
19546
+ constructor(p?: IWrapTransportSigningPublicKeyResult);
19547
+ public prefixedKey?: (Uint8Array|null);
19548
+ public static create(p?: IWrapTransportSigningPublicKeyResult): WrapTransportSigningPublicKeyResult;
19549
+ public static fromObject(d: { [k: string]: any }): WrapTransportSigningPublicKeyResult;
19550
+ public static toObject(m: WrapTransportSigningPublicKeyResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
19551
+ public static encode(m: IWrapTransportSigningPublicKeyResult, w?: $protobuf.Writer): $protobuf.Writer;
19552
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): WrapTransportSigningPublicKeyResult;
19553
+ public toJSON(): { [k: string]: any };
19554
+ }
19555
+
19556
+ interface IWrapTransportSigningSecretKeyInput {
19557
+ keyBytes?: (Uint8Array|null);
19558
+ }
19559
+
19560
+ class WrapTransportSigningSecretKeyInput implements IWrapTransportSigningSecretKeyInput {
19561
+ constructor(p?: IWrapTransportSigningSecretKeyInput);
19562
+ public keyBytes?: (Uint8Array|null);
19563
+ public static create(p?: IWrapTransportSigningSecretKeyInput): WrapTransportSigningSecretKeyInput;
19564
+ public static fromObject(d: { [k: string]: any }): WrapTransportSigningSecretKeyInput;
19565
+ public static toObject(m: WrapTransportSigningSecretKeyInput, o?: $protobuf.IConversionOptions): { [k: string]: any };
19566
+ public static encode(m: IWrapTransportSigningSecretKeyInput, w?: $protobuf.Writer): $protobuf.Writer;
19567
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): WrapTransportSigningSecretKeyInput;
19568
+ public toJSON(): { [k: string]: any };
19569
+ }
19570
+
19571
+ interface IWrapTransportSigningSecretKeyResult {
19572
+ prefixedKey?: (Uint8Array|null);
19573
+ }
19574
+
19575
+ class WrapTransportSigningSecretKeyResult implements IWrapTransportSigningSecretKeyResult {
19576
+ constructor(p?: IWrapTransportSigningSecretKeyResult);
19577
+ public prefixedKey?: (Uint8Array|null);
19578
+ public static create(p?: IWrapTransportSigningSecretKeyResult): WrapTransportSigningSecretKeyResult;
19579
+ public static fromObject(d: { [k: string]: any }): WrapTransportSigningSecretKeyResult;
19580
+ public static toObject(m: WrapTransportSigningSecretKeyResult, o?: $protobuf.IConversionOptions): { [k: string]: any };
19581
+ public static encode(m: IWrapTransportSigningSecretKeyResult, w?: $protobuf.Writer): $protobuf.Writer;
19582
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): WrapTransportSigningSecretKeyResult;
19583
+ public toJSON(): { [k: string]: any };
19584
+ }
17521
19585
  export type IAdvDeviceIdentity = IADVDeviceIdentity;
17522
19586
  export type AdvDeviceIdentity = ADVDeviceIdentity;
17523
19587
  export type IAdvSignedDeviceIdentity = IADVSignedDeviceIdentity;