@wppconnect/wa-proto 2.3000.1049282529 → 2.3000.1049405779
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 +43 -2
- package/dist/index.d.ts +705 -7
- package/dist/index.js +2079 -59
- package/package.json +2 -2
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.1049405779
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1935,7 +1935,7 @@ message DecryptMekForDistributionSuccess {
|
|
|
1935
1935
|
message DecryptSelfMmkDistributionInput {
|
|
1936
1936
|
required bytes encryptedMmk = 1;
|
|
1937
1937
|
required bytes exportRootKey = 2;
|
|
1938
|
-
required
|
|
1938
|
+
required MessagingMailboxPublicData mmkPublicData = 3;
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
1941
1941
|
message DecryptSelfMmkDistributionResult {
|
|
@@ -2039,6 +2039,8 @@ message DeviceCapabilities {
|
|
|
2039
2039
|
optional AiFbidMigration aiFbidMigration = 7;
|
|
2040
2040
|
optional BizAiSettingsSync bizAiSettingsSync = 8;
|
|
2041
2041
|
optional ContactRefresh contactRefresh = 9;
|
|
2042
|
+
optional ReverseHistorySync reverseHistorySync = 10;
|
|
2043
|
+
optional NewsletterChatsMigration newsletterChatsMigration = 11;
|
|
2042
2044
|
message AiFbidMigration {
|
|
2043
2045
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
2044
2046
|
optional uint32 supportVersion = 2;
|
|
@@ -2084,6 +2086,20 @@ message DeviceCapabilities {
|
|
|
2084
2086
|
RECEIVER_ENABLED = 1;
|
|
2085
2087
|
SENDER_ENABLED = 2;
|
|
2086
2088
|
}
|
|
2089
|
+
message NewsletterChatsMigration {
|
|
2090
|
+
optional bool effectiveMigrated = 1;
|
|
2091
|
+
optional int64 countdownEndsAt = 2;
|
|
2092
|
+
optional bool rolledBack = 3;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
message ReverseHistorySync {
|
|
2096
|
+
repeated Product enabledProducts = 1;
|
|
2097
|
+
enum Product {
|
|
2098
|
+
PRODUCT_UNSPECIFIED = 0;
|
|
2099
|
+
HATCH = 1;
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2087
2103
|
message UserHasAvatar {
|
|
2088
2104
|
optional bool userHasAvatar = 1;
|
|
2089
2105
|
}
|
|
@@ -3003,6 +3019,30 @@ message MandrakeOpenInitialEpochResult {
|
|
|
3003
3019
|
}
|
|
3004
3020
|
}
|
|
3005
3021
|
|
|
3022
|
+
message MandrakeValidateAndDecryptSelfMmkInput {
|
|
3023
|
+
required MessagingMailboxPublicData newMmk = 1;
|
|
3024
|
+
required bytes signature = 2;
|
|
3025
|
+
optional MessagingMailboxPublicData existingMmk = 3;
|
|
3026
|
+
required bytes exportRootKey = 4;
|
|
3027
|
+
required uint64 epochNumber = 5;
|
|
3028
|
+
required bytes expectedEpochHead = 6;
|
|
3029
|
+
required bytes encryptedMmk = 7;
|
|
3030
|
+
required uint64 version = 8;
|
|
3031
|
+
optional MessagingMailboxPublicData latestStoredMmk = 9;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
message MandrakeValidateAndDecryptSelfMmkResult {
|
|
3035
|
+
oneof result {
|
|
3036
|
+
MandrakeValidateAndDecryptSelfMmkSuccess success = 1;
|
|
3037
|
+
string errorMessage = 2;
|
|
3038
|
+
}
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
message MandrakeValidateAndDecryptSelfMmkSuccess {
|
|
3042
|
+
required bytes mmkSeed = 1;
|
|
3043
|
+
required bytes mailboxHeadHash = 2;
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3006
3046
|
message MandrakeValidateNewMmkFromDetachedDeviceInput {
|
|
3007
3047
|
required MmkFromDetachedDevice mmkFromDevice = 1;
|
|
3008
3048
|
required bytes signature = 2;
|
|
@@ -5187,6 +5227,7 @@ message MinosCommand {
|
|
|
5187
5227
|
MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
|
|
5188
5228
|
DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
|
|
5189
5229
|
DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
|
|
5230
|
+
MandrakeValidateAndDecryptSelfMmkInput mandrakeValidateAndDecryptSelfMmk = 31;
|
|
5190
5231
|
}
|
|
5191
5232
|
}
|
|
5192
5233
|
|