proto: update to v1043045417
This commit is contained in:
@@ -67,6 +67,7 @@ const (
|
||||
IndexThreadPin = "thread_pin"
|
||||
IndexSettingAutoOrganizeBusinessChat = "setting_autoOrganizeBusinessChat"
|
||||
IndexCoexV2Version = "coexV2Version"
|
||||
IndexLockMessage = "lock_message"
|
||||
)
|
||||
|
||||
// Constants for the regular app state indexes.
|
||||
|
||||
+354
-169
File diff suppressed because it is too large
Load Diff
@@ -328,6 +328,7 @@ message BotCapabilityMetadata {
|
||||
UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63;
|
||||
AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64;
|
||||
AI_SUBSCRIPTION_METERING_ENABLED = 65;
|
||||
RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66;
|
||||
}
|
||||
|
||||
repeated BotCapabilityType capabilities = 1;
|
||||
@@ -776,6 +777,7 @@ message BotMetadata {
|
||||
optional BotResolvedToolCallMetadata resolvedToolCallMetadata = 40;
|
||||
optional AISubscriptionUpsellMetadata subscriptionUpsellMetadata = 41;
|
||||
optional BotPttPromptMetadata pttPromptMetadata = 42;
|
||||
optional BotHistoryShareMetadata botHistoryShareMetadata = 43;
|
||||
optional bytes internalMetadata = 999;
|
||||
}
|
||||
|
||||
@@ -787,6 +789,10 @@ message BotGroupMetadata {
|
||||
repeated BotGroupParticipantMetadata participantsMetadata = 1;
|
||||
}
|
||||
|
||||
message BotHistoryShareMetadata {
|
||||
repeated BotGroupParticipantMetadata participantsMetadata = 1;
|
||||
}
|
||||
|
||||
message BotRenderingConfigMetadata {
|
||||
optional string bloksVersioningID = 1;
|
||||
optional double pixelDensity = 2;
|
||||
@@ -828,4 +834,15 @@ message BotAgentMetadata {
|
||||
|
||||
message BotAgentDeepLinkMetadata {
|
||||
optional string token = 1;
|
||||
optional bytes clientPublicKey = 2;
|
||||
}
|
||||
|
||||
message AIProvenance {
|
||||
message Metadata {
|
||||
optional bool createdWithGenAi = 1;
|
||||
optional bool editedWithGenAi = 2;
|
||||
}
|
||||
|
||||
optional Metadata c2PaMetadata = 1;
|
||||
optional Metadata iptcMetadata = 2;
|
||||
}
|
||||
|
||||
Generated
+190
@@ -0,0 +1,190 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.34.1
|
||||
// source: waAea/WAWebProtobufsAea.proto
|
||||
|
||||
package waAea
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type NonE2EEAttestation_AccountType int32
|
||||
|
||||
const (
|
||||
NonE2EEAttestation_E2EE NonE2EEAttestation_AccountType = 0
|
||||
NonE2EEAttestation_HYBRID_E2EE NonE2EEAttestation_AccountType = 1
|
||||
NonE2EEAttestation_NON_E2EE NonE2EEAttestation_AccountType = 2
|
||||
)
|
||||
|
||||
// Enum value maps for NonE2EEAttestation_AccountType.
|
||||
var (
|
||||
NonE2EEAttestation_AccountType_name = map[int32]string{
|
||||
0: "E2EE",
|
||||
1: "HYBRID_E2EE",
|
||||
2: "NON_E2EE",
|
||||
}
|
||||
NonE2EEAttestation_AccountType_value = map[string]int32{
|
||||
"E2EE": 0,
|
||||
"HYBRID_E2EE": 1,
|
||||
"NON_E2EE": 2,
|
||||
}
|
||||
)
|
||||
|
||||
func (x NonE2EEAttestation_AccountType) Enum() *NonE2EEAttestation_AccountType {
|
||||
p := new(NonE2EEAttestation_AccountType)
|
||||
*p = x
|
||||
return p
|
||||
}
|
||||
|
||||
func (x NonE2EEAttestation_AccountType) String() string {
|
||||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||
}
|
||||
|
||||
func (NonE2EEAttestation_AccountType) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waAea_WAWebProtobufsAea_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (NonE2EEAttestation_AccountType) Type() protoreflect.EnumType {
|
||||
return &file_waAea_WAWebProtobufsAea_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x NonE2EEAttestation_AccountType) Number() protoreflect.EnumNumber {
|
||||
return protoreflect.EnumNumber(x)
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *NonE2EEAttestation_AccountType) UnmarshalJSON(b []byte) error {
|
||||
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
*x = NonE2EEAttestation_AccountType(num)
|
||||
return nil
|
||||
}
|
||||
|
||||
// Deprecated: Use NonE2EEAttestation_AccountType.Descriptor instead.
|
||||
func (NonE2EEAttestation_AccountType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waAea_WAWebProtobufsAea_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type NonE2EEAttestation struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AccountType *NonE2EEAttestation_AccountType `protobuf:"varint,1,opt,name=accountType,enum=WAWebProtobufsAea.NonE2EEAttestation_AccountType" json:"accountType,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *NonE2EEAttestation) Reset() {
|
||||
*x = NonE2EEAttestation{}
|
||||
mi := &file_waAea_WAWebProtobufsAea_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *NonE2EEAttestation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*NonE2EEAttestation) ProtoMessage() {}
|
||||
|
||||
func (x *NonE2EEAttestation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waAea_WAWebProtobufsAea_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use NonE2EEAttestation.ProtoReflect.Descriptor instead.
|
||||
func (*NonE2EEAttestation) Descriptor() ([]byte, []int) {
|
||||
return file_waAea_WAWebProtobufsAea_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *NonE2EEAttestation) GetAccountType() NonE2EEAttestation_AccountType {
|
||||
if x != nil && x.AccountType != nil {
|
||||
return *x.AccountType
|
||||
}
|
||||
return NonE2EEAttestation_E2EE
|
||||
}
|
||||
|
||||
var File_waAea_WAWebProtobufsAea_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_waAea_WAWebProtobufsAea_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dwaAea/WAWebProtobufsAea.proto\x12\x11WAWebProtobufsAea\"\xa1\x01\n" +
|
||||
"\x12NonE2EEAttestation\x12S\n" +
|
||||
"\vaccountType\x18\x01 \x01(\x0e21.WAWebProtobufsAea.NonE2EEAttestation.AccountTypeR\vaccountType\"6\n" +
|
||||
"\vAccountType\x12\b\n" +
|
||||
"\x04E2EE\x10\x00\x12\x0f\n" +
|
||||
"\vHYBRID_E2EE\x10\x01\x12\f\n" +
|
||||
"\bNON_E2EE\x10\x02B!Z\x1fgo.mau.fi/whatsmeow/proto/waAea"
|
||||
|
||||
var (
|
||||
file_waAea_WAWebProtobufsAea_proto_rawDescOnce sync.Once
|
||||
file_waAea_WAWebProtobufsAea_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_waAea_WAWebProtobufsAea_proto_rawDescGZIP() []byte {
|
||||
file_waAea_WAWebProtobufsAea_proto_rawDescOnce.Do(func() {
|
||||
file_waAea_WAWebProtobufsAea_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waAea_WAWebProtobufsAea_proto_rawDesc), len(file_waAea_WAWebProtobufsAea_proto_rawDesc)))
|
||||
})
|
||||
return file_waAea_WAWebProtobufsAea_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waAea_WAWebProtobufsAea_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waAea_WAWebProtobufsAea_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_waAea_WAWebProtobufsAea_proto_goTypes = []any{
|
||||
(NonE2EEAttestation_AccountType)(0), // 0: WAWebProtobufsAea.NonE2EEAttestation.AccountType
|
||||
(*NonE2EEAttestation)(nil), // 1: WAWebProtobufsAea.NonE2EEAttestation
|
||||
}
|
||||
var file_waAea_WAWebProtobufsAea_proto_depIdxs = []int32{
|
||||
0, // 0: WAWebProtobufsAea.NonE2EEAttestation.accountType:type_name -> WAWebProtobufsAea.NonE2EEAttestation.AccountType
|
||||
1, // [1:1] is the sub-list for method output_type
|
||||
1, // [1:1] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waAea_WAWebProtobufsAea_proto_init() }
|
||||
func file_waAea_WAWebProtobufsAea_proto_init() {
|
||||
if File_waAea_WAWebProtobufsAea_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waAea_WAWebProtobufsAea_proto_rawDesc), len(file_waAea_WAWebProtobufsAea_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waAea_WAWebProtobufsAea_proto_goTypes,
|
||||
DependencyIndexes: file_waAea_WAWebProtobufsAea_proto_depIdxs,
|
||||
EnumInfos: file_waAea_WAWebProtobufsAea_proto_enumTypes,
|
||||
MessageInfos: file_waAea_WAWebProtobufsAea_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waAea_WAWebProtobufsAea_proto = out.File
|
||||
file_waAea_WAWebProtobufsAea_proto_goTypes = nil
|
||||
file_waAea_WAWebProtobufsAea_proto_depIdxs = nil
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
syntax = "proto2";
|
||||
package WAWebProtobufsAea;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waAea";
|
||||
|
||||
message NonE2EEAttestation {
|
||||
enum AccountType {
|
||||
E2EE = 0;
|
||||
HYBRID_E2EE = 1;
|
||||
NON_E2EE = 2;
|
||||
}
|
||||
|
||||
optional AccountType accountType = 1;
|
||||
}
|
||||
+84
-27
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v6.33.5
|
||||
// protoc v7.34.1
|
||||
// source: waDeviceCapabilities/WAWebProtobufsDeviceCapabilities.proto
|
||||
|
||||
package waDeviceCapabilities
|
||||
@@ -207,6 +207,7 @@ type DeviceCapabilities struct {
|
||||
UserHasAvatar *DeviceCapabilities_UserHasAvatar `protobuf:"bytes,4,opt,name=userHasAvatar" json:"userHasAvatar,omitempty"`
|
||||
MemberNameTagPrimarySupport *DeviceCapabilities_MemberNameTagPrimarySupport `protobuf:"varint,5,opt,name=memberNameTagPrimarySupport,enum=WAWebProtobufsDeviceCapabilities.DeviceCapabilities_MemberNameTagPrimarySupport" json:"memberNameTagPrimarySupport,omitempty"`
|
||||
AiThread *DeviceCapabilities_AiThread `protobuf:"bytes,6,opt,name=aiThread" json:"aiThread,omitempty"`
|
||||
AiFbidMigration *DeviceCapabilities_AiFbidMigration `protobuf:"bytes,7,opt,name=aiFbidMigration" json:"aiFbidMigration,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -283,6 +284,13 @@ func (x *DeviceCapabilities) GetAiThread() *DeviceCapabilities_AiThread {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities) GetAiFbidMigration() *DeviceCapabilities_AiFbidMigration {
|
||||
if x != nil {
|
||||
return x.AiFbidMigration
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type DeviceCapabilities_AiThread struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SupportLevel *DeviceCapabilities_AiThread_SupportLevel `protobuf:"varint,1,opt,name=supportLevel,enum=WAWebProtobufsDeviceCapabilities.DeviceCapabilities_AiThread_SupportLevel" json:"supportLevel,omitempty"`
|
||||
@@ -327,6 +335,50 @@ func (x *DeviceCapabilities_AiThread) GetSupportLevel() DeviceCapabilities_AiThr
|
||||
return DeviceCapabilities_AiThread_NONE
|
||||
}
|
||||
|
||||
type DeviceCapabilities_AiFbidMigration struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ChatDbMigrationTimestamp *uint64 `protobuf:"varint,1,opt,name=chatDbMigrationTimestamp" json:"chatDbMigrationTimestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_AiFbidMigration) Reset() {
|
||||
*x = DeviceCapabilities_AiFbidMigration{}
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_AiFbidMigration) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeviceCapabilities_AiFbidMigration) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceCapabilities_AiFbidMigration) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DeviceCapabilities_AiFbidMigration.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceCapabilities_AiFbidMigration) Descriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 1}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_AiFbidMigration) GetChatDbMigrationTimestamp() uint64 {
|
||||
if x != nil && x.ChatDbMigrationTimestamp != nil {
|
||||
return *x.ChatDbMigrationTimestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type DeviceCapabilities_UserHasAvatar struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserHasAvatar *bool `protobuf:"varint,1,opt,name=userHasAvatar" json:"userHasAvatar,omitempty"`
|
||||
@@ -336,7 +388,7 @@ type DeviceCapabilities_UserHasAvatar struct {
|
||||
|
||||
func (x *DeviceCapabilities_UserHasAvatar) Reset() {
|
||||
*x = DeviceCapabilities_UserHasAvatar{}
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[2]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -348,7 +400,7 @@ func (x *DeviceCapabilities_UserHasAvatar) String() string {
|
||||
func (*DeviceCapabilities_UserHasAvatar) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceCapabilities_UserHasAvatar) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[2]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -361,7 +413,7 @@ func (x *DeviceCapabilities_UserHasAvatar) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeviceCapabilities_UserHasAvatar.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceCapabilities_UserHasAvatar) Descriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 1}
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 2}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_UserHasAvatar) GetUserHasAvatar() bool {
|
||||
@@ -384,7 +436,7 @@ type DeviceCapabilities_BusinessBroadcast struct {
|
||||
|
||||
func (x *DeviceCapabilities_BusinessBroadcast) Reset() {
|
||||
*x = DeviceCapabilities_BusinessBroadcast{}
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[3]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -396,7 +448,7 @@ func (x *DeviceCapabilities_BusinessBroadcast) String() string {
|
||||
func (*DeviceCapabilities_BusinessBroadcast) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceCapabilities_BusinessBroadcast) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[3]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -409,7 +461,7 @@ func (x *DeviceCapabilities_BusinessBroadcast) ProtoReflect() protoreflect.Messa
|
||||
|
||||
// Deprecated: Use DeviceCapabilities_BusinessBroadcast.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceCapabilities_BusinessBroadcast) Descriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 2}
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 3}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_BusinessBroadcast) GetImportListEnabled() bool {
|
||||
@@ -456,7 +508,7 @@ type DeviceCapabilities_LIDMigration struct {
|
||||
|
||||
func (x *DeviceCapabilities_LIDMigration) Reset() {
|
||||
*x = DeviceCapabilities_LIDMigration{}
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[4]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -468,7 +520,7 @@ func (x *DeviceCapabilities_LIDMigration) String() string {
|
||||
func (*DeviceCapabilities_LIDMigration) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceCapabilities_LIDMigration) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[4]
|
||||
mi := &file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -481,7 +533,7 @@ func (x *DeviceCapabilities_LIDMigration) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeviceCapabilities_LIDMigration.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceCapabilities_LIDMigration) Descriptor() ([]byte, []int) {
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 3}
|
||||
return file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZIP(), []int{0, 4}
|
||||
}
|
||||
|
||||
func (x *DeviceCapabilities_LIDMigration) GetChatDbMigrationTimestamp() uint64 {
|
||||
@@ -495,20 +547,23 @@ var File_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto protoreflec
|
||||
|
||||
const file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
";waDeviceCapabilities/WAWebProtobufsDeviceCapabilities.proto\x12 WAWebProtobufsDeviceCapabilities\"\x93\v\n" +
|
||||
";waDeviceCapabilities/WAWebProtobufsDeviceCapabilities.proto\x12 WAWebProtobufsDeviceCapabilities\"\xd2\f\n" +
|
||||
"\x12DeviceCapabilities\x12}\n" +
|
||||
"\x14chatLockSupportLevel\x18\x01 \x01(\x0e2I.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevelR\x14chatLockSupportLevel\x12e\n" +
|
||||
"\flidMigration\x18\x02 \x01(\v2A.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.LIDMigrationR\flidMigration\x12t\n" +
|
||||
"\x11businessBroadcast\x18\x03 \x01(\v2F.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.BusinessBroadcastR\x11businessBroadcast\x12h\n" +
|
||||
"\ruserHasAvatar\x18\x04 \x01(\v2B.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.UserHasAvatarR\ruserHasAvatar\x12\x92\x01\n" +
|
||||
"\x1bmemberNameTagPrimarySupport\x18\x05 \x01(\x0e2P.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.MemberNameTagPrimarySupportR\x1bmemberNameTagPrimarySupport\x12Y\n" +
|
||||
"\baiThread\x18\x06 \x01(\v2=.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThreadR\baiThread\x1a\xa9\x01\n" +
|
||||
"\baiThread\x18\x06 \x01(\v2=.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThreadR\baiThread\x12n\n" +
|
||||
"\x0faiFbidMigration\x18\a \x01(\v2D.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiFbidMigrationR\x0faiFbidMigration\x1a\xa9\x01\n" +
|
||||
"\bAiThread\x12n\n" +
|
||||
"\fsupportLevel\x18\x01 \x01(\x0e2J.WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.SupportLevelR\fsupportLevel\"-\n" +
|
||||
"\fSupportLevel\x12\b\n" +
|
||||
"\x04NONE\x10\x00\x12\t\n" +
|
||||
"\x05INFRA\x10\x01\x12\b\n" +
|
||||
"\x04FULL\x10\x02\x1a5\n" +
|
||||
"\x04FULL\x10\x02\x1aM\n" +
|
||||
"\x0fAiFbidMigration\x12:\n" +
|
||||
"\x18chatDbMigrationTimestamp\x18\x01 \x01(\x04R\x18chatDbMigrationTimestamp\x1a5\n" +
|
||||
"\rUserHasAvatar\x12$\n" +
|
||||
"\ruserHasAvatar\x18\x01 \x01(\bR\ruserHasAvatar\x1a\x87\x02\n" +
|
||||
"\x11BusinessBroadcast\x12,\n" +
|
||||
@@ -541,30 +596,32 @@ func file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDescGZI
|
||||
}
|
||||
|
||||
var file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||
var file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_goTypes = []any{
|
||||
(DeviceCapabilities_MemberNameTagPrimarySupport)(0), // 0: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.MemberNameTagPrimarySupport
|
||||
(DeviceCapabilities_ChatLockSupportLevel)(0), // 1: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel
|
||||
(DeviceCapabilities_AiThread_SupportLevel)(0), // 2: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.SupportLevel
|
||||
(*DeviceCapabilities)(nil), // 3: WAWebProtobufsDeviceCapabilities.DeviceCapabilities
|
||||
(*DeviceCapabilities_AiThread)(nil), // 4: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread
|
||||
(*DeviceCapabilities_UserHasAvatar)(nil), // 5: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.UserHasAvatar
|
||||
(*DeviceCapabilities_BusinessBroadcast)(nil), // 6: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.BusinessBroadcast
|
||||
(*DeviceCapabilities_LIDMigration)(nil), // 7: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.LIDMigration
|
||||
(*DeviceCapabilities_AiFbidMigration)(nil), // 5: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiFbidMigration
|
||||
(*DeviceCapabilities_UserHasAvatar)(nil), // 6: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.UserHasAvatar
|
||||
(*DeviceCapabilities_BusinessBroadcast)(nil), // 7: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.BusinessBroadcast
|
||||
(*DeviceCapabilities_LIDMigration)(nil), // 8: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.LIDMigration
|
||||
}
|
||||
var file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_depIdxs = []int32{
|
||||
1, // 0: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.chatLockSupportLevel:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel
|
||||
7, // 1: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.lidMigration:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.LIDMigration
|
||||
6, // 2: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.businessBroadcast:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.BusinessBroadcast
|
||||
5, // 3: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.userHasAvatar:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.UserHasAvatar
|
||||
8, // 1: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.lidMigration:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.LIDMigration
|
||||
7, // 2: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.businessBroadcast:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.BusinessBroadcast
|
||||
6, // 3: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.userHasAvatar:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.UserHasAvatar
|
||||
0, // 4: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.memberNameTagPrimarySupport:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.MemberNameTagPrimarySupport
|
||||
4, // 5: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.aiThread:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread
|
||||
2, // 6: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.supportLevel:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.SupportLevel
|
||||
7, // [7:7] is the sub-list for method output_type
|
||||
7, // [7:7] is the sub-list for method input_type
|
||||
7, // [7:7] is the sub-list for extension type_name
|
||||
7, // [7:7] is the sub-list for extension extendee
|
||||
0, // [0:7] is the sub-list for field type_name
|
||||
5, // 6: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.aiFbidMigration:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiFbidMigration
|
||||
2, // 7: WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.supportLevel:type_name -> WAWebProtobufsDeviceCapabilities.DeviceCapabilities.AiThread.SupportLevel
|
||||
8, // [8:8] is the sub-list for method output_type
|
||||
8, // [8:8] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_init() }
|
||||
@@ -578,7 +635,7 @@ func file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDesc), len(file_waDeviceCapabilities_WAWebProtobufsDeviceCapabilities_proto_rawDesc)),
|
||||
NumEnums: 3,
|
||||
NumMessages: 5,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -25,6 +25,10 @@ message DeviceCapabilities {
|
||||
optional SupportLevel supportLevel = 1;
|
||||
}
|
||||
|
||||
message AiFbidMigration {
|
||||
optional uint64 chatDbMigrationTimestamp = 1;
|
||||
}
|
||||
|
||||
message UserHasAvatar {
|
||||
optional bool userHasAvatar = 1;
|
||||
}
|
||||
@@ -47,4 +51,5 @@ message DeviceCapabilities {
|
||||
optional UserHasAvatar userHasAvatar = 4;
|
||||
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
||||
optional AiThread aiThread = 6;
|
||||
optional AiFbidMigration aiFbidMigration = 7;
|
||||
}
|
||||
|
||||
Generated
+1631
-1145
File diff suppressed because it is too large
Load Diff
@@ -5,9 +5,11 @@ option go_package = "go.mau.fi/whatsmeow/proto/waE2E";
|
||||
import "waAICommon/WAWebProtobufsAICommon.proto";
|
||||
import "waAICommonDeprecated/WAAICommonDeprecated.proto";
|
||||
import "waAdv/WAAdv.proto";
|
||||
import "waAea/WAWebProtobufsAea.proto";
|
||||
import "waCompanionReg/WACompanionReg.proto";
|
||||
import "waMmsRetry/WAMmsRetry.proto";
|
||||
import "waCommon/WACommon.proto";
|
||||
import "waServerSync/WAWebProtobufsServerSync.proto";
|
||||
import "waStatusAttributions/WAStatusAttributions.proto";
|
||||
|
||||
enum PollType {
|
||||
@@ -938,6 +940,8 @@ message ProtocolMessage {
|
||||
MESSAGE_UNSCHEDULE = 32;
|
||||
CHAT_THEME_SETTING = 34;
|
||||
AI_METADATA_OPERATION = 35;
|
||||
MARK_AS_VERIFIED_ACTION = 36;
|
||||
COEX_STATE_SYNC = 37;
|
||||
}
|
||||
|
||||
optional WACommon.MessageKey key = 1;
|
||||
@@ -968,6 +972,8 @@ message ProtocolMessage {
|
||||
optional uint32 afterReadDuration = 29;
|
||||
optional ChatThemeSetting chatThemeSetting = 30;
|
||||
optional WAWebProtobufsAICommon.AIMetadataOperation aiMetadataOperation = 31;
|
||||
optional MarkAsVerifiedAction markAsVerifiedAction = 32;
|
||||
optional WAWebProtobufsServerSync.CoexStateSync coexStateSync = 33;
|
||||
}
|
||||
|
||||
message CloudAPIThreadControlNotification {
|
||||
@@ -1089,7 +1095,7 @@ message ExtendedTextMessage {
|
||||
optional bool viewOnce = 30;
|
||||
optional uint32 videoHeight = 31;
|
||||
optional uint32 videoWidth = 32;
|
||||
optional MMSThumbnailMetadata faviconMMSMetadata = 33;
|
||||
optional MMSThumbnailMetadata faviconMmsMetadata = 33;
|
||||
optional LinkPreviewMetadata linkPreviewMetadata = 34;
|
||||
optional PaymentLinkMetadata paymentLinkMetadata = 35;
|
||||
repeated VideoEndCard endCardTiles = 36;
|
||||
@@ -1289,6 +1295,13 @@ message ContextInfo {
|
||||
ORDER = 12;
|
||||
}
|
||||
|
||||
message UnauthenticatedBusinessMetadata {
|
||||
optional string businessName = 1;
|
||||
optional string businessCategory = 2;
|
||||
optional bool businessIsOpen = 3;
|
||||
optional int64 businessIsOpenSnapshotMS = 4;
|
||||
}
|
||||
|
||||
message SignedPayload {
|
||||
optional string verifiedName = 1;
|
||||
repeated Pill pills = 2;
|
||||
@@ -1304,6 +1317,7 @@ message ContextInfo {
|
||||
optional EntryPoint entryPoint = 3;
|
||||
optional bytes signedPayload = 4;
|
||||
optional WAWebProtobufsAICommon.BotSignatureVerificationMetadata signatureEnvelope = 5;
|
||||
optional UnauthenticatedBusinessMetadata unauthenticatedBusinessMetadata = 6;
|
||||
}
|
||||
|
||||
message StatusAudienceMetadata {
|
||||
@@ -1411,6 +1425,10 @@ message ContextInfo {
|
||||
optional string caption = 17;
|
||||
}
|
||||
|
||||
message InstagramThreadLink {
|
||||
optional string URL = 1;
|
||||
}
|
||||
|
||||
message PartiallySelectedContent {
|
||||
optional string text = 1;
|
||||
}
|
||||
@@ -1500,6 +1518,8 @@ message ContextInfo {
|
||||
optional CrossAppSource crossAppSource = 77;
|
||||
optional BusinessInteractionPills businessInteractionPills = 78;
|
||||
optional string posterStatusID = 79;
|
||||
optional InstagramThreadLink instagramThreadLink = 80;
|
||||
optional WAWebProtobufsAICommon.AIProvenance aiProvenance = 81;
|
||||
}
|
||||
|
||||
message MessageAssociation {
|
||||
@@ -1566,6 +1586,8 @@ message MessageContextInfo {
|
||||
repeated ThreadID threadID = 15;
|
||||
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
||||
optional bytes teeBotMetadata = 17;
|
||||
optional WAWebProtobufsAea.NonE2EEAttestation accountEncryptionAttestation = 18;
|
||||
optional bytes associatedPrimaryIdentityKey = 19;
|
||||
}
|
||||
|
||||
message InteractiveAnnotation {
|
||||
@@ -1796,6 +1818,7 @@ message Message {
|
||||
optional SplitPaymentMessage splitPaymentMessage = 125;
|
||||
optional FutureProofMessage newsletterAdminProfileStatusMessage = 126;
|
||||
optional RootSecretDistributeMessage rootSecretDistributeMessage = 127;
|
||||
optional SplitPaymentUpdateMessage splitPaymentUpdateMessage = 128;
|
||||
}
|
||||
|
||||
message AlbumMessage {
|
||||
@@ -1812,9 +1835,21 @@ message MessageHistoryMetadata {
|
||||
optional int64 oldestMessageTimestampInBundle = 5;
|
||||
}
|
||||
|
||||
message HistoryShareMessageEntry {
|
||||
optional string stanzaID = 1;
|
||||
optional bytes messageSecretProof = 2;
|
||||
}
|
||||
|
||||
message BotHistoryShareSyncMetadata {
|
||||
optional string botJID = 1;
|
||||
optional int64 historyShareCutoffTimestamp = 2;
|
||||
repeated HistoryShareMessageEntry historyShareMessages = 3;
|
||||
}
|
||||
|
||||
message MessageHistoryNotice {
|
||||
optional ContextInfo contextInfo = 1;
|
||||
optional MessageHistoryMetadata messageHistoryMetadata = 2;
|
||||
optional BotHistoryShareSyncMetadata botHistoryShareSyncMetadata = 3;
|
||||
}
|
||||
|
||||
message MessageHistoryBundle {
|
||||
@@ -2114,6 +2149,11 @@ message LiveLocationMessage {
|
||||
optional ContextInfo contextInfo = 17;
|
||||
}
|
||||
|
||||
message SplitPaymentUpdateMessage {
|
||||
optional string splitID = 1;
|
||||
optional string participantJID = 2;
|
||||
}
|
||||
|
||||
message SplitPaymentMessage {
|
||||
optional string splitID = 1;
|
||||
optional Money totalAmount = 2;
|
||||
@@ -2262,6 +2302,13 @@ message ChatThemeSetting {
|
||||
optional string colorSchemeID = 3;
|
||||
}
|
||||
|
||||
message MarkAsVerifiedAction {
|
||||
optional string userJIDString = 1;
|
||||
optional bool verified = 2;
|
||||
optional bytes verifiedIdentityKey = 3;
|
||||
optional uint64 actionSeq = 4;
|
||||
}
|
||||
|
||||
message Chat {
|
||||
optional string displayName = 1;
|
||||
optional string ID = 2;
|
||||
@@ -2331,6 +2378,7 @@ message URLMetadata {
|
||||
message PaymentExtendedMetadata {
|
||||
optional uint32 type = 1;
|
||||
optional string platform = 2;
|
||||
optional string messageParamsJSON = 3;
|
||||
}
|
||||
|
||||
message MMSThumbnailMetadata {
|
||||
|
||||
+158
-92
@@ -772,6 +772,7 @@ type Conversation struct {
|
||||
AppealUpdateTime *uint64 `protobuf:"varint,60,opt,name=appealUpdateTime" json:"appealUpdateTime,omitempty"`
|
||||
AuthAgentParentCompanyName *string `protobuf:"bytes,61,opt,name=authAgentParentCompanyName" json:"authAgentParentCompanyName,omitempty"`
|
||||
AuthAgentObaPhoneNumber *string `protobuf:"bytes,62,opt,name=authAgentObaPhoneNumber" json:"authAgentObaPhoneNumber,omitempty"`
|
||||
IdentityVerification *IdentityVerificationState `protobuf:"bytes,63,opt,name=identityVerification" json:"identityVerification,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -1240,6 +1241,13 @@ func (x *Conversation) GetAuthAgentObaPhoneNumber() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Conversation) GetIdentityVerification() *IdentityVerificationState {
|
||||
if x != nil {
|
||||
return x.IdentityVerification
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GroupParticipant struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserJID *string `protobuf:"bytes,1,req,name=userJID" json:"userJID,omitempty"`
|
||||
@@ -1360,6 +1368,58 @@ func (x *PastParticipant) GetLeaveTS() uint64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type IdentityVerificationState struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Verified *bool `protobuf:"varint,1,opt,name=verified" json:"verified,omitempty"`
|
||||
ActionSeq *uint64 `protobuf:"varint,2,opt,name=actionSeq" json:"actionSeq,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *IdentityVerificationState) Reset() {
|
||||
*x = IdentityVerificationState{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *IdentityVerificationState) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IdentityVerificationState) ProtoMessage() {}
|
||||
|
||||
func (x *IdentityVerificationState) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use IdentityVerificationState.ProtoReflect.Descriptor instead.
|
||||
func (*IdentityVerificationState) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *IdentityVerificationState) GetVerified() bool {
|
||||
if x != nil && x.Verified != nil {
|
||||
return *x.Verified
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *IdentityVerificationState) GetActionSeq() uint64 {
|
||||
if x != nil && x.ActionSeq != nil {
|
||||
return *x.ActionSeq
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type PhoneNumberToLIDMapping struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PnJID *string `protobuf:"bytes,1,opt,name=pnJID" json:"pnJID,omitempty"`
|
||||
@@ -1370,7 +1430,7 @@ type PhoneNumberToLIDMapping struct {
|
||||
|
||||
func (x *PhoneNumberToLIDMapping) Reset() {
|
||||
*x = PhoneNumberToLIDMapping{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1382,7 +1442,7 @@ func (x *PhoneNumberToLIDMapping) String() string {
|
||||
func (*PhoneNumberToLIDMapping) ProtoMessage() {}
|
||||
|
||||
func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1395,7 +1455,7 @@ func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead.
|
||||
func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{4}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *PhoneNumberToLIDMapping) GetPnJID() string {
|
||||
@@ -1425,7 +1485,7 @@ type InlineContact struct {
|
||||
|
||||
func (x *InlineContact) Reset() {
|
||||
*x = InlineContact{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1437,7 +1497,7 @@ func (x *InlineContact) String() string {
|
||||
func (*InlineContact) ProtoMessage() {}
|
||||
|
||||
func (x *InlineContact) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1450,7 +1510,7 @@ func (x *InlineContact) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use InlineContact.ProtoReflect.Descriptor instead.
|
||||
func (*InlineContact) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{5}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *InlineContact) GetPnJID() string {
|
||||
@@ -1500,7 +1560,7 @@ type Account struct {
|
||||
|
||||
func (x *Account) Reset() {
|
||||
*x = Account{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1512,7 +1572,7 @@ func (x *Account) String() string {
|
||||
func (*Account) ProtoMessage() {}
|
||||
|
||||
func (x *Account) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1525,7 +1585,7 @@ func (x *Account) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
|
||||
func (*Account) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{6}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *Account) GetLid() string {
|
||||
@@ -1566,7 +1626,7 @@ type HistorySyncMsg struct {
|
||||
|
||||
func (x *HistorySyncMsg) Reset() {
|
||||
*x = HistorySyncMsg{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1578,7 +1638,7 @@ func (x *HistorySyncMsg) String() string {
|
||||
func (*HistorySyncMsg) ProtoMessage() {}
|
||||
|
||||
func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1591,7 +1651,7 @@ func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead.
|
||||
func (*HistorySyncMsg) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{7}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *HistorySyncMsg) GetMessage() *waWeb.WebMessageInfo {
|
||||
@@ -1618,7 +1678,7 @@ type Pushname struct {
|
||||
|
||||
func (x *Pushname) Reset() {
|
||||
*x = Pushname{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1630,7 +1690,7 @@ func (x *Pushname) String() string {
|
||||
func (*Pushname) ProtoMessage() {}
|
||||
|
||||
func (x *Pushname) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1643,7 +1703,7 @@ func (x *Pushname) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Pushname.ProtoReflect.Descriptor instead.
|
||||
func (*Pushname) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{8}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *Pushname) GetID() string {
|
||||
@@ -1671,7 +1731,7 @@ type WallpaperSettings struct {
|
||||
|
||||
func (x *WallpaperSettings) Reset() {
|
||||
*x = WallpaperSettings{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1683,7 +1743,7 @@ func (x *WallpaperSettings) String() string {
|
||||
func (*WallpaperSettings) ProtoMessage() {}
|
||||
|
||||
func (x *WallpaperSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1696,7 +1756,7 @@ func (x *WallpaperSettings) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead.
|
||||
func (*WallpaperSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{9}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *WallpaperSettings) GetFilename() string {
|
||||
@@ -1748,7 +1808,7 @@ type GlobalSettings struct {
|
||||
|
||||
func (x *GlobalSettings) Reset() {
|
||||
*x = GlobalSettings{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1760,7 +1820,7 @@ func (x *GlobalSettings) String() string {
|
||||
func (*GlobalSettings) ProtoMessage() {}
|
||||
|
||||
func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1773,7 +1833,7 @@ func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead.
|
||||
func (*GlobalSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{10}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings {
|
||||
@@ -1928,7 +1988,7 @@ type AutoDownloadSettings struct {
|
||||
|
||||
func (x *AutoDownloadSettings) Reset() {
|
||||
*x = AutoDownloadSettings{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1940,7 +2000,7 @@ func (x *AutoDownloadSettings) String() string {
|
||||
func (*AutoDownloadSettings) ProtoMessage() {}
|
||||
|
||||
func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1953,7 +2013,7 @@ func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead.
|
||||
func (*AutoDownloadSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{11}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *AutoDownloadSettings) GetDownloadImages() bool {
|
||||
@@ -2006,7 +2066,7 @@ type StickerMetadata struct {
|
||||
|
||||
func (x *StickerMetadata) Reset() {
|
||||
*x = StickerMetadata{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2018,7 +2078,7 @@ func (x *StickerMetadata) String() string {
|
||||
func (*StickerMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *StickerMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2031,7 +2091,7 @@ func (x *StickerMetadata) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead.
|
||||
func (*StickerMetadata) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{12}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *StickerMetadata) GetURL() string {
|
||||
@@ -2142,7 +2202,7 @@ type PastParticipants struct {
|
||||
|
||||
func (x *PastParticipants) Reset() {
|
||||
*x = PastParticipants{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2154,7 +2214,7 @@ func (x *PastParticipants) String() string {
|
||||
func (*PastParticipants) ProtoMessage() {}
|
||||
|
||||
func (x *PastParticipants) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2167,7 +2227,7 @@ func (x *PastParticipants) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead.
|
||||
func (*PastParticipants) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{13}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *PastParticipants) GetGroupJID() string {
|
||||
@@ -2194,7 +2254,7 @@ type AvatarUserSettings struct {
|
||||
|
||||
func (x *AvatarUserSettings) Reset() {
|
||||
*x = AvatarUserSettings{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2206,7 +2266,7 @@ func (x *AvatarUserSettings) String() string {
|
||||
func (*AvatarUserSettings) ProtoMessage() {}
|
||||
|
||||
func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[14]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2219,7 +2279,7 @@ func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead.
|
||||
func (*AvatarUserSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{14}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *AvatarUserSettings) GetFBID() string {
|
||||
@@ -2250,7 +2310,7 @@ type NotificationSettings struct {
|
||||
|
||||
func (x *NotificationSettings) Reset() {
|
||||
*x = NotificationSettings{}
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[15]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2262,7 +2322,7 @@ func (x *NotificationSettings) String() string {
|
||||
func (*NotificationSettings) ProtoMessage() {}
|
||||
|
||||
func (x *NotificationSettings) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[15]
|
||||
mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2275,7 +2335,7 @@ func (x *NotificationSettings) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead.
|
||||
func (*NotificationSettings) Descriptor() ([]byte, []int) {
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{15}
|
||||
return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *NotificationSettings) GetMessageVibrate() string {
|
||||
@@ -2360,7 +2420,7 @@ const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
|
||||
"\x06RECENT\x10\x03\x12\r\n" +
|
||||
"\tPUSH_NAME\x10\x04\x12\x15\n" +
|
||||
"\x11NON_BLOCKING_DATA\x10\x05\x12\r\n" +
|
||||
"\tON_DEMAND\x10\x06\"\xb2\x19\n" +
|
||||
"\tON_DEMAND\x10\x06\"\x9c\x1a\n" +
|
||||
"\fConversation\x12\x0e\n" +
|
||||
"\x02ID\x18\x01 \x02(\tR\x02ID\x12E\n" +
|
||||
"\bmessages\x18\x02 \x03(\v2).WAWebProtobufsHistorySync.HistorySyncMsgR\bmessages\x12\x16\n" +
|
||||
@@ -2430,7 +2490,8 @@ const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
|
||||
"\fappealStatus\x18; \x01(\x0e29.WAWebProtobufsHistorySync.Conversation.GroupAppealStatusR\fappealStatus\x12*\n" +
|
||||
"\x10appealUpdateTime\x18< \x01(\x04R\x10appealUpdateTime\x12>\n" +
|
||||
"\x1aauthAgentParentCompanyName\x18= \x01(\tR\x1aauthAgentParentCompanyName\x128\n" +
|
||||
"\x17authAgentObaPhoneNumber\x18> \x01(\tR\x17authAgentObaPhoneNumber\"b\n" +
|
||||
"\x17authAgentObaPhoneNumber\x18> \x01(\tR\x17authAgentObaPhoneNumber\x12h\n" +
|
||||
"\x14identityVerification\x18? \x01(\v24.WAWebProtobufsHistorySync.IdentityVerificationStateR\x14identityVerification\"b\n" +
|
||||
"\x11GroupAppealStatus\x12\r\n" +
|
||||
"\tNO_APPEAL\x10\x00\x12\x14\n" +
|
||||
"\x10APPEAL_IN_REVIEW\x10\x01\x12\x13\n" +
|
||||
@@ -2456,7 +2517,10 @@ const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
|
||||
"\aleaveTS\x18\x03 \x01(\x04R\aleaveTS\"$\n" +
|
||||
"\vLeaveReason\x12\b\n" +
|
||||
"\x04LEFT\x10\x00\x12\v\n" +
|
||||
"\aREMOVED\x10\x01\"G\n" +
|
||||
"\aREMOVED\x10\x01\"U\n" +
|
||||
"\x19IdentityVerificationState\x12\x1a\n" +
|
||||
"\bverified\x18\x01 \x01(\bR\bverified\x12\x1c\n" +
|
||||
"\tactionSeq\x18\x02 \x01(\x04R\tactionSeq\"G\n" +
|
||||
"\x17PhoneNumberToLIDMapping\x12\x14\n" +
|
||||
"\x05pnJID\x18\x01 \x01(\tR\x05pnJID\x12\x16\n" +
|
||||
"\x06lidJID\x18\x02 \x01(\tR\x06lidJID\"\x93\x01\n" +
|
||||
@@ -2568,7 +2632,7 @@ func file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
|
||||
var file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
||||
var file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = []any{
|
||||
(MediaVisibility)(0), // 0: WAWebProtobufsHistorySync.MediaVisibility
|
||||
(PrivacySystemMessage)(0), // 1: WAWebProtobufsHistorySync.PrivacySystemMessage
|
||||
@@ -2582,67 +2646,69 @@ var file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = []any{
|
||||
(*Conversation)(nil), // 9: WAWebProtobufsHistorySync.Conversation
|
||||
(*GroupParticipant)(nil), // 10: WAWebProtobufsHistorySync.GroupParticipant
|
||||
(*PastParticipant)(nil), // 11: WAWebProtobufsHistorySync.PastParticipant
|
||||
(*PhoneNumberToLIDMapping)(nil), // 12: WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
|
||||
(*InlineContact)(nil), // 13: WAWebProtobufsHistorySync.InlineContact
|
||||
(*Account)(nil), // 14: WAWebProtobufsHistorySync.Account
|
||||
(*HistorySyncMsg)(nil), // 15: WAWebProtobufsHistorySync.HistorySyncMsg
|
||||
(*Pushname)(nil), // 16: WAWebProtobufsHistorySync.Pushname
|
||||
(*WallpaperSettings)(nil), // 17: WAWebProtobufsHistorySync.WallpaperSettings
|
||||
(*GlobalSettings)(nil), // 18: WAWebProtobufsHistorySync.GlobalSettings
|
||||
(*AutoDownloadSettings)(nil), // 19: WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
(*StickerMetadata)(nil), // 20: WAWebProtobufsHistorySync.StickerMetadata
|
||||
(*PastParticipants)(nil), // 21: WAWebProtobufsHistorySync.PastParticipants
|
||||
(*AvatarUserSettings)(nil), // 22: WAWebProtobufsHistorySync.AvatarUserSettings
|
||||
(*NotificationSettings)(nil), // 23: WAWebProtobufsHistorySync.NotificationSettings
|
||||
(*waWeb.WebMessageInfo)(nil), // 24: WAWebProtobufsWeb.WebMessageInfo
|
||||
(*waSyncAction.CallLogRecord)(nil), // 25: WAWebProtobufSyncAction.CallLogRecord
|
||||
(*waE2E.DisappearingMode)(nil), // 26: WAWebProtobufsE2E.DisappearingMode
|
||||
(waCommon.LimitSharing_Trigger)(0), // 27: WACommon.LimitSharing.Trigger
|
||||
(*waE2E.MemberLabel)(nil), // 28: WAWebProtobufsE2E.MemberLabel
|
||||
(*waChatLockSettings.ChatLockSettings)(nil), // 29: WAWebProtobufsChatLockSettings.ChatLockSettings
|
||||
(*IdentityVerificationState)(nil), // 12: WAWebProtobufsHistorySync.IdentityVerificationState
|
||||
(*PhoneNumberToLIDMapping)(nil), // 13: WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
|
||||
(*InlineContact)(nil), // 14: WAWebProtobufsHistorySync.InlineContact
|
||||
(*Account)(nil), // 15: WAWebProtobufsHistorySync.Account
|
||||
(*HistorySyncMsg)(nil), // 16: WAWebProtobufsHistorySync.HistorySyncMsg
|
||||
(*Pushname)(nil), // 17: WAWebProtobufsHistorySync.Pushname
|
||||
(*WallpaperSettings)(nil), // 18: WAWebProtobufsHistorySync.WallpaperSettings
|
||||
(*GlobalSettings)(nil), // 19: WAWebProtobufsHistorySync.GlobalSettings
|
||||
(*AutoDownloadSettings)(nil), // 20: WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
(*StickerMetadata)(nil), // 21: WAWebProtobufsHistorySync.StickerMetadata
|
||||
(*PastParticipants)(nil), // 22: WAWebProtobufsHistorySync.PastParticipants
|
||||
(*AvatarUserSettings)(nil), // 23: WAWebProtobufsHistorySync.AvatarUserSettings
|
||||
(*NotificationSettings)(nil), // 24: WAWebProtobufsHistorySync.NotificationSettings
|
||||
(*waWeb.WebMessageInfo)(nil), // 25: WAWebProtobufsWeb.WebMessageInfo
|
||||
(*waSyncAction.CallLogRecord)(nil), // 26: WAWebProtobufSyncAction.CallLogRecord
|
||||
(*waE2E.DisappearingMode)(nil), // 27: WAWebProtobufsE2E.DisappearingMode
|
||||
(waCommon.LimitSharing_Trigger)(0), // 28: WACommon.LimitSharing.Trigger
|
||||
(*waE2E.MemberLabel)(nil), // 29: WAWebProtobufsE2E.MemberLabel
|
||||
(*waChatLockSettings.ChatLockSettings)(nil), // 30: WAWebProtobufsChatLockSettings.ChatLockSettings
|
||||
}
|
||||
var file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = []int32{
|
||||
3, // 0: WAWebProtobufsHistorySync.HistorySync.syncType:type_name -> WAWebProtobufsHistorySync.HistorySync.HistorySyncType
|
||||
9, // 1: WAWebProtobufsHistorySync.HistorySync.conversations:type_name -> WAWebProtobufsHistorySync.Conversation
|
||||
24, // 2: WAWebProtobufsHistorySync.HistorySync.statusV3Messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
|
||||
16, // 3: WAWebProtobufsHistorySync.HistorySync.pushnames:type_name -> WAWebProtobufsHistorySync.Pushname
|
||||
18, // 4: WAWebProtobufsHistorySync.HistorySync.globalSettings:type_name -> WAWebProtobufsHistorySync.GlobalSettings
|
||||
20, // 5: WAWebProtobufsHistorySync.HistorySync.recentStickers:type_name -> WAWebProtobufsHistorySync.StickerMetadata
|
||||
21, // 6: WAWebProtobufsHistorySync.HistorySync.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipants
|
||||
25, // 7: WAWebProtobufsHistorySync.HistorySync.callLogRecords:type_name -> WAWebProtobufSyncAction.CallLogRecord
|
||||
25, // 2: WAWebProtobufsHistorySync.HistorySync.statusV3Messages:type_name -> WAWebProtobufsWeb.WebMessageInfo
|
||||
17, // 3: WAWebProtobufsHistorySync.HistorySync.pushnames:type_name -> WAWebProtobufsHistorySync.Pushname
|
||||
19, // 4: WAWebProtobufsHistorySync.HistorySync.globalSettings:type_name -> WAWebProtobufsHistorySync.GlobalSettings
|
||||
21, // 5: WAWebProtobufsHistorySync.HistorySync.recentStickers:type_name -> WAWebProtobufsHistorySync.StickerMetadata
|
||||
22, // 6: WAWebProtobufsHistorySync.HistorySync.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipants
|
||||
26, // 7: WAWebProtobufsHistorySync.HistorySync.callLogRecords:type_name -> WAWebProtobufSyncAction.CallLogRecord
|
||||
2, // 8: WAWebProtobufsHistorySync.HistorySync.aiWaitListState:type_name -> WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState
|
||||
12, // 9: WAWebProtobufsHistorySync.HistorySync.phoneNumberToLidMappings:type_name -> WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
|
||||
14, // 10: WAWebProtobufsHistorySync.HistorySync.accounts:type_name -> WAWebProtobufsHistorySync.Account
|
||||
13, // 11: WAWebProtobufsHistorySync.HistorySync.inlineContacts:type_name -> WAWebProtobufsHistorySync.InlineContact
|
||||
15, // 12: WAWebProtobufsHistorySync.Conversation.messages:type_name -> WAWebProtobufsHistorySync.HistorySyncMsg
|
||||
13, // 9: WAWebProtobufsHistorySync.HistorySync.phoneNumberToLidMappings:type_name -> WAWebProtobufsHistorySync.PhoneNumberToLIDMapping
|
||||
15, // 10: WAWebProtobufsHistorySync.HistorySync.accounts:type_name -> WAWebProtobufsHistorySync.Account
|
||||
14, // 11: WAWebProtobufsHistorySync.HistorySync.inlineContacts:type_name -> WAWebProtobufsHistorySync.InlineContact
|
||||
16, // 12: WAWebProtobufsHistorySync.Conversation.messages:type_name -> WAWebProtobufsHistorySync.HistorySyncMsg
|
||||
5, // 13: WAWebProtobufsHistorySync.Conversation.endOfHistoryTransferType:type_name -> WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType
|
||||
26, // 14: WAWebProtobufsHistorySync.Conversation.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode
|
||||
27, // 14: WAWebProtobufsHistorySync.Conversation.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode
|
||||
10, // 15: WAWebProtobufsHistorySync.Conversation.participant:type_name -> WAWebProtobufsHistorySync.GroupParticipant
|
||||
17, // 16: WAWebProtobufsHistorySync.Conversation.wallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
18, // 16: WAWebProtobufsHistorySync.Conversation.wallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
0, // 17: WAWebProtobufsHistorySync.Conversation.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
|
||||
1, // 18: WAWebProtobufsHistorySync.Conversation.systemMessageToInsert:type_name -> WAWebProtobufsHistorySync.PrivacySystemMessage
|
||||
27, // 19: WAWebProtobufsHistorySync.Conversation.limitSharingTrigger:type_name -> WACommon.LimitSharing.Trigger
|
||||
28, // 19: WAWebProtobufsHistorySync.Conversation.limitSharingTrigger:type_name -> WACommon.LimitSharing.Trigger
|
||||
4, // 20: WAWebProtobufsHistorySync.Conversation.appealStatus:type_name -> WAWebProtobufsHistorySync.Conversation.GroupAppealStatus
|
||||
6, // 21: WAWebProtobufsHistorySync.GroupParticipant.rank:type_name -> WAWebProtobufsHistorySync.GroupParticipant.Rank
|
||||
28, // 22: WAWebProtobufsHistorySync.GroupParticipant.memberLabel:type_name -> WAWebProtobufsE2E.MemberLabel
|
||||
7, // 23: WAWebProtobufsHistorySync.PastParticipant.leaveReason:type_name -> WAWebProtobufsHistorySync.PastParticipant.LeaveReason
|
||||
24, // 24: WAWebProtobufsHistorySync.HistorySyncMsg.message:type_name -> WAWebProtobufsWeb.WebMessageInfo
|
||||
17, // 25: WAWebProtobufsHistorySync.GlobalSettings.lightThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
0, // 26: WAWebProtobufsHistorySync.GlobalSettings.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
|
||||
17, // 27: WAWebProtobufsHistorySync.GlobalSettings.darkThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
19, // 28: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadWiFi:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
19, // 29: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadCellular:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
19, // 30: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadRoaming:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
22, // 31: WAWebProtobufsHistorySync.GlobalSettings.avatarUserSettings:type_name -> WAWebProtobufsHistorySync.AvatarUserSettings
|
||||
23, // 32: WAWebProtobufsHistorySync.GlobalSettings.individualNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
|
||||
23, // 33: WAWebProtobufsHistorySync.GlobalSettings.groupNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
|
||||
29, // 34: WAWebProtobufsHistorySync.GlobalSettings.chatLockSettings:type_name -> WAWebProtobufsChatLockSettings.ChatLockSettings
|
||||
11, // 35: WAWebProtobufsHistorySync.PastParticipants.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipant
|
||||
36, // [36:36] is the sub-list for method output_type
|
||||
36, // [36:36] is the sub-list for method input_type
|
||||
36, // [36:36] is the sub-list for extension type_name
|
||||
36, // [36:36] is the sub-list for extension extendee
|
||||
0, // [0:36] is the sub-list for field type_name
|
||||
12, // 21: WAWebProtobufsHistorySync.Conversation.identityVerification:type_name -> WAWebProtobufsHistorySync.IdentityVerificationState
|
||||
6, // 22: WAWebProtobufsHistorySync.GroupParticipant.rank:type_name -> WAWebProtobufsHistorySync.GroupParticipant.Rank
|
||||
29, // 23: WAWebProtobufsHistorySync.GroupParticipant.memberLabel:type_name -> WAWebProtobufsE2E.MemberLabel
|
||||
7, // 24: WAWebProtobufsHistorySync.PastParticipant.leaveReason:type_name -> WAWebProtobufsHistorySync.PastParticipant.LeaveReason
|
||||
25, // 25: WAWebProtobufsHistorySync.HistorySyncMsg.message:type_name -> WAWebProtobufsWeb.WebMessageInfo
|
||||
18, // 26: WAWebProtobufsHistorySync.GlobalSettings.lightThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
0, // 27: WAWebProtobufsHistorySync.GlobalSettings.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility
|
||||
18, // 28: WAWebProtobufsHistorySync.GlobalSettings.darkThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings
|
||||
20, // 29: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadWiFi:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
20, // 30: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadCellular:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
20, // 31: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadRoaming:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings
|
||||
23, // 32: WAWebProtobufsHistorySync.GlobalSettings.avatarUserSettings:type_name -> WAWebProtobufsHistorySync.AvatarUserSettings
|
||||
24, // 33: WAWebProtobufsHistorySync.GlobalSettings.individualNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
|
||||
24, // 34: WAWebProtobufsHistorySync.GlobalSettings.groupNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings
|
||||
30, // 35: WAWebProtobufsHistorySync.GlobalSettings.chatLockSettings:type_name -> WAWebProtobufsChatLockSettings.ChatLockSettings
|
||||
11, // 36: WAWebProtobufsHistorySync.PastParticipants.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipant
|
||||
37, // [37:37] is the sub-list for method output_type
|
||||
37, // [37:37] is the sub-list for method input_type
|
||||
37, // [37:37] is the sub-list for extension type_name
|
||||
37, // [37:37] is the sub-list for extension extendee
|
||||
0, // [0:37] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waHistorySync_WAWebProtobufsHistorySync_proto_init() }
|
||||
@@ -2656,7 +2722,7 @@ func file_waHistorySync_WAWebProtobufsHistorySync_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc), len(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc)),
|
||||
NumEnums: 8,
|
||||
NumMessages: 16,
|
||||
NumMessages: 17,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -135,6 +135,7 @@ message Conversation {
|
||||
optional uint64 appealUpdateTime = 60;
|
||||
optional string authAgentParentCompanyName = 61;
|
||||
optional string authAgentObaPhoneNumber = 62;
|
||||
optional IdentityVerificationState identityVerification = 63;
|
||||
}
|
||||
|
||||
message GroupParticipant {
|
||||
@@ -160,6 +161,11 @@ message PastParticipant {
|
||||
optional uint64 leaveTS = 3;
|
||||
}
|
||||
|
||||
message IdentityVerificationState {
|
||||
optional bool verified = 1;
|
||||
optional uint64 actionSeq = 2;
|
||||
}
|
||||
|
||||
message PhoneNumberToLIDMapping {
|
||||
optional string pnJID = 1;
|
||||
optional string lidJID = 2;
|
||||
|
||||
+304
-120
@@ -1,8 +1,8 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.10
|
||||
// protoc v3.21.12
|
||||
// source: waServerSync/WAServerSync.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.34.1
|
||||
// source: waServerSync/WAWebProtobufsServerSync.proto
|
||||
|
||||
package waServerSync
|
||||
|
||||
@@ -52,11 +52,11 @@ func (x SyncdMutation_SyncdOperation) String() string {
|
||||
}
|
||||
|
||||
func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor {
|
||||
return file_waServerSync_WAServerSync_proto_enumTypes[0].Descriptor()
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_enumTypes[0].Descriptor()
|
||||
}
|
||||
|
||||
func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType {
|
||||
return &file_waServerSync_WAServerSync_proto_enumTypes[0]
|
||||
return &file_waServerSync_WAWebProtobufsServerSync_proto_enumTypes[0]
|
||||
}
|
||||
|
||||
func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber {
|
||||
@@ -75,12 +75,12 @@ func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error {
|
||||
|
||||
// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead.
|
||||
func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0, 0}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{0, 0}
|
||||
}
|
||||
|
||||
type SyncdMutation struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
|
||||
Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=WAWebProtobufsServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
|
||||
Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -88,7 +88,7 @@ type SyncdMutation struct {
|
||||
|
||||
func (x *SyncdMutation) Reset() {
|
||||
*x = SyncdMutation{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[0]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -100,7 +100,7 @@ func (x *SyncdMutation) String() string {
|
||||
func (*SyncdMutation) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdMutation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[0]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -113,7 +113,7 @@ func (x *SyncdMutation) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdMutation) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation {
|
||||
@@ -139,7 +139,7 @@ type SyncdVersion struct {
|
||||
|
||||
func (x *SyncdVersion) Reset() {
|
||||
*x = SyncdVersion{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[1]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -151,7 +151,7 @@ func (x *SyncdVersion) String() string {
|
||||
func (*SyncdVersion) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdVersion) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[1]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -164,7 +164,7 @@ func (x *SyncdVersion) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdVersion) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{1}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SyncdVersion) GetVersion() uint64 {
|
||||
@@ -184,7 +184,7 @@ type ExitCode struct {
|
||||
|
||||
func (x *ExitCode) Reset() {
|
||||
*x = ExitCode{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[2]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -196,7 +196,7 @@ func (x *ExitCode) String() string {
|
||||
func (*ExitCode) ProtoMessage() {}
|
||||
|
||||
func (x *ExitCode) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[2]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -209,7 +209,7 @@ func (x *ExitCode) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ExitCode.ProtoReflect.Descriptor instead.
|
||||
func (*ExitCode) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{2}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ExitCode) GetCode() uint64 {
|
||||
@@ -235,7 +235,7 @@ type SyncdIndex struct {
|
||||
|
||||
func (x *SyncdIndex) Reset() {
|
||||
*x = SyncdIndex{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[3]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -247,7 +247,7 @@ func (x *SyncdIndex) String() string {
|
||||
func (*SyncdIndex) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdIndex) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[3]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -260,7 +260,7 @@ func (x *SyncdIndex) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdIndex) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{3}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *SyncdIndex) GetBlob() []byte {
|
||||
@@ -279,7 +279,7 @@ type SyncdValue struct {
|
||||
|
||||
func (x *SyncdValue) Reset() {
|
||||
*x = SyncdValue{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[4]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -291,7 +291,7 @@ func (x *SyncdValue) String() string {
|
||||
func (*SyncdValue) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdValue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[4]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -304,7 +304,7 @@ func (x *SyncdValue) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdValue) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{4}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SyncdValue) GetBlob() []byte {
|
||||
@@ -323,7 +323,7 @@ type KeyId struct {
|
||||
|
||||
func (x *KeyId) Reset() {
|
||||
*x = KeyId{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[5]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -335,7 +335,7 @@ func (x *KeyId) String() string {
|
||||
func (*KeyId) ProtoMessage() {}
|
||||
|
||||
func (x *KeyId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[5]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -348,7 +348,7 @@ func (x *KeyId) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use KeyId.ProtoReflect.Descriptor instead.
|
||||
func (*KeyId) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{5}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *KeyId) GetID() []byte {
|
||||
@@ -369,7 +369,7 @@ type SyncdRecord struct {
|
||||
|
||||
func (x *SyncdRecord) Reset() {
|
||||
*x = SyncdRecord{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[6]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -381,7 +381,7 @@ func (x *SyncdRecord) String() string {
|
||||
func (*SyncdRecord) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdRecord) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[6]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -394,7 +394,7 @@ func (x *SyncdRecord) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdRecord) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{6}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *SyncdRecord) GetIndex() *SyncdIndex {
|
||||
@@ -432,7 +432,7 @@ type ExternalBlobReference struct {
|
||||
|
||||
func (x *ExternalBlobReference) Reset() {
|
||||
*x = ExternalBlobReference{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[7]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -444,7 +444,7 @@ func (x *ExternalBlobReference) String() string {
|
||||
func (*ExternalBlobReference) ProtoMessage() {}
|
||||
|
||||
func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[7]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -457,7 +457,7 @@ func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead.
|
||||
func (*ExternalBlobReference) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{7}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ExternalBlobReference) GetMediaKey() []byte {
|
||||
@@ -514,7 +514,7 @@ type SyncdSnapshot struct {
|
||||
|
||||
func (x *SyncdSnapshot) Reset() {
|
||||
*x = SyncdSnapshot{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[8]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -526,7 +526,7 @@ func (x *SyncdSnapshot) String() string {
|
||||
func (*SyncdSnapshot) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[8]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -539,7 +539,7 @@ func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdSnapshot) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{8}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *SyncdSnapshot) GetVersion() *SyncdVersion {
|
||||
@@ -579,7 +579,7 @@ type SyncdMutations struct {
|
||||
|
||||
func (x *SyncdMutations) Reset() {
|
||||
*x = SyncdMutations{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[9]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -591,7 +591,7 @@ func (x *SyncdMutations) String() string {
|
||||
func (*SyncdMutations) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdMutations) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[9]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -604,7 +604,7 @@ func (x *SyncdMutations) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdMutations) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{9}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *SyncdMutations) GetMutations() []*SyncdMutation {
|
||||
@@ -631,7 +631,7 @@ type SyncdPatch struct {
|
||||
|
||||
func (x *SyncdPatch) Reset() {
|
||||
*x = SyncdPatch{}
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[10]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -643,7 +643,7 @@ func (x *SyncdPatch) String() string {
|
||||
func (*SyncdPatch) ProtoMessage() {}
|
||||
|
||||
func (x *SyncdPatch) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAServerSync_proto_msgTypes[10]
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -656,7 +656,7 @@ func (x *SyncdPatch) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead.
|
||||
func (*SyncdPatch) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{10}
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *SyncdPatch) GetVersion() *SyncdVersion {
|
||||
@@ -722,14 +722,178 @@ func (x *SyncdPatch) GetClientDebugData() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor
|
||||
type CoexStateSync struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
CollectionMutations []*CoexStateSync_CollectionMutations `protobuf:"bytes,1,rep,name=collectionMutations" json:"collectionMutations,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
const file_waServerSync_WAServerSync_proto_rawDesc = "" +
|
||||
func (x *CoexStateSync) Reset() {
|
||||
*x = CoexStateSync{}
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CoexStateSync) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CoexStateSync) ProtoMessage() {}
|
||||
|
||||
func (x *CoexStateSync) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CoexStateSync.ProtoReflect.Descriptor instead.
|
||||
func (*CoexStateSync) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *CoexStateSync) GetCollectionMutations() []*CoexStateSync_CollectionMutations {
|
||||
if x != nil {
|
||||
return x.CollectionMutations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CoexStateSync_CollectionMutations struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Collection *string `protobuf:"bytes,1,opt,name=collection" json:"collection,omitempty"`
|
||||
Mutations []*CoexStateSync_Mutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_CollectionMutations) Reset() {
|
||||
*x = CoexStateSync_CollectionMutations{}
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_CollectionMutations) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CoexStateSync_CollectionMutations) ProtoMessage() {}
|
||||
|
||||
func (x *CoexStateSync_CollectionMutations) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CoexStateSync_CollectionMutations.ProtoReflect.Descriptor instead.
|
||||
func (*CoexStateSync_CollectionMutations) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{11, 0}
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_CollectionMutations) GetCollection() string {
|
||||
if x != nil && x.Collection != nil {
|
||||
return *x.Collection
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_CollectionMutations) GetMutations() []*CoexStateSync_Mutation {
|
||||
if x != nil {
|
||||
return x.Mutations
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CoexStateSync_Mutation struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"`
|
||||
Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
DirtyVersion *uint64 `protobuf:"varint,3,opt,name=dirtyVersion" json:"dirtyVersion,omitempty"`
|
||||
Operation *SyncdMutation_SyncdOperation `protobuf:"varint,4,opt,name=operation,enum=WAWebProtobufsServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) Reset() {
|
||||
*x = CoexStateSync_Mutation{}
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CoexStateSync_Mutation) ProtoMessage() {}
|
||||
|
||||
func (x *CoexStateSync_Mutation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CoexStateSync_Mutation.ProtoReflect.Descriptor instead.
|
||||
func (*CoexStateSync_Mutation) Descriptor() ([]byte, []int) {
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP(), []int{11, 1}
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) GetIndex() *SyncdIndex {
|
||||
if x != nil {
|
||||
return x.Index
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) GetValue() *SyncdValue {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) GetDirtyVersion() uint64 {
|
||||
if x != nil && x.DirtyVersion != nil {
|
||||
return *x.DirtyVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CoexStateSync_Mutation) GetOperation() SyncdMutation_SyncdOperation {
|
||||
if x != nil && x.Operation != nil {
|
||||
return *x.Operation
|
||||
}
|
||||
return SyncdMutation_SET
|
||||
}
|
||||
|
||||
var File_waServerSync_WAWebProtobufsServerSync_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_waServerSync_WAWebProtobufsServerSync_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fwaServerSync/WAServerSync.proto\x12\fWAServerSync\"\xb3\x01\n" +
|
||||
"\rSyncdMutation\x12H\n" +
|
||||
"\toperation\x18\x01 \x01(\x0e2*.WAServerSync.SyncdMutation.SyncdOperationR\toperation\x121\n" +
|
||||
"\x06record\x18\x02 \x01(\v2\x19.WAServerSync.SyncdRecordR\x06record\"%\n" +
|
||||
"+waServerSync/WAWebProtobufsServerSync.proto\x12\x18WAWebProtobufsServerSync\"\xcb\x01\n" +
|
||||
"\rSyncdMutation\x12T\n" +
|
||||
"\toperation\x18\x01 \x01(\x0e26.WAWebProtobufsServerSync.SyncdMutation.SyncdOperationR\toperation\x12=\n" +
|
||||
"\x06record\x18\x02 \x01(\v2%.WAWebProtobufsServerSync.SyncdRecordR\x06record\"%\n" +
|
||||
"\x0eSyncdOperation\x12\a\n" +
|
||||
"\x03SET\x10\x00\x12\n" +
|
||||
"\n" +
|
||||
@@ -746,11 +910,11 @@ const file_waServerSync_WAServerSync_proto_rawDesc = "" +
|
||||
"SyncdValue\x12\x12\n" +
|
||||
"\x04blob\x18\x01 \x01(\fR\x04blob\"\x17\n" +
|
||||
"\x05KeyId\x12\x0e\n" +
|
||||
"\x02ID\x18\x01 \x01(\fR\x02ID\"\x98\x01\n" +
|
||||
"\vSyncdRecord\x12.\n" +
|
||||
"\x05index\x18\x01 \x01(\v2\x18.WAServerSync.SyncdIndexR\x05index\x12.\n" +
|
||||
"\x05value\x18\x02 \x01(\v2\x18.WAServerSync.SyncdValueR\x05value\x12)\n" +
|
||||
"\x05keyID\x18\x03 \x01(\v2\x13.WAServerSync.KeyIdR\x05keyID\"\xd7\x01\n" +
|
||||
"\x02ID\x18\x01 \x01(\fR\x02ID\"\xbc\x01\n" +
|
||||
"\vSyncdRecord\x12:\n" +
|
||||
"\x05index\x18\x01 \x01(\v2$.WAWebProtobufsServerSync.SyncdIndexR\x05index\x12:\n" +
|
||||
"\x05value\x18\x02 \x01(\v2$.WAWebProtobufsServerSync.SyncdValueR\x05value\x125\n" +
|
||||
"\x05keyID\x18\x03 \x01(\v2\x1f.WAWebProtobufsServerSync.KeyIdR\x05keyID\"\xd7\x01\n" +
|
||||
"\x15ExternalBlobReference\x12\x1a\n" +
|
||||
"\bmediaKey\x18\x01 \x01(\fR\bmediaKey\x12\x1e\n" +
|
||||
"\n" +
|
||||
@@ -761,97 +925,117 @@ const file_waServerSync_WAServerSync_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"fileSHA256\x18\x05 \x01(\fR\n" +
|
||||
"fileSHA256\x12$\n" +
|
||||
"\rfileEncSHA256\x18\x06 \x01(\fR\rfileEncSHA256\"\xb7\x01\n" +
|
||||
"\rSyncdSnapshot\x124\n" +
|
||||
"\aversion\x18\x01 \x01(\v2\x1a.WAServerSync.SyncdVersionR\aversion\x123\n" +
|
||||
"\arecords\x18\x02 \x03(\v2\x19.WAServerSync.SyncdRecordR\arecords\x12\x10\n" +
|
||||
"\x03mac\x18\x03 \x01(\fR\x03mac\x12)\n" +
|
||||
"\x05keyID\x18\x04 \x01(\v2\x13.WAServerSync.KeyIdR\x05keyID\"K\n" +
|
||||
"\x0eSyncdMutations\x129\n" +
|
||||
"\tmutations\x18\x01 \x03(\v2\x1b.WAServerSync.SyncdMutationR\tmutations\"\xb9\x03\n" +
|
||||
"\rfileEncSHA256\x18\x06 \x01(\fR\rfileEncSHA256\"\xdb\x01\n" +
|
||||
"\rSyncdSnapshot\x12@\n" +
|
||||
"\aversion\x18\x01 \x01(\v2&.WAWebProtobufsServerSync.SyncdVersionR\aversion\x12?\n" +
|
||||
"\arecords\x18\x02 \x03(\v2%.WAWebProtobufsServerSync.SyncdRecordR\arecords\x12\x10\n" +
|
||||
"\x03mac\x18\x03 \x01(\fR\x03mac\x125\n" +
|
||||
"\x05keyID\x18\x04 \x01(\v2\x1f.WAWebProtobufsServerSync.KeyIdR\x05keyID\"W\n" +
|
||||
"\x0eSyncdMutations\x12E\n" +
|
||||
"\tmutations\x18\x01 \x03(\v2'.WAWebProtobufsServerSync.SyncdMutationR\tmutations\"\xf5\x03\n" +
|
||||
"\n" +
|
||||
"SyncdPatch\x124\n" +
|
||||
"\aversion\x18\x01 \x01(\v2\x1a.WAServerSync.SyncdVersionR\aversion\x129\n" +
|
||||
"\tmutations\x18\x02 \x03(\v2\x1b.WAServerSync.SyncdMutationR\tmutations\x12Q\n" +
|
||||
"\x11externalMutations\x18\x03 \x01(\v2#.WAServerSync.ExternalBlobReferenceR\x11externalMutations\x12 \n" +
|
||||
"SyncdPatch\x12@\n" +
|
||||
"\aversion\x18\x01 \x01(\v2&.WAWebProtobufsServerSync.SyncdVersionR\aversion\x12E\n" +
|
||||
"\tmutations\x18\x02 \x03(\v2'.WAWebProtobufsServerSync.SyncdMutationR\tmutations\x12]\n" +
|
||||
"\x11externalMutations\x18\x03 \x01(\v2/.WAWebProtobufsServerSync.ExternalBlobReferenceR\x11externalMutations\x12 \n" +
|
||||
"\vsnapshotMAC\x18\x04 \x01(\fR\vsnapshotMAC\x12\x1a\n" +
|
||||
"\bpatchMAC\x18\x05 \x01(\fR\bpatchMAC\x12)\n" +
|
||||
"\x05keyID\x18\x06 \x01(\v2\x13.WAServerSync.KeyIdR\x05keyID\x122\n" +
|
||||
"\bexitCode\x18\a \x01(\v2\x16.WAServerSync.ExitCodeR\bexitCode\x12 \n" +
|
||||
"\bpatchMAC\x18\x05 \x01(\fR\bpatchMAC\x125\n" +
|
||||
"\x05keyID\x18\x06 \x01(\v2\x1f.WAWebProtobufsServerSync.KeyIdR\x05keyID\x12>\n" +
|
||||
"\bexitCode\x18\a \x01(\v2\".WAWebProtobufsServerSync.ExitCodeR\bexitCode\x12 \n" +
|
||||
"\vdeviceIndex\x18\b \x01(\rR\vdeviceIndex\x12(\n" +
|
||||
"\x0fclientDebugData\x18\t \x01(\fR\x0fclientDebugDataB(Z&go.mau.fi/whatsmeow/proto/waServerSync"
|
||||
"\x0fclientDebugData\x18\t \x01(\fR\x0fclientDebugData\"\x85\x04\n" +
|
||||
"\rCoexStateSync\x12m\n" +
|
||||
"\x13collectionMutations\x18\x01 \x03(\v2;.WAWebProtobufsServerSync.CoexStateSync.CollectionMutationsR\x13collectionMutations\x1a\x85\x01\n" +
|
||||
"\x13CollectionMutations\x12\x1e\n" +
|
||||
"\n" +
|
||||
"collection\x18\x01 \x01(\tR\n" +
|
||||
"collection\x12N\n" +
|
||||
"\tmutations\x18\x02 \x03(\v20.WAWebProtobufsServerSync.CoexStateSync.MutationR\tmutations\x1a\xfc\x01\n" +
|
||||
"\bMutation\x12:\n" +
|
||||
"\x05index\x18\x01 \x01(\v2$.WAWebProtobufsServerSync.SyncdIndexR\x05index\x12:\n" +
|
||||
"\x05value\x18\x02 \x01(\v2$.WAWebProtobufsServerSync.SyncdValueR\x05value\x12\"\n" +
|
||||
"\fdirtyVersion\x18\x03 \x01(\x04R\fdirtyVersion\x12T\n" +
|
||||
"\toperation\x18\x04 \x01(\x0e26.WAWebProtobufsServerSync.SyncdMutation.SyncdOperationR\toperationB(Z&go.mau.fi/whatsmeow/proto/waServerSync"
|
||||
|
||||
var (
|
||||
file_waServerSync_WAServerSync_proto_rawDescOnce sync.Once
|
||||
file_waServerSync_WAServerSync_proto_rawDescData []byte
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_rawDescOnce sync.Once
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_waServerSync_WAServerSync_proto_rawDescGZIP() []byte {
|
||||
file_waServerSync_WAServerSync_proto_rawDescOnce.Do(func() {
|
||||
file_waServerSync_WAServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waServerSync_WAServerSync_proto_rawDesc), len(file_waServerSync_WAServerSync_proto_rawDesc)))
|
||||
func file_waServerSync_WAWebProtobufsServerSync_proto_rawDescGZIP() []byte {
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_rawDescOnce.Do(func() {
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waServerSync_WAWebProtobufsServerSync_proto_rawDesc), len(file_waServerSync_WAWebProtobufsServerSync_proto_rawDesc)))
|
||||
})
|
||||
return file_waServerSync_WAServerSync_proto_rawDescData
|
||||
return file_waServerSync_WAWebProtobufsServerSync_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waServerSync_WAServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waServerSync_WAServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_waServerSync_WAServerSync_proto_goTypes = []any{
|
||||
(SyncdMutation_SyncdOperation)(0), // 0: WAServerSync.SyncdMutation.SyncdOperation
|
||||
(*SyncdMutation)(nil), // 1: WAServerSync.SyncdMutation
|
||||
(*SyncdVersion)(nil), // 2: WAServerSync.SyncdVersion
|
||||
(*ExitCode)(nil), // 3: WAServerSync.ExitCode
|
||||
(*SyncdIndex)(nil), // 4: WAServerSync.SyncdIndex
|
||||
(*SyncdValue)(nil), // 5: WAServerSync.SyncdValue
|
||||
(*KeyId)(nil), // 6: WAServerSync.KeyId
|
||||
(*SyncdRecord)(nil), // 7: WAServerSync.SyncdRecord
|
||||
(*ExternalBlobReference)(nil), // 8: WAServerSync.ExternalBlobReference
|
||||
(*SyncdSnapshot)(nil), // 9: WAServerSync.SyncdSnapshot
|
||||
(*SyncdMutations)(nil), // 10: WAServerSync.SyncdMutations
|
||||
(*SyncdPatch)(nil), // 11: WAServerSync.SyncdPatch
|
||||
var file_waServerSync_WAWebProtobufsServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_waServerSync_WAWebProtobufsServerSync_proto_goTypes = []any{
|
||||
(SyncdMutation_SyncdOperation)(0), // 0: WAWebProtobufsServerSync.SyncdMutation.SyncdOperation
|
||||
(*SyncdMutation)(nil), // 1: WAWebProtobufsServerSync.SyncdMutation
|
||||
(*SyncdVersion)(nil), // 2: WAWebProtobufsServerSync.SyncdVersion
|
||||
(*ExitCode)(nil), // 3: WAWebProtobufsServerSync.ExitCode
|
||||
(*SyncdIndex)(nil), // 4: WAWebProtobufsServerSync.SyncdIndex
|
||||
(*SyncdValue)(nil), // 5: WAWebProtobufsServerSync.SyncdValue
|
||||
(*KeyId)(nil), // 6: WAWebProtobufsServerSync.KeyId
|
||||
(*SyncdRecord)(nil), // 7: WAWebProtobufsServerSync.SyncdRecord
|
||||
(*ExternalBlobReference)(nil), // 8: WAWebProtobufsServerSync.ExternalBlobReference
|
||||
(*SyncdSnapshot)(nil), // 9: WAWebProtobufsServerSync.SyncdSnapshot
|
||||
(*SyncdMutations)(nil), // 10: WAWebProtobufsServerSync.SyncdMutations
|
||||
(*SyncdPatch)(nil), // 11: WAWebProtobufsServerSync.SyncdPatch
|
||||
(*CoexStateSync)(nil), // 12: WAWebProtobufsServerSync.CoexStateSync
|
||||
(*CoexStateSync_CollectionMutations)(nil), // 13: WAWebProtobufsServerSync.CoexStateSync.CollectionMutations
|
||||
(*CoexStateSync_Mutation)(nil), // 14: WAWebProtobufsServerSync.CoexStateSync.Mutation
|
||||
}
|
||||
var file_waServerSync_WAServerSync_proto_depIdxs = []int32{
|
||||
0, // 0: WAServerSync.SyncdMutation.operation:type_name -> WAServerSync.SyncdMutation.SyncdOperation
|
||||
7, // 1: WAServerSync.SyncdMutation.record:type_name -> WAServerSync.SyncdRecord
|
||||
4, // 2: WAServerSync.SyncdRecord.index:type_name -> WAServerSync.SyncdIndex
|
||||
5, // 3: WAServerSync.SyncdRecord.value:type_name -> WAServerSync.SyncdValue
|
||||
6, // 4: WAServerSync.SyncdRecord.keyID:type_name -> WAServerSync.KeyId
|
||||
2, // 5: WAServerSync.SyncdSnapshot.version:type_name -> WAServerSync.SyncdVersion
|
||||
7, // 6: WAServerSync.SyncdSnapshot.records:type_name -> WAServerSync.SyncdRecord
|
||||
6, // 7: WAServerSync.SyncdSnapshot.keyID:type_name -> WAServerSync.KeyId
|
||||
1, // 8: WAServerSync.SyncdMutations.mutations:type_name -> WAServerSync.SyncdMutation
|
||||
2, // 9: WAServerSync.SyncdPatch.version:type_name -> WAServerSync.SyncdVersion
|
||||
1, // 10: WAServerSync.SyncdPatch.mutations:type_name -> WAServerSync.SyncdMutation
|
||||
8, // 11: WAServerSync.SyncdPatch.externalMutations:type_name -> WAServerSync.ExternalBlobReference
|
||||
6, // 12: WAServerSync.SyncdPatch.keyID:type_name -> WAServerSync.KeyId
|
||||
3, // 13: WAServerSync.SyncdPatch.exitCode:type_name -> WAServerSync.ExitCode
|
||||
14, // [14:14] is the sub-list for method output_type
|
||||
14, // [14:14] is the sub-list for method input_type
|
||||
14, // [14:14] is the sub-list for extension type_name
|
||||
14, // [14:14] is the sub-list for extension extendee
|
||||
0, // [0:14] is the sub-list for field type_name
|
||||
var file_waServerSync_WAWebProtobufsServerSync_proto_depIdxs = []int32{
|
||||
0, // 0: WAWebProtobufsServerSync.SyncdMutation.operation:type_name -> WAWebProtobufsServerSync.SyncdMutation.SyncdOperation
|
||||
7, // 1: WAWebProtobufsServerSync.SyncdMutation.record:type_name -> WAWebProtobufsServerSync.SyncdRecord
|
||||
4, // 2: WAWebProtobufsServerSync.SyncdRecord.index:type_name -> WAWebProtobufsServerSync.SyncdIndex
|
||||
5, // 3: WAWebProtobufsServerSync.SyncdRecord.value:type_name -> WAWebProtobufsServerSync.SyncdValue
|
||||
6, // 4: WAWebProtobufsServerSync.SyncdRecord.keyID:type_name -> WAWebProtobufsServerSync.KeyId
|
||||
2, // 5: WAWebProtobufsServerSync.SyncdSnapshot.version:type_name -> WAWebProtobufsServerSync.SyncdVersion
|
||||
7, // 6: WAWebProtobufsServerSync.SyncdSnapshot.records:type_name -> WAWebProtobufsServerSync.SyncdRecord
|
||||
6, // 7: WAWebProtobufsServerSync.SyncdSnapshot.keyID:type_name -> WAWebProtobufsServerSync.KeyId
|
||||
1, // 8: WAWebProtobufsServerSync.SyncdMutations.mutations:type_name -> WAWebProtobufsServerSync.SyncdMutation
|
||||
2, // 9: WAWebProtobufsServerSync.SyncdPatch.version:type_name -> WAWebProtobufsServerSync.SyncdVersion
|
||||
1, // 10: WAWebProtobufsServerSync.SyncdPatch.mutations:type_name -> WAWebProtobufsServerSync.SyncdMutation
|
||||
8, // 11: WAWebProtobufsServerSync.SyncdPatch.externalMutations:type_name -> WAWebProtobufsServerSync.ExternalBlobReference
|
||||
6, // 12: WAWebProtobufsServerSync.SyncdPatch.keyID:type_name -> WAWebProtobufsServerSync.KeyId
|
||||
3, // 13: WAWebProtobufsServerSync.SyncdPatch.exitCode:type_name -> WAWebProtobufsServerSync.ExitCode
|
||||
13, // 14: WAWebProtobufsServerSync.CoexStateSync.collectionMutations:type_name -> WAWebProtobufsServerSync.CoexStateSync.CollectionMutations
|
||||
14, // 15: WAWebProtobufsServerSync.CoexStateSync.CollectionMutations.mutations:type_name -> WAWebProtobufsServerSync.CoexStateSync.Mutation
|
||||
4, // 16: WAWebProtobufsServerSync.CoexStateSync.Mutation.index:type_name -> WAWebProtobufsServerSync.SyncdIndex
|
||||
5, // 17: WAWebProtobufsServerSync.CoexStateSync.Mutation.value:type_name -> WAWebProtobufsServerSync.SyncdValue
|
||||
0, // 18: WAWebProtobufsServerSync.CoexStateSync.Mutation.operation:type_name -> WAWebProtobufsServerSync.SyncdMutation.SyncdOperation
|
||||
19, // [19:19] is the sub-list for method output_type
|
||||
19, // [19:19] is the sub-list for method input_type
|
||||
19, // [19:19] is the sub-list for extension type_name
|
||||
19, // [19:19] is the sub-list for extension extendee
|
||||
0, // [0:19] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waServerSync_WAServerSync_proto_init() }
|
||||
func file_waServerSync_WAServerSync_proto_init() {
|
||||
if File_waServerSync_WAServerSync_proto != nil {
|
||||
func init() { file_waServerSync_WAWebProtobufsServerSync_proto_init() }
|
||||
func file_waServerSync_WAWebProtobufsServerSync_proto_init() {
|
||||
if File_waServerSync_WAWebProtobufsServerSync_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waServerSync_WAServerSync_proto_rawDesc), len(file_waServerSync_WAServerSync_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waServerSync_WAWebProtobufsServerSync_proto_rawDesc), len(file_waServerSync_WAWebProtobufsServerSync_proto_rawDesc)),
|
||||
NumEnums: 1,
|
||||
NumMessages: 11,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_waServerSync_WAServerSync_proto_goTypes,
|
||||
DependencyIndexes: file_waServerSync_WAServerSync_proto_depIdxs,
|
||||
EnumInfos: file_waServerSync_WAServerSync_proto_enumTypes,
|
||||
MessageInfos: file_waServerSync_WAServerSync_proto_msgTypes,
|
||||
GoTypes: file_waServerSync_WAWebProtobufsServerSync_proto_goTypes,
|
||||
DependencyIndexes: file_waServerSync_WAWebProtobufsServerSync_proto_depIdxs,
|
||||
EnumInfos: file_waServerSync_WAWebProtobufsServerSync_proto_enumTypes,
|
||||
MessageInfos: file_waServerSync_WAWebProtobufsServerSync_proto_msgTypes,
|
||||
}.Build()
|
||||
File_waServerSync_WAServerSync_proto = out.File
|
||||
file_waServerSync_WAServerSync_proto_goTypes = nil
|
||||
file_waServerSync_WAServerSync_proto_depIdxs = nil
|
||||
File_waServerSync_WAWebProtobufsServerSync_proto = out.File
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_goTypes = nil
|
||||
file_waServerSync_WAWebProtobufsServerSync_proto_depIdxs = nil
|
||||
}
|
||||
+17
-1
@@ -1,5 +1,5 @@
|
||||
syntax = "proto2";
|
||||
package WAServerSync;
|
||||
package WAWebProtobufsServerSync;
|
||||
option go_package = "go.mau.fi/whatsmeow/proto/waServerSync";
|
||||
|
||||
message SyncdMutation {
|
||||
@@ -70,3 +70,19 @@ message SyncdPatch {
|
||||
optional uint32 deviceIndex = 8;
|
||||
optional bytes clientDebugData = 9;
|
||||
}
|
||||
|
||||
message CoexStateSync {
|
||||
message CollectionMutations {
|
||||
optional string collection = 1;
|
||||
repeated Mutation mutations = 2;
|
||||
}
|
||||
|
||||
message Mutation {
|
||||
optional SyncdIndex index = 1;
|
||||
optional SyncdValue value = 2;
|
||||
optional uint64 dirtyVersion = 3;
|
||||
optional SyncdMutation.SyncdOperation operation = 4;
|
||||
}
|
||||
|
||||
repeated CollectionMutations collectionMutations = 1;
|
||||
}
|
||||
+363
-293
File diff suppressed because it is too large
Load Diff
@@ -99,6 +99,7 @@ enum MutationProps {
|
||||
BIZ_AI_SETTINGS_NUDGE_ACTION = 87;
|
||||
COEX_V2_VERSION_ACTION = 88;
|
||||
WASA_ROOT_SECRET_ACTION = 89;
|
||||
BUBBLE_LOCK_MESSAGE_ACTION = 90;
|
||||
SHARE_OWN_PN = 10001;
|
||||
BUSINESS_BROADCAST_ACTION = 10002;
|
||||
AI_THREAD_DELETE_ACTION = 10003;
|
||||
@@ -566,6 +567,7 @@ enum MutationName {
|
||||
BIZ_AI_SETTINGS_NUDGE_ACTION = biz_ai_settings_nudge;
|
||||
COEX_V2_VERSION_ACTION = coexV2Version;
|
||||
WASA_ROOT_SECRET_ACTION = wasa_root_secret;
|
||||
BUBBLE_LOCK_MESSAGE_ACTION = lock_message;
|
||||
SHARE_OWN_PN = shareOwnPn;
|
||||
BUSINESS_BROADCAST_ACTION = broadcast;
|
||||
AI_THREAD_DELETE_ACTION = ai_thread_delete;
|
||||
@@ -673,6 +675,7 @@ message SyncActionValue {
|
||||
optional BizAISettingsNudgeAction bizAiSettingsNudgeAction = 87;
|
||||
optional CoexV2VersionAction coexV2VersionAction = 88;
|
||||
optional WASARootSecretAction wasaRootSecretAction = 89;
|
||||
optional BubbleLockMessageAction bubbleLockMessageAction = 90;
|
||||
}
|
||||
|
||||
message WASARootSecretAction {
|
||||
@@ -777,6 +780,7 @@ message BusinessBroadcastListAction {
|
||||
optional string listName = 3;
|
||||
repeated string labelIDs = 4;
|
||||
optional string audienceExpression = 5;
|
||||
optional string customAudienceFbid = 6;
|
||||
}
|
||||
|
||||
message BusinessBroadcastAssociationAction {
|
||||
@@ -818,6 +822,10 @@ message WamoUserIdentifierAction {
|
||||
optional string identifier = 1;
|
||||
}
|
||||
|
||||
message BubbleLockMessageAction {
|
||||
optional bool locked = 1;
|
||||
}
|
||||
|
||||
message LockChatAction {
|
||||
optional bool locked = 1;
|
||||
}
|
||||
|
||||
Generated
+34
-9
@@ -316,6 +316,10 @@ const (
|
||||
WebMessageInfo_GROUP_TEE_BOT_ADDED WebMessageInfo_StubType = 223
|
||||
WebMessageInfo_CONTACT_INFO WebMessageInfo_StubType = 224
|
||||
WebMessageInfo_SCHEDULED_MESSAGE_CREATED WebMessageInfo_StubType = 225
|
||||
WebMessageInfo_IDENTITY_TRUST_MARKED WebMessageInfo_StubType = 226
|
||||
WebMessageInfo_IDENTITY_TRUST_UNMARKED WebMessageInfo_StubType = 227
|
||||
WebMessageInfo_IDENTITY_TRUST_REVOKED WebMessageInfo_StubType = 228
|
||||
WebMessageInfo_CTWA_CONSUMER_DISCLOSURE WebMessageInfo_StubType = 230
|
||||
)
|
||||
|
||||
// Enum value maps for WebMessageInfo_StubType.
|
||||
@@ -547,6 +551,10 @@ var (
|
||||
223: "GROUP_TEE_BOT_ADDED",
|
||||
224: "CONTACT_INFO",
|
||||
225: "SCHEDULED_MESSAGE_CREATED",
|
||||
226: "IDENTITY_TRUST_MARKED",
|
||||
227: "IDENTITY_TRUST_UNMARKED",
|
||||
228: "IDENTITY_TRUST_REVOKED",
|
||||
230: "CTWA_CONSUMER_DISCLOSURE",
|
||||
}
|
||||
WebMessageInfo_StubType_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
@@ -775,6 +783,10 @@ var (
|
||||
"GROUP_TEE_BOT_ADDED": 223,
|
||||
"CONTACT_INFO": 224,
|
||||
"SCHEDULED_MESSAGE_CREATED": 225,
|
||||
"IDENTITY_TRUST_MARKED": 226,
|
||||
"IDENTITY_TRUST_UNMARKED": 227,
|
||||
"IDENTITY_TRUST_REVOKED": 228,
|
||||
"CTWA_CONSUMER_DISCLOSURE": 230,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -2990,10 +3002,11 @@ func (x *NotificationMessageInfo) GetParticipant() string {
|
||||
}
|
||||
|
||||
type ReportingTokenInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ReportingTag []byte `protobuf:"bytes,1,opt,name=reportingTag" json:"reportingTag,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ReportingTag []byte `protobuf:"bytes,1,opt,name=reportingTag" json:"reportingTag,omitempty"`
|
||||
ReportingTagTimestamp *uint64 `protobuf:"varint,2,opt,name=reportingTagTimestamp" json:"reportingTagTimestamp,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ReportingTokenInfo) Reset() {
|
||||
@@ -3033,6 +3046,13 @@ func (x *ReportingTokenInfo) GetReportingTag() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ReportingTokenInfo) GetReportingTagTimestamp() uint64 {
|
||||
if x != nil && x.ReportingTagTimestamp != nil {
|
||||
return *x.ReportingTagTimestamp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type MediaData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
LocalPath *string `protobuf:"bytes,1,opt,name=localPath" json:"localPath,omitempty"`
|
||||
@@ -4205,7 +4225,7 @@ var File_waWeb_WAWebProtobufsWeb_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_waWeb_WAWebProtobufsWeb_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dwaWeb/WAWebProtobufsWeb.proto\x12\x11WAWebProtobufsWeb\x1a\x1dwaE2E/WAWebProtobufsE2E.proto\x1a\x17waCommon/WACommon.proto\"\xac^\n" +
|
||||
"\x1dwaWeb/WAWebProtobufsWeb.proto\x12\x11WAWebProtobufsWeb\x1a\x1dwaE2E/WAWebProtobufsE2E.proto\x1a\x17waCommon/WACommon.proto\"\xa2_\n" +
|
||||
"\x0eWebMessageInfo\x12&\n" +
|
||||
"\x03key\x18\x01 \x02(\v2\x14.WACommon.MessageKeyR\x03key\x124\n" +
|
||||
"\amessage\x18\x02 \x01(\v2\x1a.WAWebProtobufsE2E.MessageR\amessage\x12*\n" +
|
||||
@@ -4290,7 +4310,7 @@ const file_waWeb_WAWebProtobufsWeb_proto_rawDesc = "" +
|
||||
"\x02FB\x10\x02\x12\a\n" +
|
||||
"\x03BSP\x10\x01\x12\x0e\n" +
|
||||
"\n" +
|
||||
"BSP_AND_FB\x10\x03\"\x83<\n" +
|
||||
"BSP_AND_FB\x10\x03\"\xf9<\n" +
|
||||
"\bStubType\x12\v\n" +
|
||||
"\aUNKNOWN\x10\x00\x12\n" +
|
||||
"\n" +
|
||||
@@ -4521,7 +4541,11 @@ const file_waWeb_WAWebProtobufsWeb_proto_rawDesc = "" +
|
||||
"\x14GROUP_OPEN_BOT_ADDED\x10\xde\x01\x12\x18\n" +
|
||||
"\x13GROUP_TEE_BOT_ADDED\x10\xdf\x01\x12\x11\n" +
|
||||
"\fCONTACT_INFO\x10\xe0\x01\x12\x1e\n" +
|
||||
"\x19SCHEDULED_MESSAGE_CREATED\x10\xe1\x01\"X\n" +
|
||||
"\x19SCHEDULED_MESSAGE_CREATED\x10\xe1\x01\x12\x1a\n" +
|
||||
"\x15IDENTITY_TRUST_MARKED\x10\xe2\x01\x12\x1c\n" +
|
||||
"\x17IDENTITY_TRUST_UNMARKED\x10\xe3\x01\x12\x1b\n" +
|
||||
"\x16IDENTITY_TRUST_REVOKED\x10\xe4\x01\x12\x1d\n" +
|
||||
"\x18CTWA_CONSUMER_DISCLOSURE\x10\xe6\x01\"X\n" +
|
||||
"\x06Status\x12\t\n" +
|
||||
"\x05ERROR\x10\x00\x12\v\n" +
|
||||
"\aPENDING\x10\x01\x12\x0e\n" +
|
||||
@@ -4709,9 +4733,10 @@ const file_waWeb_WAWebProtobufsWeb_proto_rawDesc = "" +
|
||||
"\x03key\x18\x01 \x01(\v2\x14.WACommon.MessageKeyR\x03key\x124\n" +
|
||||
"\amessage\x18\x02 \x01(\v2\x1a.WAWebProtobufsE2E.MessageR\amessage\x12*\n" +
|
||||
"\x10messageTimestamp\x18\x03 \x01(\x04R\x10messageTimestamp\x12 \n" +
|
||||
"\vparticipant\x18\x04 \x01(\tR\vparticipant\"8\n" +
|
||||
"\vparticipant\x18\x04 \x01(\tR\vparticipant\"n\n" +
|
||||
"\x12ReportingTokenInfo\x12\"\n" +
|
||||
"\freportingTag\x18\x01 \x01(\fR\freportingTag\")\n" +
|
||||
"\freportingTag\x18\x01 \x01(\fR\freportingTag\x124\n" +
|
||||
"\x15reportingTagTimestamp\x18\x02 \x01(\x04R\x15reportingTagTimestamp\")\n" +
|
||||
"\tMediaData\x12\x1c\n" +
|
||||
"\tlocalPath\x18\x01 \x01(\tR\tlocalPath\"e\n" +
|
||||
"\vPhotoChange\x12\x1a\n" +
|
||||
|
||||
@@ -240,6 +240,10 @@ message WebMessageInfo {
|
||||
GROUP_TEE_BOT_ADDED = 223;
|
||||
CONTACT_INFO = 224;
|
||||
SCHEDULED_MESSAGE_CREATED = 225;
|
||||
IDENTITY_TRUST_MARKED = 226;
|
||||
IDENTITY_TRUST_UNMARKED = 227;
|
||||
IDENTITY_TRUST_REVOKED = 228;
|
||||
CTWA_CONSUMER_DISCLOSURE = 230;
|
||||
}
|
||||
|
||||
enum Status {
|
||||
@@ -519,6 +523,7 @@ message NotificationMessageInfo {
|
||||
|
||||
message ReportingTokenInfo {
|
||||
optional bytes reportingTag = 1;
|
||||
optional uint64 reportingTagTimestamp = 2;
|
||||
}
|
||||
|
||||
message MediaData {
|
||||
|
||||
+178
-47
@@ -274,6 +274,58 @@ func (x *DecryptMessageInput) GetCiphertext() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type OrfThreadIdInput struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OrfClientState []byte `protobuf:"bytes,1,req,name=orfClientState" json:"orfClientState,omitempty"`
|
||||
ThreadID *string `protobuf:"bytes,2,req,name=threadID" json:"threadID,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdInput) Reset() {
|
||||
*x = OrfThreadIdInput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdInput) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OrfThreadIdInput) ProtoMessage() {}
|
||||
|
||||
func (x *OrfThreadIdInput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use OrfThreadIdInput.ProtoReflect.Descriptor instead.
|
||||
func (*OrfThreadIdInput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdInput) GetOrfClientState() []byte {
|
||||
if x != nil {
|
||||
return x.OrfClientState
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdInput) GetThreadID() string {
|
||||
if x != nil && x.ThreadID != nil {
|
||||
return *x.ThreadID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type DeviceOutput struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PublicKey []byte `protobuf:"bytes,1,req,name=publicKey" json:"publicKey,omitempty"`
|
||||
@@ -291,7 +343,7 @@ type DeviceOutput struct {
|
||||
|
||||
func (x *DeviceOutput) Reset() {
|
||||
*x = DeviceOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[3]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -303,7 +355,7 @@ func (x *DeviceOutput) String() string {
|
||||
func (*DeviceOutput) ProtoMessage() {}
|
||||
|
||||
func (x *DeviceOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[3]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -316,7 +368,7 @@ func (x *DeviceOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeviceOutput.ProtoReflect.Descriptor instead.
|
||||
func (*DeviceOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{3}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *DeviceOutput) GetPublicKey() []byte {
|
||||
@@ -398,7 +450,7 @@ type EncryptedSecretValuesOutput struct {
|
||||
|
||||
func (x *EncryptedSecretValuesOutput) Reset() {
|
||||
*x = EncryptedSecretValuesOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[4]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -410,7 +462,7 @@ func (x *EncryptedSecretValuesOutput) String() string {
|
||||
func (*EncryptedSecretValuesOutput) ProtoMessage() {}
|
||||
|
||||
func (x *EncryptedSecretValuesOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[4]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -423,7 +475,7 @@ func (x *EncryptedSecretValuesOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use EncryptedSecretValuesOutput.ProtoReflect.Descriptor instead.
|
||||
func (*EncryptedSecretValuesOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{4}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *EncryptedSecretValuesOutput) GetEncryptedDevicePrivateKey() []byte {
|
||||
@@ -497,7 +549,7 @@ type VirtualDeviceOutput struct {
|
||||
|
||||
func (x *VirtualDeviceOutput) Reset() {
|
||||
*x = VirtualDeviceOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[5]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -509,7 +561,7 @@ func (x *VirtualDeviceOutput) String() string {
|
||||
func (*VirtualDeviceOutput) ProtoMessage() {}
|
||||
|
||||
func (x *VirtualDeviceOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[5]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -522,7 +574,7 @@ func (x *VirtualDeviceOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use VirtualDeviceOutput.ProtoReflect.Descriptor instead.
|
||||
func (*VirtualDeviceOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{5}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *VirtualDeviceOutput) GetVdID() []byte {
|
||||
@@ -589,7 +641,7 @@ type Epoch0Output struct {
|
||||
|
||||
func (x *Epoch0Output) Reset() {
|
||||
*x = Epoch0Output{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[6]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -601,7 +653,7 @@ func (x *Epoch0Output) String() string {
|
||||
func (*Epoch0Output) ProtoMessage() {}
|
||||
|
||||
func (x *Epoch0Output) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[6]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -614,7 +666,7 @@ func (x *Epoch0Output) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Epoch0Output.ProtoReflect.Descriptor instead.
|
||||
func (*Epoch0Output) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{6}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *Epoch0Output) GetEpochFbid() uint64 {
|
||||
@@ -679,7 +731,7 @@ type CreateBackupOutput struct {
|
||||
|
||||
func (x *CreateBackupOutput) Reset() {
|
||||
*x = CreateBackupOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[7]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -691,7 +743,7 @@ func (x *CreateBackupOutput) String() string {
|
||||
func (*CreateBackupOutput) ProtoMessage() {}
|
||||
|
||||
func (x *CreateBackupOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[7]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -704,7 +756,7 @@ func (x *CreateBackupOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateBackupOutput.ProtoReflect.Descriptor instead.
|
||||
func (*CreateBackupOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{7}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *CreateBackupOutput) GetDevice() *DeviceOutput {
|
||||
@@ -757,7 +809,7 @@ type EncryptMessageOutput struct {
|
||||
|
||||
func (x *EncryptMessageOutput) Reset() {
|
||||
*x = EncryptMessageOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[8]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -769,7 +821,7 @@ func (x *EncryptMessageOutput) String() string {
|
||||
func (*EncryptMessageOutput) ProtoMessage() {}
|
||||
|
||||
func (x *EncryptMessageOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[8]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -782,7 +834,7 @@ func (x *EncryptMessageOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use EncryptMessageOutput.ProtoReflect.Descriptor instead.
|
||||
func (*EncryptMessageOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{8}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *EncryptMessageOutput) GetEncryptedProtobuf() []byte {
|
||||
@@ -844,7 +896,7 @@ type DecryptMessageOutput struct {
|
||||
|
||||
func (x *DecryptMessageOutput) Reset() {
|
||||
*x = DecryptMessageOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[9]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -856,7 +908,7 @@ func (x *DecryptMessageOutput) String() string {
|
||||
func (*DecryptMessageOutput) ProtoMessage() {}
|
||||
|
||||
func (x *DecryptMessageOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[9]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -869,7 +921,7 @@ func (x *DecryptMessageOutput) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DecryptMessageOutput.ProtoReflect.Descriptor instead.
|
||||
func (*DecryptMessageOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{9}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *DecryptMessageOutput) GetPlaintextPayload() []byte {
|
||||
@@ -886,6 +938,58 @@ func (x *DecryptMessageOutput) GetError() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type OrfThreadIdOutput struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OrfThreadID []byte `protobuf:"bytes,1,opt,name=orfThreadID" json:"orfThreadID,omitempty"`
|
||||
Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdOutput) Reset() {
|
||||
*x = OrfThreadIdOutput{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdOutput) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OrfThreadIdOutput) ProtoMessage() {}
|
||||
|
||||
func (x *OrfThreadIdOutput) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use OrfThreadIdOutput.ProtoReflect.Descriptor instead.
|
||||
func (*OrfThreadIdOutput) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdOutput) GetOrfThreadID() []byte {
|
||||
if x != nil {
|
||||
return x.OrfThreadID
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *OrfThreadIdOutput) GetError() string {
|
||||
if x != nil && x.Error != nil {
|
||||
return *x.Error
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type LabyrinthWaCommand struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to CommandInput:
|
||||
@@ -893,6 +997,7 @@ type LabyrinthWaCommand struct {
|
||||
// *LabyrinthWaCommand_CreateBackupInput
|
||||
// *LabyrinthWaCommand_EncryptMessageInput
|
||||
// *LabyrinthWaCommand_DecryptMessageInput
|
||||
// *LabyrinthWaCommand_OrfThreadIDInput
|
||||
CommandInput isLabyrinthWaCommand_CommandInput `protobuf_oneof:"commandInput"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -900,7 +1005,7 @@ type LabyrinthWaCommand struct {
|
||||
|
||||
func (x *LabyrinthWaCommand) Reset() {
|
||||
*x = LabyrinthWaCommand{}
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[10]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -912,7 +1017,7 @@ func (x *LabyrinthWaCommand) String() string {
|
||||
func (*LabyrinthWaCommand) ProtoMessage() {}
|
||||
|
||||
func (x *LabyrinthWaCommand) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[10]
|
||||
mi := &file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -925,7 +1030,7 @@ func (x *LabyrinthWaCommand) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LabyrinthWaCommand.ProtoReflect.Descriptor instead.
|
||||
func (*LabyrinthWaCommand) Descriptor() ([]byte, []int) {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{10}
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *LabyrinthWaCommand) GetCommandInput() isLabyrinthWaCommand_CommandInput {
|
||||
@@ -962,6 +1067,15 @@ func (x *LabyrinthWaCommand) GetDecryptMessageInput() *DecryptMessageInput {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *LabyrinthWaCommand) GetOrfThreadIDInput() *OrfThreadIdInput {
|
||||
if x != nil {
|
||||
if x, ok := x.CommandInput.(*LabyrinthWaCommand_OrfThreadIDInput); ok {
|
||||
return x.OrfThreadIDInput
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isLabyrinthWaCommand_CommandInput interface {
|
||||
isLabyrinthWaCommand_CommandInput()
|
||||
}
|
||||
@@ -978,12 +1092,18 @@ type LabyrinthWaCommand_DecryptMessageInput struct {
|
||||
DecryptMessageInput *DecryptMessageInput `protobuf:"bytes,3,opt,name=decryptMessageInput,oneof"`
|
||||
}
|
||||
|
||||
type LabyrinthWaCommand_OrfThreadIDInput struct {
|
||||
OrfThreadIDInput *OrfThreadIdInput `protobuf:"bytes,4,opt,name=orfThreadIDInput,oneof"`
|
||||
}
|
||||
|
||||
func (*LabyrinthWaCommand_CreateBackupInput) isLabyrinthWaCommand_CommandInput() {}
|
||||
|
||||
func (*LabyrinthWaCommand_EncryptMessageInput) isLabyrinthWaCommand_CommandInput() {}
|
||||
|
||||
func (*LabyrinthWaCommand_DecryptMessageInput) isLabyrinthWaCommand_CommandInput() {}
|
||||
|
||||
func (*LabyrinthWaCommand_OrfThreadIDInput) isLabyrinthWaCommand_CommandInput() {}
|
||||
|
||||
var File_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDesc = "" +
|
||||
@@ -1012,7 +1132,10 @@ const file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDesc = "" +
|
||||
"\x11encryptionVersion\x18\x04 \x02(\x05R\x11encryptionVersion\x12\x1e\n" +
|
||||
"\n" +
|
||||
"ciphertext\x18\x05 \x02(\fR\n" +
|
||||
"ciphertext\"\xd6\x03\n" +
|
||||
"ciphertext\"V\n" +
|
||||
"\x10OrfThreadIdInput\x12&\n" +
|
||||
"\x0eorfClientState\x18\x01 \x02(\fR\x0eorfClientState\x12\x1a\n" +
|
||||
"\bthreadID\x18\x02 \x02(\tR\bthreadID\"\xd6\x03\n" +
|
||||
"\fDeviceOutput\x12\x1c\n" +
|
||||
"\tpublicKey\x18\x01 \x02(\fR\tpublicKey\x12.\n" +
|
||||
"\x12epochAuthPublicKey\x18\x02 \x02(\fR\x12epochAuthPublicKey\x124\n" +
|
||||
@@ -1066,11 +1189,15 @@ const file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDesc = "" +
|
||||
"\x05error\x18\a \x01(\tR\x05error\"X\n" +
|
||||
"\x14DecryptMessageOutput\x12*\n" +
|
||||
"\x10plaintextPayload\x18\x01 \x01(\fR\x10plaintextPayload\x12\x14\n" +
|
||||
"\x05error\x18\x02 \x01(\tR\x05error\"\xbb\x02\n" +
|
||||
"\x05error\x18\x02 \x01(\tR\x05error\"K\n" +
|
||||
"\x11OrfThreadIdOutput\x12 \n" +
|
||||
"\vorfThreadID\x18\x01 \x01(\fR\vorfThreadID\x12\x14\n" +
|
||||
"\x05error\x18\x02 \x01(\tR\x05error\"\x91\x03\n" +
|
||||
"\x12LabyrinthWaCommand\x12W\n" +
|
||||
"\x11createBackupInput\x18\x01 \x01(\v2'.WAWebLabyrinthWaWasm.CreateBackupInputH\x00R\x11createBackupInput\x12]\n" +
|
||||
"\x13encryptMessageInput\x18\x02 \x01(\v2).WAWebLabyrinthWaWasm.EncryptMessageInputH\x00R\x13encryptMessageInput\x12]\n" +
|
||||
"\x13decryptMessageInput\x18\x03 \x01(\v2).WAWebLabyrinthWaWasm.DecryptMessageInputH\x00R\x13decryptMessageInputB\x0e\n" +
|
||||
"\x13decryptMessageInput\x18\x03 \x01(\v2).WAWebLabyrinthWaWasm.DecryptMessageInputH\x00R\x13decryptMessageInput\x12T\n" +
|
||||
"\x10orfThreadIDInput\x18\x04 \x01(\v2&.WAWebLabyrinthWaWasm.OrfThreadIdInputH\x00R\x10orfThreadIDInputB\x0e\n" +
|
||||
"\fcommandInputB0Z.go.mau.fi/whatsmeow/proto/waWebLabyrinthWaWasm"
|
||||
|
||||
var (
|
||||
@@ -1085,33 +1212,36 @@ func file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescGZIP() []byte {
|
||||
return file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||
var file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_goTypes = []any{
|
||||
(*CreateBackupInput)(nil), // 0: WAWebLabyrinthWaWasm.CreateBackupInput
|
||||
(*EncryptMessageInput)(nil), // 1: WAWebLabyrinthWaWasm.EncryptMessageInput
|
||||
(*DecryptMessageInput)(nil), // 2: WAWebLabyrinthWaWasm.DecryptMessageInput
|
||||
(*DeviceOutput)(nil), // 3: WAWebLabyrinthWaWasm.DeviceOutput
|
||||
(*EncryptedSecretValuesOutput)(nil), // 4: WAWebLabyrinthWaWasm.EncryptedSecretValuesOutput
|
||||
(*VirtualDeviceOutput)(nil), // 5: WAWebLabyrinthWaWasm.VirtualDeviceOutput
|
||||
(*Epoch0Output)(nil), // 6: WAWebLabyrinthWaWasm.Epoch0Output
|
||||
(*CreateBackupOutput)(nil), // 7: WAWebLabyrinthWaWasm.CreateBackupOutput
|
||||
(*EncryptMessageOutput)(nil), // 8: WAWebLabyrinthWaWasm.EncryptMessageOutput
|
||||
(*DecryptMessageOutput)(nil), // 9: WAWebLabyrinthWaWasm.DecryptMessageOutput
|
||||
(*LabyrinthWaCommand)(nil), // 10: WAWebLabyrinthWaWasm.LabyrinthWaCommand
|
||||
(*OrfThreadIdInput)(nil), // 3: WAWebLabyrinthWaWasm.OrfThreadIdInput
|
||||
(*DeviceOutput)(nil), // 4: WAWebLabyrinthWaWasm.DeviceOutput
|
||||
(*EncryptedSecretValuesOutput)(nil), // 5: WAWebLabyrinthWaWasm.EncryptedSecretValuesOutput
|
||||
(*VirtualDeviceOutput)(nil), // 6: WAWebLabyrinthWaWasm.VirtualDeviceOutput
|
||||
(*Epoch0Output)(nil), // 7: WAWebLabyrinthWaWasm.Epoch0Output
|
||||
(*CreateBackupOutput)(nil), // 8: WAWebLabyrinthWaWasm.CreateBackupOutput
|
||||
(*EncryptMessageOutput)(nil), // 9: WAWebLabyrinthWaWasm.EncryptMessageOutput
|
||||
(*DecryptMessageOutput)(nil), // 10: WAWebLabyrinthWaWasm.DecryptMessageOutput
|
||||
(*OrfThreadIdOutput)(nil), // 11: WAWebLabyrinthWaWasm.OrfThreadIdOutput
|
||||
(*LabyrinthWaCommand)(nil), // 12: WAWebLabyrinthWaWasm.LabyrinthWaCommand
|
||||
}
|
||||
var file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_depIdxs = []int32{
|
||||
4, // 0: WAWebLabyrinthWaWasm.VirtualDeviceOutput.encryptedSecretValues:type_name -> WAWebLabyrinthWaWasm.EncryptedSecretValuesOutput
|
||||
3, // 1: WAWebLabyrinthWaWasm.CreateBackupOutput.device:type_name -> WAWebLabyrinthWaWasm.DeviceOutput
|
||||
5, // 2: WAWebLabyrinthWaWasm.CreateBackupOutput.virtualDevice:type_name -> WAWebLabyrinthWaWasm.VirtualDeviceOutput
|
||||
6, // 3: WAWebLabyrinthWaWasm.CreateBackupOutput.epoch0:type_name -> WAWebLabyrinthWaWasm.Epoch0Output
|
||||
5, // 0: WAWebLabyrinthWaWasm.VirtualDeviceOutput.encryptedSecretValues:type_name -> WAWebLabyrinthWaWasm.EncryptedSecretValuesOutput
|
||||
4, // 1: WAWebLabyrinthWaWasm.CreateBackupOutput.device:type_name -> WAWebLabyrinthWaWasm.DeviceOutput
|
||||
6, // 2: WAWebLabyrinthWaWasm.CreateBackupOutput.virtualDevice:type_name -> WAWebLabyrinthWaWasm.VirtualDeviceOutput
|
||||
7, // 3: WAWebLabyrinthWaWasm.CreateBackupOutput.epoch0:type_name -> WAWebLabyrinthWaWasm.Epoch0Output
|
||||
0, // 4: WAWebLabyrinthWaWasm.LabyrinthWaCommand.createBackupInput:type_name -> WAWebLabyrinthWaWasm.CreateBackupInput
|
||||
1, // 5: WAWebLabyrinthWaWasm.LabyrinthWaCommand.encryptMessageInput:type_name -> WAWebLabyrinthWaWasm.EncryptMessageInput
|
||||
2, // 6: WAWebLabyrinthWaWasm.LabyrinthWaCommand.decryptMessageInput:type_name -> WAWebLabyrinthWaWasm.DecryptMessageInput
|
||||
7, // [7:7] is the sub-list for method output_type
|
||||
7, // [7:7] is the sub-list for method input_type
|
||||
7, // [7:7] is the sub-list for extension type_name
|
||||
7, // [7:7] is the sub-list for extension extendee
|
||||
0, // [0:7] is the sub-list for field type_name
|
||||
3, // 7: WAWebLabyrinthWaWasm.LabyrinthWaCommand.orfThreadIDInput:type_name -> WAWebLabyrinthWaWasm.OrfThreadIdInput
|
||||
8, // [8:8] is the sub-list for method output_type
|
||||
8, // [8:8] is the sub-list for method input_type
|
||||
8, // [8:8] is the sub-list for extension type_name
|
||||
8, // [8:8] is the sub-list for extension extendee
|
||||
0, // [0:8] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_init() }
|
||||
@@ -1119,10 +1249,11 @@ func file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_init() {
|
||||
if File_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto != nil {
|
||||
return
|
||||
}
|
||||
file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[10].OneofWrappers = []any{
|
||||
file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_msgTypes[12].OneofWrappers = []any{
|
||||
(*LabyrinthWaCommand_CreateBackupInput)(nil),
|
||||
(*LabyrinthWaCommand_EncryptMessageInput)(nil),
|
||||
(*LabyrinthWaCommand_DecryptMessageInput)(nil),
|
||||
(*LabyrinthWaCommand_OrfThreadIDInput)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -1130,7 +1261,7 @@ func file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDesc), len(file_waWebLabyrinthWaWasm_WAWebLabyrinthWaWasm_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 11,
|
||||
NumMessages: 13,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -29,6 +29,11 @@ message DecryptMessageInput {
|
||||
required bytes ciphertext = 5;
|
||||
}
|
||||
|
||||
message OrfThreadIdInput {
|
||||
required bytes orfClientState = 1;
|
||||
required string threadID = 2;
|
||||
}
|
||||
|
||||
message DeviceOutput {
|
||||
required bytes publicKey = 1;
|
||||
required bytes epochAuthPublicKey = 2;
|
||||
@@ -95,10 +100,16 @@ message DecryptMessageOutput {
|
||||
optional string error = 2;
|
||||
}
|
||||
|
||||
message OrfThreadIdOutput {
|
||||
optional bytes orfThreadID = 1;
|
||||
optional string error = 2;
|
||||
}
|
||||
|
||||
message LabyrinthWaCommand {
|
||||
oneof commandInput {
|
||||
CreateBackupInput createBackupInput = 1;
|
||||
EncryptMessageInput encryptMessageInput = 2;
|
||||
DecryptMessageInput decryptMessageInput = 3;
|
||||
OrfThreadIdInput orfThreadIDInput = 4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waWa6.ClientPayload_UserAgent_Ap
|
||||
}
|
||||
|
||||
// waVersion is the WhatsApp web client version
|
||||
var waVersion = WAVersionContainer{2, 3000, 1042386815}
|
||||
var waVersion = WAVersionContainer{2, 3000, 1043045417}
|
||||
|
||||
// waVersionHash is the md5 hash of a dot-separated waVersion
|
||||
var waVersionHash = waVersion.Hash()
|
||||
|
||||
Reference in New Issue
Block a user