Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6060293793 | |||
| afce764ce9 |
+2
-50
@@ -1,7 +1,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package proto;
|
package proto;
|
||||||
|
|
||||||
/// WhatsApp Version: 2.3000.1034989030
|
/// WhatsApp Version: 2.3000.1034621774
|
||||||
|
|
||||||
message ADVDeviceIdentity {
|
message ADVDeviceIdentity {
|
||||||
optional uint32 rawId = 1;
|
optional uint32 rawId = 1;
|
||||||
@@ -345,14 +345,6 @@ message BotAgeCollectionMetadata {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message BotAgentDeepLinkMetadata {
|
|
||||||
optional string token = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BotAgentMetadata {
|
|
||||||
optional BotAgentDeepLinkMetadata deepLinkMetadata = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BotCapabilityMetadata {
|
message BotCapabilityMetadata {
|
||||||
repeated BotCapabilityType capabilities = 1;
|
repeated BotCapabilityType capabilities = 1;
|
||||||
enum BotCapabilityType {
|
enum BotCapabilityType {
|
||||||
@@ -1643,8 +1635,6 @@ message DeviceCapabilities {
|
|||||||
message BusinessBroadcast {
|
message BusinessBroadcast {
|
||||||
optional bool importListEnabled = 1;
|
optional bool importListEnabled = 1;
|
||||||
optional bool companionSupportEnabled = 2;
|
optional bool companionSupportEnabled = 2;
|
||||||
optional bool campaignSyncEnabled = 3;
|
|
||||||
optional bool insightsSyncEnabled = 4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ChatLockSupportLevel {
|
enum ChatLockSupportLevel {
|
||||||
@@ -2285,7 +2275,6 @@ message Message {
|
|||||||
optional PollCreationMessage pollCreationMessageV6 = 119;
|
optional PollCreationMessage pollCreationMessageV6 = 119;
|
||||||
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
||||||
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
||||||
optional EventInviteMessage eventInviteMessage = 122;
|
|
||||||
message AlbumMessage {
|
message AlbumMessage {
|
||||||
optional uint32 expectedImageCount = 2;
|
optional uint32 expectedImageCount = 2;
|
||||||
optional uint32 expectedVideoCount = 3;
|
optional uint32 expectedVideoCount = 3;
|
||||||
@@ -2566,16 +2555,6 @@ message Message {
|
|||||||
optional bytes encIv = 3;
|
optional bytes encIv = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message EventInviteMessage {
|
|
||||||
optional ContextInfo contextInfo = 1;
|
|
||||||
optional string eventId = 2;
|
|
||||||
optional string eventTitle = 3;
|
|
||||||
optional bytes jpegThumbnail = 4;
|
|
||||||
optional int64 startTime = 5;
|
|
||||||
optional string caption = 6;
|
|
||||||
optional bool isCanceled = 7;
|
|
||||||
}
|
|
||||||
|
|
||||||
message EventMessage {
|
message EventMessage {
|
||||||
optional ContextInfo contextInfo = 1;
|
optional ContextInfo contextInfo = 1;
|
||||||
optional bool isCanceled = 2;
|
optional bool isCanceled = 2;
|
||||||
@@ -3102,10 +3081,9 @@ message Message {
|
|||||||
|
|
||||||
message MessageHistoryMetadata {
|
message MessageHistoryMetadata {
|
||||||
repeated string historyReceivers = 1;
|
repeated string historyReceivers = 1;
|
||||||
optional int64 oldestMessageTimestampInWindow = 2;
|
optional int64 oldestMessageTimestamp = 2;
|
||||||
optional int64 messageCount = 3;
|
optional int64 messageCount = 3;
|
||||||
repeated string nonHistoryReceivers = 4;
|
repeated string nonHistoryReceivers = 4;
|
||||||
optional int64 oldestMessageTimestampInBundle = 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message MessageHistoryNotice {
|
message MessageHistoryNotice {
|
||||||
@@ -3619,7 +3597,6 @@ message Message {
|
|||||||
message RequestWelcomeMessageMetadata {
|
message RequestWelcomeMessageMetadata {
|
||||||
optional LocalChatState localChatState = 1;
|
optional LocalChatState localChatState = 1;
|
||||||
optional WelcomeTrigger welcomeTrigger = 2;
|
optional WelcomeTrigger welcomeTrigger = 2;
|
||||||
optional BotAgentMetadata botAgentMetadata = 3;
|
|
||||||
enum LocalChatState {
|
enum LocalChatState {
|
||||||
EMPTY = 0;
|
EMPTY = 0;
|
||||||
NON_EMPTY = 1;
|
NON_EMPTY = 1;
|
||||||
@@ -4147,7 +4124,6 @@ enum MutationProps {
|
|||||||
BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81;
|
BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81;
|
||||||
BUSINESS_BROADCAST_INSIGHTS_ACTION = 82;
|
BUSINESS_BROADCAST_INSIGHTS_ACTION = 82;
|
||||||
CUSTOMER_DATA_ACTION = 83;
|
CUSTOMER_DATA_ACTION = 83;
|
||||||
SUBSCRIPTIONS_SYNC_V2_ACTION = 84;
|
|
||||||
SHARE_OWN_PN = 10001;
|
SHARE_OWN_PN = 10001;
|
||||||
BUSINESS_BROADCAST_ACTION = 10002;
|
BUSINESS_BROADCAST_ACTION = 10002;
|
||||||
AI_THREAD_DELETE_ACTION = 10003;
|
AI_THREAD_DELETE_ACTION = 10003;
|
||||||
@@ -4784,7 +4760,6 @@ message SyncActionValue {
|
|||||||
optional BusinessBroadcastCampaignAction businessBroadcastCampaignAction = 81;
|
optional BusinessBroadcastCampaignAction businessBroadcastCampaignAction = 81;
|
||||||
optional BusinessBroadcastInsightsAction businessBroadcastInsightsAction = 82;
|
optional BusinessBroadcastInsightsAction businessBroadcastInsightsAction = 82;
|
||||||
optional CustomerDataAction customerDataAction = 83;
|
optional CustomerDataAction customerDataAction = 83;
|
||||||
optional SubscriptionsSyncV2Action subscriptionsSyncV2Action = 84;
|
|
||||||
message AgentAction {
|
message AgentAction {
|
||||||
optional string name = 1;
|
optional string name = 1;
|
||||||
optional int32 deviceID = 2;
|
optional int32 deviceID = 2;
|
||||||
@@ -5300,29 +5275,6 @@ message SyncActionValue {
|
|||||||
optional int64 expirationDate = 3;
|
optional int64 expirationDate = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SubscriptionsSyncV2Action {
|
|
||||||
repeated SubscriptionInfo subscriptions = 1;
|
|
||||||
repeated PaidFeature paidFeature = 2;
|
|
||||||
message PaidFeature {
|
|
||||||
optional string name = 1;
|
|
||||||
optional bool enabled = 2;
|
|
||||||
optional int32 limit = 3;
|
|
||||||
optional int64 expirationTime = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
message SubscriptionInfo {
|
|
||||||
optional string id = 1;
|
|
||||||
optional int32 tier = 2;
|
|
||||||
optional string status = 3;
|
|
||||||
optional int64 startTime = 4;
|
|
||||||
optional int64 endTime = 5;
|
|
||||||
optional bool isPlatformChanged = 6;
|
|
||||||
optional string source = 7;
|
|
||||||
optional int64 creationTime = 8;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
message SyncActionMessage {
|
message SyncActionMessage {
|
||||||
optional MessageKey key = 1;
|
optional MessageKey key = 1;
|
||||||
optional int64 timestamp = 2;
|
optional int64 timestamp = 2;
|
||||||
|
|||||||
Vendored
+2
-148
@@ -981,38 +981,6 @@ export namespace proto {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IBotAgentDeepLinkMetadata {
|
|
||||||
token?: (string|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class BotAgentDeepLinkMetadata implements IBotAgentDeepLinkMetadata {
|
|
||||||
constructor(p?: proto.IBotAgentDeepLinkMetadata);
|
|
||||||
public token?: (string|null);
|
|
||||||
public static create(properties?: proto.IBotAgentDeepLinkMetadata): proto.BotAgentDeepLinkMetadata;
|
|
||||||
public static encode(m: proto.IBotAgentDeepLinkMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BotAgentDeepLinkMetadata;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.BotAgentDeepLinkMetadata;
|
|
||||||
public static toObject(m: proto.BotAgentDeepLinkMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IBotAgentMetadata {
|
|
||||||
deepLinkMetadata?: (proto.IBotAgentDeepLinkMetadata|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class BotAgentMetadata implements IBotAgentMetadata {
|
|
||||||
constructor(p?: proto.IBotAgentMetadata);
|
|
||||||
public deepLinkMetadata?: (proto.IBotAgentDeepLinkMetadata|null);
|
|
||||||
public static create(properties?: proto.IBotAgentMetadata): proto.BotAgentMetadata;
|
|
||||||
public static encode(m: proto.IBotAgentMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BotAgentMetadata;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.BotAgentMetadata;
|
|
||||||
public static toObject(m: proto.BotAgentMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IBotCapabilityMetadata {
|
interface IBotCapabilityMetadata {
|
||||||
capabilities?: (proto.BotCapabilityMetadata.BotCapabilityType[]|null);
|
capabilities?: (proto.BotCapabilityMetadata.BotCapabilityType[]|null);
|
||||||
}
|
}
|
||||||
@@ -4015,16 +3983,12 @@ export namespace proto {
|
|||||||
interface IBusinessBroadcast {
|
interface IBusinessBroadcast {
|
||||||
importListEnabled?: (boolean|null);
|
importListEnabled?: (boolean|null);
|
||||||
companionSupportEnabled?: (boolean|null);
|
companionSupportEnabled?: (boolean|null);
|
||||||
campaignSyncEnabled?: (boolean|null);
|
|
||||||
insightsSyncEnabled?: (boolean|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class BusinessBroadcast implements IBusinessBroadcast {
|
class BusinessBroadcast implements IBusinessBroadcast {
|
||||||
constructor(p?: proto.DeviceCapabilities.IBusinessBroadcast);
|
constructor(p?: proto.DeviceCapabilities.IBusinessBroadcast);
|
||||||
public importListEnabled?: (boolean|null);
|
public importListEnabled?: (boolean|null);
|
||||||
public companionSupportEnabled?: (boolean|null);
|
public companionSupportEnabled?: (boolean|null);
|
||||||
public campaignSyncEnabled?: (boolean|null);
|
|
||||||
public insightsSyncEnabled?: (boolean|null);
|
|
||||||
public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast;
|
public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast;
|
||||||
public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast;
|
||||||
@@ -5582,7 +5546,6 @@ export namespace proto {
|
|||||||
pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
||||||
conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
||||||
pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
||||||
eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Message implements IMessage {
|
class Message implements IMessage {
|
||||||
@@ -5688,7 +5651,6 @@ export namespace proto {
|
|||||||
public pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
public pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
||||||
public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
||||||
public pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
public pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
||||||
public eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
|
||||||
public static create(properties?: proto.IMessage): proto.Message;
|
public static create(properties?: proto.IMessage): proto.Message;
|
||||||
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
||||||
@@ -6492,34 +6454,6 @@ export namespace proto {
|
|||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IEventInviteMessage {
|
|
||||||
contextInfo?: (proto.IContextInfo|null);
|
|
||||||
eventId?: (string|null);
|
|
||||||
eventTitle?: (string|null);
|
|
||||||
jpegThumbnail?: (Uint8Array|null);
|
|
||||||
startTime?: (number|Long|null);
|
|
||||||
caption?: (string|null);
|
|
||||||
isCanceled?: (boolean|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class EventInviteMessage implements IEventInviteMessage {
|
|
||||||
constructor(p?: proto.Message.IEventInviteMessage);
|
|
||||||
public contextInfo?: (proto.IContextInfo|null);
|
|
||||||
public eventId?: (string|null);
|
|
||||||
public eventTitle?: (string|null);
|
|
||||||
public jpegThumbnail?: (Uint8Array|null);
|
|
||||||
public startTime?: (number|Long|null);
|
|
||||||
public caption?: (string|null);
|
|
||||||
public isCanceled?: (boolean|null);
|
|
||||||
public static create(properties?: proto.Message.IEventInviteMessage): proto.Message.EventInviteMessage;
|
|
||||||
public static encode(m: proto.Message.IEventInviteMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.EventInviteMessage;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.Message.EventInviteMessage;
|
|
||||||
public static toObject(m: proto.Message.EventInviteMessage, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IEventMessage {
|
interface IEventMessage {
|
||||||
contextInfo?: (proto.IContextInfo|null);
|
contextInfo?: (proto.IContextInfo|null);
|
||||||
isCanceled?: (boolean|null);
|
isCanceled?: (boolean|null);
|
||||||
@@ -7884,19 +7818,17 @@ export namespace proto {
|
|||||||
|
|
||||||
interface IMessageHistoryMetadata {
|
interface IMessageHistoryMetadata {
|
||||||
historyReceivers?: (string[]|null);
|
historyReceivers?: (string[]|null);
|
||||||
oldestMessageTimestampInWindow?: (number|Long|null);
|
oldestMessageTimestamp?: (number|Long|null);
|
||||||
messageCount?: (number|Long|null);
|
messageCount?: (number|Long|null);
|
||||||
nonHistoryReceivers?: (string[]|null);
|
nonHistoryReceivers?: (string[]|null);
|
||||||
oldestMessageTimestampInBundle?: (number|Long|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class MessageHistoryMetadata implements IMessageHistoryMetadata {
|
class MessageHistoryMetadata implements IMessageHistoryMetadata {
|
||||||
constructor(p?: proto.Message.IMessageHistoryMetadata);
|
constructor(p?: proto.Message.IMessageHistoryMetadata);
|
||||||
public historyReceivers: string[];
|
public historyReceivers: string[];
|
||||||
public oldestMessageTimestampInWindow?: (number|Long|null);
|
public oldestMessageTimestamp?: (number|Long|null);
|
||||||
public messageCount?: (number|Long|null);
|
public messageCount?: (number|Long|null);
|
||||||
public nonHistoryReceivers: string[];
|
public nonHistoryReceivers: string[];
|
||||||
public oldestMessageTimestampInBundle?: (number|Long|null);
|
|
||||||
public static create(properties?: proto.Message.IMessageHistoryMetadata): proto.Message.MessageHistoryMetadata;
|
public static create(properties?: proto.Message.IMessageHistoryMetadata): proto.Message.MessageHistoryMetadata;
|
||||||
public static encode(m: proto.Message.IMessageHistoryMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.Message.IMessageHistoryMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.MessageHistoryMetadata;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.MessageHistoryMetadata;
|
||||||
@@ -9329,14 +9261,12 @@ export namespace proto {
|
|||||||
interface IRequestWelcomeMessageMetadata {
|
interface IRequestWelcomeMessageMetadata {
|
||||||
localChatState?: (proto.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
|
localChatState?: (proto.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
|
||||||
welcomeTrigger?: (proto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null);
|
welcomeTrigger?: (proto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null);
|
||||||
botAgentMetadata?: (proto.IBotAgentMetadata|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class RequestWelcomeMessageMetadata implements IRequestWelcomeMessageMetadata {
|
class RequestWelcomeMessageMetadata implements IRequestWelcomeMessageMetadata {
|
||||||
constructor(p?: proto.Message.IRequestWelcomeMessageMetadata);
|
constructor(p?: proto.Message.IRequestWelcomeMessageMetadata);
|
||||||
public localChatState?: (proto.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
|
public localChatState?: (proto.Message.RequestWelcomeMessageMetadata.LocalChatState|null);
|
||||||
public welcomeTrigger?: (proto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null);
|
public welcomeTrigger?: (proto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null);
|
||||||
public botAgentMetadata?: (proto.IBotAgentMetadata|null);
|
|
||||||
public static create(properties?: proto.Message.IRequestWelcomeMessageMetadata): proto.Message.RequestWelcomeMessageMetadata;
|
public static create(properties?: proto.Message.IRequestWelcomeMessageMetadata): proto.Message.RequestWelcomeMessageMetadata;
|
||||||
public static encode(m: proto.Message.IRequestWelcomeMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.Message.IRequestWelcomeMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.RequestWelcomeMessageMetadata;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.RequestWelcomeMessageMetadata;
|
||||||
@@ -10532,7 +10462,6 @@ export namespace proto {
|
|||||||
BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81,
|
BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81,
|
||||||
BUSINESS_BROADCAST_INSIGHTS_ACTION = 82,
|
BUSINESS_BROADCAST_INSIGHTS_ACTION = 82,
|
||||||
CUSTOMER_DATA_ACTION = 83,
|
CUSTOMER_DATA_ACTION = 83,
|
||||||
SUBSCRIPTIONS_SYNC_V2_ACTION = 84,
|
|
||||||
SHARE_OWN_PN = 10001,
|
SHARE_OWN_PN = 10001,
|
||||||
BUSINESS_BROADCAST_ACTION = 10002,
|
BUSINESS_BROADCAST_ACTION = 10002,
|
||||||
AI_THREAD_DELETE_ACTION = 10003
|
AI_THREAD_DELETE_ACTION = 10003
|
||||||
@@ -12127,7 +12056,6 @@ export namespace proto {
|
|||||||
businessBroadcastCampaignAction?: (proto.SyncActionValue.IBusinessBroadcastCampaignAction|null);
|
businessBroadcastCampaignAction?: (proto.SyncActionValue.IBusinessBroadcastCampaignAction|null);
|
||||||
businessBroadcastInsightsAction?: (proto.SyncActionValue.IBusinessBroadcastInsightsAction|null);
|
businessBroadcastInsightsAction?: (proto.SyncActionValue.IBusinessBroadcastInsightsAction|null);
|
||||||
customerDataAction?: (proto.SyncActionValue.ICustomerDataAction|null);
|
customerDataAction?: (proto.SyncActionValue.ICustomerDataAction|null);
|
||||||
subscriptionsSyncV2Action?: (proto.SyncActionValue.ISubscriptionsSyncV2Action|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class SyncActionValue implements ISyncActionValue {
|
class SyncActionValue implements ISyncActionValue {
|
||||||
@@ -12206,7 +12134,6 @@ export namespace proto {
|
|||||||
public businessBroadcastCampaignAction?: (proto.SyncActionValue.IBusinessBroadcastCampaignAction|null);
|
public businessBroadcastCampaignAction?: (proto.SyncActionValue.IBusinessBroadcastCampaignAction|null);
|
||||||
public businessBroadcastInsightsAction?: (proto.SyncActionValue.IBusinessBroadcastInsightsAction|null);
|
public businessBroadcastInsightsAction?: (proto.SyncActionValue.IBusinessBroadcastInsightsAction|null);
|
||||||
public customerDataAction?: (proto.SyncActionValue.ICustomerDataAction|null);
|
public customerDataAction?: (proto.SyncActionValue.ICustomerDataAction|null);
|
||||||
public subscriptionsSyncV2Action?: (proto.SyncActionValue.ISubscriptionsSyncV2Action|null);
|
|
||||||
public static create(properties?: proto.ISyncActionValue): proto.SyncActionValue;
|
public static create(properties?: proto.ISyncActionValue): proto.SyncActionValue;
|
||||||
public static encode(m: proto.ISyncActionValue, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.ISyncActionValue, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue;
|
||||||
@@ -13739,79 +13666,6 @@ export namespace proto {
|
|||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ISubscriptionsSyncV2Action {
|
|
||||||
subscriptions?: (proto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo[]|null);
|
|
||||||
paidFeature?: (proto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature[]|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class SubscriptionsSyncV2Action implements ISubscriptionsSyncV2Action {
|
|
||||||
constructor(p?: proto.SyncActionValue.ISubscriptionsSyncV2Action);
|
|
||||||
public subscriptions: proto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo[];
|
|
||||||
public paidFeature: proto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature[];
|
|
||||||
public static create(properties?: proto.SyncActionValue.ISubscriptionsSyncV2Action): proto.SyncActionValue.SubscriptionsSyncV2Action;
|
|
||||||
public static encode(m: proto.SyncActionValue.ISubscriptionsSyncV2Action, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SubscriptionsSyncV2Action;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.SyncActionValue.SubscriptionsSyncV2Action;
|
|
||||||
public static toObject(m: proto.SyncActionValue.SubscriptionsSyncV2Action, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace SubscriptionsSyncV2Action {
|
|
||||||
|
|
||||||
interface IPaidFeature {
|
|
||||||
name?: (string|null);
|
|
||||||
enabled?: (boolean|null);
|
|
||||||
limit?: (number|null);
|
|
||||||
expirationTime?: (number|Long|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class PaidFeature implements IPaidFeature {
|
|
||||||
constructor(p?: proto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature);
|
|
||||||
public name?: (string|null);
|
|
||||||
public enabled?: (boolean|null);
|
|
||||||
public limit?: (number|null);
|
|
||||||
public expirationTime?: (number|Long|null);
|
|
||||||
public static create(properties?: proto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature): proto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature;
|
|
||||||
public static encode(m: proto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature;
|
|
||||||
public static toObject(m: proto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ISubscriptionInfo {
|
|
||||||
id?: (string|null);
|
|
||||||
tier?: (number|null);
|
|
||||||
status?: (string|null);
|
|
||||||
startTime?: (number|Long|null);
|
|
||||||
endTime?: (number|Long|null);
|
|
||||||
isPlatformChanged?: (boolean|null);
|
|
||||||
source?: (string|null);
|
|
||||||
creationTime?: (number|Long|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class SubscriptionInfo implements ISubscriptionInfo {
|
|
||||||
constructor(p?: proto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo);
|
|
||||||
public id?: (string|null);
|
|
||||||
public tier?: (number|null);
|
|
||||||
public status?: (string|null);
|
|
||||||
public startTime?: (number|Long|null);
|
|
||||||
public endTime?: (number|Long|null);
|
|
||||||
public isPlatformChanged?: (boolean|null);
|
|
||||||
public source?: (string|null);
|
|
||||||
public creationTime?: (number|Long|null);
|
|
||||||
public static create(properties?: proto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo): proto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo;
|
|
||||||
public static encode(m: proto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo;
|
|
||||||
public static toObject(m: proto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ISyncActionMessage {
|
interface ISyncActionMessage {
|
||||||
key?: (proto.IMessageKey|null);
|
key?: (proto.IMessageKey|null);
|
||||||
timestamp?: (number|Long|null);
|
timestamp?: (number|Long|null);
|
||||||
|
|||||||
+19
-1120
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
"fflate": "^0.8.2",
|
"fflate": "^0.8.2",
|
||||||
"libsignal": "github:whiskeysockets/libsignal-node",
|
"libsignal": "github:whiskeysockets/libsignal-node",
|
||||||
"lru-cache": "^11.2.6",
|
"lru-cache": "^11.2.6",
|
||||||
"music-metadata": "^11.12.3",
|
"music-metadata": "^11.12.0",
|
||||||
"p-queue": "^9.0.0",
|
"p-queue": "^9.0.0",
|
||||||
"pino": "^10.3.1",
|
"pino": "^10.3.1",
|
||||||
"prom-client": "^15.1.3",
|
"prom-client": "^15.1.3",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":[2,3000,1035018135]}
|
{"version":[2,3000,1034641024]}
|
||||||
|
|||||||
@@ -1068,11 +1068,6 @@ export const makeMessagesSocket = (config: SocketConfig) => {
|
|||||||
return 'media'
|
return 'media'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Carousel with images → media type for Web real-time rendering
|
|
||||||
if (normalizedMessage.interactiveMessage?.carouselMessage) {
|
|
||||||
return 'media'
|
|
||||||
}
|
|
||||||
|
|
||||||
return 'text'
|
return 'text'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -388,13 +388,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@borewit/text-codec@npm:^0.2.2":
|
|
||||||
version: 0.2.2
|
|
||||||
resolution: "@borewit/text-codec@npm:0.2.2"
|
|
||||||
checksum: 10c0/2d3fb132bc6a132914a8fbf8e9ff2fa1ead210ecc395b28bb7355bd7719548a5e351ffe39f21c3bee8048f6cabd99eabd404bb5cc809cad9cba25abed19d271f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@cacheable/node-cache@npm:^2.0.1":
|
"@cacheable/node-cache@npm:^2.0.1":
|
||||||
version: 2.0.1
|
version: 2.0.1
|
||||||
resolution: "@cacheable/node-cache@npm:2.0.1"
|
resolution: "@cacheable/node-cache@npm:2.0.1"
|
||||||
@@ -3112,7 +3105,7 @@ __metadata:
|
|||||||
libsignal: "github:whiskeysockets/libsignal-node"
|
libsignal: "github:whiskeysockets/libsignal-node"
|
||||||
link-preview-js: "npm:^4.0.0"
|
link-preview-js: "npm:^4.0.0"
|
||||||
lru-cache: "npm:^11.2.6"
|
lru-cache: "npm:^11.2.6"
|
||||||
music-metadata: "npm:^11.12.3"
|
music-metadata: "npm:^11.12.0"
|
||||||
open: "npm:^11.0.0"
|
open: "npm:^11.0.0"
|
||||||
p-queue: "npm:^9.0.0"
|
p-queue: "npm:^9.0.0"
|
||||||
pino: "npm:^10.3.1"
|
pino: "npm:^10.3.1"
|
||||||
@@ -4563,15 +4556,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"file-type@npm:^21.3.1":
|
"file-type@npm:^21.3.0":
|
||||||
version: 21.3.1
|
version: 21.3.0
|
||||||
resolution: "file-type@npm:21.3.1"
|
resolution: "file-type@npm:21.3.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tokenizer/inflate": "npm:^0.4.1"
|
"@tokenizer/inflate": "npm:^0.4.1"
|
||||||
strtok3: "npm:^10.3.4"
|
strtok3: "npm:^10.3.4"
|
||||||
token-types: "npm:^6.1.1"
|
token-types: "npm:^6.1.1"
|
||||||
uint8array-extras: "npm:^1.4.0"
|
uint8array-extras: "npm:^1.4.0"
|
||||||
checksum: 10c0/66a8eda781c803c6fc372464abba88cee564cfe30f029716f06909da1564bc51d0a4e8d34654b881dc751cdb0513338b3c0747e06a608cee0dd5c5499b018d47
|
checksum: 10c0/1b1fa909e6063044a6da1d2ea348ee4d747ed9286382d3f0d4d6532c11fb2ea9f2e7e67b2bc7d745d1bc937e05dee1aa8cb912c64250933bcb393a3744f4e284
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -6511,21 +6504,21 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"music-metadata@npm:^11.12.3":
|
"music-metadata@npm:^11.12.0":
|
||||||
version: 11.12.3
|
version: 11.12.0
|
||||||
resolution: "music-metadata@npm:11.12.3"
|
resolution: "music-metadata@npm:11.12.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@borewit/text-codec": "npm:^0.2.2"
|
"@borewit/text-codec": "npm:^0.2.1"
|
||||||
"@tokenizer/token": "npm:^0.3.0"
|
"@tokenizer/token": "npm:^0.3.0"
|
||||||
content-type: "npm:^1.0.5"
|
content-type: "npm:^1.0.5"
|
||||||
debug: "npm:^4.4.3"
|
debug: "npm:^4.4.3"
|
||||||
file-type: "npm:^21.3.1"
|
file-type: "npm:^21.3.0"
|
||||||
media-typer: "npm:^1.1.0"
|
media-typer: "npm:^1.1.0"
|
||||||
strtok3: "npm:^10.3.4"
|
strtok3: "npm:^10.3.4"
|
||||||
token-types: "npm:^6.1.2"
|
token-types: "npm:^6.1.2"
|
||||||
uint8array-extras: "npm:^1.5.0"
|
uint8array-extras: "npm:^1.5.0"
|
||||||
win-guid: "npm:^0.2.1"
|
win-guid: "npm:^0.2.1"
|
||||||
checksum: 10c0/57df905f51ec792e5b4c994645eab64d47d5608b9de11151f54b26fbd5f563598ec04d8aed7f244ef1479030d78ddab8af1ee84dfcee40a93b3241941b50999d
|
checksum: 10c0/014a120b8941ab80452171def0ec3cba013041ba4b94f8061ad493a037d3423e6d316131a13fb0433404685ebd3c8e3ae2255c1bafaeb20673fcd73af2df0148
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user