@badzz88/baileys 8.5.6 → 8.5.8
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/README.md +337 -1055
- package/WAProto/WAProto.proto +28 -1189
- package/WAProto/fix-imports.js +79 -69
- package/WAProto/index.d.ts +71491 -15254
- package/WAProto/index.js +126436 -19814
- package/engine-requirements.js +8 -15
- package/lib/Defaults/index.js +130 -0
- package/{src → lib}/Signal/Group/ciphertext-message.js +2 -5
- package/lib/Signal/Group/group-session-builder.js +30 -0
- package/{src → lib}/Signal/Group/group_cipher.js +11 -11
- package/lib/Signal/Group/index.js +12 -0
- package/lib/Signal/Group/keyhelper.js +18 -0
- package/{src → lib}/Signal/Group/sender-chain-key.js +6 -9
- package/{src → lib}/Signal/Group/sender-key-distribution-message.js +6 -9
- package/{src → lib}/Signal/Group/sender-key-message.js +9 -12
- package/{src → lib}/Signal/Group/sender-key-name.js +2 -5
- package/{src → lib}/Signal/Group/sender-key-record.js +8 -11
- package/{src → lib}/Signal/Group/sender-key-state.js +6 -9
- package/lib/Signal/Group/sender-message-key.js +26 -0
- package/{src → lib}/Signal/libsignal.js +131 -155
- package/{src → lib}/Signal/lid-mapping.js +27 -23
- package/lib/Socket/Client/index.js +3 -0
- package/lib/Socket/Client/types.js +11 -0
- package/{src → lib}/Socket/Client/websocket.js +11 -18
- package/{src → lib}/Socket/business.js +35 -67
- package/{src → lib}/Socket/chats.js +294 -550
- package/{src → lib}/Socket/communities.js +82 -114
- package/lib/Socket/graphql.js +716 -0
- package/lib/Socket/groups.js +374 -0
- package/lib/Socket/index.js +18 -0
- package/lib/Socket/interop.js +463 -0
- package/{src → lib}/Socket/luxu.js +120 -82
- package/lib/Socket/messages-recv.js +1916 -0
- package/lib/Socket/messages-send.js +1436 -0
- package/lib/Socket/mex.js +54 -0
- package/lib/Socket/newsletter.js +757 -0
- package/lib/Socket/privacy.js +318 -0
- package/{src → lib}/Socket/socket.js +356 -244
- package/lib/Socket/username.js +236 -0
- package/lib/Store/index.js +10 -0
- package/{src → lib}/Store/keyed-db.js +11 -21
- package/lib/Store/make-cache-manager-store.js +85 -0
- package/lib/Store/make-in-memory-store.js +244 -0
- package/{src → lib}/Store/make-ordered-dictionary.js +19 -25
- package/{src → lib}/Store/object-repository.js +11 -5
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Bussines.js +2 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.js +8 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.js +25 -0
- package/lib/Types/LabelAssociation.js +7 -0
- package/lib/Types/Message.js +11 -0
- package/lib/Types/Mex.js +111 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.js +3 -0
- package/lib/Types/State.js +56 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.js +26 -0
- package/{src → lib}/Utils/auth-utils.js +91 -43
- package/lib/Utils/browser-utils.js +48 -0
- package/lib/Utils/business.js +231 -0
- package/lib/Utils/chat-utils.js +872 -0
- package/lib/Utils/companion-reg-client-utils.js +35 -0
- package/lib/Utils/crypto.js +118 -0
- package/lib/Utils/decode-wa-message.js +350 -0
- package/{src → lib}/Utils/event-buffer.js +81 -39
- package/lib/Utils/generics.js +403 -0
- package/lib/Utils/history.js +134 -0
- package/{src → lib}/Utils/identity-change-handler.js +9 -11
- package/lib/Utils/index.js +23 -0
- package/lib/Utils/link-preview.js +85 -0
- package/lib/Utils/logger.js +3 -0
- package/lib/Utils/lt-hash.js +8 -0
- package/{src → lib}/Utils/make-mutex.js +7 -10
- package/lib/Utils/message-composer.js +273 -0
- package/{src → lib}/Utils/message-retry-manager.js +76 -28
- package/lib/Utils/messages-media.js +870 -0
- package/lib/Utils/messages.js +1337 -0
- package/lib/Utils/noise-handler.js +201 -0
- package/{src → lib}/Utils/offline-node-processor.js +10 -4
- package/{src → lib}/Utils/pre-key-manager.js +27 -11
- package/lib/Utils/process-message.js +630 -0
- package/{src → lib}/Utils/reporting-utils.js +12 -15
- package/lib/Utils/signal.js +201 -0
- package/{src → lib}/Utils/stanza-ack.js +12 -4
- package/lib/Utils/sticker.js +110 -0
- package/{src → lib}/Utils/sync-action-utils.js +14 -10
- package/{src → lib}/Utils/tc-token-utils.js +48 -43
- package/{src → lib}/Utils/use-multi-file-auth-state.js +35 -25
- package/lib/Utils/validate-connection.js +203 -0
- package/{src → lib}/WABinary/constants.js +9 -12
- package/{src → lib}/WABinary/decode.js +38 -118
- package/{src → lib}/WABinary/encode.js +6 -11
- package/lib/WABinary/generic-utils.js +204 -0
- package/lib/WABinary/index.js +6 -0
- package/lib/WABinary/jid-utils.js +98 -0
- package/lib/WABinary/types.js +2 -0
- package/{src → lib}/WAM/BinaryInfo.js +2 -5
- package/{src → lib}/WAM/constants.js +4 -16635
- package/{src → lib}/WAM/encode.js +18 -17
- package/lib/WAM/index.js +4 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +43 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +54 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +58 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncPictureProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +28 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +39 -0
- package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +38 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +27 -0
- package/lib/WAUSync/Protocols/index.js +12 -0
- package/lib/WAUSync/USyncQuery.js +151 -0
- package/lib/WAUSync/USyncUser.js +56 -0
- package/lib/WAUSync/index.js +3 -0
- package/{src → lib}/index.js +16 -51
- package/package.json +129 -99
- package/LICENSE +0 -21
- package/src/Defaults/index.js +0 -186
- package/src/Defaults/phonenumber-mcc.json +0 -223
- package/src/Signal/Group/group-session-builder.js +0 -86
- package/src/Signal/Group/index.js +0 -140
- package/src/Signal/Group/keyhelper.js +0 -77
- package/src/Signal/Group/sender-message-key.js +0 -29
- package/src/Socket/Client/index.js +0 -31
- package/src/Socket/Client/types.js +0 -13
- package/src/Socket/aigroups.js +0 -221
- package/src/Socket/graphql.js +0 -523
- package/src/Socket/groups.js +0 -516
- package/src/Socket/index.js +0 -31
- package/src/Socket/interactive-handler.js +0 -527
- package/src/Socket/interop.js +0 -339
- package/src/Socket/managed-account.js +0 -98
- package/src/Socket/messages-recv.js +0 -2685
- package/src/Socket/messages-send.js +0 -2047
- package/src/Socket/mex.js +0 -57
- package/src/Socket/newsletter.js +0 -455
- package/src/Socket/privacy.js +0 -125
- package/src/Socket/registration.js +0 -236
- package/src/Socket/text-router.js +0 -65
- package/src/Socket/username.js +0 -130
- package/src/Store/index.js +0 -33
- package/src/Store/make-cache-manager-store.js +0 -84
- package/src/Store/make-in-memory-store.js +0 -551
- package/src/Types/Auth.js +0 -31
- package/src/Types/Bussines.js +0 -2
- package/src/Types/Call.js +0 -2
- package/src/Types/Chat.js +0 -4
- package/src/Types/Contact.js +0 -2
- package/src/Types/Events.js +0 -2
- package/src/Types/GroupMetadata.js +0 -2
- package/src/Types/Label.js +0 -26
- package/src/Types/LabelAssociation.js +0 -8
- package/src/Types/Message.js +0 -93
- package/src/Types/Mex.js +0 -112
- package/src/Types/Newsletter.js +0 -109
- package/src/Types/Product.js +0 -2
- package/src/Types/Signal.js +0 -2
- package/src/Types/Socket.js +0 -2
- package/src/Types/State.js +0 -62
- package/src/Types/USync.js +0 -2
- package/src/Types/index.js +0 -56
- package/src/Utils/browser-utils.js +0 -112
- package/src/Utils/business.js +0 -240
- package/src/Utils/chat-utils.js +0 -1230
- package/src/Utils/command-loader.d.ts +0 -27
- package/src/Utils/command-loader.js +0 -89
- package/src/Utils/companion-reg-client-utils.js +0 -40
- package/src/Utils/consumer-application.js +0 -105
- package/src/Utils/crypto.js +0 -118
- package/src/Utils/curve25519-js.js +0 -242
- package/src/Utils/decode-wa-message.js +0 -529
- package/src/Utils/generics.js +0 -483
- package/src/Utils/group-history.js +0 -44
- package/src/Utils/history.js +0 -232
- package/src/Utils/index.js +0 -58
- package/src/Utils/jid-display-normalization.js +0 -195
- package/src/Utils/link-preview.js +0 -135
- package/src/Utils/logger.js +0 -8
- package/src/Utils/lt-hash.js +0 -25
- package/src/Utils/message-composer.js +0 -471
- package/src/Utils/messages-media.js +0 -843
- package/src/Utils/messages.js +0 -2817
- package/src/Utils/meta-ai-msmsg.js +0 -222
- package/src/Utils/native-bridge.js +0 -68
- package/src/Utils/noise-handler.js +0 -169
- package/src/Utils/process-message.js +0 -950
- package/src/Utils/session-pool.d.ts +0 -14
- package/src/Utils/session-pool.js +0 -70
- package/src/Utils/signal.js +0 -217
- package/src/Utils/sticker.d.ts +0 -13
- package/src/Utils/sticker.js +0 -123
- package/src/Utils/validate-connection.js +0 -209
- package/src/Utils/view-once-cache.d.ts +0 -12
- package/src/Utils/view-once-cache.js +0 -63
- package/src/Utils/voip-rekey.js +0 -22
- package/src/WABinary/generic-utils.js +0 -238
- package/src/WABinary/index.js +0 -34
- package/src/WABinary/jid-utils.js +0 -351
- package/src/WABinary/types.js +0 -2
- package/src/WAM/index.js +0 -32
- package/src/WAUSync/Protocols/USyncBotProfileProtocol.js +0 -53
- package/src/WAUSync/Protocols/USyncBusinessProtocol.js +0 -44
- package/src/WAUSync/Protocols/USyncContactProtocol.js +0 -55
- package/src/WAUSync/Protocols/USyncDeviceProtocol.js +0 -55
- package/src/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -31
- package/src/WAUSync/Protocols/USyncFeatureProtocol.js +0 -54
- package/src/WAUSync/Protocols/USyncLIDProtocol.js +0 -32
- package/src/WAUSync/Protocols/USyncNewsletterProtocol.js +0 -473
- package/src/WAUSync/Protocols/USyncPictureProtocol.js +0 -34
- package/src/WAUSync/Protocols/USyncSidelistProtocol.js +0 -29
- package/src/WAUSync/Protocols/USyncStatusProtocol.js +0 -42
- package/src/WAUSync/Protocols/USyncTextStatusProtocol.js +0 -38
- package/src/WAUSync/Protocols/USyncUsernameProtocol.js +0 -28
- package/src/WAUSync/Protocols/index.js +0 -40
- package/src/WAUSync/USyncQuery.js +0 -126
- package/src/WAUSync/USyncUser.js +0 -50
- package/src/WAUSync/index.js +0 -32
- package/src/antiban.js +0 -4152
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
-
package
|
|
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;
|
|
@@ -1759,6 +1757,7 @@ message ContextInfo {
|
|
|
1759
1757
|
optional string posterStatusId = 79;
|
|
1760
1758
|
optional InstagramThreadLink instagramThreadLink = 80;
|
|
1761
1759
|
optional AIProvenance aiProvenance = 81;
|
|
1760
|
+
repeated uint32 experienceIds = 82 [packed=true];
|
|
1762
1761
|
message AdReplyInfo {
|
|
1763
1762
|
optional string advertiserName = 1;
|
|
1764
1763
|
optional MediaType mediaType = 2;
|
|
@@ -2061,191 +2060,6 @@ message Conversation {
|
|
|
2061
2060
|
}
|
|
2062
2061
|
}
|
|
2063
2062
|
|
|
2064
|
-
message CreateBackupInput {
|
|
2065
|
-
required string recoveryCode = 1;
|
|
2066
|
-
required uint64 userId = 2;
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
message CreateBackupOutput {
|
|
2070
|
-
optional DeviceOutput device = 1;
|
|
2071
|
-
optional VirtualDeviceOutput virtualDevice = 2;
|
|
2072
|
-
optional Epoch0Output epoch0 = 3;
|
|
2073
|
-
optional bytes mailboxRootKey = 4;
|
|
2074
|
-
optional string error = 5;
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
message DecryptMekForDistributionFromTransportSenderInput {
|
|
2078
|
-
required TransportSenderMEKDistributionSingleRecipient mekDistribution = 1;
|
|
2079
|
-
required bytes mekId = 2;
|
|
2080
|
-
required bytes rosterHash = 3;
|
|
2081
|
-
required bytes recipientEncSk = 4;
|
|
2082
|
-
required uint64 version = 5;
|
|
2083
|
-
optional MinosClientConfig conf = 6;
|
|
2084
|
-
message TransportSenderMEKDistributionSingleRecipient {
|
|
2085
|
-
required bytes encryptedMek = 1;
|
|
2086
|
-
required bytes ephemeralEncryptionPk = 2;
|
|
2087
|
-
required bytes signingPk = 3;
|
|
2088
|
-
required bytes signature = 4;
|
|
2089
|
-
optional bytes recipientEpochHead = 5;
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
message DecryptMekForDistributionFromTransportSenderResult {
|
|
2095
|
-
oneof result {
|
|
2096
|
-
DecryptMekForDistributionFromTransportSenderSuccess success = 1;
|
|
2097
|
-
string errorMessage = 2;
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
|
|
2101
|
-
message DecryptMekForDistributionFromTransportSenderSuccess {
|
|
2102
|
-
required bytes mek = 1;
|
|
2103
|
-
}
|
|
2104
|
-
|
|
2105
|
-
message DecryptMekForDistributionInput {
|
|
2106
|
-
required bytes toMailboxSk = 1;
|
|
2107
|
-
required bytes fromPk = 2;
|
|
2108
|
-
required bytes mekId = 3;
|
|
2109
|
-
required bytes senderEpochHead = 4;
|
|
2110
|
-
required bytes rosterHash = 5;
|
|
2111
|
-
required bytes ciphertext = 6;
|
|
2112
|
-
optional bytes toEpochHead = 7;
|
|
2113
|
-
optional int32 mekEncryptionVersion = 8;
|
|
2114
|
-
optional MinosClientConfig conf = 9;
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
message DecryptMekForDistributionResult {
|
|
2118
|
-
oneof result {
|
|
2119
|
-
DecryptMekForDistributionSuccess success = 1;
|
|
2120
|
-
string errorMessage = 2;
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
message DecryptMekForDistributionSuccess {
|
|
2125
|
-
required bytes mek = 1;
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
|
-
message DecryptMessageInput {
|
|
2129
|
-
required bytes epochRootKey = 1;
|
|
2130
|
-
required bytes epochAnonId = 2;
|
|
2131
|
-
required string threadId = 3;
|
|
2132
|
-
required int32 encryptionVersion = 4;
|
|
2133
|
-
required bytes ciphertext = 5;
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
message DecryptMessageOutput {
|
|
2137
|
-
optional bytes plaintextPayload = 1;
|
|
2138
|
-
optional string error = 2;
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
|
-
message DecryptSelfMmkDistributionInput {
|
|
2142
|
-
required bytes encryptedMmk = 1;
|
|
2143
|
-
required bytes exportRootKey = 2;
|
|
2144
|
-
required bytes mailboxHeadHash = 3;
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
message DecryptSelfMmkDistributionResult {
|
|
2148
|
-
oneof result {
|
|
2149
|
-
DecryptSelfMmkDistributionSuccess success = 1;
|
|
2150
|
-
string errorMessage = 2;
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
message DecryptSelfMmkDistributionSuccess {
|
|
2155
|
-
required bytes mmkSeed = 1;
|
|
2156
|
-
}
|
|
2157
|
-
|
|
2158
|
-
message DeriveAttachmentAccessTokenSecretInput {
|
|
2159
|
-
required bytes mediaKey = 1;
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
message DeriveAttachmentAccessTokenSecretResult {
|
|
2163
|
-
required bytes attachmentAccessTokenSecret = 1;
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
message DeriveAttachmentPrimaryKeySecretInput {
|
|
2167
|
-
required bytes mediaKey = 1;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
message DeriveAttachmentPrimaryKeySecretResult {
|
|
2171
|
-
required bytes attachmentPrimaryKeySecret = 1;
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
message DeriveMailboxAuthKeypairInput {
|
|
2175
|
-
required bytes exportRootKey = 1;
|
|
2176
|
-
required uint64 epochNumber = 2;
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
message DeriveMailboxAuthKeypairResult {
|
|
2180
|
-
required bytes mailboxAuthPublicKey = 1;
|
|
2181
|
-
required bytes mailboxAuthPrivateKey = 2;
|
|
2182
|
-
}
|
|
2183
|
-
|
|
2184
|
-
message DeriveMailboxEncryptionKeypairInput {
|
|
2185
|
-
required bytes exportRootKey = 1;
|
|
2186
|
-
required uint64 epochNumber = 2;
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
message DeriveMailboxEncryptionKeypairResult {
|
|
2190
|
-
required bytes mailboxEncryptionPublicKey = 1;
|
|
2191
|
-
required bytes mailboxEncryptionPrivateKey = 2;
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
message DeriveMailboxSigningKeypairInput {
|
|
2195
|
-
required bytes exportRootKey = 1;
|
|
2196
|
-
required uint64 epochNumber = 2;
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
message DeriveMailboxSigningKeypairResult {
|
|
2200
|
-
oneof result {
|
|
2201
|
-
DeriveMailboxSigningKeypairSuccess success = 1;
|
|
2202
|
-
string errorMessage = 2;
|
|
2203
|
-
}
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2206
|
-
message DeriveMailboxSigningKeypairSuccess {
|
|
2207
|
-
required bytes mailboxSigningPublicKey = 1;
|
|
2208
|
-
required bytes mailboxSigningPrivateKey = 2;
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
message DeriveMessageKeyInput {
|
|
2212
|
-
required bytes epochRootKey = 1;
|
|
2213
|
-
required bytes epochAnonId = 2;
|
|
2214
|
-
required string threadId = 3;
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
message DeriveMessageKeyOutput {
|
|
2218
|
-
optional bytes messageKey = 1;
|
|
2219
|
-
optional string error = 2;
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
message DeriveMessagingMailboxKeypairsInput {
|
|
2223
|
-
required bytes mmkSeed = 1;
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2226
|
-
message DeriveMessagingMailboxKeypairsResult {
|
|
2227
|
-
oneof result {
|
|
2228
|
-
DeriveMessagingMailboxKeypairsSuccess success = 1;
|
|
2229
|
-
string errorMessage = 2;
|
|
2230
|
-
}
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
message DeriveMessagingMailboxKeypairsSuccess {
|
|
2234
|
-
required bytes encSk = 1;
|
|
2235
|
-
required bytes encPk = 2;
|
|
2236
|
-
optional bytes authSk = 3;
|
|
2237
|
-
optional bytes authPk = 4;
|
|
2238
|
-
}
|
|
2239
|
-
|
|
2240
|
-
message DetachedDevicePublicData {
|
|
2241
|
-
required uint64 deviceId = 1;
|
|
2242
|
-
required bytes name = 2;
|
|
2243
|
-
required bytes sigPk = 3;
|
|
2244
|
-
required bytes authPk = 4;
|
|
2245
|
-
required bytes encPk = 5;
|
|
2246
|
-
required bytes signature = 6;
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
2063
|
message DeviceCapabilities {
|
|
2250
2064
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
2251
2065
|
optional LIDMigration lidMigration = 2;
|
|
@@ -2279,6 +2093,7 @@ message DeviceCapabilities {
|
|
|
2279
2093
|
optional bool campaignSyncEnabled = 3;
|
|
2280
2094
|
optional bool insightsSyncEnabled = 4;
|
|
2281
2095
|
optional int32 recipientLimit = 5;
|
|
2096
|
+
optional bool proCompanionSupportEnabled = 6;
|
|
2282
2097
|
}
|
|
2283
2098
|
|
|
2284
2099
|
enum ChatLockSupportLevel {
|
|
@@ -2321,19 +2136,6 @@ message DeviceListMetadata {
|
|
|
2321
2136
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
2322
2137
|
}
|
|
2323
2138
|
|
|
2324
|
-
message DeviceOutput {
|
|
2325
|
-
required bytes publicKey = 1;
|
|
2326
|
-
required bytes epochAuthPublicKey = 2;
|
|
2327
|
-
required bytes epochAuthPublicKeySig = 3;
|
|
2328
|
-
required bytes epochStoragePublicKey = 4;
|
|
2329
|
-
required bytes epochStoragePublicKeySig = 5;
|
|
2330
|
-
repeated int32 supportedEncryptionVersions = 6;
|
|
2331
|
-
required bytes encryptionVersionSignature = 7;
|
|
2332
|
-
required int32 clientVersion = 8;
|
|
2333
|
-
required bytes ocmfClientState = 9;
|
|
2334
|
-
required bytes epochStoragePrivateKey = 10;
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
2139
|
message DeviceProps {
|
|
2338
2140
|
optional string os = 1;
|
|
2339
2141
|
optional AppVersion version = 2;
|
|
@@ -2427,119 +2229,6 @@ message DisappearingMode {
|
|
|
2427
2229
|
}
|
|
2428
2230
|
}
|
|
2429
2231
|
|
|
2430
|
-
enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE {
|
|
2431
|
-
OPEN_NATIVE = 11;
|
|
2432
|
-
}
|
|
2433
|
-
enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE {
|
|
2434
|
-
UNSUPPORTED = -1;
|
|
2435
|
-
IG_STORY_PHOTO_MENTION = 4;
|
|
2436
|
-
IG_SINGLE_IMAGE_POST_SHARE = 9;
|
|
2437
|
-
IG_MULTIPOST_SHARE = 10;
|
|
2438
|
-
IG_SINGLE_VIDEO_POST_SHARE = 11;
|
|
2439
|
-
IG_STORY_PHOTO_SHARE = 12;
|
|
2440
|
-
IG_STORY_VIDEO_SHARE = 13;
|
|
2441
|
-
IG_CLIPS_SHARE = 14;
|
|
2442
|
-
IG_IGTV_SHARE = 15;
|
|
2443
|
-
IG_SHOP_SHARE = 16;
|
|
2444
|
-
IG_PROFILE_SHARE = 19;
|
|
2445
|
-
IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
|
|
2446
|
-
IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
|
|
2447
|
-
IG_STORY_REPLY = 22;
|
|
2448
|
-
IG_STORY_REACTION = 23;
|
|
2449
|
-
IG_STORY_VIDEO_MENTION = 24;
|
|
2450
|
-
IG_STORY_HIGHLIGHT_REPLY = 25;
|
|
2451
|
-
IG_STORY_HIGHLIGHT_REACTION = 26;
|
|
2452
|
-
IG_EXTERNAL_LINK = 27;
|
|
2453
|
-
IG_RECEIVER_FETCH = 28;
|
|
2454
|
-
FB_FEED_SHARE = 1000;
|
|
2455
|
-
FB_STORY_REPLY = 1001;
|
|
2456
|
-
FB_STORY_SHARE = 1002;
|
|
2457
|
-
FB_STORY_MENTION = 1003;
|
|
2458
|
-
FB_FEED_VIDEO_SHARE = 1004;
|
|
2459
|
-
FB_GAMING_CUSTOM_UPDATE = 1005;
|
|
2460
|
-
FB_PRODUCER_STORY_REPLY = 1006;
|
|
2461
|
-
FB_EVENT = 1007;
|
|
2462
|
-
FB_FEED_POST_PRIVATE_REPLY = 1008;
|
|
2463
|
-
FB_SHORT = 1009;
|
|
2464
|
-
FB_COMMENT_MENTION_SHARE = 1010;
|
|
2465
|
-
FB_POST_MENTION = 1011;
|
|
2466
|
-
FB_PROFILE_DIRECTORY_ITEM = 1013;
|
|
2467
|
-
FB_FEED_POST_REACTION_REPLY = 1014;
|
|
2468
|
-
FB_QUICKSNAP_REPLY = 1015;
|
|
2469
|
-
MSG_EXTERNAL_LINK_SHARE = 2000;
|
|
2470
|
-
MSG_P2P_PAYMENT = 2001;
|
|
2471
|
-
MSG_LOCATION_SHARING = 2002;
|
|
2472
|
-
MSG_LOCATION_SHARING_V2 = 2003;
|
|
2473
|
-
MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
|
|
2474
|
-
MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
|
|
2475
|
-
MSG_RECEIVER_FETCH = 2006;
|
|
2476
|
-
MSG_IG_MEDIA_SHARE = 2007;
|
|
2477
|
-
MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
|
|
2478
|
-
MSG_REELS_LIST = 2009;
|
|
2479
|
-
MSG_CONTACT = 2010;
|
|
2480
|
-
MSG_THREADS_POST_SHARE = 2011;
|
|
2481
|
-
MSG_FILE = 2012;
|
|
2482
|
-
MSG_AVATAR_DETAILS = 2013;
|
|
2483
|
-
MSG_AI_CONTACT = 2014;
|
|
2484
|
-
MSG_MEMORIES_SHARE = 2015;
|
|
2485
|
-
MSG_SHARED_ALBUM_REPLY = 2016;
|
|
2486
|
-
MSG_SHARED_ALBUM = 2017;
|
|
2487
|
-
MSG_OCCAMADILLO_XMA = 2018;
|
|
2488
|
-
MSG_GEN_AI_SUBSCRIPTION = 2021;
|
|
2489
|
-
MSG_GEN_AI_REMINDER = 2022;
|
|
2490
|
-
MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023;
|
|
2491
|
-
MSG_NOTE_REPLY = 2024;
|
|
2492
|
-
MSG_NOTE_MENTION = 2025;
|
|
2493
|
-
GEN_AI_ENTITY = 2026;
|
|
2494
|
-
MSG_OPG_P2P_PAYMENT = 2027;
|
|
2495
|
-
GEN_AI_RICH_RESPONSE = 2028;
|
|
2496
|
-
MSG_MUSIC_STICKER = 2029;
|
|
2497
|
-
MSG_PHONE_NUMBER = 2030;
|
|
2498
|
-
AI_ACTIVITY_SHARE = 2031;
|
|
2499
|
-
MSG_PRIVATE_XMA = 2032;
|
|
2500
|
-
MSG_SOCIAL_CUE_MEMORIES = 2033;
|
|
2501
|
-
MSG_MANUS_GROWTH_REFERRAL = 2060;
|
|
2502
|
-
MSG_MOMENT_LINK = 2061;
|
|
2503
|
-
MSG_HORIZON_WEEL = 2062;
|
|
2504
|
-
MSG_MOMENT_ADDED = 2063;
|
|
2505
|
-
RTC_AUDIO_CALL = 3000;
|
|
2506
|
-
RTC_VIDEO_CALL = 3001;
|
|
2507
|
-
RTC_MISSED_AUDIO_CALL = 3002;
|
|
2508
|
-
RTC_MISSED_VIDEO_CALL = 3003;
|
|
2509
|
-
RTC_GROUP_AUDIO_CALL = 3004;
|
|
2510
|
-
RTC_GROUP_VIDEO_CALL = 3005;
|
|
2511
|
-
RTC_MISSED_GROUP_AUDIO_CALL = 3006;
|
|
2512
|
-
RTC_MISSED_GROUP_VIDEO_CALL = 3007;
|
|
2513
|
-
RTC_ONGOING_AUDIO_CALL = 3008;
|
|
2514
|
-
RTC_ONGOING_VIDEO_CALL = 3009;
|
|
2515
|
-
MSG_RECEIVER_FETCH_FALLBACK = 3025;
|
|
2516
|
-
DATACLASS_SENDER_COPY = 4000;
|
|
2517
|
-
}
|
|
2518
|
-
enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH {
|
|
2519
|
-
INFO = 0;
|
|
2520
|
-
EYE_OFF = 1;
|
|
2521
|
-
NEWS_OFF = 2;
|
|
2522
|
-
WARNING = 3;
|
|
2523
|
-
PRIVATE = 4;
|
|
2524
|
-
NONE = 5;
|
|
2525
|
-
MEDIA_LABEL = 6;
|
|
2526
|
-
POST_COVER = 7;
|
|
2527
|
-
POST_LABEL = 8;
|
|
2528
|
-
WARNING_SCREENS = 9;
|
|
2529
|
-
}
|
|
2530
|
-
enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE {
|
|
2531
|
-
SENDER_COPY = 0;
|
|
2532
|
-
SERVER = 1;
|
|
2533
|
-
SIGNED_CLIENT = 2;
|
|
2534
|
-
}
|
|
2535
|
-
enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE {
|
|
2536
|
-
SINGLE = 0;
|
|
2537
|
-
HSCROLL = 1;
|
|
2538
|
-
PORTRAIT = 3;
|
|
2539
|
-
STANDARD_DXMA = 12;
|
|
2540
|
-
LIST_DXMA = 15;
|
|
2541
|
-
GRID = 16;
|
|
2542
|
-
}
|
|
2543
2232
|
message EmbeddedContent {
|
|
2544
2233
|
oneof content {
|
|
2545
2234
|
EmbeddedMessage embeddedMessage = 1;
|
|
@@ -2569,114 +2258,16 @@ message EmbeddedMusic {
|
|
|
2569
2258
|
optional int64 overlapDurationInMs = 14;
|
|
2570
2259
|
}
|
|
2571
2260
|
|
|
2572
|
-
message EncryptMekForDistributionInput {
|
|
2573
|
-
required bytes senderEpochHead = 1;
|
|
2574
|
-
required bytes toMailboxPk = 2;
|
|
2575
|
-
required MailboxAuthKP fromKeypair = 3;
|
|
2576
|
-
required MekBundle mek = 4;
|
|
2577
|
-
optional bytes toEpochHead = 5;
|
|
2578
|
-
optional MinosClientConfig conf = 6;
|
|
2579
|
-
message MailboxAuthKP {
|
|
2580
|
-
required bytes sk = 1;
|
|
2581
|
-
required bytes pk = 2;
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
|
-
}
|
|
2585
|
-
|
|
2586
|
-
message EncryptMekForDistributionResult {
|
|
2587
|
-
required bytes ciphertext = 1;
|
|
2588
|
-
required uint64 version = 2;
|
|
2589
|
-
}
|
|
2590
|
-
|
|
2591
|
-
message EncryptMeksForDistributionFromTransportSenderInput {
|
|
2592
|
-
required MekBundle mek = 1;
|
|
2593
|
-
required TransportSigningKP transportSigningKp = 2;
|
|
2594
|
-
repeated bytes recipientMailboxEncryptionPks = 3;
|
|
2595
|
-
repeated bytes recipientEpochHeads = 4;
|
|
2596
|
-
optional MinosClientConfig conf = 5;
|
|
2597
|
-
message TransportSigningKP {
|
|
2598
|
-
required bytes sk = 1;
|
|
2599
|
-
required bytes pk = 2;
|
|
2600
|
-
}
|
|
2601
|
-
|
|
2602
|
-
}
|
|
2603
|
-
|
|
2604
|
-
message EncryptMeksForDistributionFromTransportSenderResult {
|
|
2605
|
-
repeated bytes encryptedMeks = 1;
|
|
2606
|
-
required bytes ephemeralEncryptionPk = 2;
|
|
2607
|
-
required bytes signingPk = 3;
|
|
2608
|
-
required bytes signature = 4;
|
|
2609
|
-
required uint64 version = 5;
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
message EncryptMessageInput {
|
|
2613
|
-
required bytes epochRootKey = 1;
|
|
2614
|
-
required bytes mailboxRootKey = 2;
|
|
2615
|
-
required bytes orfClientState = 3;
|
|
2616
|
-
required bytes epochAnonId = 4;
|
|
2617
|
-
required uint64 epochId = 5;
|
|
2618
|
-
required string threadId = 6;
|
|
2619
|
-
required uint64 waCanonicalUserFbid = 7;
|
|
2620
|
-
required uint64 timestampMs = 8;
|
|
2621
|
-
required uint64 backupId = 9;
|
|
2622
|
-
required bytes plaintextPayload = 10;
|
|
2623
|
-
required string stanzaId = 11;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
message EncryptMessageOutput {
|
|
2627
|
-
optional bytes encryptedProtobuf = 1;
|
|
2628
|
-
optional bytes orfThreadId = 2;
|
|
2629
|
-
optional string valueSecretRef = 3;
|
|
2630
|
-
optional uint64 offlineThreadingId = 4;
|
|
2631
|
-
optional uint64 timestampMs = 5;
|
|
2632
|
-
optional string error = 7;
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
2261
|
message EncryptedPairingRequest {
|
|
2636
2262
|
optional bytes encryptedPayload = 1;
|
|
2637
2263
|
optional bytes iv = 2;
|
|
2638
2264
|
}
|
|
2639
2265
|
|
|
2640
|
-
message EncryptedSecretValuesOutput {
|
|
2641
|
-
required bytes encryptedDevicePrivateKey = 1;
|
|
2642
|
-
required bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2643
|
-
required bytes encryptedEpochStoragePrivateKey = 3;
|
|
2644
|
-
required bytes encryptedOcmfClientState = 4;
|
|
2645
|
-
optional bytes encryptedOrfClientStateV2 = 5;
|
|
2646
|
-
required bytes encryptedMailboxRootKeyBlob = 6;
|
|
2647
|
-
required bytes encryptedEpochAnonId = 7;
|
|
2648
|
-
required bytes encryptedEpochRootKey = 8;
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
2266
|
message EphemeralSetting {
|
|
2652
2267
|
optional sfixed32 duration = 1;
|
|
2653
2268
|
optional sfixed64 timestamp = 2;
|
|
2654
2269
|
}
|
|
2655
2270
|
|
|
2656
|
-
message Epoch0Output {
|
|
2657
|
-
required uint64 epochFbid = 1;
|
|
2658
|
-
required bytes epochAnonId = 2;
|
|
2659
|
-
required bytes epochData = 3;
|
|
2660
|
-
required bytes wrappedRootKeyForSelf = 4;
|
|
2661
|
-
required bytes epochSignature = 5;
|
|
2662
|
-
required bytes epochRootKeyFingerprint = 6;
|
|
2663
|
-
optional bytes epochRootKey = 7;
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
message EpochPublicData {
|
|
2667
|
-
required uint64 epochNumber = 1;
|
|
2668
|
-
required string userFbid = 2;
|
|
2669
|
-
required bytes mailboxSigningPk = 3;
|
|
2670
|
-
required bytes mailboxEncryptionPk = 4;
|
|
2671
|
-
required bytes mailboxAuthPk = 5;
|
|
2672
|
-
optional bytes previousEpochHead = 6;
|
|
2673
|
-
}
|
|
2674
|
-
|
|
2675
|
-
message EpochSignatures {
|
|
2676
|
-
required bytes selfSignature = 1;
|
|
2677
|
-
optional bytes prevSignature = 2;
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
2271
|
message EventAdditionalMetadata {
|
|
2681
2272
|
optional bool isStale = 1;
|
|
2682
2273
|
}
|
|
@@ -2693,47 +2284,6 @@ message ExitCode {
|
|
|
2693
2284
|
optional string text = 2;
|
|
2694
2285
|
}
|
|
2695
2286
|
|
|
2696
|
-
message ExtendedContentMessage {
|
|
2697
|
-
optional SubProtocol associatedMessage = 1;
|
|
2698
|
-
optional EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE targetType = 2;
|
|
2699
|
-
optional string targetUsername = 3;
|
|
2700
|
-
optional string targetId = 4;
|
|
2701
|
-
optional int64 targetExpiringAtSec = 5;
|
|
2702
|
-
optional EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE xmaLayoutType = 6;
|
|
2703
|
-
repeated CTA ctas = 7;
|
|
2704
|
-
repeated SubProtocol previews = 8;
|
|
2705
|
-
optional string titleText = 9;
|
|
2706
|
-
optional string subtitleText = 10;
|
|
2707
|
-
optional uint32 maxTitleNumOfLines = 11;
|
|
2708
|
-
optional uint32 maxSubtitleNumOfLines = 12;
|
|
2709
|
-
optional SubProtocol favicon = 13;
|
|
2710
|
-
optional SubProtocol headerImage = 14;
|
|
2711
|
-
optional string headerTitle = 15;
|
|
2712
|
-
optional EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH overlayIconGlyph = 16;
|
|
2713
|
-
optional string overlayTitle = 17;
|
|
2714
|
-
optional string overlayDescription = 18;
|
|
2715
|
-
optional string sentWithMessageId = 19;
|
|
2716
|
-
optional string messageText = 20;
|
|
2717
|
-
optional string headerSubtitle = 21;
|
|
2718
|
-
optional string xmaDataclass = 22;
|
|
2719
|
-
optional string contentRef = 23;
|
|
2720
|
-
repeated string mentionedJid = 24;
|
|
2721
|
-
repeated Command commands = 25;
|
|
2722
|
-
repeated Mention mentions = 26;
|
|
2723
|
-
optional EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE xmaDataclassType = 27;
|
|
2724
|
-
optional string signedXmaDataclassValidation = 28;
|
|
2725
|
-
optional string featureSharedSessionId = 29;
|
|
2726
|
-
message CTA {
|
|
2727
|
-
optional EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE buttonType = 1;
|
|
2728
|
-
optional string title = 2;
|
|
2729
|
-
optional string actionUrl = 3;
|
|
2730
|
-
optional string nativeUrl = 4;
|
|
2731
|
-
optional string ctaType = 5;
|
|
2732
|
-
optional string actionContentBlob = 6;
|
|
2733
|
-
}
|
|
2734
|
-
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
2287
|
message ExternalBlobReference {
|
|
2738
2288
|
optional bytes mediaKey = 1;
|
|
2739
2289
|
optional string directPath = 2;
|
|
@@ -2771,22 +2321,6 @@ message ForwardedAIBotMessageInfo {
|
|
|
2771
2321
|
optional string creatorName = 3;
|
|
2772
2322
|
}
|
|
2773
2323
|
|
|
2774
|
-
message GenerateMekInput {
|
|
2775
|
-
repeated bytes epochHeads = 1;
|
|
2776
|
-
}
|
|
2777
|
-
|
|
2778
|
-
message GenerateMekResult {
|
|
2779
|
-
required MekBundle mek = 1;
|
|
2780
|
-
}
|
|
2781
|
-
|
|
2782
|
-
message GenerateMekRosterHashInput {
|
|
2783
|
-
repeated bytes epochHeads = 1;
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
message GenerateMekRosterHashResult {
|
|
2787
|
-
required bytes rosterHash = 1;
|
|
2788
|
-
}
|
|
2789
|
-
|
|
2790
2324
|
message GlobalSettings {
|
|
2791
2325
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
2792
2326
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -3107,17 +2641,6 @@ message LIDMigrationMappingSyncMessage {
|
|
|
3107
2641
|
optional bytes encodedMappingPayload = 1;
|
|
3108
2642
|
}
|
|
3109
2643
|
|
|
3110
|
-
message LabyrinthWaCommand {
|
|
3111
|
-
oneof commandInput {
|
|
3112
|
-
CreateBackupInput createBackupInput = 1;
|
|
3113
|
-
EncryptMessageInput encryptMessageInput = 2;
|
|
3114
|
-
DecryptMessageInput decryptMessageInput = 3;
|
|
3115
|
-
OrfThreadIdInput orfThreadIdInput = 4;
|
|
3116
|
-
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
3117
|
-
RotateEpochInput rotateEpochInput = 6;
|
|
3118
|
-
}
|
|
3119
|
-
}
|
|
3120
|
-
|
|
3121
2644
|
message LegacyMessage {
|
|
3122
2645
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
3123
2646
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -3151,157 +2674,6 @@ message Location {
|
|
|
3151
2674
|
enum MENTION_MENTION_TYPE {
|
|
3152
2675
|
PROFILE = 0;
|
|
3153
2676
|
}
|
|
3154
|
-
message MandrakeDecryptMekInput {
|
|
3155
|
-
required bytes encryptedMek = 1;
|
|
3156
|
-
required bytes recipientsHash = 4;
|
|
3157
|
-
required bytes recipientEncSk = 5;
|
|
3158
|
-
optional uint64 mekEncryptionVersion = 6;
|
|
3159
|
-
optional MinosClientConfig conf = 7;
|
|
3160
|
-
required MessagingMailboxPublicData recipientMmk = 8;
|
|
3161
|
-
optional bytes mekId = 9;
|
|
3162
|
-
optional MerkleMembershipProof recipientMembershipProof = 10;
|
|
3163
|
-
oneof senderPublicData {
|
|
3164
|
-
MandrakeDecryptMekInput.MmkSenderPublicData mmkSender = 2;
|
|
3165
|
-
MandrakeDecryptMekInput.EpochSenderPublicData epochSender = 3;
|
|
3166
|
-
MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData precomputedEpochSender = 11;
|
|
3167
|
-
}
|
|
3168
|
-
message EpochSenderPublicData {
|
|
3169
|
-
required EpochPublicData epochPublicData = 1;
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
|
-
message MmkSenderPublicData {
|
|
3173
|
-
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
3174
|
-
}
|
|
3175
|
-
|
|
3176
|
-
message PrecomputedEpochSenderPublicData {
|
|
3177
|
-
required bytes authPk = 1;
|
|
3178
|
-
required bytes epochHead = 2;
|
|
3179
|
-
}
|
|
3180
|
-
|
|
3181
|
-
}
|
|
3182
|
-
|
|
3183
|
-
message MandrakeDecryptMekResult {
|
|
3184
|
-
oneof result {
|
|
3185
|
-
MandrakeDecryptMekSuccess success = 1;
|
|
3186
|
-
string errorMessage = 2;
|
|
3187
|
-
}
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
message MandrakeDecryptMekSuccess {
|
|
3191
|
-
required bytes mek = 1;
|
|
3192
|
-
}
|
|
3193
|
-
|
|
3194
|
-
message MandrakeEncryptMekInput {
|
|
3195
|
-
required MandrakeMekBundle mek = 1;
|
|
3196
|
-
repeated MessagingMailboxPublicData recipients = 2;
|
|
3197
|
-
optional MinosClientConfig conf = 5;
|
|
3198
|
-
oneof sender {
|
|
3199
|
-
MandrakeEncryptMekInput.MmkSender mmkSender = 3;
|
|
3200
|
-
MandrakeEncryptMekInput.EpochSender epochSender = 4;
|
|
3201
|
-
MandrakeEncryptMekInput.DetachedDeviceSender detachedDeviceSender = 6;
|
|
3202
|
-
}
|
|
3203
|
-
message DetachedDeviceSender {
|
|
3204
|
-
required DetachedDevicePublicData detachedDevicePublicData = 1;
|
|
3205
|
-
required bytes authSk = 2;
|
|
3206
|
-
required bytes authPk = 3;
|
|
3207
|
-
}
|
|
3208
|
-
|
|
3209
|
-
message EpochSender {
|
|
3210
|
-
required EpochPublicData epochPublicData = 1;
|
|
3211
|
-
required bytes authSk = 2;
|
|
3212
|
-
required bytes authPk = 3;
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
message MmkSender {
|
|
3216
|
-
required MessagingMailboxPublicData mmkPublicData = 1;
|
|
3217
|
-
required bytes authSk = 2;
|
|
3218
|
-
required bytes authPk = 3;
|
|
3219
|
-
}
|
|
3220
|
-
|
|
3221
|
-
}
|
|
3222
|
-
|
|
3223
|
-
message MandrakeEncryptMekResult {
|
|
3224
|
-
oneof result {
|
|
3225
|
-
MandrakeEncryptMekSuccess success = 1;
|
|
3226
|
-
string errorMessage = 2;
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
|
|
3230
|
-
message MandrakeEncryptMekSuccess {
|
|
3231
|
-
repeated MekDistributionSingleRecipient distributions = 1;
|
|
3232
|
-
required bytes recipientsHash = 2;
|
|
3233
|
-
required uint64 version = 3;
|
|
3234
|
-
message MekDistributionSingleRecipient {
|
|
3235
|
-
required bytes encryptedMek = 1;
|
|
3236
|
-
required MessagingMailboxPublicData toMmk = 2;
|
|
3237
|
-
optional MerkleMembershipProof recipientMembershipProof = 3;
|
|
3238
|
-
}
|
|
3239
|
-
|
|
3240
|
-
}
|
|
3241
|
-
|
|
3242
|
-
message MandrakeMekBundle {
|
|
3243
|
-
required bytes key = 1;
|
|
3244
|
-
required bytes mekId = 2;
|
|
3245
|
-
required bytes mailboxHeadHash = 3;
|
|
3246
|
-
}
|
|
3247
|
-
|
|
3248
|
-
message MandrakeOpenEpochInput {
|
|
3249
|
-
required string userFbid = 1;
|
|
3250
|
-
required uint64 epochNumber = 2;
|
|
3251
|
-
required bytes exportRootKey = 3;
|
|
3252
|
-
required bytes previousExportRootKey = 4;
|
|
3253
|
-
required uint64 previousEpochNumber = 5;
|
|
3254
|
-
required bytes previousEpochHead = 6;
|
|
3255
|
-
optional MessagingMailboxPublicData previousMmk = 7;
|
|
3256
|
-
repeated DetachedDevicePublicData detachedDevices = 8;
|
|
3257
|
-
}
|
|
3258
|
-
|
|
3259
|
-
message MandrakeOpenEpochResult {
|
|
3260
|
-
oneof result {
|
|
3261
|
-
MandrakeOpenEpochSuccess success = 1;
|
|
3262
|
-
string errorMessage = 2;
|
|
3263
|
-
}
|
|
3264
|
-
}
|
|
3265
|
-
|
|
3266
|
-
message MandrakeOpenEpochSuccess {
|
|
3267
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
3268
|
-
required SignedMmkDistributionFromMailbox signedMmkDistribution = 2;
|
|
3269
|
-
}
|
|
3270
|
-
|
|
3271
|
-
message MandrakeOpenInitialEpochInput {
|
|
3272
|
-
required string userFbid = 1;
|
|
3273
|
-
required uint64 epochNumber = 2;
|
|
3274
|
-
required bytes exportRootKey = 3;
|
|
3275
|
-
repeated DetachedDevicePublicData detachedDevices = 4;
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
message MandrakeOpenInitialEpochResult {
|
|
3279
|
-
oneof result {
|
|
3280
|
-
MandrakeOpenEpochSuccess success = 1;
|
|
3281
|
-
string errorMessage = 2;
|
|
3282
|
-
}
|
|
3283
|
-
}
|
|
3284
|
-
|
|
3285
|
-
message MandrakeValidateNewMmkFromDetachedDeviceInput {
|
|
3286
|
-
required MmkFromDetachedDevice mmkFromDevice = 1;
|
|
3287
|
-
required bytes signature = 2;
|
|
3288
|
-
required MessagingMailboxPublicData prevMmk = 3;
|
|
3289
|
-
}
|
|
3290
|
-
|
|
3291
|
-
message MandrakeValidateNewMmkFromMailboxInput {
|
|
3292
|
-
required MessagingMailboxPublicData newMmk = 1;
|
|
3293
|
-
required bytes signature = 2;
|
|
3294
|
-
optional MessagingMailboxPublicData prevMmk = 3;
|
|
3295
|
-
required EpochPublicData epochPublicData = 4;
|
|
3296
|
-
}
|
|
3297
|
-
|
|
3298
|
-
message MandrakeValidateNewMmkResult {
|
|
3299
|
-
oneof result {
|
|
3300
|
-
bool valid = 1;
|
|
3301
|
-
string errorMessage = 2;
|
|
3302
|
-
}
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
2677
|
message MediaData {
|
|
3306
2678
|
optional string localPath = 1;
|
|
3307
2679
|
}
|
|
@@ -3374,12 +2746,6 @@ enum MediaVisibility {
|
|
|
3374
2746
|
OFF = 1;
|
|
3375
2747
|
ON = 2;
|
|
3376
2748
|
}
|
|
3377
|
-
message MekBundle {
|
|
3378
|
-
required bytes key = 1;
|
|
3379
|
-
required bytes mekId = 2;
|
|
3380
|
-
required bytes rosterHash = 3;
|
|
3381
|
-
}
|
|
3382
|
-
|
|
3383
2749
|
message MemberLabel {
|
|
3384
2750
|
optional string label = 1;
|
|
3385
2751
|
optional int64 labelTimestamp = 2;
|
|
@@ -3392,13 +2758,6 @@ message Mention {
|
|
|
3392
2758
|
optional uint32 length = 4;
|
|
3393
2759
|
}
|
|
3394
2760
|
|
|
3395
|
-
message MerkleMembershipProof {
|
|
3396
|
-
required bytes proof = 1;
|
|
3397
|
-
required bytes root = 2;
|
|
3398
|
-
required uint64 leafIndex = 3;
|
|
3399
|
-
required uint64 totalLeaves = 4;
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
2761
|
message Message {
|
|
3403
2762
|
optional string conversation = 1;
|
|
3404
2763
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -3496,7 +2855,6 @@ message Message {
|
|
|
3496
2855
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
3497
2856
|
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
3498
2857
|
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
3499
|
-
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
|
3500
2858
|
optional FutureProofMessage spoilerMessage = 118;
|
|
3501
2859
|
optional PollCreationMessage pollCreationMessageV6 = 119;
|
|
3502
2860
|
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
|
@@ -3511,6 +2869,7 @@ message Message {
|
|
|
3511
2869
|
optional MusicMessage musicMessage = 129;
|
|
3512
2870
|
optional StatusLinkPreviewMetadata statusLinkPreviewMetadata = 130;
|
|
3513
2871
|
optional FutureProofMessage botPlatformRegistrationSuccessMessage = 131;
|
|
2872
|
+
optional FutureProofMessage newsletterScheduledMessage = 132;
|
|
3514
2873
|
message AlbumMessage {
|
|
3515
2874
|
optional uint32 expectedImageCount = 2;
|
|
3516
2875
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -5267,6 +4626,7 @@ message Message {
|
|
|
5267
4626
|
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
5268
4627
|
optional string metadataUrl = 30;
|
|
5269
4628
|
optional VideoSourceType videoSourceType = 31;
|
|
4629
|
+
optional string dashManifestUrl = 33;
|
|
5270
4630
|
enum Attribution {
|
|
5271
4631
|
NONE = 0;
|
|
5272
4632
|
GIPHY = 1;
|
|
@@ -5379,187 +4739,6 @@ message MessageText {
|
|
|
5379
4739
|
repeated Mention mentions = 4;
|
|
5380
4740
|
}
|
|
5381
4741
|
|
|
5382
|
-
message MessagingMailboxPublicData {
|
|
5383
|
-
required bytes epochHead = 1;
|
|
5384
|
-
required bytes deviceRosterHash = 2;
|
|
5385
|
-
required uint64 sequenceNumber = 3;
|
|
5386
|
-
required bytes sigPk = 4;
|
|
5387
|
-
required bytes encPk = 5;
|
|
5388
|
-
required bytes authPk = 6;
|
|
5389
|
-
}
|
|
5390
|
-
|
|
5391
|
-
message MinosClientConfig {
|
|
5392
|
-
required int32 preferredMessageEncryptionVersion = 1;
|
|
5393
|
-
required int32 preferredMekEncryptionVersion = 2;
|
|
5394
|
-
}
|
|
5395
|
-
|
|
5396
|
-
message MinosCommand {
|
|
5397
|
-
oneof commandInput {
|
|
5398
|
-
MinosEncryptAndSignMessageInput encryptAndSignMessage = 1;
|
|
5399
|
-
MinosDecryptAndVerifyMessageInput decryptAndVerifyMessage = 2;
|
|
5400
|
-
GenerateMekInput generateMek = 3;
|
|
5401
|
-
GenerateMekRosterHashInput generateMekRosterHash = 4;
|
|
5402
|
-
EncryptMekForDistributionInput encryptMekForDistribution = 5;
|
|
5403
|
-
DecryptMekForDistributionInput decryptMekForDistribution = 6;
|
|
5404
|
-
EncryptMeksForDistributionFromTransportSenderInput encryptMeksForDistributionFromTransportSender = 7;
|
|
5405
|
-
DecryptMekForDistributionFromTransportSenderInput decryptMekForDistributionFromTransportSender = 8;
|
|
5406
|
-
WrapTransportSigningPublicKeyInput wrapTransportSigningPublicKey = 9;
|
|
5407
|
-
WrapTransportSigningSecretKeyInput wrapTransportSigningSecretKey = 10;
|
|
5408
|
-
DeriveMailboxSigningKeypairInput deriveMailboxSigningKeypair = 11;
|
|
5409
|
-
DeriveMailboxEncryptionKeypairInput deriveMailboxEncryptionKeypair = 12;
|
|
5410
|
-
DeriveMailboxAuthKeypairInput deriveMailboxAuthKeypair = 13;
|
|
5411
|
-
DeriveAttachmentAccessTokenSecretInput deriveAttachmentAccessTokenSecret = 14;
|
|
5412
|
-
DeriveAttachmentPrimaryKeySecretInput deriveAttachmentPrimaryKeySecret = 15;
|
|
5413
|
-
MinosOpenInitialEpochInput minosOpenInitialEpoch = 16;
|
|
5414
|
-
MinosOpenEpochInput minosOpenEpoch = 17;
|
|
5415
|
-
MinosValidateEpochInput minosValidateEpoch = 18;
|
|
5416
|
-
MinosVerifySingleEpochInput minosVerifySingleEpoch = 19;
|
|
5417
|
-
MinosThreadIdFromOneToOneThreadInput minosThreadIdFromOneToOneThread = 20;
|
|
5418
|
-
MinosThreadIdFromActThreadIdInput minosThreadIdFromActThreadId = 21;
|
|
5419
|
-
MandrakeOpenEpochInput mandrakeOpenEpoch = 22;
|
|
5420
|
-
MandrakeEncryptMekInput mandrakeEncryptMek = 23;
|
|
5421
|
-
MandrakeDecryptMekInput mandrakeDecryptMek = 24;
|
|
5422
|
-
MandrakeOpenInitialEpochInput mandrakeOpenInitialEpoch = 25;
|
|
5423
|
-
MandrakeValidateNewMmkFromMailboxInput mandrakeValidateNewMmkFromMailbox = 27;
|
|
5424
|
-
MandrakeValidateNewMmkFromDetachedDeviceInput mandrakeValidateNewMmkFromDetachedDevice = 28;
|
|
5425
|
-
DeriveMessagingMailboxKeypairsInput deriveMessagingMailboxKeypairs = 29;
|
|
5426
|
-
DecryptSelfMmkDistributionInput decryptSelfMmkDistribution = 30;
|
|
5427
|
-
}
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
message MinosDecryptAndVerifyMessageInput {
|
|
5431
|
-
required bytes transportSigningPk = 1;
|
|
5432
|
-
required bytes mek = 2;
|
|
5433
|
-
required bytes encryptedMessageCiphertext = 3;
|
|
5434
|
-
required bytes encryptedMessageSignature = 4;
|
|
5435
|
-
required MinosMessageMetadata metadata = 5;
|
|
5436
|
-
optional int32 messageEncryptionVersion = 6;
|
|
5437
|
-
optional MinosClientConfig conf = 7;
|
|
5438
|
-
}
|
|
5439
|
-
|
|
5440
|
-
message MinosDecryptAndVerifyMessageResult {
|
|
5441
|
-
oneof result {
|
|
5442
|
-
MinosDecryptAndVerifyMessageSuccess success = 1;
|
|
5443
|
-
string errorMessage = 2;
|
|
5444
|
-
}
|
|
5445
|
-
}
|
|
5446
|
-
|
|
5447
|
-
message MinosDecryptAndVerifyMessageSuccess {
|
|
5448
|
-
required bytes plaintext = 1;
|
|
5449
|
-
}
|
|
5450
|
-
|
|
5451
|
-
message MinosEncryptAndSignMessageInput {
|
|
5452
|
-
required bytes transportSigningSk = 1;
|
|
5453
|
-
required bytes mek = 2;
|
|
5454
|
-
required bytes plaintext = 3;
|
|
5455
|
-
required MinosMessageMetadata metadata = 4;
|
|
5456
|
-
optional bytes transportSigningPk = 5;
|
|
5457
|
-
optional MinosClientConfig conf = 6;
|
|
5458
|
-
}
|
|
5459
|
-
|
|
5460
|
-
message MinosEncryptAndSignMessageResult {
|
|
5461
|
-
required bytes ciphertext = 1;
|
|
5462
|
-
required bytes signature = 2;
|
|
5463
|
-
required int32 version = 3;
|
|
5464
|
-
}
|
|
5465
|
-
|
|
5466
|
-
message MinosMessageMetadata {
|
|
5467
|
-
required bytes mekId = 1;
|
|
5468
|
-
required uint64 timestamp = 2;
|
|
5469
|
-
required string messageId = 3;
|
|
5470
|
-
required bytes threadId = 4;
|
|
5471
|
-
}
|
|
5472
|
-
|
|
5473
|
-
message MinosOpenEpochInput {
|
|
5474
|
-
required string userFbid = 1;
|
|
5475
|
-
required uint64 epochNumber = 2;
|
|
5476
|
-
required bytes exportRootKey = 3;
|
|
5477
|
-
required bytes previousExportRootKey = 4;
|
|
5478
|
-
required uint64 previousEpochNumber = 5;
|
|
5479
|
-
required bytes previousEpochHead = 6;
|
|
5480
|
-
}
|
|
5481
|
-
|
|
5482
|
-
message MinosOpenEpochResult {
|
|
5483
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5484
|
-
}
|
|
5485
|
-
|
|
5486
|
-
message MinosOpenInitialEpochInput {
|
|
5487
|
-
required string userFbid = 1;
|
|
5488
|
-
required uint64 epochNumber = 2;
|
|
5489
|
-
required bytes exportRootKey = 3;
|
|
5490
|
-
}
|
|
5491
|
-
|
|
5492
|
-
message MinosOpenInitialEpochResult {
|
|
5493
|
-
required MinosSignedEpoch minosSignedEpoch = 1;
|
|
5494
|
-
}
|
|
5495
|
-
|
|
5496
|
-
message MinosSignedEpoch {
|
|
5497
|
-
required EpochPublicData epochPublicData = 1;
|
|
5498
|
-
required EpochSignatures signatures = 2;
|
|
5499
|
-
required bytes epochHead = 3;
|
|
5500
|
-
}
|
|
5501
|
-
|
|
5502
|
-
message MinosThreadIdFromActThreadIdInput {
|
|
5503
|
-
required string actThreadId = 1;
|
|
5504
|
-
}
|
|
5505
|
-
|
|
5506
|
-
message MinosThreadIdFromActThreadIdResult {
|
|
5507
|
-
required bytes threadId = 1;
|
|
5508
|
-
}
|
|
5509
|
-
|
|
5510
|
-
message MinosThreadIdFromOneToOneThreadInput {
|
|
5511
|
-
required string actThreadId = 1;
|
|
5512
|
-
required string selfFbid = 2;
|
|
5513
|
-
}
|
|
5514
|
-
|
|
5515
|
-
message MinosThreadIdFromOneToOneThreadResult {
|
|
5516
|
-
required bytes threadId = 1;
|
|
5517
|
-
}
|
|
5518
|
-
|
|
5519
|
-
message MinosValidateEpochInput {
|
|
5520
|
-
required EpochPublicData epochPublicData = 1;
|
|
5521
|
-
required EpochPublicData previousEpochPublicData = 2;
|
|
5522
|
-
required EpochSignatures signatures = 3;
|
|
5523
|
-
}
|
|
5524
|
-
|
|
5525
|
-
message MinosValidateEpochResult {
|
|
5526
|
-
oneof result {
|
|
5527
|
-
bool valid = 1;
|
|
5528
|
-
string errorMessage = 2;
|
|
5529
|
-
}
|
|
5530
|
-
}
|
|
5531
|
-
|
|
5532
|
-
message MinosVerifySingleEpochInput {
|
|
5533
|
-
required EpochPublicData epochPublicData = 1;
|
|
5534
|
-
required bytes signature = 2;
|
|
5535
|
-
}
|
|
5536
|
-
|
|
5537
|
-
message MinosVerifySingleEpochResult {
|
|
5538
|
-
required bool valid = 1;
|
|
5539
|
-
}
|
|
5540
|
-
|
|
5541
|
-
message MmkDistribution {
|
|
5542
|
-
repeated MmkDistributionToDetachedDevice toDetachedDevices = 1;
|
|
5543
|
-
required MmkDistributionToMailbox toMailbox = 2;
|
|
5544
|
-
required uint64 version = 3;
|
|
5545
|
-
}
|
|
5546
|
-
|
|
5547
|
-
message MmkDistributionToDetachedDevice {
|
|
5548
|
-
required bytes encryptedMmk = 1;
|
|
5549
|
-
required bytes recipDeviceHash = 2;
|
|
5550
|
-
}
|
|
5551
|
-
|
|
5552
|
-
message MmkDistributionToMailbox {
|
|
5553
|
-
required bytes encryptedMmk = 1;
|
|
5554
|
-
required bytes recipMailboxHeadHash = 2;
|
|
5555
|
-
}
|
|
5556
|
-
|
|
5557
|
-
message MmkFromDetachedDevice {
|
|
5558
|
-
required MessagingMailboxPublicData mmk = 1;
|
|
5559
|
-
required DetachedDevicePublicData fromDetachedDevice = 2;
|
|
5560
|
-
required MerkleMembershipProof membershipProof = 3;
|
|
5561
|
-
}
|
|
5562
|
-
|
|
5563
4742
|
message Money {
|
|
5564
4743
|
optional int64 value = 1;
|
|
5565
4744
|
optional uint32 offset = 2;
|
|
@@ -5749,6 +4928,9 @@ enum MutationProps {
|
|
|
5749
4928
|
LABEL_SUBLIST_ACTION = 91;
|
|
5750
4929
|
DEVICE_CAPABILITIES_V2 = 92;
|
|
5751
4930
|
CTWA_MESSAGE_RECEIVED_ACTION = 93;
|
|
4931
|
+
SHARED_DEVICE_ALLOWLIST_ACTION = 94;
|
|
4932
|
+
CONTACT_MANAGER_METADATA_ACTION = 95;
|
|
4933
|
+
BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
|
|
5752
4934
|
SHARE_OWN_PN = 10001;
|
|
5753
4935
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
5754
4936
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -5791,16 +4973,6 @@ message NotificationSettings {
|
|
|
5791
4973
|
optional string callVibrate = 6;
|
|
5792
4974
|
}
|
|
5793
4975
|
|
|
5794
|
-
message OrfThreadIdInput {
|
|
5795
|
-
required bytes orfClientState = 1;
|
|
5796
|
-
required string threadId = 2;
|
|
5797
|
-
}
|
|
5798
|
-
|
|
5799
|
-
message OrfThreadIdOutput {
|
|
5800
|
-
optional bytes orfThreadId = 1;
|
|
5801
|
-
optional string error = 2;
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
4976
|
message PairingRequest {
|
|
5805
4977
|
optional bytes companionPublicKey = 1;
|
|
5806
4978
|
optional bytes companionIdentityKey = 2;
|
|
@@ -6126,37 +5298,6 @@ message ReportingTokenInfo {
|
|
|
6126
5298
|
optional uint64 reportingTagTimestamp = 2;
|
|
6127
5299
|
}
|
|
6128
5300
|
|
|
6129
|
-
message RotateEpochInput {
|
|
6130
|
-
required bytes currentEpochRootKey = 1;
|
|
6131
|
-
required bytes currentEpochAnonId = 2;
|
|
6132
|
-
required uint64 currentEpochFbid = 3;
|
|
6133
|
-
required bytes epochStoragePrivateKey = 4;
|
|
6134
|
-
repeated RotateEpochMemberInput members = 5;
|
|
6135
|
-
}
|
|
6136
|
-
|
|
6137
|
-
message RotateEpochMemberEdge {
|
|
6138
|
-
optional uint64 deviceId = 1;
|
|
6139
|
-
optional bytes encryptedEpochKey = 2;
|
|
6140
|
-
optional bytes deviceEpochHmac = 3;
|
|
6141
|
-
}
|
|
6142
|
-
|
|
6143
|
-
message RotateEpochMemberInput {
|
|
6144
|
-
required uint64 deviceId = 1;
|
|
6145
|
-
required bytes epochStoragePublicKey = 2;
|
|
6146
|
-
required bytes devicePublicKey = 3;
|
|
6147
|
-
}
|
|
6148
|
-
|
|
6149
|
-
message RotateEpochOutput {
|
|
6150
|
-
optional bytes newEpochRootKey = 1;
|
|
6151
|
-
optional uint64 newEpochAnonId = 2;
|
|
6152
|
-
optional uint64 newEpochFbid = 8;
|
|
6153
|
-
optional bytes epochAnonId = 3;
|
|
6154
|
-
optional BackwardEdge backwardEdge = 4;
|
|
6155
|
-
repeated RotateEpochMemberEdge memberEdges = 5;
|
|
6156
|
-
optional bytes epochRootKeyFingerprint = 6;
|
|
6157
|
-
optional string error = 7;
|
|
6158
|
-
}
|
|
6159
|
-
|
|
6160
5301
|
message RoutingInfo {
|
|
6161
5302
|
repeated int32 regionId = 1;
|
|
6162
5303
|
repeated int32 clusterId = 2;
|
|
@@ -6285,12 +5426,6 @@ message SignalMessage {
|
|
|
6285
5426
|
optional bytes ciphertext = 4;
|
|
6286
5427
|
}
|
|
6287
5428
|
|
|
6288
|
-
message SignedMmkDistributionFromMailbox {
|
|
6289
|
-
required MmkDistribution mmkDistribution = 1;
|
|
6290
|
-
required bytes signature = 2;
|
|
6291
|
-
required MessagingMailboxPublicData fromMailbox = 3;
|
|
6292
|
-
}
|
|
6293
|
-
|
|
6294
5429
|
message SignedPreKeyRecordStructure {
|
|
6295
5430
|
optional uint32 id = 1;
|
|
6296
5431
|
optional bytes publicKey = 2;
|
|
@@ -6523,6 +5658,9 @@ message SyncActionValue {
|
|
|
6523
5658
|
optional LabelSublistAction labelSublistAction = 91;
|
|
6524
5659
|
optional DeviceCapabilities deviceCapabilitiesV2 = 92;
|
|
6525
5660
|
optional CtwaMessageReceivedAction ctwaMessageReceivedAction = 93;
|
|
5661
|
+
optional SharedDeviceAllowlistAction sharedDeviceAllowlistAction = 94;
|
|
5662
|
+
optional ContactManagerMetadataAction contactManagerMetadataAction = 95;
|
|
5663
|
+
optional BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
6526
5664
|
message AgentAction {
|
|
6527
5665
|
optional string name = 1;
|
|
6528
5666
|
optional int32 deviceId = 2;
|
|
@@ -6624,6 +5762,10 @@ message SyncActionValue {
|
|
|
6624
5762
|
optional string customAudienceFbid = 6;
|
|
6625
5763
|
}
|
|
6626
5764
|
|
|
5765
|
+
message BusinessFolderActivationAction {
|
|
5766
|
+
optional bool activated = 1;
|
|
5767
|
+
}
|
|
5768
|
+
|
|
6627
5769
|
message CallLogAction {
|
|
6628
5770
|
optional CallLogRecord callLogRecord = 1;
|
|
6629
5771
|
}
|
|
@@ -6653,6 +5795,10 @@ message SyncActionValue {
|
|
|
6653
5795
|
optional string username = 6;
|
|
6654
5796
|
}
|
|
6655
5797
|
|
|
5798
|
+
message ContactManagerMetadataAction {
|
|
5799
|
+
optional bool isHidden = 1;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
6656
5802
|
message CtwaMessageReceivedAction {
|
|
6657
5803
|
optional bool isCtwaMessageReceived = 1;
|
|
6658
5804
|
}
|
|
@@ -7053,6 +6199,10 @@ message SyncActionValue {
|
|
|
7053
6199
|
}
|
|
7054
6200
|
}
|
|
7055
6201
|
|
|
6202
|
+
message SharedDeviceAllowlistAction {
|
|
6203
|
+
optional bool allowed = 1;
|
|
6204
|
+
}
|
|
6205
|
+
|
|
7056
6206
|
message StarAction {
|
|
7057
6207
|
optional bool starred = 1;
|
|
7058
6208
|
}
|
|
@@ -7374,16 +6524,6 @@ message VerifiedNameCertificate {
|
|
|
7374
6524
|
|
|
7375
6525
|
}
|
|
7376
6526
|
|
|
7377
|
-
message VirtualDeviceOutput {
|
|
7378
|
-
required bytes vdId = 1;
|
|
7379
|
-
required bytes vdPublicKey = 2;
|
|
7380
|
-
required bytes vdEpochStoragePublicKey = 3;
|
|
7381
|
-
required bytes vdEpochStoragePublicKeySig = 4;
|
|
7382
|
-
required bytes ocmfRotationToken = 5;
|
|
7383
|
-
required bytes deviceEpochHmac = 6;
|
|
7384
|
-
required EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
7385
|
-
}
|
|
7386
|
-
|
|
7387
6527
|
message WallpaperSettings {
|
|
7388
6528
|
optional string filename = 1;
|
|
7389
6529
|
optional uint32 opacity = 2;
|
|
@@ -7780,304 +6920,3 @@ message WebNotificationsInfo {
|
|
|
7780
6920
|
optional uint32 notifyMessageCount = 4;
|
|
7781
6921
|
repeated WebMessageInfo notifyMessages = 5;
|
|
7782
6922
|
}
|
|
7783
|
-
|
|
7784
|
-
message WrapTransportSigningPublicKeyInput {
|
|
7785
|
-
required bytes keyBytes = 1;
|
|
7786
|
-
}
|
|
7787
|
-
|
|
7788
|
-
message WrapTransportSigningPublicKeyResult {
|
|
7789
|
-
required bytes prefixedKey = 1;
|
|
7790
|
-
}
|
|
7791
|
-
|
|
7792
|
-
message WrapTransportSigningSecretKeyInput {
|
|
7793
|
-
required bytes keyBytes = 1;
|
|
7794
|
-
}
|
|
7795
|
-
|
|
7796
|
-
message WrapTransportSigningSecretKeyResult {
|
|
7797
|
-
required bytes prefixedKey = 1;
|
|
7798
|
-
}
|
|
7799
|
-
|
|
7800
|
-
message LIDMigrationMapping {
|
|
7801
|
-
optional uint64 pn = 1;
|
|
7802
|
-
optional uint64 assignedLid = 2;
|
|
7803
|
-
optional uint64 latestLid = 3;
|
|
7804
|
-
}
|
|
7805
|
-
|
|
7806
|
-
message LIDMigrationMappingSyncPayload {
|
|
7807
|
-
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
7808
|
-
optional uint64 chatDbMigrationTimestamp = 2;
|
|
7809
|
-
}
|
|
7810
|
-
|
|
7811
|
-
enum DataChannelMessage_MessageScope {
|
|
7812
|
-
MESSAGE_SCOPE_UNSPECIFIED = 0;
|
|
7813
|
-
MESSAGE_SCOPE_RELAY_READABLE = 1;
|
|
7814
|
-
MESSAGE_SCOPE_END_TO_END = 2;
|
|
7815
|
-
}
|
|
7816
|
-
|
|
7817
|
-
enum DataChannelMessage_MessageType {
|
|
7818
|
-
MESSAGE_TYPE_UNSPECIFIED = 0;
|
|
7819
|
-
MESSAGE_TYPE_DATA = 1;
|
|
7820
|
-
MESSAGE_TYPE_CONTROL = 2;
|
|
7821
|
-
}
|
|
7822
|
-
|
|
7823
|
-
enum DataChannelMessage_RoutingMode {
|
|
7824
|
-
ROUTING_MODE_UNSPECIFIED = 0;
|
|
7825
|
-
ROUTING_MODE_RELAY_ONLY = 1;
|
|
7826
|
-
ROUTING_MODE_SELECTIVE_FORWARD = 2;
|
|
7827
|
-
ROUTING_MODE_BROADCAST = 3;
|
|
7828
|
-
}
|
|
7829
|
-
|
|
7830
|
-
enum HbhControlPayload_ControlType {
|
|
7831
|
-
CONTROL_TYPE_UNSPECIFIED = 0;
|
|
7832
|
-
CONTROL_TYPE_GO_AWAY = 1;
|
|
7833
|
-
}
|
|
7834
|
-
|
|
7835
|
-
enum RekeyKeyType {
|
|
7836
|
-
REKEY_KEY_AUDIO = 0;
|
|
7837
|
-
REKEY_KEY_VIDEO = 1;
|
|
7838
|
-
REKEY_KEY_APPDATA = 2;
|
|
7839
|
-
}
|
|
7840
|
-
|
|
7841
|
-
enum RxVidSubscriptionInfo_VideoQuality {
|
|
7842
|
-
DEFAULT = 0;
|
|
7843
|
-
LOW = 1;
|
|
7844
|
-
MEDIUM = 2;
|
|
7845
|
-
HIGH = 3;
|
|
7846
|
-
HD = 4;
|
|
7847
|
-
}
|
|
7848
|
-
|
|
7849
|
-
enum SenderSubscriptionExt_TemporalLayer {
|
|
7850
|
-
BASE = 0;
|
|
7851
|
-
ENHANCEMENT = 1;
|
|
7852
|
-
}
|
|
7853
|
-
|
|
7854
|
-
enum StreamDescriptor_PayloadType {
|
|
7855
|
-
Media = 0;
|
|
7856
|
-
Fec = 1;
|
|
7857
|
-
Nack = 2;
|
|
7858
|
-
HbhFec = 3;
|
|
7859
|
-
AppData = 4;
|
|
7860
|
-
}
|
|
7861
|
-
|
|
7862
|
-
enum StreamDescriptor_StreamLayer {
|
|
7863
|
-
Audio = 0;
|
|
7864
|
-
VideoStream0 = 1;
|
|
7865
|
-
VideoStream1 = 2;
|
|
7866
|
-
HbhFecClientToServer = 3;
|
|
7867
|
-
HbhFecServerToClient = 4;
|
|
7868
|
-
AppDataStream0 = 5;
|
|
7869
|
-
LiveTranscriptionStream0 = 6;
|
|
7870
|
-
IMUDataStream0 = 7;
|
|
7871
|
-
ScreenShareVideoStream0 = 8;
|
|
7872
|
-
ScreenShareVideoStream1 = 9;
|
|
7873
|
-
}
|
|
7874
|
-
|
|
7875
|
-
message appDataMessage {
|
|
7876
|
-
reactionInfo reaction_info = 1;
|
|
7877
|
-
liveTranscriptionInfo transcription_info = 2;
|
|
7878
|
-
arEffectInfo ar_effect_info = 3;
|
|
7879
|
-
}
|
|
7880
|
-
|
|
7881
|
-
message appDataPayloads {
|
|
7882
|
-
repeated appDataMessage messages = 1;
|
|
7883
|
-
}
|
|
7884
|
-
|
|
7885
|
-
message AQSStats {
|
|
7886
|
-
optional int32 aqs = 1;
|
|
7887
|
-
}
|
|
7888
|
-
|
|
7889
|
-
message arEffectInfo {
|
|
7890
|
-
uint64 transaction_id = 1;
|
|
7891
|
-
string ar_effect_id = 2;
|
|
7892
|
-
}
|
|
7893
|
-
|
|
7894
|
-
message BackupMute {
|
|
7895
|
-
bool is_muted = 1;
|
|
7896
|
-
}
|
|
7897
|
-
|
|
7898
|
-
message BackupRelayLatency {
|
|
7899
|
-
uint32 ipv4 = 1;
|
|
7900
|
-
bytes ipv6 = 2;
|
|
7901
|
-
uint32 port = 3;
|
|
7902
|
-
sint32 latency_ms = 4;
|
|
7903
|
-
uint32 tx_bitrate = 5;
|
|
7904
|
-
uint32 rx_bitrate = 6;
|
|
7905
|
-
uint64 conn_id = 7;
|
|
7906
|
-
bool is_xpop_relay = 8;
|
|
7907
|
-
bool is_favored = 9;
|
|
7908
|
-
string relay_name = 10;
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
|
-
message BackupRelayLatencyReport {
|
|
7912
|
-
int32 relay_transaction_id = 1;
|
|
7913
|
-
repeated BackupRelayLatency relays = 2;
|
|
7914
|
-
}
|
|
7915
|
-
|
|
7916
|
-
message BackupSignalEnvelope {
|
|
7917
|
-
BackupRelayLatencyReport relay_latency = 1;
|
|
7918
|
-
BackupMute mute = 2;
|
|
7919
|
-
BackupVideoState video_state = 3;
|
|
7920
|
-
BackupTerminate terminate = 4;
|
|
7921
|
-
BackupTransport transport = 5;
|
|
7922
|
-
}
|
|
7923
|
-
|
|
7924
|
-
message BackupTerminate {
|
|
7925
|
-
string reason = 1;
|
|
7926
|
-
}
|
|
7927
|
-
|
|
7928
|
-
message BackupTransport {
|
|
7929
|
-
uint32 transport_msg_type = 1;
|
|
7930
|
-
repeated BackupTransportCandidate candidates = 2;
|
|
7931
|
-
int32 net_medium = 3;
|
|
7932
|
-
int32 protocol = 4;
|
|
7933
|
-
uint32 refl_ipv4 = 5;
|
|
7934
|
-
bytes refl_ipv6 = 6;
|
|
7935
|
-
uint32 refl_port = 7;
|
|
7936
|
-
uint32 p2p_cand_round = 8;
|
|
7937
|
-
int32 net_health_status = 9;
|
|
7938
|
-
string ice_ufrag = 10;
|
|
7939
|
-
string ice_pwd = 11;
|
|
7940
|
-
string cert_fingerprint = 12;
|
|
7941
|
-
string cert_algorithm = 13;
|
|
7942
|
-
}
|
|
7943
|
-
|
|
7944
|
-
message BackupTransportCandidate {
|
|
7945
|
-
uint32 ipv4 = 1;
|
|
7946
|
-
bytes ipv6 = 2;
|
|
7947
|
-
uint32 port = 3;
|
|
7948
|
-
uint32 priority = 4;
|
|
7949
|
-
}
|
|
7950
|
-
|
|
7951
|
-
message BackupVideoState {
|
|
7952
|
-
int32 video_state = 1;
|
|
7953
|
-
int32 transaction_id = 2;
|
|
7954
|
-
int32 device_orientation = 3;
|
|
7955
|
-
int32 codec_scheme = 4;
|
|
7956
|
-
string vid_dec_capability = 5;
|
|
7957
|
-
}
|
|
7958
|
-
|
|
7959
|
-
message BwaInfo {
|
|
7960
|
-
uint32 id = 1;
|
|
7961
|
-
uint32 num_participants = 2;
|
|
7962
|
-
}
|
|
7963
|
-
|
|
7964
|
-
message BwaStream {
|
|
7965
|
-
uint32 bitrate = 1;
|
|
7966
|
-
uint64 subscribed_pids_bitmap_0_63 = 2;
|
|
7967
|
-
uint64 subscribed_pids_bitmap_64_127 = 3;
|
|
7968
|
-
}
|
|
7969
|
-
|
|
7970
|
-
message DataChannelMessage {
|
|
7971
|
-
uint32 from_pid = 1;
|
|
7972
|
-
repeated uint32 recipient_pids = 2;
|
|
7973
|
-
DataChannelMessage_RoutingMode routing_mode = 3;
|
|
7974
|
-
DataChannelMessage_MessageScope scope = 4;
|
|
7975
|
-
DataChannelMessage_MessageType message_type = 5;
|
|
7976
|
-
bytes payload = 6;
|
|
7977
|
-
uint32 transaction_id = 7;
|
|
7978
|
-
}
|
|
7979
|
-
|
|
7980
|
-
message E2eRekeyPayload {
|
|
7981
|
-
repeated RekeyKeyEntry keys = 1;
|
|
7982
|
-
}
|
|
7983
|
-
|
|
7984
|
-
message HbhControlPayload {
|
|
7985
|
-
HbhControlPayload_ControlType type = 1;
|
|
7986
|
-
string reason = 2;
|
|
7987
|
-
}
|
|
7988
|
-
|
|
7989
|
-
message liveTranscriptionInfo {
|
|
7990
|
-
uint64 transcript_id = 1;
|
|
7991
|
-
string caption = 2;
|
|
7992
|
-
string language = 3;
|
|
7993
|
-
}
|
|
7994
|
-
|
|
7995
|
-
message PeerFeedback {
|
|
7996
|
-
optional VideoSenderStats video_sender_stats = 1;
|
|
7997
|
-
optional VideoFeedbackMessage video_fb_msg = 2;
|
|
7998
|
-
optional AQSStats aqs_stats = 3;
|
|
7999
|
-
optional bool noise_suppression_ui_status = 4;
|
|
8000
|
-
}
|
|
8001
|
-
|
|
8002
|
-
message reactionInfo {
|
|
8003
|
-
uint64 transaction_id = 1;
|
|
8004
|
-
string reaction = 2;
|
|
8005
|
-
}
|
|
8006
|
-
|
|
8007
|
-
message RekeyKeyEntry {
|
|
8008
|
-
RekeyKeyType type = 1;
|
|
8009
|
-
bytes key = 2;
|
|
8010
|
-
}
|
|
8011
|
-
|
|
8012
|
-
message RtcpRxSubscriptions {
|
|
8013
|
-
repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
|
|
8014
|
-
}
|
|
8015
|
-
|
|
8016
|
-
message RtcpRxSubscriptionsPerParticipant {
|
|
8017
|
-
uint32 tx_pid = 1;
|
|
8018
|
-
RxSubscriptions rx_subscriptions = 2;
|
|
8019
|
-
}
|
|
8020
|
-
|
|
8021
|
-
message RxSubscriptions {
|
|
8022
|
-
repeated uint32 vid_rx_pids = 1;
|
|
8023
|
-
repeated RxVidSubscriptionInfo vid_subscriptions = 2;
|
|
8024
|
-
}
|
|
8025
|
-
|
|
8026
|
-
message RxVidSubscriptionInfo {
|
|
8027
|
-
uint32 pid = 1;
|
|
8028
|
-
RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
|
|
8029
|
-
}
|
|
8030
|
-
|
|
8031
|
-
message SenderSubscriptionExt {
|
|
8032
|
-
SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
|
|
8033
|
-
}
|
|
8034
|
-
|
|
8035
|
-
message SenderSubscriptionExt_PidTemporalLayer {
|
|
8036
|
-
uint32 pid = 1;
|
|
8037
|
-
SenderSubscriptionExt_TemporalLayer layerId = 2;
|
|
8038
|
-
}
|
|
8039
|
-
|
|
8040
|
-
message SenderSubscriptionExt_SSrcsToPidAssignments {
|
|
8041
|
-
repeated uint32 ssrcs = 1;
|
|
8042
|
-
repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
|
|
8043
|
-
}
|
|
8044
|
-
|
|
8045
|
-
message SenderSubscriptions {
|
|
8046
|
-
repeated SenderSubscriptionExt subscriptions = 1;
|
|
8047
|
-
}
|
|
8048
|
-
|
|
8049
|
-
message SimulcastBwaResults {
|
|
8050
|
-
BwaInfo info = 1;
|
|
8051
|
-
BwaStream stream1 = 2;
|
|
8052
|
-
BwaStream stream2 = 3;
|
|
8053
|
-
}
|
|
8054
|
-
|
|
8055
|
-
message SrtpAfbStreamInfo {
|
|
8056
|
-
bool is_valid = 1;
|
|
8057
|
-
uint32 ssrc = 2;
|
|
8058
|
-
uint32 rtcp_index = 3;
|
|
8059
|
-
uint64 rtp_index = 4;
|
|
8060
|
-
}
|
|
8061
|
-
|
|
8062
|
-
message SrtpAfbStreams {
|
|
8063
|
-
repeated SrtpAfbStreamInfo srtp_afb = 1;
|
|
8064
|
-
}
|
|
8065
|
-
|
|
8066
|
-
message StreamDescriptor {
|
|
8067
|
-
StreamDescriptor_StreamLayer stream_layer = 1;
|
|
8068
|
-
StreamDescriptor_PayloadType payload_type = 2;
|
|
8069
|
-
uint32 ssrc = 3;
|
|
8070
|
-
bool is_uplink_prefetch_enabled = 4;
|
|
8071
|
-
}
|
|
8072
|
-
|
|
8073
|
-
message StreamDescriptors {
|
|
8074
|
-
repeated StreamDescriptor stream_descriptors = 1;
|
|
8075
|
-
}
|
|
8076
|
-
|
|
8077
|
-
message VideoFeedbackMessage {
|
|
8078
|
-
optional int32 freeze_state = 1;
|
|
8079
|
-
}
|
|
8080
|
-
|
|
8081
|
-
message VideoSenderStats {
|
|
8082
|
-
optional int32 sender_bwe = 1;
|
|
8083
|
-
}
|