@wppconnect/wa-proto 2.3000.1046167339 → 2.3000.1046248368
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 +7 -163
- package/dist/index.d.ts +34 -2838
- package/dist/index.js +1167 -9541
- 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.1046248368
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -218,6 +218,7 @@ message AIRichResponseMessage {
|
|
|
218
218
|
repeated AIRichResponseSubMessage submessages = 2;
|
|
219
219
|
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
220
220
|
optional ContextInfo contextInfo = 4;
|
|
221
|
+
optional AIRichResponseUnifiedResponse originalRecipientMetadata = 5;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
enum AIRichResponseMessageType {
|
|
@@ -324,12 +325,6 @@ message AvatarUserSettings {
|
|
|
324
325
|
optional string password = 2;
|
|
325
326
|
}
|
|
326
327
|
|
|
327
|
-
message BackwardEdge {
|
|
328
|
-
optional bytes encryptedPrevEpochAnonId = 1;
|
|
329
|
-
optional bytes encryptedPrevEpochRootKey = 2;
|
|
330
|
-
optional bytes prevEpochRootKeyFingerprint = 3;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
328
|
message BizAccountLinkInfo {
|
|
334
329
|
optional uint64 whatsappBizAcctFbid = 1;
|
|
335
330
|
optional string whatsappAcctNumber = 2;
|
|
@@ -466,6 +461,7 @@ message BotCapabilityMetadata {
|
|
|
466
461
|
AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67;
|
|
467
462
|
AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68;
|
|
468
463
|
AI_RICH_RESPONSE_REMINDERS_ENABLED = 69;
|
|
464
|
+
AI_STOP_GENERATION_ENABLED = 70;
|
|
469
465
|
}
|
|
470
466
|
}
|
|
471
467
|
|
|
@@ -715,6 +711,7 @@ message BotMetadata {
|
|
|
715
711
|
optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
|
716
712
|
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
|
717
713
|
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
|
714
|
+
optional bool responseStoppedByUser = 44;
|
|
718
715
|
optional bytes internalMetadata = 999;
|
|
719
716
|
}
|
|
720
717
|
|
|
@@ -768,6 +765,7 @@ enum BotMetricsEntryPoint {
|
|
|
768
765
|
CHATLIST_SEARCH = 55;
|
|
769
766
|
NEW_CHAT_LIST = 56;
|
|
770
767
|
CONTACTS_TAB = 57;
|
|
768
|
+
NEW_3P_AGENT_CREATION = 58;
|
|
771
769
|
}
|
|
772
770
|
message BotMetricsMetadata {
|
|
773
771
|
optional string destinationId = 1;
|
|
@@ -2062,43 +2060,6 @@ message Conversation {
|
|
|
2062
2060
|
}
|
|
2063
2061
|
}
|
|
2064
2062
|
|
|
2065
|
-
message CreateBackupInput {
|
|
2066
|
-
required string recoveryCode = 1;
|
|
2067
|
-
required uint64 userId = 2;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
message CreateBackupOutput {
|
|
2071
|
-
optional DeviceOutput device = 1;
|
|
2072
|
-
optional VirtualDeviceOutput virtualDevice = 2;
|
|
2073
|
-
optional Epoch0Output epoch0 = 3;
|
|
2074
|
-
optional bytes mailboxRootKey = 4;
|
|
2075
|
-
optional string error = 5;
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
message DecryptMessageInput {
|
|
2079
|
-
required bytes epochRootKey = 1;
|
|
2080
|
-
required bytes epochAnonId = 2;
|
|
2081
|
-
required string threadId = 3;
|
|
2082
|
-
required int32 encryptionVersion = 4;
|
|
2083
|
-
required bytes ciphertext = 5;
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
message DecryptMessageOutput {
|
|
2087
|
-
optional bytes plaintextPayload = 1;
|
|
2088
|
-
optional string error = 2;
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
message DeriveMessageKeyInput {
|
|
2092
|
-
required bytes epochRootKey = 1;
|
|
2093
|
-
required bytes epochAnonId = 2;
|
|
2094
|
-
required string threadId = 3;
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
message DeriveMessageKeyOutput {
|
|
2098
|
-
optional bytes messageKey = 1;
|
|
2099
|
-
optional string error = 2;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
2063
|
message DeviceCapabilities {
|
|
2103
2064
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
2104
2065
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2132,6 +2093,7 @@ message DeviceCapabilities {
|
|
|
2132
2093
|
optional bool campaignSyncEnabled = 3;
|
|
2133
2094
|
optional bool insightsSyncEnabled = 4;
|
|
2134
2095
|
optional int32 recipientLimit = 5;
|
|
2096
|
+
optional bool proCompanionSupportEnabled = 6;
|
|
2135
2097
|
}
|
|
2136
2098
|
|
|
2137
2099
|
enum ChatLockSupportLevel {
|
|
@@ -2174,19 +2136,6 @@ message DeviceListMetadata {
|
|
|
2174
2136
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2175
2137
|
}
|
|
2176
2138
|
|
|
2177
|
-
message DeviceOutput {
|
|
2178
|
-
required bytes publicKey = 1;
|
|
2179
|
-
required bytes epochAuthPublicKey = 2;
|
|
2180
|
-
required bytes epochAuthPublicKeySig = 3;
|
|
2181
|
-
required bytes epochStoragePublicKey = 4;
|
|
2182
|
-
required bytes epochStoragePublicKeySig = 5;
|
|
2183
|
-
repeated int32 supportedEncryptionVersions = 6;
|
|
2184
|
-
required bytes encryptionVersionSignature = 7;
|
|
2185
|
-
required int32 clientVersion = 8;
|
|
2186
|
-
required bytes ocmfClientState = 9;
|
|
2187
|
-
required bytes epochStoragePrivateKey = 10;
|
|
2188
|
-
}
|
|
2189
|
-
|
|
2190
2139
|
message DeviceProps {
|
|
2191
2140
|
optional string os = 1;
|
|
2192
2141
|
optional AppVersion version = 2;
|
|
@@ -2309,60 +2258,16 @@ message EmbeddedMusic {
|
|
|
2309
2258
|
optional int64 overlapDurationInMs = 14;
|
|
2310
2259
|
}
|
|
2311
2260
|
|
|
2312
|
-
message EncryptMessageInput {
|
|
2313
|
-
required bytes epochRootKey = 1;
|
|
2314
|
-
required bytes mailboxRootKey = 2;
|
|
2315
|
-
required bytes orfClientState = 3;
|
|
2316
|
-
required bytes epochAnonId = 4;
|
|
2317
|
-
required uint64 epochId = 5;
|
|
2318
|
-
required string threadId = 6;
|
|
2319
|
-
required uint64 waCanonicalUserFbid = 7;
|
|
2320
|
-
required uint64 timestampMs = 8;
|
|
2321
|
-
required uint64 backupId = 9;
|
|
2322
|
-
required bytes plaintextPayload = 10;
|
|
2323
|
-
required string stanzaId = 11;
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
message EncryptMessageOutput {
|
|
2327
|
-
optional bytes encryptedProtobuf = 1;
|
|
2328
|
-
optional bytes orfThreadId = 2;
|
|
2329
|
-
optional string valueSecretRef = 3;
|
|
2330
|
-
optional uint64 offlineThreadingId = 4;
|
|
2331
|
-
optional uint64 timestampMs = 5;
|
|
2332
|
-
optional string error = 7;
|
|
2333
|
-
}
|
|
2334
|
-
|
|
2335
2261
|
message EncryptedPairingRequest {
|
|
2336
2262
|
optional bytes encryptedPayload = 1;
|
|
2337
2263
|
optional bytes iv = 2;
|
|
2338
2264
|
}
|
|
2339
2265
|
|
|
2340
|
-
message EncryptedSecretValuesOutput {
|
|
2341
|
-
required bytes encryptedDevicePrivateKey = 1;
|
|
2342
|
-
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2343
|
-
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2344
|
-
required bytes encryptedOcmfClientState = 4;
|
|
2345
|
-
optional bytes encryptedOrfClientStateV2 = 5;
|
|
2346
|
-
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2347
|
-
required bytes encryptedEpochAnonId = 7;
|
|
2348
|
-
required bytes encryptedEpochRootKey = 8;
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
2266
|
message EphemeralSetting {
|
|
2352
2267
|
optional sfixed32 duration = 1;
|
|
2353
2268
|
optional sfixed64 timestamp = 2;
|
|
2354
2269
|
}
|
|
2355
2270
|
|
|
2356
|
-
message Epoch0Output {
|
|
2357
|
-
required uint64 epochFbid = 1;
|
|
2358
|
-
required bytes epochAnonId = 2;
|
|
2359
|
-
required bytes epochData = 3;
|
|
2360
|
-
required bytes wrappedRootKeyForSelf = 4;
|
|
2361
|
-
required bytes epochSignature = 5;
|
|
2362
|
-
required bytes epochRootKeyFingerprint = 6;
|
|
2363
|
-
optional bytes epochRootKey = 7;
|
|
2364
|
-
}
|
|
2365
|
-
|
|
2366
2271
|
message EventAdditionalMetadata {
|
|
2367
2272
|
optional bool isStale = 1;
|
|
2368
2273
|
}
|
|
@@ -2736,17 +2641,6 @@ message LIDMigrationMappingSyncMessage {
|
|
|
2736
2641
|
optional bytes encodedMappingPayload = 1;
|
|
2737
2642
|
}
|
|
2738
2643
|
|
|
2739
|
-
message LabyrinthWaCommand {
|
|
2740
|
-
oneof commandInput {
|
|
2741
|
-
CreateBackupInput createBackupInput = 1;
|
|
2742
|
-
EncryptMessageInput encryptMessageInput = 2;
|
|
2743
|
-
DecryptMessageInput decryptMessageInput = 3;
|
|
2744
|
-
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2745
|
-
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2746
|
-
RotateEpochInput rotateEpochInput = 6;
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2749
|
-
|
|
2750
2644
|
message LegacyMessage {
|
|
2751
2645
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2752
2646
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -4732,6 +4626,7 @@ message Message {
|
|
|
4732
4626
|
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
4733
4627
|
optional string metadataUrl = 30;
|
|
4734
4628
|
optional VideoSourceType videoSourceType = 31;
|
|
4629
|
+
optional string dashManifestUrl = 33;
|
|
4735
4630
|
enum Attribution {
|
|
4736
4631
|
NONE = 0;
|
|
4737
4632
|
GIPHY = 1;
|
|
@@ -5078,16 +4973,6 @@ message NotificationSettings {
|
|
|
5078
4973
|
optional string callVibrate = 6;
|
|
5079
4974
|
}
|
|
5080
4975
|
|
|
5081
|
-
message OrfThreadIdInput {
|
|
5082
|
-
required bytes orfClientState = 1;
|
|
5083
|
-
required string threadId = 2;
|
|
5084
|
-
}
|
|
5085
|
-
|
|
5086
|
-
message OrfThreadIdOutput {
|
|
5087
|
-
optional bytes orfThreadId = 1;
|
|
5088
|
-
optional string error = 2;
|
|
5089
|
-
}
|
|
5090
|
-
|
|
5091
4976
|
message PairingRequest {
|
|
5092
4977
|
optional bytes companionPublicKey = 1;
|
|
5093
4978
|
optional bytes companionIdentityKey = 2;
|
|
@@ -5413,37 +5298,6 @@ message ReportingTokenInfo {
|
|
|
5413
5298
|
optional uint64 reportingTagTimestamp = 2;
|
|
5414
5299
|
}
|
|
5415
5300
|
|
|
5416
|
-
message RotateEpochInput {
|
|
5417
|
-
required bytes currentEpochRootKey = 1;
|
|
5418
|
-
required bytes currentEpochAnonId = 2;
|
|
5419
|
-
required uint64 currentEpochFbid = 3;
|
|
5420
|
-
required bytes epochStoragePrivateKey = 4;
|
|
5421
|
-
repeated RotateEpochMemberInput members = 5;
|
|
5422
|
-
}
|
|
5423
|
-
|
|
5424
|
-
message RotateEpochMemberEdge {
|
|
5425
|
-
optional uint64 deviceId = 1;
|
|
5426
|
-
optional bytes encryptedEpochKey = 2;
|
|
5427
|
-
optional bytes deviceEpochHmac = 3;
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
message RotateEpochMemberInput {
|
|
5431
|
-
required uint64 deviceId = 1;
|
|
5432
|
-
required bytes epochStoragePublicKey = 2;
|
|
5433
|
-
required bytes devicePublicKey = 3;
|
|
5434
|
-
}
|
|
5435
|
-
|
|
5436
|
-
message RotateEpochOutput {
|
|
5437
|
-
optional bytes newEpochRootKey = 1;
|
|
5438
|
-
optional uint64 newEpochAnonId = 2;
|
|
5439
|
-
optional uint64 newEpochFbid = 8;
|
|
5440
|
-
optional bytes epochAnonId = 3;
|
|
5441
|
-
optional BackwardEdge backwardEdge = 4;
|
|
5442
|
-
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
5443
|
-
optional bytes epochRootKeyFingerprint = 6;
|
|
5444
|
-
optional string error = 7;
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
5301
|
message RoutingInfo {
|
|
5448
5302
|
repeated int32 regionId = 1;
|
|
5449
5303
|
repeated int32 clusterId = 2;
|
|
@@ -6670,16 +6524,6 @@ message VerifiedNameCertificate {
|
|
|
6670
6524
|
|
|
6671
6525
|
}
|
|
6672
6526
|
|
|
6673
|
-
message VirtualDeviceOutput {
|
|
6674
|
-
required bytes vdId = 1;
|
|
6675
|
-
required bytes vdPublicKey = 2;
|
|
6676
|
-
required bytes vdEpochStoragePublicKey = 3;
|
|
6677
|
-
required bytes vdEpochStoragePublicKeySig = 4;
|
|
6678
|
-
required bytes ocmfRotationToken = 5;
|
|
6679
|
-
required bytes deviceEpochHmac = 6;
|
|
6680
|
-
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
6681
|
-
}
|
|
6682
|
-
|
|
6683
6527
|
message WallpaperSettings {
|
|
6684
6528
|
optional string filename = 1;
|
|
6685
6529
|
optional uint32 opacity = 2;
|