@wppconnect/wa-proto 2.3000.1055852612 → 2.3000.1055923191
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.
- package/WAProto.proto +2 -29
- package/dist/index.d.ts +7 -433
- package/dist/index.js +34 -1322
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1055923191
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1545,12 +1545,6 @@ enum CollectionName {
|
|
|
1545
1545
|
CRITICAL_BLOCK = 4;
|
|
1546
1546
|
CRITICAL_UNBLOCK_LOW = 5;
|
|
1547
1547
|
}
|
|
1548
|
-
message CombinedFingerprint {
|
|
1549
|
-
optional uint32 version = 1;
|
|
1550
|
-
optional FingerprintData localFingerprint = 2;
|
|
1551
|
-
optional FingerprintData remoteFingerprint = 3;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
1548
|
message CommentMetadata {
|
|
1555
1549
|
optional MessageKey commentParentKey = 1;
|
|
1556
1550
|
optional uint32 replyCount = 2;
|
|
@@ -1983,6 +1977,7 @@ message Conversation {
|
|
|
1983
1977
|
optional bool isWorkGroup = 67;
|
|
1984
1978
|
optional int32 nonE2EeType = 68;
|
|
1985
1979
|
optional NonE2EEAttestation.AccountType contactAccountEncryptionAttestationType = 69;
|
|
1980
|
+
optional uint32 unreadReplyToMyMessageCount = 70;
|
|
1986
1981
|
enum EndOfHistoryTransferType {
|
|
1987
1982
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1988
1983
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -2482,15 +2477,6 @@ message Field {
|
|
|
2482
2477
|
map<uint32, Field> subfield = 5;
|
|
2483
2478
|
}
|
|
2484
2479
|
|
|
2485
|
-
message FingerprintData {
|
|
2486
|
-
optional bytes publicKey = 1;
|
|
2487
|
-
optional bytes pnIdentifier = 2;
|
|
2488
|
-
optional bytes lidIdentifier = 3;
|
|
2489
|
-
optional bytes usernameIdentifier = 4;
|
|
2490
|
-
optional HostedState hostedState = 5;
|
|
2491
|
-
optional bytes hashedPublicKey = 6;
|
|
2492
|
-
}
|
|
2493
|
-
|
|
2494
2480
|
message ForwardEdgeInput {
|
|
2495
2481
|
required bytes encryptedEntropy = 1;
|
|
2496
2482
|
required bytes authPublicKey = 2;
|
|
@@ -2721,10 +2707,6 @@ message HistorySyncMsg {
|
|
|
2721
2707
|
optional uint64 msgOrderId = 2;
|
|
2722
2708
|
}
|
|
2723
2709
|
|
|
2724
|
-
enum HostedState {
|
|
2725
|
-
E2EE = 0;
|
|
2726
|
-
HOSTED = 1;
|
|
2727
|
-
}
|
|
2728
2710
|
message HydratedTemplateButton {
|
|
2729
2711
|
optional uint32 index = 4;
|
|
2730
2712
|
oneof hydratedButton {
|
|
@@ -5930,15 +5912,6 @@ message RotateEpochSuccess {
|
|
|
5930
5912
|
required bytes epochRootKeyFingerprint = 6;
|
|
5931
5913
|
}
|
|
5932
5914
|
|
|
5933
|
-
message RoutingInfo {
|
|
5934
|
-
repeated int32 regionId = 1;
|
|
5935
|
-
repeated int32 clusterId = 2;
|
|
5936
|
-
optional int32 taskId = 3;
|
|
5937
|
-
optional bool debug = 4;
|
|
5938
|
-
optional bool tcpBbr = 5;
|
|
5939
|
-
optional bool tcpKeepalive = 6;
|
|
5940
|
-
}
|
|
5941
|
-
|
|
5942
5915
|
message ScheduledMessageMetadata {
|
|
5943
5916
|
optional string revealKeyId = 1;
|
|
5944
5917
|
optional bytes revealKey = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -20189,135 +20189,6 @@ export namespace waproto {
|
|
|
20189
20189
|
CRITICAL_UNBLOCK_LOW = 5
|
|
20190
20190
|
}
|
|
20191
20191
|
|
|
20192
|
-
/**
|
|
20193
|
-
* Properties of a CombinedFingerprint.
|
|
20194
|
-
* @deprecated Use waproto.CombinedFingerprint.$Properties instead.
|
|
20195
|
-
*/
|
|
20196
|
-
interface ICombinedFingerprint extends waproto.CombinedFingerprint.$Properties {
|
|
20197
|
-
}
|
|
20198
|
-
|
|
20199
|
-
/** Represents a CombinedFingerprint. */
|
|
20200
|
-
class CombinedFingerprint {
|
|
20201
|
-
|
|
20202
|
-
/**
|
|
20203
|
-
* Constructs a new CombinedFingerprint.
|
|
20204
|
-
* @param [properties] Properties to set
|
|
20205
|
-
*/
|
|
20206
|
-
constructor(properties?: waproto.CombinedFingerprint.$Properties);
|
|
20207
|
-
|
|
20208
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
20209
|
-
$unknowns?: Uint8Array[];
|
|
20210
|
-
|
|
20211
|
-
/** CombinedFingerprint version. */
|
|
20212
|
-
version?: (number|null);
|
|
20213
|
-
|
|
20214
|
-
/** CombinedFingerprint localFingerprint. */
|
|
20215
|
-
localFingerprint?: (waproto.FingerprintData.$Properties|null);
|
|
20216
|
-
|
|
20217
|
-
/** CombinedFingerprint remoteFingerprint. */
|
|
20218
|
-
remoteFingerprint?: (waproto.FingerprintData.$Properties|null);
|
|
20219
|
-
|
|
20220
|
-
/**
|
|
20221
|
-
* Creates a new CombinedFingerprint instance using the specified properties.
|
|
20222
|
-
* @param [properties] Properties to set
|
|
20223
|
-
* @returns CombinedFingerprint instance
|
|
20224
|
-
*/
|
|
20225
|
-
static create(properties: waproto.CombinedFingerprint.$Shape): waproto.CombinedFingerprint & waproto.CombinedFingerprint.$Shape;
|
|
20226
|
-
static create(properties?: waproto.CombinedFingerprint.$Properties): waproto.CombinedFingerprint;
|
|
20227
|
-
|
|
20228
|
-
/**
|
|
20229
|
-
* Encodes the specified CombinedFingerprint message. Does not implicitly {@link waproto.CombinedFingerprint.verify|verify} messages.
|
|
20230
|
-
* @param message CombinedFingerprint message or plain object to encode
|
|
20231
|
-
* @param [writer] Writer to encode to
|
|
20232
|
-
* @returns Writer
|
|
20233
|
-
*/
|
|
20234
|
-
static encode(message: waproto.CombinedFingerprint.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20235
|
-
|
|
20236
|
-
/**
|
|
20237
|
-
* Encodes the specified CombinedFingerprint message, length delimited. Does not implicitly {@link waproto.CombinedFingerprint.verify|verify} messages.
|
|
20238
|
-
* @param message CombinedFingerprint message or plain object to encode
|
|
20239
|
-
* @param [writer] Writer to encode to
|
|
20240
|
-
* @returns Writer
|
|
20241
|
-
*/
|
|
20242
|
-
static encodeDelimited(message: waproto.CombinedFingerprint.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20243
|
-
|
|
20244
|
-
/**
|
|
20245
|
-
* Decodes a CombinedFingerprint message from the specified reader or buffer.
|
|
20246
|
-
* @param reader Reader or buffer to decode from
|
|
20247
|
-
* @param [length] Message length if known beforehand
|
|
20248
|
-
* @returns {waproto.CombinedFingerprint & waproto.CombinedFingerprint.$Shape} CombinedFingerprint
|
|
20249
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20250
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20251
|
-
*/
|
|
20252
|
-
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CombinedFingerprint & waproto.CombinedFingerprint.$Shape;
|
|
20253
|
-
|
|
20254
|
-
/**
|
|
20255
|
-
* Decodes a CombinedFingerprint message from the specified reader or buffer, length delimited.
|
|
20256
|
-
* @param reader Reader or buffer to decode from
|
|
20257
|
-
* @returns {waproto.CombinedFingerprint & waproto.CombinedFingerprint.$Shape} CombinedFingerprint
|
|
20258
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20259
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20260
|
-
*/
|
|
20261
|
-
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CombinedFingerprint & waproto.CombinedFingerprint.$Shape;
|
|
20262
|
-
|
|
20263
|
-
/**
|
|
20264
|
-
* Verifies a CombinedFingerprint message.
|
|
20265
|
-
* @param message Plain object to verify
|
|
20266
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
20267
|
-
*/
|
|
20268
|
-
static verify(message: { [k: string]: any }): (string|null);
|
|
20269
|
-
|
|
20270
|
-
/**
|
|
20271
|
-
* Creates a CombinedFingerprint message from a plain object. Also converts values to their respective internal types.
|
|
20272
|
-
* @param object Plain object
|
|
20273
|
-
* @returns CombinedFingerprint
|
|
20274
|
-
*/
|
|
20275
|
-
static fromObject(object: { [k: string]: any }): waproto.CombinedFingerprint;
|
|
20276
|
-
|
|
20277
|
-
/**
|
|
20278
|
-
* Creates a plain object from a CombinedFingerprint message. Also converts values to other types if specified.
|
|
20279
|
-
* @param message CombinedFingerprint
|
|
20280
|
-
* @param [options] Conversion options
|
|
20281
|
-
* @returns Plain object
|
|
20282
|
-
*/
|
|
20283
|
-
static toObject(message: waproto.CombinedFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20284
|
-
|
|
20285
|
-
/**
|
|
20286
|
-
* Converts this CombinedFingerprint to JSON.
|
|
20287
|
-
* @returns JSON object
|
|
20288
|
-
*/
|
|
20289
|
-
toJSON(): { [k: string]: any };
|
|
20290
|
-
|
|
20291
|
-
/**
|
|
20292
|
-
* Gets the type url for CombinedFingerprint
|
|
20293
|
-
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
20294
|
-
* @returns The type url
|
|
20295
|
-
*/
|
|
20296
|
-
static getTypeUrl(prefix?: string): string;
|
|
20297
|
-
}
|
|
20298
|
-
|
|
20299
|
-
namespace CombinedFingerprint {
|
|
20300
|
-
|
|
20301
|
-
/** Properties of a CombinedFingerprint. */
|
|
20302
|
-
interface $Properties {
|
|
20303
|
-
|
|
20304
|
-
/** CombinedFingerprint version */
|
|
20305
|
-
version?: (number|null);
|
|
20306
|
-
|
|
20307
|
-
/** CombinedFingerprint localFingerprint */
|
|
20308
|
-
localFingerprint?: (waproto.FingerprintData.$Properties|null);
|
|
20309
|
-
|
|
20310
|
-
/** CombinedFingerprint remoteFingerprint */
|
|
20311
|
-
remoteFingerprint?: (waproto.FingerprintData.$Properties|null);
|
|
20312
|
-
|
|
20313
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
20314
|
-
$unknowns?: Uint8Array[];
|
|
20315
|
-
}
|
|
20316
|
-
|
|
20317
|
-
/** Shape of a CombinedFingerprint. */
|
|
20318
|
-
type $Shape = waproto.CombinedFingerprint.$Properties;
|
|
20319
|
-
}
|
|
20320
|
-
|
|
20321
20192
|
/**
|
|
20322
20193
|
* Properties of a CommentMetadata.
|
|
20323
20194
|
* @deprecated Use waproto.CommentMetadata.$Properties instead.
|
|
@@ -24973,6 +24844,9 @@ export namespace waproto {
|
|
|
24973
24844
|
/** Conversation contactAccountEncryptionAttestationType. */
|
|
24974
24845
|
contactAccountEncryptionAttestationType?: (waproto.NonE2EEAttestation.AccountType|null);
|
|
24975
24846
|
|
|
24847
|
+
/** Conversation unreadReplyToMyMessageCount. */
|
|
24848
|
+
unreadReplyToMyMessageCount?: (number|null);
|
|
24849
|
+
|
|
24976
24850
|
/**
|
|
24977
24851
|
* Creates a new Conversation instance using the specified properties.
|
|
24978
24852
|
* @param [properties] Properties to set
|
|
@@ -25264,6 +25138,9 @@ export namespace waproto {
|
|
|
25264
25138
|
/** Conversation contactAccountEncryptionAttestationType */
|
|
25265
25139
|
contactAccountEncryptionAttestationType?: (waproto.NonE2EEAttestation.AccountType|null);
|
|
25266
25140
|
|
|
25141
|
+
/** Conversation unreadReplyToMyMessageCount */
|
|
25142
|
+
unreadReplyToMyMessageCount?: (number|null);
|
|
25143
|
+
|
|
25267
25144
|
/** Unknown fields preserved while decoding when enabled */
|
|
25268
25145
|
$unknowns?: Uint8Array[];
|
|
25269
25146
|
}
|
|
@@ -25339,6 +25216,7 @@ export namespace waproto {
|
|
|
25339
25216
|
isWorkGroup?: boolean|null;
|
|
25340
25217
|
nonE2EeType?: number|null;
|
|
25341
25218
|
contactAccountEncryptionAttestationType?: waproto.NonE2EEAttestation.AccountType|null;
|
|
25219
|
+
unreadReplyToMyMessageCount?: number|null;
|
|
25342
25220
|
$unknowns?: Uint8Array[];
|
|
25343
25221
|
};
|
|
25344
25222
|
|
|
@@ -33332,153 +33210,6 @@ export namespace waproto {
|
|
|
33332
33210
|
type $Shape = waproto.Field.$Properties;
|
|
33333
33211
|
}
|
|
33334
33212
|
|
|
33335
|
-
/**
|
|
33336
|
-
* Properties of a FingerprintData.
|
|
33337
|
-
* @deprecated Use waproto.FingerprintData.$Properties instead.
|
|
33338
|
-
*/
|
|
33339
|
-
interface IFingerprintData extends waproto.FingerprintData.$Properties {
|
|
33340
|
-
}
|
|
33341
|
-
|
|
33342
|
-
/** Represents a FingerprintData. */
|
|
33343
|
-
class FingerprintData {
|
|
33344
|
-
|
|
33345
|
-
/**
|
|
33346
|
-
* Constructs a new FingerprintData.
|
|
33347
|
-
* @param [properties] Properties to set
|
|
33348
|
-
*/
|
|
33349
|
-
constructor(properties?: waproto.FingerprintData.$Properties);
|
|
33350
|
-
|
|
33351
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
33352
|
-
$unknowns?: Uint8Array[];
|
|
33353
|
-
|
|
33354
|
-
/** FingerprintData publicKey. */
|
|
33355
|
-
publicKey?: (Uint8Array|null);
|
|
33356
|
-
|
|
33357
|
-
/** FingerprintData pnIdentifier. */
|
|
33358
|
-
pnIdentifier?: (Uint8Array|null);
|
|
33359
|
-
|
|
33360
|
-
/** FingerprintData lidIdentifier. */
|
|
33361
|
-
lidIdentifier?: (Uint8Array|null);
|
|
33362
|
-
|
|
33363
|
-
/** FingerprintData usernameIdentifier. */
|
|
33364
|
-
usernameIdentifier?: (Uint8Array|null);
|
|
33365
|
-
|
|
33366
|
-
/** FingerprintData hostedState. */
|
|
33367
|
-
hostedState?: (waproto.HostedState|null);
|
|
33368
|
-
|
|
33369
|
-
/** FingerprintData hashedPublicKey. */
|
|
33370
|
-
hashedPublicKey?: (Uint8Array|null);
|
|
33371
|
-
|
|
33372
|
-
/**
|
|
33373
|
-
* Creates a new FingerprintData instance using the specified properties.
|
|
33374
|
-
* @param [properties] Properties to set
|
|
33375
|
-
* @returns FingerprintData instance
|
|
33376
|
-
*/
|
|
33377
|
-
static create(properties: waproto.FingerprintData.$Shape): waproto.FingerprintData & waproto.FingerprintData.$Shape;
|
|
33378
|
-
static create(properties?: waproto.FingerprintData.$Properties): waproto.FingerprintData;
|
|
33379
|
-
|
|
33380
|
-
/**
|
|
33381
|
-
* Encodes the specified FingerprintData message. Does not implicitly {@link waproto.FingerprintData.verify|verify} messages.
|
|
33382
|
-
* @param message FingerprintData message or plain object to encode
|
|
33383
|
-
* @param [writer] Writer to encode to
|
|
33384
|
-
* @returns Writer
|
|
33385
|
-
*/
|
|
33386
|
-
static encode(message: waproto.FingerprintData.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33387
|
-
|
|
33388
|
-
/**
|
|
33389
|
-
* Encodes the specified FingerprintData message, length delimited. Does not implicitly {@link waproto.FingerprintData.verify|verify} messages.
|
|
33390
|
-
* @param message FingerprintData message or plain object to encode
|
|
33391
|
-
* @param [writer] Writer to encode to
|
|
33392
|
-
* @returns Writer
|
|
33393
|
-
*/
|
|
33394
|
-
static encodeDelimited(message: waproto.FingerprintData.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33395
|
-
|
|
33396
|
-
/**
|
|
33397
|
-
* Decodes a FingerprintData message from the specified reader or buffer.
|
|
33398
|
-
* @param reader Reader or buffer to decode from
|
|
33399
|
-
* @param [length] Message length if known beforehand
|
|
33400
|
-
* @returns {waproto.FingerprintData & waproto.FingerprintData.$Shape} FingerprintData
|
|
33401
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33402
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33403
|
-
*/
|
|
33404
|
-
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.FingerprintData & waproto.FingerprintData.$Shape;
|
|
33405
|
-
|
|
33406
|
-
/**
|
|
33407
|
-
* Decodes a FingerprintData message from the specified reader or buffer, length delimited.
|
|
33408
|
-
* @param reader Reader or buffer to decode from
|
|
33409
|
-
* @returns {waproto.FingerprintData & waproto.FingerprintData.$Shape} FingerprintData
|
|
33410
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33411
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33412
|
-
*/
|
|
33413
|
-
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.FingerprintData & waproto.FingerprintData.$Shape;
|
|
33414
|
-
|
|
33415
|
-
/**
|
|
33416
|
-
* Verifies a FingerprintData message.
|
|
33417
|
-
* @param message Plain object to verify
|
|
33418
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
33419
|
-
*/
|
|
33420
|
-
static verify(message: { [k: string]: any }): (string|null);
|
|
33421
|
-
|
|
33422
|
-
/**
|
|
33423
|
-
* Creates a FingerprintData message from a plain object. Also converts values to their respective internal types.
|
|
33424
|
-
* @param object Plain object
|
|
33425
|
-
* @returns FingerprintData
|
|
33426
|
-
*/
|
|
33427
|
-
static fromObject(object: { [k: string]: any }): waproto.FingerprintData;
|
|
33428
|
-
|
|
33429
|
-
/**
|
|
33430
|
-
* Creates a plain object from a FingerprintData message. Also converts values to other types if specified.
|
|
33431
|
-
* @param message FingerprintData
|
|
33432
|
-
* @param [options] Conversion options
|
|
33433
|
-
* @returns Plain object
|
|
33434
|
-
*/
|
|
33435
|
-
static toObject(message: waproto.FingerprintData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33436
|
-
|
|
33437
|
-
/**
|
|
33438
|
-
* Converts this FingerprintData to JSON.
|
|
33439
|
-
* @returns JSON object
|
|
33440
|
-
*/
|
|
33441
|
-
toJSON(): { [k: string]: any };
|
|
33442
|
-
|
|
33443
|
-
/**
|
|
33444
|
-
* Gets the type url for FingerprintData
|
|
33445
|
-
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
33446
|
-
* @returns The type url
|
|
33447
|
-
*/
|
|
33448
|
-
static getTypeUrl(prefix?: string): string;
|
|
33449
|
-
}
|
|
33450
|
-
|
|
33451
|
-
namespace FingerprintData {
|
|
33452
|
-
|
|
33453
|
-
/** Properties of a FingerprintData. */
|
|
33454
|
-
interface $Properties {
|
|
33455
|
-
|
|
33456
|
-
/** FingerprintData publicKey */
|
|
33457
|
-
publicKey?: (Uint8Array|null);
|
|
33458
|
-
|
|
33459
|
-
/** FingerprintData pnIdentifier */
|
|
33460
|
-
pnIdentifier?: (Uint8Array|null);
|
|
33461
|
-
|
|
33462
|
-
/** FingerprintData lidIdentifier */
|
|
33463
|
-
lidIdentifier?: (Uint8Array|null);
|
|
33464
|
-
|
|
33465
|
-
/** FingerprintData usernameIdentifier */
|
|
33466
|
-
usernameIdentifier?: (Uint8Array|null);
|
|
33467
|
-
|
|
33468
|
-
/** FingerprintData hostedState */
|
|
33469
|
-
hostedState?: (waproto.HostedState|null);
|
|
33470
|
-
|
|
33471
|
-
/** FingerprintData hashedPublicKey */
|
|
33472
|
-
hashedPublicKey?: (Uint8Array|null);
|
|
33473
|
-
|
|
33474
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
33475
|
-
$unknowns?: Uint8Array[];
|
|
33476
|
-
}
|
|
33477
|
-
|
|
33478
|
-
/** Shape of a FingerprintData. */
|
|
33479
|
-
type $Shape = waproto.FingerprintData.$Properties;
|
|
33480
|
-
}
|
|
33481
|
-
|
|
33482
33213
|
/**
|
|
33483
33214
|
* Properties of a ForwardEdgeInput.
|
|
33484
33215
|
* @deprecated Use waproto.ForwardEdgeInput.$Properties instead.
|
|
@@ -37119,16 +36850,6 @@ export namespace waproto {
|
|
|
37119
36850
|
};
|
|
37120
36851
|
}
|
|
37121
36852
|
|
|
37122
|
-
/** HostedState enum. */
|
|
37123
|
-
enum HostedState {
|
|
37124
|
-
|
|
37125
|
-
/** E2EE value */
|
|
37126
|
-
E2EE = 0,
|
|
37127
|
-
|
|
37128
|
-
/** HOSTED value */
|
|
37129
|
-
HOSTED = 1
|
|
37130
|
-
}
|
|
37131
|
-
|
|
37132
36853
|
/**
|
|
37133
36854
|
* Properties of a HydratedTemplateButton.
|
|
37134
36855
|
* @deprecated Use waproto.HydratedTemplateButton.$Properties instead.
|
|
@@ -82258,153 +81979,6 @@ export namespace waproto {
|
|
|
82258
81979
|
type $Shape = waproto.RotateEpochSuccess.$Properties;
|
|
82259
81980
|
}
|
|
82260
81981
|
|
|
82261
|
-
/**
|
|
82262
|
-
* Properties of a RoutingInfo.
|
|
82263
|
-
* @deprecated Use waproto.RoutingInfo.$Properties instead.
|
|
82264
|
-
*/
|
|
82265
|
-
interface IRoutingInfo extends waproto.RoutingInfo.$Properties {
|
|
82266
|
-
}
|
|
82267
|
-
|
|
82268
|
-
/** Represents a RoutingInfo. */
|
|
82269
|
-
class RoutingInfo {
|
|
82270
|
-
|
|
82271
|
-
/**
|
|
82272
|
-
* Constructs a new RoutingInfo.
|
|
82273
|
-
* @param [properties] Properties to set
|
|
82274
|
-
*/
|
|
82275
|
-
constructor(properties?: waproto.RoutingInfo.$Properties);
|
|
82276
|
-
|
|
82277
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
82278
|
-
$unknowns?: Uint8Array[];
|
|
82279
|
-
|
|
82280
|
-
/** RoutingInfo regionId. */
|
|
82281
|
-
regionId: number[];
|
|
82282
|
-
|
|
82283
|
-
/** RoutingInfo clusterId. */
|
|
82284
|
-
clusterId: number[];
|
|
82285
|
-
|
|
82286
|
-
/** RoutingInfo taskId. */
|
|
82287
|
-
taskId?: (number|null);
|
|
82288
|
-
|
|
82289
|
-
/** RoutingInfo debug. */
|
|
82290
|
-
debug?: (boolean|null);
|
|
82291
|
-
|
|
82292
|
-
/** RoutingInfo tcpBbr. */
|
|
82293
|
-
tcpBbr?: (boolean|null);
|
|
82294
|
-
|
|
82295
|
-
/** RoutingInfo tcpKeepalive. */
|
|
82296
|
-
tcpKeepalive?: (boolean|null);
|
|
82297
|
-
|
|
82298
|
-
/**
|
|
82299
|
-
* Creates a new RoutingInfo instance using the specified properties.
|
|
82300
|
-
* @param [properties] Properties to set
|
|
82301
|
-
* @returns RoutingInfo instance
|
|
82302
|
-
*/
|
|
82303
|
-
static create(properties: waproto.RoutingInfo.$Shape): waproto.RoutingInfo & waproto.RoutingInfo.$Shape;
|
|
82304
|
-
static create(properties?: waproto.RoutingInfo.$Properties): waproto.RoutingInfo;
|
|
82305
|
-
|
|
82306
|
-
/**
|
|
82307
|
-
* Encodes the specified RoutingInfo message. Does not implicitly {@link waproto.RoutingInfo.verify|verify} messages.
|
|
82308
|
-
* @param message RoutingInfo message or plain object to encode
|
|
82309
|
-
* @param [writer] Writer to encode to
|
|
82310
|
-
* @returns Writer
|
|
82311
|
-
*/
|
|
82312
|
-
static encode(message: waproto.RoutingInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82313
|
-
|
|
82314
|
-
/**
|
|
82315
|
-
* Encodes the specified RoutingInfo message, length delimited. Does not implicitly {@link waproto.RoutingInfo.verify|verify} messages.
|
|
82316
|
-
* @param message RoutingInfo message or plain object to encode
|
|
82317
|
-
* @param [writer] Writer to encode to
|
|
82318
|
-
* @returns Writer
|
|
82319
|
-
*/
|
|
82320
|
-
static encodeDelimited(message: waproto.RoutingInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82321
|
-
|
|
82322
|
-
/**
|
|
82323
|
-
* Decodes a RoutingInfo message from the specified reader or buffer.
|
|
82324
|
-
* @param reader Reader or buffer to decode from
|
|
82325
|
-
* @param [length] Message length if known beforehand
|
|
82326
|
-
* @returns {waproto.RoutingInfo & waproto.RoutingInfo.$Shape} RoutingInfo
|
|
82327
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82328
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82329
|
-
*/
|
|
82330
|
-
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RoutingInfo & waproto.RoutingInfo.$Shape;
|
|
82331
|
-
|
|
82332
|
-
/**
|
|
82333
|
-
* Decodes a RoutingInfo message from the specified reader or buffer, length delimited.
|
|
82334
|
-
* @param reader Reader or buffer to decode from
|
|
82335
|
-
* @returns {waproto.RoutingInfo & waproto.RoutingInfo.$Shape} RoutingInfo
|
|
82336
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82337
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82338
|
-
*/
|
|
82339
|
-
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RoutingInfo & waproto.RoutingInfo.$Shape;
|
|
82340
|
-
|
|
82341
|
-
/**
|
|
82342
|
-
* Verifies a RoutingInfo message.
|
|
82343
|
-
* @param message Plain object to verify
|
|
82344
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
82345
|
-
*/
|
|
82346
|
-
static verify(message: { [k: string]: any }): (string|null);
|
|
82347
|
-
|
|
82348
|
-
/**
|
|
82349
|
-
* Creates a RoutingInfo message from a plain object. Also converts values to their respective internal types.
|
|
82350
|
-
* @param object Plain object
|
|
82351
|
-
* @returns RoutingInfo
|
|
82352
|
-
*/
|
|
82353
|
-
static fromObject(object: { [k: string]: any }): waproto.RoutingInfo;
|
|
82354
|
-
|
|
82355
|
-
/**
|
|
82356
|
-
* Creates a plain object from a RoutingInfo message. Also converts values to other types if specified.
|
|
82357
|
-
* @param message RoutingInfo
|
|
82358
|
-
* @param [options] Conversion options
|
|
82359
|
-
* @returns Plain object
|
|
82360
|
-
*/
|
|
82361
|
-
static toObject(message: waproto.RoutingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
82362
|
-
|
|
82363
|
-
/**
|
|
82364
|
-
* Converts this RoutingInfo to JSON.
|
|
82365
|
-
* @returns JSON object
|
|
82366
|
-
*/
|
|
82367
|
-
toJSON(): { [k: string]: any };
|
|
82368
|
-
|
|
82369
|
-
/**
|
|
82370
|
-
* Gets the type url for RoutingInfo
|
|
82371
|
-
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
82372
|
-
* @returns The type url
|
|
82373
|
-
*/
|
|
82374
|
-
static getTypeUrl(prefix?: string): string;
|
|
82375
|
-
}
|
|
82376
|
-
|
|
82377
|
-
namespace RoutingInfo {
|
|
82378
|
-
|
|
82379
|
-
/** Properties of a RoutingInfo. */
|
|
82380
|
-
interface $Properties {
|
|
82381
|
-
|
|
82382
|
-
/** RoutingInfo regionId */
|
|
82383
|
-
regionId?: (number[]|null);
|
|
82384
|
-
|
|
82385
|
-
/** RoutingInfo clusterId */
|
|
82386
|
-
clusterId?: (number[]|null);
|
|
82387
|
-
|
|
82388
|
-
/** RoutingInfo taskId */
|
|
82389
|
-
taskId?: (number|null);
|
|
82390
|
-
|
|
82391
|
-
/** RoutingInfo debug */
|
|
82392
|
-
debug?: (boolean|null);
|
|
82393
|
-
|
|
82394
|
-
/** RoutingInfo tcpBbr */
|
|
82395
|
-
tcpBbr?: (boolean|null);
|
|
82396
|
-
|
|
82397
|
-
/** RoutingInfo tcpKeepalive */
|
|
82398
|
-
tcpKeepalive?: (boolean|null);
|
|
82399
|
-
|
|
82400
|
-
/** Unknown fields preserved while decoding when enabled */
|
|
82401
|
-
$unknowns?: Uint8Array[];
|
|
82402
|
-
}
|
|
82403
|
-
|
|
82404
|
-
/** Shape of a RoutingInfo. */
|
|
82405
|
-
type $Shape = waproto.RoutingInfo.$Properties;
|
|
82406
|
-
}
|
|
82407
|
-
|
|
82408
81982
|
/**
|
|
82409
81983
|
* Properties of a ScheduledMessageMetadata.
|
|
82410
81984
|
* @deprecated Use waproto.ScheduledMessageMetadata.$Properties instead.
|