import * as $protobuf from "protobufjs"; import Long = require("long"); /** Namespace waproto. */ export namespace waproto { /** ADVEncryptionType enum. */ enum ADVEncryptionType { E2EE = 0, HOSTED = 1, NON_E2EE = 2 } /** AIRichResponseMessageType enum. */ enum AIRichResponseMessageType { AI_RICH_RESPONSE_TYPE_UNKNOWN = 0, AI_RICH_RESPONSE_TYPE_STANDARD = 1 } /** AIRichResponseSubMessageType enum. */ enum AIRichResponseSubMessageType { AI_RICH_RESPONSE_UNKNOWN = 0, AI_RICH_RESPONSE_GRID_IMAGE = 1, AI_RICH_RESPONSE_TEXT = 2, AI_RICH_RESPONSE_INLINE_IMAGE = 3, AI_RICH_RESPONSE_TABLE = 4, AI_RICH_RESPONSE_CODE = 5, AI_RICH_RESPONSE_DYNAMIC = 6, AI_RICH_RESPONSE_MAP = 7, AI_RICH_RESPONSE_LATEX = 8, AI_RICH_RESPONSE_CONTENT_ITEMS = 9 } /** AISubscriptionRequestType enum. */ enum AISubscriptionRequestType { UNSPECIFIED = 0, THINK_HARD = 1, IMAGE_GEN = 2, VIDEO_GEN = 3 } /** ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_ATTACHMENT_INTERVENTION_ACTION_INTERVENTION_TYPE enum. */ enum ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_ATTACHMENT_INTERVENTION_ACTION_INTERVENTION_TYPE { UNKNOWN = 0, NUDE = 1, NOT_NUDE = 2 } /** ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_SPECTRA_ACTION_SPECTRA_ACTION_TYPE enum. */ enum ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_SPECTRA_ACTION_SPECTRA_ACTION_TYPE { TAKEDOWN = 0, RESTORE = 1 } /** ARMADILLO_CONTENT_COMMON_STICKER_STICKER_TYPE enum. */ enum ARMADILLO_CONTENT_COMMON_STICKER_STICKER_TYPE { SMALL_LIKE = 1, MEDIUM_LIKE = 2, LARGE_LIKE = 3 } /** ARMADILLO_CONTENT_PAYMENTS_TRANSACTION_MESSAGE_PAYMENT_STATUS enum. */ enum ARMADILLO_CONTENT_PAYMENTS_TRANSACTION_MESSAGE_PAYMENT_STATUS { PAYMENT_UNKNOWN = -1, REQUEST_INITED = 4, REQUEST_DECLINED = 5, REQUEST_TRANSFER_INITED = 6, REQUEST_TRANSFER_COMPLETED = 7, REQUEST_TRANSFER_FAILED = 8, REQUEST_CANCELED = 9, REQUEST_EXPIRED = 10, TRANSFER_INITED = 11, TRANSFER_PENDING = 12, TRANSFER_PENDING_RECIPIENT_VERIFICATION = 13, TRANSFER_CANCELED = 14, TRANSFER_COMPLETED = 15, TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED = 16, TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER = 17, TRANSFER_REFUNDED = 18, TRANSFER_PARTIAL_REFUND = 19, TRANSFER_CHARGED_BACK = 20, TRANSFER_EXPIRED = 21, TRANSFER_DECLINED = 22, TRANSFER_UNAVAILABLE = 23 } /** ARMADILLO_CONTENT_RAVEN_ACTION_NOTIF_MESSAGE_ACTION_TYPE enum. */ enum ARMADILLO_CONTENT_RAVEN_ACTION_NOTIF_MESSAGE_ACTION_TYPE { PLAYED = 0, SCREENSHOT = 1, FORCE_DISABLE = 2 } /** ARMADILLO_CONTENT_RAVEN_MESSAGE_EPHEMERAL_TYPE enum. */ enum ARMADILLO_CONTENT_RAVEN_MESSAGE_EPHEMERAL_TYPE { VIEW_ONCE = 0, ALLOW_REPLAY = 1, KEEP_IN_CHAT = 2 } /** ARMADILLO_CONTENT_SCREENSHOT_ACTION_SCREENSHOT_TYPE enum. */ enum ARMADILLO_CONTENT_SCREENSHOT_ACTION_SCREENSHOT_TYPE { SCREENSHOT_IMAGE = 1, SCREEN_RECORDING = 2 } /** ARMADILLO_SIGNAL_ENCRYPTED_BACKUPS_SECRETS_EPOCH_EPOCH_STATUS enum. */ enum ARMADILLO_SIGNAL_ENCRYPTED_BACKUPS_SECRETS_EPOCH_EPOCH_STATUS { ES_OPEN = 1, ES_CLOSE = 2 } /** AUDIO_TRANSPORT_ANCILLARY_AVATAR_AUDIO_ANIMATIONS_TYPE enum. */ enum AUDIO_TRANSPORT_ANCILLARY_AVATAR_AUDIO_ANIMATIONS_TYPE { TALKING_A = 0, IDLE_A = 1, TALKING_B = 2, IDLE_B = 3, BACKGROUND = 4 } /** AUDIO_TRANSPORT_INTEGRAL_AUDIO_FORMAT enum. */ enum AUDIO_TRANSPORT_INTEGRAL_AUDIO_FORMAT { UNKNOWN = 0, OPUS = 1 } /** BotMetricsEntryPoint enum. */ enum BotMetricsEntryPoint { UNDEFINED_ENTRY_POINT = 0, FAVICON = 1, CHATLIST = 2, AISEARCH_NULL_STATE_PAPER_PLANE = 3, AISEARCH_NULL_STATE_SUGGESTION = 4, AISEARCH_TYPE_AHEAD_SUGGESTION = 5, AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6, AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7, AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8, AIVOICE_SEARCH_BAR = 9, AIVOICE_FAVICON = 10, AISTUDIO = 11, DEEPLINK = 12, NOTIFICATION = 13, PROFILE_MESSAGE_BUTTON = 14, FORWARD = 15, APP_SHORTCUT = 16, FF_FAMILY = 17, AI_TAB = 18, AI_HOME = 19, AI_DEEPLINK_IMMERSIVE = 20, AI_DEEPLINK = 21, META_AI_CHAT_SHORTCUT_AI_STUDIO = 22, UGC_CHAT_SHORTCUT_AI_STUDIO = 23, NEW_CHAT_AI_STUDIO = 24, AIVOICE_FAVICON_CALL_HISTORY = 25, ASK_META_AI_CONTEXT_MENU = 26, ASK_META_AI_CONTEXT_MENU_1ON1 = 27, ASK_META_AI_CONTEXT_MENU_GROUP = 28, INVOKE_META_AI_1ON1 = 29, INVOKE_META_AI_GROUP = 30, META_AI_FORWARD = 31, NEW_CHAT_AI_CONTACT = 32, MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33, MESSAGE_QUICK_ACTION_GROUP_CHAT = 34, ATTACHMENT_TRAY_1_ON_1_CHAT = 35, ATTACHMENT_TRAY_GROUP_CHAT = 36, ASK_META_AI_MEDIA_VIEWER_1ON1 = 37, ASK_META_AI_MEDIA_VIEWER_GROUP = 38, MEDIA_PICKER_1_ON_1_CHAT = 39, MEDIA_PICKER_GROUP_CHAT = 40, ASK_META_AI_NO_SEARCH_RESULTS = 41, META_AI_SETTINGS = 45, WEB_INTRO_PANEL = 46, WEB_NAVIGATION_BAR = 47, GROUP_MEMBER = 54, CHATLIST_SEARCH = 55, NEW_CHAT_LIST = 56, CONTACTS_TAB = 57, NEW_3P_AGENT_CREATION = 58 } /** BotMetricsThreadEntryPoint enum. */ enum BotMetricsThreadEntryPoint { AI_TAB_THREAD = 1, AI_HOME_THREAD = 2, AI_DEEPLINK_IMMERSIVE_THREAD = 3, AI_DEEPLINK_THREAD = 4, ASK_META_AI_CONTEXT_MENU_THREAD = 5 } /** BotSessionSource enum. */ enum BotSessionSource { NONE = 0, NULL_STATE = 1, TYPEAHEAD = 2, USER_INPUT = 3, EMU_FLASH = 4, EMU_FLASH_FOLLOWUP = 5, VOICE = 6, AI_HOME_SESSION = 7 } /** COMMAND_COMMAND_TYPE enum. */ enum COMMAND_COMMAND_TYPE { EVERYONE = 1, SILENT = 2, AI = 3, AI_IMAGINE = 4 } /** CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE enum. */ enum CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE { NONE = 0, VIDEO = 1 } /** CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE enum. */ enum CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE { SMALL = 1, MEDIUM = 2, LARGE = 3 } /** CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE enum. */ enum CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE { SANS_SERIF = 0, SERIF = 1, NORICAN_REGULAR = 2, BRYNDAN_WRITE = 3, BEBASNEUE_REGULAR = 4, OSWALD_HEAVY = 5 } /** CollectionName enum. */ enum CollectionName { COLLECTION_NAME_UNKNOWN = 0, REGULAR = 1, REGULAR_LOW = 2, REGULAR_HIGH = 3, CRITICAL_BLOCK = 4, CRITICAL_UNBLOCK_LOW = 5 } /** DYI_BATCH_TABLE_SCHEMA_PROTO_QPL_FLOW_DESCRIPTOR enum. */ enum DYI_BATCH_TABLE_SCHEMA_PROTO_QPL_FLOW_DESCRIPTOR { BACKUP_RESTORE = 0, E2E_DYI = 1 } /** EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE enum. */ enum EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE { OPEN_NATIVE = 11 } /** EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE enum. */ enum EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE { UNSUPPORTED = -1, IG_STORY_PHOTO_MENTION = 4, IG_SINGLE_IMAGE_POST_SHARE = 9, IG_MULTIPOST_SHARE = 10, IG_SINGLE_VIDEO_POST_SHARE = 11, IG_STORY_PHOTO_SHARE = 12, IG_STORY_VIDEO_SHARE = 13, IG_CLIPS_SHARE = 14, IG_IGTV_SHARE = 15, IG_SHOP_SHARE = 16, IG_PROFILE_SHARE = 19, IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20, IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21, IG_STORY_REPLY = 22, IG_STORY_REACTION = 23, IG_STORY_VIDEO_MENTION = 24, IG_STORY_HIGHLIGHT_REPLY = 25, IG_STORY_HIGHLIGHT_REACTION = 26, IG_EXTERNAL_LINK = 27, IG_RECEIVER_FETCH = 28, FB_FEED_SHARE = 1000, FB_STORY_REPLY = 1001, FB_STORY_SHARE = 1002, FB_STORY_MENTION = 1003, FB_FEED_VIDEO_SHARE = 1004, FB_GAMING_CUSTOM_UPDATE = 1005, FB_PRODUCER_STORY_REPLY = 1006, FB_EVENT = 1007, FB_FEED_POST_PRIVATE_REPLY = 1008, FB_SHORT = 1009, FB_COMMENT_MENTION_SHARE = 1010, FB_POST_MENTION = 1011, FB_PROFILE_DIRECTORY_ITEM = 1013, FB_FEED_POST_REACTION_REPLY = 1014, FB_QUICKSNAP_REPLY = 1015, MSG_EXTERNAL_LINK_SHARE = 2000, MSG_P2P_PAYMENT = 2001, MSG_LOCATION_SHARING = 2002, MSG_LOCATION_SHARING_V2 = 2003, MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004, MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005, MSG_RECEIVER_FETCH = 2006, MSG_IG_MEDIA_SHARE = 2007, MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008, MSG_REELS_LIST = 2009, MSG_CONTACT = 2010, MSG_THREADS_POST_SHARE = 2011, MSG_FILE = 2012, MSG_AVATAR_DETAILS = 2013, MSG_AI_CONTACT = 2014, MSG_MEMORIES_SHARE = 2015, MSG_SHARED_ALBUM_REPLY = 2016, MSG_SHARED_ALBUM = 2017, MSG_OCCAMADILLO_XMA = 2018, MSG_GEN_AI_SUBSCRIPTION = 2021, MSG_GEN_AI_REMINDER = 2022, MSG_GEN_AI_MEMU_ONBOARDING_RESPONSE = 2023, MSG_NOTE_REPLY = 2024, MSG_NOTE_MENTION = 2025, GEN_AI_ENTITY = 2026, MSG_OPG_P2P_PAYMENT = 2027, GEN_AI_RICH_RESPONSE = 2028, MSG_MUSIC_STICKER = 2029, MSG_PHONE_NUMBER = 2030, AI_ACTIVITY_SHARE = 2031, MSG_PRIVATE_XMA = 2032, MSG_SOCIAL_CUE_MEMORIES = 2033, MSG_MANUS_GROWTH_REFERRAL = 2060, MSG_MOMENT_LINK = 2061, MSG_HORIZON_WEEL = 2062, MSG_MOMENT_ADDED = 2063, RTC_AUDIO_CALL = 3000, RTC_VIDEO_CALL = 3001, RTC_MISSED_AUDIO_CALL = 3002, RTC_MISSED_VIDEO_CALL = 3003, RTC_GROUP_AUDIO_CALL = 3004, RTC_GROUP_VIDEO_CALL = 3005, RTC_MISSED_GROUP_AUDIO_CALL = 3006, RTC_MISSED_GROUP_VIDEO_CALL = 3007, RTC_ONGOING_AUDIO_CALL = 3008, RTC_ONGOING_VIDEO_CALL = 3009, MSG_RECEIVER_FETCH_FALLBACK = 3025, DATACLASS_SENDER_COPY = 4000 } /** EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH enum. */ enum EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH { INFO = 0, EYE_OFF = 1, NEWS_OFF = 2, WARNING = 3, PRIVATE = 4, NONE = 5, MEDIA_LABEL = 6, POST_COVER = 7, POST_LABEL = 8, WARNING_SCREENS = 9 } /** EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE enum. */ enum EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE { SENDER_COPY = 0, SERVER = 1, SIGNED_CLIENT = 2 } /** EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE enum. */ enum EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE { SINGLE = 0, HSCROLL = 1, PORTRAIT = 3, STANDARD_DXMA = 12, LIST_DXMA = 15, GRID = 16 } /** FUTURE_PROOF_BEHAVIOR enum. */ enum FUTURE_PROOF_BEHAVIOR { PLACEHOLDER = 0, NO_PLACEHOLDER = 1, IGNORE = 2 } /** HD_TYPE enum. */ enum HD_TYPE { NONE = 0, LQ_4K = 1, HQ_4K = 2 } /** HostedState enum. */ enum HostedState { E2EE = 0, HOSTED = 1 } /** IMAGE_TRANSPORT_ANCILLARY_HD_TYPE enum. */ enum IMAGE_TRANSPORT_ANCILLARY_HD_TYPE { NONE = 0, LQ_4K = 1, HQ_4K = 2 } /** KeepType enum. */ enum KeepType { UNKNOWN = 0, KEEP_FOR_ALL = 1, UNDO_KEEP_FOR_ALL = 2 } /** MENTION_MENTION_TYPE enum. */ enum MENTION_MENTION_TYPE { PROFILE = 0 } /** MESSAGE_APPLICATION_EPHEMERAL_SETTING_EPHEMERALITY_TYPE enum. */ enum MESSAGE_APPLICATION_EPHEMERAL_SETTING_EPHEMERALITY_TYPE { UNKNOWN = 0, SEEN_ONCE = 1, SEEN_BASED_WITH_TIMER = 2, SEND_BASED_WITH_TIMER = 3 } /** MESSAGE_APPLICATION_METADATA_THREAD_TYPE enum. */ enum MESSAGE_APPLICATION_METADATA_THREAD_TYPE { DEFAULT = 0, VANISH_MODE = 1, DISAPPEARING_MESSAGES = 2 } /** MESSAGE_TRANSPORT_PROTOCOL_ANCILLARY_BACKUP_DIRECTIVE_ACTION_TYPE enum. */ enum MESSAGE_TRANSPORT_PROTOCOL_ANCILLARY_BACKUP_DIRECTIVE_ACTION_TYPE { NOOP = 0, UPSERT = 1, DELETE = 2, UPSERT_AND_DELETE = 3 } /** MediaKeyDomain enum. */ enum MediaKeyDomain { MEDIA_KEY_DOMAIN_UNKNOWN = 0, MEDIA_KEY_DOMAIN_E2EE = 1, MEDIA_KEY_DOMAIN_NON_E2EE = 2 } /** MediaVisibility enum. */ enum MediaVisibility { DEFAULT = 0, OFF = 1, ON = 2 } /** MutationProps enum. */ enum MutationProps { STAR_ACTION = 2, CONTACT_ACTION = 3, MUTE_ACTION = 4, PIN_ACTION = 5, SECURITY_NOTIFICATION_SETTING = 6, PUSH_NAME_SETTING = 7, QUICK_REPLY_ACTION = 8, RECENT_EMOJI_WEIGHTS_ACTION = 11, LABEL_MESSAGE_ACTION = 13, LABEL_EDIT_ACTION = 14, LABEL_ASSOCIATION_ACTION = 15, LOCALE_SETTING = 16, ARCHIVE_CHAT_ACTION = 17, DELETE_MESSAGE_FOR_ME_ACTION = 18, KEY_EXPIRATION = 19, MARK_CHAT_AS_READ_ACTION = 20, CLEAR_CHAT_ACTION = 21, DELETE_CHAT_ACTION = 22, UNARCHIVE_CHATS_SETTING = 23, PRIMARY_FEATURE = 24, ANDROID_UNSUPPORTED_ACTIONS = 26, AGENT_ACTION = 27, SUBSCRIPTION_ACTION = 28, USER_STATUS_MUTE_ACTION = 29, TIME_FORMAT_ACTION = 30, NUX_ACTION = 31, PRIMARY_VERSION_ACTION = 32, STICKER_ACTION = 33, REMOVE_RECENT_STICKER_ACTION = 34, CHAT_ASSIGNMENT = 35, CHAT_ASSIGNMENT_OPENED_STATUS = 36, PN_FOR_LID_CHAT_ACTION = 37, MARKETING_MESSAGE_ACTION = 38, MARKETING_MESSAGE_BROADCAST_ACTION = 39, EXTERNAL_WEB_BETA_ACTION = 40, PRIVACY_SETTING_RELAY_ALL_CALLS = 41, CALL_LOG_ACTION = 42, UGC_BOT = 43, STATUS_PRIVACY = 44, BOT_WELCOME_REQUEST_ACTION = 45, DELETE_INDIVIDUAL_CALL_LOG = 46, LABEL_REORDERING_ACTION = 47, PAYMENT_INFO_ACTION = 48, CUSTOM_PAYMENT_METHODS_ACTION = 49, LOCK_CHAT_ACTION = 50, CHAT_LOCK_SETTINGS = 51, WAMO_USER_IDENTIFIER_ACTION = 52, PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53, DEVICE_CAPABILITIES = 54, NOTE_EDIT_ACTION = 55, FAVORITES_ACTION = 56, MERCHANT_PAYMENT_PARTNER_ACTION = 57, WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58, USERNAME_CHAT_START_MODE = 59, NOTIFICATION_ACTIVITY_SETTING_ACTION = 60, LID_CONTACT_ACTION = 61, CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62, PAYMENT_TOS_ACTION = 63, PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64, BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65, DETECTED_OUTCOMES_STATUS_ACTION = 66, MAIBA_AI_FEATURES_CONTROL_ACTION = 68, BUSINESS_BROADCAST_LIST_ACTION = 69, MUSIC_USER_ID_ACTION = 70, STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71, AVATAR_UPDATED_ACTION = 72, GALAXY_FLOW_ACTION = 73, PRIVATE_PROCESSING_SETTING_ACTION = 74, NEWSLETTER_SAVED_INTERESTS_ACTION = 75, AI_THREAD_RENAME_ACTION = 76, INTERACTIVE_MESSAGE_ACTION = 77, SETTINGS_SYNC_ACTION = 78, OUT_CONTACT_ACTION = 79, NCT_SALT_SYNC_ACTION = 80, BUSINESS_BROADCAST_CAMPAIGN_ACTION = 81, BUSINESS_BROADCAST_INSIGHTS_ACTION = 82, CUSTOMER_DATA_ACTION = 83, SUBSCRIPTIONS_SYNC_V2_ACTION = 84, THREAD_PIN_ACTION = 85, AUTO_ORGANIZE_BUSINESS_CHAT_SETTING = 86, BIZ_AI_SETTINGS_NUDGE_ACTION = 87, COEX_V2_VERSION_ACTION = 88, WASA_ROOT_SECRET_ACTION = 89, BUBBLE_LOCK_MESSAGE_ACTION = 90, LABEL_SUBLIST_ACTION = 91, DEVICE_CAPABILITIES_V2 = 92, CTWA_MESSAGE_RECEIVED_ACTION = 93, SHARED_DEVICE_ALLOWLIST_ACTION = 94, CONTACT_MANAGER_METADATA_ACTION = 95, BUSINESS_FOLDER_ACTIVATION_ACTION = 96, GROUP_HISTORY_TOGGLE_ACTION = 97, SHARE_OWN_PN = 10001, BUSINESS_BROADCAST_ACTION = 10002, AI_THREAD_DELETE_ACTION = 10003 } /** POLL_STATE enum. */ enum POLL_STATE { OPEN = 0, FROZEN = 1 } /** PrivacySystemMessage enum. */ enum PrivacySystemMessage { E2EE_MSG = 1, NE2EE_SELF = 2, NE2EE_OTHER = 3 } /** SYNCD_MUTATION_SYNCD_OPERATION enum. */ enum SYNCD_MUTATION_SYNCD_OPERATION { SET = 0, REMOVE = 1 } /** SessionTransparencyType enum. */ enum SessionTransparencyType { UNKNOWN_TYPE = 0, NY_AI_SAFETY_DISCLAIMER = 1 } /** VIDEO_TRANSPORT_ANCILLARY_ATTRIBUTION enum. */ enum VIDEO_TRANSPORT_ANCILLARY_ATTRIBUTION { NONE = 0, GIPHY = 1, TENOR = 2 } /** WebLinkRenderConfig enum. */ enum WebLinkRenderConfig { WEBVIEW = 0, SYSTEM = 1 } /** Properties of a ACP2Setting. */ interface IACP2Setting { /** ACP2Setting enabled */ enabled?: (boolean|null); /** ACP2Setting trigger */ trigger?: (waproto.LimitSharing.Trigger|null); /** ACP2Setting settingTimestamp */ settingTimestamp?: (number|Long|null); /** ACP2Setting initiatedByMe */ initiatedByMe?: (boolean|null); } /** Represents a ACP2Setting. */ class ACP2Setting implements IACP2Setting { /** * Constructs a new ACP2Setting. * @param [properties] Properties to set */ constructor(properties?: waproto.IACP2Setting); /** ACP2Setting enabled. */ public enabled?: (boolean|null); /** ACP2Setting trigger. */ public trigger?: (waproto.LimitSharing.Trigger|null); /** ACP2Setting settingTimestamp. */ public settingTimestamp?: (number|Long|null); /** ACP2Setting initiatedByMe. */ public initiatedByMe?: (boolean|null); /** * Creates a new ACP2Setting instance using the specified properties. * @param [properties] Properties to set * @returns ACP2Setting instance */ public static create(properties?: waproto.IACP2Setting): waproto.ACP2Setting; /** * Encodes the specified ACP2Setting message. Does not implicitly {@link waproto.ACP2Setting.verify|verify} messages. * @param message ACP2Setting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IACP2Setting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ACP2Setting message, length delimited. Does not implicitly {@link waproto.ACP2Setting.verify|verify} messages. * @param message ACP2Setting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IACP2Setting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ACP2Setting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ACP2Setting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ACP2Setting; /** * Decodes a ACP2Setting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ACP2Setting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ACP2Setting; /** * Verifies a ACP2Setting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ACP2Setting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ACP2Setting */ public static fromObject(object: { [k: string]: any }): waproto.ACP2Setting; /** * Creates a plain object from a ACP2Setting message. Also converts values to other types if specified. * @param message ACP2Setting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ACP2Setting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ACP2Setting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ACP2Setting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVDeviceIdentity. */ interface IADVDeviceIdentity { /** ADVDeviceIdentity rawId */ rawId?: (number|null); /** ADVDeviceIdentity timestamp */ timestamp?: (number|Long|null); /** ADVDeviceIdentity keyIndex */ keyIndex?: (number|null); /** ADVDeviceIdentity accountType */ accountType?: (waproto.ADVEncryptionType|null); /** ADVDeviceIdentity deviceType */ deviceType?: (waproto.ADVEncryptionType|null); } /** Represents a ADVDeviceIdentity. */ class ADVDeviceIdentity implements IADVDeviceIdentity { /** * Constructs a new ADVDeviceIdentity. * @param [properties] Properties to set */ constructor(properties?: waproto.IADVDeviceIdentity); /** ADVDeviceIdentity rawId. */ public rawId?: (number|null); /** ADVDeviceIdentity timestamp. */ public timestamp?: (number|Long|null); /** ADVDeviceIdentity keyIndex. */ public keyIndex?: (number|null); /** ADVDeviceIdentity accountType. */ public accountType?: (waproto.ADVEncryptionType|null); /** ADVDeviceIdentity deviceType. */ public deviceType?: (waproto.ADVEncryptionType|null); /** * Creates a new ADVDeviceIdentity instance using the specified properties. * @param [properties] Properties to set * @returns ADVDeviceIdentity instance */ public static create(properties?: waproto.IADVDeviceIdentity): waproto.ADVDeviceIdentity; /** * Encodes the specified ADVDeviceIdentity message. Does not implicitly {@link waproto.ADVDeviceIdentity.verify|verify} messages. * @param message ADVDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVDeviceIdentity message, length delimited. Does not implicitly {@link waproto.ADVDeviceIdentity.verify|verify} messages. * @param message ADVDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IADVDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVDeviceIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVDeviceIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ADVDeviceIdentity; /** * Decodes a ADVDeviceIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVDeviceIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ADVDeviceIdentity; /** * Verifies a ADVDeviceIdentity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ADVDeviceIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVDeviceIdentity */ public static fromObject(object: { [k: string]: any }): waproto.ADVDeviceIdentity; /** * Creates a plain object from a ADVDeviceIdentity message. Also converts values to other types if specified. * @param message ADVDeviceIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ADVDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVDeviceIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVDeviceIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVKeyIndexList. */ interface IADVKeyIndexList { /** ADVKeyIndexList rawId */ rawId?: (number|null); /** ADVKeyIndexList timestamp */ timestamp?: (number|Long|null); /** ADVKeyIndexList currentIndex */ currentIndex?: (number|null); /** ADVKeyIndexList validIndexes */ validIndexes?: (number[]|null); /** ADVKeyIndexList accountType */ accountType?: (waproto.ADVEncryptionType|null); } /** Represents a ADVKeyIndexList. */ class ADVKeyIndexList implements IADVKeyIndexList { /** * Constructs a new ADVKeyIndexList. * @param [properties] Properties to set */ constructor(properties?: waproto.IADVKeyIndexList); /** ADVKeyIndexList rawId. */ public rawId?: (number|null); /** ADVKeyIndexList timestamp. */ public timestamp?: (number|Long|null); /** ADVKeyIndexList currentIndex. */ public currentIndex?: (number|null); /** ADVKeyIndexList validIndexes. */ public validIndexes: number[]; /** ADVKeyIndexList accountType. */ public accountType?: (waproto.ADVEncryptionType|null); /** * Creates a new ADVKeyIndexList instance using the specified properties. * @param [properties] Properties to set * @returns ADVKeyIndexList instance */ public static create(properties?: waproto.IADVKeyIndexList): waproto.ADVKeyIndexList; /** * Encodes the specified ADVKeyIndexList message. Does not implicitly {@link waproto.ADVKeyIndexList.verify|verify} messages. * @param message ADVKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVKeyIndexList message, length delimited. Does not implicitly {@link waproto.ADVKeyIndexList.verify|verify} messages. * @param message ADVKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IADVKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVKeyIndexList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVKeyIndexList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ADVKeyIndexList; /** * Decodes a ADVKeyIndexList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVKeyIndexList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ADVKeyIndexList; /** * Verifies a ADVKeyIndexList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ADVKeyIndexList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVKeyIndexList */ public static fromObject(object: { [k: string]: any }): waproto.ADVKeyIndexList; /** * Creates a plain object from a ADVKeyIndexList message. Also converts values to other types if specified. * @param message ADVKeyIndexList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ADVKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVKeyIndexList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVKeyIndexList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedDeviceIdentity. */ interface IADVSignedDeviceIdentity { /** ADVSignedDeviceIdentity details */ details?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignatureKey */ accountSignatureKey?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignature */ accountSignature?: (Uint8Array|null); /** ADVSignedDeviceIdentity deviceSignature */ deviceSignature?: (Uint8Array|null); } /** Represents a ADVSignedDeviceIdentity. */ class ADVSignedDeviceIdentity implements IADVSignedDeviceIdentity { /** * Constructs a new ADVSignedDeviceIdentity. * @param [properties] Properties to set */ constructor(properties?: waproto.IADVSignedDeviceIdentity); /** ADVSignedDeviceIdentity details. */ public details?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignatureKey. */ public accountSignatureKey?: (Uint8Array|null); /** ADVSignedDeviceIdentity accountSignature. */ public accountSignature?: (Uint8Array|null); /** ADVSignedDeviceIdentity deviceSignature. */ public deviceSignature?: (Uint8Array|null); /** * Creates a new ADVSignedDeviceIdentity instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedDeviceIdentity instance */ public static create(properties?: waproto.IADVSignedDeviceIdentity): waproto.ADVSignedDeviceIdentity; /** * Encodes the specified ADVSignedDeviceIdentity message. Does not implicitly {@link waproto.ADVSignedDeviceIdentity.verify|verify} messages. * @param message ADVSignedDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedDeviceIdentity message, length delimited. Does not implicitly {@link waproto.ADVSignedDeviceIdentity.verify|verify} messages. * @param message ADVSignedDeviceIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IADVSignedDeviceIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedDeviceIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ADVSignedDeviceIdentity; /** * Decodes a ADVSignedDeviceIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedDeviceIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ADVSignedDeviceIdentity; /** * Verifies a ADVSignedDeviceIdentity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ADVSignedDeviceIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedDeviceIdentity */ public static fromObject(object: { [k: string]: any }): waproto.ADVSignedDeviceIdentity; /** * Creates a plain object from a ADVSignedDeviceIdentity message. Also converts values to other types if specified. * @param message ADVSignedDeviceIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ADVSignedDeviceIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedDeviceIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedDeviceIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedDeviceIdentityHMAC. */ interface IADVSignedDeviceIdentityHMAC { /** ADVSignedDeviceIdentityHMAC details */ details?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC hmac */ hmac?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC accountType */ accountType?: (waproto.ADVEncryptionType|null); } /** Represents a ADVSignedDeviceIdentityHMAC. */ class ADVSignedDeviceIdentityHMAC implements IADVSignedDeviceIdentityHMAC { /** * Constructs a new ADVSignedDeviceIdentityHMAC. * @param [properties] Properties to set */ constructor(properties?: waproto.IADVSignedDeviceIdentityHMAC); /** ADVSignedDeviceIdentityHMAC details. */ public details?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC hmac. */ public hmac?: (Uint8Array|null); /** ADVSignedDeviceIdentityHMAC accountType. */ public accountType?: (waproto.ADVEncryptionType|null); /** * Creates a new ADVSignedDeviceIdentityHMAC instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedDeviceIdentityHMAC instance */ public static create(properties?: waproto.IADVSignedDeviceIdentityHMAC): waproto.ADVSignedDeviceIdentityHMAC; /** * Encodes the specified ADVSignedDeviceIdentityHMAC message. Does not implicitly {@link waproto.ADVSignedDeviceIdentityHMAC.verify|verify} messages. * @param message ADVSignedDeviceIdentityHMAC message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedDeviceIdentityHMAC message, length delimited. Does not implicitly {@link waproto.ADVSignedDeviceIdentityHMAC.verify|verify} messages. * @param message ADVSignedDeviceIdentityHMAC message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IADVSignedDeviceIdentityHMAC, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedDeviceIdentityHMAC * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ADVSignedDeviceIdentityHMAC; /** * Decodes a ADVSignedDeviceIdentityHMAC message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedDeviceIdentityHMAC * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ADVSignedDeviceIdentityHMAC; /** * Verifies a ADVSignedDeviceIdentityHMAC message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ADVSignedDeviceIdentityHMAC message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedDeviceIdentityHMAC */ public static fromObject(object: { [k: string]: any }): waproto.ADVSignedDeviceIdentityHMAC; /** * Creates a plain object from a ADVSignedDeviceIdentityHMAC message. Also converts values to other types if specified. * @param message ADVSignedDeviceIdentityHMAC * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ADVSignedDeviceIdentityHMAC, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedDeviceIdentityHMAC to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedDeviceIdentityHMAC * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ADVSignedKeyIndexList. */ interface IADVSignedKeyIndexList { /** ADVSignedKeyIndexList details */ details?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignature */ accountSignature?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignatureKey */ accountSignatureKey?: (Uint8Array|null); } /** Represents a ADVSignedKeyIndexList. */ class ADVSignedKeyIndexList implements IADVSignedKeyIndexList { /** * Constructs a new ADVSignedKeyIndexList. * @param [properties] Properties to set */ constructor(properties?: waproto.IADVSignedKeyIndexList); /** ADVSignedKeyIndexList details. */ public details?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignature. */ public accountSignature?: (Uint8Array|null); /** ADVSignedKeyIndexList accountSignatureKey. */ public accountSignatureKey?: (Uint8Array|null); /** * Creates a new ADVSignedKeyIndexList instance using the specified properties. * @param [properties] Properties to set * @returns ADVSignedKeyIndexList instance */ public static create(properties?: waproto.IADVSignedKeyIndexList): waproto.ADVSignedKeyIndexList; /** * Encodes the specified ADVSignedKeyIndexList message. Does not implicitly {@link waproto.ADVSignedKeyIndexList.verify|verify} messages. * @param message ADVSignedKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ADVSignedKeyIndexList message, length delimited. Does not implicitly {@link waproto.ADVSignedKeyIndexList.verify|verify} messages. * @param message ADVSignedKeyIndexList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IADVSignedKeyIndexList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ADVSignedKeyIndexList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ADVSignedKeyIndexList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ADVSignedKeyIndexList; /** * Decodes a ADVSignedKeyIndexList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ADVSignedKeyIndexList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ADVSignedKeyIndexList; /** * Verifies a ADVSignedKeyIndexList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ADVSignedKeyIndexList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ADVSignedKeyIndexList */ public static fromObject(object: { [k: string]: any }): waproto.ADVSignedKeyIndexList; /** * Creates a plain object from a ADVSignedKeyIndexList message. Also converts values to other types if specified. * @param message ADVSignedKeyIndexList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ADVSignedKeyIndexList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ADVSignedKeyIndexList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ADVSignedKeyIndexList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIHomeState. */ interface IAIHomeState { /** AIHomeState lastFetchTime */ lastFetchTime?: (number|Long|null); /** AIHomeState capabilityOptions */ capabilityOptions?: (waproto.AIHomeState.IAIHomeOption[]|null); /** AIHomeState conversationOptions */ conversationOptions?: (waproto.AIHomeState.IAIHomeOption[]|null); } /** Represents a AIHomeState. */ class AIHomeState implements IAIHomeState { /** * Constructs a new AIHomeState. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIHomeState); /** AIHomeState lastFetchTime. */ public lastFetchTime?: (number|Long|null); /** AIHomeState capabilityOptions. */ public capabilityOptions: waproto.AIHomeState.IAIHomeOption[]; /** AIHomeState conversationOptions. */ public conversationOptions: waproto.AIHomeState.IAIHomeOption[]; /** * Creates a new AIHomeState instance using the specified properties. * @param [properties] Properties to set * @returns AIHomeState instance */ public static create(properties?: waproto.IAIHomeState): waproto.AIHomeState; /** * Encodes the specified AIHomeState message. Does not implicitly {@link waproto.AIHomeState.verify|verify} messages. * @param message AIHomeState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIHomeState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIHomeState message, length delimited. Does not implicitly {@link waproto.AIHomeState.verify|verify} messages. * @param message AIHomeState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIHomeState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIHomeState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIHomeState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIHomeState; /** * Decodes a AIHomeState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIHomeState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIHomeState; /** * Verifies a AIHomeState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIHomeState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIHomeState */ public static fromObject(object: { [k: string]: any }): waproto.AIHomeState; /** * Creates a plain object from a AIHomeState message. Also converts values to other types if specified. * @param message AIHomeState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIHomeState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIHomeState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIHomeState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIHomeState { /** Properties of a AIHomeOption. */ interface IAIHomeOption { /** AIHomeOption type */ type?: (waproto.AIHomeState.AIHomeOption.AIHomeActionType|null); /** AIHomeOption title */ title?: (string|null); /** AIHomeOption promptText */ promptText?: (string|null); /** AIHomeOption sessionId */ sessionId?: (string|null); /** AIHomeOption imageWdsIdentifier */ imageWdsIdentifier?: (string|null); /** AIHomeOption imageTintColor */ imageTintColor?: (string|null); /** AIHomeOption imageBackgroundColor */ imageBackgroundColor?: (string|null); /** AIHomeOption cardTypeId */ cardTypeId?: (string|null); } /** Represents a AIHomeOption. */ class AIHomeOption implements IAIHomeOption { /** * Constructs a new AIHomeOption. * @param [properties] Properties to set */ constructor(properties?: waproto.AIHomeState.IAIHomeOption); /** AIHomeOption type. */ public type?: (waproto.AIHomeState.AIHomeOption.AIHomeActionType|null); /** AIHomeOption title. */ public title?: (string|null); /** AIHomeOption promptText. */ public promptText?: (string|null); /** AIHomeOption sessionId. */ public sessionId?: (string|null); /** AIHomeOption imageWdsIdentifier. */ public imageWdsIdentifier?: (string|null); /** AIHomeOption imageTintColor. */ public imageTintColor?: (string|null); /** AIHomeOption imageBackgroundColor. */ public imageBackgroundColor?: (string|null); /** AIHomeOption cardTypeId. */ public cardTypeId?: (string|null); /** * Creates a new AIHomeOption instance using the specified properties. * @param [properties] Properties to set * @returns AIHomeOption instance */ public static create(properties?: waproto.AIHomeState.IAIHomeOption): waproto.AIHomeState.AIHomeOption; /** * Encodes the specified AIHomeOption message. Does not implicitly {@link waproto.AIHomeState.AIHomeOption.verify|verify} messages. * @param message AIHomeOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIHomeState.IAIHomeOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIHomeOption message, length delimited. Does not implicitly {@link waproto.AIHomeState.AIHomeOption.verify|verify} messages. * @param message AIHomeOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIHomeState.IAIHomeOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIHomeOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIHomeOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIHomeState.AIHomeOption; /** * Decodes a AIHomeOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIHomeOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIHomeState.AIHomeOption; /** * Verifies a AIHomeOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIHomeOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIHomeOption */ public static fromObject(object: { [k: string]: any }): waproto.AIHomeState.AIHomeOption; /** * Creates a plain object from a AIHomeOption message. Also converts values to other types if specified. * @param message AIHomeOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIHomeState.AIHomeOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIHomeOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIHomeOption * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIHomeOption { /** AIHomeActionType enum. */ enum AIHomeActionType { PROMPT = 0, CREATE_IMAGE = 1, ANIMATE_PHOTO = 2, ANALYZE_FILE = 3, COLLABORATE = 4, OPEN_GREETING_CARD = 5 } } } /** Properties of a AIMediaCollectionMessage. */ interface IAIMediaCollectionMessage { /** AIMediaCollectionMessage collectionId */ collectionId?: (string|null); /** AIMediaCollectionMessage expectedMediaCount */ expectedMediaCount?: (number|null); /** AIMediaCollectionMessage hasGlobalCaption */ hasGlobalCaption?: (boolean|null); } /** Represents a AIMediaCollectionMessage. */ class AIMediaCollectionMessage implements IAIMediaCollectionMessage { /** * Constructs a new AIMediaCollectionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIMediaCollectionMessage); /** AIMediaCollectionMessage collectionId. */ public collectionId?: (string|null); /** AIMediaCollectionMessage expectedMediaCount. */ public expectedMediaCount?: (number|null); /** AIMediaCollectionMessage hasGlobalCaption. */ public hasGlobalCaption?: (boolean|null); /** * Creates a new AIMediaCollectionMessage instance using the specified properties. * @param [properties] Properties to set * @returns AIMediaCollectionMessage instance */ public static create(properties?: waproto.IAIMediaCollectionMessage): waproto.AIMediaCollectionMessage; /** * Encodes the specified AIMediaCollectionMessage message. Does not implicitly {@link waproto.AIMediaCollectionMessage.verify|verify} messages. * @param message AIMediaCollectionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIMediaCollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIMediaCollectionMessage message, length delimited. Does not implicitly {@link waproto.AIMediaCollectionMessage.verify|verify} messages. * @param message AIMediaCollectionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIMediaCollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIMediaCollectionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIMediaCollectionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIMediaCollectionMessage; /** * Decodes a AIMediaCollectionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIMediaCollectionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIMediaCollectionMessage; /** * Verifies a AIMediaCollectionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIMediaCollectionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIMediaCollectionMessage */ public static fromObject(object: { [k: string]: any }): waproto.AIMediaCollectionMessage; /** * Creates a plain object from a AIMediaCollectionMessage message. Also converts values to other types if specified. * @param message AIMediaCollectionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIMediaCollectionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIMediaCollectionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIMediaCollectionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIMediaCollectionMetadata. */ interface IAIMediaCollectionMetadata { /** AIMediaCollectionMetadata collectionId */ collectionId?: (string|null); /** AIMediaCollectionMetadata uploadOrderIndex */ uploadOrderIndex?: (number|null); } /** Represents a AIMediaCollectionMetadata. */ class AIMediaCollectionMetadata implements IAIMediaCollectionMetadata { /** * Constructs a new AIMediaCollectionMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIMediaCollectionMetadata); /** AIMediaCollectionMetadata collectionId. */ public collectionId?: (string|null); /** AIMediaCollectionMetadata uploadOrderIndex. */ public uploadOrderIndex?: (number|null); /** * Creates a new AIMediaCollectionMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIMediaCollectionMetadata instance */ public static create(properties?: waproto.IAIMediaCollectionMetadata): waproto.AIMediaCollectionMetadata; /** * Encodes the specified AIMediaCollectionMetadata message. Does not implicitly {@link waproto.AIMediaCollectionMetadata.verify|verify} messages. * @param message AIMediaCollectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIMediaCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIMediaCollectionMetadata message, length delimited. Does not implicitly {@link waproto.AIMediaCollectionMetadata.verify|verify} messages. * @param message AIMediaCollectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIMediaCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIMediaCollectionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIMediaCollectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIMediaCollectionMetadata; /** * Decodes a AIMediaCollectionMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIMediaCollectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIMediaCollectionMetadata; /** * Verifies a AIMediaCollectionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIMediaCollectionMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIMediaCollectionMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIMediaCollectionMetadata; /** * Creates a plain object from a AIMediaCollectionMetadata message. Also converts values to other types if specified. * @param message AIMediaCollectionMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIMediaCollectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIMediaCollectionMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIMediaCollectionMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIMetadataOperation. */ interface IAIMetadataOperation { /** AIMetadataOperation hatchMetadataSync */ hatchMetadataSync?: (waproto.IHatchMetadataSync|null); /** AIMetadataOperation bizAiMetadataSync */ bizAiMetadataSync?: (waproto.IBizAIMetadataSync|null); } /** Represents a AIMetadataOperation. */ class AIMetadataOperation implements IAIMetadataOperation { /** * Constructs a new AIMetadataOperation. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIMetadataOperation); /** AIMetadataOperation hatchMetadataSync. */ public hatchMetadataSync?: (waproto.IHatchMetadataSync|null); /** AIMetadataOperation bizAiMetadataSync. */ public bizAiMetadataSync?: (waproto.IBizAIMetadataSync|null); /** * Creates a new AIMetadataOperation instance using the specified properties. * @param [properties] Properties to set * @returns AIMetadataOperation instance */ public static create(properties?: waproto.IAIMetadataOperation): waproto.AIMetadataOperation; /** * Encodes the specified AIMetadataOperation message. Does not implicitly {@link waproto.AIMetadataOperation.verify|verify} messages. * @param message AIMetadataOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIMetadataOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIMetadataOperation message, length delimited. Does not implicitly {@link waproto.AIMetadataOperation.verify|verify} messages. * @param message AIMetadataOperation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIMetadataOperation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIMetadataOperation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIMetadataOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIMetadataOperation; /** * Decodes a AIMetadataOperation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIMetadataOperation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIMetadataOperation; /** * Verifies a AIMetadataOperation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIMetadataOperation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIMetadataOperation */ public static fromObject(object: { [k: string]: any }): waproto.AIMetadataOperation; /** * Creates a plain object from a AIMetadataOperation message. Also converts values to other types if specified. * @param message AIMetadataOperation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIMetadataOperation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIMetadataOperation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIMetadataOperation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIProvenance. */ interface IAIProvenance { /** AIProvenance c2PaMetadata */ c2PaMetadata?: (waproto.AIProvenance.IMetadata|null); /** AIProvenance iptcMetadata */ iptcMetadata?: (waproto.AIProvenance.IMetadata|null); } /** Represents a AIProvenance. */ class AIProvenance implements IAIProvenance { /** * Constructs a new AIProvenance. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIProvenance); /** AIProvenance c2PaMetadata. */ public c2PaMetadata?: (waproto.AIProvenance.IMetadata|null); /** AIProvenance iptcMetadata. */ public iptcMetadata?: (waproto.AIProvenance.IMetadata|null); /** * Creates a new AIProvenance instance using the specified properties. * @param [properties] Properties to set * @returns AIProvenance instance */ public static create(properties?: waproto.IAIProvenance): waproto.AIProvenance; /** * Encodes the specified AIProvenance message. Does not implicitly {@link waproto.AIProvenance.verify|verify} messages. * @param message AIProvenance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIProvenance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIProvenance message, length delimited. Does not implicitly {@link waproto.AIProvenance.verify|verify} messages. * @param message AIProvenance message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIProvenance, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIProvenance message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIProvenance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIProvenance; /** * Decodes a AIProvenance message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIProvenance * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIProvenance; /** * Verifies a AIProvenance message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIProvenance message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIProvenance */ public static fromObject(object: { [k: string]: any }): waproto.AIProvenance; /** * Creates a plain object from a AIProvenance message. Also converts values to other types if specified. * @param message AIProvenance * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIProvenance, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIProvenance to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIProvenance * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIProvenance { /** Properties of a Metadata. */ interface IMetadata { /** Metadata createdWithGenAi */ createdWithGenAi?: (boolean|null); /** Metadata editedWithGenAi */ editedWithGenAi?: (boolean|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.AIProvenance.IMetadata); /** Metadata createdWithGenAi. */ public createdWithGenAi?: (boolean|null); /** Metadata editedWithGenAi. */ public editedWithGenAi?: (boolean|null); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.AIProvenance.IMetadata): waproto.AIProvenance.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.AIProvenance.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIProvenance.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.AIProvenance.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIProvenance.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIProvenance.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIProvenance.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.AIProvenance.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIProvenance.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIQueryFanout. */ interface IAIQueryFanout { /** AIQueryFanout messageKey */ messageKey?: (waproto.IMessageKey|null); /** AIQueryFanout message */ message?: (waproto.IMessage|null); /** AIQueryFanout timestamp */ timestamp?: (number|Long|null); } /** Represents a AIQueryFanout. */ class AIQueryFanout implements IAIQueryFanout { /** * Constructs a new AIQueryFanout. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIQueryFanout); /** AIQueryFanout messageKey. */ public messageKey?: (waproto.IMessageKey|null); /** AIQueryFanout message. */ public message?: (waproto.IMessage|null); /** AIQueryFanout timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new AIQueryFanout instance using the specified properties. * @param [properties] Properties to set * @returns AIQueryFanout instance */ public static create(properties?: waproto.IAIQueryFanout): waproto.AIQueryFanout; /** * Encodes the specified AIQueryFanout message. Does not implicitly {@link waproto.AIQueryFanout.verify|verify} messages. * @param message AIQueryFanout message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIQueryFanout message, length delimited. Does not implicitly {@link waproto.AIQueryFanout.verify|verify} messages. * @param message AIQueryFanout message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIQueryFanout, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIQueryFanout message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIQueryFanout * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIQueryFanout; /** * Decodes a AIQueryFanout message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIQueryFanout * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIQueryFanout; /** * Verifies a AIQueryFanout message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIQueryFanout message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIQueryFanout */ public static fromObject(object: { [k: string]: any }): waproto.AIQueryFanout; /** * Creates a plain object from a AIQueryFanout message. Also converts values to other types if specified. * @param message AIQueryFanout * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIQueryFanout, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIQueryFanout to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIQueryFanout * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRegenerateMetadata. */ interface IAIRegenerateMetadata { /** AIRegenerateMetadata messageKey */ messageKey?: (waproto.IMessageKey|null); /** AIRegenerateMetadata responseTimestampMs */ responseTimestampMs?: (number|Long|null); } /** Represents a AIRegenerateMetadata. */ class AIRegenerateMetadata implements IAIRegenerateMetadata { /** * Constructs a new AIRegenerateMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRegenerateMetadata); /** AIRegenerateMetadata messageKey. */ public messageKey?: (waproto.IMessageKey|null); /** AIRegenerateMetadata responseTimestampMs. */ public responseTimestampMs?: (number|Long|null); /** * Creates a new AIRegenerateMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRegenerateMetadata instance */ public static create(properties?: waproto.IAIRegenerateMetadata): waproto.AIRegenerateMetadata; /** * Encodes the specified AIRegenerateMetadata message. Does not implicitly {@link waproto.AIRegenerateMetadata.verify|verify} messages. * @param message AIRegenerateMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRegenerateMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRegenerateMetadata message, length delimited. Does not implicitly {@link waproto.AIRegenerateMetadata.verify|verify} messages. * @param message AIRegenerateMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRegenerateMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRegenerateMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRegenerateMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRegenerateMetadata; /** * Decodes a AIRegenerateMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRegenerateMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRegenerateMetadata; /** * Verifies a AIRegenerateMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRegenerateMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRegenerateMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRegenerateMetadata; /** * Creates a plain object from a AIRegenerateMetadata message. Also converts values to other types if specified. * @param message AIRegenerateMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRegenerateMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRegenerateMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRegenerateMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseCodeMetadata. */ interface IAIRichResponseCodeMetadata { /** AIRichResponseCodeMetadata codeLanguage */ codeLanguage?: (string|null); /** AIRichResponseCodeMetadata codeBlocks */ codeBlocks?: (waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null); } /** Represents a AIRichResponseCodeMetadata. */ class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata { /** * Constructs a new AIRichResponseCodeMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseCodeMetadata); /** AIRichResponseCodeMetadata codeLanguage. */ public codeLanguage?: (string|null); /** AIRichResponseCodeMetadata codeBlocks. */ public codeBlocks: waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]; /** * Creates a new AIRichResponseCodeMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseCodeMetadata instance */ public static create(properties?: waproto.IAIRichResponseCodeMetadata): waproto.AIRichResponseCodeMetadata; /** * Encodes the specified AIRichResponseCodeMetadata message. Does not implicitly {@link waproto.AIRichResponseCodeMetadata.verify|verify} messages. * @param message AIRichResponseCodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseCodeMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseCodeMetadata.verify|verify} messages. * @param message AIRichResponseCodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseCodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseCodeMetadata; /** * Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseCodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseCodeMetadata; /** * Verifies a AIRichResponseCodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseCodeMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseCodeMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseCodeMetadata; /** * Creates a plain object from a AIRichResponseCodeMetadata message. Also converts values to other types if specified. * @param message AIRichResponseCodeMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseCodeMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseCodeMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseCodeMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseCodeMetadata { /** AIRichResponseCodeHighlightType enum. */ enum AIRichResponseCodeHighlightType { AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0, AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1, AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2, AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3, AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4, AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5 } /** Properties of a AIRichResponseCodeBlock. */ interface IAIRichResponseCodeBlock { /** AIRichResponseCodeBlock highlightType */ highlightType?: (waproto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null); /** AIRichResponseCodeBlock codeContent */ codeContent?: (string|null); } /** Represents a AIRichResponseCodeBlock. */ class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock { /** * Constructs a new AIRichResponseCodeBlock. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock); /** AIRichResponseCodeBlock highlightType. */ public highlightType?: (waproto.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null); /** AIRichResponseCodeBlock codeContent. */ public codeContent?: (string|null); /** * Creates a new AIRichResponseCodeBlock instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseCodeBlock instance */ public static create(properties?: waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock; /** * Encodes the specified AIRichResponseCodeBlock message. Does not implicitly {@link waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages. * @param message AIRichResponseCodeBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseCodeBlock message, length delimited. Does not implicitly {@link waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages. * @param message AIRichResponseCodeBlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseCodeBlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseCodeBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock; /** * Decodes a AIRichResponseCodeBlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseCodeBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock; /** * Verifies a AIRichResponseCodeBlock message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseCodeBlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseCodeBlock */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock; /** * Creates a plain object from a AIRichResponseCodeBlock message. Also converts values to other types if specified. * @param message AIRichResponseCodeBlock * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseCodeMetadata.AIRichResponseCodeBlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseCodeBlock to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseCodeBlock * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIRichResponseContentItemsMetadata. */ interface IAIRichResponseContentItemsMetadata { /** AIRichResponseContentItemsMetadata itemsMetadata */ itemsMetadata?: (waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[]|null); /** AIRichResponseContentItemsMetadata contentType */ contentType?: (waproto.AIRichResponseContentItemsMetadata.ContentType|null); } /** Represents a AIRichResponseContentItemsMetadata. */ class AIRichResponseContentItemsMetadata implements IAIRichResponseContentItemsMetadata { /** * Constructs a new AIRichResponseContentItemsMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseContentItemsMetadata); /** AIRichResponseContentItemsMetadata itemsMetadata. */ public itemsMetadata: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata[]; /** AIRichResponseContentItemsMetadata contentType. */ public contentType?: (waproto.AIRichResponseContentItemsMetadata.ContentType|null); /** * Creates a new AIRichResponseContentItemsMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseContentItemsMetadata instance */ public static create(properties?: waproto.IAIRichResponseContentItemsMetadata): waproto.AIRichResponseContentItemsMetadata; /** * Encodes the specified AIRichResponseContentItemsMetadata message. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.verify|verify} messages. * @param message AIRichResponseContentItemsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseContentItemsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseContentItemsMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.verify|verify} messages. * @param message AIRichResponseContentItemsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseContentItemsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseContentItemsMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseContentItemsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseContentItemsMetadata; /** * Decodes a AIRichResponseContentItemsMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseContentItemsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseContentItemsMetadata; /** * Verifies a AIRichResponseContentItemsMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseContentItemsMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseContentItemsMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseContentItemsMetadata; /** * Creates a plain object from a AIRichResponseContentItemsMetadata message. Also converts values to other types if specified. * @param message AIRichResponseContentItemsMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseContentItemsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseContentItemsMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseContentItemsMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseContentItemsMetadata { /** ContentType enum. */ enum ContentType { DEFAULT = 0, CAROUSEL = 1 } /** Properties of a AIRichResponseContentItemMetadata. */ interface IAIRichResponseContentItemMetadata { /** AIRichResponseContentItemMetadata reelItem */ reelItem?: (waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null); } /** Represents a AIRichResponseContentItemMetadata. */ class AIRichResponseContentItemMetadata implements IAIRichResponseContentItemMetadata { /** * Constructs a new AIRichResponseContentItemMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata); /** AIRichResponseContentItemMetadata reelItem. */ public reelItem?: (waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem|null); /** AIRichResponseContentItemMetadata aiRichResponseContentItem. */ public aiRichResponseContentItem?: "reelItem"; /** * Creates a new AIRichResponseContentItemMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseContentItemMetadata instance */ public static create(properties?: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata): waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata; /** * Encodes the specified AIRichResponseContentItemMetadata message. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata.verify|verify} messages. * @param message AIRichResponseContentItemMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseContentItemMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata.verify|verify} messages. * @param message AIRichResponseContentItemMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseContentItemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseContentItemMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseContentItemMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata; /** * Decodes a AIRichResponseContentItemMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseContentItemMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata; /** * Verifies a AIRichResponseContentItemMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseContentItemMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseContentItemMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata; /** * Creates a plain object from a AIRichResponseContentItemMetadata message. Also converts values to other types if specified. * @param message AIRichResponseContentItemMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseContentItemsMetadata.AIRichResponseContentItemMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseContentItemMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseContentItemMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseReelItem. */ interface IAIRichResponseReelItem { /** AIRichResponseReelItem title */ title?: (string|null); /** AIRichResponseReelItem profileIconUrl */ profileIconUrl?: (string|null); /** AIRichResponseReelItem thumbnailUrl */ thumbnailUrl?: (string|null); /** AIRichResponseReelItem videoUrl */ videoUrl?: (string|null); } /** Represents a AIRichResponseReelItem. */ class AIRichResponseReelItem implements IAIRichResponseReelItem { /** * Constructs a new AIRichResponseReelItem. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem); /** AIRichResponseReelItem title. */ public title?: (string|null); /** AIRichResponseReelItem profileIconUrl. */ public profileIconUrl?: (string|null); /** AIRichResponseReelItem thumbnailUrl. */ public thumbnailUrl?: (string|null); /** AIRichResponseReelItem videoUrl. */ public videoUrl?: (string|null); /** * Creates a new AIRichResponseReelItem instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseReelItem instance */ public static create(properties?: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem): waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem; /** * Encodes the specified AIRichResponseReelItem message. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem.verify|verify} messages. * @param message AIRichResponseReelItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseReelItem message, length delimited. Does not implicitly {@link waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem.verify|verify} messages. * @param message AIRichResponseReelItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseContentItemsMetadata.IAIRichResponseReelItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseReelItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseReelItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem; /** * Decodes a AIRichResponseReelItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseReelItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem; /** * Verifies a AIRichResponseReelItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseReelItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseReelItem */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem; /** * Creates a plain object from a AIRichResponseReelItem message. Also converts values to other types if specified. * @param message AIRichResponseReelItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseContentItemsMetadata.AIRichResponseReelItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseReelItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseReelItem * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIRichResponseDynamicMetadata. */ interface IAIRichResponseDynamicMetadata { /** AIRichResponseDynamicMetadata type */ type?: (waproto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null); /** AIRichResponseDynamicMetadata version */ version?: (number|Long|null); /** AIRichResponseDynamicMetadata url */ url?: (string|null); /** AIRichResponseDynamicMetadata loopCount */ loopCount?: (number|null); } /** Represents a AIRichResponseDynamicMetadata. */ class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata { /** * Constructs a new AIRichResponseDynamicMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseDynamicMetadata); /** AIRichResponseDynamicMetadata type. */ public type?: (waproto.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null); /** AIRichResponseDynamicMetadata version. */ public version?: (number|Long|null); /** AIRichResponseDynamicMetadata url. */ public url?: (string|null); /** AIRichResponseDynamicMetadata loopCount. */ public loopCount?: (number|null); /** * Creates a new AIRichResponseDynamicMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseDynamicMetadata instance */ public static create(properties?: waproto.IAIRichResponseDynamicMetadata): waproto.AIRichResponseDynamicMetadata; /** * Encodes the specified AIRichResponseDynamicMetadata message. Does not implicitly {@link waproto.AIRichResponseDynamicMetadata.verify|verify} messages. * @param message AIRichResponseDynamicMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseDynamicMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseDynamicMetadata.verify|verify} messages. * @param message AIRichResponseDynamicMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseDynamicMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseDynamicMetadata; /** * Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseDynamicMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseDynamicMetadata; /** * Verifies a AIRichResponseDynamicMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseDynamicMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseDynamicMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseDynamicMetadata; /** * Creates a plain object from a AIRichResponseDynamicMetadata message. Also converts values to other types if specified. * @param message AIRichResponseDynamicMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseDynamicMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseDynamicMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseDynamicMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseDynamicMetadata { /** AIRichResponseDynamicMetadataType enum. */ enum AIRichResponseDynamicMetadataType { AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0, AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1, AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2 } } /** Properties of a AIRichResponseGridImageMetadata. */ interface IAIRichResponseGridImageMetadata { /** AIRichResponseGridImageMetadata gridImageUrl */ gridImageUrl?: (waproto.IAIRichResponseImageURL|null); /** AIRichResponseGridImageMetadata imageUrls */ imageUrls?: (waproto.IAIRichResponseImageURL[]|null); } /** Represents a AIRichResponseGridImageMetadata. */ class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata { /** * Constructs a new AIRichResponseGridImageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseGridImageMetadata); /** AIRichResponseGridImageMetadata gridImageUrl. */ public gridImageUrl?: (waproto.IAIRichResponseImageURL|null); /** AIRichResponseGridImageMetadata imageUrls. */ public imageUrls: waproto.IAIRichResponseImageURL[]; /** * Creates a new AIRichResponseGridImageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseGridImageMetadata instance */ public static create(properties?: waproto.IAIRichResponseGridImageMetadata): waproto.AIRichResponseGridImageMetadata; /** * Encodes the specified AIRichResponseGridImageMetadata message. Does not implicitly {@link waproto.AIRichResponseGridImageMetadata.verify|verify} messages. * @param message AIRichResponseGridImageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseGridImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseGridImageMetadata.verify|verify} messages. * @param message AIRichResponseGridImageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseGridImageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseGridImageMetadata; /** * Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseGridImageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseGridImageMetadata; /** * Verifies a AIRichResponseGridImageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseGridImageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseGridImageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseGridImageMetadata; /** * Creates a plain object from a AIRichResponseGridImageMetadata message. Also converts values to other types if specified. * @param message AIRichResponseGridImageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseGridImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseGridImageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseGridImageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseImageURL. */ interface IAIRichResponseImageURL { /** AIRichResponseImageURL imagePreviewUrl */ imagePreviewUrl?: (string|null); /** AIRichResponseImageURL imageHighResUrl */ imageHighResUrl?: (string|null); /** AIRichResponseImageURL sourceUrl */ sourceUrl?: (string|null); } /** Represents a AIRichResponseImageURL. */ class AIRichResponseImageURL implements IAIRichResponseImageURL { /** * Constructs a new AIRichResponseImageURL. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseImageURL); /** AIRichResponseImageURL imagePreviewUrl. */ public imagePreviewUrl?: (string|null); /** AIRichResponseImageURL imageHighResUrl. */ public imageHighResUrl?: (string|null); /** AIRichResponseImageURL sourceUrl. */ public sourceUrl?: (string|null); /** * Creates a new AIRichResponseImageURL instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseImageURL instance */ public static create(properties?: waproto.IAIRichResponseImageURL): waproto.AIRichResponseImageURL; /** * Encodes the specified AIRichResponseImageURL message. Does not implicitly {@link waproto.AIRichResponseImageURL.verify|verify} messages. * @param message AIRichResponseImageURL message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseImageURL message, length delimited. Does not implicitly {@link waproto.AIRichResponseImageURL.verify|verify} messages. * @param message AIRichResponseImageURL message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseImageURL message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseImageURL * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseImageURL; /** * Decodes a AIRichResponseImageURL message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseImageURL * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseImageURL; /** * Verifies a AIRichResponseImageURL message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseImageURL message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseImageURL */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseImageURL; /** * Creates a plain object from a AIRichResponseImageURL message. Also converts values to other types if specified. * @param message AIRichResponseImageURL * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseImageURL, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseImageURL to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseImageURL * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseInlineImageMetadata. */ interface IAIRichResponseInlineImageMetadata { /** AIRichResponseInlineImageMetadata imageUrl */ imageUrl?: (waproto.IAIRichResponseImageURL|null); /** AIRichResponseInlineImageMetadata imageText */ imageText?: (string|null); /** AIRichResponseInlineImageMetadata alignment */ alignment?: (waproto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null); /** AIRichResponseInlineImageMetadata tapLinkUrl */ tapLinkUrl?: (string|null); } /** Represents a AIRichResponseInlineImageMetadata. */ class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata { /** * Constructs a new AIRichResponseInlineImageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseInlineImageMetadata); /** AIRichResponseInlineImageMetadata imageUrl. */ public imageUrl?: (waproto.IAIRichResponseImageURL|null); /** AIRichResponseInlineImageMetadata imageText. */ public imageText?: (string|null); /** AIRichResponseInlineImageMetadata alignment. */ public alignment?: (waproto.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null); /** AIRichResponseInlineImageMetadata tapLinkUrl. */ public tapLinkUrl?: (string|null); /** * Creates a new AIRichResponseInlineImageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseInlineImageMetadata instance */ public static create(properties?: waproto.IAIRichResponseInlineImageMetadata): waproto.AIRichResponseInlineImageMetadata; /** * Encodes the specified AIRichResponseInlineImageMetadata message. Does not implicitly {@link waproto.AIRichResponseInlineImageMetadata.verify|verify} messages. * @param message AIRichResponseInlineImageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseInlineImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseInlineImageMetadata.verify|verify} messages. * @param message AIRichResponseInlineImageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseInlineImageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseInlineImageMetadata; /** * Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseInlineImageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseInlineImageMetadata; /** * Verifies a AIRichResponseInlineImageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseInlineImageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseInlineImageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseInlineImageMetadata; /** * Creates a plain object from a AIRichResponseInlineImageMetadata message. Also converts values to other types if specified. * @param message AIRichResponseInlineImageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseInlineImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseInlineImageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseInlineImageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseInlineImageMetadata { /** AIRichResponseImageAlignment enum. */ enum AIRichResponseImageAlignment { AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0, AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1, AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2 } } /** Properties of a AIRichResponseLatexMetadata. */ interface IAIRichResponseLatexMetadata { /** AIRichResponseLatexMetadata text */ text?: (string|null); /** AIRichResponseLatexMetadata expressions */ expressions?: (waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[]|null); } /** Represents a AIRichResponseLatexMetadata. */ class AIRichResponseLatexMetadata implements IAIRichResponseLatexMetadata { /** * Constructs a new AIRichResponseLatexMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseLatexMetadata); /** AIRichResponseLatexMetadata text. */ public text?: (string|null); /** AIRichResponseLatexMetadata expressions. */ public expressions: waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression[]; /** * Creates a new AIRichResponseLatexMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseLatexMetadata instance */ public static create(properties?: waproto.IAIRichResponseLatexMetadata): waproto.AIRichResponseLatexMetadata; /** * Encodes the specified AIRichResponseLatexMetadata message. Does not implicitly {@link waproto.AIRichResponseLatexMetadata.verify|verify} messages. * @param message AIRichResponseLatexMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseLatexMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseLatexMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseLatexMetadata.verify|verify} messages. * @param message AIRichResponseLatexMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseLatexMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseLatexMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseLatexMetadata; /** * Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseLatexMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseLatexMetadata; /** * Verifies a AIRichResponseLatexMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseLatexMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseLatexMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseLatexMetadata; /** * Creates a plain object from a AIRichResponseLatexMetadata message. Also converts values to other types if specified. * @param message AIRichResponseLatexMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseLatexMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseLatexMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseLatexMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseLatexMetadata { /** Properties of a AIRichResponseLatexExpression. */ interface IAIRichResponseLatexExpression { /** AIRichResponseLatexExpression latexExpression */ latexExpression?: (string|null); /** AIRichResponseLatexExpression url */ url?: (string|null); /** AIRichResponseLatexExpression width */ width?: (number|null); /** AIRichResponseLatexExpression height */ height?: (number|null); /** AIRichResponseLatexExpression fontHeight */ fontHeight?: (number|null); /** AIRichResponseLatexExpression imageTopPadding */ imageTopPadding?: (number|null); /** AIRichResponseLatexExpression imageLeadingPadding */ imageLeadingPadding?: (number|null); /** AIRichResponseLatexExpression imageBottomPadding */ imageBottomPadding?: (number|null); /** AIRichResponseLatexExpression imageTrailingPadding */ imageTrailingPadding?: (number|null); } /** Represents a AIRichResponseLatexExpression. */ class AIRichResponseLatexExpression implements IAIRichResponseLatexExpression { /** * Constructs a new AIRichResponseLatexExpression. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression); /** AIRichResponseLatexExpression latexExpression. */ public latexExpression?: (string|null); /** AIRichResponseLatexExpression url. */ public url?: (string|null); /** AIRichResponseLatexExpression width. */ public width?: (number|null); /** AIRichResponseLatexExpression height. */ public height?: (number|null); /** AIRichResponseLatexExpression fontHeight. */ public fontHeight?: (number|null); /** AIRichResponseLatexExpression imageTopPadding. */ public imageTopPadding?: (number|null); /** AIRichResponseLatexExpression imageLeadingPadding. */ public imageLeadingPadding?: (number|null); /** AIRichResponseLatexExpression imageBottomPadding. */ public imageBottomPadding?: (number|null); /** AIRichResponseLatexExpression imageTrailingPadding. */ public imageTrailingPadding?: (number|null); /** * Creates a new AIRichResponseLatexExpression instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseLatexExpression instance */ public static create(properties?: waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression): waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression; /** * Encodes the specified AIRichResponseLatexExpression message. Does not implicitly {@link waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression.verify|verify} messages. * @param message AIRichResponseLatexExpression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseLatexExpression message, length delimited. Does not implicitly {@link waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression.verify|verify} messages. * @param message AIRichResponseLatexExpression message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseLatexMetadata.IAIRichResponseLatexExpression, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseLatexExpression message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseLatexExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression; /** * Decodes a AIRichResponseLatexExpression message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseLatexExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression; /** * Verifies a AIRichResponseLatexExpression message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseLatexExpression message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseLatexExpression */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression; /** * Creates a plain object from a AIRichResponseLatexExpression message. Also converts values to other types if specified. * @param message AIRichResponseLatexExpression * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseLatexMetadata.AIRichResponseLatexExpression, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseLatexExpression to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseLatexExpression * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIRichResponseMapMetadata. */ interface IAIRichResponseMapMetadata { /** AIRichResponseMapMetadata centerLatitude */ centerLatitude?: (number|null); /** AIRichResponseMapMetadata centerLongitude */ centerLongitude?: (number|null); /** AIRichResponseMapMetadata latitudeDelta */ latitudeDelta?: (number|null); /** AIRichResponseMapMetadata longitudeDelta */ longitudeDelta?: (number|null); /** AIRichResponseMapMetadata annotations */ annotations?: (waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[]|null); /** AIRichResponseMapMetadata showInfoList */ showInfoList?: (boolean|null); } /** Represents a AIRichResponseMapMetadata. */ class AIRichResponseMapMetadata implements IAIRichResponseMapMetadata { /** * Constructs a new AIRichResponseMapMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseMapMetadata); /** AIRichResponseMapMetadata centerLatitude. */ public centerLatitude?: (number|null); /** AIRichResponseMapMetadata centerLongitude. */ public centerLongitude?: (number|null); /** AIRichResponseMapMetadata latitudeDelta. */ public latitudeDelta?: (number|null); /** AIRichResponseMapMetadata longitudeDelta. */ public longitudeDelta?: (number|null); /** AIRichResponseMapMetadata annotations. */ public annotations: waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation[]; /** AIRichResponseMapMetadata showInfoList. */ public showInfoList?: (boolean|null); /** * Creates a new AIRichResponseMapMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseMapMetadata instance */ public static create(properties?: waproto.IAIRichResponseMapMetadata): waproto.AIRichResponseMapMetadata; /** * Encodes the specified AIRichResponseMapMetadata message. Does not implicitly {@link waproto.AIRichResponseMapMetadata.verify|verify} messages. * @param message AIRichResponseMapMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseMapMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseMapMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMapMetadata.verify|verify} messages. * @param message AIRichResponseMapMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseMapMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseMapMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseMapMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMapMetadata; /** * Decodes a AIRichResponseMapMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseMapMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMapMetadata; /** * Verifies a AIRichResponseMapMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseMapMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseMapMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMapMetadata; /** * Creates a plain object from a AIRichResponseMapMetadata message. Also converts values to other types if specified. * @param message AIRichResponseMapMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseMapMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseMapMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseMapMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseMapMetadata { /** Properties of a AIRichResponseMapAnnotation. */ interface IAIRichResponseMapAnnotation { /** AIRichResponseMapAnnotation annotationNumber */ annotationNumber?: (number|null); /** AIRichResponseMapAnnotation latitude */ latitude?: (number|null); /** AIRichResponseMapAnnotation longitude */ longitude?: (number|null); /** AIRichResponseMapAnnotation title */ title?: (string|null); /** AIRichResponseMapAnnotation body */ body?: (string|null); } /** Represents a AIRichResponseMapAnnotation. */ class AIRichResponseMapAnnotation implements IAIRichResponseMapAnnotation { /** * Constructs a new AIRichResponseMapAnnotation. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation); /** AIRichResponseMapAnnotation annotationNumber. */ public annotationNumber?: (number|null); /** AIRichResponseMapAnnotation latitude. */ public latitude?: (number|null); /** AIRichResponseMapAnnotation longitude. */ public longitude?: (number|null); /** AIRichResponseMapAnnotation title. */ public title?: (string|null); /** AIRichResponseMapAnnotation body. */ public body?: (string|null); /** * Creates a new AIRichResponseMapAnnotation instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseMapAnnotation instance */ public static create(properties?: waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation): waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation; /** * Encodes the specified AIRichResponseMapAnnotation message. Does not implicitly {@link waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation.verify|verify} messages. * @param message AIRichResponseMapAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseMapAnnotation message, length delimited. Does not implicitly {@link waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation.verify|verify} messages. * @param message AIRichResponseMapAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseMapMetadata.IAIRichResponseMapAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseMapAnnotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseMapAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation; /** * Decodes a AIRichResponseMapAnnotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseMapAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation; /** * Verifies a AIRichResponseMapAnnotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseMapAnnotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseMapAnnotation */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation; /** * Creates a plain object from a AIRichResponseMapAnnotation message. Also converts values to other types if specified. * @param message AIRichResponseMapAnnotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseMapMetadata.AIRichResponseMapAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseMapAnnotation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseMapAnnotation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIRichResponseMessage. */ interface IAIRichResponseMessage { /** AIRichResponseMessage messageType */ messageType?: (waproto.AIRichResponseMessageType|null); /** AIRichResponseMessage submessages */ submessages?: (waproto.IAIRichResponseSubMessage[]|null); /** AIRichResponseMessage unifiedResponse */ unifiedResponse?: (waproto.IAIRichResponseUnifiedResponse|null); /** AIRichResponseMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** AIRichResponseMessage originalRecipientMetadata */ originalRecipientMetadata?: (waproto.IAIRichResponseUnifiedResponse|null); } /** Represents a AIRichResponseMessage. */ class AIRichResponseMessage implements IAIRichResponseMessage { /** * Constructs a new AIRichResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseMessage); /** AIRichResponseMessage messageType. */ public messageType?: (waproto.AIRichResponseMessageType|null); /** AIRichResponseMessage submessages. */ public submessages: waproto.IAIRichResponseSubMessage[]; /** AIRichResponseMessage unifiedResponse. */ public unifiedResponse?: (waproto.IAIRichResponseUnifiedResponse|null); /** AIRichResponseMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** AIRichResponseMessage originalRecipientMetadata. */ public originalRecipientMetadata?: (waproto.IAIRichResponseUnifiedResponse|null); /** * Creates a new AIRichResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseMessage instance */ public static create(properties?: waproto.IAIRichResponseMessage): waproto.AIRichResponseMessage; /** * Encodes the specified AIRichResponseMessage message. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages. * @param message AIRichResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages. * @param message AIRichResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage; /** * Decodes a AIRichResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage; /** * Verifies a AIRichResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage; /** * Creates a plain object from a AIRichResponseMessage message. Also converts values to other types if specified. * @param message AIRichResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseSubMessage. */ interface IAIRichResponseSubMessage { /** AIRichResponseSubMessage messageType */ messageType?: (waproto.AIRichResponseSubMessageType|null); /** AIRichResponseSubMessage gridImageMetadata */ gridImageMetadata?: (waproto.IAIRichResponseGridImageMetadata|null); /** AIRichResponseSubMessage messageText */ messageText?: (string|null); /** AIRichResponseSubMessage imageMetadata */ imageMetadata?: (waproto.IAIRichResponseInlineImageMetadata|null); /** AIRichResponseSubMessage codeMetadata */ codeMetadata?: (waproto.IAIRichResponseCodeMetadata|null); /** AIRichResponseSubMessage tableMetadata */ tableMetadata?: (waproto.IAIRichResponseTableMetadata|null); /** AIRichResponseSubMessage dynamicMetadata */ dynamicMetadata?: (waproto.IAIRichResponseDynamicMetadata|null); /** AIRichResponseSubMessage latexMetadata */ latexMetadata?: (waproto.IAIRichResponseLatexMetadata|null); /** AIRichResponseSubMessage mapMetadata */ mapMetadata?: (waproto.IAIRichResponseMapMetadata|null); /** AIRichResponseSubMessage contentItemsMetadata */ contentItemsMetadata?: (waproto.IAIRichResponseContentItemsMetadata|null); } /** Represents a AIRichResponseSubMessage. */ class AIRichResponseSubMessage implements IAIRichResponseSubMessage { /** * Constructs a new AIRichResponseSubMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseSubMessage); /** AIRichResponseSubMessage messageType. */ public messageType?: (waproto.AIRichResponseSubMessageType|null); /** AIRichResponseSubMessage gridImageMetadata. */ public gridImageMetadata?: (waproto.IAIRichResponseGridImageMetadata|null); /** AIRichResponseSubMessage messageText. */ public messageText?: (string|null); /** AIRichResponseSubMessage imageMetadata. */ public imageMetadata?: (waproto.IAIRichResponseInlineImageMetadata|null); /** AIRichResponseSubMessage codeMetadata. */ public codeMetadata?: (waproto.IAIRichResponseCodeMetadata|null); /** AIRichResponseSubMessage tableMetadata. */ public tableMetadata?: (waproto.IAIRichResponseTableMetadata|null); /** AIRichResponseSubMessage dynamicMetadata. */ public dynamicMetadata?: (waproto.IAIRichResponseDynamicMetadata|null); /** AIRichResponseSubMessage latexMetadata. */ public latexMetadata?: (waproto.IAIRichResponseLatexMetadata|null); /** AIRichResponseSubMessage mapMetadata. */ public mapMetadata?: (waproto.IAIRichResponseMapMetadata|null); /** AIRichResponseSubMessage contentItemsMetadata. */ public contentItemsMetadata?: (waproto.IAIRichResponseContentItemsMetadata|null); /** * Creates a new AIRichResponseSubMessage instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseSubMessage instance */ public static create(properties?: waproto.IAIRichResponseSubMessage): waproto.AIRichResponseSubMessage; /** * Encodes the specified AIRichResponseSubMessage message. Does not implicitly {@link waproto.AIRichResponseSubMessage.verify|verify} messages. * @param message AIRichResponseSubMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseSubMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseSubMessage.verify|verify} messages. * @param message AIRichResponseSubMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseSubMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseSubMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseSubMessage; /** * Decodes a AIRichResponseSubMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseSubMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseSubMessage; /** * Verifies a AIRichResponseSubMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseSubMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseSubMessage */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseSubMessage; /** * Creates a plain object from a AIRichResponseSubMessage message. Also converts values to other types if specified. * @param message AIRichResponseSubMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseSubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseSubMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseSubMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIRichResponseTableMetadata. */ interface IAIRichResponseTableMetadata { /** AIRichResponseTableMetadata rows */ rows?: (waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null); /** AIRichResponseTableMetadata title */ title?: (string|null); } /** Represents a AIRichResponseTableMetadata. */ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata { /** * Constructs a new AIRichResponseTableMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseTableMetadata); /** AIRichResponseTableMetadata rows. */ public rows: waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow[]; /** AIRichResponseTableMetadata title. */ public title?: (string|null); /** * Creates a new AIRichResponseTableMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseTableMetadata instance */ public static create(properties?: waproto.IAIRichResponseTableMetadata): waproto.AIRichResponseTableMetadata; /** * Encodes the specified AIRichResponseTableMetadata message. Does not implicitly {@link waproto.AIRichResponseTableMetadata.verify|verify} messages. * @param message AIRichResponseTableMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseTableMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseTableMetadata.verify|verify} messages. * @param message AIRichResponseTableMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseTableMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseTableMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseTableMetadata; /** * Decodes a AIRichResponseTableMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseTableMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseTableMetadata; /** * Verifies a AIRichResponseTableMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseTableMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseTableMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseTableMetadata; /** * Creates a plain object from a AIRichResponseTableMetadata message. Also converts values to other types if specified. * @param message AIRichResponseTableMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseTableMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseTableMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseTableMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIRichResponseTableMetadata { /** Properties of a AIRichResponseTableRow. */ interface IAIRichResponseTableRow { /** AIRichResponseTableRow items */ items?: (string[]|null); /** AIRichResponseTableRow isHeading */ isHeading?: (boolean|null); } /** Represents a AIRichResponseTableRow. */ class AIRichResponseTableRow implements IAIRichResponseTableRow { /** * Constructs a new AIRichResponseTableRow. * @param [properties] Properties to set */ constructor(properties?: waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow); /** AIRichResponseTableRow items. */ public items: string[]; /** AIRichResponseTableRow isHeading. */ public isHeading?: (boolean|null); /** * Creates a new AIRichResponseTableRow instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseTableRow instance */ public static create(properties?: waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow): waproto.AIRichResponseTableMetadata.AIRichResponseTableRow; /** * Encodes the specified AIRichResponseTableRow message. Does not implicitly {@link waproto.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages. * @param message AIRichResponseTableRow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseTableRow message, length delimited. Does not implicitly {@link waproto.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages. * @param message AIRichResponseTableRow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseTableRow message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseTableRow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseTableMetadata.AIRichResponseTableRow; /** * Decodes a AIRichResponseTableRow message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseTableRow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseTableMetadata.AIRichResponseTableRow; /** * Verifies a AIRichResponseTableRow message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseTableRow message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseTableRow */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseTableMetadata.AIRichResponseTableRow; /** * Creates a plain object from a AIRichResponseTableRow message. Also converts values to other types if specified. * @param message AIRichResponseTableRow * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseTableMetadata.AIRichResponseTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseTableRow to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseTableRow * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a AIRichResponseUnifiedResponse. */ interface IAIRichResponseUnifiedResponse { /** AIRichResponseUnifiedResponse data */ data?: (Uint8Array|null); } /** Represents a AIRichResponseUnifiedResponse. */ class AIRichResponseUnifiedResponse implements IAIRichResponseUnifiedResponse { /** * Constructs a new AIRichResponseUnifiedResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIRichResponseUnifiedResponse); /** AIRichResponseUnifiedResponse data. */ public data?: (Uint8Array|null); /** * Creates a new AIRichResponseUnifiedResponse instance using the specified properties. * @param [properties] Properties to set * @returns AIRichResponseUnifiedResponse instance */ public static create(properties?: waproto.IAIRichResponseUnifiedResponse): waproto.AIRichResponseUnifiedResponse; /** * Encodes the specified AIRichResponseUnifiedResponse message. Does not implicitly {@link waproto.AIRichResponseUnifiedResponse.verify|verify} messages. * @param message AIRichResponseUnifiedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIRichResponseUnifiedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIRichResponseUnifiedResponse message, length delimited. Does not implicitly {@link waproto.AIRichResponseUnifiedResponse.verify|verify} messages. * @param message AIRichResponseUnifiedResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIRichResponseUnifiedResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIRichResponseUnifiedResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIRichResponseUnifiedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseUnifiedResponse; /** * Decodes a AIRichResponseUnifiedResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIRichResponseUnifiedResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseUnifiedResponse; /** * Verifies a AIRichResponseUnifiedResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIRichResponseUnifiedResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIRichResponseUnifiedResponse */ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseUnifiedResponse; /** * Creates a plain object from a AIRichResponseUnifiedResponse message. Also converts values to other types if specified. * @param message AIRichResponseUnifiedResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIRichResponseUnifiedResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIRichResponseUnifiedResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIRichResponseUnifiedResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AISubscriptionUpsellMetadata. */ interface IAISubscriptionUpsellMetadata { /** AISubscriptionUpsellMetadata requestType */ requestType?: (waproto.AISubscriptionRequestType|null); } /** Represents a AISubscriptionUpsellMetadata. */ class AISubscriptionUpsellMetadata implements IAISubscriptionUpsellMetadata { /** * Constructs a new AISubscriptionUpsellMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IAISubscriptionUpsellMetadata); /** AISubscriptionUpsellMetadata requestType. */ public requestType?: (waproto.AISubscriptionRequestType|null); /** * Creates a new AISubscriptionUpsellMetadata instance using the specified properties. * @param [properties] Properties to set * @returns AISubscriptionUpsellMetadata instance */ public static create(properties?: waproto.IAISubscriptionUpsellMetadata): waproto.AISubscriptionUpsellMetadata; /** * Encodes the specified AISubscriptionUpsellMetadata message. Does not implicitly {@link waproto.AISubscriptionUpsellMetadata.verify|verify} messages. * @param message AISubscriptionUpsellMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAISubscriptionUpsellMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AISubscriptionUpsellMetadata message, length delimited. Does not implicitly {@link waproto.AISubscriptionUpsellMetadata.verify|verify} messages. * @param message AISubscriptionUpsellMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAISubscriptionUpsellMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AISubscriptionUpsellMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AISubscriptionUpsellMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AISubscriptionUpsellMetadata; /** * Decodes a AISubscriptionUpsellMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AISubscriptionUpsellMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AISubscriptionUpsellMetadata; /** * Verifies a AISubscriptionUpsellMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AISubscriptionUpsellMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AISubscriptionUpsellMetadata */ public static fromObject(object: { [k: string]: any }): waproto.AISubscriptionUpsellMetadata; /** * Creates a plain object from a AISubscriptionUpsellMetadata message. Also converts values to other types if specified. * @param message AISubscriptionUpsellMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AISubscriptionUpsellMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AISubscriptionUpsellMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AISubscriptionUpsellMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIThreadInfo. */ interface IAIThreadInfo { /** AIThreadInfo serverInfo */ serverInfo?: (waproto.AIThreadInfo.IAIThreadServerInfo|null); /** AIThreadInfo clientInfo */ clientInfo?: (waproto.AIThreadInfo.IAIThreadClientInfo|null); } /** Represents a AIThreadInfo. */ class AIThreadInfo implements IAIThreadInfo { /** * Constructs a new AIThreadInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IAIThreadInfo); /** AIThreadInfo serverInfo. */ public serverInfo?: (waproto.AIThreadInfo.IAIThreadServerInfo|null); /** AIThreadInfo clientInfo. */ public clientInfo?: (waproto.AIThreadInfo.IAIThreadClientInfo|null); /** * Creates a new AIThreadInfo instance using the specified properties. * @param [properties] Properties to set * @returns AIThreadInfo instance */ public static create(properties?: waproto.IAIThreadInfo): waproto.AIThreadInfo; /** * Encodes the specified AIThreadInfo message. Does not implicitly {@link waproto.AIThreadInfo.verify|verify} messages. * @param message AIThreadInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAIThreadInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIThreadInfo message, length delimited. Does not implicitly {@link waproto.AIThreadInfo.verify|verify} messages. * @param message AIThreadInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAIThreadInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIThreadInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIThreadInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIThreadInfo; /** * Decodes a AIThreadInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIThreadInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIThreadInfo; /** * Verifies a AIThreadInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIThreadInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIThreadInfo */ public static fromObject(object: { [k: string]: any }): waproto.AIThreadInfo; /** * Creates a plain object from a AIThreadInfo message. Also converts values to other types if specified. * @param message AIThreadInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIThreadInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIThreadInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIThreadInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIThreadInfo { /** Properties of a AIThreadClientInfo. */ interface IAIThreadClientInfo { /** AIThreadClientInfo type */ type?: (waproto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null); /** AIThreadClientInfo sourceChatJid */ sourceChatJid?: (string|null); } /** Represents a AIThreadClientInfo. */ class AIThreadClientInfo implements IAIThreadClientInfo { /** * Constructs a new AIThreadClientInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.AIThreadInfo.IAIThreadClientInfo); /** AIThreadClientInfo type. */ public type?: (waproto.AIThreadInfo.AIThreadClientInfo.AIThreadType|null); /** AIThreadClientInfo sourceChatJid. */ public sourceChatJid?: (string|null); /** * Creates a new AIThreadClientInfo instance using the specified properties. * @param [properties] Properties to set * @returns AIThreadClientInfo instance */ public static create(properties?: waproto.AIThreadInfo.IAIThreadClientInfo): waproto.AIThreadInfo.AIThreadClientInfo; /** * Encodes the specified AIThreadClientInfo message. Does not implicitly {@link waproto.AIThreadInfo.AIThreadClientInfo.verify|verify} messages. * @param message AIThreadClientInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIThreadInfo.IAIThreadClientInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIThreadClientInfo message, length delimited. Does not implicitly {@link waproto.AIThreadInfo.AIThreadClientInfo.verify|verify} messages. * @param message AIThreadClientInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIThreadInfo.IAIThreadClientInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIThreadClientInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIThreadClientInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIThreadInfo.AIThreadClientInfo; /** * Decodes a AIThreadClientInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIThreadClientInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIThreadInfo.AIThreadClientInfo; /** * Verifies a AIThreadClientInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIThreadClientInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIThreadClientInfo */ public static fromObject(object: { [k: string]: any }): waproto.AIThreadInfo.AIThreadClientInfo; /** * Creates a plain object from a AIThreadClientInfo message. Also converts values to other types if specified. * @param message AIThreadClientInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIThreadInfo.AIThreadClientInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIThreadClientInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIThreadClientInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AIThreadClientInfo { /** AIThreadType enum. */ enum AIThreadType { UNKNOWN = 0, DEFAULT = 1, INCOGNITO = 2, SIDE_CHAT = 3 } } /** Properties of a AIThreadServerInfo. */ interface IAIThreadServerInfo { /** AIThreadServerInfo title */ title?: (string|null); } /** Represents a AIThreadServerInfo. */ class AIThreadServerInfo implements IAIThreadServerInfo { /** * Constructs a new AIThreadServerInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.AIThreadInfo.IAIThreadServerInfo); /** AIThreadServerInfo title. */ public title?: (string|null); /** * Creates a new AIThreadServerInfo instance using the specified properties. * @param [properties] Properties to set * @returns AIThreadServerInfo instance */ public static create(properties?: waproto.AIThreadInfo.IAIThreadServerInfo): waproto.AIThreadInfo.AIThreadServerInfo; /** * Encodes the specified AIThreadServerInfo message. Does not implicitly {@link waproto.AIThreadInfo.AIThreadServerInfo.verify|verify} messages. * @param message AIThreadServerInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AIThreadInfo.IAIThreadServerInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIThreadServerInfo message, length delimited. Does not implicitly {@link waproto.AIThreadInfo.AIThreadServerInfo.verify|verify} messages. * @param message AIThreadServerInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AIThreadInfo.IAIThreadServerInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIThreadServerInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIThreadServerInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIThreadInfo.AIThreadServerInfo; /** * Decodes a AIThreadServerInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIThreadServerInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIThreadInfo.AIThreadServerInfo; /** * Verifies a AIThreadServerInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIThreadServerInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIThreadServerInfo */ public static fromObject(object: { [k: string]: any }): waproto.AIThreadInfo.AIThreadServerInfo; /** * Creates a plain object from a AIThreadServerInfo message. Also converts values to other types if specified. * @param message AIThreadServerInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AIThreadInfo.AIThreadServerInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIThreadServerInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIThreadServerInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an Account. */ interface IAccount { /** Account lid */ lid?: (string|null); /** Account username */ username?: (string|null); /** Account countryCode */ countryCode?: (string|null); /** Account isUsernameDeleted */ isUsernameDeleted?: (boolean|null); } /** Represents an Account. */ class Account implements IAccount { /** * Constructs a new Account. * @param [properties] Properties to set */ constructor(properties?: waproto.IAccount); /** Account lid. */ public lid?: (string|null); /** Account username. */ public username?: (string|null); /** Account countryCode. */ public countryCode?: (string|null); /** Account isUsernameDeleted. */ public isUsernameDeleted?: (boolean|null); /** * Creates a new Account instance using the specified properties. * @param [properties] Properties to set * @returns Account instance */ public static create(properties?: waproto.IAccount): waproto.Account; /** * Encodes the specified Account message. Does not implicitly {@link waproto.Account.verify|verify} messages. * @param message Account message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Account message, length delimited. Does not implicitly {@link waproto.Account.verify|verify} messages. * @param message Account message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Account message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Account * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Account; /** * Decodes an Account message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Account * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Account; /** * Verifies an Account message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Account message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Account */ public static fromObject(object: { [k: string]: any }): waproto.Account; /** * Creates a plain object from an Account message. Also converts values to other types if specified. * @param message Account * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Account, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Account to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Account * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AccountLinkingOpaqueData. */ interface IAccountLinkingOpaqueData { /** AccountLinkingOpaqueData accesstoken */ accesstoken?: (string|null); /** AccountLinkingOpaqueData fbid */ fbid?: (string|null); /** AccountLinkingOpaqueData nonce */ nonce?: (string|null); /** AccountLinkingOpaqueData encryptedPassword */ encryptedPassword?: (string|null); } /** Represents an AccountLinkingOpaqueData. */ class AccountLinkingOpaqueData implements IAccountLinkingOpaqueData { /** * Constructs a new AccountLinkingOpaqueData. * @param [properties] Properties to set */ constructor(properties?: waproto.IAccountLinkingOpaqueData); /** AccountLinkingOpaqueData accesstoken. */ public accesstoken?: (string|null); /** AccountLinkingOpaqueData fbid. */ public fbid?: (string|null); /** AccountLinkingOpaqueData nonce. */ public nonce?: (string|null); /** AccountLinkingOpaqueData encryptedPassword. */ public encryptedPassword?: (string|null); /** * Creates a new AccountLinkingOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns AccountLinkingOpaqueData instance */ public static create(properties?: waproto.IAccountLinkingOpaqueData): waproto.AccountLinkingOpaqueData; /** * Encodes the specified AccountLinkingOpaqueData message. Does not implicitly {@link waproto.AccountLinkingOpaqueData.verify|verify} messages. * @param message AccountLinkingOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAccountLinkingOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AccountLinkingOpaqueData message, length delimited. Does not implicitly {@link waproto.AccountLinkingOpaqueData.verify|verify} messages. * @param message AccountLinkingOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAccountLinkingOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AccountLinkingOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AccountLinkingOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AccountLinkingOpaqueData; /** * Decodes an AccountLinkingOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AccountLinkingOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AccountLinkingOpaqueData; /** * Verifies an AccountLinkingOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AccountLinkingOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AccountLinkingOpaqueData */ public static fromObject(object: { [k: string]: any }): waproto.AccountLinkingOpaqueData; /** * Creates a plain object from an AccountLinkingOpaqueData message. Also converts values to other types if specified. * @param message AccountLinkingOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AccountLinkingOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AccountLinkingOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AccountLinkingOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionLink. */ interface IActionLink { /** ActionLink url */ url?: (string|null); /** ActionLink buttonTitle */ buttonTitle?: (string|null); } /** Represents an ActionLink. */ class ActionLink implements IActionLink { /** * Constructs a new ActionLink. * @param [properties] Properties to set */ constructor(properties?: waproto.IActionLink); /** ActionLink url. */ public url?: (string|null); /** ActionLink buttonTitle. */ public buttonTitle?: (string|null); /** * Creates a new ActionLink instance using the specified properties. * @param [properties] Properties to set * @returns ActionLink instance */ public static create(properties?: waproto.IActionLink): waproto.ActionLink; /** * Encodes the specified ActionLink message. Does not implicitly {@link waproto.ActionLink.verify|verify} messages. * @param message ActionLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionLink message, length delimited. Does not implicitly {@link waproto.ActionLink.verify|verify} messages. * @param message ActionLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IActionLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionLink message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionLink * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ActionLink; /** * Decodes an ActionLink message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionLink * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ActionLink; /** * Verifies an ActionLink message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionLink message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionLink */ public static fromObject(object: { [k: string]: any }): waproto.ActionLink; /** * Creates a plain object from an ActionLink message. Also converts values to other types if specified. * @param message ActionLink * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ActionLink, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionLink to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionLink * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AddDeviceEpochOutput. */ interface IAddDeviceEpochOutput { /** AddDeviceEpochOutput serverEpochId */ serverEpochId?: (number|Long|null); /** AddDeviceEpochOutput epochAnonId */ epochAnonId?: (Uint8Array|null); /** AddDeviceEpochOutput epochRootKey */ epochRootKey?: (Uint8Array|null); } /** Represents an AddDeviceEpochOutput. */ class AddDeviceEpochOutput implements IAddDeviceEpochOutput { /** * Constructs a new AddDeviceEpochOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IAddDeviceEpochOutput); /** AddDeviceEpochOutput serverEpochId. */ public serverEpochId?: (number|Long|null); /** AddDeviceEpochOutput epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** AddDeviceEpochOutput epochRootKey. */ public epochRootKey?: (Uint8Array|null); /** * Creates a new AddDeviceEpochOutput instance using the specified properties. * @param [properties] Properties to set * @returns AddDeviceEpochOutput instance */ public static create(properties?: waproto.IAddDeviceEpochOutput): waproto.AddDeviceEpochOutput; /** * Encodes the specified AddDeviceEpochOutput message. Does not implicitly {@link waproto.AddDeviceEpochOutput.verify|verify} messages. * @param message AddDeviceEpochOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAddDeviceEpochOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddDeviceEpochOutput message, length delimited. Does not implicitly {@link waproto.AddDeviceEpochOutput.verify|verify} messages. * @param message AddDeviceEpochOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAddDeviceEpochOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddDeviceEpochOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddDeviceEpochOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AddDeviceEpochOutput; /** * Decodes an AddDeviceEpochOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddDeviceEpochOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AddDeviceEpochOutput; /** * Verifies an AddDeviceEpochOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddDeviceEpochOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddDeviceEpochOutput */ public static fromObject(object: { [k: string]: any }): waproto.AddDeviceEpochOutput; /** * Creates a plain object from an AddDeviceEpochOutput message. Also converts values to other types if specified. * @param message AddDeviceEpochOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AddDeviceEpochOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddDeviceEpochOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AddDeviceEpochOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AddDeviceKeysOutput. */ interface IAddDeviceKeysOutput { /** AddDeviceKeysOutput devicePublicKey */ devicePublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochAuthPublicKey */ epochAuthPublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochAuthPublicKeySig */ epochAuthPublicKeySig?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePublicKey */ epochStoragePublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePublicKeySig */ epochStoragePublicKeySig?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePrivateKey */ epochStoragePrivateKey?: (Uint8Array|null); /** AddDeviceKeysOutput orfClientState */ orfClientState?: (Uint8Array|null); } /** Represents an AddDeviceKeysOutput. */ class AddDeviceKeysOutput implements IAddDeviceKeysOutput { /** * Constructs a new AddDeviceKeysOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IAddDeviceKeysOutput); /** AddDeviceKeysOutput devicePublicKey. */ public devicePublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochAuthPublicKey. */ public epochAuthPublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochAuthPublicKeySig. */ public epochAuthPublicKeySig?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePublicKey. */ public epochStoragePublicKey?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePublicKeySig. */ public epochStoragePublicKeySig?: (Uint8Array|null); /** AddDeviceKeysOutput epochStoragePrivateKey. */ public epochStoragePrivateKey?: (Uint8Array|null); /** AddDeviceKeysOutput orfClientState. */ public orfClientState?: (Uint8Array|null); /** * Creates a new AddDeviceKeysOutput instance using the specified properties. * @param [properties] Properties to set * @returns AddDeviceKeysOutput instance */ public static create(properties?: waproto.IAddDeviceKeysOutput): waproto.AddDeviceKeysOutput; /** * Encodes the specified AddDeviceKeysOutput message. Does not implicitly {@link waproto.AddDeviceKeysOutput.verify|verify} messages. * @param message AddDeviceKeysOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAddDeviceKeysOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AddDeviceKeysOutput message, length delimited. Does not implicitly {@link waproto.AddDeviceKeysOutput.verify|verify} messages. * @param message AddDeviceKeysOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAddDeviceKeysOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AddDeviceKeysOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AddDeviceKeysOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AddDeviceKeysOutput; /** * Decodes an AddDeviceKeysOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AddDeviceKeysOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AddDeviceKeysOutput; /** * Verifies an AddDeviceKeysOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AddDeviceKeysOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AddDeviceKeysOutput */ public static fromObject(object: { [k: string]: any }): waproto.AddDeviceKeysOutput; /** * Creates a plain object from an AddDeviceKeysOutput message. Also converts values to other types if specified. * @param message AddDeviceKeysOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AddDeviceKeysOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AddDeviceKeysOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AddDeviceKeysOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppDataProto. */ interface IAppDataProto { /** AppDataProto type */ type?: (string|null); /** AppDataProto actions */ actions?: (waproto.IMetaSyncActionProto[]|null); /** AppDataProto encryptedBackupsSecrets */ encryptedBackupsSecrets?: (waproto.IEncryptedBackupsSecretsProto|null); /** AppDataProto syncKeyShare */ syncKeyShare?: (waproto.ISyncKeyShareProto|null); /** AppDataProto syncKeyRequest */ syncKeyRequest?: (waproto.ISyncKeyRequestProto|null); } /** Represents an AppDataProto. */ class AppDataProto implements IAppDataProto { /** * Constructs a new AppDataProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IAppDataProto); /** AppDataProto type. */ public type?: (string|null); /** AppDataProto actions. */ public actions: waproto.IMetaSyncActionProto[]; /** AppDataProto encryptedBackupsSecrets. */ public encryptedBackupsSecrets?: (waproto.IEncryptedBackupsSecretsProto|null); /** AppDataProto syncKeyShare. */ public syncKeyShare?: (waproto.ISyncKeyShareProto|null); /** AppDataProto syncKeyRequest. */ public syncKeyRequest?: (waproto.ISyncKeyRequestProto|null); /** * Creates a new AppDataProto instance using the specified properties. * @param [properties] Properties to set * @returns AppDataProto instance */ public static create(properties?: waproto.IAppDataProto): waproto.AppDataProto; /** * Encodes the specified AppDataProto message. Does not implicitly {@link waproto.AppDataProto.verify|verify} messages. * @param message AppDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAppDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppDataProto message, length delimited. Does not implicitly {@link waproto.AppDataProto.verify|verify} messages. * @param message AppDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAppDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppDataProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AppDataProto; /** * Decodes an AppDataProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AppDataProto; /** * Verifies an AppDataProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppDataProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppDataProto */ public static fromObject(object: { [k: string]: any }): waproto.AppDataProto; /** * Creates a plain object from an AppDataProto message. Also converts values to other types if specified. * @param message AppDataProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AppDataProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppDataProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppDataProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppDataTableSchemaProto. */ interface IAppDataTableSchemaProto { /** AppDataTableSchemaProto externalId */ externalId?: (string|null); /** AppDataTableSchemaProto ts */ ts?: (number|Long|null); /** AppDataTableSchemaProto contents */ contents?: (waproto.IAppDataProto|null); /** AppDataTableSchemaProto permittedIdentitiesPerDevice */ permittedIdentitiesPerDevice?: (waproto.IIdentitiesPerDeviceProto[]|null); /** AppDataTableSchemaProto ack */ ack?: (number|null); /** AppDataTableSchemaProto appDataId */ appDataId?: (number|null); /** AppDataTableSchemaProto recipientDevices */ recipientDevices?: (string[]|null); /** AppDataTableSchemaProto sendPartial */ sendPartial?: (boolean|null); } /** Represents an AppDataTableSchemaProto. */ class AppDataTableSchemaProto implements IAppDataTableSchemaProto { /** * Constructs a new AppDataTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IAppDataTableSchemaProto); /** AppDataTableSchemaProto externalId. */ public externalId?: (string|null); /** AppDataTableSchemaProto ts. */ public ts?: (number|Long|null); /** AppDataTableSchemaProto contents. */ public contents?: (waproto.IAppDataProto|null); /** AppDataTableSchemaProto permittedIdentitiesPerDevice. */ public permittedIdentitiesPerDevice: waproto.IIdentitiesPerDeviceProto[]; /** AppDataTableSchemaProto ack. */ public ack?: (number|null); /** AppDataTableSchemaProto appDataId. */ public appDataId?: (number|null); /** AppDataTableSchemaProto recipientDevices. */ public recipientDevices: string[]; /** AppDataTableSchemaProto sendPartial. */ public sendPartial?: (boolean|null); /** * Creates a new AppDataTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns AppDataTableSchemaProto instance */ public static create(properties?: waproto.IAppDataTableSchemaProto): waproto.AppDataTableSchemaProto; /** * Encodes the specified AppDataTableSchemaProto message. Does not implicitly {@link waproto.AppDataTableSchemaProto.verify|verify} messages. * @param message AppDataTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAppDataTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppDataTableSchemaProto message, length delimited. Does not implicitly {@link waproto.AppDataTableSchemaProto.verify|verify} messages. * @param message AppDataTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAppDataTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppDataTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppDataTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AppDataTableSchemaProto; /** * Decodes an AppDataTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppDataTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AppDataTableSchemaProto; /** * Verifies an AppDataTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppDataTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppDataTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.AppDataTableSchemaProto; /** * Creates a plain object from an AppDataTableSchemaProto message. Also converts values to other types if specified. * @param message AppDataTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AppDataTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppDataTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppDataTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppMetaTableSchemaProto. */ interface IAppMetaTableSchemaProto { /** AppMetaTableSchemaProto key */ key?: (string|null); /** AppMetaTableSchemaProto value */ value?: (waproto.IDbAppMetaValuesProto|null); } /** Represents an AppMetaTableSchemaProto. */ class AppMetaTableSchemaProto implements IAppMetaTableSchemaProto { /** * Constructs a new AppMetaTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IAppMetaTableSchemaProto); /** AppMetaTableSchemaProto key. */ public key?: (string|null); /** AppMetaTableSchemaProto value. */ public value?: (waproto.IDbAppMetaValuesProto|null); /** * Creates a new AppMetaTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns AppMetaTableSchemaProto instance */ public static create(properties?: waproto.IAppMetaTableSchemaProto): waproto.AppMetaTableSchemaProto; /** * Encodes the specified AppMetaTableSchemaProto message. Does not implicitly {@link waproto.AppMetaTableSchemaProto.verify|verify} messages. * @param message AppMetaTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAppMetaTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppMetaTableSchemaProto message, length delimited. Does not implicitly {@link waproto.AppMetaTableSchemaProto.verify|verify} messages. * @param message AppMetaTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAppMetaTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppMetaTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppMetaTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AppMetaTableSchemaProto; /** * Decodes an AppMetaTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppMetaTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AppMetaTableSchemaProto; /** * Verifies an AppMetaTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppMetaTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppMetaTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.AppMetaTableSchemaProto; /** * Creates a plain object from an AppMetaTableSchemaProto message. Also converts values to other types if specified. * @param message AppMetaTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AppMetaTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppMetaTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppMetaTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Armadillo. */ interface IArmadillo { /** Armadillo payload */ payload?: (waproto.Armadillo.IPayload|null); /** Armadillo metadata */ metadata?: (waproto.Armadillo.IMetadata|null); } /** Represents an Armadillo. */ class Armadillo implements IArmadillo { /** * Constructs a new Armadillo. * @param [properties] Properties to set */ constructor(properties?: waproto.IArmadillo); /** Armadillo payload. */ public payload?: (waproto.Armadillo.IPayload|null); /** Armadillo metadata. */ public metadata?: (waproto.Armadillo.IMetadata|null); /** * Creates a new Armadillo instance using the specified properties. * @param [properties] Properties to set * @returns Armadillo instance */ public static create(properties?: waproto.IArmadillo): waproto.Armadillo; /** * Encodes the specified Armadillo message. Does not implicitly {@link waproto.Armadillo.verify|verify} messages. * @param message Armadillo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IArmadillo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Armadillo message, length delimited. Does not implicitly {@link waproto.Armadillo.verify|verify} messages. * @param message Armadillo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IArmadillo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Armadillo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Armadillo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo; /** * Decodes an Armadillo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Armadillo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo; /** * Verifies an Armadillo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Armadillo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Armadillo */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo; /** * Creates a plain object from an Armadillo message. Also converts values to other types if specified. * @param message Armadillo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Armadillo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Armadillo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Armadillo { /** Properties of a Metadata. */ interface IMetadata { } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.IMetadata); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.Armadillo.IMetadata): waproto.Armadillo.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.Armadillo.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.Armadillo.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Payload. */ interface IPayload { /** Payload content */ content?: (waproto.Armadillo.IContent|null); /** Payload applicationData */ applicationData?: (waproto.Armadillo.IApplicationData|null); /** Payload signal */ signal?: (waproto.Armadillo.ISignal|null); /** Payload subProtocol */ subProtocol?: (waproto.Armadillo.ISubProtocolPayload|null); } /** Represents a Payload. */ class Payload implements IPayload { /** * Constructs a new Payload. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.IPayload); /** Payload content. */ public content?: (waproto.Armadillo.IContent|null); /** Payload applicationData. */ public applicationData?: (waproto.Armadillo.IApplicationData|null); /** Payload signal. */ public signal?: (waproto.Armadillo.ISignal|null); /** Payload subProtocol. */ public subProtocol?: (waproto.Armadillo.ISubProtocolPayload|null); /** Payload payload. */ public payload?: ("content"|"applicationData"|"signal"|"subProtocol"); /** * Creates a new Payload instance using the specified properties. * @param [properties] Properties to set * @returns Payload instance */ public static create(properties?: waproto.Armadillo.IPayload): waproto.Armadillo.Payload; /** * Encodes the specified Payload message. Does not implicitly {@link waproto.Armadillo.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Payload message, length delimited. Does not implicitly {@link waproto.Armadillo.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Payload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Payload; /** * Decodes a Payload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Payload; /** * Verifies a Payload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Payload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Payload */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Payload; /** * Creates a plain object from a Payload message. Also converts values to other types if specified. * @param message Payload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Payload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Payload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Payload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubProtocolPayload. */ interface ISubProtocolPayload { /** SubProtocolPayload futureProof */ futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); } /** Represents a SubProtocolPayload. */ class SubProtocolPayload implements ISubProtocolPayload { /** * Constructs a new SubProtocolPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ISubProtocolPayload); /** SubProtocolPayload futureProof. */ public futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); /** * Creates a new SubProtocolPayload instance using the specified properties. * @param [properties] Properties to set * @returns SubProtocolPayload instance */ public static create(properties?: waproto.Armadillo.ISubProtocolPayload): waproto.Armadillo.SubProtocolPayload; /** * Encodes the specified SubProtocolPayload message. Does not implicitly {@link waproto.Armadillo.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubProtocolPayload message, length delimited. Does not implicitly {@link waproto.Armadillo.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubProtocolPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.SubProtocolPayload; /** * Decodes a SubProtocolPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.SubProtocolPayload; /** * Verifies a SubProtocolPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubProtocolPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubProtocolPayload */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.SubProtocolPayload; /** * Creates a plain object from a SubProtocolPayload message. Also converts values to other types if specified. * @param message SubProtocolPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.SubProtocolPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubProtocolPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubProtocolPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Signal. */ interface ISignal { /** Signal encryptedBackupsSecrets */ encryptedBackupsSecrets?: (waproto.Armadillo.Signal.IEncryptedBackupsSecrets|null); } /** Represents a Signal. */ class Signal implements ISignal { /** * Constructs a new Signal. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ISignal); /** Signal encryptedBackupsSecrets. */ public encryptedBackupsSecrets?: (waproto.Armadillo.Signal.IEncryptedBackupsSecrets|null); /** Signal signal. */ public signal?: "encryptedBackupsSecrets"; /** * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set * @returns Signal instance */ public static create(properties?: waproto.Armadillo.ISignal): waproto.Armadillo.Signal; /** * Encodes the specified Signal message. Does not implicitly {@link waproto.Armadillo.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Signal message, length delimited. Does not implicitly {@link waproto.Armadillo.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Signal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Signal; /** * Decodes a Signal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Signal; /** * Verifies a Signal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Signal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Signal */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Signal; /** * Creates a plain object from a Signal message. Also converts values to other types if specified. * @param message Signal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Signal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Signal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Signal * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Signal { /** Properties of an EncryptedBackupsSecrets. */ interface IEncryptedBackupsSecrets { /** EncryptedBackupsSecrets backupId */ backupId?: (number|Long|null); /** EncryptedBackupsSecrets serverDataId */ serverDataId?: (number|Long|null); /** EncryptedBackupsSecrets epoch */ epoch?: (waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch[]|null); /** EncryptedBackupsSecrets tempOcmfClientState */ tempOcmfClientState?: (Uint8Array|null); /** EncryptedBackupsSecrets mailboxRootKey */ mailboxRootKey?: (Uint8Array|null); /** EncryptedBackupsSecrets obliviousValidationToken */ obliviousValidationToken?: (Uint8Array|null); } /** Represents an EncryptedBackupsSecrets. */ class EncryptedBackupsSecrets implements IEncryptedBackupsSecrets { /** * Constructs a new EncryptedBackupsSecrets. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Signal.IEncryptedBackupsSecrets); /** EncryptedBackupsSecrets backupId. */ public backupId?: (number|Long|null); /** EncryptedBackupsSecrets serverDataId. */ public serverDataId?: (number|Long|null); /** EncryptedBackupsSecrets epoch. */ public epoch: waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch[]; /** EncryptedBackupsSecrets tempOcmfClientState. */ public tempOcmfClientState?: (Uint8Array|null); /** EncryptedBackupsSecrets mailboxRootKey. */ public mailboxRootKey?: (Uint8Array|null); /** EncryptedBackupsSecrets obliviousValidationToken. */ public obliviousValidationToken?: (Uint8Array|null); /** * Creates a new EncryptedBackupsSecrets instance using the specified properties. * @param [properties] Properties to set * @returns EncryptedBackupsSecrets instance */ public static create(properties?: waproto.Armadillo.Signal.IEncryptedBackupsSecrets): waproto.Armadillo.Signal.EncryptedBackupsSecrets; /** * Encodes the specified EncryptedBackupsSecrets message. Does not implicitly {@link waproto.Armadillo.Signal.EncryptedBackupsSecrets.verify|verify} messages. * @param message EncryptedBackupsSecrets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Signal.IEncryptedBackupsSecrets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptedBackupsSecrets message, length delimited. Does not implicitly {@link waproto.Armadillo.Signal.EncryptedBackupsSecrets.verify|verify} messages. * @param message EncryptedBackupsSecrets message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Signal.IEncryptedBackupsSecrets, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptedBackupsSecrets message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptedBackupsSecrets * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Signal.EncryptedBackupsSecrets; /** * Decodes an EncryptedBackupsSecrets message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptedBackupsSecrets * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Signal.EncryptedBackupsSecrets; /** * Verifies an EncryptedBackupsSecrets message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptedBackupsSecrets message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptedBackupsSecrets */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Signal.EncryptedBackupsSecrets; /** * Creates a plain object from an EncryptedBackupsSecrets message. Also converts values to other types if specified. * @param message EncryptedBackupsSecrets * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Signal.EncryptedBackupsSecrets, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptedBackupsSecrets to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptedBackupsSecrets * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EncryptedBackupsSecrets { /** Properties of an Epoch. */ interface IEpoch { /** Epoch id */ id?: (number|Long|null); /** Epoch anonId */ anonId?: (Uint8Array|null); /** Epoch rootKey */ rootKey?: (Uint8Array|null); /** Epoch status */ status?: (waproto.ARMADILLO_SIGNAL_ENCRYPTED_BACKUPS_SECRETS_EPOCH_EPOCH_STATUS|null); } /** Represents an Epoch. */ class Epoch implements IEpoch { /** * Constructs a new Epoch. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch); /** Epoch id. */ public id?: (number|Long|null); /** Epoch anonId. */ public anonId?: (Uint8Array|null); /** Epoch rootKey. */ public rootKey?: (Uint8Array|null); /** Epoch status. */ public status?: (waproto.ARMADILLO_SIGNAL_ENCRYPTED_BACKUPS_SECRETS_EPOCH_EPOCH_STATUS|null); /** * Creates a new Epoch instance using the specified properties. * @param [properties] Properties to set * @returns Epoch instance */ public static create(properties?: waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch): waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch; /** * Encodes the specified Epoch message. Does not implicitly {@link waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.verify|verify} messages. * @param message Epoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Epoch message, length delimited. Does not implicitly {@link waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.verify|verify} messages. * @param message Epoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Signal.EncryptedBackupsSecrets.IEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Epoch message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Epoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch; /** * Decodes an Epoch message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Epoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch; /** * Verifies an Epoch message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Epoch message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Epoch */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch; /** * Creates a plain object from an Epoch message. Also converts values to other types if specified. * @param message Epoch * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Signal.EncryptedBackupsSecrets.Epoch, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Epoch to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Epoch * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an ApplicationData. */ interface IApplicationData { /** ApplicationData metadataSync */ metadataSync?: (waproto.Armadillo.ApplicationData.IMetadataSyncNotification|null); /** ApplicationData aiBotResponse */ aiBotResponse?: (waproto.Armadillo.ApplicationData.IAIBotResponseMessage|null); /** ApplicationData messageHistoryDocumentMessage */ messageHistoryDocumentMessage?: (waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage|null); } /** Represents an ApplicationData. */ class ApplicationData implements IApplicationData { /** * Constructs a new ApplicationData. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.IApplicationData); /** ApplicationData metadataSync. */ public metadataSync?: (waproto.Armadillo.ApplicationData.IMetadataSyncNotification|null); /** ApplicationData aiBotResponse. */ public aiBotResponse?: (waproto.Armadillo.ApplicationData.IAIBotResponseMessage|null); /** ApplicationData messageHistoryDocumentMessage. */ public messageHistoryDocumentMessage?: (waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage|null); /** ApplicationData applicationData. */ public applicationData?: ("metadataSync"|"aiBotResponse"|"messageHistoryDocumentMessage"); /** * Creates a new ApplicationData instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationData instance */ public static create(properties?: waproto.Armadillo.IApplicationData): waproto.Armadillo.ApplicationData; /** * Encodes the specified ApplicationData message. Does not implicitly {@link waproto.Armadillo.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationData message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData; /** * Decodes an ApplicationData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData; /** * Verifies an ApplicationData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationData */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData; /** * Creates a plain object from an ApplicationData message. Also converts values to other types if specified. * @param message ApplicationData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApplicationData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ApplicationData { /** Properties of a MessageHistoryDocumentMessage. */ interface IMessageHistoryDocumentMessage { /** MessageHistoryDocumentMessage document */ document?: (waproto.ISubProtocol|null); } /** Represents a MessageHistoryDocumentMessage. */ class MessageHistoryDocumentMessage implements IMessageHistoryDocumentMessage { /** * Constructs a new MessageHistoryDocumentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage); /** MessageHistoryDocumentMessage document. */ public document?: (waproto.ISubProtocol|null); /** * Creates a new MessageHistoryDocumentMessage instance using the specified properties. * @param [properties] Properties to set * @returns MessageHistoryDocumentMessage instance */ public static create(properties?: waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage): waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage; /** * Encodes the specified MessageHistoryDocumentMessage message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage.verify|verify} messages. * @param message MessageHistoryDocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageHistoryDocumentMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage.verify|verify} messages. * @param message MessageHistoryDocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.IMessageHistoryDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageHistoryDocumentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageHistoryDocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage; /** * Decodes a MessageHistoryDocumentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageHistoryDocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage; /** * Verifies a MessageHistoryDocumentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageHistoryDocumentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageHistoryDocumentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage; /** * Creates a plain object from a MessageHistoryDocumentMessage message. Also converts values to other types if specified. * @param message MessageHistoryDocumentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MessageHistoryDocumentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageHistoryDocumentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageHistoryDocumentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a AIBotResponseMessage. */ interface IAIBotResponseMessage { /** AIBotResponseMessage summonToken */ summonToken?: (string|null); /** AIBotResponseMessage messageText */ messageText?: (string|null); /** AIBotResponseMessage serializedExtras */ serializedExtras?: (string|null); } /** Represents a AIBotResponseMessage. */ class AIBotResponseMessage implements IAIBotResponseMessage { /** * Constructs a new AIBotResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.IAIBotResponseMessage); /** AIBotResponseMessage summonToken. */ public summonToken?: (string|null); /** AIBotResponseMessage messageText. */ public messageText?: (string|null); /** AIBotResponseMessage serializedExtras. */ public serializedExtras?: (string|null); /** * Creates a new AIBotResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns AIBotResponseMessage instance */ public static create(properties?: waproto.Armadillo.ApplicationData.IAIBotResponseMessage): waproto.Armadillo.ApplicationData.AIBotResponseMessage; /** * Encodes the specified AIBotResponseMessage message. Does not implicitly {@link waproto.Armadillo.ApplicationData.AIBotResponseMessage.verify|verify} messages. * @param message AIBotResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.IAIBotResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AIBotResponseMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.AIBotResponseMessage.verify|verify} messages. * @param message AIBotResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.IAIBotResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a AIBotResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AIBotResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.AIBotResponseMessage; /** * Decodes a AIBotResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AIBotResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.AIBotResponseMessage; /** * Verifies a AIBotResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a AIBotResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AIBotResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.AIBotResponseMessage; /** * Creates a plain object from a AIBotResponseMessage message. Also converts values to other types if specified. * @param message AIBotResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.AIBotResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AIBotResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AIBotResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetadataSyncAction. */ interface IMetadataSyncAction { /** MetadataSyncAction actionTimestamp */ actionTimestamp?: (number|Long|null); /** MetadataSyncAction chatAction */ chatAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction|null); /** MetadataSyncAction messageAction */ messageAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction|null); /** MetadataSyncAction spectraAction */ spectraAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction|null); /** MetadataSyncAction attachmentInterventionAction */ attachmentInterventionAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction|null); } /** Represents a MetadataSyncAction. */ class MetadataSyncAction implements IMetadataSyncAction { /** * Constructs a new MetadataSyncAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.IMetadataSyncAction); /** MetadataSyncAction actionTimestamp. */ public actionTimestamp?: (number|Long|null); /** MetadataSyncAction chatAction. */ public chatAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction|null); /** MetadataSyncAction messageAction. */ public messageAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction|null); /** MetadataSyncAction spectraAction. */ public spectraAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction|null); /** MetadataSyncAction attachmentInterventionAction. */ public attachmentInterventionAction?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction|null); /** MetadataSyncAction actionType. */ public actionType?: ("chatAction"|"messageAction"|"spectraAction"|"attachmentInterventionAction"); /** * Creates a new MetadataSyncAction instance using the specified properties. * @param [properties] Properties to set * @returns MetadataSyncAction instance */ public static create(properties?: waproto.Armadillo.ApplicationData.IMetadataSyncAction): waproto.Armadillo.ApplicationData.MetadataSyncAction; /** * Encodes the specified MetadataSyncAction message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.verify|verify} messages. * @param message MetadataSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.IMetadataSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetadataSyncAction message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.verify|verify} messages. * @param message MetadataSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.IMetadataSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetadataSyncAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetadataSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction; /** * Decodes a MetadataSyncAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetadataSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction; /** * Verifies a MetadataSyncAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetadataSyncAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetadataSyncAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction; /** * Creates a plain object from a MetadataSyncAction message. Also converts values to other types if specified. * @param message MetadataSyncAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetadataSyncAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetadataSyncAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MetadataSyncAction { /** Properties of a SyncAttachmentInterventionAction. */ interface ISyncAttachmentInterventionAction { /** SyncAttachmentInterventionAction messageKey */ messageKey?: (waproto.IMessageKey|null); /** SyncAttachmentInterventionAction interventionType */ interventionType?: (waproto.ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_ATTACHMENT_INTERVENTION_ACTION_INTERVENTION_TYPE|null); } /** Represents a SyncAttachmentInterventionAction. */ class SyncAttachmentInterventionAction implements ISyncAttachmentInterventionAction { /** * Constructs a new SyncAttachmentInterventionAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction); /** SyncAttachmentInterventionAction messageKey. */ public messageKey?: (waproto.IMessageKey|null); /** SyncAttachmentInterventionAction interventionType. */ public interventionType?: (waproto.ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_ATTACHMENT_INTERVENTION_ACTION_INTERVENTION_TYPE|null); /** * Creates a new SyncAttachmentInterventionAction instance using the specified properties. * @param [properties] Properties to set * @returns SyncAttachmentInterventionAction instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction; /** * Encodes the specified SyncAttachmentInterventionAction message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction.verify|verify} messages. * @param message SyncAttachmentInterventionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncAttachmentInterventionAction message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction.verify|verify} messages. * @param message SyncAttachmentInterventionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncAttachmentInterventionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncAttachmentInterventionAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncAttachmentInterventionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction; /** * Decodes a SyncAttachmentInterventionAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncAttachmentInterventionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction; /** * Verifies a SyncAttachmentInterventionAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncAttachmentInterventionAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncAttachmentInterventionAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction; /** * Creates a plain object from a SyncAttachmentInterventionAction message. Also converts values to other types if specified. * @param message SyncAttachmentInterventionAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncAttachmentInterventionAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncAttachmentInterventionAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncAttachmentInterventionAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncSpectraAction. */ interface ISyncSpectraAction { /** SyncSpectraAction key */ key?: (waproto.IMessageKey|null); /** SyncSpectraAction actionType */ actionType?: (waproto.ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_SPECTRA_ACTION_SPECTRA_ACTION_TYPE|null); /** SyncSpectraAction takedownActionId */ takedownActionId?: (number|Long|null); /** SyncSpectraAction config */ config?: (string|null); } /** Represents a SyncSpectraAction. */ class SyncSpectraAction implements ISyncSpectraAction { /** * Constructs a new SyncSpectraAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction); /** SyncSpectraAction key. */ public key?: (waproto.IMessageKey|null); /** SyncSpectraAction actionType. */ public actionType?: (waproto.ARMADILLO_APPLICATION_DATA_METADATA_SYNC_ACTION_SYNC_SPECTRA_ACTION_SPECTRA_ACTION_TYPE|null); /** SyncSpectraAction takedownActionId. */ public takedownActionId?: (number|Long|null); /** SyncSpectraAction config. */ public config?: (string|null); /** * Creates a new SyncSpectraAction instance using the specified properties. * @param [properties] Properties to set * @returns SyncSpectraAction instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction; /** * Encodes the specified SyncSpectraAction message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction.verify|verify} messages. * @param message SyncSpectraAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncSpectraAction message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction.verify|verify} messages. * @param message SyncSpectraAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncSpectraAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncSpectraAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncSpectraAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction; /** * Decodes a SyncSpectraAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncSpectraAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction; /** * Verifies a SyncSpectraAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncSpectraAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncSpectraAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction; /** * Creates a plain object from a SyncSpectraAction message. Also converts values to other types if specified. * @param message SyncSpectraAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncSpectraAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncSpectraAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncSpectraAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncMessageAction. */ interface ISyncMessageAction { /** SyncMessageAction key */ key?: (waproto.IMessageKey|null); /** SyncMessageAction messageDelete */ messageDelete?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete|null); } /** Represents a SyncMessageAction. */ class SyncMessageAction implements ISyncMessageAction { /** * Constructs a new SyncMessageAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction); /** SyncMessageAction key. */ public key?: (waproto.IMessageKey|null); /** SyncMessageAction messageDelete. */ public messageDelete?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete|null); /** SyncMessageAction action. */ public action?: "messageDelete"; /** * Creates a new SyncMessageAction instance using the specified properties. * @param [properties] Properties to set * @returns SyncMessageAction instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction; /** * Encodes the specified SyncMessageAction message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.verify|verify} messages. * @param message SyncMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncMessageAction message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.verify|verify} messages. * @param message SyncMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncMessageAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction; /** * Decodes a SyncMessageAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction; /** * Verifies a SyncMessageAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncMessageAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncMessageAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction; /** * Creates a plain object from a SyncMessageAction message. Also converts values to other types if specified. * @param message SyncMessageAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncMessageAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncMessageAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SyncMessageAction { /** Properties of an ActionMessageDelete. */ interface IActionMessageDelete { } /** Represents an ActionMessageDelete. */ class ActionMessageDelete implements IActionMessageDelete { /** * Constructs a new ActionMessageDelete. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete); /** * Creates a new ActionMessageDelete instance using the specified properties. * @param [properties] Properties to set * @returns ActionMessageDelete instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete; /** * Encodes the specified ActionMessageDelete message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete.verify|verify} messages. * @param message ActionMessageDelete message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionMessageDelete message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete.verify|verify} messages. * @param message ActionMessageDelete message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.IActionMessageDelete, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionMessageDelete message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionMessageDelete * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete; /** * Decodes an ActionMessageDelete message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionMessageDelete * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete; /** * Verifies an ActionMessageDelete message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionMessageDelete message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionMessageDelete */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete; /** * Creates a plain object from an ActionMessageDelete message. Also converts values to other types if specified. * @param message ActionMessageDelete * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionMessageDelete to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionMessageDelete * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SyncChatAction. */ interface ISyncChatAction { /** SyncChatAction chatId */ chatId?: (string|null); /** SyncChatAction chatArchive */ chatArchive?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive|null); /** SyncChatAction chatDelete */ chatDelete?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete|null); /** SyncChatAction chatRead */ chatRead?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead|null); } /** Represents a SyncChatAction. */ class SyncChatAction implements ISyncChatAction { /** * Constructs a new SyncChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction); /** SyncChatAction chatId. */ public chatId?: (string|null); /** SyncChatAction chatArchive. */ public chatArchive?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive|null); /** SyncChatAction chatDelete. */ public chatDelete?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete|null); /** SyncChatAction chatRead. */ public chatRead?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead|null); /** SyncChatAction action. */ public action?: ("chatArchive"|"chatDelete"|"chatRead"); /** * Creates a new SyncChatAction instance using the specified properties. * @param [properties] Properties to set * @returns SyncChatAction instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction; /** * Encodes the specified SyncChatAction message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.verify|verify} messages. * @param message SyncChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncChatAction message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.verify|verify} messages. * @param message SyncChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction; /** * Decodes a SyncChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction; /** * Verifies a SyncChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncChatAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction; /** * Creates a plain object from a SyncChatAction message. Also converts values to other types if specified. * @param message SyncChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SyncChatAction { /** Properties of an ActionChatRead. */ interface IActionChatRead { /** ActionChatRead messageRange */ messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); /** ActionChatRead read */ read?: (boolean|null); } /** Represents an ActionChatRead. */ class ActionChatRead implements IActionChatRead { /** * Constructs a new ActionChatRead. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead); /** ActionChatRead messageRange. */ public messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); /** ActionChatRead read. */ public read?: (boolean|null); /** * Creates a new ActionChatRead instance using the specified properties. * @param [properties] Properties to set * @returns ActionChatRead instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead; /** * Encodes the specified ActionChatRead message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead.verify|verify} messages. * @param message ActionChatRead message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionChatRead message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead.verify|verify} messages. * @param message ActionChatRead message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatRead, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionChatRead message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionChatRead * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead; /** * Decodes an ActionChatRead message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionChatRead * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead; /** * Verifies an ActionChatRead message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionChatRead message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionChatRead */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead; /** * Creates a plain object from an ActionChatRead message. Also converts values to other types if specified. * @param message ActionChatRead * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionChatRead to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionChatRead * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionChatDelete. */ interface IActionChatDelete { /** ActionChatDelete messageRange */ messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); } /** Represents an ActionChatDelete. */ class ActionChatDelete implements IActionChatDelete { /** * Constructs a new ActionChatDelete. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete); /** ActionChatDelete messageRange. */ public messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); /** * Creates a new ActionChatDelete instance using the specified properties. * @param [properties] Properties to set * @returns ActionChatDelete instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete; /** * Encodes the specified ActionChatDelete message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete.verify|verify} messages. * @param message ActionChatDelete message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionChatDelete message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete.verify|verify} messages. * @param message ActionChatDelete message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatDelete, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionChatDelete message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionChatDelete * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete; /** * Decodes an ActionChatDelete message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionChatDelete * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete; /** * Verifies an ActionChatDelete message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionChatDelete message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionChatDelete */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete; /** * Creates a plain object from an ActionChatDelete message. Also converts values to other types if specified. * @param message ActionChatDelete * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionChatDelete to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionChatDelete * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionChatArchive. */ interface IActionChatArchive { /** ActionChatArchive messageRange */ messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); /** ActionChatArchive archived */ archived?: (boolean|null); } /** Represents an ActionChatArchive. */ class ActionChatArchive implements IActionChatArchive { /** * Constructs a new ActionChatArchive. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive); /** ActionChatArchive messageRange. */ public messageRange?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange|null); /** ActionChatArchive archived. */ public archived?: (boolean|null); /** * Creates a new ActionChatArchive instance using the specified properties. * @param [properties] Properties to set * @returns ActionChatArchive instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive; /** * Encodes the specified ActionChatArchive message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive.verify|verify} messages. * @param message ActionChatArchive message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionChatArchive message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive.verify|verify} messages. * @param message ActionChatArchive message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.IActionChatArchive, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionChatArchive message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionChatArchive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive; /** * Decodes an ActionChatArchive message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionChatArchive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive; /** * Verifies an ActionChatArchive message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionChatArchive message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionChatArchive */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive; /** * Creates a plain object from an ActionChatArchive message. Also converts values to other types if specified. * @param message ActionChatArchive * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionChatArchive to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionChatArchive * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SyncActionMessage. */ interface ISyncActionMessage { /** SyncActionMessage key */ key?: (waproto.IMessageKey|null); /** SyncActionMessage timestamp */ timestamp?: (number|Long|null); } /** Represents a SyncActionMessage. */ class SyncActionMessage implements ISyncActionMessage { /** * Constructs a new SyncActionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage); /** SyncActionMessage key. */ public key?: (waproto.IMessageKey|null); /** SyncActionMessage timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new SyncActionMessage instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionMessage instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage; /** * Encodes the specified SyncActionMessage message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage.verify|verify} messages. * @param message SyncActionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage.verify|verify} messages. * @param message SyncActionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage; /** * Decodes a SyncActionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage; /** * Verifies a SyncActionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage; /** * Creates a plain object from a SyncActionMessage message. Also converts values to other types if specified. * @param message SyncActionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncActionMessageRange. */ interface ISyncActionMessageRange { /** SyncActionMessageRange lastMessageTimestamp */ lastMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange lastSystemMessageTimestamp */ lastSystemMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange messages */ messages?: (waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage[]|null); } /** Represents a SyncActionMessageRange. */ class SyncActionMessageRange implements ISyncActionMessageRange { /** * Constructs a new SyncActionMessageRange. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange); /** SyncActionMessageRange lastMessageTimestamp. */ public lastMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange lastSystemMessageTimestamp. */ public lastSystemMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange messages. */ public messages: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessage[]; /** * Creates a new SyncActionMessageRange instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionMessageRange instance */ public static create(properties?: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange; /** * Encodes the specified SyncActionMessageRange message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange.verify|verify} messages. * @param message SyncActionMessageRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionMessageRange message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange.verify|verify} messages. * @param message SyncActionMessageRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionMessageRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionMessageRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange; /** * Decodes a SyncActionMessageRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionMessageRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange; /** * Verifies a SyncActionMessageRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionMessageRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionMessageRange */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange; /** * Creates a plain object from a SyncActionMessageRange message. Also converts values to other types if specified. * @param message SyncActionMessageRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionMessageRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionMessageRange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MetadataSyncNotification. */ interface IMetadataSyncNotification { /** MetadataSyncNotification actions */ actions?: (waproto.Armadillo.ApplicationData.IMetadataSyncAction[]|null); } /** Represents a MetadataSyncNotification. */ class MetadataSyncNotification implements IMetadataSyncNotification { /** * Constructs a new MetadataSyncNotification. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.ApplicationData.IMetadataSyncNotification); /** MetadataSyncNotification actions. */ public actions: waproto.Armadillo.ApplicationData.IMetadataSyncAction[]; /** * Creates a new MetadataSyncNotification instance using the specified properties. * @param [properties] Properties to set * @returns MetadataSyncNotification instance */ public static create(properties?: waproto.Armadillo.ApplicationData.IMetadataSyncNotification): waproto.Armadillo.ApplicationData.MetadataSyncNotification; /** * Encodes the specified MetadataSyncNotification message. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncNotification.verify|verify} messages. * @param message MetadataSyncNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.ApplicationData.IMetadataSyncNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetadataSyncNotification message, length delimited. Does not implicitly {@link waproto.Armadillo.ApplicationData.MetadataSyncNotification.verify|verify} messages. * @param message MetadataSyncNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.ApplicationData.IMetadataSyncNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetadataSyncNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetadataSyncNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.ApplicationData.MetadataSyncNotification; /** * Decodes a MetadataSyncNotification message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetadataSyncNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.ApplicationData.MetadataSyncNotification; /** * Verifies a MetadataSyncNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetadataSyncNotification message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetadataSyncNotification */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.ApplicationData.MetadataSyncNotification; /** * Creates a plain object from a MetadataSyncNotification message. Also converts values to other types if specified. * @param message MetadataSyncNotification * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.ApplicationData.MetadataSyncNotification, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetadataSyncNotification to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetadataSyncNotification * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Content. */ interface IContent { /** Content commonSticker */ commonSticker?: (waproto.Armadillo.Content.ICommonSticker|null); /** Content screenshotAction */ screenshotAction?: (waproto.Armadillo.Content.IScreenshotAction|null); /** Content extendedContentMessage */ extendedContentMessage?: (waproto.IExtendedContentMessage|null); /** Content ravenMessage */ ravenMessage?: (waproto.Armadillo.Content.IRavenMessage|null); /** Content ravenActionNotifMessage */ ravenActionNotifMessage?: (waproto.Armadillo.Content.IRavenActionNotifMessage|null); /** Content extendedMessageContentWithSear */ extendedMessageContentWithSear?: (waproto.Armadillo.Content.IExtendedContentMessageWithSear|null); /** Content imageGalleryMessage */ imageGalleryMessage?: (waproto.Armadillo.Content.IImageGalleryMessage|null); /** Content paymentsTransactionMessage */ paymentsTransactionMessage?: (waproto.Armadillo.Content.IPaymentsTransactionMessage|null); /** Content bumpExistingMessage */ bumpExistingMessage?: (waproto.Armadillo.Content.IBumpExistingMessage|null); /** Content noteReplyMessage */ noteReplyMessage?: (waproto.Armadillo.Content.INoteReplyMessage|null); /** Content ravenMessageMsgr */ ravenMessageMsgr?: (waproto.Armadillo.Content.IRavenMessage|null); /** Content networkVerificationMessage */ networkVerificationMessage?: (waproto.Armadillo.Content.INetworkVerificationMessage|null); } /** Represents a Content. */ class Content implements IContent { /** * Constructs a new Content. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.IContent); /** Content commonSticker. */ public commonSticker?: (waproto.Armadillo.Content.ICommonSticker|null); /** Content screenshotAction. */ public screenshotAction?: (waproto.Armadillo.Content.IScreenshotAction|null); /** Content extendedContentMessage. */ public extendedContentMessage?: (waproto.IExtendedContentMessage|null); /** Content ravenMessage. */ public ravenMessage?: (waproto.Armadillo.Content.IRavenMessage|null); /** Content ravenActionNotifMessage. */ public ravenActionNotifMessage?: (waproto.Armadillo.Content.IRavenActionNotifMessage|null); /** Content extendedMessageContentWithSear. */ public extendedMessageContentWithSear?: (waproto.Armadillo.Content.IExtendedContentMessageWithSear|null); /** Content imageGalleryMessage. */ public imageGalleryMessage?: (waproto.Armadillo.Content.IImageGalleryMessage|null); /** Content paymentsTransactionMessage. */ public paymentsTransactionMessage?: (waproto.Armadillo.Content.IPaymentsTransactionMessage|null); /** Content bumpExistingMessage. */ public bumpExistingMessage?: (waproto.Armadillo.Content.IBumpExistingMessage|null); /** Content noteReplyMessage. */ public noteReplyMessage?: (waproto.Armadillo.Content.INoteReplyMessage|null); /** Content ravenMessageMsgr. */ public ravenMessageMsgr?: (waproto.Armadillo.Content.IRavenMessage|null); /** Content networkVerificationMessage. */ public networkVerificationMessage?: (waproto.Armadillo.Content.INetworkVerificationMessage|null); /** Content content. */ public content?: ("commonSticker"|"screenshotAction"|"extendedContentMessage"|"ravenMessage"|"ravenActionNotifMessage"|"extendedMessageContentWithSear"|"imageGalleryMessage"|"paymentsTransactionMessage"|"bumpExistingMessage"|"noteReplyMessage"|"ravenMessageMsgr"|"networkVerificationMessage"); /** * Creates a new Content instance using the specified properties. * @param [properties] Properties to set * @returns Content instance */ public static create(properties?: waproto.Armadillo.IContent): waproto.Armadillo.Content; /** * Encodes the specified Content message. Does not implicitly {@link waproto.Armadillo.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Content message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Content message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content; /** * Decodes a Content message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content; /** * Verifies a Content message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Content message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Content */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content; /** * Creates a plain object from a Content message. Also converts values to other types if specified. * @param message Content * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Content to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Content * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Content { /** Properties of a PaymentsTransactionMessage. */ interface IPaymentsTransactionMessage { /** PaymentsTransactionMessage transactionId */ transactionId?: (number|Long|null); /** PaymentsTransactionMessage amount */ amount?: (string|null); /** PaymentsTransactionMessage currency */ currency?: (string|null); /** PaymentsTransactionMessage paymentStatus */ paymentStatus?: (waproto.ARMADILLO_CONTENT_PAYMENTS_TRANSACTION_MESSAGE_PAYMENT_STATUS|null); /** PaymentsTransactionMessage extendedContentMessage */ extendedContentMessage?: (waproto.IExtendedContentMessage|null); } /** Represents a PaymentsTransactionMessage. */ class PaymentsTransactionMessage implements IPaymentsTransactionMessage { /** * Constructs a new PaymentsTransactionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IPaymentsTransactionMessage); /** PaymentsTransactionMessage transactionId. */ public transactionId?: (number|Long|null); /** PaymentsTransactionMessage amount. */ public amount?: (string|null); /** PaymentsTransactionMessage currency. */ public currency?: (string|null); /** PaymentsTransactionMessage paymentStatus. */ public paymentStatus?: (waproto.ARMADILLO_CONTENT_PAYMENTS_TRANSACTION_MESSAGE_PAYMENT_STATUS|null); /** PaymentsTransactionMessage extendedContentMessage. */ public extendedContentMessage?: (waproto.IExtendedContentMessage|null); /** * Creates a new PaymentsTransactionMessage instance using the specified properties. * @param [properties] Properties to set * @returns PaymentsTransactionMessage instance */ public static create(properties?: waproto.Armadillo.Content.IPaymentsTransactionMessage): waproto.Armadillo.Content.PaymentsTransactionMessage; /** * Encodes the specified PaymentsTransactionMessage message. Does not implicitly {@link waproto.Armadillo.Content.PaymentsTransactionMessage.verify|verify} messages. * @param message PaymentsTransactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IPaymentsTransactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentsTransactionMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.PaymentsTransactionMessage.verify|verify} messages. * @param message PaymentsTransactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IPaymentsTransactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentsTransactionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentsTransactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.PaymentsTransactionMessage; /** * Decodes a PaymentsTransactionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentsTransactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.PaymentsTransactionMessage; /** * Verifies a PaymentsTransactionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentsTransactionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentsTransactionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.PaymentsTransactionMessage; /** * Creates a plain object from a PaymentsTransactionMessage message. Also converts values to other types if specified. * @param message PaymentsTransactionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.PaymentsTransactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentsTransactionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentsTransactionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NetworkVerificationMessage. */ interface INetworkVerificationMessage { /** NetworkVerificationMessage codeText */ codeText?: (string|null); } /** Represents a NetworkVerificationMessage. */ class NetworkVerificationMessage implements INetworkVerificationMessage { /** * Constructs a new NetworkVerificationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.INetworkVerificationMessage); /** NetworkVerificationMessage codeText. */ public codeText?: (string|null); /** * Creates a new NetworkVerificationMessage instance using the specified properties. * @param [properties] Properties to set * @returns NetworkVerificationMessage instance */ public static create(properties?: waproto.Armadillo.Content.INetworkVerificationMessage): waproto.Armadillo.Content.NetworkVerificationMessage; /** * Encodes the specified NetworkVerificationMessage message. Does not implicitly {@link waproto.Armadillo.Content.NetworkVerificationMessage.verify|verify} messages. * @param message NetworkVerificationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.INetworkVerificationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NetworkVerificationMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.NetworkVerificationMessage.verify|verify} messages. * @param message NetworkVerificationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.INetworkVerificationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NetworkVerificationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NetworkVerificationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.NetworkVerificationMessage; /** * Decodes a NetworkVerificationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NetworkVerificationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.NetworkVerificationMessage; /** * Verifies a NetworkVerificationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NetworkVerificationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NetworkVerificationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.NetworkVerificationMessage; /** * Creates a plain object from a NetworkVerificationMessage message. Also converts values to other types if specified. * @param message NetworkVerificationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.NetworkVerificationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NetworkVerificationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NetworkVerificationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NoteReplyMessage. */ interface INoteReplyMessage { /** NoteReplyMessage noteId */ noteId?: (string|null); /** NoteReplyMessage noteText */ noteText?: (waproto.IMessageText|null); /** NoteReplyMessage noteTimestampMs */ noteTimestampMs?: (number|Long|null); /** NoteReplyMessage textContent */ textContent?: (waproto.IMessageText|null); /** NoteReplyMessage stickerContent */ stickerContent?: (waproto.ISubProtocol|null); /** NoteReplyMessage videoContent */ videoContent?: (waproto.ISubProtocol|null); } /** Represents a NoteReplyMessage. */ class NoteReplyMessage implements INoteReplyMessage { /** * Constructs a new NoteReplyMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.INoteReplyMessage); /** NoteReplyMessage noteId. */ public noteId?: (string|null); /** NoteReplyMessage noteText. */ public noteText?: (waproto.IMessageText|null); /** NoteReplyMessage noteTimestampMs. */ public noteTimestampMs?: (number|Long|null); /** NoteReplyMessage textContent. */ public textContent?: (waproto.IMessageText|null); /** NoteReplyMessage stickerContent. */ public stickerContent?: (waproto.ISubProtocol|null); /** NoteReplyMessage videoContent. */ public videoContent?: (waproto.ISubProtocol|null); /** NoteReplyMessage noteReplyContent. */ public noteReplyContent?: ("textContent"|"stickerContent"|"videoContent"); /** * Creates a new NoteReplyMessage instance using the specified properties. * @param [properties] Properties to set * @returns NoteReplyMessage instance */ public static create(properties?: waproto.Armadillo.Content.INoteReplyMessage): waproto.Armadillo.Content.NoteReplyMessage; /** * Encodes the specified NoteReplyMessage message. Does not implicitly {@link waproto.Armadillo.Content.NoteReplyMessage.verify|verify} messages. * @param message NoteReplyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.INoteReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NoteReplyMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.NoteReplyMessage.verify|verify} messages. * @param message NoteReplyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.INoteReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NoteReplyMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NoteReplyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.NoteReplyMessage; /** * Decodes a NoteReplyMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NoteReplyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.NoteReplyMessage; /** * Verifies a NoteReplyMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NoteReplyMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NoteReplyMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.NoteReplyMessage; /** * Creates a plain object from a NoteReplyMessage message. Also converts values to other types if specified. * @param message NoteReplyMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.NoteReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NoteReplyMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NoteReplyMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BumpExistingMessage. */ interface IBumpExistingMessage { /** BumpExistingMessage key */ key?: (waproto.IMessageKey|null); } /** Represents a BumpExistingMessage. */ class BumpExistingMessage implements IBumpExistingMessage { /** * Constructs a new BumpExistingMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IBumpExistingMessage); /** BumpExistingMessage key. */ public key?: (waproto.IMessageKey|null); /** * Creates a new BumpExistingMessage instance using the specified properties. * @param [properties] Properties to set * @returns BumpExistingMessage instance */ public static create(properties?: waproto.Armadillo.Content.IBumpExistingMessage): waproto.Armadillo.Content.BumpExistingMessage; /** * Encodes the specified BumpExistingMessage message. Does not implicitly {@link waproto.Armadillo.Content.BumpExistingMessage.verify|verify} messages. * @param message BumpExistingMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IBumpExistingMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BumpExistingMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.BumpExistingMessage.verify|verify} messages. * @param message BumpExistingMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IBumpExistingMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BumpExistingMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BumpExistingMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.BumpExistingMessage; /** * Decodes a BumpExistingMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BumpExistingMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.BumpExistingMessage; /** * Verifies a BumpExistingMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BumpExistingMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BumpExistingMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.BumpExistingMessage; /** * Creates a plain object from a BumpExistingMessage message. Also converts values to other types if specified. * @param message BumpExistingMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.BumpExistingMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BumpExistingMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BumpExistingMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImageGalleryMessage. */ interface IImageGalleryMessage { /** ImageGalleryMessage images */ images?: (waproto.ISubProtocol[]|null); } /** Represents an ImageGalleryMessage. */ class ImageGalleryMessage implements IImageGalleryMessage { /** * Constructs a new ImageGalleryMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IImageGalleryMessage); /** ImageGalleryMessage images. */ public images: waproto.ISubProtocol[]; /** * Creates a new ImageGalleryMessage instance using the specified properties. * @param [properties] Properties to set * @returns ImageGalleryMessage instance */ public static create(properties?: waproto.Armadillo.Content.IImageGalleryMessage): waproto.Armadillo.Content.ImageGalleryMessage; /** * Encodes the specified ImageGalleryMessage message. Does not implicitly {@link waproto.Armadillo.Content.ImageGalleryMessage.verify|verify} messages. * @param message ImageGalleryMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IImageGalleryMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImageGalleryMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.ImageGalleryMessage.verify|verify} messages. * @param message ImageGalleryMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IImageGalleryMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImageGalleryMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImageGalleryMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.ImageGalleryMessage; /** * Decodes an ImageGalleryMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImageGalleryMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.ImageGalleryMessage; /** * Verifies an ImageGalleryMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImageGalleryMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImageGalleryMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.ImageGalleryMessage; /** * Creates a plain object from an ImageGalleryMessage message. Also converts values to other types if specified. * @param message ImageGalleryMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.ImageGalleryMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImageGalleryMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ImageGalleryMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ScreenshotAction. */ interface IScreenshotAction { /** ScreenshotAction screenshotType */ screenshotType?: (waproto.ARMADILLO_CONTENT_SCREENSHOT_ACTION_SCREENSHOT_TYPE|null); } /** Represents a ScreenshotAction. */ class ScreenshotAction implements IScreenshotAction { /** * Constructs a new ScreenshotAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IScreenshotAction); /** ScreenshotAction screenshotType. */ public screenshotType?: (waproto.ARMADILLO_CONTENT_SCREENSHOT_ACTION_SCREENSHOT_TYPE|null); /** * Creates a new ScreenshotAction instance using the specified properties. * @param [properties] Properties to set * @returns ScreenshotAction instance */ public static create(properties?: waproto.Armadillo.Content.IScreenshotAction): waproto.Armadillo.Content.ScreenshotAction; /** * Encodes the specified ScreenshotAction message. Does not implicitly {@link waproto.Armadillo.Content.ScreenshotAction.verify|verify} messages. * @param message ScreenshotAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IScreenshotAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ScreenshotAction message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.ScreenshotAction.verify|verify} messages. * @param message ScreenshotAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IScreenshotAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ScreenshotAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ScreenshotAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.ScreenshotAction; /** * Decodes a ScreenshotAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ScreenshotAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.ScreenshotAction; /** * Verifies a ScreenshotAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ScreenshotAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ScreenshotAction */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.ScreenshotAction; /** * Creates a plain object from a ScreenshotAction message. Also converts values to other types if specified. * @param message ScreenshotAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.ScreenshotAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ScreenshotAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ScreenshotAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExtendedContentMessageWithSear. */ interface IExtendedContentMessageWithSear { /** ExtendedContentMessageWithSear searId */ searId?: (string|null); /** ExtendedContentMessageWithSear payload */ payload?: (Uint8Array|null); /** ExtendedContentMessageWithSear nativeUrl */ nativeUrl?: (string|null); /** ExtendedContentMessageWithSear searAssociatedMessage */ searAssociatedMessage?: (waproto.ISubProtocol|null); /** ExtendedContentMessageWithSear searSentWithMessageId */ searSentWithMessageId?: (string|null); } /** Represents an ExtendedContentMessageWithSear. */ class ExtendedContentMessageWithSear implements IExtendedContentMessageWithSear { /** * Constructs a new ExtendedContentMessageWithSear. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IExtendedContentMessageWithSear); /** ExtendedContentMessageWithSear searId. */ public searId?: (string|null); /** ExtendedContentMessageWithSear payload. */ public payload?: (Uint8Array|null); /** ExtendedContentMessageWithSear nativeUrl. */ public nativeUrl?: (string|null); /** ExtendedContentMessageWithSear searAssociatedMessage. */ public searAssociatedMessage?: (waproto.ISubProtocol|null); /** ExtendedContentMessageWithSear searSentWithMessageId. */ public searSentWithMessageId?: (string|null); /** * Creates a new ExtendedContentMessageWithSear instance using the specified properties. * @param [properties] Properties to set * @returns ExtendedContentMessageWithSear instance */ public static create(properties?: waproto.Armadillo.Content.IExtendedContentMessageWithSear): waproto.Armadillo.Content.ExtendedContentMessageWithSear; /** * Encodes the specified ExtendedContentMessageWithSear message. Does not implicitly {@link waproto.Armadillo.Content.ExtendedContentMessageWithSear.verify|verify} messages. * @param message ExtendedContentMessageWithSear message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IExtendedContentMessageWithSear, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedContentMessageWithSear message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.ExtendedContentMessageWithSear.verify|verify} messages. * @param message ExtendedContentMessageWithSear message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IExtendedContentMessageWithSear, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedContentMessageWithSear message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedContentMessageWithSear * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.ExtendedContentMessageWithSear; /** * Decodes an ExtendedContentMessageWithSear message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedContentMessageWithSear * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.ExtendedContentMessageWithSear; /** * Verifies an ExtendedContentMessageWithSear message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedContentMessageWithSear message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedContentMessageWithSear */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.ExtendedContentMessageWithSear; /** * Creates a plain object from an ExtendedContentMessageWithSear message. Also converts values to other types if specified. * @param message ExtendedContentMessageWithSear * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.ExtendedContentMessageWithSear, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedContentMessageWithSear to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtendedContentMessageWithSear * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RavenActionNotifMessage. */ interface IRavenActionNotifMessage { /** RavenActionNotifMessage key */ key?: (waproto.IMessageKey|null); /** RavenActionNotifMessage actionTimestamp */ actionTimestamp?: (number|Long|null); /** RavenActionNotifMessage actionType */ actionType?: (waproto.ARMADILLO_CONTENT_RAVEN_ACTION_NOTIF_MESSAGE_ACTION_TYPE|null); } /** Represents a RavenActionNotifMessage. */ class RavenActionNotifMessage implements IRavenActionNotifMessage { /** * Constructs a new RavenActionNotifMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IRavenActionNotifMessage); /** RavenActionNotifMessage key. */ public key?: (waproto.IMessageKey|null); /** RavenActionNotifMessage actionTimestamp. */ public actionTimestamp?: (number|Long|null); /** RavenActionNotifMessage actionType. */ public actionType?: (waproto.ARMADILLO_CONTENT_RAVEN_ACTION_NOTIF_MESSAGE_ACTION_TYPE|null); /** * Creates a new RavenActionNotifMessage instance using the specified properties. * @param [properties] Properties to set * @returns RavenActionNotifMessage instance */ public static create(properties?: waproto.Armadillo.Content.IRavenActionNotifMessage): waproto.Armadillo.Content.RavenActionNotifMessage; /** * Encodes the specified RavenActionNotifMessage message. Does not implicitly {@link waproto.Armadillo.Content.RavenActionNotifMessage.verify|verify} messages. * @param message RavenActionNotifMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IRavenActionNotifMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RavenActionNotifMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.RavenActionNotifMessage.verify|verify} messages. * @param message RavenActionNotifMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IRavenActionNotifMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RavenActionNotifMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RavenActionNotifMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.RavenActionNotifMessage; /** * Decodes a RavenActionNotifMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RavenActionNotifMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.RavenActionNotifMessage; /** * Verifies a RavenActionNotifMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RavenActionNotifMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RavenActionNotifMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.RavenActionNotifMessage; /** * Creates a plain object from a RavenActionNotifMessage message. Also converts values to other types if specified. * @param message RavenActionNotifMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.RavenActionNotifMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RavenActionNotifMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RavenActionNotifMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RavenMessage. */ interface IRavenMessage { /** RavenMessage ephemeralType */ ephemeralType?: (waproto.ARMADILLO_CONTENT_RAVEN_MESSAGE_EPHEMERAL_TYPE|null); /** RavenMessage imageMessage */ imageMessage?: (waproto.ISubProtocol|null); /** RavenMessage videoMessage */ videoMessage?: (waproto.ISubProtocol|null); } /** Represents a RavenMessage. */ class RavenMessage implements IRavenMessage { /** * Constructs a new RavenMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.IRavenMessage); /** RavenMessage ephemeralType. */ public ephemeralType?: (waproto.ARMADILLO_CONTENT_RAVEN_MESSAGE_EPHEMERAL_TYPE|null); /** RavenMessage imageMessage. */ public imageMessage?: (waproto.ISubProtocol|null); /** RavenMessage videoMessage. */ public videoMessage?: (waproto.ISubProtocol|null); /** RavenMessage mediaContent. */ public mediaContent?: ("imageMessage"|"videoMessage"); /** * Creates a new RavenMessage instance using the specified properties. * @param [properties] Properties to set * @returns RavenMessage instance */ public static create(properties?: waproto.Armadillo.Content.IRavenMessage): waproto.Armadillo.Content.RavenMessage; /** * Encodes the specified RavenMessage message. Does not implicitly {@link waproto.Armadillo.Content.RavenMessage.verify|verify} messages. * @param message RavenMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.IRavenMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RavenMessage message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.RavenMessage.verify|verify} messages. * @param message RavenMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.IRavenMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RavenMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RavenMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.RavenMessage; /** * Decodes a RavenMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RavenMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.RavenMessage; /** * Verifies a RavenMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RavenMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RavenMessage */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.RavenMessage; /** * Creates a plain object from a RavenMessage message. Also converts values to other types if specified. * @param message RavenMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.RavenMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RavenMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RavenMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommonSticker. */ interface ICommonSticker { /** CommonSticker stickerType */ stickerType?: (waproto.ARMADILLO_CONTENT_COMMON_STICKER_STICKER_TYPE|null); } /** Represents a CommonSticker. */ class CommonSticker implements ICommonSticker { /** * Constructs a new CommonSticker. * @param [properties] Properties to set */ constructor(properties?: waproto.Armadillo.Content.ICommonSticker); /** CommonSticker stickerType. */ public stickerType?: (waproto.ARMADILLO_CONTENT_COMMON_STICKER_STICKER_TYPE|null); /** * Creates a new CommonSticker instance using the specified properties. * @param [properties] Properties to set * @returns CommonSticker instance */ public static create(properties?: waproto.Armadillo.Content.ICommonSticker): waproto.Armadillo.Content.CommonSticker; /** * Encodes the specified CommonSticker message. Does not implicitly {@link waproto.Armadillo.Content.CommonSticker.verify|verify} messages. * @param message CommonSticker message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Armadillo.Content.ICommonSticker, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommonSticker message, length delimited. Does not implicitly {@link waproto.Armadillo.Content.CommonSticker.verify|verify} messages. * @param message CommonSticker message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Armadillo.Content.ICommonSticker, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommonSticker message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommonSticker * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Armadillo.Content.CommonSticker; /** * Decodes a CommonSticker message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommonSticker * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Armadillo.Content.CommonSticker; /** * Verifies a CommonSticker message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommonSticker message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommonSticker */ public static fromObject(object: { [k: string]: any }): waproto.Armadillo.Content.CommonSticker; /** * Creates a plain object from a CommonSticker message. Also converts values to other types if specified. * @param message CommonSticker * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Armadillo.Content.CommonSticker, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommonSticker to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommonSticker * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an AudioMsgContentProto. */ interface IAudioMsgContentProto { /** AudioMsgContentProto duration */ duration?: (number|null); /** AudioMsgContentProto mimetype */ mimetype?: (string|null); /** AudioMsgContentProto played */ played?: (boolean|null); /** AudioMsgContentProto waveform */ waveform?: (Uint8Array|null); } /** Represents an AudioMsgContentProto. */ class AudioMsgContentProto implements IAudioMsgContentProto { /** * Constructs a new AudioMsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IAudioMsgContentProto); /** AudioMsgContentProto duration. */ public duration?: (number|null); /** AudioMsgContentProto mimetype. */ public mimetype?: (string|null); /** AudioMsgContentProto played. */ public played?: (boolean|null); /** AudioMsgContentProto waveform. */ public waveform?: (Uint8Array|null); /** * Creates a new AudioMsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns AudioMsgContentProto instance */ public static create(properties?: waproto.IAudioMsgContentProto): waproto.AudioMsgContentProto; /** * Encodes the specified AudioMsgContentProto message. Does not implicitly {@link waproto.AudioMsgContentProto.verify|verify} messages. * @param message AudioMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAudioMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AudioMsgContentProto message, length delimited. Does not implicitly {@link waproto.AudioMsgContentProto.verify|verify} messages. * @param message AudioMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAudioMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AudioMsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AudioMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioMsgContentProto; /** * Decodes an AudioMsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AudioMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioMsgContentProto; /** * Verifies an AudioMsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AudioMsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AudioMsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.AudioMsgContentProto; /** * Creates a plain object from an AudioMsgContentProto message. Also converts values to other types if specified. * @param message AudioMsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioMsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AudioMsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AudioMsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AudioTransport. */ interface IAudioTransport { /** AudioTransport integral */ integral?: (waproto.AudioTransport.IIntegral|null); /** AudioTransport ancillary */ ancillary?: (waproto.AudioTransport.IAncillary|null); } /** Represents an AudioTransport. */ class AudioTransport implements IAudioTransport { /** * Constructs a new AudioTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IAudioTransport); /** AudioTransport integral. */ public integral?: (waproto.AudioTransport.IIntegral|null); /** AudioTransport ancillary. */ public ancillary?: (waproto.AudioTransport.IAncillary|null); /** * Creates a new AudioTransport instance using the specified properties. * @param [properties] Properties to set * @returns AudioTransport instance */ public static create(properties?: waproto.IAudioTransport): waproto.AudioTransport; /** * Encodes the specified AudioTransport message. Does not implicitly {@link waproto.AudioTransport.verify|verify} messages. * @param message AudioTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAudioTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AudioTransport message, length delimited. Does not implicitly {@link waproto.AudioTransport.verify|verify} messages. * @param message AudioTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAudioTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AudioTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AudioTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioTransport; /** * Decodes an AudioTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AudioTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioTransport; /** * Verifies an AudioTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AudioTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AudioTransport */ public static fromObject(object: { [k: string]: any }): waproto.AudioTransport; /** * Creates a plain object from an AudioTransport message. Also converts values to other types if specified. * @param message AudioTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AudioTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AudioTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AudioTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary seconds */ seconds?: (number|null); /** Ancillary avatarAudio */ avatarAudio?: (waproto.AudioTransport.Ancillary.IAvatarAudio|null); /** Ancillary waveformData */ waveformData?: (string|null); /** Ancillary waveform */ waveform?: (Uint8Array|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.AudioTransport.IAncillary); /** Ancillary seconds. */ public seconds?: (number|null); /** Ancillary avatarAudio. */ public avatarAudio?: (waproto.AudioTransport.Ancillary.IAvatarAudio|null); /** Ancillary waveformData. */ public waveformData?: (string|null); /** Ancillary waveform. */ public waveform?: (Uint8Array|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.AudioTransport.IAncillary): waproto.AudioTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.AudioTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AudioTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.AudioTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AudioTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.AudioTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Ancillary { /** Properties of an AvatarAudio. */ interface IAvatarAudio { /** AvatarAudio poseId */ poseId?: (number|null); /** AvatarAudio avatarAnimations */ avatarAnimations?: (waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations[]|null); } /** Represents an AvatarAudio. */ class AvatarAudio implements IAvatarAudio { /** * Constructs a new AvatarAudio. * @param [properties] Properties to set */ constructor(properties?: waproto.AudioTransport.Ancillary.IAvatarAudio); /** AvatarAudio poseId. */ public poseId?: (number|null); /** AvatarAudio avatarAnimations. */ public avatarAnimations: waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations[]; /** * Creates a new AvatarAudio instance using the specified properties. * @param [properties] Properties to set * @returns AvatarAudio instance */ public static create(properties?: waproto.AudioTransport.Ancillary.IAvatarAudio): waproto.AudioTransport.Ancillary.AvatarAudio; /** * Encodes the specified AvatarAudio message. Does not implicitly {@link waproto.AudioTransport.Ancillary.AvatarAudio.verify|verify} messages. * @param message AvatarAudio message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AudioTransport.Ancillary.IAvatarAudio, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvatarAudio message, length delimited. Does not implicitly {@link waproto.AudioTransport.Ancillary.AvatarAudio.verify|verify} messages. * @param message AvatarAudio message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AudioTransport.Ancillary.IAvatarAudio, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvatarAudio message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvatarAudio * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioTransport.Ancillary.AvatarAudio; /** * Decodes an AvatarAudio message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvatarAudio * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioTransport.Ancillary.AvatarAudio; /** * Verifies an AvatarAudio message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AvatarAudio message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvatarAudio */ public static fromObject(object: { [k: string]: any }): waproto.AudioTransport.Ancillary.AvatarAudio; /** * Creates a plain object from an AvatarAudio message. Also converts values to other types if specified. * @param message AvatarAudio * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioTransport.Ancillary.AvatarAudio, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvatarAudio to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvatarAudio * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AvatarAudio { /** Properties of a DownloadableAvatarAnimations. */ interface IDownloadableAvatarAnimations { /** DownloadableAvatarAnimations fileSha256 */ fileSha256?: (Uint8Array|null); /** DownloadableAvatarAnimations fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** DownloadableAvatarAnimations directPath */ directPath?: (string|null); /** DownloadableAvatarAnimations mediaKey */ mediaKey?: (Uint8Array|null); /** DownloadableAvatarAnimations mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** DownloadableAvatarAnimations objectId */ objectId?: (string|null); /** DownloadableAvatarAnimations animationsType */ animationsType?: (waproto.AUDIO_TRANSPORT_ANCILLARY_AVATAR_AUDIO_ANIMATIONS_TYPE|null); } /** Represents a DownloadableAvatarAnimations. */ class DownloadableAvatarAnimations implements IDownloadableAvatarAnimations { /** * Constructs a new DownloadableAvatarAnimations. * @param [properties] Properties to set */ constructor(properties?: waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations); /** DownloadableAvatarAnimations fileSha256. */ public fileSha256?: (Uint8Array|null); /** DownloadableAvatarAnimations fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** DownloadableAvatarAnimations directPath. */ public directPath?: (string|null); /** DownloadableAvatarAnimations mediaKey. */ public mediaKey?: (Uint8Array|null); /** DownloadableAvatarAnimations mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** DownloadableAvatarAnimations objectId. */ public objectId?: (string|null); /** DownloadableAvatarAnimations animationsType. */ public animationsType?: (waproto.AUDIO_TRANSPORT_ANCILLARY_AVATAR_AUDIO_ANIMATIONS_TYPE|null); /** * Creates a new DownloadableAvatarAnimations instance using the specified properties. * @param [properties] Properties to set * @returns DownloadableAvatarAnimations instance */ public static create(properties?: waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations): waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations; /** * Encodes the specified DownloadableAvatarAnimations message. Does not implicitly {@link waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations.verify|verify} messages. * @param message DownloadableAvatarAnimations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DownloadableAvatarAnimations message, length delimited. Does not implicitly {@link waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations.verify|verify} messages. * @param message DownloadableAvatarAnimations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AudioTransport.Ancillary.AvatarAudio.IDownloadableAvatarAnimations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DownloadableAvatarAnimations message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DownloadableAvatarAnimations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations; /** * Decodes a DownloadableAvatarAnimations message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DownloadableAvatarAnimations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations; /** * Verifies a DownloadableAvatarAnimations message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DownloadableAvatarAnimations message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DownloadableAvatarAnimations */ public static fromObject(object: { [k: string]: any }): waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations; /** * Creates a plain object from a DownloadableAvatarAnimations message. Also converts values to other types if specified. * @param message DownloadableAvatarAnimations * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DownloadableAvatarAnimations to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DownloadableAvatarAnimations * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an Integral. */ interface IIntegral { /** Integral transport */ transport?: (waproto.IWAMediaTransport|null); /** Integral audioFormat */ audioFormat?: (waproto.AUDIO_TRANSPORT_INTEGRAL_AUDIO_FORMAT|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.AudioTransport.IIntegral); /** Integral transport. */ public transport?: (waproto.IWAMediaTransport|null); /** Integral audioFormat. */ public audioFormat?: (waproto.AUDIO_TRANSPORT_INTEGRAL_AUDIO_FORMAT|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.AudioTransport.IIntegral): waproto.AudioTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.AudioTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.AudioTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.AudioTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.AudioTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AudioTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AudioTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.AudioTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AudioTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AutoDownloadSettings. */ interface IAutoDownloadSettings { /** AutoDownloadSettings downloadImages */ downloadImages?: (boolean|null); /** AutoDownloadSettings downloadAudio */ downloadAudio?: (boolean|null); /** AutoDownloadSettings downloadVideo */ downloadVideo?: (boolean|null); /** AutoDownloadSettings downloadDocuments */ downloadDocuments?: (boolean|null); } /** Represents an AutoDownloadSettings. */ class AutoDownloadSettings implements IAutoDownloadSettings { /** * Constructs a new AutoDownloadSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.IAutoDownloadSettings); /** AutoDownloadSettings downloadImages. */ public downloadImages?: (boolean|null); /** AutoDownloadSettings downloadAudio. */ public downloadAudio?: (boolean|null); /** AutoDownloadSettings downloadVideo. */ public downloadVideo?: (boolean|null); /** AutoDownloadSettings downloadDocuments. */ public downloadDocuments?: (boolean|null); /** * Creates a new AutoDownloadSettings instance using the specified properties. * @param [properties] Properties to set * @returns AutoDownloadSettings instance */ public static create(properties?: waproto.IAutoDownloadSettings): waproto.AutoDownloadSettings; /** * Encodes the specified AutoDownloadSettings message. Does not implicitly {@link waproto.AutoDownloadSettings.verify|verify} messages. * @param message AutoDownloadSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAutoDownloadSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AutoDownloadSettings message, length delimited. Does not implicitly {@link waproto.AutoDownloadSettings.verify|verify} messages. * @param message AutoDownloadSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAutoDownloadSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AutoDownloadSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AutoDownloadSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AutoDownloadSettings; /** * Decodes an AutoDownloadSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AutoDownloadSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AutoDownloadSettings; /** * Verifies an AutoDownloadSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AutoDownloadSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AutoDownloadSettings */ public static fromObject(object: { [k: string]: any }): waproto.AutoDownloadSettings; /** * Creates a plain object from an AutoDownloadSettings message. Also converts values to other types if specified. * @param message AutoDownloadSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AutoDownloadSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AutoDownloadSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AutoDownloadSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AvatarUserSettings. */ interface IAvatarUserSettings { /** AvatarUserSettings fbid */ fbid?: (string|null); /** AvatarUserSettings password */ password?: (string|null); } /** Represents an AvatarUserSettings. */ class AvatarUserSettings implements IAvatarUserSettings { /** * Constructs a new AvatarUserSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.IAvatarUserSettings); /** AvatarUserSettings fbid. */ public fbid?: (string|null); /** AvatarUserSettings password. */ public password?: (string|null); /** * Creates a new AvatarUserSettings instance using the specified properties. * @param [properties] Properties to set * @returns AvatarUserSettings instance */ public static create(properties?: waproto.IAvatarUserSettings): waproto.AvatarUserSettings; /** * Encodes the specified AvatarUserSettings message. Does not implicitly {@link waproto.AvatarUserSettings.verify|verify} messages. * @param message AvatarUserSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvatarUserSettings message, length delimited. Does not implicitly {@link waproto.AvatarUserSettings.verify|verify} messages. * @param message AvatarUserSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvatarUserSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvatarUserSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AvatarUserSettings; /** * Decodes an AvatarUserSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvatarUserSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AvatarUserSettings; /** * Verifies an AvatarUserSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AvatarUserSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvatarUserSettings */ public static fromObject(object: { [k: string]: any }): waproto.AvatarUserSettings; /** * Creates a plain object from an AvatarUserSettings message. Also converts values to other types if specified. * @param message AvatarUserSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.AvatarUserSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvatarUserSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvatarUserSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BackupMessage. */ interface IBackupMessage { /** BackupMessage metadata */ metadata?: (waproto.IMetadata|null); /** BackupMessage encryptedTransportMessage */ encryptedTransportMessage?: (Uint8Array|null); /** BackupMessage encryptedTransportEvent */ encryptedTransportEvent?: (waproto.ISubprotocol|null); /** BackupMessage encryptedTransportLocallyTransformedMessage */ encryptedTransportLocallyTransformedMessage?: (waproto.ISubprotocol|null); /** BackupMessage miTransportAdminMessage */ miTransportAdminMessage?: (waproto.ISubprotocol|null); } /** Represents a BackupMessage. */ class BackupMessage implements IBackupMessage { /** * Constructs a new BackupMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IBackupMessage); /** BackupMessage metadata. */ public metadata?: (waproto.IMetadata|null); /** BackupMessage encryptedTransportMessage. */ public encryptedTransportMessage?: (Uint8Array|null); /** BackupMessage encryptedTransportEvent. */ public encryptedTransportEvent?: (waproto.ISubprotocol|null); /** BackupMessage encryptedTransportLocallyTransformedMessage. */ public encryptedTransportLocallyTransformedMessage?: (waproto.ISubprotocol|null); /** BackupMessage miTransportAdminMessage. */ public miTransportAdminMessage?: (waproto.ISubprotocol|null); /** BackupMessage payload. */ public payload?: ("encryptedTransportMessage"|"encryptedTransportEvent"|"encryptedTransportLocallyTransformedMessage"|"miTransportAdminMessage"); /** * Creates a new BackupMessage instance using the specified properties. * @param [properties] Properties to set * @returns BackupMessage instance */ public static create(properties?: waproto.IBackupMessage): waproto.BackupMessage; /** * Encodes the specified BackupMessage message. Does not implicitly {@link waproto.BackupMessage.verify|verify} messages. * @param message BackupMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBackupMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BackupMessage message, length delimited. Does not implicitly {@link waproto.BackupMessage.verify|verify} messages. * @param message BackupMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBackupMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BackupMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BackupMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BackupMessage; /** * Decodes a BackupMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BackupMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BackupMessage; /** * Verifies a BackupMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BackupMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BackupMessage */ public static fromObject(object: { [k: string]: any }): waproto.BackupMessage; /** * Creates a plain object from a BackupMessage message. Also converts values to other types if specified. * @param message BackupMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BackupMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BackupMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BackupMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BackwardEdge. */ interface IBackwardEdge { /** BackwardEdge encryptedPrevEpochAnonId */ encryptedPrevEpochAnonId?: (Uint8Array|null); /** BackwardEdge encryptedPrevEpochRootKey */ encryptedPrevEpochRootKey?: (Uint8Array|null); /** BackwardEdge prevEpochRootKeyFingerprint */ prevEpochRootKeyFingerprint?: (Uint8Array|null); } /** Represents a BackwardEdge. */ class BackwardEdge implements IBackwardEdge { /** * Constructs a new BackwardEdge. * @param [properties] Properties to set */ constructor(properties?: waproto.IBackwardEdge); /** BackwardEdge encryptedPrevEpochAnonId. */ public encryptedPrevEpochAnonId?: (Uint8Array|null); /** BackwardEdge encryptedPrevEpochRootKey. */ public encryptedPrevEpochRootKey?: (Uint8Array|null); /** BackwardEdge prevEpochRootKeyFingerprint. */ public prevEpochRootKeyFingerprint?: (Uint8Array|null); /** * Creates a new BackwardEdge instance using the specified properties. * @param [properties] Properties to set * @returns BackwardEdge instance */ public static create(properties?: waproto.IBackwardEdge): waproto.BackwardEdge; /** * Encodes the specified BackwardEdge message. Does not implicitly {@link waproto.BackwardEdge.verify|verify} messages. * @param message BackwardEdge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBackwardEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BackwardEdge message, length delimited. Does not implicitly {@link waproto.BackwardEdge.verify|verify} messages. * @param message BackwardEdge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBackwardEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BackwardEdge message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BackwardEdge * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BackwardEdge; /** * Decodes a BackwardEdge message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BackwardEdge * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BackwardEdge; /** * Verifies a BackwardEdge message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BackwardEdge message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BackwardEdge */ public static fromObject(object: { [k: string]: any }): waproto.BackwardEdge; /** * Creates a plain object from a BackwardEdge message. Also converts values to other types if specified. * @param message BackwardEdge * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BackwardEdge, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BackwardEdge to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BackwardEdge * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizAIMetadataSync. */ interface IBizAIMetadataSync { /** BizAIMetadataSync serverEvent */ serverEvent?: (waproto.BizAIMetadataSync.IServerEvent|null); } /** Represents a BizAIMetadataSync. */ class BizAIMetadataSync implements IBizAIMetadataSync { /** * Constructs a new BizAIMetadataSync. * @param [properties] Properties to set */ constructor(properties?: waproto.IBizAIMetadataSync); /** BizAIMetadataSync serverEvent. */ public serverEvent?: (waproto.BizAIMetadataSync.IServerEvent|null); /** BizAIMetadataSync operation. */ public operation?: "serverEvent"; /** * Creates a new BizAIMetadataSync instance using the specified properties. * @param [properties] Properties to set * @returns BizAIMetadataSync instance */ public static create(properties?: waproto.IBizAIMetadataSync): waproto.BizAIMetadataSync; /** * Encodes the specified BizAIMetadataSync message. Does not implicitly {@link waproto.BizAIMetadataSync.verify|verify} messages. * @param message BizAIMetadataSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBizAIMetadataSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAIMetadataSync message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.verify|verify} messages. * @param message BizAIMetadataSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBizAIMetadataSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAIMetadataSync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAIMetadataSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync; /** * Decodes a BizAIMetadataSync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAIMetadataSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync; /** * Verifies a BizAIMetadataSync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizAIMetadataSync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAIMetadataSync */ public static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync; /** * Creates a plain object from a BizAIMetadataSync message. Also converts values to other types if specified. * @param message BizAIMetadataSync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizAIMetadataSync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAIMetadataSync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAIMetadataSync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BizAIMetadataSync { /** Properties of a ServerEvent. */ interface IServerEvent { /** ServerEvent protocolEvent */ protocolEvent?: (waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent|null); /** ServerEvent agentOnboardingStarted */ agentOnboardingStarted?: (waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted|null); } /** Represents a ServerEvent. */ class ServerEvent implements IServerEvent { /** * Constructs a new ServerEvent. * @param [properties] Properties to set */ constructor(properties?: waproto.BizAIMetadataSync.IServerEvent); /** ServerEvent protocolEvent. */ public protocolEvent?: (waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent|null); /** ServerEvent agentOnboardingStarted. */ public agentOnboardingStarted?: (waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted|null); /** ServerEvent event. */ public event?: ("protocolEvent"|"agentOnboardingStarted"); /** * Creates a new ServerEvent instance using the specified properties. * @param [properties] Properties to set * @returns ServerEvent instance */ public static create(properties?: waproto.BizAIMetadataSync.IServerEvent): waproto.BizAIMetadataSync.ServerEvent; /** * Encodes the specified ServerEvent message. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.verify|verify} messages. * @param message ServerEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BizAIMetadataSync.IServerEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServerEvent message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.verify|verify} messages. * @param message ServerEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BizAIMetadataSync.IServerEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServerEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServerEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync.ServerEvent; /** * Decodes a ServerEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServerEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync.ServerEvent; /** * Verifies a ServerEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServerEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServerEvent */ public static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync.ServerEvent; /** * Creates a plain object from a ServerEvent message. Also converts values to other types if specified. * @param message ServerEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizAIMetadataSync.ServerEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServerEvent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServerEvent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ServerEvent { /** ProtocolEvent enum. */ enum ProtocolEvent { UNSPECIFIED = 0, AGENT_CHAT_READY = 1 } /** Properties of an AgentOnboardingStarted. */ interface IAgentOnboardingStarted { /** AgentOnboardingStarted composerBlockDurationSecs */ composerBlockDurationSecs?: (number|Long|null); } /** Represents an AgentOnboardingStarted. */ class AgentOnboardingStarted implements IAgentOnboardingStarted { /** * Constructs a new AgentOnboardingStarted. * @param [properties] Properties to set */ constructor(properties?: waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted); /** AgentOnboardingStarted composerBlockDurationSecs. */ public composerBlockDurationSecs?: (number|Long|null); /** * Creates a new AgentOnboardingStarted instance using the specified properties. * @param [properties] Properties to set * @returns AgentOnboardingStarted instance */ public static create(properties?: waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted; /** * Encodes the specified AgentOnboardingStarted message. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.verify|verify} messages. * @param message AgentOnboardingStarted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AgentOnboardingStarted message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.verify|verify} messages. * @param message AgentOnboardingStarted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BizAIMetadataSync.ServerEvent.IAgentOnboardingStarted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AgentOnboardingStarted message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AgentOnboardingStarted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted; /** * Decodes an AgentOnboardingStarted message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AgentOnboardingStarted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted; /** * Verifies an AgentOnboardingStarted message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AgentOnboardingStarted message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AgentOnboardingStarted */ public static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted; /** * Creates a plain object from an AgentOnboardingStarted message. Also converts values to other types if specified. * @param message AgentOnboardingStarted * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AgentOnboardingStarted to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AgentOnboardingStarted * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a BizAccountLinkInfo. */ interface IBizAccountLinkInfo { /** BizAccountLinkInfo whatsappBizAcctFbid */ whatsappBizAcctFbid?: (number|Long|null); /** BizAccountLinkInfo whatsappAcctNumber */ whatsappAcctNumber?: (string|null); /** BizAccountLinkInfo issueTime */ issueTime?: (number|Long|null); /** BizAccountLinkInfo hostStorage */ hostStorage?: (waproto.BizAccountLinkInfo.HostStorageType|null); /** BizAccountLinkInfo accountType */ accountType?: (waproto.BizAccountLinkInfo.AccountType|null); } /** Represents a BizAccountLinkInfo. */ class BizAccountLinkInfo implements IBizAccountLinkInfo { /** * Constructs a new BizAccountLinkInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IBizAccountLinkInfo); /** BizAccountLinkInfo whatsappBizAcctFbid. */ public whatsappBizAcctFbid?: (number|Long|null); /** BizAccountLinkInfo whatsappAcctNumber. */ public whatsappAcctNumber?: (string|null); /** BizAccountLinkInfo issueTime. */ public issueTime?: (number|Long|null); /** BizAccountLinkInfo hostStorage. */ public hostStorage?: (waproto.BizAccountLinkInfo.HostStorageType|null); /** BizAccountLinkInfo accountType. */ public accountType?: (waproto.BizAccountLinkInfo.AccountType|null); /** * Creates a new BizAccountLinkInfo instance using the specified properties. * @param [properties] Properties to set * @returns BizAccountLinkInfo instance */ public static create(properties?: waproto.IBizAccountLinkInfo): waproto.BizAccountLinkInfo; /** * Encodes the specified BizAccountLinkInfo message. Does not implicitly {@link waproto.BizAccountLinkInfo.verify|verify} messages. * @param message BizAccountLinkInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAccountLinkInfo message, length delimited. Does not implicitly {@link waproto.BizAccountLinkInfo.verify|verify} messages. * @param message BizAccountLinkInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAccountLinkInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAccountLinkInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAccountLinkInfo; /** * Decodes a BizAccountLinkInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAccountLinkInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAccountLinkInfo; /** * Verifies a BizAccountLinkInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizAccountLinkInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAccountLinkInfo */ public static fromObject(object: { [k: string]: any }): waproto.BizAccountLinkInfo; /** * Creates a plain object from a BizAccountLinkInfo message. Also converts values to other types if specified. * @param message BizAccountLinkInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizAccountLinkInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAccountLinkInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAccountLinkInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BizAccountLinkInfo { /** AccountType enum. */ enum AccountType { ENTERPRISE = 0 } /** HostStorageType enum. */ enum HostStorageType { ON_PREMISE = 0, FACEBOOK = 1 } } /** Properties of a BizAccountPayload. */ interface IBizAccountPayload { /** BizAccountPayload vnameCert */ vnameCert?: (waproto.IVerifiedNameCertificate|null); /** BizAccountPayload bizAcctLinkInfo */ bizAcctLinkInfo?: (Uint8Array|null); } /** Represents a BizAccountPayload. */ class BizAccountPayload implements IBizAccountPayload { /** * Constructs a new BizAccountPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.IBizAccountPayload); /** BizAccountPayload vnameCert. */ public vnameCert?: (waproto.IVerifiedNameCertificate|null); /** BizAccountPayload bizAcctLinkInfo. */ public bizAcctLinkInfo?: (Uint8Array|null); /** * Creates a new BizAccountPayload instance using the specified properties. * @param [properties] Properties to set * @returns BizAccountPayload instance */ public static create(properties?: waproto.IBizAccountPayload): waproto.BizAccountPayload; /** * Encodes the specified BizAccountPayload message. Does not implicitly {@link waproto.BizAccountPayload.verify|verify} messages. * @param message BizAccountPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAccountPayload message, length delimited. Does not implicitly {@link waproto.BizAccountPayload.verify|verify} messages. * @param message BizAccountPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAccountPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAccountPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAccountPayload; /** * Decodes a BizAccountPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAccountPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAccountPayload; /** * Verifies a BizAccountPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizAccountPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAccountPayload */ public static fromObject(object: { [k: string]: any }): waproto.BizAccountPayload; /** * Creates a plain object from a BizAccountPayload message. Also converts values to other types if specified. * @param message BizAccountPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizAccountPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAccountPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAccountPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizIdentityInfo. */ interface IBizIdentityInfo { /** BizIdentityInfo vlevel */ vlevel?: (waproto.BizIdentityInfo.VerifiedLevelValue|null); /** BizIdentityInfo vnameCert */ vnameCert?: (waproto.IVerifiedNameCertificate|null); /** BizIdentityInfo signed */ signed?: (boolean|null); /** BizIdentityInfo revoked */ revoked?: (boolean|null); /** BizIdentityInfo hostStorage */ hostStorage?: (waproto.BizIdentityInfo.HostStorageType|null); /** BizIdentityInfo actualActors */ actualActors?: (waproto.BizIdentityInfo.ActualActorsType|null); /** BizIdentityInfo privacyModeTs */ privacyModeTs?: (number|Long|null); /** BizIdentityInfo featureControls */ featureControls?: (number|Long|null); } /** Represents a BizIdentityInfo. */ class BizIdentityInfo implements IBizIdentityInfo { /** * Constructs a new BizIdentityInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IBizIdentityInfo); /** BizIdentityInfo vlevel. */ public vlevel?: (waproto.BizIdentityInfo.VerifiedLevelValue|null); /** BizIdentityInfo vnameCert. */ public vnameCert?: (waproto.IVerifiedNameCertificate|null); /** BizIdentityInfo signed. */ public signed?: (boolean|null); /** BizIdentityInfo revoked. */ public revoked?: (boolean|null); /** BizIdentityInfo hostStorage. */ public hostStorage?: (waproto.BizIdentityInfo.HostStorageType|null); /** BizIdentityInfo actualActors. */ public actualActors?: (waproto.BizIdentityInfo.ActualActorsType|null); /** BizIdentityInfo privacyModeTs. */ public privacyModeTs?: (number|Long|null); /** BizIdentityInfo featureControls. */ public featureControls?: (number|Long|null); /** * Creates a new BizIdentityInfo instance using the specified properties. * @param [properties] Properties to set * @returns BizIdentityInfo instance */ public static create(properties?: waproto.IBizIdentityInfo): waproto.BizIdentityInfo; /** * Encodes the specified BizIdentityInfo message. Does not implicitly {@link waproto.BizIdentityInfo.verify|verify} messages. * @param message BizIdentityInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizIdentityInfo message, length delimited. Does not implicitly {@link waproto.BizIdentityInfo.verify|verify} messages. * @param message BizIdentityInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizIdentityInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizIdentityInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizIdentityInfo; /** * Decodes a BizIdentityInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizIdentityInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizIdentityInfo; /** * Verifies a BizIdentityInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizIdentityInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizIdentityInfo */ public static fromObject(object: { [k: string]: any }): waproto.BizIdentityInfo; /** * Creates a plain object from a BizIdentityInfo message. Also converts values to other types if specified. * @param message BizIdentityInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BizIdentityInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizIdentityInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizIdentityInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BizIdentityInfo { /** ActualActorsType enum. */ enum ActualActorsType { SELF = 0, BSP = 1 } /** HostStorageType enum. */ enum HostStorageType { ON_PREMISE = 0, FACEBOOK = 1 } /** VerifiedLevelValue enum. */ enum VerifiedLevelValue { UNKNOWN = 0, LOW = 1, HIGH = 2 } } /** Properties of a BotAgeCollectionMetadata. */ interface IBotAgeCollectionMetadata { /** BotAgeCollectionMetadata ageCollectionEligible */ ageCollectionEligible?: (boolean|null); /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient */ shouldTriggerAgeCollectionOnClient?: (boolean|null); /** BotAgeCollectionMetadata ageCollectionType */ ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null); } /** Represents a BotAgeCollectionMetadata. */ class BotAgeCollectionMetadata implements IBotAgeCollectionMetadata { /** * Constructs a new BotAgeCollectionMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotAgeCollectionMetadata); /** BotAgeCollectionMetadata ageCollectionEligible. */ public ageCollectionEligible?: (boolean|null); /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient. */ public shouldTriggerAgeCollectionOnClient?: (boolean|null); /** BotAgeCollectionMetadata ageCollectionType. */ public ageCollectionType?: (waproto.BotAgeCollectionMetadata.AgeCollectionType|null); /** * Creates a new BotAgeCollectionMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotAgeCollectionMetadata instance */ public static create(properties?: waproto.IBotAgeCollectionMetadata): waproto.BotAgeCollectionMetadata; /** * Encodes the specified BotAgeCollectionMetadata message. Does not implicitly {@link waproto.BotAgeCollectionMetadata.verify|verify} messages. * @param message BotAgeCollectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotAgeCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotAgeCollectionMetadata message, length delimited. Does not implicitly {@link waproto.BotAgeCollectionMetadata.verify|verify} messages. * @param message BotAgeCollectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotAgeCollectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotAgeCollectionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotAgeCollectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotAgeCollectionMetadata; /** * Decodes a BotAgeCollectionMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotAgeCollectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotAgeCollectionMetadata; /** * Verifies a BotAgeCollectionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotAgeCollectionMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotAgeCollectionMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotAgeCollectionMetadata; /** * Creates a plain object from a BotAgeCollectionMetadata message. Also converts values to other types if specified. * @param message BotAgeCollectionMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotAgeCollectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotAgeCollectionMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotAgeCollectionMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotAgeCollectionMetadata { /** AgeCollectionType enum. */ enum AgeCollectionType { O18_BINARY = 0, WAFFLE = 1 } } /** Properties of a BotAgentDeepLinkMetadata. */ interface IBotAgentDeepLinkMetadata { /** BotAgentDeepLinkMetadata token */ token?: (string|null); /** BotAgentDeepLinkMetadata clientPublicKey */ clientPublicKey?: (Uint8Array|null); } /** Represents a BotAgentDeepLinkMetadata. */ class BotAgentDeepLinkMetadata implements IBotAgentDeepLinkMetadata { /** * Constructs a new BotAgentDeepLinkMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotAgentDeepLinkMetadata); /** BotAgentDeepLinkMetadata token. */ public token?: (string|null); /** BotAgentDeepLinkMetadata clientPublicKey. */ public clientPublicKey?: (Uint8Array|null); /** * Creates a new BotAgentDeepLinkMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotAgentDeepLinkMetadata instance */ public static create(properties?: waproto.IBotAgentDeepLinkMetadata): waproto.BotAgentDeepLinkMetadata; /** * Encodes the specified BotAgentDeepLinkMetadata message. Does not implicitly {@link waproto.BotAgentDeepLinkMetadata.verify|verify} messages. * @param message BotAgentDeepLinkMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotAgentDeepLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotAgentDeepLinkMetadata message, length delimited. Does not implicitly {@link waproto.BotAgentDeepLinkMetadata.verify|verify} messages. * @param message BotAgentDeepLinkMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotAgentDeepLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotAgentDeepLinkMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotAgentDeepLinkMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotAgentDeepLinkMetadata; /** * Decodes a BotAgentDeepLinkMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotAgentDeepLinkMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotAgentDeepLinkMetadata; /** * Verifies a BotAgentDeepLinkMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotAgentDeepLinkMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotAgentDeepLinkMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotAgentDeepLinkMetadata; /** * Creates a plain object from a BotAgentDeepLinkMetadata message. Also converts values to other types if specified. * @param message BotAgentDeepLinkMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotAgentDeepLinkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotAgentDeepLinkMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotAgentDeepLinkMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotAgentMetadata. */ interface IBotAgentMetadata { /** BotAgentMetadata deepLinkMetadata */ deepLinkMetadata?: (waproto.IBotAgentDeepLinkMetadata|null); } /** Represents a BotAgentMetadata. */ class BotAgentMetadata implements IBotAgentMetadata { /** * Constructs a new BotAgentMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotAgentMetadata); /** BotAgentMetadata deepLinkMetadata. */ public deepLinkMetadata?: (waproto.IBotAgentDeepLinkMetadata|null); /** * Creates a new BotAgentMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotAgentMetadata instance */ public static create(properties?: waproto.IBotAgentMetadata): waproto.BotAgentMetadata; /** * Encodes the specified BotAgentMetadata message. Does not implicitly {@link waproto.BotAgentMetadata.verify|verify} messages. * @param message BotAgentMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotAgentMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotAgentMetadata message, length delimited. Does not implicitly {@link waproto.BotAgentMetadata.verify|verify} messages. * @param message BotAgentMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotAgentMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotAgentMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotAgentMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotAgentMetadata; /** * Decodes a BotAgentMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotAgentMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotAgentMetadata; /** * Verifies a BotAgentMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotAgentMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotAgentMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotAgentMetadata; /** * Creates a plain object from a BotAgentMetadata message. Also converts values to other types if specified. * @param message BotAgentMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotAgentMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotAgentMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotAgentMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotCapabilityMetadata. */ interface IBotCapabilityMetadata { /** BotCapabilityMetadata capabilities */ capabilities?: (waproto.BotCapabilityMetadata.BotCapabilityType[]|null); } /** Represents a BotCapabilityMetadata. */ class BotCapabilityMetadata implements IBotCapabilityMetadata { /** * Constructs a new BotCapabilityMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotCapabilityMetadata); /** BotCapabilityMetadata capabilities. */ public capabilities: waproto.BotCapabilityMetadata.BotCapabilityType[]; /** * Creates a new BotCapabilityMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotCapabilityMetadata instance */ public static create(properties?: waproto.IBotCapabilityMetadata): waproto.BotCapabilityMetadata; /** * Encodes the specified BotCapabilityMetadata message. Does not implicitly {@link waproto.BotCapabilityMetadata.verify|verify} messages. * @param message BotCapabilityMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotCapabilityMetadata message, length delimited. Does not implicitly {@link waproto.BotCapabilityMetadata.verify|verify} messages. * @param message BotCapabilityMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotCapabilityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotCapabilityMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotCapabilityMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotCapabilityMetadata; /** * Decodes a BotCapabilityMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotCapabilityMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotCapabilityMetadata; /** * Verifies a BotCapabilityMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotCapabilityMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotCapabilityMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotCapabilityMetadata; /** * Creates a plain object from a BotCapabilityMetadata message. Also converts values to other types if specified. * @param message BotCapabilityMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotCapabilityMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotCapabilityMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotCapabilityMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotCapabilityMetadata { /** BotCapabilityType enum. */ enum BotCapabilityType { UNKNOWN = 0, PROGRESS_INDICATOR = 1, RICH_RESPONSE_HEADING = 2, RICH_RESPONSE_NESTED_LIST = 3, AI_MEMORY = 4, RICH_RESPONSE_THREAD_SURFING = 5, RICH_RESPONSE_TABLE = 6, RICH_RESPONSE_CODE = 7, RICH_RESPONSE_STRUCTURED_RESPONSE = 8, RICH_RESPONSE_INLINE_IMAGE = 9, WA_IG_1P_PLUGIN_RANKING_CONTROL = 10, WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11, WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12, WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13, WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14, WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15, WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16, WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17, WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18, WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19, WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20, RICH_RESPONSE_SUB_HEADING = 21, RICH_RESPONSE_GRID_IMAGE = 22, AI_STUDIO_UGC_MEMORY = 23, RICH_RESPONSE_LATEX = 24, RICH_RESPONSE_MAPS = 25, RICH_RESPONSE_INLINE_REELS = 26, AGENTIC_PLANNING = 27, ACCOUNT_LINKING = 28, STREAMING_DISAGGREGATION = 29, RICH_RESPONSE_GRID_IMAGE_3P = 30, RICH_RESPONSE_LATEX_INLINE = 31, QUERY_PLAN = 32, PROACTIVE_MESSAGE = 33, RICH_RESPONSE_UNIFIED_RESPONSE = 34, PROMOTION_MESSAGE = 35, SIMPLIFIED_PROFILE_PAGE = 36, RICH_RESPONSE_SOURCES_IN_MESSAGE = 37, RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38, RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39, AI_SHARED_MEMORY = 40, RICH_RESPONSE_UNIFIED_SOURCES = 41, RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42, RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43, RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44, RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45, RICH_RESPONSE_IN_APP_SURVEY = 46, AI_RESPONSE_MODEL_BRANDING = 47, SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48, RICH_RESPONSE_UR_REASONING = 49, RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50, RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51, AI_IMAGINE_LOADING_INDICATOR = 52, RICH_RESPONSE_UR_IMAGINE = 53, AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR = 54, RICH_RESPONSE_UR_BLOKS_ENABLED = 55, RICH_RESPONSE_INLINE_LINKS_ENABLED = 56, RICH_RESPONSE_UR_IMAGINE_VIDEO = 57, JSON_PATCH_STREAMING = 58, AI_TAB_FORCE_CLIPPY = 59, UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60, AI_SUBSCRIPTION_ENABLED = 61, UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED = 62, UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED = 63, AI_RICH_RESPONSE_MAPS_V2_ENABLED = 64, AI_SUBSCRIPTION_METERING_ENABLED = 65, RICH_RESPONSE_SPORTS_WIDGET_ENABLED = 66, AI_RICH_RESPONSE_ARTIFACTS_ENABLED = 67, AI_RICH_RESPONSE_EMAIL_CALENDAR_ENABLED = 68, AI_RICH_RESPONSE_REMINDERS_ENABLED = 69, AI_STOP_GENERATION_ENABLED = 70, AI_RICH_RESPONSE_3P_LINKING_CARD_ENABLED = 71, HATCH_NOTIFICATION_METADATA_EVENT_ENABLED = 72 } } /** Properties of a BotCommandMetadata. */ interface IBotCommandMetadata { /** BotCommandMetadata commandName */ commandName?: (string|null); /** BotCommandMetadata commandDescription */ commandDescription?: (string|null); /** BotCommandMetadata commandPrompt */ commandPrompt?: (string|null); } /** Represents a BotCommandMetadata. */ class BotCommandMetadata implements IBotCommandMetadata { /** * Constructs a new BotCommandMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotCommandMetadata); /** BotCommandMetadata commandName. */ public commandName?: (string|null); /** BotCommandMetadata commandDescription. */ public commandDescription?: (string|null); /** BotCommandMetadata commandPrompt. */ public commandPrompt?: (string|null); /** * Creates a new BotCommandMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotCommandMetadata instance */ public static create(properties?: waproto.IBotCommandMetadata): waproto.BotCommandMetadata; /** * Encodes the specified BotCommandMetadata message. Does not implicitly {@link waproto.BotCommandMetadata.verify|verify} messages. * @param message BotCommandMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotCommandMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotCommandMetadata message, length delimited. Does not implicitly {@link waproto.BotCommandMetadata.verify|verify} messages. * @param message BotCommandMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotCommandMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotCommandMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotCommandMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotCommandMetadata; /** * Decodes a BotCommandMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotCommandMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotCommandMetadata; /** * Verifies a BotCommandMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotCommandMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotCommandMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotCommandMetadata; /** * Creates a plain object from a BotCommandMetadata message. Also converts values to other types if specified. * @param message BotCommandMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotCommandMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotCommandMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotCommandMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotDocumentMessageMetadata. */ interface IBotDocumentMessageMetadata { /** BotDocumentMessageMetadata pluginType */ pluginType?: (waproto.BotDocumentMessageMetadata.DocumentPluginType|null); } /** Represents a BotDocumentMessageMetadata. */ class BotDocumentMessageMetadata implements IBotDocumentMessageMetadata { /** * Constructs a new BotDocumentMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotDocumentMessageMetadata); /** BotDocumentMessageMetadata pluginType. */ public pluginType?: (waproto.BotDocumentMessageMetadata.DocumentPluginType|null); /** * Creates a new BotDocumentMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotDocumentMessageMetadata instance */ public static create(properties?: waproto.IBotDocumentMessageMetadata): waproto.BotDocumentMessageMetadata; /** * Encodes the specified BotDocumentMessageMetadata message. Does not implicitly {@link waproto.BotDocumentMessageMetadata.verify|verify} messages. * @param message BotDocumentMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotDocumentMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotDocumentMessageMetadata message, length delimited. Does not implicitly {@link waproto.BotDocumentMessageMetadata.verify|verify} messages. * @param message BotDocumentMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotDocumentMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotDocumentMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotDocumentMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotDocumentMessageMetadata; /** * Decodes a BotDocumentMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotDocumentMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotDocumentMessageMetadata; /** * Verifies a BotDocumentMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotDocumentMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotDocumentMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotDocumentMessageMetadata; /** * Creates a plain object from a BotDocumentMessageMetadata message. Also converts values to other types if specified. * @param message BotDocumentMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotDocumentMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotDocumentMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotDocumentMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotDocumentMessageMetadata { /** DocumentPluginType enum. */ enum DocumentPluginType { TEXT_EXTRACTION = 0, OCR_AND_IMAGES = 1 } } /** Properties of a BotFeedbackMessage. */ interface IBotFeedbackMessage { /** BotFeedbackMessage messageKey */ messageKey?: (waproto.IMessageKey|null); /** BotFeedbackMessage kind */ kind?: (waproto.BotFeedbackMessage.BotFeedbackKind|null); /** BotFeedbackMessage text */ text?: (string|null); /** BotFeedbackMessage kindNegative */ kindNegative?: (number|Long|null); /** BotFeedbackMessage kindPositive */ kindPositive?: (number|Long|null); /** BotFeedbackMessage kindReport */ kindReport?: (waproto.BotFeedbackMessage.ReportKind|null); /** BotFeedbackMessage sideBySideSurveyMetadata */ sideBySideSurveyMetadata?: (waproto.BotFeedbackMessage.ISideBySideSurveyMetadata|null); } /** Represents a BotFeedbackMessage. */ class BotFeedbackMessage implements IBotFeedbackMessage { /** * Constructs a new BotFeedbackMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotFeedbackMessage); /** BotFeedbackMessage messageKey. */ public messageKey?: (waproto.IMessageKey|null); /** BotFeedbackMessage kind. */ public kind?: (waproto.BotFeedbackMessage.BotFeedbackKind|null); /** BotFeedbackMessage text. */ public text?: (string|null); /** BotFeedbackMessage kindNegative. */ public kindNegative?: (number|Long|null); /** BotFeedbackMessage kindPositive. */ public kindPositive?: (number|Long|null); /** BotFeedbackMessage kindReport. */ public kindReport?: (waproto.BotFeedbackMessage.ReportKind|null); /** BotFeedbackMessage sideBySideSurveyMetadata. */ public sideBySideSurveyMetadata?: (waproto.BotFeedbackMessage.ISideBySideSurveyMetadata|null); /** * Creates a new BotFeedbackMessage instance using the specified properties. * @param [properties] Properties to set * @returns BotFeedbackMessage instance */ public static create(properties?: waproto.IBotFeedbackMessage): waproto.BotFeedbackMessage; /** * Encodes the specified BotFeedbackMessage message. Does not implicitly {@link waproto.BotFeedbackMessage.verify|verify} messages. * @param message BotFeedbackMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotFeedbackMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotFeedbackMessage message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.verify|verify} messages. * @param message BotFeedbackMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotFeedbackMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotFeedbackMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotFeedbackMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage; /** * Decodes a BotFeedbackMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotFeedbackMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage; /** * Verifies a BotFeedbackMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotFeedbackMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotFeedbackMessage */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage; /** * Creates a plain object from a BotFeedbackMessage message. Also converts values to other types if specified. * @param message BotFeedbackMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotFeedbackMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotFeedbackMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotFeedbackMessage { /** ReportKind enum. */ enum ReportKind { NONE = 0, GENERIC = 1 } /** BotFeedbackKindMultiplePositive enum. */ enum BotFeedbackKindMultiplePositive { BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1 } /** BotFeedbackKindMultipleNegative enum. */ enum BotFeedbackKindMultipleNegative { BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1, BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2, BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4, BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8, BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16, BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32, BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64, BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128, BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256 } /** BotFeedbackKind enum. */ enum BotFeedbackKind { BOT_FEEDBACK_POSITIVE = 0, BOT_FEEDBACK_NEGATIVE_GENERIC = 1, BOT_FEEDBACK_NEGATIVE_HELPFUL = 2, BOT_FEEDBACK_NEGATIVE_INTERESTING = 3, BOT_FEEDBACK_NEGATIVE_ACCURATE = 4, BOT_FEEDBACK_NEGATIVE_SAFE = 5, BOT_FEEDBACK_NEGATIVE_OTHER = 6, BOT_FEEDBACK_NEGATIVE_REFUSED = 7, BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8, BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9, BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10, BOT_FEEDBACK_NEGATIVE_CLARITY = 11, BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12, BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13, BOT_FEEDBACK_NEGATIVE = 14 } /** Properties of a SideBySideSurveyMetadata. */ interface ISideBySideSurveyMetadata { /** SideBySideSurveyMetadata selectedRequestId */ selectedRequestId?: (string|null); /** SideBySideSurveyMetadata surveyId */ surveyId?: (number|null); /** SideBySideSurveyMetadata simonSessionFbid */ simonSessionFbid?: (string|null); /** SideBySideSurveyMetadata responseOtid */ responseOtid?: (string|null); /** SideBySideSurveyMetadata responseTimestampMsString */ responseTimestampMsString?: (string|null); /** SideBySideSurveyMetadata isSelectedResponsePrimary */ isSelectedResponsePrimary?: (boolean|null); /** SideBySideSurveyMetadata messageIdToEdit */ messageIdToEdit?: (string|null); /** SideBySideSurveyMetadata analyticsData */ analyticsData?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData|null); /** SideBySideSurveyMetadata metaAiAnalyticsData */ metaAiAnalyticsData?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData|null); } /** Represents a SideBySideSurveyMetadata. */ class SideBySideSurveyMetadata implements ISideBySideSurveyMetadata { /** * Constructs a new SideBySideSurveyMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.ISideBySideSurveyMetadata); /** SideBySideSurveyMetadata selectedRequestId. */ public selectedRequestId?: (string|null); /** SideBySideSurveyMetadata surveyId. */ public surveyId?: (number|null); /** SideBySideSurveyMetadata simonSessionFbid. */ public simonSessionFbid?: (string|null); /** SideBySideSurveyMetadata responseOtid. */ public responseOtid?: (string|null); /** SideBySideSurveyMetadata responseTimestampMsString. */ public responseTimestampMsString?: (string|null); /** SideBySideSurveyMetadata isSelectedResponsePrimary. */ public isSelectedResponsePrimary?: (boolean|null); /** SideBySideSurveyMetadata messageIdToEdit. */ public messageIdToEdit?: (string|null); /** SideBySideSurveyMetadata analyticsData. */ public analyticsData?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData|null); /** SideBySideSurveyMetadata metaAiAnalyticsData. */ public metaAiAnalyticsData?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData|null); /** * Creates a new SideBySideSurveyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyMetadata instance */ public static create(properties?: waproto.BotFeedbackMessage.ISideBySideSurveyMetadata): waproto.BotFeedbackMessage.SideBySideSurveyMetadata; /** * Encodes the specified SideBySideSurveyMetadata message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.verify|verify} messages. * @param message SideBySideSurveyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.ISideBySideSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyMetadata message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.verify|verify} messages. * @param message SideBySideSurveyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.ISideBySideSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata; /** * Decodes a SideBySideSurveyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata; /** * Verifies a SideBySideSurveyMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata; /** * Creates a plain object from a SideBySideSurveyMetadata message. Also converts values to other types if specified. * @param message SideBySideSurveyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SideBySideSurveyMetadata { /** Properties of a SidebySideSurveyMetaAiAnalyticsData. */ interface ISidebySideSurveyMetaAiAnalyticsData { /** SidebySideSurveyMetaAiAnalyticsData surveyId */ surveyId?: (number|null); /** SidebySideSurveyMetaAiAnalyticsData primaryResponseId */ primaryResponseId?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData testArmName */ testArmName?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData timestampMsString */ timestampMsString?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData ctaImpressionEvent */ ctaImpressionEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData|null); /** SidebySideSurveyMetaAiAnalyticsData ctaClickEvent */ ctaClickEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData|null); /** SidebySideSurveyMetaAiAnalyticsData cardImpressionEvent */ cardImpressionEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData|null); /** SidebySideSurveyMetaAiAnalyticsData responseEvent */ responseEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData|null); /** SidebySideSurveyMetaAiAnalyticsData abandonEvent */ abandonEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData|null); } /** Represents a SidebySideSurveyMetaAiAnalyticsData. */ class SidebySideSurveyMetaAiAnalyticsData implements ISidebySideSurveyMetaAiAnalyticsData { /** * Constructs a new SidebySideSurveyMetaAiAnalyticsData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData); /** SidebySideSurveyMetaAiAnalyticsData surveyId. */ public surveyId?: (number|null); /** SidebySideSurveyMetaAiAnalyticsData primaryResponseId. */ public primaryResponseId?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData testArmName. */ public testArmName?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData timestampMsString. */ public timestampMsString?: (string|null); /** SidebySideSurveyMetaAiAnalyticsData ctaImpressionEvent. */ public ctaImpressionEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData|null); /** SidebySideSurveyMetaAiAnalyticsData ctaClickEvent. */ public ctaClickEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData|null); /** SidebySideSurveyMetaAiAnalyticsData cardImpressionEvent. */ public cardImpressionEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData|null); /** SidebySideSurveyMetaAiAnalyticsData responseEvent. */ public responseEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData|null); /** SidebySideSurveyMetaAiAnalyticsData abandonEvent. */ public abandonEvent?: (waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData|null); /** * Creates a new SidebySideSurveyMetaAiAnalyticsData instance using the specified properties. * @param [properties] Properties to set * @returns SidebySideSurveyMetaAiAnalyticsData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData; /** * Encodes the specified SidebySideSurveyMetaAiAnalyticsData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.verify|verify} messages. * @param message SidebySideSurveyMetaAiAnalyticsData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SidebySideSurveyMetaAiAnalyticsData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.verify|verify} messages. * @param message SidebySideSurveyMetaAiAnalyticsData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISidebySideSurveyMetaAiAnalyticsData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SidebySideSurveyMetaAiAnalyticsData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SidebySideSurveyMetaAiAnalyticsData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData; /** * Decodes a SidebySideSurveyMetaAiAnalyticsData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SidebySideSurveyMetaAiAnalyticsData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData; /** * Verifies a SidebySideSurveyMetaAiAnalyticsData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SidebySideSurveyMetaAiAnalyticsData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SidebySideSurveyMetaAiAnalyticsData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData; /** * Creates a plain object from a SidebySideSurveyMetaAiAnalyticsData message. Also converts values to other types if specified. * @param message SidebySideSurveyMetaAiAnalyticsData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SidebySideSurveyMetaAiAnalyticsData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SidebySideSurveyMetaAiAnalyticsData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SidebySideSurveyMetaAiAnalyticsData { /** Properties of a SideBySideSurveyAbandonEventData. */ interface ISideBySideSurveyAbandonEventData { /** SideBySideSurveyAbandonEventData abandonDwellTimeMsString */ abandonDwellTimeMsString?: (string|null); } /** Represents a SideBySideSurveyAbandonEventData. */ class SideBySideSurveyAbandonEventData implements ISideBySideSurveyAbandonEventData { /** * Constructs a new SideBySideSurveyAbandonEventData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData); /** SideBySideSurveyAbandonEventData abandonDwellTimeMsString. */ public abandonDwellTimeMsString?: (string|null); /** * Creates a new SideBySideSurveyAbandonEventData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyAbandonEventData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData; /** * Encodes the specified SideBySideSurveyAbandonEventData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData.verify|verify} messages. * @param message SideBySideSurveyAbandonEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyAbandonEventData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData.verify|verify} messages. * @param message SideBySideSurveyAbandonEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyAbandonEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyAbandonEventData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyAbandonEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData; /** * Decodes a SideBySideSurveyAbandonEventData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyAbandonEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData; /** * Verifies a SideBySideSurveyAbandonEventData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyAbandonEventData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyAbandonEventData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData; /** * Creates a plain object from a SideBySideSurveyAbandonEventData message. Also converts values to other types if specified. * @param message SideBySideSurveyAbandonEventData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyAbandonEventData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyAbandonEventData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyAbandonEventData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SideBySideSurveyResponseEventData. */ interface ISideBySideSurveyResponseEventData { /** SideBySideSurveyResponseEventData responseDwellTimeMsString */ responseDwellTimeMsString?: (string|null); /** SideBySideSurveyResponseEventData selectedResponseId */ selectedResponseId?: (string|null); } /** Represents a SideBySideSurveyResponseEventData. */ class SideBySideSurveyResponseEventData implements ISideBySideSurveyResponseEventData { /** * Constructs a new SideBySideSurveyResponseEventData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData); /** SideBySideSurveyResponseEventData responseDwellTimeMsString. */ public responseDwellTimeMsString?: (string|null); /** SideBySideSurveyResponseEventData selectedResponseId. */ public selectedResponseId?: (string|null); /** * Creates a new SideBySideSurveyResponseEventData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyResponseEventData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData; /** * Encodes the specified SideBySideSurveyResponseEventData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData.verify|verify} messages. * @param message SideBySideSurveyResponseEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyResponseEventData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData.verify|verify} messages. * @param message SideBySideSurveyResponseEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyResponseEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyResponseEventData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyResponseEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData; /** * Decodes a SideBySideSurveyResponseEventData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyResponseEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData; /** * Verifies a SideBySideSurveyResponseEventData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyResponseEventData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyResponseEventData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData; /** * Creates a plain object from a SideBySideSurveyResponseEventData message. Also converts values to other types if specified. * @param message SideBySideSurveyResponseEventData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyResponseEventData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyResponseEventData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyResponseEventData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SideBySideSurveyCardImpressionEventData. */ interface ISideBySideSurveyCardImpressionEventData { } /** Represents a SideBySideSurveyCardImpressionEventData. */ class SideBySideSurveyCardImpressionEventData implements ISideBySideSurveyCardImpressionEventData { /** * Constructs a new SideBySideSurveyCardImpressionEventData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData); /** * Creates a new SideBySideSurveyCardImpressionEventData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyCardImpressionEventData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData; /** * Encodes the specified SideBySideSurveyCardImpressionEventData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData.verify|verify} messages. * @param message SideBySideSurveyCardImpressionEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyCardImpressionEventData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData.verify|verify} messages. * @param message SideBySideSurveyCardImpressionEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCardImpressionEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyCardImpressionEventData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyCardImpressionEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData; /** * Decodes a SideBySideSurveyCardImpressionEventData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyCardImpressionEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData; /** * Verifies a SideBySideSurveyCardImpressionEventData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyCardImpressionEventData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyCardImpressionEventData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData; /** * Creates a plain object from a SideBySideSurveyCardImpressionEventData message. Also converts values to other types if specified. * @param message SideBySideSurveyCardImpressionEventData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCardImpressionEventData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyCardImpressionEventData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyCardImpressionEventData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SideBySideSurveyCTAClickEventData. */ interface ISideBySideSurveyCTAClickEventData { /** SideBySideSurveyCTAClickEventData isSurveyExpired */ isSurveyExpired?: (boolean|null); /** SideBySideSurveyCTAClickEventData clickDwellTimeMsString */ clickDwellTimeMsString?: (string|null); } /** Represents a SideBySideSurveyCTAClickEventData. */ class SideBySideSurveyCTAClickEventData implements ISideBySideSurveyCTAClickEventData { /** * Constructs a new SideBySideSurveyCTAClickEventData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData); /** SideBySideSurveyCTAClickEventData isSurveyExpired. */ public isSurveyExpired?: (boolean|null); /** SideBySideSurveyCTAClickEventData clickDwellTimeMsString. */ public clickDwellTimeMsString?: (string|null); /** * Creates a new SideBySideSurveyCTAClickEventData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyCTAClickEventData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData; /** * Encodes the specified SideBySideSurveyCTAClickEventData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData.verify|verify} messages. * @param message SideBySideSurveyCTAClickEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyCTAClickEventData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData.verify|verify} messages. * @param message SideBySideSurveyCTAClickEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAClickEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyCTAClickEventData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyCTAClickEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData; /** * Decodes a SideBySideSurveyCTAClickEventData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyCTAClickEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData; /** * Verifies a SideBySideSurveyCTAClickEventData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyCTAClickEventData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyCTAClickEventData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData; /** * Creates a plain object from a SideBySideSurveyCTAClickEventData message. Also converts values to other types if specified. * @param message SideBySideSurveyCTAClickEventData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAClickEventData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyCTAClickEventData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyCTAClickEventData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SideBySideSurveyCTAImpressionEventData. */ interface ISideBySideSurveyCTAImpressionEventData { /** SideBySideSurveyCTAImpressionEventData isSurveyExpired */ isSurveyExpired?: (boolean|null); } /** Represents a SideBySideSurveyCTAImpressionEventData. */ class SideBySideSurveyCTAImpressionEventData implements ISideBySideSurveyCTAImpressionEventData { /** * Constructs a new SideBySideSurveyCTAImpressionEventData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData); /** SideBySideSurveyCTAImpressionEventData isSurveyExpired. */ public isSurveyExpired?: (boolean|null); /** * Creates a new SideBySideSurveyCTAImpressionEventData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyCTAImpressionEventData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData; /** * Encodes the specified SideBySideSurveyCTAImpressionEventData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData.verify|verify} messages. * @param message SideBySideSurveyCTAImpressionEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyCTAImpressionEventData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData.verify|verify} messages. * @param message SideBySideSurveyCTAImpressionEventData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.ISideBySideSurveyCTAImpressionEventData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyCTAImpressionEventData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyCTAImpressionEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData; /** * Decodes a SideBySideSurveyCTAImpressionEventData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyCTAImpressionEventData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData; /** * Verifies a SideBySideSurveyCTAImpressionEventData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyCTAImpressionEventData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyCTAImpressionEventData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData; /** * Creates a plain object from a SideBySideSurveyCTAImpressionEventData message. Also converts values to other types if specified. * @param message SideBySideSurveyCTAImpressionEventData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SidebySideSurveyMetaAiAnalyticsData.SideBySideSurveyCTAImpressionEventData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyCTAImpressionEventData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyCTAImpressionEventData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SideBySideSurveyAnalyticsData. */ interface ISideBySideSurveyAnalyticsData { /** SideBySideSurveyAnalyticsData tessaEvent */ tessaEvent?: (string|null); /** SideBySideSurveyAnalyticsData tessaSessionFbid */ tessaSessionFbid?: (string|null); /** SideBySideSurveyAnalyticsData simonSessionFbid */ simonSessionFbid?: (string|null); } /** Represents a SideBySideSurveyAnalyticsData. */ class SideBySideSurveyAnalyticsData implements ISideBySideSurveyAnalyticsData { /** * Constructs a new SideBySideSurveyAnalyticsData. * @param [properties] Properties to set */ constructor(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData); /** SideBySideSurveyAnalyticsData tessaEvent. */ public tessaEvent?: (string|null); /** SideBySideSurveyAnalyticsData tessaSessionFbid. */ public tessaSessionFbid?: (string|null); /** SideBySideSurveyAnalyticsData simonSessionFbid. */ public simonSessionFbid?: (string|null); /** * Creates a new SideBySideSurveyAnalyticsData instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideSurveyAnalyticsData instance */ public static create(properties?: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData; /** * Encodes the specified SideBySideSurveyAnalyticsData message. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData.verify|verify} messages. * @param message SideBySideSurveyAnalyticsData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideSurveyAnalyticsData message, length delimited. Does not implicitly {@link waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData.verify|verify} messages. * @param message SideBySideSurveyAnalyticsData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.ISideBySideSurveyAnalyticsData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideSurveyAnalyticsData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideSurveyAnalyticsData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData; /** * Decodes a SideBySideSurveyAnalyticsData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideSurveyAnalyticsData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData; /** * Verifies a SideBySideSurveyAnalyticsData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideSurveyAnalyticsData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideSurveyAnalyticsData */ public static fromObject(object: { [k: string]: any }): waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData; /** * Creates a plain object from a SideBySideSurveyAnalyticsData message. Also converts values to other types if specified. * @param message SideBySideSurveyAnalyticsData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotFeedbackMessage.SideBySideSurveyMetadata.SideBySideSurveyAnalyticsData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideSurveyAnalyticsData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideSurveyAnalyticsData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a BotGroupMetadata. */ interface IBotGroupMetadata { /** BotGroupMetadata participantsMetadata */ participantsMetadata?: (waproto.IBotGroupParticipantMetadata[]|null); } /** Represents a BotGroupMetadata. */ class BotGroupMetadata implements IBotGroupMetadata { /** * Constructs a new BotGroupMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotGroupMetadata); /** BotGroupMetadata participantsMetadata. */ public participantsMetadata: waproto.IBotGroupParticipantMetadata[]; /** * Creates a new BotGroupMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotGroupMetadata instance */ public static create(properties?: waproto.IBotGroupMetadata): waproto.BotGroupMetadata; /** * Encodes the specified BotGroupMetadata message. Does not implicitly {@link waproto.BotGroupMetadata.verify|verify} messages. * @param message BotGroupMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotGroupMetadata message, length delimited. Does not implicitly {@link waproto.BotGroupMetadata.verify|verify} messages. * @param message BotGroupMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotGroupMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotGroupMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotGroupMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotGroupMetadata; /** * Decodes a BotGroupMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotGroupMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotGroupMetadata; /** * Verifies a BotGroupMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotGroupMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotGroupMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotGroupMetadata; /** * Creates a plain object from a BotGroupMetadata message. Also converts values to other types if specified. * @param message BotGroupMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotGroupMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotGroupMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotGroupMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotGroupParticipantMetadata. */ interface IBotGroupParticipantMetadata { /** BotGroupParticipantMetadata botFbid */ botFbid?: (string|null); } /** Represents a BotGroupParticipantMetadata. */ class BotGroupParticipantMetadata implements IBotGroupParticipantMetadata { /** * Constructs a new BotGroupParticipantMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotGroupParticipantMetadata); /** BotGroupParticipantMetadata botFbid. */ public botFbid?: (string|null); /** * Creates a new BotGroupParticipantMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotGroupParticipantMetadata instance */ public static create(properties?: waproto.IBotGroupParticipantMetadata): waproto.BotGroupParticipantMetadata; /** * Encodes the specified BotGroupParticipantMetadata message. Does not implicitly {@link waproto.BotGroupParticipantMetadata.verify|verify} messages. * @param message BotGroupParticipantMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotGroupParticipantMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotGroupParticipantMetadata message, length delimited. Does not implicitly {@link waproto.BotGroupParticipantMetadata.verify|verify} messages. * @param message BotGroupParticipantMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotGroupParticipantMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotGroupParticipantMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotGroupParticipantMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotGroupParticipantMetadata; /** * Decodes a BotGroupParticipantMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotGroupParticipantMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotGroupParticipantMetadata; /** * Verifies a BotGroupParticipantMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotGroupParticipantMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotGroupParticipantMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotGroupParticipantMetadata; /** * Creates a plain object from a BotGroupParticipantMetadata message. Also converts values to other types if specified. * @param message BotGroupParticipantMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotGroupParticipantMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotGroupParticipantMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotGroupParticipantMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotHistoryShareMetadata. */ interface IBotHistoryShareMetadata { /** BotHistoryShareMetadata participantsMetadata */ participantsMetadata?: (waproto.IBotGroupParticipantMetadata[]|null); } /** Represents a BotHistoryShareMetadata. */ class BotHistoryShareMetadata implements IBotHistoryShareMetadata { /** * Constructs a new BotHistoryShareMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotHistoryShareMetadata); /** BotHistoryShareMetadata participantsMetadata. */ public participantsMetadata: waproto.IBotGroupParticipantMetadata[]; /** * Creates a new BotHistoryShareMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotHistoryShareMetadata instance */ public static create(properties?: waproto.IBotHistoryShareMetadata): waproto.BotHistoryShareMetadata; /** * Encodes the specified BotHistoryShareMetadata message. Does not implicitly {@link waproto.BotHistoryShareMetadata.verify|verify} messages. * @param message BotHistoryShareMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotHistoryShareMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotHistoryShareMetadata message, length delimited. Does not implicitly {@link waproto.BotHistoryShareMetadata.verify|verify} messages. * @param message BotHistoryShareMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotHistoryShareMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotHistoryShareMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotHistoryShareMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotHistoryShareMetadata; /** * Decodes a BotHistoryShareMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotHistoryShareMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotHistoryShareMetadata; /** * Verifies a BotHistoryShareMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotHistoryShareMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotHistoryShareMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotHistoryShareMetadata; /** * Creates a plain object from a BotHistoryShareMetadata message. Also converts values to other types if specified. * @param message BotHistoryShareMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotHistoryShareMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotHistoryShareMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotHistoryShareMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotImagineMetadata. */ interface IBotImagineMetadata { /** BotImagineMetadata imagineType */ imagineType?: (waproto.BotImagineMetadata.ImagineType|null); /** BotImagineMetadata shortPrompt */ shortPrompt?: (string|null); } /** Represents a BotImagineMetadata. */ class BotImagineMetadata implements IBotImagineMetadata { /** * Constructs a new BotImagineMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotImagineMetadata); /** BotImagineMetadata imagineType. */ public imagineType?: (waproto.BotImagineMetadata.ImagineType|null); /** BotImagineMetadata shortPrompt. */ public shortPrompt?: (string|null); /** * Creates a new BotImagineMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotImagineMetadata instance */ public static create(properties?: waproto.IBotImagineMetadata): waproto.BotImagineMetadata; /** * Encodes the specified BotImagineMetadata message. Does not implicitly {@link waproto.BotImagineMetadata.verify|verify} messages. * @param message BotImagineMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotImagineMetadata message, length delimited. Does not implicitly {@link waproto.BotImagineMetadata.verify|verify} messages. * @param message BotImagineMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotImagineMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotImagineMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotImagineMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotImagineMetadata; /** * Decodes a BotImagineMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotImagineMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotImagineMetadata; /** * Verifies a BotImagineMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotImagineMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotImagineMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotImagineMetadata; /** * Creates a plain object from a BotImagineMetadata message. Also converts values to other types if specified. * @param message BotImagineMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotImagineMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotImagineMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotImagineMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotImagineMetadata { /** ImagineType enum. */ enum ImagineType { UNKNOWN = 0, IMAGINE = 1, MEMU = 2, FLASH = 3, EDIT = 4 } } /** Properties of a BotInfrastructureDiagnostics. */ interface IBotInfrastructureDiagnostics { /** BotInfrastructureDiagnostics botBackend */ botBackend?: (waproto.BotInfrastructureDiagnostics.BotBackend|null); /** BotInfrastructureDiagnostics toolsUsed */ toolsUsed?: (string[]|null); /** BotInfrastructureDiagnostics isThinking */ isThinking?: (boolean|null); } /** Represents a BotInfrastructureDiagnostics. */ class BotInfrastructureDiagnostics implements IBotInfrastructureDiagnostics { /** * Constructs a new BotInfrastructureDiagnostics. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotInfrastructureDiagnostics); /** BotInfrastructureDiagnostics botBackend. */ public botBackend?: (waproto.BotInfrastructureDiagnostics.BotBackend|null); /** BotInfrastructureDiagnostics toolsUsed. */ public toolsUsed: string[]; /** BotInfrastructureDiagnostics isThinking. */ public isThinking?: (boolean|null); /** * Creates a new BotInfrastructureDiagnostics instance using the specified properties. * @param [properties] Properties to set * @returns BotInfrastructureDiagnostics instance */ public static create(properties?: waproto.IBotInfrastructureDiagnostics): waproto.BotInfrastructureDiagnostics; /** * Encodes the specified BotInfrastructureDiagnostics message. Does not implicitly {@link waproto.BotInfrastructureDiagnostics.verify|verify} messages. * @param message BotInfrastructureDiagnostics message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotInfrastructureDiagnostics, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotInfrastructureDiagnostics message, length delimited. Does not implicitly {@link waproto.BotInfrastructureDiagnostics.verify|verify} messages. * @param message BotInfrastructureDiagnostics message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotInfrastructureDiagnostics, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotInfrastructureDiagnostics message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotInfrastructureDiagnostics * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotInfrastructureDiagnostics; /** * Decodes a BotInfrastructureDiagnostics message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotInfrastructureDiagnostics * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotInfrastructureDiagnostics; /** * Verifies a BotInfrastructureDiagnostics message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotInfrastructureDiagnostics message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotInfrastructureDiagnostics */ public static fromObject(object: { [k: string]: any }): waproto.BotInfrastructureDiagnostics; /** * Creates a plain object from a BotInfrastructureDiagnostics message. Also converts values to other types if specified. * @param message BotInfrastructureDiagnostics * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotInfrastructureDiagnostics, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotInfrastructureDiagnostics to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotInfrastructureDiagnostics * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotInfrastructureDiagnostics { /** BotBackend enum. */ enum BotBackend { AAPI = 0, CLIPPY = 1 } } /** Properties of a BotLinkedAccount. */ interface IBotLinkedAccount { /** BotLinkedAccount type */ type?: (waproto.BotLinkedAccount.BotLinkedAccountType|null); } /** Represents a BotLinkedAccount. */ class BotLinkedAccount implements IBotLinkedAccount { /** * Constructs a new BotLinkedAccount. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotLinkedAccount); /** BotLinkedAccount type. */ public type?: (waproto.BotLinkedAccount.BotLinkedAccountType|null); /** * Creates a new BotLinkedAccount instance using the specified properties. * @param [properties] Properties to set * @returns BotLinkedAccount instance */ public static create(properties?: waproto.IBotLinkedAccount): waproto.BotLinkedAccount; /** * Encodes the specified BotLinkedAccount message. Does not implicitly {@link waproto.BotLinkedAccount.verify|verify} messages. * @param message BotLinkedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotLinkedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotLinkedAccount message, length delimited. Does not implicitly {@link waproto.BotLinkedAccount.verify|verify} messages. * @param message BotLinkedAccount message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotLinkedAccount, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotLinkedAccount message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotLinkedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotLinkedAccount; /** * Decodes a BotLinkedAccount message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotLinkedAccount * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotLinkedAccount; /** * Verifies a BotLinkedAccount message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotLinkedAccount message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotLinkedAccount */ public static fromObject(object: { [k: string]: any }): waproto.BotLinkedAccount; /** * Creates a plain object from a BotLinkedAccount message. Also converts values to other types if specified. * @param message BotLinkedAccount * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotLinkedAccount, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotLinkedAccount to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotLinkedAccount * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotLinkedAccount { /** BotLinkedAccountType enum. */ enum BotLinkedAccountType { BOT_LINKED_ACCOUNT_TYPE_1P = 0 } } /** Properties of a BotLinkedAccountsMetadata. */ interface IBotLinkedAccountsMetadata { /** BotLinkedAccountsMetadata accounts */ accounts?: (waproto.IBotLinkedAccount[]|null); /** BotLinkedAccountsMetadata acAuthTokens */ acAuthTokens?: (Uint8Array|null); /** BotLinkedAccountsMetadata acErrorCode */ acErrorCode?: (number|null); } /** Represents a BotLinkedAccountsMetadata. */ class BotLinkedAccountsMetadata implements IBotLinkedAccountsMetadata { /** * Constructs a new BotLinkedAccountsMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotLinkedAccountsMetadata); /** BotLinkedAccountsMetadata accounts. */ public accounts: waproto.IBotLinkedAccount[]; /** BotLinkedAccountsMetadata acAuthTokens. */ public acAuthTokens?: (Uint8Array|null); /** BotLinkedAccountsMetadata acErrorCode. */ public acErrorCode?: (number|null); /** * Creates a new BotLinkedAccountsMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotLinkedAccountsMetadata instance */ public static create(properties?: waproto.IBotLinkedAccountsMetadata): waproto.BotLinkedAccountsMetadata; /** * Encodes the specified BotLinkedAccountsMetadata message. Does not implicitly {@link waproto.BotLinkedAccountsMetadata.verify|verify} messages. * @param message BotLinkedAccountsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotLinkedAccountsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotLinkedAccountsMetadata message, length delimited. Does not implicitly {@link waproto.BotLinkedAccountsMetadata.verify|verify} messages. * @param message BotLinkedAccountsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotLinkedAccountsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotLinkedAccountsMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotLinkedAccountsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotLinkedAccountsMetadata; /** * Decodes a BotLinkedAccountsMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotLinkedAccountsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotLinkedAccountsMetadata; /** * Verifies a BotLinkedAccountsMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotLinkedAccountsMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotLinkedAccountsMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotLinkedAccountsMetadata; /** * Creates a plain object from a BotLinkedAccountsMetadata message. Also converts values to other types if specified. * @param message BotLinkedAccountsMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotLinkedAccountsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotLinkedAccountsMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotLinkedAccountsMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMediaMetadata. */ interface IBotMediaMetadata { /** BotMediaMetadata fileSha256 */ fileSha256?: (string|null); /** BotMediaMetadata mediaKey */ mediaKey?: (string|null); /** BotMediaMetadata fileEncSha256 */ fileEncSha256?: (string|null); /** BotMediaMetadata directPath */ directPath?: (string|null); /** BotMediaMetadata mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** BotMediaMetadata mimetype */ mimetype?: (string|null); /** BotMediaMetadata orientationType */ orientationType?: (waproto.BotMediaMetadata.OrientationType|null); } /** Represents a BotMediaMetadata. */ class BotMediaMetadata implements IBotMediaMetadata { /** * Constructs a new BotMediaMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMediaMetadata); /** BotMediaMetadata fileSha256. */ public fileSha256?: (string|null); /** BotMediaMetadata mediaKey. */ public mediaKey?: (string|null); /** BotMediaMetadata fileEncSha256. */ public fileEncSha256?: (string|null); /** BotMediaMetadata directPath. */ public directPath?: (string|null); /** BotMediaMetadata mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** BotMediaMetadata mimetype. */ public mimetype?: (string|null); /** BotMediaMetadata orientationType. */ public orientationType?: (waproto.BotMediaMetadata.OrientationType|null); /** * Creates a new BotMediaMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMediaMetadata instance */ public static create(properties?: waproto.IBotMediaMetadata): waproto.BotMediaMetadata; /** * Encodes the specified BotMediaMetadata message. Does not implicitly {@link waproto.BotMediaMetadata.verify|verify} messages. * @param message BotMediaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMediaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMediaMetadata message, length delimited. Does not implicitly {@link waproto.BotMediaMetadata.verify|verify} messages. * @param message BotMediaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMediaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMediaMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMediaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMediaMetadata; /** * Decodes a BotMediaMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMediaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMediaMetadata; /** * Verifies a BotMediaMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMediaMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMediaMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMediaMetadata; /** * Creates a plain object from a BotMediaMetadata message. Also converts values to other types if specified. * @param message BotMediaMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMediaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMediaMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMediaMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotMediaMetadata { /** OrientationType enum. */ enum OrientationType { CENTER = 1, LEFT = 2, RIGHT = 3 } } /** Properties of a BotMemoryFact. */ interface IBotMemoryFact { /** BotMemoryFact fact */ fact?: (string|null); /** BotMemoryFact factId */ factId?: (string|null); } /** Represents a BotMemoryFact. */ class BotMemoryFact implements IBotMemoryFact { /** * Constructs a new BotMemoryFact. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMemoryFact); /** BotMemoryFact fact. */ public fact?: (string|null); /** BotMemoryFact factId. */ public factId?: (string|null); /** * Creates a new BotMemoryFact instance using the specified properties. * @param [properties] Properties to set * @returns BotMemoryFact instance */ public static create(properties?: waproto.IBotMemoryFact): waproto.BotMemoryFact; /** * Encodes the specified BotMemoryFact message. Does not implicitly {@link waproto.BotMemoryFact.verify|verify} messages. * @param message BotMemoryFact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMemoryFact message, length delimited. Does not implicitly {@link waproto.BotMemoryFact.verify|verify} messages. * @param message BotMemoryFact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMemoryFact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMemoryFact message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMemoryFact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMemoryFact; /** * Decodes a BotMemoryFact message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMemoryFact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMemoryFact; /** * Verifies a BotMemoryFact message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMemoryFact message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMemoryFact */ public static fromObject(object: { [k: string]: any }): waproto.BotMemoryFact; /** * Creates a plain object from a BotMemoryFact message. Also converts values to other types if specified. * @param message BotMemoryFact * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMemoryFact, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMemoryFact to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMemoryFact * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMemoryMetadata. */ interface IBotMemoryMetadata { /** BotMemoryMetadata addedFacts */ addedFacts?: (waproto.IBotMemoryFact[]|null); /** BotMemoryMetadata removedFacts */ removedFacts?: (waproto.IBotMemoryFact[]|null); /** BotMemoryMetadata disclaimer */ disclaimer?: (string|null); } /** Represents a BotMemoryMetadata. */ class BotMemoryMetadata implements IBotMemoryMetadata { /** * Constructs a new BotMemoryMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMemoryMetadata); /** BotMemoryMetadata addedFacts. */ public addedFacts: waproto.IBotMemoryFact[]; /** BotMemoryMetadata removedFacts. */ public removedFacts: waproto.IBotMemoryFact[]; /** BotMemoryMetadata disclaimer. */ public disclaimer?: (string|null); /** * Creates a new BotMemoryMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMemoryMetadata instance */ public static create(properties?: waproto.IBotMemoryMetadata): waproto.BotMemoryMetadata; /** * Encodes the specified BotMemoryMetadata message. Does not implicitly {@link waproto.BotMemoryMetadata.verify|verify} messages. * @param message BotMemoryMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMemoryMetadata message, length delimited. Does not implicitly {@link waproto.BotMemoryMetadata.verify|verify} messages. * @param message BotMemoryMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMemoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMemoryMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMemoryMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMemoryMetadata; /** * Decodes a BotMemoryMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMemoryMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMemoryMetadata; /** * Verifies a BotMemoryMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMemoryMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMemoryMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMemoryMetadata; /** * Creates a plain object from a BotMemoryMetadata message. Also converts values to other types if specified. * @param message BotMemoryMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMemoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMemoryMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMemoryMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMemuMetadata. */ interface IBotMemuMetadata { /** BotMemuMetadata faceImages */ faceImages?: (waproto.IBotMediaMetadata[]|null); } /** Represents a BotMemuMetadata. */ class BotMemuMetadata implements IBotMemuMetadata { /** * Constructs a new BotMemuMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMemuMetadata); /** BotMemuMetadata faceImages. */ public faceImages: waproto.IBotMediaMetadata[]; /** * Creates a new BotMemuMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMemuMetadata instance */ public static create(properties?: waproto.IBotMemuMetadata): waproto.BotMemuMetadata; /** * Encodes the specified BotMemuMetadata message. Does not implicitly {@link waproto.BotMemuMetadata.verify|verify} messages. * @param message BotMemuMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMemuMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMemuMetadata message, length delimited. Does not implicitly {@link waproto.BotMemuMetadata.verify|verify} messages. * @param message BotMemuMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMemuMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMemuMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMemuMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMemuMetadata; /** * Decodes a BotMemuMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMemuMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMemuMetadata; /** * Verifies a BotMemuMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMemuMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMemuMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMemuMetadata; /** * Creates a plain object from a BotMemuMetadata message. Also converts values to other types if specified. * @param message BotMemuMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMemuMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMemuMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMemuMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMessageOrigin. */ interface IBotMessageOrigin { /** BotMessageOrigin type */ type?: (waproto.BotMessageOrigin.BotMessageOriginType|null); } /** Represents a BotMessageOrigin. */ class BotMessageOrigin implements IBotMessageOrigin { /** * Constructs a new BotMessageOrigin. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMessageOrigin); /** BotMessageOrigin type. */ public type?: (waproto.BotMessageOrigin.BotMessageOriginType|null); /** * Creates a new BotMessageOrigin instance using the specified properties. * @param [properties] Properties to set * @returns BotMessageOrigin instance */ public static create(properties?: waproto.IBotMessageOrigin): waproto.BotMessageOrigin; /** * Encodes the specified BotMessageOrigin message. Does not implicitly {@link waproto.BotMessageOrigin.verify|verify} messages. * @param message BotMessageOrigin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMessageOrigin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMessageOrigin message, length delimited. Does not implicitly {@link waproto.BotMessageOrigin.verify|verify} messages. * @param message BotMessageOrigin message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMessageOrigin, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMessageOrigin message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMessageOrigin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMessageOrigin; /** * Decodes a BotMessageOrigin message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMessageOrigin * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMessageOrigin; /** * Verifies a BotMessageOrigin message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMessageOrigin message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMessageOrigin */ public static fromObject(object: { [k: string]: any }): waproto.BotMessageOrigin; /** * Creates a plain object from a BotMessageOrigin message. Also converts values to other types if specified. * @param message BotMessageOrigin * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMessageOrigin, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMessageOrigin to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMessageOrigin * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotMessageOrigin { /** BotMessageOriginType enum. */ enum BotMessageOriginType { BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0 } } /** Properties of a BotMessageOriginMetadata. */ interface IBotMessageOriginMetadata { /** BotMessageOriginMetadata origins */ origins?: (waproto.IBotMessageOrigin[]|null); } /** Represents a BotMessageOriginMetadata. */ class BotMessageOriginMetadata implements IBotMessageOriginMetadata { /** * Constructs a new BotMessageOriginMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMessageOriginMetadata); /** BotMessageOriginMetadata origins. */ public origins: waproto.IBotMessageOrigin[]; /** * Creates a new BotMessageOriginMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMessageOriginMetadata instance */ public static create(properties?: waproto.IBotMessageOriginMetadata): waproto.BotMessageOriginMetadata; /** * Encodes the specified BotMessageOriginMetadata message. Does not implicitly {@link waproto.BotMessageOriginMetadata.verify|verify} messages. * @param message BotMessageOriginMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMessageOriginMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMessageOriginMetadata message, length delimited. Does not implicitly {@link waproto.BotMessageOriginMetadata.verify|verify} messages. * @param message BotMessageOriginMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMessageOriginMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMessageOriginMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMessageOriginMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMessageOriginMetadata; /** * Decodes a BotMessageOriginMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMessageOriginMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMessageOriginMetadata; /** * Verifies a BotMessageOriginMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMessageOriginMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMessageOriginMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMessageOriginMetadata; /** * Creates a plain object from a BotMessageOriginMetadata message. Also converts values to other types if specified. * @param message BotMessageOriginMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMessageOriginMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMessageOriginMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMessageOriginMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMessageSharingInfo. */ interface IBotMessageSharingInfo { /** BotMessageSharingInfo botEntryPointOrigin */ botEntryPointOrigin?: (waproto.BotMetricsEntryPoint|null); /** BotMessageSharingInfo forwardScore */ forwardScore?: (number|null); } /** Represents a BotMessageSharingInfo. */ class BotMessageSharingInfo implements IBotMessageSharingInfo { /** * Constructs a new BotMessageSharingInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMessageSharingInfo); /** BotMessageSharingInfo botEntryPointOrigin. */ public botEntryPointOrigin?: (waproto.BotMetricsEntryPoint|null); /** BotMessageSharingInfo forwardScore. */ public forwardScore?: (number|null); /** * Creates a new BotMessageSharingInfo instance using the specified properties. * @param [properties] Properties to set * @returns BotMessageSharingInfo instance */ public static create(properties?: waproto.IBotMessageSharingInfo): waproto.BotMessageSharingInfo; /** * Encodes the specified BotMessageSharingInfo message. Does not implicitly {@link waproto.BotMessageSharingInfo.verify|verify} messages. * @param message BotMessageSharingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMessageSharingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMessageSharingInfo message, length delimited. Does not implicitly {@link waproto.BotMessageSharingInfo.verify|verify} messages. * @param message BotMessageSharingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMessageSharingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMessageSharingInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMessageSharingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMessageSharingInfo; /** * Decodes a BotMessageSharingInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMessageSharingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMessageSharingInfo; /** * Verifies a BotMessageSharingInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMessageSharingInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMessageSharingInfo */ public static fromObject(object: { [k: string]: any }): waproto.BotMessageSharingInfo; /** * Creates a plain object from a BotMessageSharingInfo message. Also converts values to other types if specified. * @param message BotMessageSharingInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMessageSharingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMessageSharingInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMessageSharingInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMetadata. */ interface IBotMetadata { /** BotMetadata personaId */ personaId?: (string|null); /** BotMetadata pluginMetadata */ pluginMetadata?: (waproto.IBotPluginMetadata|null); /** BotMetadata suggestedPromptMetadata */ suggestedPromptMetadata?: (waproto.IBotSuggestedPromptMetadata|null); /** BotMetadata invokerJid */ invokerJid?: (string|null); /** BotMetadata sessionMetadata */ sessionMetadata?: (waproto.IBotSessionMetadata|null); /** BotMetadata memuMetadata */ memuMetadata?: (waproto.IBotMemuMetadata|null); /** BotMetadata timezone */ timezone?: (string|null); /** BotMetadata reminderMetadata */ reminderMetadata?: (waproto.IBotReminderMetadata|null); /** BotMetadata modelMetadata */ modelMetadata?: (waproto.IBotModelMetadata|null); /** BotMetadata messageDisclaimerText */ messageDisclaimerText?: (string|null); /** BotMetadata progressIndicatorMetadata */ progressIndicatorMetadata?: (waproto.IBotProgressIndicatorMetadata|null); /** BotMetadata capabilityMetadata */ capabilityMetadata?: (waproto.IBotCapabilityMetadata|null); /** BotMetadata imagineMetadata */ imagineMetadata?: (waproto.IBotImagineMetadata|null); /** BotMetadata memoryMetadata */ memoryMetadata?: (waproto.IBotMemoryMetadata|null); /** BotMetadata renderingMetadata */ renderingMetadata?: (waproto.IBotRenderingMetadata|null); /** BotMetadata botMetricsMetadata */ botMetricsMetadata?: (waproto.IBotMetricsMetadata|null); /** BotMetadata botLinkedAccountsMetadata */ botLinkedAccountsMetadata?: (waproto.IBotLinkedAccountsMetadata|null); /** BotMetadata richResponseSourcesMetadata */ richResponseSourcesMetadata?: (waproto.IBotSourcesMetadata|null); /** BotMetadata aiConversationContext */ aiConversationContext?: (Uint8Array|null); /** BotMetadata botPromotionMessageMetadata */ botPromotionMessageMetadata?: (waproto.IBotPromotionMessageMetadata|null); /** BotMetadata botModeSelectionMetadata */ botModeSelectionMetadata?: (waproto.IBotModeSelectionMetadata|null); /** BotMetadata botQuotaMetadata */ botQuotaMetadata?: (waproto.IBotQuotaMetadata|null); /** BotMetadata botAgeCollectionMetadata */ botAgeCollectionMetadata?: (waproto.IBotAgeCollectionMetadata|null); /** BotMetadata conversationStarterPromptId */ conversationStarterPromptId?: (string|null); /** BotMetadata botResponseId */ botResponseId?: (string|null); /** BotMetadata verificationMetadata */ verificationMetadata?: (waproto.IBotSignatureVerificationMetadata|null); /** BotMetadata unifiedResponseMutation */ unifiedResponseMutation?: (waproto.IBotUnifiedResponseMutation|null); /** BotMetadata botMessageOriginMetadata */ botMessageOriginMetadata?: (waproto.IBotMessageOriginMetadata|null); /** BotMetadata inThreadSurveyMetadata */ inThreadSurveyMetadata?: (waproto.IInThreadSurveyMetadata|null); /** BotMetadata botThreadInfo */ botThreadInfo?: (waproto.IAIThreadInfo|null); /** BotMetadata regenerateMetadata */ regenerateMetadata?: (waproto.IAIRegenerateMetadata|null); /** BotMetadata sessionTransparencyMetadata */ sessionTransparencyMetadata?: (waproto.ISessionTransparencyMetadata|null); /** BotMetadata botDocumentMessageMetadata */ botDocumentMessageMetadata?: (waproto.IBotDocumentMessageMetadata|null); /** BotMetadata botGroupMetadata */ botGroupMetadata?: (waproto.IBotGroupMetadata|null); /** BotMetadata botRenderingConfigMetadata */ botRenderingConfigMetadata?: (waproto.IBotRenderingConfigMetadata|null); /** BotMetadata botInfrastructureDiagnostics */ botInfrastructureDiagnostics?: (waproto.IBotInfrastructureDiagnostics|null); /** BotMetadata aiMediaCollectionMetadata */ aiMediaCollectionMetadata?: (waproto.IAIMediaCollectionMetadata|null); /** BotMetadata commandMetadata */ commandMetadata?: (waproto.IBotCommandMetadata|null); /** BotMetadata resolvedToolCallMetadata */ resolvedToolCallMetadata?: (waproto.IBotResolvedToolCallMetadata|null); /** BotMetadata subscriptionUpsellMetadata */ subscriptionUpsellMetadata?: (waproto.IAISubscriptionUpsellMetadata|null); /** BotMetadata pttPromptMetadata */ pttPromptMetadata?: (waproto.IBotPttPromptMetadata|null); /** BotMetadata botHistoryShareMetadata */ botHistoryShareMetadata?: (waproto.IBotHistoryShareMetadata|null); /** BotMetadata responseStoppedByUser */ responseStoppedByUser?: (boolean|null); /** BotMetadata internalMetadata */ internalMetadata?: (Uint8Array|null); } /** Represents a BotMetadata. */ class BotMetadata implements IBotMetadata { /** * Constructs a new BotMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMetadata); /** BotMetadata personaId. */ public personaId?: (string|null); /** BotMetadata pluginMetadata. */ public pluginMetadata?: (waproto.IBotPluginMetadata|null); /** BotMetadata suggestedPromptMetadata. */ public suggestedPromptMetadata?: (waproto.IBotSuggestedPromptMetadata|null); /** BotMetadata invokerJid. */ public invokerJid?: (string|null); /** BotMetadata sessionMetadata. */ public sessionMetadata?: (waproto.IBotSessionMetadata|null); /** BotMetadata memuMetadata. */ public memuMetadata?: (waproto.IBotMemuMetadata|null); /** BotMetadata timezone. */ public timezone?: (string|null); /** BotMetadata reminderMetadata. */ public reminderMetadata?: (waproto.IBotReminderMetadata|null); /** BotMetadata modelMetadata. */ public modelMetadata?: (waproto.IBotModelMetadata|null); /** BotMetadata messageDisclaimerText. */ public messageDisclaimerText?: (string|null); /** BotMetadata progressIndicatorMetadata. */ public progressIndicatorMetadata?: (waproto.IBotProgressIndicatorMetadata|null); /** BotMetadata capabilityMetadata. */ public capabilityMetadata?: (waproto.IBotCapabilityMetadata|null); /** BotMetadata imagineMetadata. */ public imagineMetadata?: (waproto.IBotImagineMetadata|null); /** BotMetadata memoryMetadata. */ public memoryMetadata?: (waproto.IBotMemoryMetadata|null); /** BotMetadata renderingMetadata. */ public renderingMetadata?: (waproto.IBotRenderingMetadata|null); /** BotMetadata botMetricsMetadata. */ public botMetricsMetadata?: (waproto.IBotMetricsMetadata|null); /** BotMetadata botLinkedAccountsMetadata. */ public botLinkedAccountsMetadata?: (waproto.IBotLinkedAccountsMetadata|null); /** BotMetadata richResponseSourcesMetadata. */ public richResponseSourcesMetadata?: (waproto.IBotSourcesMetadata|null); /** BotMetadata aiConversationContext. */ public aiConversationContext?: (Uint8Array|null); /** BotMetadata botPromotionMessageMetadata. */ public botPromotionMessageMetadata?: (waproto.IBotPromotionMessageMetadata|null); /** BotMetadata botModeSelectionMetadata. */ public botModeSelectionMetadata?: (waproto.IBotModeSelectionMetadata|null); /** BotMetadata botQuotaMetadata. */ public botQuotaMetadata?: (waproto.IBotQuotaMetadata|null); /** BotMetadata botAgeCollectionMetadata. */ public botAgeCollectionMetadata?: (waproto.IBotAgeCollectionMetadata|null); /** BotMetadata conversationStarterPromptId. */ public conversationStarterPromptId?: (string|null); /** BotMetadata botResponseId. */ public botResponseId?: (string|null); /** BotMetadata verificationMetadata. */ public verificationMetadata?: (waproto.IBotSignatureVerificationMetadata|null); /** BotMetadata unifiedResponseMutation. */ public unifiedResponseMutation?: (waproto.IBotUnifiedResponseMutation|null); /** BotMetadata botMessageOriginMetadata. */ public botMessageOriginMetadata?: (waproto.IBotMessageOriginMetadata|null); /** BotMetadata inThreadSurveyMetadata. */ public inThreadSurveyMetadata?: (waproto.IInThreadSurveyMetadata|null); /** BotMetadata botThreadInfo. */ public botThreadInfo?: (waproto.IAIThreadInfo|null); /** BotMetadata regenerateMetadata. */ public regenerateMetadata?: (waproto.IAIRegenerateMetadata|null); /** BotMetadata sessionTransparencyMetadata. */ public sessionTransparencyMetadata?: (waproto.ISessionTransparencyMetadata|null); /** BotMetadata botDocumentMessageMetadata. */ public botDocumentMessageMetadata?: (waproto.IBotDocumentMessageMetadata|null); /** BotMetadata botGroupMetadata. */ public botGroupMetadata?: (waproto.IBotGroupMetadata|null); /** BotMetadata botRenderingConfigMetadata. */ public botRenderingConfigMetadata?: (waproto.IBotRenderingConfigMetadata|null); /** BotMetadata botInfrastructureDiagnostics. */ public botInfrastructureDiagnostics?: (waproto.IBotInfrastructureDiagnostics|null); /** BotMetadata aiMediaCollectionMetadata. */ public aiMediaCollectionMetadata?: (waproto.IAIMediaCollectionMetadata|null); /** BotMetadata commandMetadata. */ public commandMetadata?: (waproto.IBotCommandMetadata|null); /** BotMetadata resolvedToolCallMetadata. */ public resolvedToolCallMetadata?: (waproto.IBotResolvedToolCallMetadata|null); /** BotMetadata subscriptionUpsellMetadata. */ public subscriptionUpsellMetadata?: (waproto.IAISubscriptionUpsellMetadata|null); /** BotMetadata pttPromptMetadata. */ public pttPromptMetadata?: (waproto.IBotPttPromptMetadata|null); /** BotMetadata botHistoryShareMetadata. */ public botHistoryShareMetadata?: (waproto.IBotHistoryShareMetadata|null); /** BotMetadata responseStoppedByUser. */ public responseStoppedByUser?: (boolean|null); /** BotMetadata internalMetadata. */ public internalMetadata?: (Uint8Array|null); /** * Creates a new BotMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMetadata instance */ public static create(properties?: waproto.IBotMetadata): waproto.BotMetadata; /** * Encodes the specified BotMetadata message. Does not implicitly {@link waproto.BotMetadata.verify|verify} messages. * @param message BotMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMetadata message, length delimited. Does not implicitly {@link waproto.BotMetadata.verify|verify} messages. * @param message BotMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMetadata; /** * Decodes a BotMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMetadata; /** * Verifies a BotMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMetadata; /** * Creates a plain object from a BotMetadata message. Also converts values to other types if specified. * @param message BotMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotMetricsMetadata. */ interface IBotMetricsMetadata { /** BotMetricsMetadata destinationId */ destinationId?: (string|null); /** BotMetricsMetadata destinationEntryPoint */ destinationEntryPoint?: (waproto.BotMetricsEntryPoint|null); /** BotMetricsMetadata threadOrigin */ threadOrigin?: (waproto.BotMetricsThreadEntryPoint|null); } /** Represents a BotMetricsMetadata. */ class BotMetricsMetadata implements IBotMetricsMetadata { /** * Constructs a new BotMetricsMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotMetricsMetadata); /** BotMetricsMetadata destinationId. */ public destinationId?: (string|null); /** BotMetricsMetadata destinationEntryPoint. */ public destinationEntryPoint?: (waproto.BotMetricsEntryPoint|null); /** BotMetricsMetadata threadOrigin. */ public threadOrigin?: (waproto.BotMetricsThreadEntryPoint|null); /** * Creates a new BotMetricsMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotMetricsMetadata instance */ public static create(properties?: waproto.IBotMetricsMetadata): waproto.BotMetricsMetadata; /** * Encodes the specified BotMetricsMetadata message. Does not implicitly {@link waproto.BotMetricsMetadata.verify|verify} messages. * @param message BotMetricsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotMetricsMetadata message, length delimited. Does not implicitly {@link waproto.BotMetricsMetadata.verify|verify} messages. * @param message BotMetricsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotMetricsMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotMetricsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMetricsMetadata; /** * Decodes a BotMetricsMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotMetricsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMetricsMetadata; /** * Verifies a BotMetricsMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotMetricsMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotMetricsMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotMetricsMetadata; /** * Creates a plain object from a BotMetricsMetadata message. Also converts values to other types if specified. * @param message BotMetricsMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotMetricsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotMetricsMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotMetricsMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotModeSelectionMetadata. */ interface IBotModeSelectionMetadata { /** BotModeSelectionMetadata mode */ mode?: (waproto.BotModeSelectionMetadata.BotUserSelectionMode[]|null); /** BotModeSelectionMetadata overrideMode */ overrideMode?: (number[]|null); } /** Represents a BotModeSelectionMetadata. */ class BotModeSelectionMetadata implements IBotModeSelectionMetadata { /** * Constructs a new BotModeSelectionMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotModeSelectionMetadata); /** BotModeSelectionMetadata mode. */ public mode: waproto.BotModeSelectionMetadata.BotUserSelectionMode[]; /** BotModeSelectionMetadata overrideMode. */ public overrideMode: number[]; /** * Creates a new BotModeSelectionMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotModeSelectionMetadata instance */ public static create(properties?: waproto.IBotModeSelectionMetadata): waproto.BotModeSelectionMetadata; /** * Encodes the specified BotModeSelectionMetadata message. Does not implicitly {@link waproto.BotModeSelectionMetadata.verify|verify} messages. * @param message BotModeSelectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotModeSelectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotModeSelectionMetadata message, length delimited. Does not implicitly {@link waproto.BotModeSelectionMetadata.verify|verify} messages. * @param message BotModeSelectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotModeSelectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotModeSelectionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotModeSelectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotModeSelectionMetadata; /** * Decodes a BotModeSelectionMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotModeSelectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotModeSelectionMetadata; /** * Verifies a BotModeSelectionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotModeSelectionMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotModeSelectionMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotModeSelectionMetadata; /** * Creates a plain object from a BotModeSelectionMetadata message. Also converts values to other types if specified. * @param message BotModeSelectionMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotModeSelectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotModeSelectionMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotModeSelectionMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotModeSelectionMetadata { /** BotUserSelectionMode enum. */ enum BotUserSelectionMode { DEFAULT_MODE = 0, THINK_HARD_MODE = 1 } } /** Properties of a BotModelMetadata. */ interface IBotModelMetadata { /** BotModelMetadata modelType */ modelType?: (waproto.BotModelMetadata.ModelType|null); /** BotModelMetadata premiumModelStatus */ premiumModelStatus?: (waproto.BotModelMetadata.PremiumModelStatus|null); /** BotModelMetadata modelNameOverride */ modelNameOverride?: (string|null); } /** Represents a BotModelMetadata. */ class BotModelMetadata implements IBotModelMetadata { /** * Constructs a new BotModelMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotModelMetadata); /** BotModelMetadata modelType. */ public modelType?: (waproto.BotModelMetadata.ModelType|null); /** BotModelMetadata premiumModelStatus. */ public premiumModelStatus?: (waproto.BotModelMetadata.PremiumModelStatus|null); /** BotModelMetadata modelNameOverride. */ public modelNameOverride?: (string|null); /** * Creates a new BotModelMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotModelMetadata instance */ public static create(properties?: waproto.IBotModelMetadata): waproto.BotModelMetadata; /** * Encodes the specified BotModelMetadata message. Does not implicitly {@link waproto.BotModelMetadata.verify|verify} messages. * @param message BotModelMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotModelMetadata message, length delimited. Does not implicitly {@link waproto.BotModelMetadata.verify|verify} messages. * @param message BotModelMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotModelMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotModelMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotModelMetadata; /** * Decodes a BotModelMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotModelMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotModelMetadata; /** * Verifies a BotModelMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotModelMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotModelMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotModelMetadata; /** * Creates a plain object from a BotModelMetadata message. Also converts values to other types if specified. * @param message BotModelMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotModelMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotModelMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotModelMetadata { /** PremiumModelStatus enum. */ enum PremiumModelStatus { UNKNOWN_STATUS = 0, AVAILABLE = 1, QUOTA_EXCEED_LIMIT = 2 } /** ModelType enum. */ enum ModelType { UNKNOWN_TYPE = 0, LLAMA_PROD = 1, LLAMA_PROD_PREMIUM = 2 } } /** Properties of a BotPluginMetadata. */ interface IBotPluginMetadata { /** BotPluginMetadata provider */ provider?: (waproto.BotPluginMetadata.SearchProvider|null); /** BotPluginMetadata pluginType */ pluginType?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata thumbnailCdnUrl */ thumbnailCdnUrl?: (string|null); /** BotPluginMetadata profilePhotoCdnUrl */ profilePhotoCdnUrl?: (string|null); /** BotPluginMetadata searchProviderUrl */ searchProviderUrl?: (string|null); /** BotPluginMetadata referenceIndex */ referenceIndex?: (number|null); /** BotPluginMetadata expectedLinksCount */ expectedLinksCount?: (number|null); /** BotPluginMetadata searchQuery */ searchQuery?: (string|null); /** BotPluginMetadata parentPluginMessageKey */ parentPluginMessageKey?: (waproto.IMessageKey|null); /** BotPluginMetadata deprecatedField */ deprecatedField?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata parentPluginType */ parentPluginType?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata faviconCdnUrl */ faviconCdnUrl?: (string|null); } /** Represents a BotPluginMetadata. */ class BotPluginMetadata implements IBotPluginMetadata { /** * Constructs a new BotPluginMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotPluginMetadata); /** BotPluginMetadata provider. */ public provider?: (waproto.BotPluginMetadata.SearchProvider|null); /** BotPluginMetadata pluginType. */ public pluginType?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata thumbnailCdnUrl. */ public thumbnailCdnUrl?: (string|null); /** BotPluginMetadata profilePhotoCdnUrl. */ public profilePhotoCdnUrl?: (string|null); /** BotPluginMetadata searchProviderUrl. */ public searchProviderUrl?: (string|null); /** BotPluginMetadata referenceIndex. */ public referenceIndex?: (number|null); /** BotPluginMetadata expectedLinksCount. */ public expectedLinksCount?: (number|null); /** BotPluginMetadata searchQuery. */ public searchQuery?: (string|null); /** BotPluginMetadata parentPluginMessageKey. */ public parentPluginMessageKey?: (waproto.IMessageKey|null); /** BotPluginMetadata deprecatedField. */ public deprecatedField?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata parentPluginType. */ public parentPluginType?: (waproto.BotPluginMetadata.PluginType|null); /** BotPluginMetadata faviconCdnUrl. */ public faviconCdnUrl?: (string|null); /** * Creates a new BotPluginMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPluginMetadata instance */ public static create(properties?: waproto.IBotPluginMetadata): waproto.BotPluginMetadata; /** * Encodes the specified BotPluginMetadata message. Does not implicitly {@link waproto.BotPluginMetadata.verify|verify} messages. * @param message BotPluginMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotPluginMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPluginMetadata message, length delimited. Does not implicitly {@link waproto.BotPluginMetadata.verify|verify} messages. * @param message BotPluginMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotPluginMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPluginMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPluginMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPluginMetadata; /** * Decodes a BotPluginMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPluginMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPluginMetadata; /** * Verifies a BotPluginMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPluginMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPluginMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotPluginMetadata; /** * Creates a plain object from a BotPluginMetadata message. Also converts values to other types if specified. * @param message BotPluginMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotPluginMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPluginMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPluginMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotPluginMetadata { /** PluginType enum. */ enum PluginType { UNKNOWN_PLUGIN = 0, REELS = 1, SEARCH = 2 } /** SearchProvider enum. */ enum SearchProvider { UNKNOWN = 0, BING = 1, GOOGLE = 2, SUPPORT = 3 } } /** Properties of a BotProgressIndicatorMetadata. */ interface IBotProgressIndicatorMetadata { /** BotProgressIndicatorMetadata progressDescription */ progressDescription?: (string|null); /** BotProgressIndicatorMetadata stepsMetadata */ stepsMetadata?: (waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata[]|null); /** BotProgressIndicatorMetadata estimatedCompletionTime */ estimatedCompletionTime?: (number|Long|null); } /** Represents a BotProgressIndicatorMetadata. */ class BotProgressIndicatorMetadata implements IBotProgressIndicatorMetadata { /** * Constructs a new BotProgressIndicatorMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotProgressIndicatorMetadata); /** BotProgressIndicatorMetadata progressDescription. */ public progressDescription?: (string|null); /** BotProgressIndicatorMetadata stepsMetadata. */ public stepsMetadata: waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata[]; /** BotProgressIndicatorMetadata estimatedCompletionTime. */ public estimatedCompletionTime?: (number|Long|null); /** * Creates a new BotProgressIndicatorMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotProgressIndicatorMetadata instance */ public static create(properties?: waproto.IBotProgressIndicatorMetadata): waproto.BotProgressIndicatorMetadata; /** * Encodes the specified BotProgressIndicatorMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.verify|verify} messages. * @param message BotProgressIndicatorMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotProgressIndicatorMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.verify|verify} messages. * @param message BotProgressIndicatorMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotProgressIndicatorMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotProgressIndicatorMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata; /** * Decodes a BotProgressIndicatorMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotProgressIndicatorMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata; /** * Verifies a BotProgressIndicatorMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotProgressIndicatorMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotProgressIndicatorMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata; /** * Creates a plain object from a BotProgressIndicatorMetadata message. Also converts values to other types if specified. * @param message BotProgressIndicatorMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotProgressIndicatorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotProgressIndicatorMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotProgressIndicatorMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotProgressIndicatorMetadata { /** Properties of a BotPlanningStepMetadata. */ interface IBotPlanningStepMetadata { /** BotPlanningStepMetadata statusTitle */ statusTitle?: (string|null); /** BotPlanningStepMetadata statusBody */ statusBody?: (string|null); /** BotPlanningStepMetadata sourcesMetadata */ sourcesMetadata?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata[]|null); /** BotPlanningStepMetadata status */ status?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.PlanningStepStatus|null); /** BotPlanningStepMetadata isReasoning */ isReasoning?: (boolean|null); /** BotPlanningStepMetadata isEnhancedSearch */ isEnhancedSearch?: (boolean|null); /** BotPlanningStepMetadata sections */ sections?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[]|null); } /** Represents a BotPlanningStepMetadata. */ class BotPlanningStepMetadata implements IBotPlanningStepMetadata { /** * Constructs a new BotPlanningStepMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata); /** BotPlanningStepMetadata statusTitle. */ public statusTitle?: (string|null); /** BotPlanningStepMetadata statusBody. */ public statusBody?: (string|null); /** BotPlanningStepMetadata sourcesMetadata. */ public sourcesMetadata: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata[]; /** BotPlanningStepMetadata status. */ public status?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.PlanningStepStatus|null); /** BotPlanningStepMetadata isReasoning. */ public isReasoning?: (boolean|null); /** BotPlanningStepMetadata isEnhancedSearch. */ public isEnhancedSearch?: (boolean|null); /** BotPlanningStepMetadata sections. */ public sections: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[]; /** * Creates a new BotPlanningStepMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPlanningStepMetadata instance */ public static create(properties?: waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata; /** * Encodes the specified BotPlanningStepMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.verify|verify} messages. * @param message BotPlanningStepMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPlanningStepMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.verify|verify} messages. * @param message BotPlanningStepMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.IBotPlanningStepMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPlanningStepMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPlanningStepMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata; /** * Decodes a BotPlanningStepMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPlanningStepMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata; /** * Verifies a BotPlanningStepMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPlanningStepMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPlanningStepMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata; /** * Creates a plain object from a BotPlanningStepMetadata message. Also converts values to other types if specified. * @param message BotPlanningStepMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPlanningStepMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPlanningStepMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotPlanningStepMetadata { /** BotSearchSourceProvider enum. */ enum BotSearchSourceProvider { UNKNOWN_PROVIDER = 0, OTHER = 1, GOOGLE = 2, BING = 3 } /** PlanningStepStatus enum. */ enum PlanningStepStatus { UNKNOWN = 0, PLANNED = 1, EXECUTING = 2, FINISHED = 3 } /** Properties of a BotPlanningStepSectionMetadata. */ interface IBotPlanningStepSectionMetadata { /** BotPlanningStepSectionMetadata sectionTitle */ sectionTitle?: (string|null); /** BotPlanningStepSectionMetadata sectionBody */ sectionBody?: (string|null); /** BotPlanningStepSectionMetadata sourcesMetadata */ sourcesMetadata?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[]|null); } /** Represents a BotPlanningStepSectionMetadata. */ class BotPlanningStepSectionMetadata implements IBotPlanningStepSectionMetadata { /** * Constructs a new BotPlanningStepSectionMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata); /** BotPlanningStepSectionMetadata sectionTitle. */ public sectionTitle?: (string|null); /** BotPlanningStepSectionMetadata sectionBody. */ public sectionBody?: (string|null); /** BotPlanningStepSectionMetadata sourcesMetadata. */ public sourcesMetadata: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[]; /** * Creates a new BotPlanningStepSectionMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPlanningStepSectionMetadata instance */ public static create(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata; /** * Encodes the specified BotPlanningStepSectionMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages. * @param message BotPlanningStepSectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPlanningStepSectionMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages. * @param message BotPlanningStepSectionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPlanningStepSectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata; /** * Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPlanningStepSectionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata; /** * Verifies a BotPlanningStepSectionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPlanningStepSectionMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPlanningStepSectionMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata; /** * Creates a plain object from a BotPlanningStepSectionMetadata message. Also converts values to other types if specified. * @param message BotPlanningStepSectionMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPlanningStepSectionMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPlanningStepSectionMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotPlanningSearchSourceMetadata. */ interface IBotPlanningSearchSourceMetadata { /** BotPlanningSearchSourceMetadata title */ title?: (string|null); /** BotPlanningSearchSourceMetadata provider */ provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null); /** BotPlanningSearchSourceMetadata sourceUrl */ sourceUrl?: (string|null); /** BotPlanningSearchSourceMetadata favIconUrl */ favIconUrl?: (string|null); } /** Represents a BotPlanningSearchSourceMetadata. */ class BotPlanningSearchSourceMetadata implements IBotPlanningSearchSourceMetadata { /** * Constructs a new BotPlanningSearchSourceMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata); /** BotPlanningSearchSourceMetadata title. */ public title?: (string|null); /** BotPlanningSearchSourceMetadata provider. */ public provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null); /** BotPlanningSearchSourceMetadata sourceUrl. */ public sourceUrl?: (string|null); /** BotPlanningSearchSourceMetadata favIconUrl. */ public favIconUrl?: (string|null); /** * Creates a new BotPlanningSearchSourceMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPlanningSearchSourceMetadata instance */ public static create(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata; /** * Encodes the specified BotPlanningSearchSourceMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages. * @param message BotPlanningSearchSourceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPlanningSearchSourceMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages. * @param message BotPlanningSearchSourceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPlanningSearchSourceMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata; /** * Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPlanningSearchSourceMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata; /** * Verifies a BotPlanningSearchSourceMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPlanningSearchSourceMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPlanningSearchSourceMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata; /** * Creates a plain object from a BotPlanningSearchSourceMetadata message. Also converts values to other types if specified. * @param message BotPlanningSearchSourceMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPlanningSearchSourceMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPlanningSearchSourceMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotPlanningSearchSourcesMetadata. */ interface IBotPlanningSearchSourcesMetadata { /** BotPlanningSearchSourcesMetadata sourceTitle */ sourceTitle?: (string|null); /** BotPlanningSearchSourcesMetadata provider */ provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider|null); /** BotPlanningSearchSourcesMetadata sourceUrl */ sourceUrl?: (string|null); } /** Represents a BotPlanningSearchSourcesMetadata. */ class BotPlanningSearchSourcesMetadata implements IBotPlanningSearchSourcesMetadata { /** * Constructs a new BotPlanningSearchSourcesMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata); /** BotPlanningSearchSourcesMetadata sourceTitle. */ public sourceTitle?: (string|null); /** BotPlanningSearchSourcesMetadata provider. */ public provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider|null); /** BotPlanningSearchSourcesMetadata sourceUrl. */ public sourceUrl?: (string|null); /** * Creates a new BotPlanningSearchSourcesMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPlanningSearchSourcesMetadata instance */ public static create(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata; /** * Encodes the specified BotPlanningSearchSourcesMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.verify|verify} messages. * @param message BotPlanningSearchSourcesMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPlanningSearchSourcesMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.verify|verify} messages. * @param message BotPlanningSearchSourcesMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPlanningSearchSourcesMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPlanningSearchSourcesMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata; /** * Decodes a BotPlanningSearchSourcesMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPlanningSearchSourcesMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata; /** * Verifies a BotPlanningSearchSourcesMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPlanningSearchSourcesMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPlanningSearchSourcesMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata; /** * Creates a plain object from a BotPlanningSearchSourcesMetadata message. Also converts values to other types if specified. * @param message BotPlanningSearchSourcesMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPlanningSearchSourcesMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPlanningSearchSourcesMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotPlanningSearchSourcesMetadata { /** BotPlanningSearchSourceProvider enum. */ enum BotPlanningSearchSourceProvider { UNKNOWN = 0, OTHER = 1, GOOGLE = 2, BING = 3 } } } } /** Properties of a BotPromotionMessageMetadata. */ interface IBotPromotionMessageMetadata { /** BotPromotionMessageMetadata promotionType */ promotionType?: (waproto.BotPromotionMessageMetadata.BotPromotionType|null); /** BotPromotionMessageMetadata buttonTitle */ buttonTitle?: (string|null); } /** Represents a BotPromotionMessageMetadata. */ class BotPromotionMessageMetadata implements IBotPromotionMessageMetadata { /** * Constructs a new BotPromotionMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotPromotionMessageMetadata); /** BotPromotionMessageMetadata promotionType. */ public promotionType?: (waproto.BotPromotionMessageMetadata.BotPromotionType|null); /** BotPromotionMessageMetadata buttonTitle. */ public buttonTitle?: (string|null); /** * Creates a new BotPromotionMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPromotionMessageMetadata instance */ public static create(properties?: waproto.IBotPromotionMessageMetadata): waproto.BotPromotionMessageMetadata; /** * Encodes the specified BotPromotionMessageMetadata message. Does not implicitly {@link waproto.BotPromotionMessageMetadata.verify|verify} messages. * @param message BotPromotionMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotPromotionMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPromotionMessageMetadata message, length delimited. Does not implicitly {@link waproto.BotPromotionMessageMetadata.verify|verify} messages. * @param message BotPromotionMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotPromotionMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPromotionMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPromotionMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPromotionMessageMetadata; /** * Decodes a BotPromotionMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPromotionMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPromotionMessageMetadata; /** * Verifies a BotPromotionMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPromotionMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPromotionMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotPromotionMessageMetadata; /** * Creates a plain object from a BotPromotionMessageMetadata message. Also converts values to other types if specified. * @param message BotPromotionMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotPromotionMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPromotionMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPromotionMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotPromotionMessageMetadata { /** BotPromotionType enum. */ enum BotPromotionType { UNKNOWN_TYPE = 0, C50 = 1, SURVEY_PLATFORM = 2 } } /** Properties of a BotPromptSuggestion. */ interface IBotPromptSuggestion { /** BotPromptSuggestion prompt */ prompt?: (string|null); /** BotPromptSuggestion promptId */ promptId?: (string|null); } /** Represents a BotPromptSuggestion. */ class BotPromptSuggestion implements IBotPromptSuggestion { /** * Constructs a new BotPromptSuggestion. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotPromptSuggestion); /** BotPromptSuggestion prompt. */ public prompt?: (string|null); /** BotPromptSuggestion promptId. */ public promptId?: (string|null); /** * Creates a new BotPromptSuggestion instance using the specified properties. * @param [properties] Properties to set * @returns BotPromptSuggestion instance */ public static create(properties?: waproto.IBotPromptSuggestion): waproto.BotPromptSuggestion; /** * Encodes the specified BotPromptSuggestion message. Does not implicitly {@link waproto.BotPromptSuggestion.verify|verify} messages. * @param message BotPromptSuggestion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPromptSuggestion message, length delimited. Does not implicitly {@link waproto.BotPromptSuggestion.verify|verify} messages. * @param message BotPromptSuggestion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPromptSuggestion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPromptSuggestion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPromptSuggestion; /** * Decodes a BotPromptSuggestion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPromptSuggestion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPromptSuggestion; /** * Verifies a BotPromptSuggestion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPromptSuggestion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPromptSuggestion */ public static fromObject(object: { [k: string]: any }): waproto.BotPromptSuggestion; /** * Creates a plain object from a BotPromptSuggestion message. Also converts values to other types if specified. * @param message BotPromptSuggestion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotPromptSuggestion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPromptSuggestion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPromptSuggestion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotPromptSuggestions. */ interface IBotPromptSuggestions { /** BotPromptSuggestions suggestions */ suggestions?: (waproto.IBotPromptSuggestion[]|null); } /** Represents a BotPromptSuggestions. */ class BotPromptSuggestions implements IBotPromptSuggestions { /** * Constructs a new BotPromptSuggestions. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotPromptSuggestions); /** BotPromptSuggestions suggestions. */ public suggestions: waproto.IBotPromptSuggestion[]; /** * Creates a new BotPromptSuggestions instance using the specified properties. * @param [properties] Properties to set * @returns BotPromptSuggestions instance */ public static create(properties?: waproto.IBotPromptSuggestions): waproto.BotPromptSuggestions; /** * Encodes the specified BotPromptSuggestions message. Does not implicitly {@link waproto.BotPromptSuggestions.verify|verify} messages. * @param message BotPromptSuggestions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPromptSuggestions message, length delimited. Does not implicitly {@link waproto.BotPromptSuggestions.verify|verify} messages. * @param message BotPromptSuggestions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPromptSuggestions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPromptSuggestions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPromptSuggestions; /** * Decodes a BotPromptSuggestions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPromptSuggestions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPromptSuggestions; /** * Verifies a BotPromptSuggestions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPromptSuggestions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPromptSuggestions */ public static fromObject(object: { [k: string]: any }): waproto.BotPromptSuggestions; /** * Creates a plain object from a BotPromptSuggestions message. Also converts values to other types if specified. * @param message BotPromptSuggestions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotPromptSuggestions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPromptSuggestions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPromptSuggestions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotPttPromptMetadata. */ interface IBotPttPromptMetadata { /** BotPttPromptMetadata transcript */ transcript?: (string|null); } /** Represents a BotPttPromptMetadata. */ class BotPttPromptMetadata implements IBotPttPromptMetadata { /** * Constructs a new BotPttPromptMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotPttPromptMetadata); /** BotPttPromptMetadata transcript. */ public transcript?: (string|null); /** * Creates a new BotPttPromptMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotPttPromptMetadata instance */ public static create(properties?: waproto.IBotPttPromptMetadata): waproto.BotPttPromptMetadata; /** * Encodes the specified BotPttPromptMetadata message. Does not implicitly {@link waproto.BotPttPromptMetadata.verify|verify} messages. * @param message BotPttPromptMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotPttPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotPttPromptMetadata message, length delimited. Does not implicitly {@link waproto.BotPttPromptMetadata.verify|verify} messages. * @param message BotPttPromptMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotPttPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotPttPromptMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotPttPromptMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPttPromptMetadata; /** * Decodes a BotPttPromptMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotPttPromptMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPttPromptMetadata; /** * Verifies a BotPttPromptMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotPttPromptMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotPttPromptMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotPttPromptMetadata; /** * Creates a plain object from a BotPttPromptMetadata message. Also converts values to other types if specified. * @param message BotPttPromptMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotPttPromptMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotPttPromptMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotPttPromptMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotQuotaMetadata. */ interface IBotQuotaMetadata { /** BotQuotaMetadata botFeatureQuotaMetadata */ botFeatureQuotaMetadata?: (waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata[]|null); } /** Represents a BotQuotaMetadata. */ class BotQuotaMetadata implements IBotQuotaMetadata { /** * Constructs a new BotQuotaMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotQuotaMetadata); /** BotQuotaMetadata botFeatureQuotaMetadata. */ public botFeatureQuotaMetadata: waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata[]; /** * Creates a new BotQuotaMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotQuotaMetadata instance */ public static create(properties?: waproto.IBotQuotaMetadata): waproto.BotQuotaMetadata; /** * Encodes the specified BotQuotaMetadata message. Does not implicitly {@link waproto.BotQuotaMetadata.verify|verify} messages. * @param message BotQuotaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotQuotaMetadata message, length delimited. Does not implicitly {@link waproto.BotQuotaMetadata.verify|verify} messages. * @param message BotQuotaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotQuotaMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotQuotaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotQuotaMetadata; /** * Decodes a BotQuotaMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotQuotaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotQuotaMetadata; /** * Verifies a BotQuotaMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotQuotaMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotQuotaMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotQuotaMetadata; /** * Creates a plain object from a BotQuotaMetadata message. Also converts values to other types if specified. * @param message BotQuotaMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotQuotaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotQuotaMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotQuotaMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotQuotaMetadata { /** Properties of a BotFeatureQuotaMetadata. */ interface IBotFeatureQuotaMetadata { /** BotFeatureQuotaMetadata featureType */ featureType?: (waproto.BotQuotaMetadata.BotFeatureQuotaMetadata.BotFeatureType|null); /** BotFeatureQuotaMetadata remainingQuota */ remainingQuota?: (number|null); /** BotFeatureQuotaMetadata expirationTimestamp */ expirationTimestamp?: (number|Long|null); } /** Represents a BotFeatureQuotaMetadata. */ class BotFeatureQuotaMetadata implements IBotFeatureQuotaMetadata { /** * Constructs a new BotFeatureQuotaMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata); /** BotFeatureQuotaMetadata featureType. */ public featureType?: (waproto.BotQuotaMetadata.BotFeatureQuotaMetadata.BotFeatureType|null); /** BotFeatureQuotaMetadata remainingQuota. */ public remainingQuota?: (number|null); /** BotFeatureQuotaMetadata expirationTimestamp. */ public expirationTimestamp?: (number|Long|null); /** * Creates a new BotFeatureQuotaMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotFeatureQuotaMetadata instance */ public static create(properties?: waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata): waproto.BotQuotaMetadata.BotFeatureQuotaMetadata; /** * Encodes the specified BotFeatureQuotaMetadata message. Does not implicitly {@link waproto.BotQuotaMetadata.BotFeatureQuotaMetadata.verify|verify} messages. * @param message BotFeatureQuotaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotFeatureQuotaMetadata message, length delimited. Does not implicitly {@link waproto.BotQuotaMetadata.BotFeatureQuotaMetadata.verify|verify} messages. * @param message BotFeatureQuotaMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotQuotaMetadata.IBotFeatureQuotaMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotFeatureQuotaMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotFeatureQuotaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotQuotaMetadata.BotFeatureQuotaMetadata; /** * Decodes a BotFeatureQuotaMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotFeatureQuotaMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotQuotaMetadata.BotFeatureQuotaMetadata; /** * Verifies a BotFeatureQuotaMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotFeatureQuotaMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotFeatureQuotaMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotQuotaMetadata.BotFeatureQuotaMetadata; /** * Creates a plain object from a BotFeatureQuotaMetadata message. Also converts values to other types if specified. * @param message BotFeatureQuotaMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotQuotaMetadata.BotFeatureQuotaMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotFeatureQuotaMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotFeatureQuotaMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotFeatureQuotaMetadata { /** BotFeatureType enum. */ enum BotFeatureType { UNKNOWN_FEATURE = 0, REASONING_FEATURE = 1 } } } /** Properties of a BotReminderMetadata. */ interface IBotReminderMetadata { /** BotReminderMetadata requestMessageKey */ requestMessageKey?: (waproto.IMessageKey|null); /** BotReminderMetadata action */ action?: (waproto.BotReminderMetadata.ReminderAction|null); /** BotReminderMetadata name */ name?: (string|null); /** BotReminderMetadata nextTriggerTimestamp */ nextTriggerTimestamp?: (number|Long|null); /** BotReminderMetadata frequency */ frequency?: (waproto.BotReminderMetadata.ReminderFrequency|null); } /** Represents a BotReminderMetadata. */ class BotReminderMetadata implements IBotReminderMetadata { /** * Constructs a new BotReminderMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotReminderMetadata); /** BotReminderMetadata requestMessageKey. */ public requestMessageKey?: (waproto.IMessageKey|null); /** BotReminderMetadata action. */ public action?: (waproto.BotReminderMetadata.ReminderAction|null); /** BotReminderMetadata name. */ public name?: (string|null); /** BotReminderMetadata nextTriggerTimestamp. */ public nextTriggerTimestamp?: (number|Long|null); /** BotReminderMetadata frequency. */ public frequency?: (waproto.BotReminderMetadata.ReminderFrequency|null); /** * Creates a new BotReminderMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotReminderMetadata instance */ public static create(properties?: waproto.IBotReminderMetadata): waproto.BotReminderMetadata; /** * Encodes the specified BotReminderMetadata message. Does not implicitly {@link waproto.BotReminderMetadata.verify|verify} messages. * @param message BotReminderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotReminderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotReminderMetadata message, length delimited. Does not implicitly {@link waproto.BotReminderMetadata.verify|verify} messages. * @param message BotReminderMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotReminderMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotReminderMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotReminderMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotReminderMetadata; /** * Decodes a BotReminderMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotReminderMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotReminderMetadata; /** * Verifies a BotReminderMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotReminderMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotReminderMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotReminderMetadata; /** * Creates a plain object from a BotReminderMetadata message. Also converts values to other types if specified. * @param message BotReminderMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotReminderMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotReminderMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotReminderMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotReminderMetadata { /** ReminderFrequency enum. */ enum ReminderFrequency { ONCE = 1, DAILY = 2, WEEKLY = 3, BIWEEKLY = 4, MONTHLY = 5 } /** ReminderAction enum. */ enum ReminderAction { NOTIFY = 1, CREATE = 2, DELETE = 3, UPDATE = 4 } } /** Properties of a BotRenderingConfigMetadata. */ interface IBotRenderingConfigMetadata { /** BotRenderingConfigMetadata bloksVersioningId */ bloksVersioningId?: (string|null); /** BotRenderingConfigMetadata pixelDensity */ pixelDensity?: (number|null); } /** Represents a BotRenderingConfigMetadata. */ class BotRenderingConfigMetadata implements IBotRenderingConfigMetadata { /** * Constructs a new BotRenderingConfigMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotRenderingConfigMetadata); /** BotRenderingConfigMetadata bloksVersioningId. */ public bloksVersioningId?: (string|null); /** BotRenderingConfigMetadata pixelDensity. */ public pixelDensity?: (number|null); /** * Creates a new BotRenderingConfigMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotRenderingConfigMetadata instance */ public static create(properties?: waproto.IBotRenderingConfigMetadata): waproto.BotRenderingConfigMetadata; /** * Encodes the specified BotRenderingConfigMetadata message. Does not implicitly {@link waproto.BotRenderingConfigMetadata.verify|verify} messages. * @param message BotRenderingConfigMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotRenderingConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotRenderingConfigMetadata message, length delimited. Does not implicitly {@link waproto.BotRenderingConfigMetadata.verify|verify} messages. * @param message BotRenderingConfigMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotRenderingConfigMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotRenderingConfigMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotRenderingConfigMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotRenderingConfigMetadata; /** * Decodes a BotRenderingConfigMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotRenderingConfigMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotRenderingConfigMetadata; /** * Verifies a BotRenderingConfigMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotRenderingConfigMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotRenderingConfigMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotRenderingConfigMetadata; /** * Creates a plain object from a BotRenderingConfigMetadata message. Also converts values to other types if specified. * @param message BotRenderingConfigMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotRenderingConfigMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotRenderingConfigMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotRenderingConfigMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotRenderingMetadata. */ interface IBotRenderingMetadata { /** BotRenderingMetadata keywords */ keywords?: (waproto.BotRenderingMetadata.IKeyword[]|null); } /** Represents a BotRenderingMetadata. */ class BotRenderingMetadata implements IBotRenderingMetadata { /** * Constructs a new BotRenderingMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotRenderingMetadata); /** BotRenderingMetadata keywords. */ public keywords: waproto.BotRenderingMetadata.IKeyword[]; /** * Creates a new BotRenderingMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotRenderingMetadata instance */ public static create(properties?: waproto.IBotRenderingMetadata): waproto.BotRenderingMetadata; /** * Encodes the specified BotRenderingMetadata message. Does not implicitly {@link waproto.BotRenderingMetadata.verify|verify} messages. * @param message BotRenderingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotRenderingMetadata message, length delimited. Does not implicitly {@link waproto.BotRenderingMetadata.verify|verify} messages. * @param message BotRenderingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotRenderingMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotRenderingMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotRenderingMetadata; /** * Decodes a BotRenderingMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotRenderingMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotRenderingMetadata; /** * Verifies a BotRenderingMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotRenderingMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotRenderingMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotRenderingMetadata; /** * Creates a plain object from a BotRenderingMetadata message. Also converts values to other types if specified. * @param message BotRenderingMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotRenderingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotRenderingMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotRenderingMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotRenderingMetadata { /** Properties of a Keyword. */ interface IKeyword { /** Keyword value */ value?: (string|null); /** Keyword associatedPrompts */ associatedPrompts?: (string[]|null); } /** Represents a Keyword. */ class Keyword implements IKeyword { /** * Constructs a new Keyword. * @param [properties] Properties to set */ constructor(properties?: waproto.BotRenderingMetadata.IKeyword); /** Keyword value. */ public value?: (string|null); /** Keyword associatedPrompts. */ public associatedPrompts: string[]; /** * Creates a new Keyword instance using the specified properties. * @param [properties] Properties to set * @returns Keyword instance */ public static create(properties?: waproto.BotRenderingMetadata.IKeyword): waproto.BotRenderingMetadata.Keyword; /** * Encodes the specified Keyword message. Does not implicitly {@link waproto.BotRenderingMetadata.Keyword.verify|verify} messages. * @param message Keyword message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Keyword message, length delimited. Does not implicitly {@link waproto.BotRenderingMetadata.Keyword.verify|verify} messages. * @param message Keyword message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Keyword message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Keyword * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotRenderingMetadata.Keyword; /** * Decodes a Keyword message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Keyword * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotRenderingMetadata.Keyword; /** * Verifies a Keyword message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Keyword message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Keyword */ public static fromObject(object: { [k: string]: any }): waproto.BotRenderingMetadata.Keyword; /** * Creates a plain object from a Keyword message. Also converts values to other types if specified. * @param message Keyword * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotRenderingMetadata.Keyword, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Keyword to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Keyword * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a BotResolvedToolCallMetadata. */ interface IBotResolvedToolCallMetadata { /** BotResolvedToolCallMetadata toolCallId */ toolCallId?: (string|null); /** BotResolvedToolCallMetadata resolutionDataSerialized */ resolutionDataSerialized?: (string|null); } /** Represents a BotResolvedToolCallMetadata. */ class BotResolvedToolCallMetadata implements IBotResolvedToolCallMetadata { /** * Constructs a new BotResolvedToolCallMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotResolvedToolCallMetadata); /** BotResolvedToolCallMetadata toolCallId. */ public toolCallId?: (string|null); /** BotResolvedToolCallMetadata resolutionDataSerialized. */ public resolutionDataSerialized?: (string|null); /** * Creates a new BotResolvedToolCallMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotResolvedToolCallMetadata instance */ public static create(properties?: waproto.IBotResolvedToolCallMetadata): waproto.BotResolvedToolCallMetadata; /** * Encodes the specified BotResolvedToolCallMetadata message. Does not implicitly {@link waproto.BotResolvedToolCallMetadata.verify|verify} messages. * @param message BotResolvedToolCallMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotResolvedToolCallMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotResolvedToolCallMetadata message, length delimited. Does not implicitly {@link waproto.BotResolvedToolCallMetadata.verify|verify} messages. * @param message BotResolvedToolCallMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotResolvedToolCallMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotResolvedToolCallMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotResolvedToolCallMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotResolvedToolCallMetadata; /** * Decodes a BotResolvedToolCallMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotResolvedToolCallMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotResolvedToolCallMetadata; /** * Verifies a BotResolvedToolCallMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotResolvedToolCallMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotResolvedToolCallMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotResolvedToolCallMetadata; /** * Creates a plain object from a BotResolvedToolCallMetadata message. Also converts values to other types if specified. * @param message BotResolvedToolCallMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotResolvedToolCallMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotResolvedToolCallMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotResolvedToolCallMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotSessionMetadata. */ interface IBotSessionMetadata { /** BotSessionMetadata sessionId */ sessionId?: (string|null); /** BotSessionMetadata sessionSource */ sessionSource?: (waproto.BotSessionSource|null); } /** Represents a BotSessionMetadata. */ class BotSessionMetadata implements IBotSessionMetadata { /** * Constructs a new BotSessionMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotSessionMetadata); /** BotSessionMetadata sessionId. */ public sessionId?: (string|null); /** BotSessionMetadata sessionSource. */ public sessionSource?: (waproto.BotSessionSource|null); /** * Creates a new BotSessionMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotSessionMetadata instance */ public static create(properties?: waproto.IBotSessionMetadata): waproto.BotSessionMetadata; /** * Encodes the specified BotSessionMetadata message. Does not implicitly {@link waproto.BotSessionMetadata.verify|verify} messages. * @param message BotSessionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotSessionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSessionMetadata message, length delimited. Does not implicitly {@link waproto.BotSessionMetadata.verify|verify} messages. * @param message BotSessionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotSessionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSessionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSessionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSessionMetadata; /** * Decodes a BotSessionMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSessionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSessionMetadata; /** * Verifies a BotSessionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSessionMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSessionMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotSessionMetadata; /** * Creates a plain object from a BotSessionMetadata message. Also converts values to other types if specified. * @param message BotSessionMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSessionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSessionMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSessionMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotSignatureVerificationMetadata. */ interface IBotSignatureVerificationMetadata { /** BotSignatureVerificationMetadata proofs */ proofs?: (waproto.IBotSignatureVerificationUseCaseProof[]|null); } /** Represents a BotSignatureVerificationMetadata. */ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata { /** * Constructs a new BotSignatureVerificationMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotSignatureVerificationMetadata); /** BotSignatureVerificationMetadata proofs. */ public proofs: waproto.IBotSignatureVerificationUseCaseProof[]; /** * Creates a new BotSignatureVerificationMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotSignatureVerificationMetadata instance */ public static create(properties?: waproto.IBotSignatureVerificationMetadata): waproto.BotSignatureVerificationMetadata; /** * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link waproto.BotSignatureVerificationMetadata.verify|verify} messages. * @param message BotSignatureVerificationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link waproto.BotSignatureVerificationMetadata.verify|verify} messages. * @param message BotSignatureVerificationMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSignatureVerificationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSignatureVerificationMetadata; /** * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSignatureVerificationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSignatureVerificationMetadata; /** * Verifies a BotSignatureVerificationMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSignatureVerificationMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotSignatureVerificationMetadata; /** * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified. * @param message BotSignatureVerificationMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSignatureVerificationMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSignatureVerificationMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotSignatureVerificationUseCaseProof. */ interface IBotSignatureVerificationUseCaseProof { /** BotSignatureVerificationUseCaseProof version */ version?: (number|null); /** BotSignatureVerificationUseCaseProof useCase */ useCase?: (waproto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null); /** BotSignatureVerificationUseCaseProof signature */ signature?: (Uint8Array|null); /** BotSignatureVerificationUseCaseProof certificateChain */ certificateChain?: (Uint8Array[]|null); /** BotSignatureVerificationUseCaseProof certificateChainSki */ certificateChainSki?: (waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI[]|null); } /** Represents a BotSignatureVerificationUseCaseProof. */ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof { /** * Constructs a new BotSignatureVerificationUseCaseProof. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotSignatureVerificationUseCaseProof); /** BotSignatureVerificationUseCaseProof version. */ public version?: (number|null); /** BotSignatureVerificationUseCaseProof useCase. */ public useCase?: (waproto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null); /** BotSignatureVerificationUseCaseProof signature. */ public signature?: (Uint8Array|null); /** BotSignatureVerificationUseCaseProof certificateChain. */ public certificateChain: Uint8Array[]; /** BotSignatureVerificationUseCaseProof certificateChainSki. */ public certificateChainSki: waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI[]; /** * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties. * @param [properties] Properties to set * @returns BotSignatureVerificationUseCaseProof instance */ public static create(properties?: waproto.IBotSignatureVerificationUseCaseProof): waproto.BotSignatureVerificationUseCaseProof; /** * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link waproto.BotSignatureVerificationUseCaseProof.verify|verify} messages. * @param message BotSignatureVerificationUseCaseProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link waproto.BotSignatureVerificationUseCaseProof.verify|verify} messages. * @param message BotSignatureVerificationUseCaseProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSignatureVerificationUseCaseProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSignatureVerificationUseCaseProof; /** * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSignatureVerificationUseCaseProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSignatureVerificationUseCaseProof; /** * Verifies a BotSignatureVerificationUseCaseProof message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSignatureVerificationUseCaseProof */ public static fromObject(object: { [k: string]: any }): waproto.BotSignatureVerificationUseCaseProof; /** * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified. * @param message BotSignatureVerificationUseCaseProof * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSignatureVerificationUseCaseProof to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSignatureVerificationUseCaseProof * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotSignatureVerificationUseCaseProof { /** BotSignatureUseCase enum. */ enum BotSignatureUseCase { UNSPECIFIED = 0, WA_BOT_MSG = 1, WA_TEE_BOT_MSG = 2, P2P_PILLS = 3, WA_WAFFLE = 4, WA_FEATURE_PKI = 5 } /** Properties of a CertificateSKI. */ interface ICertificateSKI { /** CertificateSKI useCase */ useCase?: (waproto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null); /** CertificateSKI ski */ ski?: (Uint8Array|null); } /** Represents a CertificateSKI. */ class CertificateSKI implements ICertificateSKI { /** * Constructs a new CertificateSKI. * @param [properties] Properties to set */ constructor(properties?: waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI); /** CertificateSKI useCase. */ public useCase?: (waproto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null); /** CertificateSKI ski. */ public ski?: (Uint8Array|null); /** * Creates a new CertificateSKI instance using the specified properties. * @param [properties] Properties to set * @returns CertificateSKI instance */ public static create(properties?: waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI): waproto.BotSignatureVerificationUseCaseProof.CertificateSKI; /** * Encodes the specified CertificateSKI message. Does not implicitly {@link waproto.BotSignatureVerificationUseCaseProof.CertificateSKI.verify|verify} messages. * @param message CertificateSKI message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CertificateSKI message, length delimited. Does not implicitly {@link waproto.BotSignatureVerificationUseCaseProof.CertificateSKI.verify|verify} messages. * @param message CertificateSKI message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotSignatureVerificationUseCaseProof.ICertificateSKI, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CertificateSKI message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CertificateSKI * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSignatureVerificationUseCaseProof.CertificateSKI; /** * Decodes a CertificateSKI message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CertificateSKI * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSignatureVerificationUseCaseProof.CertificateSKI; /** * Verifies a CertificateSKI message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CertificateSKI message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CertificateSKI */ public static fromObject(object: { [k: string]: any }): waproto.BotSignatureVerificationUseCaseProof.CertificateSKI; /** * Creates a plain object from a CertificateSKI message. Also converts values to other types if specified. * @param message CertificateSKI * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSignatureVerificationUseCaseProof.CertificateSKI, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CertificateSKI to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CertificateSKI * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a BotSourcesMetadata. */ interface IBotSourcesMetadata { /** BotSourcesMetadata sources */ sources?: (waproto.BotSourcesMetadata.IBotSourceItem[]|null); } /** Represents a BotSourcesMetadata. */ class BotSourcesMetadata implements IBotSourcesMetadata { /** * Constructs a new BotSourcesMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotSourcesMetadata); /** BotSourcesMetadata sources. */ public sources: waproto.BotSourcesMetadata.IBotSourceItem[]; /** * Creates a new BotSourcesMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotSourcesMetadata instance */ public static create(properties?: waproto.IBotSourcesMetadata): waproto.BotSourcesMetadata; /** * Encodes the specified BotSourcesMetadata message. Does not implicitly {@link waproto.BotSourcesMetadata.verify|verify} messages. * @param message BotSourcesMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSourcesMetadata message, length delimited. Does not implicitly {@link waproto.BotSourcesMetadata.verify|verify} messages. * @param message BotSourcesMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotSourcesMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSourcesMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSourcesMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSourcesMetadata; /** * Decodes a BotSourcesMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSourcesMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSourcesMetadata; /** * Verifies a BotSourcesMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSourcesMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSourcesMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotSourcesMetadata; /** * Creates a plain object from a BotSourcesMetadata message. Also converts values to other types if specified. * @param message BotSourcesMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSourcesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSourcesMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSourcesMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotSourcesMetadata { /** Properties of a BotSourceItem. */ interface IBotSourceItem { /** BotSourceItem provider */ provider?: (waproto.BotSourcesMetadata.BotSourceItem.SourceProvider|null); /** BotSourceItem thumbnailCdnUrl */ thumbnailCdnUrl?: (string|null); /** BotSourceItem sourceProviderUrl */ sourceProviderUrl?: (string|null); /** BotSourceItem sourceQuery */ sourceQuery?: (string|null); /** BotSourceItem faviconCdnUrl */ faviconCdnUrl?: (string|null); /** BotSourceItem citationNumber */ citationNumber?: (number|null); /** BotSourceItem sourceTitle */ sourceTitle?: (string|null); } /** Represents a BotSourceItem. */ class BotSourceItem implements IBotSourceItem { /** * Constructs a new BotSourceItem. * @param [properties] Properties to set */ constructor(properties?: waproto.BotSourcesMetadata.IBotSourceItem); /** BotSourceItem provider. */ public provider?: (waproto.BotSourcesMetadata.BotSourceItem.SourceProvider|null); /** BotSourceItem thumbnailCdnUrl. */ public thumbnailCdnUrl?: (string|null); /** BotSourceItem sourceProviderUrl. */ public sourceProviderUrl?: (string|null); /** BotSourceItem sourceQuery. */ public sourceQuery?: (string|null); /** BotSourceItem faviconCdnUrl. */ public faviconCdnUrl?: (string|null); /** BotSourceItem citationNumber. */ public citationNumber?: (number|null); /** BotSourceItem sourceTitle. */ public sourceTitle?: (string|null); /** * Creates a new BotSourceItem instance using the specified properties. * @param [properties] Properties to set * @returns BotSourceItem instance */ public static create(properties?: waproto.BotSourcesMetadata.IBotSourceItem): waproto.BotSourcesMetadata.BotSourceItem; /** * Encodes the specified BotSourceItem message. Does not implicitly {@link waproto.BotSourcesMetadata.BotSourceItem.verify|verify} messages. * @param message BotSourceItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotSourcesMetadata.IBotSourceItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSourceItem message, length delimited. Does not implicitly {@link waproto.BotSourcesMetadata.BotSourceItem.verify|verify} messages. * @param message BotSourceItem message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotSourcesMetadata.IBotSourceItem, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSourceItem message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSourceItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSourcesMetadata.BotSourceItem; /** * Decodes a BotSourceItem message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSourceItem * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSourcesMetadata.BotSourceItem; /** * Verifies a BotSourceItem message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSourceItem message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSourceItem */ public static fromObject(object: { [k: string]: any }): waproto.BotSourcesMetadata.BotSourceItem; /** * Creates a plain object from a BotSourceItem message. Also converts values to other types if specified. * @param message BotSourceItem * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSourcesMetadata.BotSourceItem, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSourceItem to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSourceItem * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotSourceItem { /** SourceProvider enum. */ enum SourceProvider { UNKNOWN = 0, BING = 1, GOOGLE = 2, SUPPORT = 3, OTHER = 4 } } } /** Properties of a BotSuggestedPromptMetadata. */ interface IBotSuggestedPromptMetadata { /** BotSuggestedPromptMetadata suggestedPrompts */ suggestedPrompts?: (string[]|null); /** BotSuggestedPromptMetadata selectedPromptIndex */ selectedPromptIndex?: (number|null); /** BotSuggestedPromptMetadata promptSuggestions */ promptSuggestions?: (waproto.IBotPromptSuggestions|null); /** BotSuggestedPromptMetadata selectedPromptId */ selectedPromptId?: (string|null); } /** Represents a BotSuggestedPromptMetadata. */ class BotSuggestedPromptMetadata implements IBotSuggestedPromptMetadata { /** * Constructs a new BotSuggestedPromptMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotSuggestedPromptMetadata); /** BotSuggestedPromptMetadata suggestedPrompts. */ public suggestedPrompts: string[]; /** BotSuggestedPromptMetadata selectedPromptIndex. */ public selectedPromptIndex?: (number|null); /** BotSuggestedPromptMetadata promptSuggestions. */ public promptSuggestions?: (waproto.IBotPromptSuggestions|null); /** BotSuggestedPromptMetadata selectedPromptId. */ public selectedPromptId?: (string|null); /** * Creates a new BotSuggestedPromptMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotSuggestedPromptMetadata instance */ public static create(properties?: waproto.IBotSuggestedPromptMetadata): waproto.BotSuggestedPromptMetadata; /** * Encodes the specified BotSuggestedPromptMetadata message. Does not implicitly {@link waproto.BotSuggestedPromptMetadata.verify|verify} messages. * @param message BotSuggestedPromptMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotSuggestedPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotSuggestedPromptMetadata message, length delimited. Does not implicitly {@link waproto.BotSuggestedPromptMetadata.verify|verify} messages. * @param message BotSuggestedPromptMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotSuggestedPromptMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotSuggestedPromptMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotSuggestedPromptMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotSuggestedPromptMetadata; /** * Decodes a BotSuggestedPromptMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotSuggestedPromptMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotSuggestedPromptMetadata; /** * Verifies a BotSuggestedPromptMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotSuggestedPromptMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotSuggestedPromptMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotSuggestedPromptMetadata; /** * Creates a plain object from a BotSuggestedPromptMetadata message. Also converts values to other types if specified. * @param message BotSuggestedPromptMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotSuggestedPromptMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotSuggestedPromptMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotSuggestedPromptMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotUnifiedResponseMutation. */ interface IBotUnifiedResponseMutation { /** BotUnifiedResponseMutation sbsMetadata */ sbsMetadata?: (waproto.BotUnifiedResponseMutation.ISideBySideMetadata|null); /** BotUnifiedResponseMutation mediaDetailsMetadataList */ mediaDetailsMetadataList?: (waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata[]|null); } /** Represents a BotUnifiedResponseMutation. */ class BotUnifiedResponseMutation implements IBotUnifiedResponseMutation { /** * Constructs a new BotUnifiedResponseMutation. * @param [properties] Properties to set */ constructor(properties?: waproto.IBotUnifiedResponseMutation); /** BotUnifiedResponseMutation sbsMetadata. */ public sbsMetadata?: (waproto.BotUnifiedResponseMutation.ISideBySideMetadata|null); /** BotUnifiedResponseMutation mediaDetailsMetadataList. */ public mediaDetailsMetadataList: waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata[]; /** * Creates a new BotUnifiedResponseMutation instance using the specified properties. * @param [properties] Properties to set * @returns BotUnifiedResponseMutation instance */ public static create(properties?: waproto.IBotUnifiedResponseMutation): waproto.BotUnifiedResponseMutation; /** * Encodes the specified BotUnifiedResponseMutation message. Does not implicitly {@link waproto.BotUnifiedResponseMutation.verify|verify} messages. * @param message BotUnifiedResponseMutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IBotUnifiedResponseMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotUnifiedResponseMutation message, length delimited. Does not implicitly {@link waproto.BotUnifiedResponseMutation.verify|verify} messages. * @param message BotUnifiedResponseMutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IBotUnifiedResponseMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotUnifiedResponseMutation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotUnifiedResponseMutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotUnifiedResponseMutation; /** * Decodes a BotUnifiedResponseMutation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotUnifiedResponseMutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotUnifiedResponseMutation; /** * Verifies a BotUnifiedResponseMutation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotUnifiedResponseMutation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotUnifiedResponseMutation */ public static fromObject(object: { [k: string]: any }): waproto.BotUnifiedResponseMutation; /** * Creates a plain object from a BotUnifiedResponseMutation message. Also converts values to other types if specified. * @param message BotUnifiedResponseMutation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotUnifiedResponseMutation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotUnifiedResponseMutation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotUnifiedResponseMutation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BotUnifiedResponseMutation { /** Properties of a MediaDetailsMetadata. */ interface IMediaDetailsMetadata { /** MediaDetailsMetadata id */ id?: (string|null); /** MediaDetailsMetadata highResMedia */ highResMedia?: (waproto.IBotMediaMetadata|null); /** MediaDetailsMetadata previewMedia */ previewMedia?: (waproto.IBotMediaMetadata|null); } /** Represents a MediaDetailsMetadata. */ class MediaDetailsMetadata implements IMediaDetailsMetadata { /** * Constructs a new MediaDetailsMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata); /** MediaDetailsMetadata id. */ public id?: (string|null); /** MediaDetailsMetadata highResMedia. */ public highResMedia?: (waproto.IBotMediaMetadata|null); /** MediaDetailsMetadata previewMedia. */ public previewMedia?: (waproto.IBotMediaMetadata|null); /** * Creates a new MediaDetailsMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MediaDetailsMetadata instance */ public static create(properties?: waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata): waproto.BotUnifiedResponseMutation.MediaDetailsMetadata; /** * Encodes the specified MediaDetailsMetadata message. Does not implicitly {@link waproto.BotUnifiedResponseMutation.MediaDetailsMetadata.verify|verify} messages. * @param message MediaDetailsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaDetailsMetadata message, length delimited. Does not implicitly {@link waproto.BotUnifiedResponseMutation.MediaDetailsMetadata.verify|verify} messages. * @param message MediaDetailsMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotUnifiedResponseMutation.IMediaDetailsMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaDetailsMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaDetailsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotUnifiedResponseMutation.MediaDetailsMetadata; /** * Decodes a MediaDetailsMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaDetailsMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotUnifiedResponseMutation.MediaDetailsMetadata; /** * Verifies a MediaDetailsMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaDetailsMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaDetailsMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotUnifiedResponseMutation.MediaDetailsMetadata; /** * Creates a plain object from a MediaDetailsMetadata message. Also converts values to other types if specified. * @param message MediaDetailsMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotUnifiedResponseMutation.MediaDetailsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaDetailsMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaDetailsMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SideBySideMetadata. */ interface ISideBySideMetadata { /** SideBySideMetadata primaryResponseId */ primaryResponseId?: (string|null); /** SideBySideMetadata surveyCtaHasRendered */ surveyCtaHasRendered?: (boolean|null); } /** Represents a SideBySideMetadata. */ class SideBySideMetadata implements ISideBySideMetadata { /** * Constructs a new SideBySideMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.BotUnifiedResponseMutation.ISideBySideMetadata); /** SideBySideMetadata primaryResponseId. */ public primaryResponseId?: (string|null); /** SideBySideMetadata surveyCtaHasRendered. */ public surveyCtaHasRendered?: (boolean|null); /** * Creates a new SideBySideMetadata instance using the specified properties. * @param [properties] Properties to set * @returns SideBySideMetadata instance */ public static create(properties?: waproto.BotUnifiedResponseMutation.ISideBySideMetadata): waproto.BotUnifiedResponseMutation.SideBySideMetadata; /** * Encodes the specified SideBySideMetadata message. Does not implicitly {@link waproto.BotUnifiedResponseMutation.SideBySideMetadata.verify|verify} messages. * @param message SideBySideMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.BotUnifiedResponseMutation.ISideBySideMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SideBySideMetadata message, length delimited. Does not implicitly {@link waproto.BotUnifiedResponseMutation.SideBySideMetadata.verify|verify} messages. * @param message SideBySideMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.BotUnifiedResponseMutation.ISideBySideMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SideBySideMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SideBySideMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotUnifiedResponseMutation.SideBySideMetadata; /** * Decodes a SideBySideMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SideBySideMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotUnifiedResponseMutation.SideBySideMetadata; /** * Verifies a SideBySideMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SideBySideMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SideBySideMetadata */ public static fromObject(object: { [k: string]: any }): waproto.BotUnifiedResponseMutation.SideBySideMetadata; /** * Creates a plain object from a SideBySideMetadata message. Also converts values to other types if specified. * @param message SideBySideMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.BotUnifiedResponseMutation.SideBySideMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SideBySideMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SideBySideMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CTAProto. */ interface ICTAProto { /** CTAProto buttonType */ buttonType?: (number|null); /** CTAProto title */ title?: (string|null); /** CTAProto actionUrl */ actionUrl?: (string|null); /** CTAProto nativeUrl */ nativeUrl?: (string|null); /** CTAProto ctaType */ ctaType?: (string|null); } /** Represents a CTAProto. */ class CTAProto implements ICTAProto { /** * Constructs a new CTAProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ICTAProto); /** CTAProto buttonType. */ public buttonType?: (number|null); /** CTAProto title. */ public title?: (string|null); /** CTAProto actionUrl. */ public actionUrl?: (string|null); /** CTAProto nativeUrl. */ public nativeUrl?: (string|null); /** CTAProto ctaType. */ public ctaType?: (string|null); /** * Creates a new CTAProto instance using the specified properties. * @param [properties] Properties to set * @returns CTAProto instance */ public static create(properties?: waproto.ICTAProto): waproto.CTAProto; /** * Encodes the specified CTAProto message. Does not implicitly {@link waproto.CTAProto.verify|verify} messages. * @param message CTAProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICTAProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CTAProto message, length delimited. Does not implicitly {@link waproto.CTAProto.verify|verify} messages. * @param message CTAProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICTAProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CTAProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CTAProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CTAProto; /** * Decodes a CTAProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CTAProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CTAProto; /** * Verifies a CTAProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CTAProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CTAProto */ public static fromObject(object: { [k: string]: any }): waproto.CTAProto; /** * Creates a plain object from a CTAProto message. Also converts values to other types if specified. * @param message CTAProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CTAProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CTAProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CTAProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CallLogRecord. */ interface ICallLogRecord { /** CallLogRecord callResult */ callResult?: (waproto.CallLogRecord.CallResult|null); /** CallLogRecord isDndMode */ isDndMode?: (boolean|null); /** CallLogRecord silenceReason */ silenceReason?: (waproto.CallLogRecord.SilenceReason|null); /** CallLogRecord duration */ duration?: (number|Long|null); /** CallLogRecord startTime */ startTime?: (number|Long|null); /** CallLogRecord isIncoming */ isIncoming?: (boolean|null); /** CallLogRecord isVideo */ isVideo?: (boolean|null); /** CallLogRecord isCallLink */ isCallLink?: (boolean|null); /** CallLogRecord callLinkToken */ callLinkToken?: (string|null); /** CallLogRecord scheduledCallId */ scheduledCallId?: (string|null); /** CallLogRecord callId */ callId?: (string|null); /** CallLogRecord callCreatorJid */ callCreatorJid?: (string|null); /** CallLogRecord groupJid */ groupJid?: (string|null); /** CallLogRecord participants */ participants?: (waproto.CallLogRecord.IParticipantInfo[]|null); /** CallLogRecord callType */ callType?: (waproto.CallLogRecord.CallType|null); } /** Represents a CallLogRecord. */ class CallLogRecord implements ICallLogRecord { /** * Constructs a new CallLogRecord. * @param [properties] Properties to set */ constructor(properties?: waproto.ICallLogRecord); /** CallLogRecord callResult. */ public callResult?: (waproto.CallLogRecord.CallResult|null); /** CallLogRecord isDndMode. */ public isDndMode?: (boolean|null); /** CallLogRecord silenceReason. */ public silenceReason?: (waproto.CallLogRecord.SilenceReason|null); /** CallLogRecord duration. */ public duration?: (number|Long|null); /** CallLogRecord startTime. */ public startTime?: (number|Long|null); /** CallLogRecord isIncoming. */ public isIncoming?: (boolean|null); /** CallLogRecord isVideo. */ public isVideo?: (boolean|null); /** CallLogRecord isCallLink. */ public isCallLink?: (boolean|null); /** CallLogRecord callLinkToken. */ public callLinkToken?: (string|null); /** CallLogRecord scheduledCallId. */ public scheduledCallId?: (string|null); /** CallLogRecord callId. */ public callId?: (string|null); /** CallLogRecord callCreatorJid. */ public callCreatorJid?: (string|null); /** CallLogRecord groupJid. */ public groupJid?: (string|null); /** CallLogRecord participants. */ public participants: waproto.CallLogRecord.IParticipantInfo[]; /** CallLogRecord callType. */ public callType?: (waproto.CallLogRecord.CallType|null); /** * Creates a new CallLogRecord instance using the specified properties. * @param [properties] Properties to set * @returns CallLogRecord instance */ public static create(properties?: waproto.ICallLogRecord): waproto.CallLogRecord; /** * Encodes the specified CallLogRecord message. Does not implicitly {@link waproto.CallLogRecord.verify|verify} messages. * @param message CallLogRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICallLogRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CallLogRecord message, length delimited. Does not implicitly {@link waproto.CallLogRecord.verify|verify} messages. * @param message CallLogRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICallLogRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallLogRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CallLogRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CallLogRecord; /** * Decodes a CallLogRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CallLogRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CallLogRecord; /** * Verifies a CallLogRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CallLogRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CallLogRecord */ public static fromObject(object: { [k: string]: any }): waproto.CallLogRecord; /** * Creates a plain object from a CallLogRecord message. Also converts values to other types if specified. * @param message CallLogRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CallLogRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallLogRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CallLogRecord * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CallLogRecord { /** CallType enum. */ enum CallType { REGULAR = 0, SCHEDULED_CALL = 1, VOICE_CHAT = 2 } /** SilenceReason enum. */ enum SilenceReason { NONE = 0, SCHEDULED = 1, PRIVACY = 2, LIGHTWEIGHT = 3 } /** CallResult enum. */ enum CallResult { CONNECTED = 0, REJECTED = 1, CANCELLED = 2, ACCEPTEDELSEWHERE = 3, MISSED = 4, INVALID = 5, UNAVAILABLE = 6, UPCOMING = 7, FAILED = 8, ABANDONED = 9, ONGOING = 10 } /** Properties of a ParticipantInfo. */ interface IParticipantInfo { /** ParticipantInfo userJid */ userJid?: (string|null); /** ParticipantInfo callResult */ callResult?: (waproto.CallLogRecord.CallResult|null); } /** Represents a ParticipantInfo. */ class ParticipantInfo implements IParticipantInfo { /** * Constructs a new ParticipantInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.CallLogRecord.IParticipantInfo); /** ParticipantInfo userJid. */ public userJid?: (string|null); /** ParticipantInfo callResult. */ public callResult?: (waproto.CallLogRecord.CallResult|null); /** * Creates a new ParticipantInfo instance using the specified properties. * @param [properties] Properties to set * @returns ParticipantInfo instance */ public static create(properties?: waproto.CallLogRecord.IParticipantInfo): waproto.CallLogRecord.ParticipantInfo; /** * Encodes the specified ParticipantInfo message. Does not implicitly {@link waproto.CallLogRecord.ParticipantInfo.verify|verify} messages. * @param message ParticipantInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.CallLogRecord.IParticipantInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ParticipantInfo message, length delimited. Does not implicitly {@link waproto.CallLogRecord.ParticipantInfo.verify|verify} messages. * @param message ParticipantInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.CallLogRecord.IParticipantInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ParticipantInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ParticipantInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CallLogRecord.ParticipantInfo; /** * Decodes a ParticipantInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ParticipantInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CallLogRecord.ParticipantInfo; /** * Verifies a ParticipantInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ParticipantInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ParticipantInfo */ public static fromObject(object: { [k: string]: any }): waproto.CallLogRecord.ParticipantInfo; /** * Creates a plain object from a ParticipantInfo message. Also converts values to other types if specified. * @param message ParticipantInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CallLogRecord.ParticipantInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ParticipantInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ParticipantInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CertChain. */ interface ICertChain { /** CertChain leaf */ leaf?: (waproto.CertChain.INoiseCertificate|null); /** CertChain intermediate */ intermediate?: (waproto.CertChain.INoiseCertificate|null); } /** Represents a CertChain. */ class CertChain implements ICertChain { /** * Constructs a new CertChain. * @param [properties] Properties to set */ constructor(properties?: waproto.ICertChain); /** CertChain leaf. */ public leaf?: (waproto.CertChain.INoiseCertificate|null); /** CertChain intermediate. */ public intermediate?: (waproto.CertChain.INoiseCertificate|null); /** * Creates a new CertChain instance using the specified properties. * @param [properties] Properties to set * @returns CertChain instance */ public static create(properties?: waproto.ICertChain): waproto.CertChain; /** * Encodes the specified CertChain message. Does not implicitly {@link waproto.CertChain.verify|verify} messages. * @param message CertChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICertChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CertChain message, length delimited. Does not implicitly {@link waproto.CertChain.verify|verify} messages. * @param message CertChain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICertChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CertChain message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CertChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CertChain; /** * Decodes a CertChain message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CertChain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CertChain; /** * Verifies a CertChain message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CertChain message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CertChain */ public static fromObject(object: { [k: string]: any }): waproto.CertChain; /** * Creates a plain object from a CertChain message. Also converts values to other types if specified. * @param message CertChain * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CertChain, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CertChain to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CertChain * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CertChain { /** Properties of a NoiseCertificate. */ interface INoiseCertificate { /** NoiseCertificate details */ details?: (Uint8Array|null); /** NoiseCertificate signature */ signature?: (Uint8Array|null); } /** Represents a NoiseCertificate. */ class NoiseCertificate implements INoiseCertificate { /** * Constructs a new NoiseCertificate. * @param [properties] Properties to set */ constructor(properties?: waproto.CertChain.INoiseCertificate); /** NoiseCertificate details. */ public details?: (Uint8Array|null); /** NoiseCertificate signature. */ public signature?: (Uint8Array|null); /** * Creates a new NoiseCertificate instance using the specified properties. * @param [properties] Properties to set * @returns NoiseCertificate instance */ public static create(properties?: waproto.CertChain.INoiseCertificate): waproto.CertChain.NoiseCertificate; /** * Encodes the specified NoiseCertificate message. Does not implicitly {@link waproto.CertChain.NoiseCertificate.verify|verify} messages. * @param message NoiseCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.CertChain.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NoiseCertificate message, length delimited. Does not implicitly {@link waproto.CertChain.NoiseCertificate.verify|verify} messages. * @param message NoiseCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.CertChain.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NoiseCertificate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NoiseCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CertChain.NoiseCertificate; /** * Decodes a NoiseCertificate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NoiseCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CertChain.NoiseCertificate; /** * Verifies a NoiseCertificate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NoiseCertificate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NoiseCertificate */ public static fromObject(object: { [k: string]: any }): waproto.CertChain.NoiseCertificate; /** * Creates a plain object from a NoiseCertificate message. Also converts values to other types if specified. * @param message NoiseCertificate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CertChain.NoiseCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NoiseCertificate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NoiseCertificate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NoiseCertificate { /** Properties of a Details. */ interface IDetails { /** Details serial */ serial?: (number|null); /** Details issuerSerial */ issuerSerial?: (number|null); /** Details key */ key?: (Uint8Array|null); /** Details notBefore */ notBefore?: (number|Long|null); /** Details notAfter */ notAfter?: (number|Long|null); } /** Represents a Details. */ class Details implements IDetails { /** * Constructs a new Details. * @param [properties] Properties to set */ constructor(properties?: waproto.CertChain.NoiseCertificate.IDetails); /** Details serial. */ public serial?: (number|null); /** Details issuerSerial. */ public issuerSerial?: (number|null); /** Details key. */ public key?: (Uint8Array|null); /** Details notBefore. */ public notBefore?: (number|Long|null); /** Details notAfter. */ public notAfter?: (number|Long|null); /** * Creates a new Details instance using the specified properties. * @param [properties] Properties to set * @returns Details instance */ public static create(properties?: waproto.CertChain.NoiseCertificate.IDetails): waproto.CertChain.NoiseCertificate.Details; /** * Encodes the specified Details message. Does not implicitly {@link waproto.CertChain.NoiseCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.CertChain.NoiseCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Details message, length delimited. Does not implicitly {@link waproto.CertChain.NoiseCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.CertChain.NoiseCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Details message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CertChain.NoiseCertificate.Details; /** * Decodes a Details message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CertChain.NoiseCertificate.Details; /** * Verifies a Details message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Details message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Details */ public static fromObject(object: { [k: string]: any }): waproto.CertChain.NoiseCertificate.Details; /** * Creates a plain object from a Details message. Also converts values to other types if specified. * @param message Details * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CertChain.NoiseCertificate.Details, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Details to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Details * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a ChatLockSettings. */ interface IChatLockSettings { /** ChatLockSettings hideLockedChats */ hideLockedChats?: (boolean|null); /** ChatLockSettings secretCode */ secretCode?: (waproto.IUserPassword|null); } /** Represents a ChatLockSettings. */ class ChatLockSettings implements IChatLockSettings { /** * Constructs a new ChatLockSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.IChatLockSettings); /** ChatLockSettings hideLockedChats. */ public hideLockedChats?: (boolean|null); /** ChatLockSettings secretCode. */ public secretCode?: (waproto.IUserPassword|null); /** * Creates a new ChatLockSettings instance using the specified properties. * @param [properties] Properties to set * @returns ChatLockSettings instance */ public static create(properties?: waproto.IChatLockSettings): waproto.ChatLockSettings; /** * Encodes the specified ChatLockSettings message. Does not implicitly {@link waproto.ChatLockSettings.verify|verify} messages. * @param message ChatLockSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IChatLockSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatLockSettings message, length delimited. Does not implicitly {@link waproto.ChatLockSettings.verify|verify} messages. * @param message ChatLockSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IChatLockSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatLockSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatLockSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChatLockSettings; /** * Decodes a ChatLockSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatLockSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChatLockSettings; /** * Verifies a ChatLockSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatLockSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatLockSettings */ public static fromObject(object: { [k: string]: any }): waproto.ChatLockSettings; /** * Creates a plain object from a ChatLockSettings message. Also converts values to other types if specified. * @param message ChatLockSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChatLockSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatLockSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatLockSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatRowOpaqueData. */ interface IChatRowOpaqueData { /** ChatRowOpaqueData draftMessage */ draftMessage?: (waproto.ChatRowOpaqueData.IDraftMessage|null); } /** Represents a ChatRowOpaqueData. */ class ChatRowOpaqueData implements IChatRowOpaqueData { /** * Constructs a new ChatRowOpaqueData. * @param [properties] Properties to set */ constructor(properties?: waproto.IChatRowOpaqueData); /** ChatRowOpaqueData draftMessage. */ public draftMessage?: (waproto.ChatRowOpaqueData.IDraftMessage|null); /** * Creates a new ChatRowOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns ChatRowOpaqueData instance */ public static create(properties?: waproto.IChatRowOpaqueData): waproto.ChatRowOpaqueData; /** * Encodes the specified ChatRowOpaqueData message. Does not implicitly {@link waproto.ChatRowOpaqueData.verify|verify} messages. * @param message ChatRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IChatRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatRowOpaqueData message, length delimited. Does not implicitly {@link waproto.ChatRowOpaqueData.verify|verify} messages. * @param message ChatRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IChatRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatRowOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChatRowOpaqueData; /** * Decodes a ChatRowOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChatRowOpaqueData; /** * Verifies a ChatRowOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatRowOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatRowOpaqueData */ public static fromObject(object: { [k: string]: any }): waproto.ChatRowOpaqueData; /** * Creates a plain object from a ChatRowOpaqueData message. Also converts values to other types if specified. * @param message ChatRowOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChatRowOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatRowOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatRowOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ChatRowOpaqueData { /** Properties of a DraftMessage. */ interface IDraftMessage { /** DraftMessage text */ text?: (string|null); /** DraftMessage omittedUrl */ omittedUrl?: (string|null); /** DraftMessage ctwaContextLinkData */ ctwaContextLinkData?: (waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData|null); /** DraftMessage ctwaContext */ ctwaContext?: (waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData|null); /** DraftMessage timestamp */ timestamp?: (number|Long|null); } /** Represents a DraftMessage. */ class DraftMessage implements IDraftMessage { /** * Constructs a new DraftMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ChatRowOpaqueData.IDraftMessage); /** DraftMessage text. */ public text?: (string|null); /** DraftMessage omittedUrl. */ public omittedUrl?: (string|null); /** DraftMessage ctwaContextLinkData. */ public ctwaContextLinkData?: (waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData|null); /** DraftMessage ctwaContext. */ public ctwaContext?: (waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData|null); /** DraftMessage timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new DraftMessage instance using the specified properties. * @param [properties] Properties to set * @returns DraftMessage instance */ public static create(properties?: waproto.ChatRowOpaqueData.IDraftMessage): waproto.ChatRowOpaqueData.DraftMessage; /** * Encodes the specified DraftMessage message. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.verify|verify} messages. * @param message DraftMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ChatRowOpaqueData.IDraftMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DraftMessage message, length delimited. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.verify|verify} messages. * @param message DraftMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ChatRowOpaqueData.IDraftMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DraftMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DraftMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChatRowOpaqueData.DraftMessage; /** * Decodes a DraftMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DraftMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChatRowOpaqueData.DraftMessage; /** * Verifies a DraftMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DraftMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DraftMessage */ public static fromObject(object: { [k: string]: any }): waproto.ChatRowOpaqueData.DraftMessage; /** * Creates a plain object from a DraftMessage message. Also converts values to other types if specified. * @param message DraftMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChatRowOpaqueData.DraftMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DraftMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DraftMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DraftMessage { /** Properties of a CtwaContextData. */ interface ICtwaContextData { /** CtwaContextData conversionSource */ conversionSource?: (string|null); /** CtwaContextData conversionData */ conversionData?: (Uint8Array|null); /** CtwaContextData sourceUrl */ sourceUrl?: (string|null); /** CtwaContextData sourceId */ sourceId?: (string|null); /** CtwaContextData sourceType */ sourceType?: (string|null); /** CtwaContextData title */ title?: (string|null); /** CtwaContextData description */ description?: (string|null); /** CtwaContextData thumbnail */ thumbnail?: (string|null); /** CtwaContextData thumbnailUrl */ thumbnailUrl?: (string|null); /** CtwaContextData mediaType */ mediaType?: (waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData.ContextInfoExternalAdReplyInfoMediaType|null); /** CtwaContextData mediaUrl */ mediaUrl?: (string|null); /** CtwaContextData isSuspiciousLink */ isSuspiciousLink?: (boolean|null); } /** Represents a CtwaContextData. */ class CtwaContextData implements ICtwaContextData { /** * Constructs a new CtwaContextData. * @param [properties] Properties to set */ constructor(properties?: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData); /** CtwaContextData conversionSource. */ public conversionSource?: (string|null); /** CtwaContextData conversionData. */ public conversionData?: (Uint8Array|null); /** CtwaContextData sourceUrl. */ public sourceUrl?: (string|null); /** CtwaContextData sourceId. */ public sourceId?: (string|null); /** CtwaContextData sourceType. */ public sourceType?: (string|null); /** CtwaContextData title. */ public title?: (string|null); /** CtwaContextData description. */ public description?: (string|null); /** CtwaContextData thumbnail. */ public thumbnail?: (string|null); /** CtwaContextData thumbnailUrl. */ public thumbnailUrl?: (string|null); /** CtwaContextData mediaType. */ public mediaType?: (waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData.ContextInfoExternalAdReplyInfoMediaType|null); /** CtwaContextData mediaUrl. */ public mediaUrl?: (string|null); /** CtwaContextData isSuspiciousLink. */ public isSuspiciousLink?: (boolean|null); /** * Creates a new CtwaContextData instance using the specified properties. * @param [properties] Properties to set * @returns CtwaContextData instance */ public static create(properties?: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData; /** * Encodes the specified CtwaContextData message. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData.verify|verify} messages. * @param message CtwaContextData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CtwaContextData message, length delimited. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData.verify|verify} messages. * @param message CtwaContextData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CtwaContextData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CtwaContextData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData; /** * Decodes a CtwaContextData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CtwaContextData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData; /** * Verifies a CtwaContextData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CtwaContextData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CtwaContextData */ public static fromObject(object: { [k: string]: any }): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData; /** * Creates a plain object from a CtwaContextData message. Also converts values to other types if specified. * @param message CtwaContextData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChatRowOpaqueData.DraftMessage.CtwaContextData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CtwaContextData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CtwaContextData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CtwaContextData { /** ContextInfoExternalAdReplyInfoMediaType enum. */ enum ContextInfoExternalAdReplyInfoMediaType { NONE = 0, IMAGE = 1, VIDEO = 2 } } /** Properties of a CtwaContextLinkData. */ interface ICtwaContextLinkData { /** CtwaContextLinkData context */ context?: (string|null); /** CtwaContextLinkData sourceUrl */ sourceUrl?: (string|null); /** CtwaContextLinkData icebreaker */ icebreaker?: (string|null); /** CtwaContextLinkData phone */ phone?: (string|null); } /** Represents a CtwaContextLinkData. */ class CtwaContextLinkData implements ICtwaContextLinkData { /** * Constructs a new CtwaContextLinkData. * @param [properties] Properties to set */ constructor(properties?: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData); /** CtwaContextLinkData context. */ public context?: (string|null); /** CtwaContextLinkData sourceUrl. */ public sourceUrl?: (string|null); /** CtwaContextLinkData icebreaker. */ public icebreaker?: (string|null); /** CtwaContextLinkData phone. */ public phone?: (string|null); /** * Creates a new CtwaContextLinkData instance using the specified properties. * @param [properties] Properties to set * @returns CtwaContextLinkData instance */ public static create(properties?: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData; /** * Encodes the specified CtwaContextLinkData message. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData.verify|verify} messages. * @param message CtwaContextLinkData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CtwaContextLinkData message, length delimited. Does not implicitly {@link waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData.verify|verify} messages. * @param message CtwaContextLinkData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ChatRowOpaqueData.DraftMessage.ICtwaContextLinkData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CtwaContextLinkData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CtwaContextLinkData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData; /** * Decodes a CtwaContextLinkData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CtwaContextLinkData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData; /** * Verifies a CtwaContextLinkData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CtwaContextLinkData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CtwaContextLinkData */ public static fromObject(object: { [k: string]: any }): waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData; /** * Creates a plain object from a CtwaContextLinkData message. Also converts values to other types if specified. * @param message CtwaContextLinkData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChatRowOpaqueData.DraftMessage.CtwaContextLinkData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CtwaContextLinkData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CtwaContextLinkData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a ChunkTableSchemaProto. */ interface IChunkTableSchemaProto { /** ChunkTableSchemaProto plaintextHash */ plaintextHash?: (string|null); /** ChunkTableSchemaProto blobData */ blobData?: (Uint8Array|null); /** ChunkTableSchemaProto mimetype */ mimetype?: (string|null); /** ChunkTableSchemaProto hashedPlaintextHash */ hashedPlaintextHash?: (string|null); /** ChunkTableSchemaProto chunkId */ chunkId?: (number|null); } /** Represents a ChunkTableSchemaProto. */ class ChunkTableSchemaProto implements IChunkTableSchemaProto { /** * Constructs a new ChunkTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IChunkTableSchemaProto); /** ChunkTableSchemaProto plaintextHash. */ public plaintextHash?: (string|null); /** ChunkTableSchemaProto blobData. */ public blobData?: (Uint8Array|null); /** ChunkTableSchemaProto mimetype. */ public mimetype?: (string|null); /** ChunkTableSchemaProto hashedPlaintextHash. */ public hashedPlaintextHash?: (string|null); /** ChunkTableSchemaProto chunkId. */ public chunkId?: (number|null); /** * Creates a new ChunkTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ChunkTableSchemaProto instance */ public static create(properties?: waproto.IChunkTableSchemaProto): waproto.ChunkTableSchemaProto; /** * Encodes the specified ChunkTableSchemaProto message. Does not implicitly {@link waproto.ChunkTableSchemaProto.verify|verify} messages. * @param message ChunkTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IChunkTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChunkTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ChunkTableSchemaProto.verify|verify} messages. * @param message ChunkTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IChunkTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChunkTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChunkTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ChunkTableSchemaProto; /** * Decodes a ChunkTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChunkTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ChunkTableSchemaProto; /** * Verifies a ChunkTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChunkTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChunkTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ChunkTableSchemaProto; /** * Creates a plain object from a ChunkTableSchemaProto message. Also converts values to other types if specified. * @param message ChunkTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ChunkTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChunkTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChunkTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Citation. */ interface ICitation { /** Citation title */ title?: (string|null); /** Citation subtitle */ subtitle?: (string|null); /** Citation cmsId */ cmsId?: (string|null); /** Citation imageUrl */ imageUrl?: (string|null); } /** Represents a Citation. */ class Citation implements ICitation { /** * Constructs a new Citation. * @param [properties] Properties to set */ constructor(properties?: waproto.ICitation); /** Citation title. */ public title?: (string|null); /** Citation subtitle. */ public subtitle?: (string|null); /** Citation cmsId. */ public cmsId?: (string|null); /** Citation imageUrl. */ public imageUrl?: (string|null); /** * Creates a new Citation instance using the specified properties. * @param [properties] Properties to set * @returns Citation instance */ public static create(properties?: waproto.ICitation): waproto.Citation; /** * Encodes the specified Citation message. Does not implicitly {@link waproto.Citation.verify|verify} messages. * @param message Citation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICitation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Citation message, length delimited. Does not implicitly {@link waproto.Citation.verify|verify} messages. * @param message Citation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICitation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Citation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Citation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Citation; /** * Decodes a Citation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Citation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Citation; /** * Verifies a Citation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Citation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Citation */ public static fromObject(object: { [k: string]: any }): waproto.Citation; /** * Creates a plain object from a Citation message. Also converts values to other types if specified. * @param message Citation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Citation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Citation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Citation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientPairingProps. */ interface IClientPairingProps { /** ClientPairingProps isChatDbLidMigrated */ isChatDbLidMigrated?: (boolean|null); /** ClientPairingProps isSyncdPureLidSession */ isSyncdPureLidSession?: (boolean|null); /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */ isSyncdSnapshotRecoveryEnabled?: (boolean|null); /** ClientPairingProps isHsThumbnailSyncEnabled */ isHsThumbnailSyncEnabled?: (boolean|null); /** ClientPairingProps subscriptionSyncPayload */ subscriptionSyncPayload?: (Uint8Array|null); /** ClientPairingProps isBotJidDbMigrated */ isBotJidDbMigrated?: (boolean|null); } /** Represents a ClientPairingProps. */ class ClientPairingProps implements IClientPairingProps { /** * Constructs a new ClientPairingProps. * @param [properties] Properties to set */ constructor(properties?: waproto.IClientPairingProps); /** ClientPairingProps isChatDbLidMigrated. */ public isChatDbLidMigrated?: (boolean|null); /** ClientPairingProps isSyncdPureLidSession. */ public isSyncdPureLidSession?: (boolean|null); /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */ public isSyncdSnapshotRecoveryEnabled?: (boolean|null); /** ClientPairingProps isHsThumbnailSyncEnabled. */ public isHsThumbnailSyncEnabled?: (boolean|null); /** ClientPairingProps subscriptionSyncPayload. */ public subscriptionSyncPayload?: (Uint8Array|null); /** ClientPairingProps isBotJidDbMigrated. */ public isBotJidDbMigrated?: (boolean|null); /** * Creates a new ClientPairingProps instance using the specified properties. * @param [properties] Properties to set * @returns ClientPairingProps instance */ public static create(properties?: waproto.IClientPairingProps): waproto.ClientPairingProps; /** * Encodes the specified ClientPairingProps message. Does not implicitly {@link waproto.ClientPairingProps.verify|verify} messages. * @param message ClientPairingProps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientPairingProps message, length delimited. Does not implicitly {@link waproto.ClientPairingProps.verify|verify} messages. * @param message ClientPairingProps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientPairingProps message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientPairingProps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPairingProps; /** * Decodes a ClientPairingProps message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientPairingProps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPairingProps; /** * Verifies a ClientPairingProps message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientPairingProps message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientPairingProps */ public static fromObject(object: { [k: string]: any }): waproto.ClientPairingProps; /** * Creates a plain object from a ClientPairingProps message. Also converts values to other types if specified. * @param message ClientPairingProps * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPairingProps, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientPairingProps to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientPairingProps * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientPayload. */ interface IClientPayload { /** ClientPayload username */ username?: (number|Long|null); /** ClientPayload passive */ passive?: (boolean|null); /** ClientPayload userAgent */ userAgent?: (waproto.ClientPayload.IUserAgent|null); /** ClientPayload webInfo */ webInfo?: (waproto.ClientPayload.IWebInfo|null); /** ClientPayload pushName */ pushName?: (string|null); /** ClientPayload sessionId */ sessionId?: (number|null); /** ClientPayload shortConnect */ shortConnect?: (boolean|null); /** ClientPayload connectType */ connectType?: (waproto.ClientPayload.ConnectType|null); /** ClientPayload connectReason */ connectReason?: (waproto.ClientPayload.ConnectReason|null); /** ClientPayload shards */ shards?: (number[]|null); /** ClientPayload dnsSource */ dnsSource?: (waproto.ClientPayload.IDNSSource|null); /** ClientPayload connectAttemptCount */ connectAttemptCount?: (number|null); /** ClientPayload device */ device?: (number|null); /** ClientPayload devicePairingData */ devicePairingData?: (waproto.ClientPayload.IDevicePairingRegistrationData|null); /** ClientPayload product */ product?: (waproto.ClientPayload.Product|null); /** ClientPayload fbCat */ fbCat?: (Uint8Array|null); /** ClientPayload fbUserAgent */ fbUserAgent?: (Uint8Array|null); /** ClientPayload oc */ oc?: (boolean|null); /** ClientPayload lc */ lc?: (number|null); /** ClientPayload iosAppExtension */ iosAppExtension?: (waproto.ClientPayload.IOSAppExtension|null); /** ClientPayload fbAppId */ fbAppId?: (number|Long|null); /** ClientPayload fbDeviceId */ fbDeviceId?: (Uint8Array|null); /** ClientPayload pull */ pull?: (boolean|null); /** ClientPayload paddingBytes */ paddingBytes?: (Uint8Array|null); /** ClientPayload yearClass */ yearClass?: (number|null); /** ClientPayload memClass */ memClass?: (number|null); /** ClientPayload interopData */ interopData?: (waproto.ClientPayload.IInteropData|null); /** ClientPayload trafficAnonymization */ trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null); /** ClientPayload lidDbMigrated */ lidDbMigrated?: (boolean|null); /** ClientPayload accountType */ accountType?: (waproto.ClientPayload.AccountType|null); /** ClientPayload connectionSequenceInfo */ connectionSequenceInfo?: (number|null); /** ClientPayload paaLink */ paaLink?: (boolean|null); /** ClientPayload preacksCount */ preacksCount?: (number|null); /** ClientPayload processingQueueSize */ processingQueueSize?: (number|null); /** ClientPayload pairedPeripherals */ pairedPeripherals?: (string[]|null); /** ClientPayload testIsolationId */ testIsolationId?: (Uint8Array|null); /** ClientPayload messageSts */ messageSts?: (number|Long|null); } /** Represents a ClientPayload. */ class ClientPayload implements IClientPayload { /** * Constructs a new ClientPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.IClientPayload); /** ClientPayload username. */ public username?: (number|Long|null); /** ClientPayload passive. */ public passive?: (boolean|null); /** ClientPayload userAgent. */ public userAgent?: (waproto.ClientPayload.IUserAgent|null); /** ClientPayload webInfo. */ public webInfo?: (waproto.ClientPayload.IWebInfo|null); /** ClientPayload pushName. */ public pushName?: (string|null); /** ClientPayload sessionId. */ public sessionId?: (number|null); /** ClientPayload shortConnect. */ public shortConnect?: (boolean|null); /** ClientPayload connectType. */ public connectType?: (waproto.ClientPayload.ConnectType|null); /** ClientPayload connectReason. */ public connectReason?: (waproto.ClientPayload.ConnectReason|null); /** ClientPayload shards. */ public shards: number[]; /** ClientPayload dnsSource. */ public dnsSource?: (waproto.ClientPayload.IDNSSource|null); /** ClientPayload connectAttemptCount. */ public connectAttemptCount?: (number|null); /** ClientPayload device. */ public device?: (number|null); /** ClientPayload devicePairingData. */ public devicePairingData?: (waproto.ClientPayload.IDevicePairingRegistrationData|null); /** ClientPayload product. */ public product?: (waproto.ClientPayload.Product|null); /** ClientPayload fbCat. */ public fbCat?: (Uint8Array|null); /** ClientPayload fbUserAgent. */ public fbUserAgent?: (Uint8Array|null); /** ClientPayload oc. */ public oc?: (boolean|null); /** ClientPayload lc. */ public lc?: (number|null); /** ClientPayload iosAppExtension. */ public iosAppExtension?: (waproto.ClientPayload.IOSAppExtension|null); /** ClientPayload fbAppId. */ public fbAppId?: (number|Long|null); /** ClientPayload fbDeviceId. */ public fbDeviceId?: (Uint8Array|null); /** ClientPayload pull. */ public pull?: (boolean|null); /** ClientPayload paddingBytes. */ public paddingBytes?: (Uint8Array|null); /** ClientPayload yearClass. */ public yearClass?: (number|null); /** ClientPayload memClass. */ public memClass?: (number|null); /** ClientPayload interopData. */ public interopData?: (waproto.ClientPayload.IInteropData|null); /** ClientPayload trafficAnonymization. */ public trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null); /** ClientPayload lidDbMigrated. */ public lidDbMigrated?: (boolean|null); /** ClientPayload accountType. */ public accountType?: (waproto.ClientPayload.AccountType|null); /** ClientPayload connectionSequenceInfo. */ public connectionSequenceInfo?: (number|null); /** ClientPayload paaLink. */ public paaLink?: (boolean|null); /** ClientPayload preacksCount. */ public preacksCount?: (number|null); /** ClientPayload processingQueueSize. */ public processingQueueSize?: (number|null); /** ClientPayload pairedPeripherals. */ public pairedPeripherals: string[]; /** ClientPayload testIsolationId. */ public testIsolationId?: (Uint8Array|null); /** ClientPayload messageSts. */ public messageSts?: (number|Long|null); /** * Creates a new ClientPayload instance using the specified properties. * @param [properties] Properties to set * @returns ClientPayload instance */ public static create(properties?: waproto.IClientPayload): waproto.ClientPayload; /** * Encodes the specified ClientPayload message. Does not implicitly {@link waproto.ClientPayload.verify|verify} messages. * @param message ClientPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientPayload message, length delimited. Does not implicitly {@link waproto.ClientPayload.verify|verify} messages. * @param message ClientPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload; /** * Decodes a ClientPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload; /** * Verifies a ClientPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientPayload */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload; /** * Creates a plain object from a ClientPayload message. Also converts values to other types if specified. * @param message ClientPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ClientPayload { /** TrafficAnonymization enum. */ enum TrafficAnonymization { OFF = 0, STANDARD = 1 } /** AccountType enum. */ enum AccountType { DEFAULT = 0, GUEST = 1 } /** Product enum. */ enum Product { WHATSAPP = 0, MESSENGER = 1, INTEROP = 2, INTEROP_MSGR = 3, WHATSAPP_LID = 4 } /** ConnectType enum. */ enum ConnectType { CELLULAR_UNKNOWN = 0, WIFI_UNKNOWN = 1, CELLULAR_EDGE = 100, CELLULAR_IDEN = 101, CELLULAR_UMTS = 102, CELLULAR_EVDO = 103, CELLULAR_GPRS = 104, CELLULAR_HSDPA = 105, CELLULAR_HSUPA = 106, CELLULAR_HSPA = 107, CELLULAR_CDMA = 108, CELLULAR_1XRTT = 109, CELLULAR_EHRPD = 110, CELLULAR_LTE = 111, CELLULAR_HSPAP = 112 } /** ConnectReason enum. */ enum ConnectReason { PUSH = 0, USER_ACTIVATED = 1, SCHEDULED = 2, ERROR_RECONNECT = 3, NETWORK_SWITCH = 4, PING_RECONNECT = 5, UNKNOWN = 6 } /** IOSAppExtension enum. */ enum IOSAppExtension { SHARE_EXTENSION = 0, SERVICE_EXTENSION = 1, INTENTS_EXTENSION = 2 } /** Properties of an InteropData. */ interface IInteropData { /** InteropData accountId */ accountId?: (number|Long|null); /** InteropData token */ token?: (Uint8Array|null); /** InteropData enableReadReceipts */ enableReadReceipts?: (boolean|null); } /** Represents an InteropData. */ class InteropData implements IInteropData { /** * Constructs a new InteropData. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.IInteropData); /** InteropData accountId. */ public accountId?: (number|Long|null); /** InteropData token. */ public token?: (Uint8Array|null); /** InteropData enableReadReceipts. */ public enableReadReceipts?: (boolean|null); /** * Creates a new InteropData instance using the specified properties. * @param [properties] Properties to set * @returns InteropData instance */ public static create(properties?: waproto.ClientPayload.IInteropData): waproto.ClientPayload.InteropData; /** * Encodes the specified InteropData message. Does not implicitly {@link waproto.ClientPayload.InteropData.verify|verify} messages. * @param message InteropData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.IInteropData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteropData message, length delimited. Does not implicitly {@link waproto.ClientPayload.InteropData.verify|verify} messages. * @param message InteropData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.IInteropData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteropData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteropData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.InteropData; /** * Decodes an InteropData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteropData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.InteropData; /** * Verifies an InteropData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteropData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteropData */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.InteropData; /** * Creates a plain object from an InteropData message. Also converts values to other types if specified. * @param message InteropData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.InteropData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteropData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteropData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DevicePairingRegistrationData. */ interface IDevicePairingRegistrationData { /** DevicePairingRegistrationData eRegid */ eRegid?: (Uint8Array|null); /** DevicePairingRegistrationData eKeytype */ eKeytype?: (Uint8Array|null); /** DevicePairingRegistrationData eIdent */ eIdent?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeyId */ eSkeyId?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeyVal */ eSkeyVal?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeySig */ eSkeySig?: (Uint8Array|null); /** DevicePairingRegistrationData buildHash */ buildHash?: (Uint8Array|null); /** DevicePairingRegistrationData deviceProps */ deviceProps?: (Uint8Array|null); } /** Represents a DevicePairingRegistrationData. */ class DevicePairingRegistrationData implements IDevicePairingRegistrationData { /** * Constructs a new DevicePairingRegistrationData. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.IDevicePairingRegistrationData); /** DevicePairingRegistrationData eRegid. */ public eRegid?: (Uint8Array|null); /** DevicePairingRegistrationData eKeytype. */ public eKeytype?: (Uint8Array|null); /** DevicePairingRegistrationData eIdent. */ public eIdent?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeyId. */ public eSkeyId?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeyVal. */ public eSkeyVal?: (Uint8Array|null); /** DevicePairingRegistrationData eSkeySig. */ public eSkeySig?: (Uint8Array|null); /** DevicePairingRegistrationData buildHash. */ public buildHash?: (Uint8Array|null); /** DevicePairingRegistrationData deviceProps. */ public deviceProps?: (Uint8Array|null); /** * Creates a new DevicePairingRegistrationData instance using the specified properties. * @param [properties] Properties to set * @returns DevicePairingRegistrationData instance */ public static create(properties?: waproto.ClientPayload.IDevicePairingRegistrationData): waproto.ClientPayload.DevicePairingRegistrationData; /** * Encodes the specified DevicePairingRegistrationData message. Does not implicitly {@link waproto.ClientPayload.DevicePairingRegistrationData.verify|verify} messages. * @param message DevicePairingRegistrationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DevicePairingRegistrationData message, length delimited. Does not implicitly {@link waproto.ClientPayload.DevicePairingRegistrationData.verify|verify} messages. * @param message DevicePairingRegistrationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DevicePairingRegistrationData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DevicePairingRegistrationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.DevicePairingRegistrationData; /** * Decodes a DevicePairingRegistrationData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DevicePairingRegistrationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.DevicePairingRegistrationData; /** * Verifies a DevicePairingRegistrationData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DevicePairingRegistrationData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DevicePairingRegistrationData */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.DevicePairingRegistrationData; /** * Creates a plain object from a DevicePairingRegistrationData message. Also converts values to other types if specified. * @param message DevicePairingRegistrationData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.DevicePairingRegistrationData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DevicePairingRegistrationData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DevicePairingRegistrationData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DNSSource. */ interface IDNSSource { /** DNSSource dnsMethod */ dnsMethod?: (waproto.ClientPayload.DNSSource.DNSResolutionMethod|null); /** DNSSource appCached */ appCached?: (boolean|null); } /** Represents a DNSSource. */ class DNSSource implements IDNSSource { /** * Constructs a new DNSSource. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.IDNSSource); /** DNSSource dnsMethod. */ public dnsMethod?: (waproto.ClientPayload.DNSSource.DNSResolutionMethod|null); /** DNSSource appCached. */ public appCached?: (boolean|null); /** * Creates a new DNSSource instance using the specified properties. * @param [properties] Properties to set * @returns DNSSource instance */ public static create(properties?: waproto.ClientPayload.IDNSSource): waproto.ClientPayload.DNSSource; /** * Encodes the specified DNSSource message. Does not implicitly {@link waproto.ClientPayload.DNSSource.verify|verify} messages. * @param message DNSSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DNSSource message, length delimited. Does not implicitly {@link waproto.ClientPayload.DNSSource.verify|verify} messages. * @param message DNSSource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DNSSource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DNSSource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.DNSSource; /** * Decodes a DNSSource message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DNSSource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.DNSSource; /** * Verifies a DNSSource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DNSSource message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DNSSource */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.DNSSource; /** * Creates a plain object from a DNSSource message. Also converts values to other types if specified. * @param message DNSSource * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.DNSSource, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DNSSource to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DNSSource * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DNSSource { /** DNSResolutionMethod enum. */ enum DNSResolutionMethod { SYSTEM = 0, GOOGLE = 1, HARDCODED = 2, OVERRIDE = 3, FALLBACK = 4, MNS = 5, MNS_SECONDARY = 6, SOCKS_PROXY = 7 } } /** Properties of a WebInfo. */ interface IWebInfo { /** WebInfo refToken */ refToken?: (string|null); /** WebInfo version */ version?: (string|null); /** WebInfo webdPayload */ webdPayload?: (waproto.ClientPayload.WebInfo.IWebdPayload|null); /** WebInfo webSubPlatform */ webSubPlatform?: (waproto.ClientPayload.WebInfo.WebSubPlatform|null); /** WebInfo browser */ browser?: (string|null); /** WebInfo browserVersion */ browserVersion?: (string|null); } /** Represents a WebInfo. */ class WebInfo implements IWebInfo { /** * Constructs a new WebInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.IWebInfo); /** WebInfo refToken. */ public refToken?: (string|null); /** WebInfo version. */ public version?: (string|null); /** WebInfo webdPayload. */ public webdPayload?: (waproto.ClientPayload.WebInfo.IWebdPayload|null); /** WebInfo webSubPlatform. */ public webSubPlatform?: (waproto.ClientPayload.WebInfo.WebSubPlatform|null); /** WebInfo browser. */ public browser?: (string|null); /** WebInfo browserVersion. */ public browserVersion?: (string|null); /** * Creates a new WebInfo instance using the specified properties. * @param [properties] Properties to set * @returns WebInfo instance */ public static create(properties?: waproto.ClientPayload.IWebInfo): waproto.ClientPayload.WebInfo; /** * Encodes the specified WebInfo message. Does not implicitly {@link waproto.ClientPayload.WebInfo.verify|verify} messages. * @param message WebInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebInfo message, length delimited. Does not implicitly {@link waproto.ClientPayload.WebInfo.verify|verify} messages. * @param message WebInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.WebInfo; /** * Decodes a WebInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.WebInfo; /** * Verifies a WebInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebInfo */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.WebInfo; /** * Creates a plain object from a WebInfo message. Also converts values to other types if specified. * @param message WebInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.WebInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WebInfo { /** WebSubPlatform enum. */ enum WebSubPlatform { WEB_BROWSER = 0, APP_STORE = 1, WIN_STORE = 2, DARWIN = 3, WIN32 = 4, WIN_HYBRID = 5 } /** Properties of a WebdPayload. */ interface IWebdPayload { /** WebdPayload usesParticipantInKey */ usesParticipantInKey?: (boolean|null); /** WebdPayload supportsStarredMessages */ supportsStarredMessages?: (boolean|null); /** WebdPayload supportsDocumentMessages */ supportsDocumentMessages?: (boolean|null); /** WebdPayload supportsUrlMessages */ supportsUrlMessages?: (boolean|null); /** WebdPayload supportsMediaRetry */ supportsMediaRetry?: (boolean|null); /** WebdPayload supportsE2EImage */ supportsE2EImage?: (boolean|null); /** WebdPayload supportsE2EVideo */ supportsE2EVideo?: (boolean|null); /** WebdPayload supportsE2EAudio */ supportsE2EAudio?: (boolean|null); /** WebdPayload supportsE2EDocument */ supportsE2EDocument?: (boolean|null); /** WebdPayload documentTypes */ documentTypes?: (string|null); /** WebdPayload features */ features?: (Uint8Array|null); } /** Represents a WebdPayload. */ class WebdPayload implements IWebdPayload { /** * Constructs a new WebdPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.WebInfo.IWebdPayload); /** WebdPayload usesParticipantInKey. */ public usesParticipantInKey?: (boolean|null); /** WebdPayload supportsStarredMessages. */ public supportsStarredMessages?: (boolean|null); /** WebdPayload supportsDocumentMessages. */ public supportsDocumentMessages?: (boolean|null); /** WebdPayload supportsUrlMessages. */ public supportsUrlMessages?: (boolean|null); /** WebdPayload supportsMediaRetry. */ public supportsMediaRetry?: (boolean|null); /** WebdPayload supportsE2EImage. */ public supportsE2EImage?: (boolean|null); /** WebdPayload supportsE2EVideo. */ public supportsE2EVideo?: (boolean|null); /** WebdPayload supportsE2EAudio. */ public supportsE2EAudio?: (boolean|null); /** WebdPayload supportsE2EDocument. */ public supportsE2EDocument?: (boolean|null); /** WebdPayload documentTypes. */ public documentTypes?: (string|null); /** WebdPayload features. */ public features?: (Uint8Array|null); /** * Creates a new WebdPayload instance using the specified properties. * @param [properties] Properties to set * @returns WebdPayload instance */ public static create(properties?: waproto.ClientPayload.WebInfo.IWebdPayload): waproto.ClientPayload.WebInfo.WebdPayload; /** * Encodes the specified WebdPayload message. Does not implicitly {@link waproto.ClientPayload.WebInfo.WebdPayload.verify|verify} messages. * @param message WebdPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.WebInfo.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebdPayload message, length delimited. Does not implicitly {@link waproto.ClientPayload.WebInfo.WebdPayload.verify|verify} messages. * @param message WebdPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.WebInfo.IWebdPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebdPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebdPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.WebInfo.WebdPayload; /** * Decodes a WebdPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebdPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.WebInfo.WebdPayload; /** * Verifies a WebdPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebdPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebdPayload */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.WebInfo.WebdPayload; /** * Creates a plain object from a WebdPayload message. Also converts values to other types if specified. * @param message WebdPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.WebInfo.WebdPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebdPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebdPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a UserAgent. */ interface IUserAgent { /** UserAgent platform */ platform?: (waproto.ClientPayload.UserAgent.Platform|null); /** UserAgent appVersion */ appVersion?: (waproto.ClientPayload.UserAgent.IAppVersion|null); /** UserAgent mcc */ mcc?: (string|null); /** UserAgent mnc */ mnc?: (string|null); /** UserAgent osVersion */ osVersion?: (string|null); /** UserAgent manufacturer */ manufacturer?: (string|null); /** UserAgent device */ device?: (string|null); /** UserAgent osBuildNumber */ osBuildNumber?: (string|null); /** UserAgent phoneId */ phoneId?: (string|null); /** UserAgent releaseChannel */ releaseChannel?: (waproto.ClientPayload.UserAgent.ReleaseChannel|null); /** UserAgent localeLanguageIso6391 */ localeLanguageIso6391?: (string|null); /** UserAgent localeCountryIso31661Alpha2 */ localeCountryIso31661Alpha2?: (string|null); /** UserAgent deviceBoard */ deviceBoard?: (string|null); /** UserAgent deviceExpId */ deviceExpId?: (string|null); /** UserAgent deviceType */ deviceType?: (waproto.ClientPayload.UserAgent.DeviceType|null); /** UserAgent deviceModelType */ deviceModelType?: (string|null); /** UserAgent distributionChannel */ distributionChannel?: (waproto.ClientPayload.UserAgent.DistributionChannel|null); } /** Represents a UserAgent. */ class UserAgent implements IUserAgent { /** * Constructs a new UserAgent. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.IUserAgent); /** UserAgent platform. */ public platform?: (waproto.ClientPayload.UserAgent.Platform|null); /** UserAgent appVersion. */ public appVersion?: (waproto.ClientPayload.UserAgent.IAppVersion|null); /** UserAgent mcc. */ public mcc?: (string|null); /** UserAgent mnc. */ public mnc?: (string|null); /** UserAgent osVersion. */ public osVersion?: (string|null); /** UserAgent manufacturer. */ public manufacturer?: (string|null); /** UserAgent device. */ public device?: (string|null); /** UserAgent osBuildNumber. */ public osBuildNumber?: (string|null); /** UserAgent phoneId. */ public phoneId?: (string|null); /** UserAgent releaseChannel. */ public releaseChannel?: (waproto.ClientPayload.UserAgent.ReleaseChannel|null); /** UserAgent localeLanguageIso6391. */ public localeLanguageIso6391?: (string|null); /** UserAgent localeCountryIso31661Alpha2. */ public localeCountryIso31661Alpha2?: (string|null); /** UserAgent deviceBoard. */ public deviceBoard?: (string|null); /** UserAgent deviceExpId. */ public deviceExpId?: (string|null); /** UserAgent deviceType. */ public deviceType?: (waproto.ClientPayload.UserAgent.DeviceType|null); /** UserAgent deviceModelType. */ public deviceModelType?: (string|null); /** UserAgent distributionChannel. */ public distributionChannel?: (waproto.ClientPayload.UserAgent.DistributionChannel|null); /** * Creates a new UserAgent instance using the specified properties. * @param [properties] Properties to set * @returns UserAgent instance */ public static create(properties?: waproto.ClientPayload.IUserAgent): waproto.ClientPayload.UserAgent; /** * Encodes the specified UserAgent message. Does not implicitly {@link waproto.ClientPayload.UserAgent.verify|verify} messages. * @param message UserAgent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserAgent message, length delimited. Does not implicitly {@link waproto.ClientPayload.UserAgent.verify|verify} messages. * @param message UserAgent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserAgent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserAgent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.UserAgent; /** * Decodes a UserAgent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserAgent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.UserAgent; /** * Verifies a UserAgent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserAgent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserAgent */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.UserAgent; /** * Creates a plain object from a UserAgent message. Also converts values to other types if specified. * @param message UserAgent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.UserAgent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserAgent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UserAgent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UserAgent { /** DeviceType enum. */ enum DeviceType { PHONE = 0, TABLET = 1, DESKTOP = 2, WEARABLE = 3, VR = 4 } /** DistributionChannel enum. */ enum DistributionChannel { APPSTORE = 0, WEBSITE = 1, TESTFLIGHT = 2, INTERNAL = 3 } /** ReleaseChannel enum. */ enum ReleaseChannel { RELEASE = 0, BETA = 1, ALPHA = 2, DEBUG = 3 } /** Platform enum. */ enum Platform { ANDROID = 0, IOS = 1, WINDOWS_PHONE = 2, BLACKBERRY = 3, BLACKBERRYX = 4, S40 = 5, S60 = 6, PYTHON_CLIENT = 7, TIZEN = 8, ENTERPRISE = 9, SMB_ANDROID = 10, KAIOS = 11, SMB_IOS = 12, WINDOWS = 13, WEB = 14, PORTAL = 15, GREEN_ANDROID = 16, GREEN_IPHONE = 17, BLUE_ANDROID = 18, BLUE_IPHONE = 19, FBLITE_ANDROID = 20, MLITE_ANDROID = 21, IGLITE_ANDROID = 22, PAGE = 23, MACOS = 24, OCULUS_MSG = 25, OCULUS_CALL = 26, MILAN = 27, CAPI = 28, WEAROS = 29, ARDEVICE = 30, VRDEVICE = 31, BLUE_WEB = 32, IPAD = 33, TEST = 34, SMART_GLASSES = 35, BLUE_VR = 36, AR_WRIST = 37, WAIL = 38, WORK_ANDROID = 39, WORK_IOS = 40 } /** Properties of an AppVersion. */ interface IAppVersion { /** AppVersion primary */ primary?: (number|null); /** AppVersion secondary */ secondary?: (number|null); /** AppVersion tertiary */ tertiary?: (number|null); /** AppVersion quaternary */ quaternary?: (number|null); /** AppVersion quinary */ quinary?: (number|null); } /** Represents an AppVersion. */ class AppVersion implements IAppVersion { /** * Constructs a new AppVersion. * @param [properties] Properties to set */ constructor(properties?: waproto.ClientPayload.UserAgent.IAppVersion); /** AppVersion primary. */ public primary?: (number|null); /** AppVersion secondary. */ public secondary?: (number|null); /** AppVersion tertiary. */ public tertiary?: (number|null); /** AppVersion quaternary. */ public quaternary?: (number|null); /** AppVersion quinary. */ public quinary?: (number|null); /** * Creates a new AppVersion instance using the specified properties. * @param [properties] Properties to set * @returns AppVersion instance */ public static create(properties?: waproto.ClientPayload.UserAgent.IAppVersion): waproto.ClientPayload.UserAgent.AppVersion; /** * Encodes the specified AppVersion message. Does not implicitly {@link waproto.ClientPayload.UserAgent.AppVersion.verify|verify} messages. * @param message AppVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppVersion message, length delimited. Does not implicitly {@link waproto.ClientPayload.UserAgent.AppVersion.verify|verify} messages. * @param message AppVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppVersion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ClientPayload.UserAgent.AppVersion; /** * Decodes an AppVersion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ClientPayload.UserAgent.AppVersion; /** * Verifies an AppVersion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppVersion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppVersion */ public static fromObject(object: { [k: string]: any }): waproto.ClientPayload.UserAgent.AppVersion; /** * Creates a plain object from an AppVersion message. Also converts values to other types if specified. * @param message AppVersion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ClientPayload.UserAgent.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppVersion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppVersion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a CoexStateSync. */ interface ICoexStateSync { /** CoexStateSync collectionMutations */ collectionMutations?: (waproto.CoexStateSync.ICollectionMutations[]|null); } /** Represents a CoexStateSync. */ class CoexStateSync implements ICoexStateSync { /** * Constructs a new CoexStateSync. * @param [properties] Properties to set */ constructor(properties?: waproto.ICoexStateSync); /** CoexStateSync collectionMutations. */ public collectionMutations: waproto.CoexStateSync.ICollectionMutations[]; /** * Creates a new CoexStateSync instance using the specified properties. * @param [properties] Properties to set * @returns CoexStateSync instance */ public static create(properties?: waproto.ICoexStateSync): waproto.CoexStateSync; /** * Encodes the specified CoexStateSync message. Does not implicitly {@link waproto.CoexStateSync.verify|verify} messages. * @param message CoexStateSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICoexStateSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CoexStateSync message, length delimited. Does not implicitly {@link waproto.CoexStateSync.verify|verify} messages. * @param message CoexStateSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICoexStateSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CoexStateSync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CoexStateSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CoexStateSync; /** * Decodes a CoexStateSync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CoexStateSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CoexStateSync; /** * Verifies a CoexStateSync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CoexStateSync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CoexStateSync */ public static fromObject(object: { [k: string]: any }): waproto.CoexStateSync; /** * Creates a plain object from a CoexStateSync message. Also converts values to other types if specified. * @param message CoexStateSync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CoexStateSync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CoexStateSync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CoexStateSync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CoexStateSync { /** Properties of a CollectionMutations. */ interface ICollectionMutations { /** CollectionMutations collection */ collection?: (string|null); /** CollectionMutations mutations */ mutations?: (waproto.CoexStateSync.IMutation[]|null); } /** Represents a CollectionMutations. */ class CollectionMutations implements ICollectionMutations { /** * Constructs a new CollectionMutations. * @param [properties] Properties to set */ constructor(properties?: waproto.CoexStateSync.ICollectionMutations); /** CollectionMutations collection. */ public collection?: (string|null); /** CollectionMutations mutations. */ public mutations: waproto.CoexStateSync.IMutation[]; /** * Creates a new CollectionMutations instance using the specified properties. * @param [properties] Properties to set * @returns CollectionMutations instance */ public static create(properties?: waproto.CoexStateSync.ICollectionMutations): waproto.CoexStateSync.CollectionMutations; /** * Encodes the specified CollectionMutations message. Does not implicitly {@link waproto.CoexStateSync.CollectionMutations.verify|verify} messages. * @param message CollectionMutations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.CoexStateSync.ICollectionMutations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CollectionMutations message, length delimited. Does not implicitly {@link waproto.CoexStateSync.CollectionMutations.verify|verify} messages. * @param message CollectionMutations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.CoexStateSync.ICollectionMutations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CollectionMutations message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CollectionMutations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CoexStateSync.CollectionMutations; /** * Decodes a CollectionMutations message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CollectionMutations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CoexStateSync.CollectionMutations; /** * Verifies a CollectionMutations message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CollectionMutations message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CollectionMutations */ public static fromObject(object: { [k: string]: any }): waproto.CoexStateSync.CollectionMutations; /** * Creates a plain object from a CollectionMutations message. Also converts values to other types if specified. * @param message CollectionMutations * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CoexStateSync.CollectionMutations, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CollectionMutations to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CollectionMutations * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Mutation. */ interface IMutation { /** Mutation index */ index?: (waproto.ISyncdIndex|null); /** Mutation value */ value?: (waproto.ISyncdValue|null); /** Mutation dirtyVersion */ dirtyVersion?: (number|Long|null); /** Mutation operation */ operation?: (waproto.SyncdMutation.SyncdOperation|null); } /** Represents a Mutation. */ class Mutation implements IMutation { /** * Constructs a new Mutation. * @param [properties] Properties to set */ constructor(properties?: waproto.CoexStateSync.IMutation); /** Mutation index. */ public index?: (waproto.ISyncdIndex|null); /** Mutation value. */ public value?: (waproto.ISyncdValue|null); /** Mutation dirtyVersion. */ public dirtyVersion?: (number|Long|null); /** Mutation operation. */ public operation?: (waproto.SyncdMutation.SyncdOperation|null); /** * Creates a new Mutation instance using the specified properties. * @param [properties] Properties to set * @returns Mutation instance */ public static create(properties?: waproto.CoexStateSync.IMutation): waproto.CoexStateSync.Mutation; /** * Encodes the specified Mutation message. Does not implicitly {@link waproto.CoexStateSync.Mutation.verify|verify} messages. * @param message Mutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.CoexStateSync.IMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Mutation message, length delimited. Does not implicitly {@link waproto.CoexStateSync.Mutation.verify|verify} messages. * @param message Mutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.CoexStateSync.IMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Mutation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Mutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CoexStateSync.Mutation; /** * Decodes a Mutation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Mutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CoexStateSync.Mutation; /** * Verifies a Mutation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Mutation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Mutation */ public static fromObject(object: { [k: string]: any }): waproto.CoexStateSync.Mutation; /** * Creates a plain object from a Mutation message. Also converts values to other types if specified. * @param message Mutation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CoexStateSync.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Mutation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Mutation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CollectionVersionsTableSchemaProto. */ interface ICollectionVersionsTableSchemaProto { /** CollectionVersionsTableSchemaProto collection */ collection?: (string|null); /** CollectionVersionsTableSchemaProto version */ version?: (number|null); /** CollectionVersionsTableSchemaProto state */ state?: (string|null); /** CollectionVersionsTableSchemaProto finiteFailureStartTime */ finiteFailureStartTime?: (number|Long|null); /** CollectionVersionsTableSchemaProto ltHash */ ltHash?: (Uint8Array|null); /** CollectionVersionsTableSchemaProto isCollectionInMacMismatchFatal */ isCollectionInMacMismatchFatal?: (boolean|null); /** CollectionVersionsTableSchemaProto isCollectionLthashInconsistent */ isCollectionLthashInconsistent?: (boolean|null); } /** Represents a CollectionVersionsTableSchemaProto. */ class CollectionVersionsTableSchemaProto implements ICollectionVersionsTableSchemaProto { /** * Constructs a new CollectionVersionsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ICollectionVersionsTableSchemaProto); /** CollectionVersionsTableSchemaProto collection. */ public collection?: (string|null); /** CollectionVersionsTableSchemaProto version. */ public version?: (number|null); /** CollectionVersionsTableSchemaProto state. */ public state?: (string|null); /** CollectionVersionsTableSchemaProto finiteFailureStartTime. */ public finiteFailureStartTime?: (number|Long|null); /** CollectionVersionsTableSchemaProto ltHash. */ public ltHash?: (Uint8Array|null); /** CollectionVersionsTableSchemaProto isCollectionInMacMismatchFatal. */ public isCollectionInMacMismatchFatal?: (boolean|null); /** CollectionVersionsTableSchemaProto isCollectionLthashInconsistent. */ public isCollectionLthashInconsistent?: (boolean|null); /** * Creates a new CollectionVersionsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns CollectionVersionsTableSchemaProto instance */ public static create(properties?: waproto.ICollectionVersionsTableSchemaProto): waproto.CollectionVersionsTableSchemaProto; /** * Encodes the specified CollectionVersionsTableSchemaProto message. Does not implicitly {@link waproto.CollectionVersionsTableSchemaProto.verify|verify} messages. * @param message CollectionVersionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICollectionVersionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CollectionVersionsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.CollectionVersionsTableSchemaProto.verify|verify} messages. * @param message CollectionVersionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICollectionVersionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CollectionVersionsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CollectionVersionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CollectionVersionsTableSchemaProto; /** * Decodes a CollectionVersionsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CollectionVersionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CollectionVersionsTableSchemaProto; /** * Verifies a CollectionVersionsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CollectionVersionsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CollectionVersionsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.CollectionVersionsTableSchemaProto; /** * Creates a plain object from a CollectionVersionsTableSchemaProto message. Also converts values to other types if specified. * @param message CollectionVersionsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CollectionVersionsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CollectionVersionsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CollectionVersionsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CombinedFingerprint. */ interface ICombinedFingerprint { /** CombinedFingerprint version */ version?: (number|null); /** CombinedFingerprint localFingerprint */ localFingerprint?: (waproto.IFingerprintData|null); /** CombinedFingerprint remoteFingerprint */ remoteFingerprint?: (waproto.IFingerprintData|null); } /** Represents a CombinedFingerprint. */ class CombinedFingerprint implements ICombinedFingerprint { /** * Constructs a new CombinedFingerprint. * @param [properties] Properties to set */ constructor(properties?: waproto.ICombinedFingerprint); /** CombinedFingerprint version. */ public version?: (number|null); /** CombinedFingerprint localFingerprint. */ public localFingerprint?: (waproto.IFingerprintData|null); /** CombinedFingerprint remoteFingerprint. */ public remoteFingerprint?: (waproto.IFingerprintData|null); /** * Creates a new CombinedFingerprint instance using the specified properties. * @param [properties] Properties to set * @returns CombinedFingerprint instance */ public static create(properties?: waproto.ICombinedFingerprint): waproto.CombinedFingerprint; /** * Encodes the specified CombinedFingerprint message. Does not implicitly {@link waproto.CombinedFingerprint.verify|verify} messages. * @param message CombinedFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICombinedFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CombinedFingerprint message, length delimited. Does not implicitly {@link waproto.CombinedFingerprint.verify|verify} messages. * @param message CombinedFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICombinedFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CombinedFingerprint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CombinedFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CombinedFingerprint; /** * Decodes a CombinedFingerprint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CombinedFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CombinedFingerprint; /** * Verifies a CombinedFingerprint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CombinedFingerprint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CombinedFingerprint */ public static fromObject(object: { [k: string]: any }): waproto.CombinedFingerprint; /** * Creates a plain object from a CombinedFingerprint message. Also converts values to other types if specified. * @param message CombinedFingerprint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CombinedFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CombinedFingerprint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CombinedFingerprint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Command. */ interface ICommand { /** Command commandType */ commandType?: (waproto.COMMAND_COMMAND_TYPE|null); /** Command offset */ offset?: (number|null); /** Command length */ length?: (number|null); /** Command validationToken */ validationToken?: (string|null); } /** Represents a Command. */ class Command implements ICommand { /** * Constructs a new Command. * @param [properties] Properties to set */ constructor(properties?: waproto.ICommand); /** Command commandType. */ public commandType?: (waproto.COMMAND_COMMAND_TYPE|null); /** Command offset. */ public offset?: (number|null); /** Command length. */ public length?: (number|null); /** Command validationToken. */ public validationToken?: (string|null); /** * Creates a new Command instance using the specified properties. * @param [properties] Properties to set * @returns Command instance */ public static create(properties?: waproto.ICommand): waproto.Command; /** * Encodes the specified Command message. Does not implicitly {@link waproto.Command.verify|verify} messages. * @param message Command message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Command message, length delimited. Does not implicitly {@link waproto.Command.verify|verify} messages. * @param message Command message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Command message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Command * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Command; /** * Decodes a Command message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Command * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Command; /** * Verifies a Command message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Command message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Command */ public static fromObject(object: { [k: string]: any }): waproto.Command; /** * Creates a plain object from a Command message. Also converts values to other types if specified. * @param message Command * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Command, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Command to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Command * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommentMetadata. */ interface ICommentMetadata { /** CommentMetadata commentParentKey */ commentParentKey?: (waproto.IMessageKey|null); /** CommentMetadata replyCount */ replyCount?: (number|null); } /** Represents a CommentMetadata. */ class CommentMetadata implements ICommentMetadata { /** * Constructs a new CommentMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.ICommentMetadata); /** CommentMetadata commentParentKey. */ public commentParentKey?: (waproto.IMessageKey|null); /** CommentMetadata replyCount. */ public replyCount?: (number|null); /** * Creates a new CommentMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CommentMetadata instance */ public static create(properties?: waproto.ICommentMetadata): waproto.CommentMetadata; /** * Encodes the specified CommentMetadata message. Does not implicitly {@link waproto.CommentMetadata.verify|verify} messages. * @param message CommentMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICommentMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommentMetadata message, length delimited. Does not implicitly {@link waproto.CommentMetadata.verify|verify} messages. * @param message CommentMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICommentMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommentMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommentMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CommentMetadata; /** * Decodes a CommentMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommentMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CommentMetadata; /** * Verifies a CommentMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommentMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommentMetadata */ public static fromObject(object: { [k: string]: any }): waproto.CommentMetadata; /** * Creates a plain object from a CommentMetadata message. Also converts values to other types if specified. * @param message CommentMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CommentMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommentMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommentMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompanionCommitment. */ interface ICompanionCommitment { /** CompanionCommitment hash */ hash?: (Uint8Array|null); } /** Represents a CompanionCommitment. */ class CompanionCommitment implements ICompanionCommitment { /** * Constructs a new CompanionCommitment. * @param [properties] Properties to set */ constructor(properties?: waproto.ICompanionCommitment); /** CompanionCommitment hash. */ public hash?: (Uint8Array|null); /** * Creates a new CompanionCommitment instance using the specified properties. * @param [properties] Properties to set * @returns CompanionCommitment instance */ public static create(properties?: waproto.ICompanionCommitment): waproto.CompanionCommitment; /** * Encodes the specified CompanionCommitment message. Does not implicitly {@link waproto.CompanionCommitment.verify|verify} messages. * @param message CompanionCommitment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompanionCommitment message, length delimited. Does not implicitly {@link waproto.CompanionCommitment.verify|verify} messages. * @param message CompanionCommitment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompanionCommitment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompanionCommitment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CompanionCommitment; /** * Decodes a CompanionCommitment message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompanionCommitment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CompanionCommitment; /** * Verifies a CompanionCommitment message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompanionCommitment message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompanionCommitment */ public static fromObject(object: { [k: string]: any }): waproto.CompanionCommitment; /** * Creates a plain object from a CompanionCommitment message. Also converts values to other types if specified. * @param message CompanionCommitment * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CompanionCommitment, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompanionCommitment to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompanionCommitment * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompanionEphemeralIdentity. */ interface ICompanionEphemeralIdentity { /** CompanionEphemeralIdentity publicKey */ publicKey?: (Uint8Array|null); /** CompanionEphemeralIdentity deviceType */ deviceType?: (waproto.DeviceProps.PlatformType|null); /** CompanionEphemeralIdentity ref */ ref?: (string|null); } /** Represents a CompanionEphemeralIdentity. */ class CompanionEphemeralIdentity implements ICompanionEphemeralIdentity { /** * Constructs a new CompanionEphemeralIdentity. * @param [properties] Properties to set */ constructor(properties?: waproto.ICompanionEphemeralIdentity); /** CompanionEphemeralIdentity publicKey. */ public publicKey?: (Uint8Array|null); /** CompanionEphemeralIdentity deviceType. */ public deviceType?: (waproto.DeviceProps.PlatformType|null); /** CompanionEphemeralIdentity ref. */ public ref?: (string|null); /** * Creates a new CompanionEphemeralIdentity instance using the specified properties. * @param [properties] Properties to set * @returns CompanionEphemeralIdentity instance */ public static create(properties?: waproto.ICompanionEphemeralIdentity): waproto.CompanionEphemeralIdentity; /** * Encodes the specified CompanionEphemeralIdentity message. Does not implicitly {@link waproto.CompanionEphemeralIdentity.verify|verify} messages. * @param message CompanionEphemeralIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompanionEphemeralIdentity message, length delimited. Does not implicitly {@link waproto.CompanionEphemeralIdentity.verify|verify} messages. * @param message CompanionEphemeralIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompanionEphemeralIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompanionEphemeralIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CompanionEphemeralIdentity; /** * Decodes a CompanionEphemeralIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompanionEphemeralIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CompanionEphemeralIdentity; /** * Verifies a CompanionEphemeralIdentity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompanionEphemeralIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompanionEphemeralIdentity */ public static fromObject(object: { [k: string]: any }): waproto.CompanionEphemeralIdentity; /** * Creates a plain object from a CompanionEphemeralIdentity message. Also converts values to other types if specified. * @param message CompanionEphemeralIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CompanionEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompanionEphemeralIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompanionEphemeralIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Config. */ interface IConfig { /** Config field */ field?: ({ [k: string]: waproto.IField }|null); /** Config version */ version?: (number|null); } /** Represents a Config. */ class Config implements IConfig { /** * Constructs a new Config. * @param [properties] Properties to set */ constructor(properties?: waproto.IConfig); /** Config field. */ public field: { [k: string]: waproto.IField }; /** Config version. */ public version?: (number|null); /** * Creates a new Config instance using the specified properties. * @param [properties] Properties to set * @returns Config instance */ public static create(properties?: waproto.IConfig): waproto.Config; /** * Encodes the specified Config message. Does not implicitly {@link waproto.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Config message, length delimited. Does not implicitly {@link waproto.Config.verify|verify} messages. * @param message Config message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Config message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Config; /** * Decodes a Config message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Config * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Config; /** * Verifies a Config message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Config message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Config */ public static fromObject(object: { [k: string]: any }): waproto.Config; /** * Creates a plain object from a Config message. Also converts values to other types if specified. * @param message Config * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Config, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Config to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Config * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ConsumerApplication. */ interface IConsumerApplication { /** ConsumerApplication payload */ payload?: (waproto.ConsumerApplication.IPayload|null); /** ConsumerApplication metadata */ metadata?: (waproto.ConsumerApplication.IMetadata|null); } /** Represents a ConsumerApplication. */ class ConsumerApplication implements IConsumerApplication { /** * Constructs a new ConsumerApplication. * @param [properties] Properties to set */ constructor(properties?: waproto.IConsumerApplication); /** ConsumerApplication payload. */ public payload?: (waproto.ConsumerApplication.IPayload|null); /** ConsumerApplication metadata. */ public metadata?: (waproto.ConsumerApplication.IMetadata|null); /** * Creates a new ConsumerApplication instance using the specified properties. * @param [properties] Properties to set * @returns ConsumerApplication instance */ public static create(properties?: waproto.IConsumerApplication): waproto.ConsumerApplication; /** * Encodes the specified ConsumerApplication message. Does not implicitly {@link waproto.ConsumerApplication.verify|verify} messages. * @param message ConsumerApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IConsumerApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConsumerApplication message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.verify|verify} messages. * @param message ConsumerApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IConsumerApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConsumerApplication message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConsumerApplication * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication; /** * Decodes a ConsumerApplication message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConsumerApplication * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication; /** * Verifies a ConsumerApplication message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConsumerApplication message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConsumerApplication */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication; /** * Creates a plain object from a ConsumerApplication message. Also converts values to other types if specified. * @param message ConsumerApplication * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConsumerApplication to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConsumerApplication * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConsumerApplication { /** Properties of a Payload. */ interface IPayload { /** Payload content */ content?: (waproto.ConsumerApplication.IContent|null); /** Payload applicationData */ applicationData?: (waproto.ConsumerApplication.IApplicationData|null); /** Payload signal */ signal?: (waproto.ConsumerApplication.ISignal|null); /** Payload subProtocol */ subProtocol?: (waproto.ConsumerApplication.ISubProtocolPayload|null); } /** Represents a Payload. */ class Payload implements IPayload { /** * Constructs a new Payload. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPayload); /** Payload content. */ public content?: (waproto.ConsumerApplication.IContent|null); /** Payload applicationData. */ public applicationData?: (waproto.ConsumerApplication.IApplicationData|null); /** Payload signal. */ public signal?: (waproto.ConsumerApplication.ISignal|null); /** Payload subProtocol. */ public subProtocol?: (waproto.ConsumerApplication.ISubProtocolPayload|null); /** Payload payload. */ public payload?: ("content"|"applicationData"|"signal"|"subProtocol"); /** * Creates a new Payload instance using the specified properties. * @param [properties] Properties to set * @returns Payload instance */ public static create(properties?: waproto.ConsumerApplication.IPayload): waproto.ConsumerApplication.Payload; /** * Encodes the specified Payload message. Does not implicitly {@link waproto.ConsumerApplication.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Payload message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Payload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Payload; /** * Decodes a Payload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Payload; /** * Verifies a Payload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Payload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Payload */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Payload; /** * Creates a plain object from a Payload message. Also converts values to other types if specified. * @param message Payload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Payload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Payload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Payload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubProtocolPayload. */ interface ISubProtocolPayload { /** SubProtocolPayload futureProof */ futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); } /** Represents a SubProtocolPayload. */ class SubProtocolPayload implements ISubProtocolPayload { /** * Constructs a new SubProtocolPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.ISubProtocolPayload); /** SubProtocolPayload futureProof. */ public futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); /** * Creates a new SubProtocolPayload instance using the specified properties. * @param [properties] Properties to set * @returns SubProtocolPayload instance */ public static create(properties?: waproto.ConsumerApplication.ISubProtocolPayload): waproto.ConsumerApplication.SubProtocolPayload; /** * Encodes the specified SubProtocolPayload message. Does not implicitly {@link waproto.ConsumerApplication.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubProtocolPayload message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubProtocolPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.SubProtocolPayload; /** * Decodes a SubProtocolPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.SubProtocolPayload; /** * Verifies a SubProtocolPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubProtocolPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubProtocolPayload */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.SubProtocolPayload; /** * Creates a plain object from a SubProtocolPayload message. Also converts values to other types if specified. * @param message SubProtocolPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.SubProtocolPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubProtocolPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubProtocolPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Metadata. */ interface IMetadata { /** Metadata specialTextSize */ specialTextSize?: (waproto.CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IMetadata); /** Metadata specialTextSize. */ public specialTextSize?: (waproto.CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE|null); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.ConsumerApplication.IMetadata): waproto.ConsumerApplication.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.ConsumerApplication.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Signal. */ interface ISignal { } /** Represents a Signal. */ class Signal implements ISignal { /** * Constructs a new Signal. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.ISignal); /** * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set * @returns Signal instance */ public static create(properties?: waproto.ConsumerApplication.ISignal): waproto.ConsumerApplication.Signal; /** * Encodes the specified Signal message. Does not implicitly {@link waproto.ConsumerApplication.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Signal message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Signal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Signal; /** * Decodes a Signal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Signal; /** * Verifies a Signal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Signal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Signal */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Signal; /** * Creates a plain object from a Signal message. Also converts values to other types if specified. * @param message Signal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Signal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Signal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Signal * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationData. */ interface IApplicationData { /** ApplicationData revoke */ revoke?: (waproto.ConsumerApplication.IRevokeMessage|null); } /** Represents an ApplicationData. */ class ApplicationData implements IApplicationData { /** * Constructs a new ApplicationData. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IApplicationData); /** ApplicationData revoke. */ public revoke?: (waproto.ConsumerApplication.IRevokeMessage|null); /** ApplicationData applicationContent. */ public applicationContent?: "revoke"; /** * Creates a new ApplicationData instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationData instance */ public static create(properties?: waproto.ConsumerApplication.IApplicationData): waproto.ConsumerApplication.ApplicationData; /** * Encodes the specified ApplicationData message. Does not implicitly {@link waproto.ConsumerApplication.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationData message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ApplicationData; /** * Decodes an ApplicationData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ApplicationData; /** * Verifies an ApplicationData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationData */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ApplicationData; /** * Creates a plain object from an ApplicationData message. Also converts values to other types if specified. * @param message ApplicationData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ApplicationData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApplicationData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Content. */ interface IContent { /** Content messageText */ messageText?: (waproto.IMessageText|null); /** Content imageMessage */ imageMessage?: (waproto.ConsumerApplication.IImageMessage|null); /** Content contactMessage */ contactMessage?: (waproto.ConsumerApplication.IContactMessage|null); /** Content locationMessage */ locationMessage?: (waproto.ConsumerApplication.ILocationMessage|null); /** Content extendedTextMessage */ extendedTextMessage?: (waproto.ConsumerApplication.IExtendedTextMessage|null); /** Content statusTextMessage */ statusTextMessage?: (waproto.ConsumerApplication.IStatusTextMesage|null); /** Content documentMessage */ documentMessage?: (waproto.ConsumerApplication.IDocumentMessage|null); /** Content audioMessage */ audioMessage?: (waproto.ConsumerApplication.IAudioMessage|null); /** Content videoMessage */ videoMessage?: (waproto.ConsumerApplication.IVideoMessage|null); /** Content contactsArrayMessage */ contactsArrayMessage?: (waproto.ConsumerApplication.IContactsArrayMessage|null); /** Content liveLocationMessage */ liveLocationMessage?: (waproto.ConsumerApplication.ILiveLocationMessage|null); /** Content stickerMessage */ stickerMessage?: (waproto.ConsumerApplication.IStickerMessage|null); /** Content groupInviteMessage */ groupInviteMessage?: (waproto.ConsumerApplication.IGroupInviteMessage|null); /** Content viewOnceMessage */ viewOnceMessage?: (waproto.ConsumerApplication.IViewOnceMessage|null); /** Content reactionMessage */ reactionMessage?: (waproto.ConsumerApplication.IReactionMessage|null); /** Content pollCreationMessage */ pollCreationMessage?: (waproto.ConsumerApplication.IPollCreationMessage|null); /** Content pollUpdateMessage */ pollUpdateMessage?: (waproto.ConsumerApplication.IPollUpdateMessage|null); /** Content editMessage */ editMessage?: (waproto.ConsumerApplication.IEditMessage|null); } /** Represents a Content. */ class Content implements IContent { /** * Constructs a new Content. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IContent); /** Content messageText. */ public messageText?: (waproto.IMessageText|null); /** Content imageMessage. */ public imageMessage?: (waproto.ConsumerApplication.IImageMessage|null); /** Content contactMessage. */ public contactMessage?: (waproto.ConsumerApplication.IContactMessage|null); /** Content locationMessage. */ public locationMessage?: (waproto.ConsumerApplication.ILocationMessage|null); /** Content extendedTextMessage. */ public extendedTextMessage?: (waproto.ConsumerApplication.IExtendedTextMessage|null); /** Content statusTextMessage. */ public statusTextMessage?: (waproto.ConsumerApplication.IStatusTextMesage|null); /** Content documentMessage. */ public documentMessage?: (waproto.ConsumerApplication.IDocumentMessage|null); /** Content audioMessage. */ public audioMessage?: (waproto.ConsumerApplication.IAudioMessage|null); /** Content videoMessage. */ public videoMessage?: (waproto.ConsumerApplication.IVideoMessage|null); /** Content contactsArrayMessage. */ public contactsArrayMessage?: (waproto.ConsumerApplication.IContactsArrayMessage|null); /** Content liveLocationMessage. */ public liveLocationMessage?: (waproto.ConsumerApplication.ILiveLocationMessage|null); /** Content stickerMessage. */ public stickerMessage?: (waproto.ConsumerApplication.IStickerMessage|null); /** Content groupInviteMessage. */ public groupInviteMessage?: (waproto.ConsumerApplication.IGroupInviteMessage|null); /** Content viewOnceMessage. */ public viewOnceMessage?: (waproto.ConsumerApplication.IViewOnceMessage|null); /** Content reactionMessage. */ public reactionMessage?: (waproto.ConsumerApplication.IReactionMessage|null); /** Content pollCreationMessage. */ public pollCreationMessage?: (waproto.ConsumerApplication.IPollCreationMessage|null); /** Content pollUpdateMessage. */ public pollUpdateMessage?: (waproto.ConsumerApplication.IPollUpdateMessage|null); /** Content editMessage. */ public editMessage?: (waproto.ConsumerApplication.IEditMessage|null); /** Content content. */ public content?: ("messageText"|"imageMessage"|"contactMessage"|"locationMessage"|"extendedTextMessage"|"statusTextMessage"|"documentMessage"|"audioMessage"|"videoMessage"|"contactsArrayMessage"|"liveLocationMessage"|"stickerMessage"|"groupInviteMessage"|"viewOnceMessage"|"reactionMessage"|"pollCreationMessage"|"pollUpdateMessage"|"editMessage"); /** * Creates a new Content instance using the specified properties. * @param [properties] Properties to set * @returns Content instance */ public static create(properties?: waproto.ConsumerApplication.IContent): waproto.ConsumerApplication.Content; /** * Encodes the specified Content message. Does not implicitly {@link waproto.ConsumerApplication.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Content message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Content message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Content; /** * Decodes a Content message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Content; /** * Verifies a Content message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Content message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Content */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Content; /** * Creates a plain object from a Content message. Also converts values to other types if specified. * @param message Content * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Content, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Content to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Content * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EditMessage. */ interface IEditMessage { /** EditMessage key */ key?: (waproto.IMessageKey|null); /** EditMessage message */ message?: (waproto.IMessageText|null); /** EditMessage timestampMs */ timestampMs?: (number|Long|null); } /** Represents an EditMessage. */ class EditMessage implements IEditMessage { /** * Constructs a new EditMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IEditMessage); /** EditMessage key. */ public key?: (waproto.IMessageKey|null); /** EditMessage message. */ public message?: (waproto.IMessageText|null); /** EditMessage timestampMs. */ public timestampMs?: (number|Long|null); /** * Creates a new EditMessage instance using the specified properties. * @param [properties] Properties to set * @returns EditMessage instance */ public static create(properties?: waproto.ConsumerApplication.IEditMessage): waproto.ConsumerApplication.EditMessage; /** * Encodes the specified EditMessage message. Does not implicitly {@link waproto.ConsumerApplication.EditMessage.verify|verify} messages. * @param message EditMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IEditMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EditMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.EditMessage.verify|verify} messages. * @param message EditMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IEditMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EditMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EditMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.EditMessage; /** * Decodes an EditMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EditMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.EditMessage; /** * Verifies an EditMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EditMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EditMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.EditMessage; /** * Creates a plain object from an EditMessage message. Also converts values to other types if specified. * @param message EditMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.EditMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EditMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EditMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollAddOptionMessage. */ interface IPollAddOptionMessage { /** PollAddOptionMessage pollOption */ pollOption?: (waproto.ConsumerApplication.IOption[]|null); } /** Represents a PollAddOptionMessage. */ class PollAddOptionMessage implements IPollAddOptionMessage { /** * Constructs a new PollAddOptionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPollAddOptionMessage); /** PollAddOptionMessage pollOption. */ public pollOption: waproto.ConsumerApplication.IOption[]; /** * Creates a new PollAddOptionMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollAddOptionMessage instance */ public static create(properties?: waproto.ConsumerApplication.IPollAddOptionMessage): waproto.ConsumerApplication.PollAddOptionMessage; /** * Encodes the specified PollAddOptionMessage message. Does not implicitly {@link waproto.ConsumerApplication.PollAddOptionMessage.verify|verify} messages. * @param message PollAddOptionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPollAddOptionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollAddOptionMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.PollAddOptionMessage.verify|verify} messages. * @param message PollAddOptionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPollAddOptionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollAddOptionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollAddOptionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.PollAddOptionMessage; /** * Decodes a PollAddOptionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollAddOptionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.PollAddOptionMessage; /** * Verifies a PollAddOptionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollAddOptionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollAddOptionMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.PollAddOptionMessage; /** * Creates a plain object from a PollAddOptionMessage message. Also converts values to other types if specified. * @param message PollAddOptionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.PollAddOptionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollAddOptionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollAddOptionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVoteMessage. */ interface IPollVoteMessage { /** PollVoteMessage selectedOptions */ selectedOptions?: (Uint8Array[]|null); /** PollVoteMessage senderTimestampMs */ senderTimestampMs?: (number|Long|null); } /** Represents a PollVoteMessage. */ class PollVoteMessage implements IPollVoteMessage { /** * Constructs a new PollVoteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPollVoteMessage); /** PollVoteMessage selectedOptions. */ public selectedOptions: Uint8Array[]; /** PollVoteMessage senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** * Creates a new PollVoteMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollVoteMessage instance */ public static create(properties?: waproto.ConsumerApplication.IPollVoteMessage): waproto.ConsumerApplication.PollVoteMessage; /** * Encodes the specified PollVoteMessage message. Does not implicitly {@link waproto.ConsumerApplication.PollVoteMessage.verify|verify} messages. * @param message PollVoteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVoteMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.PollVoteMessage.verify|verify} messages. * @param message PollVoteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVoteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVoteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.PollVoteMessage; /** * Decodes a PollVoteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVoteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.PollVoteMessage; /** * Verifies a PollVoteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVoteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVoteMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.PollVoteMessage; /** * Creates a plain object from a PollVoteMessage message. Also converts values to other types if specified. * @param message PollVoteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.PollVoteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVoteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVoteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollEncValue. */ interface IPollEncValue { /** PollEncValue encPayload */ encPayload?: (Uint8Array|null); /** PollEncValue encIv */ encIv?: (Uint8Array|null); } /** Represents a PollEncValue. */ class PollEncValue implements IPollEncValue { /** * Constructs a new PollEncValue. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPollEncValue); /** PollEncValue encPayload. */ public encPayload?: (Uint8Array|null); /** PollEncValue encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new PollEncValue instance using the specified properties. * @param [properties] Properties to set * @returns PollEncValue instance */ public static create(properties?: waproto.ConsumerApplication.IPollEncValue): waproto.ConsumerApplication.PollEncValue; /** * Encodes the specified PollEncValue message. Does not implicitly {@link waproto.ConsumerApplication.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollEncValue message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollEncValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.PollEncValue; /** * Decodes a PollEncValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.PollEncValue; /** * Verifies a PollEncValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollEncValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollEncValue */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.PollEncValue; /** * Creates a plain object from a PollEncValue message. Also converts values to other types if specified. * @param message PollEncValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.PollEncValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollEncValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollEncValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollUpdateMessage. */ interface IPollUpdateMessage { /** PollUpdateMessage pollCreationMessageKey */ pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollUpdateMessage vote */ vote?: (waproto.ConsumerApplication.IPollEncValue|null); /** PollUpdateMessage addOption */ addOption?: (waproto.ConsumerApplication.IPollEncValue|null); } /** Represents a PollUpdateMessage. */ class PollUpdateMessage implements IPollUpdateMessage { /** * Constructs a new PollUpdateMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPollUpdateMessage); /** PollUpdateMessage pollCreationMessageKey. */ public pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollUpdateMessage vote. */ public vote?: (waproto.ConsumerApplication.IPollEncValue|null); /** PollUpdateMessage addOption. */ public addOption?: (waproto.ConsumerApplication.IPollEncValue|null); /** * Creates a new PollUpdateMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollUpdateMessage instance */ public static create(properties?: waproto.ConsumerApplication.IPollUpdateMessage): waproto.ConsumerApplication.PollUpdateMessage; /** * Encodes the specified PollUpdateMessage message. Does not implicitly {@link waproto.ConsumerApplication.PollUpdateMessage.verify|verify} messages. * @param message PollUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollUpdateMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.PollUpdateMessage.verify|verify} messages. * @param message PollUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollUpdateMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.PollUpdateMessage; /** * Decodes a PollUpdateMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.PollUpdateMessage; /** * Verifies a PollUpdateMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollUpdateMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollUpdateMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.PollUpdateMessage; /** * Creates a plain object from a PollUpdateMessage message. Also converts values to other types if specified. * @param message PollUpdateMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.PollUpdateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollUpdateMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollUpdateMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollCreationMessage. */ interface IPollCreationMessage { /** PollCreationMessage encKey */ encKey?: (Uint8Array|null); /** PollCreationMessage name */ name?: (string|null); /** PollCreationMessage options */ options?: (waproto.ConsumerApplication.IOption[]|null); /** PollCreationMessage selectableOptionsCount */ selectableOptionsCount?: (number|null); } /** Represents a PollCreationMessage. */ class PollCreationMessage implements IPollCreationMessage { /** * Constructs a new PollCreationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPollCreationMessage); /** PollCreationMessage encKey. */ public encKey?: (Uint8Array|null); /** PollCreationMessage name. */ public name?: (string|null); /** PollCreationMessage options. */ public options: waproto.ConsumerApplication.IOption[]; /** PollCreationMessage selectableOptionsCount. */ public selectableOptionsCount?: (number|null); /** * Creates a new PollCreationMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollCreationMessage instance */ public static create(properties?: waproto.ConsumerApplication.IPollCreationMessage): waproto.ConsumerApplication.PollCreationMessage; /** * Encodes the specified PollCreationMessage message. Does not implicitly {@link waproto.ConsumerApplication.PollCreationMessage.verify|verify} messages. * @param message PollCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollCreationMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.PollCreationMessage.verify|verify} messages. * @param message PollCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollCreationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.PollCreationMessage; /** * Decodes a PollCreationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.PollCreationMessage; /** * Verifies a PollCreationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollCreationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollCreationMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.PollCreationMessage; /** * Creates a plain object from a PollCreationMessage message. Also converts values to other types if specified. * @param message PollCreationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.PollCreationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollCreationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollCreationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Option. */ interface IOption { /** Option optionName */ optionName?: (string|null); } /** Represents an Option. */ class Option implements IOption { /** * Constructs a new Option. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IOption); /** Option optionName. */ public optionName?: (string|null); /** * Creates a new Option instance using the specified properties. * @param [properties] Properties to set * @returns Option instance */ public static create(properties?: waproto.ConsumerApplication.IOption): waproto.ConsumerApplication.Option; /** * Encodes the specified Option message. Does not implicitly {@link waproto.ConsumerApplication.Option.verify|verify} messages. * @param message Option message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Option message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Option.verify|verify} messages. * @param message Option message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Option message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Option * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Option; /** * Decodes an Option message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Option * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Option; /** * Verifies an Option message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Option message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Option */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Option; /** * Creates a plain object from an Option message. Also converts values to other types if specified. * @param message Option * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Option, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Option to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Option * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReactionMessage. */ interface IReactionMessage { /** ReactionMessage key */ key?: (waproto.IMessageKey|null); /** ReactionMessage text */ text?: (string|null); /** ReactionMessage groupingKey */ groupingKey?: (string|null); /** ReactionMessage senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** ReactionMessage reactionMetadataDataclassData */ reactionMetadataDataclassData?: (string|null); /** ReactionMessage style */ style?: (number|null); } /** Represents a ReactionMessage. */ class ReactionMessage implements IReactionMessage { /** * Constructs a new ReactionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IReactionMessage); /** ReactionMessage key. */ public key?: (waproto.IMessageKey|null); /** ReactionMessage text. */ public text?: (string|null); /** ReactionMessage groupingKey. */ public groupingKey?: (string|null); /** ReactionMessage senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** ReactionMessage reactionMetadataDataclassData. */ public reactionMetadataDataclassData?: (string|null); /** ReactionMessage style. */ public style?: (number|null); /** * Creates a new ReactionMessage instance using the specified properties. * @param [properties] Properties to set * @returns ReactionMessage instance */ public static create(properties?: waproto.ConsumerApplication.IReactionMessage): waproto.ConsumerApplication.ReactionMessage; /** * Encodes the specified ReactionMessage message. Does not implicitly {@link waproto.ConsumerApplication.ReactionMessage.verify|verify} messages. * @param message ReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReactionMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ReactionMessage.verify|verify} messages. * @param message ReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReactionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ReactionMessage; /** * Decodes a ReactionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ReactionMessage; /** * Verifies a ReactionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReactionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReactionMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ReactionMessage; /** * Creates a plain object from a ReactionMessage message. Also converts values to other types if specified. * @param message ReactionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReactionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReactionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RevokeMessage. */ interface IRevokeMessage { /** RevokeMessage key */ key?: (waproto.IMessageKey|null); } /** Represents a RevokeMessage. */ class RevokeMessage implements IRevokeMessage { /** * Constructs a new RevokeMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IRevokeMessage); /** RevokeMessage key. */ public key?: (waproto.IMessageKey|null); /** * Creates a new RevokeMessage instance using the specified properties. * @param [properties] Properties to set * @returns RevokeMessage instance */ public static create(properties?: waproto.ConsumerApplication.IRevokeMessage): waproto.ConsumerApplication.RevokeMessage; /** * Encodes the specified RevokeMessage message. Does not implicitly {@link waproto.ConsumerApplication.RevokeMessage.verify|verify} messages. * @param message RevokeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IRevokeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RevokeMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.RevokeMessage.verify|verify} messages. * @param message RevokeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IRevokeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RevokeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RevokeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.RevokeMessage; /** * Decodes a RevokeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RevokeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.RevokeMessage; /** * Verifies a RevokeMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RevokeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RevokeMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.RevokeMessage; /** * Creates a plain object from a RevokeMessage message. Also converts values to other types if specified. * @param message RevokeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.RevokeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RevokeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RevokeMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ViewOnceMessage. */ interface IViewOnceMessage { /** ViewOnceMessage imageMessage */ imageMessage?: (waproto.ConsumerApplication.IImageMessage|null); /** ViewOnceMessage videoMessage */ videoMessage?: (waproto.ConsumerApplication.IVideoMessage|null); } /** Represents a ViewOnceMessage. */ class ViewOnceMessage implements IViewOnceMessage { /** * Constructs a new ViewOnceMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IViewOnceMessage); /** ViewOnceMessage imageMessage. */ public imageMessage?: (waproto.ConsumerApplication.IImageMessage|null); /** ViewOnceMessage videoMessage. */ public videoMessage?: (waproto.ConsumerApplication.IVideoMessage|null); /** ViewOnceMessage viewOnceContent. */ public viewOnceContent?: ("imageMessage"|"videoMessage"); /** * Creates a new ViewOnceMessage instance using the specified properties. * @param [properties] Properties to set * @returns ViewOnceMessage instance */ public static create(properties?: waproto.ConsumerApplication.IViewOnceMessage): waproto.ConsumerApplication.ViewOnceMessage; /** * Encodes the specified ViewOnceMessage message. Does not implicitly {@link waproto.ConsumerApplication.ViewOnceMessage.verify|verify} messages. * @param message ViewOnceMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IViewOnceMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ViewOnceMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ViewOnceMessage.verify|verify} messages. * @param message ViewOnceMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IViewOnceMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ViewOnceMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ViewOnceMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ViewOnceMessage; /** * Decodes a ViewOnceMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ViewOnceMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ViewOnceMessage; /** * Verifies a ViewOnceMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ViewOnceMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ViewOnceMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ViewOnceMessage; /** * Creates a plain object from a ViewOnceMessage message. Also converts values to other types if specified. * @param message ViewOnceMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ViewOnceMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ViewOnceMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ViewOnceMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupInviteMessage. */ interface IGroupInviteMessage { /** GroupInviteMessage groupJid */ groupJid?: (string|null); /** GroupInviteMessage inviteCode */ inviteCode?: (string|null); /** GroupInviteMessage inviteExpiration */ inviteExpiration?: (number|Long|null); /** GroupInviteMessage groupName */ groupName?: (string|null); /** GroupInviteMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** GroupInviteMessage caption */ caption?: (waproto.IMessageText|null); } /** Represents a GroupInviteMessage. */ class GroupInviteMessage implements IGroupInviteMessage { /** * Constructs a new GroupInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IGroupInviteMessage); /** GroupInviteMessage groupJid. */ public groupJid?: (string|null); /** GroupInviteMessage inviteCode. */ public inviteCode?: (string|null); /** GroupInviteMessage inviteExpiration. */ public inviteExpiration?: (number|Long|null); /** GroupInviteMessage groupName. */ public groupName?: (string|null); /** GroupInviteMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** GroupInviteMessage caption. */ public caption?: (waproto.IMessageText|null); /** * Creates a new GroupInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns GroupInviteMessage instance */ public static create(properties?: waproto.ConsumerApplication.IGroupInviteMessage): waproto.ConsumerApplication.GroupInviteMessage; /** * Encodes the specified GroupInviteMessage message. Does not implicitly {@link waproto.ConsumerApplication.GroupInviteMessage.verify|verify} messages. * @param message GroupInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupInviteMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.GroupInviteMessage.verify|verify} messages. * @param message GroupInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.GroupInviteMessage; /** * Decodes a GroupInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.GroupInviteMessage; /** * Verifies a GroupInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.GroupInviteMessage; /** * Creates a plain object from a GroupInviteMessage message. Also converts values to other types if specified. * @param message GroupInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.GroupInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LiveLocationMessage. */ interface ILiveLocationMessage { /** LiveLocationMessage location */ location?: (waproto.ConsumerApplication.ILocation|null); /** LiveLocationMessage accuracyInMeters */ accuracyInMeters?: (number|null); /** LiveLocationMessage speedInMps */ speedInMps?: (number|null); /** LiveLocationMessage degreesClockwiseFromMagneticNorth */ degreesClockwiseFromMagneticNorth?: (number|null); /** LiveLocationMessage caption */ caption?: (waproto.IMessageText|null); /** LiveLocationMessage sequenceNumber */ sequenceNumber?: (number|Long|null); /** LiveLocationMessage timeOffset */ timeOffset?: (number|null); } /** Represents a LiveLocationMessage. */ class LiveLocationMessage implements ILiveLocationMessage { /** * Constructs a new LiveLocationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.ILiveLocationMessage); /** LiveLocationMessage location. */ public location?: (waproto.ConsumerApplication.ILocation|null); /** LiveLocationMessage accuracyInMeters. */ public accuracyInMeters?: (number|null); /** LiveLocationMessage speedInMps. */ public speedInMps?: (number|null); /** LiveLocationMessage degreesClockwiseFromMagneticNorth. */ public degreesClockwiseFromMagneticNorth?: (number|null); /** LiveLocationMessage caption. */ public caption?: (waproto.IMessageText|null); /** LiveLocationMessage sequenceNumber. */ public sequenceNumber?: (number|Long|null); /** LiveLocationMessage timeOffset. */ public timeOffset?: (number|null); /** * Creates a new LiveLocationMessage instance using the specified properties. * @param [properties] Properties to set * @returns LiveLocationMessage instance */ public static create(properties?: waproto.ConsumerApplication.ILiveLocationMessage): waproto.ConsumerApplication.LiveLocationMessage; /** * Encodes the specified LiveLocationMessage message. Does not implicitly {@link waproto.ConsumerApplication.LiveLocationMessage.verify|verify} messages. * @param message LiveLocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LiveLocationMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.LiveLocationMessage.verify|verify} messages. * @param message LiveLocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LiveLocationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LiveLocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.LiveLocationMessage; /** * Decodes a LiveLocationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LiveLocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.LiveLocationMessage; /** * Verifies a LiveLocationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LiveLocationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LiveLocationMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.LiveLocationMessage; /** * Creates a plain object from a LiveLocationMessage message. Also converts values to other types if specified. * @param message LiveLocationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.LiveLocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LiveLocationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LiveLocationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContactsArrayMessage. */ interface IContactsArrayMessage { /** ContactsArrayMessage displayName */ displayName?: (string|null); /** ContactsArrayMessage contacts */ contacts?: (waproto.ConsumerApplication.IContactMessage[]|null); } /** Represents a ContactsArrayMessage. */ class ContactsArrayMessage implements IContactsArrayMessage { /** * Constructs a new ContactsArrayMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IContactsArrayMessage); /** ContactsArrayMessage displayName. */ public displayName?: (string|null); /** ContactsArrayMessage contacts. */ public contacts: waproto.ConsumerApplication.IContactMessage[]; /** * Creates a new ContactsArrayMessage instance using the specified properties. * @param [properties] Properties to set * @returns ContactsArrayMessage instance */ public static create(properties?: waproto.ConsumerApplication.IContactsArrayMessage): waproto.ConsumerApplication.ContactsArrayMessage; /** * Encodes the specified ContactsArrayMessage message. Does not implicitly {@link waproto.ConsumerApplication.ContactsArrayMessage.verify|verify} messages. * @param message ContactsArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactsArrayMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ContactsArrayMessage.verify|verify} messages. * @param message ContactsArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactsArrayMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactsArrayMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ContactsArrayMessage; /** * Decodes a ContactsArrayMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactsArrayMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ContactsArrayMessage; /** * Verifies a ContactsArrayMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactsArrayMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactsArrayMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ContactsArrayMessage; /** * Creates a plain object from a ContactsArrayMessage message. Also converts values to other types if specified. * @param message ContactsArrayMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ContactsArrayMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactsArrayMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactsArrayMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContactMessage. */ interface IContactMessage { /** ContactMessage contact */ contact?: (waproto.ISubProtocol|null); } /** Represents a ContactMessage. */ class ContactMessage implements IContactMessage { /** * Constructs a new ContactMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IContactMessage); /** ContactMessage contact. */ public contact?: (waproto.ISubProtocol|null); /** * Creates a new ContactMessage instance using the specified properties. * @param [properties] Properties to set * @returns ContactMessage instance */ public static create(properties?: waproto.ConsumerApplication.IContactMessage): waproto.ConsumerApplication.ContactMessage; /** * Encodes the specified ContactMessage message. Does not implicitly {@link waproto.ConsumerApplication.ContactMessage.verify|verify} messages. * @param message ContactMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ContactMessage.verify|verify} messages. * @param message ContactMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ContactMessage; /** * Decodes a ContactMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ContactMessage; /** * Verifies a ContactMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ContactMessage; /** * Creates a plain object from a ContactMessage message. Also converts values to other types if specified. * @param message ContactMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ContactMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusTextMesage. */ interface IStatusTextMesage { /** StatusTextMesage text */ text?: (waproto.ConsumerApplication.IExtendedTextMessage|null); /** StatusTextMesage textArgb */ textArgb?: (number|null); /** StatusTextMesage backgroundArgb */ backgroundArgb?: (number|null); /** StatusTextMesage font */ font?: (waproto.CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE|null); } /** Represents a StatusTextMesage. */ class StatusTextMesage implements IStatusTextMesage { /** * Constructs a new StatusTextMesage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IStatusTextMesage); /** StatusTextMesage text. */ public text?: (waproto.ConsumerApplication.IExtendedTextMessage|null); /** StatusTextMesage textArgb. */ public textArgb?: (number|null); /** StatusTextMesage backgroundArgb. */ public backgroundArgb?: (number|null); /** StatusTextMesage font. */ public font?: (waproto.CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE|null); /** * Creates a new StatusTextMesage instance using the specified properties. * @param [properties] Properties to set * @returns StatusTextMesage instance */ public static create(properties?: waproto.ConsumerApplication.IStatusTextMesage): waproto.ConsumerApplication.StatusTextMesage; /** * Encodes the specified StatusTextMesage message. Does not implicitly {@link waproto.ConsumerApplication.StatusTextMesage.verify|verify} messages. * @param message StatusTextMesage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IStatusTextMesage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusTextMesage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.StatusTextMesage.verify|verify} messages. * @param message StatusTextMesage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IStatusTextMesage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusTextMesage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusTextMesage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.StatusTextMesage; /** * Decodes a StatusTextMesage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusTextMesage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.StatusTextMesage; /** * Verifies a StatusTextMesage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusTextMesage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusTextMesage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.StatusTextMesage; /** * Creates a plain object from a StatusTextMesage message. Also converts values to other types if specified. * @param message StatusTextMesage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.StatusTextMesage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusTextMesage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusTextMesage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExtendedTextMessage. */ interface IExtendedTextMessage { /** ExtendedTextMessage text */ text?: (waproto.IMessageText|null); /** ExtendedTextMessage matchedText */ matchedText?: (string|null); /** ExtendedTextMessage canonicalUrl */ canonicalUrl?: (string|null); /** ExtendedTextMessage description */ description?: (string|null); /** ExtendedTextMessage title */ title?: (string|null); /** ExtendedTextMessage thumbnail */ thumbnail?: (waproto.ISubProtocol|null); /** ExtendedTextMessage previewType */ previewType?: (waproto.CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE|null); } /** Represents an ExtendedTextMessage. */ class ExtendedTextMessage implements IExtendedTextMessage { /** * Constructs a new ExtendedTextMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IExtendedTextMessage); /** ExtendedTextMessage text. */ public text?: (waproto.IMessageText|null); /** ExtendedTextMessage matchedText. */ public matchedText?: (string|null); /** ExtendedTextMessage canonicalUrl. */ public canonicalUrl?: (string|null); /** ExtendedTextMessage description. */ public description?: (string|null); /** ExtendedTextMessage title. */ public title?: (string|null); /** ExtendedTextMessage thumbnail. */ public thumbnail?: (waproto.ISubProtocol|null); /** ExtendedTextMessage previewType. */ public previewType?: (waproto.CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE|null); /** * Creates a new ExtendedTextMessage instance using the specified properties. * @param [properties] Properties to set * @returns ExtendedTextMessage instance */ public static create(properties?: waproto.ConsumerApplication.IExtendedTextMessage): waproto.ConsumerApplication.ExtendedTextMessage; /** * Encodes the specified ExtendedTextMessage message. Does not implicitly {@link waproto.ConsumerApplication.ExtendedTextMessage.verify|verify} messages. * @param message ExtendedTextMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedTextMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ExtendedTextMessage.verify|verify} messages. * @param message ExtendedTextMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedTextMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedTextMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ExtendedTextMessage; /** * Decodes an ExtendedTextMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedTextMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ExtendedTextMessage; /** * Verifies an ExtendedTextMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedTextMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedTextMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ExtendedTextMessage; /** * Creates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified. * @param message ExtendedTextMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ExtendedTextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedTextMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtendedTextMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocationMessage. */ interface ILocationMessage { /** LocationMessage location */ location?: (waproto.ConsumerApplication.ILocation|null); /** LocationMessage address */ address?: (string|null); } /** Represents a LocationMessage. */ class LocationMessage implements ILocationMessage { /** * Constructs a new LocationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.ILocationMessage); /** LocationMessage location. */ public location?: (waproto.ConsumerApplication.ILocation|null); /** LocationMessage address. */ public address?: (string|null); /** * Creates a new LocationMessage instance using the specified properties. * @param [properties] Properties to set * @returns LocationMessage instance */ public static create(properties?: waproto.ConsumerApplication.ILocationMessage): waproto.ConsumerApplication.LocationMessage; /** * Encodes the specified LocationMessage message. Does not implicitly {@link waproto.ConsumerApplication.LocationMessage.verify|verify} messages. * @param message LocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocationMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.LocationMessage.verify|verify} messages. * @param message LocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.LocationMessage; /** * Decodes a LocationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.LocationMessage; /** * Verifies a LocationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocationMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.LocationMessage; /** * Creates a plain object from a LocationMessage message. Also converts values to other types if specified. * @param message LocationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.LocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LocationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StickerMessage. */ interface IStickerMessage { /** StickerMessage sticker */ sticker?: (waproto.ISubProtocol|null); } /** Represents a StickerMessage. */ class StickerMessage implements IStickerMessage { /** * Constructs a new StickerMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IStickerMessage); /** StickerMessage sticker. */ public sticker?: (waproto.ISubProtocol|null); /** * Creates a new StickerMessage instance using the specified properties. * @param [properties] Properties to set * @returns StickerMessage instance */ public static create(properties?: waproto.ConsumerApplication.IStickerMessage): waproto.ConsumerApplication.StickerMessage; /** * Encodes the specified StickerMessage message. Does not implicitly {@link waproto.ConsumerApplication.StickerMessage.verify|verify} messages. * @param message StickerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.StickerMessage.verify|verify} messages. * @param message StickerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.StickerMessage; /** * Decodes a StickerMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.StickerMessage; /** * Verifies a StickerMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.StickerMessage; /** * Creates a plain object from a StickerMessage message. Also converts values to other types if specified. * @param message StickerMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.StickerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentMessage. */ interface IDocumentMessage { /** DocumentMessage document */ document?: (waproto.ISubProtocol|null); /** DocumentMessage fileName */ fileName?: (string|null); } /** Represents a DocumentMessage. */ class DocumentMessage implements IDocumentMessage { /** * Constructs a new DocumentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IDocumentMessage); /** DocumentMessage document. */ public document?: (waproto.ISubProtocol|null); /** DocumentMessage fileName. */ public fileName?: (string|null); /** * Creates a new DocumentMessage instance using the specified properties. * @param [properties] Properties to set * @returns DocumentMessage instance */ public static create(properties?: waproto.ConsumerApplication.IDocumentMessage): waproto.ConsumerApplication.DocumentMessage; /** * Encodes the specified DocumentMessage message. Does not implicitly {@link waproto.ConsumerApplication.DocumentMessage.verify|verify} messages. * @param message DocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DocumentMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.DocumentMessage.verify|verify} messages. * @param message DocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DocumentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.DocumentMessage; /** * Decodes a DocumentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.DocumentMessage; /** * Verifies a DocumentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DocumentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.DocumentMessage; /** * Creates a plain object from a DocumentMessage message. Also converts values to other types if specified. * @param message DocumentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.DocumentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VideoMessage. */ interface IVideoMessage { /** VideoMessage video */ video?: (waproto.ISubProtocol|null); /** VideoMessage caption */ caption?: (waproto.IMessageText|null); } /** Represents a VideoMessage. */ class VideoMessage implements IVideoMessage { /** * Constructs a new VideoMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IVideoMessage); /** VideoMessage video. */ public video?: (waproto.ISubProtocol|null); /** VideoMessage caption. */ public caption?: (waproto.IMessageText|null); /** * Creates a new VideoMessage instance using the specified properties. * @param [properties] Properties to set * @returns VideoMessage instance */ public static create(properties?: waproto.ConsumerApplication.IVideoMessage): waproto.ConsumerApplication.VideoMessage; /** * Encodes the specified VideoMessage message. Does not implicitly {@link waproto.ConsumerApplication.VideoMessage.verify|verify} messages. * @param message VideoMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.VideoMessage.verify|verify} messages. * @param message VideoMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.VideoMessage; /** * Decodes a VideoMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.VideoMessage; /** * Verifies a VideoMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.VideoMessage; /** * Creates a plain object from a VideoMessage message. Also converts values to other types if specified. * @param message VideoMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.VideoMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VideoMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AudioMessage. */ interface IAudioMessage { /** AudioMessage audio */ audio?: (waproto.ISubProtocol|null); /** AudioMessage ptt */ ptt?: (boolean|null); } /** Represents an AudioMessage. */ class AudioMessage implements IAudioMessage { /** * Constructs a new AudioMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IAudioMessage); /** AudioMessage audio. */ public audio?: (waproto.ISubProtocol|null); /** AudioMessage ptt. */ public ptt?: (boolean|null); /** * Creates a new AudioMessage instance using the specified properties. * @param [properties] Properties to set * @returns AudioMessage instance */ public static create(properties?: waproto.ConsumerApplication.IAudioMessage): waproto.ConsumerApplication.AudioMessage; /** * Encodes the specified AudioMessage message. Does not implicitly {@link waproto.ConsumerApplication.AudioMessage.verify|verify} messages. * @param message AudioMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AudioMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.AudioMessage.verify|verify} messages. * @param message AudioMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AudioMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AudioMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.AudioMessage; /** * Decodes an AudioMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AudioMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.AudioMessage; /** * Verifies an AudioMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AudioMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AudioMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.AudioMessage; /** * Creates a plain object from an AudioMessage message. Also converts values to other types if specified. * @param message AudioMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.AudioMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AudioMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AudioMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImageMessage. */ interface IImageMessage { /** ImageMessage image */ image?: (waproto.ISubProtocol|null); /** ImageMessage caption */ caption?: (waproto.IMessageText|null); } /** Represents an ImageMessage. */ class ImageMessage implements IImageMessage { /** * Constructs a new ImageMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IImageMessage); /** ImageMessage image. */ public image?: (waproto.ISubProtocol|null); /** ImageMessage caption. */ public caption?: (waproto.IMessageText|null); /** * Creates a new ImageMessage instance using the specified properties. * @param [properties] Properties to set * @returns ImageMessage instance */ public static create(properties?: waproto.ConsumerApplication.IImageMessage): waproto.ConsumerApplication.ImageMessage; /** * Encodes the specified ImageMessage message. Does not implicitly {@link waproto.ConsumerApplication.ImageMessage.verify|verify} messages. * @param message ImageMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImageMessage message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.ImageMessage.verify|verify} messages. * @param message ImageMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImageMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImageMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.ImageMessage; /** * Decodes an ImageMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImageMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.ImageMessage; /** * Verifies an ImageMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImageMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImageMessage */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.ImageMessage; /** * Creates a plain object from an ImageMessage message. Also converts values to other types if specified. * @param message ImageMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.ImageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImageMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ImageMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InteractiveAnnotation. */ interface IInteractiveAnnotation { /** InteractiveAnnotation polygonVertices */ polygonVertices?: (waproto.ConsumerApplication.IPoint[]|null); /** InteractiveAnnotation location */ location?: (waproto.ConsumerApplication.ILocation|null); } /** Represents an InteractiveAnnotation. */ class InteractiveAnnotation implements IInteractiveAnnotation { /** * Constructs a new InteractiveAnnotation. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IInteractiveAnnotation); /** InteractiveAnnotation polygonVertices. */ public polygonVertices: waproto.ConsumerApplication.IPoint[]; /** InteractiveAnnotation location. */ public location?: (waproto.ConsumerApplication.ILocation|null); /** InteractiveAnnotation action. */ public action?: "location"; /** * Creates a new InteractiveAnnotation instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveAnnotation instance */ public static create(properties?: waproto.ConsumerApplication.IInteractiveAnnotation): waproto.ConsumerApplication.InteractiveAnnotation; /** * Encodes the specified InteractiveAnnotation message. Does not implicitly {@link waproto.ConsumerApplication.InteractiveAnnotation.verify|verify} messages. * @param message InteractiveAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveAnnotation message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.InteractiveAnnotation.verify|verify} messages. * @param message InteractiveAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveAnnotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.InteractiveAnnotation; /** * Decodes an InteractiveAnnotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.InteractiveAnnotation; /** * Verifies an InteractiveAnnotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveAnnotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveAnnotation */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.InteractiveAnnotation; /** * Creates a plain object from an InteractiveAnnotation message. Also converts values to other types if specified. * @param message InteractiveAnnotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.InteractiveAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveAnnotation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveAnnotation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Point. */ interface IPoint { /** Point x */ x?: (number|null); /** Point y */ y?: (number|null); } /** Represents a Point. */ class Point implements IPoint { /** * Constructs a new Point. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IPoint); /** Point x. */ public x?: (number|null); /** Point y. */ public y?: (number|null); /** * Creates a new Point instance using the specified properties. * @param [properties] Properties to set * @returns Point instance */ public static create(properties?: waproto.ConsumerApplication.IPoint): waproto.ConsumerApplication.Point; /** * Encodes the specified Point message. Does not implicitly {@link waproto.ConsumerApplication.Point.verify|verify} messages. * @param message Point message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IPoint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Point message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Point.verify|verify} messages. * @param message Point message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IPoint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Point message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Point * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Point; /** * Decodes a Point message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Point * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Point; /** * Verifies a Point message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Point message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Point */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Point; /** * Creates a plain object from a Point message. Also converts values to other types if specified. * @param message Point * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Point, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Point to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Point * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Location. */ interface ILocation { /** Location degreesLatitude */ degreesLatitude?: (number|null); /** Location degreesLongitude */ degreesLongitude?: (number|null); /** Location name */ name?: (string|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.ILocation); /** Location degreesLatitude. */ public degreesLatitude?: (number|null); /** Location degreesLongitude. */ public degreesLongitude?: (number|null); /** Location name. */ public name?: (string|null); /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: waproto.ConsumerApplication.ILocation): waproto.ConsumerApplication.Location; /** * Encodes the specified Location message. Does not implicitly {@link waproto.ConsumerApplication.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Location * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaPayload. */ interface IMediaPayload { /** MediaPayload protocol */ protocol?: (waproto.ISubProtocol|null); } /** Represents a MediaPayload. */ class MediaPayload implements IMediaPayload { /** * Constructs a new MediaPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.ConsumerApplication.IMediaPayload); /** MediaPayload protocol. */ public protocol?: (waproto.ISubProtocol|null); /** * Creates a new MediaPayload instance using the specified properties. * @param [properties] Properties to set * @returns MediaPayload instance */ public static create(properties?: waproto.ConsumerApplication.IMediaPayload): waproto.ConsumerApplication.MediaPayload; /** * Encodes the specified MediaPayload message. Does not implicitly {@link waproto.ConsumerApplication.MediaPayload.verify|verify} messages. * @param message MediaPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ConsumerApplication.IMediaPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaPayload message, length delimited. Does not implicitly {@link waproto.ConsumerApplication.MediaPayload.verify|verify} messages. * @param message MediaPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ConsumerApplication.IMediaPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ConsumerApplication.MediaPayload; /** * Decodes a MediaPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ConsumerApplication.MediaPayload; /** * Verifies a MediaPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaPayload */ public static fromObject(object: { [k: string]: any }): waproto.ConsumerApplication.MediaPayload; /** * Creates a plain object from a MediaPayload message. Also converts values to other types if specified. * @param message MediaPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ConsumerApplication.MediaPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ContactTransport. */ interface IContactTransport { /** ContactTransport integral */ integral?: (waproto.ContactTransport.IIntegral|null); /** ContactTransport ancillary */ ancillary?: (waproto.ContactTransport.IAncillary|null); } /** Represents a ContactTransport. */ class ContactTransport implements IContactTransport { /** * Constructs a new ContactTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IContactTransport); /** ContactTransport integral. */ public integral?: (waproto.ContactTransport.IIntegral|null); /** ContactTransport ancillary. */ public ancillary?: (waproto.ContactTransport.IAncillary|null); /** * Creates a new ContactTransport instance using the specified properties. * @param [properties] Properties to set * @returns ContactTransport instance */ public static create(properties?: waproto.IContactTransport): waproto.ContactTransport; /** * Encodes the specified ContactTransport message. Does not implicitly {@link waproto.ContactTransport.verify|verify} messages. * @param message ContactTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IContactTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactTransport message, length delimited. Does not implicitly {@link waproto.ContactTransport.verify|verify} messages. * @param message ContactTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IContactTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContactTransport; /** * Decodes a ContactTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContactTransport; /** * Verifies a ContactTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactTransport */ public static fromObject(object: { [k: string]: any }): waproto.ContactTransport; /** * Creates a plain object from a ContactTransport message. Also converts values to other types if specified. * @param message ContactTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContactTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ContactTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary displayName */ displayName?: (string|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.ContactTransport.IAncillary); /** Ancillary displayName. */ public displayName?: (string|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.ContactTransport.IAncillary): waproto.ContactTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.ContactTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContactTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.ContactTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContactTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContactTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContactTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.ContactTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContactTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Integral. */ interface IIntegral { /** Integral vcard */ vcard?: (string|null); /** Integral downloadableVcard */ downloadableVcard?: (waproto.IWAMediaTransport|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.ContactTransport.IIntegral); /** Integral vcard. */ public vcard?: (string|null); /** Integral downloadableVcard. */ public downloadableVcard?: (waproto.IWAMediaTransport|null); /** Integral contact. */ public contact?: ("vcard"|"downloadableVcard"); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.ContactTransport.IIntegral): waproto.ContactTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.ContactTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContactTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.ContactTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContactTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContactTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContactTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.ContactTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContactTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ContextInfo. */ interface IContextInfo { /** ContextInfo stanzaId */ stanzaId?: (string|null); /** ContextInfo participant */ participant?: (string|null); /** ContextInfo quotedMessage */ quotedMessage?: (waproto.IMessage|null); /** ContextInfo remoteJid */ remoteJid?: (string|null); /** ContextInfo mentionedJid */ mentionedJid?: (string[]|null); /** ContextInfo conversionSource */ conversionSource?: (string|null); /** ContextInfo conversionData */ conversionData?: (Uint8Array|null); /** ContextInfo conversionDelaySeconds */ conversionDelaySeconds?: (number|null); /** ContextInfo forwardingScore */ forwardingScore?: (number|null); /** ContextInfo isForwarded */ isForwarded?: (boolean|null); /** ContextInfo quotedAd */ quotedAd?: (waproto.ContextInfo.IAdReplyInfo|null); /** ContextInfo placeholderKey */ placeholderKey?: (waproto.IMessageKey|null); /** ContextInfo expiration */ expiration?: (number|null); /** ContextInfo ephemeralSettingTimestamp */ ephemeralSettingTimestamp?: (number|Long|null); /** ContextInfo ephemeralSharedSecret */ ephemeralSharedSecret?: (Uint8Array|null); /** ContextInfo externalAdReply */ externalAdReply?: (waproto.ContextInfo.IExternalAdReplyInfo|null); /** ContextInfo entryPointConversionSource */ entryPointConversionSource?: (string|null); /** ContextInfo entryPointConversionApp */ entryPointConversionApp?: (string|null); /** ContextInfo entryPointConversionDelaySeconds */ entryPointConversionDelaySeconds?: (number|null); /** ContextInfo disappearingMode */ disappearingMode?: (waproto.IDisappearingMode|null); /** ContextInfo actionLink */ actionLink?: (waproto.IActionLink|null); /** ContextInfo groupSubject */ groupSubject?: (string|null); /** ContextInfo parentGroupJid */ parentGroupJid?: (string|null); /** ContextInfo trustBannerType */ trustBannerType?: (string|null); /** ContextInfo trustBannerAction */ trustBannerAction?: (number|null); /** ContextInfo isSampled */ isSampled?: (boolean|null); /** ContextInfo groupMentions */ groupMentions?: (waproto.IGroupMention[]|null); /** ContextInfo utm */ utm?: (waproto.ContextInfo.IUTMInfo|null); /** ContextInfo forwardedNewsletterMessageInfo */ forwardedNewsletterMessageInfo?: (waproto.ContextInfo.IForwardedNewsletterMessageInfo|null); /** ContextInfo businessMessageForwardInfo */ businessMessageForwardInfo?: (waproto.ContextInfo.IBusinessMessageForwardInfo|null); /** ContextInfo smbClientCampaignId */ smbClientCampaignId?: (string|null); /** ContextInfo smbServerCampaignId */ smbServerCampaignId?: (string|null); /** ContextInfo dataSharingContext */ dataSharingContext?: (waproto.ContextInfo.IDataSharingContext|null); /** ContextInfo alwaysShowAdAttribution */ alwaysShowAdAttribution?: (boolean|null); /** ContextInfo featureEligibilities */ featureEligibilities?: (waproto.ContextInfo.IFeatureEligibilities|null); /** ContextInfo entryPointConversionExternalSource */ entryPointConversionExternalSource?: (string|null); /** ContextInfo entryPointConversionExternalMedium */ entryPointConversionExternalMedium?: (string|null); /** ContextInfo ctwaSignals */ ctwaSignals?: (string|null); /** ContextInfo ctwaPayload */ ctwaPayload?: (Uint8Array|null); /** ContextInfo forwardedAiBotMessageInfo */ forwardedAiBotMessageInfo?: (waproto.IForwardedAIBotMessageInfo|null); /** ContextInfo statusAttributionType */ statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null); /** ContextInfo urlTrackingMap */ urlTrackingMap?: (waproto.IUrlTrackingMap|null); /** ContextInfo pairedMediaType */ pairedMediaType?: (waproto.ContextInfo.PairedMediaType|null); /** ContextInfo rankingVersion */ rankingVersion?: (number|null); /** ContextInfo memberLabel */ memberLabel?: (waproto.IMemberLabel|null); /** ContextInfo isQuestion */ isQuestion?: (boolean|null); /** ContextInfo statusSourceType */ statusSourceType?: (waproto.ContextInfo.StatusSourceType|null); /** ContextInfo statusAttributions */ statusAttributions?: (waproto.IStatusAttribution[]|null); /** ContextInfo isGroupStatus */ isGroupStatus?: (boolean|null); /** ContextInfo forwardOrigin */ forwardOrigin?: (waproto.ContextInfo.ForwardOrigin|null); /** ContextInfo questionReplyQuotedMessage */ questionReplyQuotedMessage?: (waproto.ContextInfo.IQuestionReplyQuotedMessage|null); /** ContextInfo statusAudienceMetadata */ statusAudienceMetadata?: (waproto.ContextInfo.IStatusAudienceMetadata|null); /** ContextInfo nonJidMentions */ nonJidMentions?: (number|null); /** ContextInfo quotedType */ quotedType?: (waproto.ContextInfo.QuotedType|null); /** ContextInfo botMessageSharingInfo */ botMessageSharingInfo?: (waproto.IBotMessageSharingInfo|null); /** ContextInfo isSpoiler */ isSpoiler?: (boolean|null); /** ContextInfo mediaDomainInfo */ mediaDomainInfo?: (waproto.IMediaDomainInfo|null); /** ContextInfo partiallySelectedContent */ partiallySelectedContent?: (waproto.ContextInfo.IPartiallySelectedContent|null); /** ContextInfo afterReadDuration */ afterReadDuration?: (number|null); /** ContextInfo crossAppSource */ crossAppSource?: (waproto.ContextInfo.CrossAppSource|null); /** ContextInfo businessInteractionPills */ businessInteractionPills?: (waproto.ContextInfo.IBusinessInteractionPills|null); /** ContextInfo posterStatusId */ posterStatusId?: (string|null); /** ContextInfo instagramThreadLink */ instagramThreadLink?: (waproto.ContextInfo.IInstagramThreadLink|null); /** ContextInfo aiProvenance */ aiProvenance?: (waproto.IAIProvenance|null); /** ContextInfo experienceIds */ experienceIds?: (number[]|null); /** ContextInfo partnerDeepLinkToken */ partnerDeepLinkToken?: (string|null); } /** Represents a ContextInfo. */ class ContextInfo implements IContextInfo { /** * Constructs a new ContextInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IContextInfo); /** ContextInfo stanzaId. */ public stanzaId?: (string|null); /** ContextInfo participant. */ public participant?: (string|null); /** ContextInfo quotedMessage. */ public quotedMessage?: (waproto.IMessage|null); /** ContextInfo remoteJid. */ public remoteJid?: (string|null); /** ContextInfo mentionedJid. */ public mentionedJid: string[]; /** ContextInfo conversionSource. */ public conversionSource?: (string|null); /** ContextInfo conversionData. */ public conversionData?: (Uint8Array|null); /** ContextInfo conversionDelaySeconds. */ public conversionDelaySeconds?: (number|null); /** ContextInfo forwardingScore. */ public forwardingScore?: (number|null); /** ContextInfo isForwarded. */ public isForwarded?: (boolean|null); /** ContextInfo quotedAd. */ public quotedAd?: (waproto.ContextInfo.IAdReplyInfo|null); /** ContextInfo placeholderKey. */ public placeholderKey?: (waproto.IMessageKey|null); /** ContextInfo expiration. */ public expiration?: (number|null); /** ContextInfo ephemeralSettingTimestamp. */ public ephemeralSettingTimestamp?: (number|Long|null); /** ContextInfo ephemeralSharedSecret. */ public ephemeralSharedSecret?: (Uint8Array|null); /** ContextInfo externalAdReply. */ public externalAdReply?: (waproto.ContextInfo.IExternalAdReplyInfo|null); /** ContextInfo entryPointConversionSource. */ public entryPointConversionSource?: (string|null); /** ContextInfo entryPointConversionApp. */ public entryPointConversionApp?: (string|null); /** ContextInfo entryPointConversionDelaySeconds. */ public entryPointConversionDelaySeconds?: (number|null); /** ContextInfo disappearingMode. */ public disappearingMode?: (waproto.IDisappearingMode|null); /** ContextInfo actionLink. */ public actionLink?: (waproto.IActionLink|null); /** ContextInfo groupSubject. */ public groupSubject?: (string|null); /** ContextInfo parentGroupJid. */ public parentGroupJid?: (string|null); /** ContextInfo trustBannerType. */ public trustBannerType?: (string|null); /** ContextInfo trustBannerAction. */ public trustBannerAction?: (number|null); /** ContextInfo isSampled. */ public isSampled?: (boolean|null); /** ContextInfo groupMentions. */ public groupMentions: waproto.IGroupMention[]; /** ContextInfo utm. */ public utm?: (waproto.ContextInfo.IUTMInfo|null); /** ContextInfo forwardedNewsletterMessageInfo. */ public forwardedNewsletterMessageInfo?: (waproto.ContextInfo.IForwardedNewsletterMessageInfo|null); /** ContextInfo businessMessageForwardInfo. */ public businessMessageForwardInfo?: (waproto.ContextInfo.IBusinessMessageForwardInfo|null); /** ContextInfo smbClientCampaignId. */ public smbClientCampaignId?: (string|null); /** ContextInfo smbServerCampaignId. */ public smbServerCampaignId?: (string|null); /** ContextInfo dataSharingContext. */ public dataSharingContext?: (waproto.ContextInfo.IDataSharingContext|null); /** ContextInfo alwaysShowAdAttribution. */ public alwaysShowAdAttribution?: (boolean|null); /** ContextInfo featureEligibilities. */ public featureEligibilities?: (waproto.ContextInfo.IFeatureEligibilities|null); /** ContextInfo entryPointConversionExternalSource. */ public entryPointConversionExternalSource?: (string|null); /** ContextInfo entryPointConversionExternalMedium. */ public entryPointConversionExternalMedium?: (string|null); /** ContextInfo ctwaSignals. */ public ctwaSignals?: (string|null); /** ContextInfo ctwaPayload. */ public ctwaPayload?: (Uint8Array|null); /** ContextInfo forwardedAiBotMessageInfo. */ public forwardedAiBotMessageInfo?: (waproto.IForwardedAIBotMessageInfo|null); /** ContextInfo statusAttributionType. */ public statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null); /** ContextInfo urlTrackingMap. */ public urlTrackingMap?: (waproto.IUrlTrackingMap|null); /** ContextInfo pairedMediaType. */ public pairedMediaType?: (waproto.ContextInfo.PairedMediaType|null); /** ContextInfo rankingVersion. */ public rankingVersion?: (number|null); /** ContextInfo memberLabel. */ public memberLabel?: (waproto.IMemberLabel|null); /** ContextInfo isQuestion. */ public isQuestion?: (boolean|null); /** ContextInfo statusSourceType. */ public statusSourceType?: (waproto.ContextInfo.StatusSourceType|null); /** ContextInfo statusAttributions. */ public statusAttributions: waproto.IStatusAttribution[]; /** ContextInfo isGroupStatus. */ public isGroupStatus?: (boolean|null); /** ContextInfo forwardOrigin. */ public forwardOrigin?: (waproto.ContextInfo.ForwardOrigin|null); /** ContextInfo questionReplyQuotedMessage. */ public questionReplyQuotedMessage?: (waproto.ContextInfo.IQuestionReplyQuotedMessage|null); /** ContextInfo statusAudienceMetadata. */ public statusAudienceMetadata?: (waproto.ContextInfo.IStatusAudienceMetadata|null); /** ContextInfo nonJidMentions. */ public nonJidMentions?: (number|null); /** ContextInfo quotedType. */ public quotedType?: (waproto.ContextInfo.QuotedType|null); /** ContextInfo botMessageSharingInfo. */ public botMessageSharingInfo?: (waproto.IBotMessageSharingInfo|null); /** ContextInfo isSpoiler. */ public isSpoiler?: (boolean|null); /** ContextInfo mediaDomainInfo. */ public mediaDomainInfo?: (waproto.IMediaDomainInfo|null); /** ContextInfo partiallySelectedContent. */ public partiallySelectedContent?: (waproto.ContextInfo.IPartiallySelectedContent|null); /** ContextInfo afterReadDuration. */ public afterReadDuration?: (number|null); /** ContextInfo crossAppSource. */ public crossAppSource?: (waproto.ContextInfo.CrossAppSource|null); /** ContextInfo businessInteractionPills. */ public businessInteractionPills?: (waproto.ContextInfo.IBusinessInteractionPills|null); /** ContextInfo posterStatusId. */ public posterStatusId?: (string|null); /** ContextInfo instagramThreadLink. */ public instagramThreadLink?: (waproto.ContextInfo.IInstagramThreadLink|null); /** ContextInfo aiProvenance. */ public aiProvenance?: (waproto.IAIProvenance|null); /** ContextInfo experienceIds. */ public experienceIds: number[]; /** ContextInfo partnerDeepLinkToken. */ public partnerDeepLinkToken?: (string|null); /** * Creates a new ContextInfo instance using the specified properties. * @param [properties] Properties to set * @returns ContextInfo instance */ public static create(properties?: waproto.IContextInfo): waproto.ContextInfo; /** * Encodes the specified ContextInfo message. Does not implicitly {@link waproto.ContextInfo.verify|verify} messages. * @param message ContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContextInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.verify|verify} messages. * @param message ContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContextInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo; /** * Decodes a ContextInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo; /** * Verifies a ContextInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContextInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContextInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo; /** * Creates a plain object from a ContextInfo message. Also converts values to other types if specified. * @param message ContextInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContextInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContextInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ContextInfo { /** CrossAppSource enum. */ enum CrossAppSource { CROSS_APP_SOURCE_UNKNOWN = 0, CROSS_APP_SOURCE_INSTAGRAM = 1, CROSS_APP_SOURCE_FACEBOOK = 2 } /** QuotedType enum. */ enum QuotedType { EXPLICIT = 0, AUTO = 1 } /** ForwardOrigin enum. */ enum ForwardOrigin { UNKNOWN = 0, CHAT = 1, STATUS = 2, CHANNELS = 3, META_AI = 4, UGC = 5 } /** StatusSourceType enum. */ enum StatusSourceType { IMAGE = 0, VIDEO = 1, GIF = 2, AUDIO = 3, TEXT = 4, MUSIC_STANDALONE = 5 } /** PairedMediaType enum. */ enum PairedMediaType { NOT_PAIRED_MEDIA = 0, SD_VIDEO_PARENT = 1, HD_VIDEO_CHILD = 2, SD_IMAGE_PARENT = 3, HD_IMAGE_CHILD = 4, MOTION_PHOTO_PARENT = 5, MOTION_PHOTO_CHILD = 6, HEVC_VIDEO_PARENT = 7, HEVC_VIDEO_CHILD = 8 } /** StatusAttributionType enum. */ enum StatusAttributionType { NONE = 0, RESHARED_FROM_MENTION = 1, RESHARED_FROM_POST = 2, RESHARED_FROM_POST_MANY_TIMES = 3, FORWARDED_FROM_STATUS = 4 } /** Properties of an InstagramThreadLink. */ interface IInstagramThreadLink { /** InstagramThreadLink url */ url?: (string|null); } /** Represents an InstagramThreadLink. */ class InstagramThreadLink implements IInstagramThreadLink { /** * Constructs a new InstagramThreadLink. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IInstagramThreadLink); /** InstagramThreadLink url. */ public url?: (string|null); /** * Creates a new InstagramThreadLink instance using the specified properties. * @param [properties] Properties to set * @returns InstagramThreadLink instance */ public static create(properties?: waproto.ContextInfo.IInstagramThreadLink): waproto.ContextInfo.InstagramThreadLink; /** * Encodes the specified InstagramThreadLink message. Does not implicitly {@link waproto.ContextInfo.InstagramThreadLink.verify|verify} messages. * @param message InstagramThreadLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IInstagramThreadLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InstagramThreadLink message, length delimited. Does not implicitly {@link waproto.ContextInfo.InstagramThreadLink.verify|verify} messages. * @param message InstagramThreadLink message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IInstagramThreadLink, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InstagramThreadLink message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InstagramThreadLink * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.InstagramThreadLink; /** * Decodes an InstagramThreadLink message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InstagramThreadLink * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.InstagramThreadLink; /** * Verifies an InstagramThreadLink message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InstagramThreadLink message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InstagramThreadLink */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.InstagramThreadLink; /** * Creates a plain object from an InstagramThreadLink message. Also converts values to other types if specified. * @param message InstagramThreadLink * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.InstagramThreadLink, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InstagramThreadLink to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InstagramThreadLink * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessInteractionPills. */ interface IBusinessInteractionPills { /** BusinessInteractionPills businessJid */ businessJid?: (string|null); /** BusinessInteractionPills pills */ pills?: (waproto.ContextInfo.BusinessInteractionPills.IPill[]|null); /** BusinessInteractionPills entryPoint */ entryPoint?: (waproto.ContextInfo.BusinessInteractionPills.EntryPoint|null); /** BusinessInteractionPills signedPayload */ signedPayload?: (Uint8Array|null); /** BusinessInteractionPills signatureEnvelope */ signatureEnvelope?: (waproto.IBotSignatureVerificationMetadata|null); /** BusinessInteractionPills unauthenticatedBusinessMetadata */ unauthenticatedBusinessMetadata?: (waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata|null); } /** Represents a BusinessInteractionPills. */ class BusinessInteractionPills implements IBusinessInteractionPills { /** * Constructs a new BusinessInteractionPills. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IBusinessInteractionPills); /** BusinessInteractionPills businessJid. */ public businessJid?: (string|null); /** BusinessInteractionPills pills. */ public pills: waproto.ContextInfo.BusinessInteractionPills.IPill[]; /** BusinessInteractionPills entryPoint. */ public entryPoint?: (waproto.ContextInfo.BusinessInteractionPills.EntryPoint|null); /** BusinessInteractionPills signedPayload. */ public signedPayload?: (Uint8Array|null); /** BusinessInteractionPills signatureEnvelope. */ public signatureEnvelope?: (waproto.IBotSignatureVerificationMetadata|null); /** BusinessInteractionPills unauthenticatedBusinessMetadata. */ public unauthenticatedBusinessMetadata?: (waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata|null); /** * Creates a new BusinessInteractionPills instance using the specified properties. * @param [properties] Properties to set * @returns BusinessInteractionPills instance */ public static create(properties?: waproto.ContextInfo.IBusinessInteractionPills): waproto.ContextInfo.BusinessInteractionPills; /** * Encodes the specified BusinessInteractionPills message. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.verify|verify} messages. * @param message BusinessInteractionPills message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IBusinessInteractionPills, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessInteractionPills message, length delimited. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.verify|verify} messages. * @param message BusinessInteractionPills message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IBusinessInteractionPills, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessInteractionPills message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessInteractionPills * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.BusinessInteractionPills; /** * Decodes a BusinessInteractionPills message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessInteractionPills * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.BusinessInteractionPills; /** * Verifies a BusinessInteractionPills message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessInteractionPills message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessInteractionPills */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.BusinessInteractionPills; /** * Creates a plain object from a BusinessInteractionPills message. Also converts values to other types if specified. * @param message BusinessInteractionPills * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.BusinessInteractionPills, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessInteractionPills to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessInteractionPills * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BusinessInteractionPills { /** EntryPoint enum. */ enum EntryPoint { ENTRY_POINT_UNKNOWN = 0, P2P_LINK_SHARE = 1, CONTACT_CARD_SHARING = 2, PHONE_NUMBER = 3, STATUS = 4, IN_THREAD_CONTEXT_CARD = 5 } /** PillType enum. */ enum PillType { UNKNOWN = 0, VIEW_BUSINESS = 1, CHAT = 2, CALL = 3, CATALOG = 4, CHANNEL = 5, BOOK_APPOINTMENT = 6, OFFERS = 7, BESTSELLERS = 8, MENU = 9, ABOUT = 10, SHOP = 11, ORDER = 12 } /** Properties of an UnauthenticatedBusinessMetadata. */ interface IUnauthenticatedBusinessMetadata { /** UnauthenticatedBusinessMetadata businessName */ businessName?: (string|null); /** UnauthenticatedBusinessMetadata businessCategory */ businessCategory?: (string|null); /** UnauthenticatedBusinessMetadata businessIsOpen */ businessIsOpen?: (boolean|null); /** UnauthenticatedBusinessMetadata businessIsOpenSnapshotMs */ businessIsOpenSnapshotMs?: (number|Long|null); } /** Represents an UnauthenticatedBusinessMetadata. */ class UnauthenticatedBusinessMetadata implements IUnauthenticatedBusinessMetadata { /** * Constructs a new UnauthenticatedBusinessMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata); /** UnauthenticatedBusinessMetadata businessName. */ public businessName?: (string|null); /** UnauthenticatedBusinessMetadata businessCategory. */ public businessCategory?: (string|null); /** UnauthenticatedBusinessMetadata businessIsOpen. */ public businessIsOpen?: (boolean|null); /** UnauthenticatedBusinessMetadata businessIsOpenSnapshotMs. */ public businessIsOpenSnapshotMs?: (number|Long|null); /** * Creates a new UnauthenticatedBusinessMetadata instance using the specified properties. * @param [properties] Properties to set * @returns UnauthenticatedBusinessMetadata instance */ public static create(properties?: waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata): waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata; /** * Encodes the specified UnauthenticatedBusinessMetadata message. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata.verify|verify} messages. * @param message UnauthenticatedBusinessMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnauthenticatedBusinessMetadata message, length delimited. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata.verify|verify} messages. * @param message UnauthenticatedBusinessMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.BusinessInteractionPills.IUnauthenticatedBusinessMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnauthenticatedBusinessMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnauthenticatedBusinessMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata; /** * Decodes an UnauthenticatedBusinessMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnauthenticatedBusinessMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata; /** * Verifies an UnauthenticatedBusinessMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnauthenticatedBusinessMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnauthenticatedBusinessMetadata */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata; /** * Creates a plain object from an UnauthenticatedBusinessMetadata message. Also converts values to other types if specified. * @param message UnauthenticatedBusinessMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.BusinessInteractionPills.UnauthenticatedBusinessMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnauthenticatedBusinessMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnauthenticatedBusinessMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SignedPayload. */ interface ISignedPayload { /** SignedPayload verifiedName */ verifiedName?: (string|null); /** SignedPayload pills */ pills?: (waproto.ContextInfo.BusinessInteractionPills.IPill[]|null); } /** Represents a SignedPayload. */ class SignedPayload implements ISignedPayload { /** * Constructs a new SignedPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.BusinessInteractionPills.ISignedPayload); /** SignedPayload verifiedName. */ public verifiedName?: (string|null); /** SignedPayload pills. */ public pills: waproto.ContextInfo.BusinessInteractionPills.IPill[]; /** * Creates a new SignedPayload instance using the specified properties. * @param [properties] Properties to set * @returns SignedPayload instance */ public static create(properties?: waproto.ContextInfo.BusinessInteractionPills.ISignedPayload): waproto.ContextInfo.BusinessInteractionPills.SignedPayload; /** * Encodes the specified SignedPayload message. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.SignedPayload.verify|verify} messages. * @param message SignedPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.BusinessInteractionPills.ISignedPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignedPayload message, length delimited. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.SignedPayload.verify|verify} messages. * @param message SignedPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.BusinessInteractionPills.ISignedPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignedPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignedPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.BusinessInteractionPills.SignedPayload; /** * Decodes a SignedPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignedPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.BusinessInteractionPills.SignedPayload; /** * Verifies a SignedPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignedPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignedPayload */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.BusinessInteractionPills.SignedPayload; /** * Creates a plain object from a SignedPayload message. Also converts values to other types if specified. * @param message SignedPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.BusinessInteractionPills.SignedPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignedPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SignedPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Pill. */ interface IPill { /** Pill pillType */ pillType?: (waproto.ContextInfo.BusinessInteractionPills.PillType|null); /** Pill actionUrl */ actionUrl?: (string|null); } /** Represents a Pill. */ class Pill implements IPill { /** * Constructs a new Pill. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.BusinessInteractionPills.IPill); /** Pill pillType. */ public pillType?: (waproto.ContextInfo.BusinessInteractionPills.PillType|null); /** Pill actionUrl. */ public actionUrl?: (string|null); /** * Creates a new Pill instance using the specified properties. * @param [properties] Properties to set * @returns Pill instance */ public static create(properties?: waproto.ContextInfo.BusinessInteractionPills.IPill): waproto.ContextInfo.BusinessInteractionPills.Pill; /** * Encodes the specified Pill message. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.Pill.verify|verify} messages. * @param message Pill message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.BusinessInteractionPills.IPill, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Pill message, length delimited. Does not implicitly {@link waproto.ContextInfo.BusinessInteractionPills.Pill.verify|verify} messages. * @param message Pill message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.BusinessInteractionPills.IPill, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Pill message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Pill * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.BusinessInteractionPills.Pill; /** * Decodes a Pill message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Pill * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.BusinessInteractionPills.Pill; /** * Verifies a Pill message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Pill message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pill */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.BusinessInteractionPills.Pill; /** * Creates a plain object from a Pill message. Also converts values to other types if specified. * @param message Pill * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.BusinessInteractionPills.Pill, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pill to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Pill * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a StatusAudienceMetadata. */ interface IStatusAudienceMetadata { /** StatusAudienceMetadata audienceType */ audienceType?: (waproto.ContextInfo.StatusAudienceMetadata.AudienceType|null); /** StatusAudienceMetadata listName */ listName?: (string|null); /** StatusAudienceMetadata listEmoji */ listEmoji?: (string|null); } /** Represents a StatusAudienceMetadata. */ class StatusAudienceMetadata implements IStatusAudienceMetadata { /** * Constructs a new StatusAudienceMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IStatusAudienceMetadata); /** StatusAudienceMetadata audienceType. */ public audienceType?: (waproto.ContextInfo.StatusAudienceMetadata.AudienceType|null); /** StatusAudienceMetadata listName. */ public listName?: (string|null); /** StatusAudienceMetadata listEmoji. */ public listEmoji?: (string|null); /** * Creates a new StatusAudienceMetadata instance using the specified properties. * @param [properties] Properties to set * @returns StatusAudienceMetadata instance */ public static create(properties?: waproto.ContextInfo.IStatusAudienceMetadata): waproto.ContextInfo.StatusAudienceMetadata; /** * Encodes the specified StatusAudienceMetadata message. Does not implicitly {@link waproto.ContextInfo.StatusAudienceMetadata.verify|verify} messages. * @param message StatusAudienceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IStatusAudienceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusAudienceMetadata message, length delimited. Does not implicitly {@link waproto.ContextInfo.StatusAudienceMetadata.verify|verify} messages. * @param message StatusAudienceMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IStatusAudienceMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusAudienceMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusAudienceMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.StatusAudienceMetadata; /** * Decodes a StatusAudienceMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusAudienceMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.StatusAudienceMetadata; /** * Verifies a StatusAudienceMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusAudienceMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusAudienceMetadata */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.StatusAudienceMetadata; /** * Creates a plain object from a StatusAudienceMetadata message. Also converts values to other types if specified. * @param message StatusAudienceMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.StatusAudienceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusAudienceMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusAudienceMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusAudienceMetadata { /** AudienceType enum. */ enum AudienceType { UNKNOWN = 0, CLOSE_FRIENDS = 1 } } /** Properties of a PartiallySelectedContent. */ interface IPartiallySelectedContent { /** PartiallySelectedContent text */ text?: (string|null); } /** Represents a PartiallySelectedContent. */ class PartiallySelectedContent implements IPartiallySelectedContent { /** * Constructs a new PartiallySelectedContent. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IPartiallySelectedContent); /** PartiallySelectedContent text. */ public text?: (string|null); /** * Creates a new PartiallySelectedContent instance using the specified properties. * @param [properties] Properties to set * @returns PartiallySelectedContent instance */ public static create(properties?: waproto.ContextInfo.IPartiallySelectedContent): waproto.ContextInfo.PartiallySelectedContent; /** * Encodes the specified PartiallySelectedContent message. Does not implicitly {@link waproto.ContextInfo.PartiallySelectedContent.verify|verify} messages. * @param message PartiallySelectedContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IPartiallySelectedContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PartiallySelectedContent message, length delimited. Does not implicitly {@link waproto.ContextInfo.PartiallySelectedContent.verify|verify} messages. * @param message PartiallySelectedContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IPartiallySelectedContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PartiallySelectedContent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PartiallySelectedContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.PartiallySelectedContent; /** * Decodes a PartiallySelectedContent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PartiallySelectedContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.PartiallySelectedContent; /** * Verifies a PartiallySelectedContent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PartiallySelectedContent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PartiallySelectedContent */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.PartiallySelectedContent; /** * Creates a plain object from a PartiallySelectedContent message. Also converts values to other types if specified. * @param message PartiallySelectedContent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.PartiallySelectedContent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PartiallySelectedContent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PartiallySelectedContent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FeatureEligibilities. */ interface IFeatureEligibilities { /** FeatureEligibilities cannotBeReactedTo */ cannotBeReactedTo?: (boolean|null); /** FeatureEligibilities cannotBeRanked */ cannotBeRanked?: (boolean|null); /** FeatureEligibilities canRequestFeedback */ canRequestFeedback?: (boolean|null); /** FeatureEligibilities canBeReshared */ canBeReshared?: (boolean|null); /** FeatureEligibilities canReceiveMultiReact */ canReceiveMultiReact?: (boolean|null); } /** Represents a FeatureEligibilities. */ class FeatureEligibilities implements IFeatureEligibilities { /** * Constructs a new FeatureEligibilities. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IFeatureEligibilities); /** FeatureEligibilities cannotBeReactedTo. */ public cannotBeReactedTo?: (boolean|null); /** FeatureEligibilities cannotBeRanked. */ public cannotBeRanked?: (boolean|null); /** FeatureEligibilities canRequestFeedback. */ public canRequestFeedback?: (boolean|null); /** FeatureEligibilities canBeReshared. */ public canBeReshared?: (boolean|null); /** FeatureEligibilities canReceiveMultiReact. */ public canReceiveMultiReact?: (boolean|null); /** * Creates a new FeatureEligibilities instance using the specified properties. * @param [properties] Properties to set * @returns FeatureEligibilities instance */ public static create(properties?: waproto.ContextInfo.IFeatureEligibilities): waproto.ContextInfo.FeatureEligibilities; /** * Encodes the specified FeatureEligibilities message. Does not implicitly {@link waproto.ContextInfo.FeatureEligibilities.verify|verify} messages. * @param message FeatureEligibilities message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IFeatureEligibilities, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FeatureEligibilities message, length delimited. Does not implicitly {@link waproto.ContextInfo.FeatureEligibilities.verify|verify} messages. * @param message FeatureEligibilities message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IFeatureEligibilities, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FeatureEligibilities message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FeatureEligibilities * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.FeatureEligibilities; /** * Decodes a FeatureEligibilities message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FeatureEligibilities * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.FeatureEligibilities; /** * Verifies a FeatureEligibilities message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FeatureEligibilities message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FeatureEligibilities */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.FeatureEligibilities; /** * Creates a plain object from a FeatureEligibilities message. Also converts values to other types if specified. * @param message FeatureEligibilities * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.FeatureEligibilities, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FeatureEligibilities to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FeatureEligibilities * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DataSharingContext. */ interface IDataSharingContext { /** DataSharingContext showMmDisclosure */ showMmDisclosure?: (boolean|null); /** DataSharingContext encryptedSignalTokenConsented */ encryptedSignalTokenConsented?: (string|null); /** DataSharingContext parameters */ parameters?: (waproto.ContextInfo.DataSharingContext.IParameters[]|null); /** DataSharingContext dataSharingFlags */ dataSharingFlags?: (number|null); } /** Represents a DataSharingContext. */ class DataSharingContext implements IDataSharingContext { /** * Constructs a new DataSharingContext. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IDataSharingContext); /** DataSharingContext showMmDisclosure. */ public showMmDisclosure?: (boolean|null); /** DataSharingContext encryptedSignalTokenConsented. */ public encryptedSignalTokenConsented?: (string|null); /** DataSharingContext parameters. */ public parameters: waproto.ContextInfo.DataSharingContext.IParameters[]; /** DataSharingContext dataSharingFlags. */ public dataSharingFlags?: (number|null); /** * Creates a new DataSharingContext instance using the specified properties. * @param [properties] Properties to set * @returns DataSharingContext instance */ public static create(properties?: waproto.ContextInfo.IDataSharingContext): waproto.ContextInfo.DataSharingContext; /** * Encodes the specified DataSharingContext message. Does not implicitly {@link waproto.ContextInfo.DataSharingContext.verify|verify} messages. * @param message DataSharingContext message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IDataSharingContext, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DataSharingContext message, length delimited. Does not implicitly {@link waproto.ContextInfo.DataSharingContext.verify|verify} messages. * @param message DataSharingContext message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IDataSharingContext, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DataSharingContext message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DataSharingContext * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.DataSharingContext; /** * Decodes a DataSharingContext message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DataSharingContext * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.DataSharingContext; /** * Verifies a DataSharingContext message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DataSharingContext message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DataSharingContext */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.DataSharingContext; /** * Creates a plain object from a DataSharingContext message. Also converts values to other types if specified. * @param message DataSharingContext * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.DataSharingContext, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DataSharingContext to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DataSharingContext * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DataSharingContext { /** DataSharingFlags enum. */ enum DataSharingFlags { SHOW_MM_DISCLOSURE_ON_CLICK = 1, SHOW_MM_DISCLOSURE_ON_READ = 2 } /** Properties of a Parameters. */ interface IParameters { /** Parameters key */ key?: (string|null); /** Parameters stringData */ stringData?: (string|null); /** Parameters intData */ intData?: (number|Long|null); /** Parameters floatData */ floatData?: (number|null); /** Parameters contents */ contents?: (waproto.ContextInfo.DataSharingContext.IParameters|null); } /** Represents a Parameters. */ class Parameters implements IParameters { /** * Constructs a new Parameters. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.DataSharingContext.IParameters); /** Parameters key. */ public key?: (string|null); /** Parameters stringData. */ public stringData?: (string|null); /** Parameters intData. */ public intData?: (number|Long|null); /** Parameters floatData. */ public floatData?: (number|null); /** Parameters contents. */ public contents?: (waproto.ContextInfo.DataSharingContext.IParameters|null); /** * Creates a new Parameters instance using the specified properties. * @param [properties] Properties to set * @returns Parameters instance */ public static create(properties?: waproto.ContextInfo.DataSharingContext.IParameters): waproto.ContextInfo.DataSharingContext.Parameters; /** * Encodes the specified Parameters message. Does not implicitly {@link waproto.ContextInfo.DataSharingContext.Parameters.verify|verify} messages. * @param message Parameters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.DataSharingContext.IParameters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Parameters message, length delimited. Does not implicitly {@link waproto.ContextInfo.DataSharingContext.Parameters.verify|verify} messages. * @param message Parameters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.DataSharingContext.IParameters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Parameters message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Parameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.DataSharingContext.Parameters; /** * Decodes a Parameters message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Parameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.DataSharingContext.Parameters; /** * Verifies a Parameters message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Parameters message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Parameters */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.DataSharingContext.Parameters; /** * Creates a plain object from a Parameters message. Also converts values to other types if specified. * @param message Parameters * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.DataSharingContext.Parameters, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Parameters to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Parameters * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a QuestionReplyQuotedMessage. */ interface IQuestionReplyQuotedMessage { /** QuestionReplyQuotedMessage serverQuestionId */ serverQuestionId?: (number|null); /** QuestionReplyQuotedMessage quotedQuestion */ quotedQuestion?: (waproto.IMessage|null); /** QuestionReplyQuotedMessage quotedResponse */ quotedResponse?: (waproto.IMessage|null); } /** Represents a QuestionReplyQuotedMessage. */ class QuestionReplyQuotedMessage implements IQuestionReplyQuotedMessage { /** * Constructs a new QuestionReplyQuotedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IQuestionReplyQuotedMessage); /** QuestionReplyQuotedMessage serverQuestionId. */ public serverQuestionId?: (number|null); /** QuestionReplyQuotedMessage quotedQuestion. */ public quotedQuestion?: (waproto.IMessage|null); /** QuestionReplyQuotedMessage quotedResponse. */ public quotedResponse?: (waproto.IMessage|null); /** * Creates a new QuestionReplyQuotedMessage instance using the specified properties. * @param [properties] Properties to set * @returns QuestionReplyQuotedMessage instance */ public static create(properties?: waproto.ContextInfo.IQuestionReplyQuotedMessage): waproto.ContextInfo.QuestionReplyQuotedMessage; /** * Encodes the specified QuestionReplyQuotedMessage message. Does not implicitly {@link waproto.ContextInfo.QuestionReplyQuotedMessage.verify|verify} messages. * @param message QuestionReplyQuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IQuestionReplyQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuestionReplyQuotedMessage message, length delimited. Does not implicitly {@link waproto.ContextInfo.QuestionReplyQuotedMessage.verify|verify} messages. * @param message QuestionReplyQuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IQuestionReplyQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuestionReplyQuotedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuestionReplyQuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.QuestionReplyQuotedMessage; /** * Decodes a QuestionReplyQuotedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuestionReplyQuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.QuestionReplyQuotedMessage; /** * Verifies a QuestionReplyQuotedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuestionReplyQuotedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuestionReplyQuotedMessage */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.QuestionReplyQuotedMessage; /** * Creates a plain object from a QuestionReplyQuotedMessage message. Also converts values to other types if specified. * @param message QuestionReplyQuotedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.QuestionReplyQuotedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuestionReplyQuotedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuestionReplyQuotedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ForwardedNewsletterMessageInfo. */ interface IForwardedNewsletterMessageInfo { /** ForwardedNewsletterMessageInfo newsletterJid */ newsletterJid?: (string|null); /** ForwardedNewsletterMessageInfo serverMessageId */ serverMessageId?: (number|null); /** ForwardedNewsletterMessageInfo newsletterName */ newsletterName?: (string|null); /** ForwardedNewsletterMessageInfo contentType */ contentType?: (waproto.ContextInfo.ForwardedNewsletterMessageInfo.ContentType|null); /** ForwardedNewsletterMessageInfo accessibilityText */ accessibilityText?: (string|null); /** ForwardedNewsletterMessageInfo profileName */ profileName?: (string|null); } /** Represents a ForwardedNewsletterMessageInfo. */ class ForwardedNewsletterMessageInfo implements IForwardedNewsletterMessageInfo { /** * Constructs a new ForwardedNewsletterMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IForwardedNewsletterMessageInfo); /** ForwardedNewsletterMessageInfo newsletterJid. */ public newsletterJid?: (string|null); /** ForwardedNewsletterMessageInfo serverMessageId. */ public serverMessageId?: (number|null); /** ForwardedNewsletterMessageInfo newsletterName. */ public newsletterName?: (string|null); /** ForwardedNewsletterMessageInfo contentType. */ public contentType?: (waproto.ContextInfo.ForwardedNewsletterMessageInfo.ContentType|null); /** ForwardedNewsletterMessageInfo accessibilityText. */ public accessibilityText?: (string|null); /** ForwardedNewsletterMessageInfo profileName. */ public profileName?: (string|null); /** * Creates a new ForwardedNewsletterMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns ForwardedNewsletterMessageInfo instance */ public static create(properties?: waproto.ContextInfo.IForwardedNewsletterMessageInfo): waproto.ContextInfo.ForwardedNewsletterMessageInfo; /** * Encodes the specified ForwardedNewsletterMessageInfo message. Does not implicitly {@link waproto.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages. * @param message ForwardedNewsletterMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ForwardedNewsletterMessageInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.ForwardedNewsletterMessageInfo.verify|verify} messages. * @param message ForwardedNewsletterMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IForwardedNewsletterMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ForwardedNewsletterMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.ForwardedNewsletterMessageInfo; /** * Decodes a ForwardedNewsletterMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ForwardedNewsletterMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.ForwardedNewsletterMessageInfo; /** * Verifies a ForwardedNewsletterMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ForwardedNewsletterMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ForwardedNewsletterMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.ForwardedNewsletterMessageInfo; /** * Creates a plain object from a ForwardedNewsletterMessageInfo message. Also converts values to other types if specified. * @param message ForwardedNewsletterMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.ForwardedNewsletterMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ForwardedNewsletterMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ForwardedNewsletterMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ForwardedNewsletterMessageInfo { /** ContentType enum. */ enum ContentType { UPDATE = 1, UPDATE_CARD = 2, LINK_CARD = 3 } } /** Properties of a UTMInfo. */ interface IUTMInfo { /** UTMInfo utmSource */ utmSource?: (string|null); /** UTMInfo utmCampaign */ utmCampaign?: (string|null); } /** Represents a UTMInfo. */ class UTMInfo implements IUTMInfo { /** * Constructs a new UTMInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IUTMInfo); /** UTMInfo utmSource. */ public utmSource?: (string|null); /** UTMInfo utmCampaign. */ public utmCampaign?: (string|null); /** * Creates a new UTMInfo instance using the specified properties. * @param [properties] Properties to set * @returns UTMInfo instance */ public static create(properties?: waproto.ContextInfo.IUTMInfo): waproto.ContextInfo.UTMInfo; /** * Encodes the specified UTMInfo message. Does not implicitly {@link waproto.ContextInfo.UTMInfo.verify|verify} messages. * @param message UTMInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IUTMInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UTMInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.UTMInfo.verify|verify} messages. * @param message UTMInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IUTMInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UTMInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UTMInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.UTMInfo; /** * Decodes a UTMInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UTMInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.UTMInfo; /** * Verifies a UTMInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UTMInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UTMInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.UTMInfo; /** * Creates a plain object from a UTMInfo message. Also converts values to other types if specified. * @param message UTMInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.UTMInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UTMInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UTMInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExternalAdReplyInfo. */ interface IExternalAdReplyInfo { /** ExternalAdReplyInfo title */ title?: (string|null); /** ExternalAdReplyInfo body */ body?: (string|null); /** ExternalAdReplyInfo mediaType */ mediaType?: (waproto.ContextInfo.ExternalAdReplyInfo.MediaType|null); /** ExternalAdReplyInfo thumbnailUrl */ thumbnailUrl?: (string|null); /** ExternalAdReplyInfo mediaUrl */ mediaUrl?: (string|null); /** ExternalAdReplyInfo thumbnail */ thumbnail?: (Uint8Array|null); /** ExternalAdReplyInfo sourceType */ sourceType?: (string|null); /** ExternalAdReplyInfo sourceId */ sourceId?: (string|null); /** ExternalAdReplyInfo sourceUrl */ sourceUrl?: (string|null); /** ExternalAdReplyInfo containsAutoReply */ containsAutoReply?: (boolean|null); /** ExternalAdReplyInfo renderLargerThumbnail */ renderLargerThumbnail?: (boolean|null); /** ExternalAdReplyInfo showAdAttribution */ showAdAttribution?: (boolean|null); /** ExternalAdReplyInfo ctwaClid */ ctwaClid?: (string|null); /** ExternalAdReplyInfo ref */ ref?: (string|null); /** ExternalAdReplyInfo clickToWhatsappCall */ clickToWhatsappCall?: (boolean|null); /** ExternalAdReplyInfo adContextPreviewDismissed */ adContextPreviewDismissed?: (boolean|null); /** ExternalAdReplyInfo sourceApp */ sourceApp?: (string|null); /** ExternalAdReplyInfo automatedGreetingMessageShown */ automatedGreetingMessageShown?: (boolean|null); /** ExternalAdReplyInfo greetingMessageBody */ greetingMessageBody?: (string|null); /** ExternalAdReplyInfo ctaPayload */ ctaPayload?: (string|null); /** ExternalAdReplyInfo disableNudge */ disableNudge?: (boolean|null); /** ExternalAdReplyInfo originalImageUrl */ originalImageUrl?: (string|null); /** ExternalAdReplyInfo automatedGreetingMessageCtaType */ automatedGreetingMessageCtaType?: (string|null); /** ExternalAdReplyInfo wtwaAdFormat */ wtwaAdFormat?: (boolean|null); /** ExternalAdReplyInfo adType */ adType?: (waproto.ContextInfo.ExternalAdReplyInfo.AdType|null); /** ExternalAdReplyInfo wtwaWebsiteUrl */ wtwaWebsiteUrl?: (string|null); /** ExternalAdReplyInfo adPreviewUrl */ adPreviewUrl?: (string|null); /** ExternalAdReplyInfo containsCtwaFlowsAutoReply */ containsCtwaFlowsAutoReply?: (boolean|null); /** ExternalAdReplyInfo agmThumbnailStrategy */ agmThumbnailStrategy?: (number|null); /** ExternalAdReplyInfo agmTitleStrategy */ agmTitleStrategy?: (number|null); /** ExternalAdReplyInfo agmSubtitleStrategy */ agmSubtitleStrategy?: (number|null); /** ExternalAdReplyInfo agmHeaderInteractionStrategy */ agmHeaderInteractionStrategy?: (number|null); /** ExternalAdReplyInfo containsCtwaFlowsAutoLabel */ containsCtwaFlowsAutoLabel?: (boolean|null); /** ExternalAdReplyInfo productId */ productId?: (string|null); } /** Represents an ExternalAdReplyInfo. */ class ExternalAdReplyInfo implements IExternalAdReplyInfo { /** * Constructs a new ExternalAdReplyInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IExternalAdReplyInfo); /** ExternalAdReplyInfo title. */ public title?: (string|null); /** ExternalAdReplyInfo body. */ public body?: (string|null); /** ExternalAdReplyInfo mediaType. */ public mediaType?: (waproto.ContextInfo.ExternalAdReplyInfo.MediaType|null); /** ExternalAdReplyInfo thumbnailUrl. */ public thumbnailUrl?: (string|null); /** ExternalAdReplyInfo mediaUrl. */ public mediaUrl?: (string|null); /** ExternalAdReplyInfo thumbnail. */ public thumbnail?: (Uint8Array|null); /** ExternalAdReplyInfo sourceType. */ public sourceType?: (string|null); /** ExternalAdReplyInfo sourceId. */ public sourceId?: (string|null); /** ExternalAdReplyInfo sourceUrl. */ public sourceUrl?: (string|null); /** ExternalAdReplyInfo containsAutoReply. */ public containsAutoReply?: (boolean|null); /** ExternalAdReplyInfo renderLargerThumbnail. */ public renderLargerThumbnail?: (boolean|null); /** ExternalAdReplyInfo showAdAttribution. */ public showAdAttribution?: (boolean|null); /** ExternalAdReplyInfo ctwaClid. */ public ctwaClid?: (string|null); /** ExternalAdReplyInfo ref. */ public ref?: (string|null); /** ExternalAdReplyInfo clickToWhatsappCall. */ public clickToWhatsappCall?: (boolean|null); /** ExternalAdReplyInfo adContextPreviewDismissed. */ public adContextPreviewDismissed?: (boolean|null); /** ExternalAdReplyInfo sourceApp. */ public sourceApp?: (string|null); /** ExternalAdReplyInfo automatedGreetingMessageShown. */ public automatedGreetingMessageShown?: (boolean|null); /** ExternalAdReplyInfo greetingMessageBody. */ public greetingMessageBody?: (string|null); /** ExternalAdReplyInfo ctaPayload. */ public ctaPayload?: (string|null); /** ExternalAdReplyInfo disableNudge. */ public disableNudge?: (boolean|null); /** ExternalAdReplyInfo originalImageUrl. */ public originalImageUrl?: (string|null); /** ExternalAdReplyInfo automatedGreetingMessageCtaType. */ public automatedGreetingMessageCtaType?: (string|null); /** ExternalAdReplyInfo wtwaAdFormat. */ public wtwaAdFormat?: (boolean|null); /** ExternalAdReplyInfo adType. */ public adType?: (waproto.ContextInfo.ExternalAdReplyInfo.AdType|null); /** ExternalAdReplyInfo wtwaWebsiteUrl. */ public wtwaWebsiteUrl?: (string|null); /** ExternalAdReplyInfo adPreviewUrl. */ public adPreviewUrl?: (string|null); /** ExternalAdReplyInfo containsCtwaFlowsAutoReply. */ public containsCtwaFlowsAutoReply?: (boolean|null); /** ExternalAdReplyInfo agmThumbnailStrategy. */ public agmThumbnailStrategy?: (number|null); /** ExternalAdReplyInfo agmTitleStrategy. */ public agmTitleStrategy?: (number|null); /** ExternalAdReplyInfo agmSubtitleStrategy. */ public agmSubtitleStrategy?: (number|null); /** ExternalAdReplyInfo agmHeaderInteractionStrategy. */ public agmHeaderInteractionStrategy?: (number|null); /** ExternalAdReplyInfo containsCtwaFlowsAutoLabel. */ public containsCtwaFlowsAutoLabel?: (boolean|null); /** ExternalAdReplyInfo productId. */ public productId?: (string|null); /** * Creates a new ExternalAdReplyInfo instance using the specified properties. * @param [properties] Properties to set * @returns ExternalAdReplyInfo instance */ public static create(properties?: waproto.ContextInfo.IExternalAdReplyInfo): waproto.ContextInfo.ExternalAdReplyInfo; /** * Encodes the specified ExternalAdReplyInfo message. Does not implicitly {@link waproto.ContextInfo.ExternalAdReplyInfo.verify|verify} messages. * @param message ExternalAdReplyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExternalAdReplyInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.ExternalAdReplyInfo.verify|verify} messages. * @param message ExternalAdReplyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IExternalAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExternalAdReplyInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExternalAdReplyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.ExternalAdReplyInfo; /** * Decodes an ExternalAdReplyInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExternalAdReplyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.ExternalAdReplyInfo; /** * Verifies an ExternalAdReplyInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExternalAdReplyInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExternalAdReplyInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.ExternalAdReplyInfo; /** * Creates a plain object from an ExternalAdReplyInfo message. Also converts values to other types if specified. * @param message ExternalAdReplyInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.ExternalAdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExternalAdReplyInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExternalAdReplyInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ExternalAdReplyInfo { /** AdType enum. */ enum AdType { CTWA = 0, CAWC = 1 } /** MediaType enum. */ enum MediaType { NONE = 0, IMAGE = 1, VIDEO = 2 } } /** Properties of an AdReplyInfo. */ interface IAdReplyInfo { /** AdReplyInfo advertiserName */ advertiserName?: (string|null); /** AdReplyInfo mediaType */ mediaType?: (waproto.ContextInfo.AdReplyInfo.MediaType|null); /** AdReplyInfo jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** AdReplyInfo caption */ caption?: (string|null); } /** Represents an AdReplyInfo. */ class AdReplyInfo implements IAdReplyInfo { /** * Constructs a new AdReplyInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IAdReplyInfo); /** AdReplyInfo advertiserName. */ public advertiserName?: (string|null); /** AdReplyInfo mediaType. */ public mediaType?: (waproto.ContextInfo.AdReplyInfo.MediaType|null); /** AdReplyInfo jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** AdReplyInfo caption. */ public caption?: (string|null); /** * Creates a new AdReplyInfo instance using the specified properties. * @param [properties] Properties to set * @returns AdReplyInfo instance */ public static create(properties?: waproto.ContextInfo.IAdReplyInfo): waproto.ContextInfo.AdReplyInfo; /** * Encodes the specified AdReplyInfo message. Does not implicitly {@link waproto.ContextInfo.AdReplyInfo.verify|verify} messages. * @param message AdReplyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AdReplyInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.AdReplyInfo.verify|verify} messages. * @param message AdReplyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IAdReplyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AdReplyInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AdReplyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.AdReplyInfo; /** * Decodes an AdReplyInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AdReplyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.AdReplyInfo; /** * Verifies an AdReplyInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AdReplyInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AdReplyInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.AdReplyInfo; /** * Creates a plain object from an AdReplyInfo message. Also converts values to other types if specified. * @param message AdReplyInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.AdReplyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AdReplyInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AdReplyInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AdReplyInfo { /** MediaType enum. */ enum MediaType { NONE = 0, IMAGE = 1, VIDEO = 2 } } /** Properties of a BusinessMessageForwardInfo. */ interface IBusinessMessageForwardInfo { /** BusinessMessageForwardInfo businessOwnerJid */ businessOwnerJid?: (string|null); } /** Represents a BusinessMessageForwardInfo. */ class BusinessMessageForwardInfo implements IBusinessMessageForwardInfo { /** * Constructs a new BusinessMessageForwardInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.ContextInfo.IBusinessMessageForwardInfo); /** BusinessMessageForwardInfo businessOwnerJid. */ public businessOwnerJid?: (string|null); /** * Creates a new BusinessMessageForwardInfo instance using the specified properties. * @param [properties] Properties to set * @returns BusinessMessageForwardInfo instance */ public static create(properties?: waproto.ContextInfo.IBusinessMessageForwardInfo): waproto.ContextInfo.BusinessMessageForwardInfo; /** * Encodes the specified BusinessMessageForwardInfo message. Does not implicitly {@link waproto.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages. * @param message BusinessMessageForwardInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessMessageForwardInfo message, length delimited. Does not implicitly {@link waproto.ContextInfo.BusinessMessageForwardInfo.verify|verify} messages. * @param message BusinessMessageForwardInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ContextInfo.IBusinessMessageForwardInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessMessageForwardInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessMessageForwardInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ContextInfo.BusinessMessageForwardInfo; /** * Decodes a BusinessMessageForwardInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessMessageForwardInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ContextInfo.BusinessMessageForwardInfo; /** * Verifies a BusinessMessageForwardInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessMessageForwardInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessMessageForwardInfo */ public static fromObject(object: { [k: string]: any }): waproto.ContextInfo.BusinessMessageForwardInfo; /** * Creates a plain object from a BusinessMessageForwardInfo message. Also converts values to other types if specified. * @param message BusinessMessageForwardInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ContextInfo.BusinessMessageForwardInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessMessageForwardInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessMessageForwardInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Conversation. */ interface IConversation { /** Conversation id */ id?: (string|null); /** Conversation messages */ messages?: (waproto.IHistorySyncMsg[]|null); /** Conversation newJid */ newJid?: (string|null); /** Conversation oldJid */ oldJid?: (string|null); /** Conversation lastMsgTimestamp */ lastMsgTimestamp?: (number|Long|null); /** Conversation unreadCount */ unreadCount?: (number|null); /** Conversation readOnly */ readOnly?: (boolean|null); /** Conversation endOfHistoryTransfer */ endOfHistoryTransfer?: (boolean|null); /** Conversation ephemeralExpiration */ ephemeralExpiration?: (number|null); /** Conversation ephemeralSettingTimestamp */ ephemeralSettingTimestamp?: (number|Long|null); /** Conversation endOfHistoryTransferType */ endOfHistoryTransferType?: (waproto.Conversation.EndOfHistoryTransferType|null); /** Conversation conversationTimestamp */ conversationTimestamp?: (number|Long|null); /** Conversation name */ name?: (string|null); /** Conversation pHash */ pHash?: (string|null); /** Conversation notSpam */ notSpam?: (boolean|null); /** Conversation archived */ archived?: (boolean|null); /** Conversation disappearingMode */ disappearingMode?: (waproto.IDisappearingMode|null); /** Conversation unreadMentionCount */ unreadMentionCount?: (number|null); /** Conversation markedAsUnread */ markedAsUnread?: (boolean|null); /** Conversation participant */ participant?: (waproto.IGroupParticipant[]|null); /** Conversation tcToken */ tcToken?: (Uint8Array|null); /** Conversation tcTokenTimestamp */ tcTokenTimestamp?: (number|Long|null); /** Conversation contactPrimaryIdentityKey */ contactPrimaryIdentityKey?: (Uint8Array|null); /** Conversation pinned */ pinned?: (number|null); /** Conversation muteEndTime */ muteEndTime?: (number|Long|null); /** Conversation wallpaper */ wallpaper?: (waproto.IWallpaperSettings|null); /** Conversation mediaVisibility */ mediaVisibility?: (waproto.MediaVisibility|null); /** Conversation tcTokenSenderTimestamp */ tcTokenSenderTimestamp?: (number|Long|null); /** Conversation suspended */ suspended?: (boolean|null); /** Conversation terminated */ terminated?: (boolean|null); /** Conversation createdAt */ createdAt?: (number|Long|null); /** Conversation createdBy */ createdBy?: (string|null); /** Conversation description */ description?: (string|null); /** Conversation support */ support?: (boolean|null); /** Conversation isParentGroup */ isParentGroup?: (boolean|null); /** Conversation isDefaultSubgroup */ isDefaultSubgroup?: (boolean|null); /** Conversation parentGroupId */ parentGroupId?: (string|null); /** Conversation displayName */ displayName?: (string|null); /** Conversation pnJid */ pnJid?: (string|null); /** Conversation shareOwnPn */ shareOwnPn?: (boolean|null); /** Conversation pnhDuplicateLidThread */ pnhDuplicateLidThread?: (boolean|null); /** Conversation lidJid */ lidJid?: (string|null); /** Conversation username */ username?: (string|null); /** Conversation lidOriginType */ lidOriginType?: (string|null); /** Conversation commentsCount */ commentsCount?: (number|null); /** Conversation locked */ locked?: (boolean|null); /** Conversation systemMessageToInsert */ systemMessageToInsert?: (waproto.PrivacySystemMessage|null); /** Conversation capiCreatedGroup */ capiCreatedGroup?: (boolean|null); /** Conversation accountLid */ accountLid?: (string|null); /** Conversation limitSharing */ limitSharing?: (boolean|null); /** Conversation limitSharingSettingTimestamp */ limitSharingSettingTimestamp?: (number|Long|null); /** Conversation limitSharingTrigger */ limitSharingTrigger?: (waproto.LimitSharing.Trigger|null); /** Conversation limitSharingInitiatedByMe */ limitSharingInitiatedByMe?: (boolean|null); /** Conversation maibaAiThreadEnabled */ maibaAiThreadEnabled?: (boolean|null); /** Conversation isMarketingMessageThread */ isMarketingMessageThread?: (boolean|null); /** Conversation isSenderNewAccount */ isSenderNewAccount?: (boolean|null); /** Conversation afterReadDuration */ afterReadDuration?: (number|null); /** Conversation isSenderSuspicious */ isSenderSuspicious?: (boolean|null); /** Conversation appealStatus */ appealStatus?: (waproto.Conversation.GroupAppealStatus|null); /** Conversation appealUpdateTime */ appealUpdateTime?: (number|Long|null); /** Conversation authAgentParentCompanyName */ authAgentParentCompanyName?: (string|null); /** Conversation authAgentObaPhoneNumber */ authAgentObaPhoneNumber?: (string|null); /** Conversation identityVerification */ identityVerification?: (waproto.IIdentityVerificationState|null); /** Conversation acp2Setting */ acp2Setting?: (waproto.IACP2Setting|null); } /** Represents a Conversation. */ class Conversation implements IConversation { /** * Constructs a new Conversation. * @param [properties] Properties to set */ constructor(properties?: waproto.IConversation); /** Conversation id. */ public id?: (string|null); /** Conversation messages. */ public messages: waproto.IHistorySyncMsg[]; /** Conversation newJid. */ public newJid?: (string|null); /** Conversation oldJid. */ public oldJid?: (string|null); /** Conversation lastMsgTimestamp. */ public lastMsgTimestamp?: (number|Long|null); /** Conversation unreadCount. */ public unreadCount?: (number|null); /** Conversation readOnly. */ public readOnly?: (boolean|null); /** Conversation endOfHistoryTransfer. */ public endOfHistoryTransfer?: (boolean|null); /** Conversation ephemeralExpiration. */ public ephemeralExpiration?: (number|null); /** Conversation ephemeralSettingTimestamp. */ public ephemeralSettingTimestamp?: (number|Long|null); /** Conversation endOfHistoryTransferType. */ public endOfHistoryTransferType?: (waproto.Conversation.EndOfHistoryTransferType|null); /** Conversation conversationTimestamp. */ public conversationTimestamp?: (number|Long|null); /** Conversation name. */ public name?: (string|null); /** Conversation pHash. */ public pHash?: (string|null); /** Conversation notSpam. */ public notSpam?: (boolean|null); /** Conversation archived. */ public archived?: (boolean|null); /** Conversation disappearingMode. */ public disappearingMode?: (waproto.IDisappearingMode|null); /** Conversation unreadMentionCount. */ public unreadMentionCount?: (number|null); /** Conversation markedAsUnread. */ public markedAsUnread?: (boolean|null); /** Conversation participant. */ public participant: waproto.IGroupParticipant[]; /** Conversation tcToken. */ public tcToken?: (Uint8Array|null); /** Conversation tcTokenTimestamp. */ public tcTokenTimestamp?: (number|Long|null); /** Conversation contactPrimaryIdentityKey. */ public contactPrimaryIdentityKey?: (Uint8Array|null); /** Conversation pinned. */ public pinned?: (number|null); /** Conversation muteEndTime. */ public muteEndTime?: (number|Long|null); /** Conversation wallpaper. */ public wallpaper?: (waproto.IWallpaperSettings|null); /** Conversation mediaVisibility. */ public mediaVisibility?: (waproto.MediaVisibility|null); /** Conversation tcTokenSenderTimestamp. */ public tcTokenSenderTimestamp?: (number|Long|null); /** Conversation suspended. */ public suspended?: (boolean|null); /** Conversation terminated. */ public terminated?: (boolean|null); /** Conversation createdAt. */ public createdAt?: (number|Long|null); /** Conversation createdBy. */ public createdBy?: (string|null); /** Conversation description. */ public description?: (string|null); /** Conversation support. */ public support?: (boolean|null); /** Conversation isParentGroup. */ public isParentGroup?: (boolean|null); /** Conversation isDefaultSubgroup. */ public isDefaultSubgroup?: (boolean|null); /** Conversation parentGroupId. */ public parentGroupId?: (string|null); /** Conversation displayName. */ public displayName?: (string|null); /** Conversation pnJid. */ public pnJid?: (string|null); /** Conversation shareOwnPn. */ public shareOwnPn?: (boolean|null); /** Conversation pnhDuplicateLidThread. */ public pnhDuplicateLidThread?: (boolean|null); /** Conversation lidJid. */ public lidJid?: (string|null); /** Conversation username. */ public username?: (string|null); /** Conversation lidOriginType. */ public lidOriginType?: (string|null); /** Conversation commentsCount. */ public commentsCount?: (number|null); /** Conversation locked. */ public locked?: (boolean|null); /** Conversation systemMessageToInsert. */ public systemMessageToInsert?: (waproto.PrivacySystemMessage|null); /** Conversation capiCreatedGroup. */ public capiCreatedGroup?: (boolean|null); /** Conversation accountLid. */ public accountLid?: (string|null); /** Conversation limitSharing. */ public limitSharing?: (boolean|null); /** Conversation limitSharingSettingTimestamp. */ public limitSharingSettingTimestamp?: (number|Long|null); /** Conversation limitSharingTrigger. */ public limitSharingTrigger?: (waproto.LimitSharing.Trigger|null); /** Conversation limitSharingInitiatedByMe. */ public limitSharingInitiatedByMe?: (boolean|null); /** Conversation maibaAiThreadEnabled. */ public maibaAiThreadEnabled?: (boolean|null); /** Conversation isMarketingMessageThread. */ public isMarketingMessageThread?: (boolean|null); /** Conversation isSenderNewAccount. */ public isSenderNewAccount?: (boolean|null); /** Conversation afterReadDuration. */ public afterReadDuration?: (number|null); /** Conversation isSenderSuspicious. */ public isSenderSuspicious?: (boolean|null); /** Conversation appealStatus. */ public appealStatus?: (waproto.Conversation.GroupAppealStatus|null); /** Conversation appealUpdateTime. */ public appealUpdateTime?: (number|Long|null); /** Conversation authAgentParentCompanyName. */ public authAgentParentCompanyName?: (string|null); /** Conversation authAgentObaPhoneNumber. */ public authAgentObaPhoneNumber?: (string|null); /** Conversation identityVerification. */ public identityVerification?: (waproto.IIdentityVerificationState|null); /** Conversation acp2Setting. */ public acp2Setting?: (waproto.IACP2Setting|null); /** * Creates a new Conversation instance using the specified properties. * @param [properties] Properties to set * @returns Conversation instance */ public static create(properties?: waproto.IConversation): waproto.Conversation; /** * Encodes the specified Conversation message. Does not implicitly {@link waproto.Conversation.verify|verify} messages. * @param message Conversation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IConversation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Conversation message, length delimited. Does not implicitly {@link waproto.Conversation.verify|verify} messages. * @param message Conversation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IConversation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Conversation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Conversation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Conversation; /** * Decodes a Conversation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Conversation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Conversation; /** * Verifies a Conversation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Conversation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Conversation */ public static fromObject(object: { [k: string]: any }): waproto.Conversation; /** * Creates a plain object from a Conversation message. Also converts values to other types if specified. * @param message Conversation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Conversation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Conversation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Conversation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Conversation { /** GroupAppealStatus enum. */ enum GroupAppealStatus { NO_APPEAL = 0, APPEAL_IN_REVIEW = 1, APPEAL_APPROVED = 2, APPEAL_REJECTED = 3 } /** EndOfHistoryTransferType enum. */ enum EndOfHistoryTransferType { COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0, COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1, COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2, COMPLETE_ON_DEMAND_SYNC_WITH_MORE_MSG_ON_PRIMARY_BUT_NO_ACCESS = 3 } } /** Properties of a CreateBackupInput. */ interface ICreateBackupInput { /** CreateBackupInput recoveryCode */ recoveryCode?: (string|null); /** CreateBackupInput userId */ userId?: (number|Long|null); } /** Represents a CreateBackupInput. */ class CreateBackupInput implements ICreateBackupInput { /** * Constructs a new CreateBackupInput. * @param [properties] Properties to set */ constructor(properties?: waproto.ICreateBackupInput); /** CreateBackupInput recoveryCode. */ public recoveryCode?: (string|null); /** CreateBackupInput userId. */ public userId?: (number|Long|null); /** * Creates a new CreateBackupInput instance using the specified properties. * @param [properties] Properties to set * @returns CreateBackupInput instance */ public static create(properties?: waproto.ICreateBackupInput): waproto.CreateBackupInput; /** * Encodes the specified CreateBackupInput message. Does not implicitly {@link waproto.CreateBackupInput.verify|verify} messages. * @param message CreateBackupInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICreateBackupInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateBackupInput message, length delimited. Does not implicitly {@link waproto.CreateBackupInput.verify|verify} messages. * @param message CreateBackupInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICreateBackupInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateBackupInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateBackupInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CreateBackupInput; /** * Decodes a CreateBackupInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateBackupInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CreateBackupInput; /** * Verifies a CreateBackupInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateBackupInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateBackupInput */ public static fromObject(object: { [k: string]: any }): waproto.CreateBackupInput; /** * Creates a plain object from a CreateBackupInput message. Also converts values to other types if specified. * @param message CreateBackupInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CreateBackupInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateBackupInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateBackupInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CreateBackupOutput. */ interface ICreateBackupOutput { /** CreateBackupOutput device */ device?: (waproto.IDeviceOutput|null); /** CreateBackupOutput virtualDevice */ virtualDevice?: (waproto.IVirtualDeviceOutput|null); /** CreateBackupOutput epoch0 */ epoch0?: (waproto.IEpoch0Output|null); /** CreateBackupOutput mailboxRootKey */ mailboxRootKey?: (Uint8Array|null); /** CreateBackupOutput error */ error?: (string|null); } /** Represents a CreateBackupOutput. */ class CreateBackupOutput implements ICreateBackupOutput { /** * Constructs a new CreateBackupOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.ICreateBackupOutput); /** CreateBackupOutput device. */ public device?: (waproto.IDeviceOutput|null); /** CreateBackupOutput virtualDevice. */ public virtualDevice?: (waproto.IVirtualDeviceOutput|null); /** CreateBackupOutput epoch0. */ public epoch0?: (waproto.IEpoch0Output|null); /** CreateBackupOutput mailboxRootKey. */ public mailboxRootKey?: (Uint8Array|null); /** CreateBackupOutput error. */ public error?: (string|null); /** * Creates a new CreateBackupOutput instance using the specified properties. * @param [properties] Properties to set * @returns CreateBackupOutput instance */ public static create(properties?: waproto.ICreateBackupOutput): waproto.CreateBackupOutput; /** * Encodes the specified CreateBackupOutput message. Does not implicitly {@link waproto.CreateBackupOutput.verify|verify} messages. * @param message CreateBackupOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ICreateBackupOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CreateBackupOutput message, length delimited. Does not implicitly {@link waproto.CreateBackupOutput.verify|verify} messages. * @param message CreateBackupOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ICreateBackupOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CreateBackupOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CreateBackupOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CreateBackupOutput; /** * Decodes a CreateBackupOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CreateBackupOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CreateBackupOutput; /** * Verifies a CreateBackupOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CreateBackupOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CreateBackupOutput */ public static fromObject(object: { [k: string]: any }): waproto.CreateBackupOutput; /** * Creates a plain object from a CreateBackupOutput message. Also converts values to other types if specified. * @param message CreateBackupOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.CreateBackupOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CreateBackupOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CreateBackupOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DbAppMetaValuesProto. */ interface IDbAppMetaValuesProto { /** DbAppMetaValuesProto msgTypeVersion */ msgTypeVersion?: (number|null); /** DbAppMetaValuesProto hmacKey */ hmacKey?: (Uint8Array|null); /** DbAppMetaValuesProto allowSecurityAlert */ allowSecurityAlert?: (boolean|null); /** DbAppMetaValuesProto hotlikeSticker */ hotlikeSticker?: (Uint8Array|null); /** DbAppMetaValuesProto isBackfilledForOccamadillo */ isBackfilledForOccamadillo?: (boolean|null); /** DbAppMetaValuesProto allowSecurityAlertForSelf */ allowSecurityAlertForSelf?: (boolean|null); /** DbAppMetaValuesProto hasMigratedFromDexie */ hasMigratedFromDexie?: (boolean|null); /** DbAppMetaValuesProto restoreMigrationAttempts */ restoreMigrationAttempts?: (number|null); /** DbAppMetaValuesProto deviceJid */ deviceJid?: (string|null); /** DbAppMetaValuesProto restoreToDexieMigrationComplete */ restoreToDexieMigrationComplete?: (boolean|null); /** DbAppMetaValuesProto dbMigrationVersion */ dbMigrationVersion?: (number|null); } /** Represents a DbAppMetaValuesProto. */ class DbAppMetaValuesProto implements IDbAppMetaValuesProto { /** * Constructs a new DbAppMetaValuesProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDbAppMetaValuesProto); /** DbAppMetaValuesProto msgTypeVersion. */ public msgTypeVersion?: (number|null); /** DbAppMetaValuesProto hmacKey. */ public hmacKey?: (Uint8Array|null); /** DbAppMetaValuesProto allowSecurityAlert. */ public allowSecurityAlert?: (boolean|null); /** DbAppMetaValuesProto hotlikeSticker. */ public hotlikeSticker?: (Uint8Array|null); /** DbAppMetaValuesProto isBackfilledForOccamadillo. */ public isBackfilledForOccamadillo?: (boolean|null); /** DbAppMetaValuesProto allowSecurityAlertForSelf. */ public allowSecurityAlertForSelf?: (boolean|null); /** DbAppMetaValuesProto hasMigratedFromDexie. */ public hasMigratedFromDexie?: (boolean|null); /** DbAppMetaValuesProto restoreMigrationAttempts. */ public restoreMigrationAttempts?: (number|null); /** DbAppMetaValuesProto deviceJid. */ public deviceJid?: (string|null); /** DbAppMetaValuesProto restoreToDexieMigrationComplete. */ public restoreToDexieMigrationComplete?: (boolean|null); /** DbAppMetaValuesProto dbMigrationVersion. */ public dbMigrationVersion?: (number|null); /** * Creates a new DbAppMetaValuesProto instance using the specified properties. * @param [properties] Properties to set * @returns DbAppMetaValuesProto instance */ public static create(properties?: waproto.IDbAppMetaValuesProto): waproto.DbAppMetaValuesProto; /** * Encodes the specified DbAppMetaValuesProto message. Does not implicitly {@link waproto.DbAppMetaValuesProto.verify|verify} messages. * @param message DbAppMetaValuesProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDbAppMetaValuesProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DbAppMetaValuesProto message, length delimited. Does not implicitly {@link waproto.DbAppMetaValuesProto.verify|verify} messages. * @param message DbAppMetaValuesProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDbAppMetaValuesProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DbAppMetaValuesProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DbAppMetaValuesProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DbAppMetaValuesProto; /** * Decodes a DbAppMetaValuesProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DbAppMetaValuesProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DbAppMetaValuesProto; /** * Verifies a DbAppMetaValuesProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DbAppMetaValuesProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DbAppMetaValuesProto */ public static fromObject(object: { [k: string]: any }): waproto.DbAppMetaValuesProto; /** * Creates a plain object from a DbAppMetaValuesProto message. Also converts values to other types if specified. * @param message DbAppMetaValuesProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DbAppMetaValuesProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DbAppMetaValuesProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DbAppMetaValuesProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DbQuotedMsgContentProto. */ interface IDbQuotedMsgContentProto { /** DbQuotedMsgContentProto type */ type?: (string|null); /** DbQuotedMsgContentProto ts */ ts?: (number|Long|null); /** DbQuotedMsgContentProto externalId */ externalId?: (string|null); /** DbQuotedMsgContentProto author */ author?: (string|null); /** DbQuotedMsgContentProto msgContent */ msgContent?: (waproto.IMsgContentProto|null); /** DbQuotedMsgContentProto obsoleteMedia */ obsoleteMedia?: (waproto.IQuotedDbMediaProto|null); /** DbQuotedMsgContentProto msgId */ msgId?: (string|null); /** DbQuotedMsgContentProto mediaId */ mediaId?: (number|null); /** DbQuotedMsgContentProto sourceId */ sourceId?: (string|null); /** DbQuotedMsgContentProto xmaMessageType */ xmaMessageType?: (number|null); /** DbQuotedMsgContentProto specialTextSize */ specialTextSize?: (number|null); /** DbQuotedMsgContentProto plaintextHash */ plaintextHash?: (string|null); /** DbQuotedMsgContentProto expirationTs */ expirationTs?: (number|Long|null); } /** Represents a DbQuotedMsgContentProto. */ class DbQuotedMsgContentProto implements IDbQuotedMsgContentProto { /** * Constructs a new DbQuotedMsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDbQuotedMsgContentProto); /** DbQuotedMsgContentProto type. */ public type?: (string|null); /** DbQuotedMsgContentProto ts. */ public ts?: (number|Long|null); /** DbQuotedMsgContentProto externalId. */ public externalId?: (string|null); /** DbQuotedMsgContentProto author. */ public author?: (string|null); /** DbQuotedMsgContentProto msgContent. */ public msgContent?: (waproto.IMsgContentProto|null); /** DbQuotedMsgContentProto obsoleteMedia. */ public obsoleteMedia?: (waproto.IQuotedDbMediaProto|null); /** DbQuotedMsgContentProto msgId. */ public msgId?: (string|null); /** DbQuotedMsgContentProto mediaId. */ public mediaId?: (number|null); /** DbQuotedMsgContentProto sourceId. */ public sourceId?: (string|null); /** DbQuotedMsgContentProto xmaMessageType. */ public xmaMessageType?: (number|null); /** DbQuotedMsgContentProto specialTextSize. */ public specialTextSize?: (number|null); /** DbQuotedMsgContentProto plaintextHash. */ public plaintextHash?: (string|null); /** DbQuotedMsgContentProto expirationTs. */ public expirationTs?: (number|Long|null); /** * Creates a new DbQuotedMsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns DbQuotedMsgContentProto instance */ public static create(properties?: waproto.IDbQuotedMsgContentProto): waproto.DbQuotedMsgContentProto; /** * Encodes the specified DbQuotedMsgContentProto message. Does not implicitly {@link waproto.DbQuotedMsgContentProto.verify|verify} messages. * @param message DbQuotedMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDbQuotedMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DbQuotedMsgContentProto message, length delimited. Does not implicitly {@link waproto.DbQuotedMsgContentProto.verify|verify} messages. * @param message DbQuotedMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDbQuotedMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DbQuotedMsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DbQuotedMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DbQuotedMsgContentProto; /** * Decodes a DbQuotedMsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DbQuotedMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DbQuotedMsgContentProto; /** * Verifies a DbQuotedMsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DbQuotedMsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DbQuotedMsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.DbQuotedMsgContentProto; /** * Creates a plain object from a DbQuotedMsgContentProto message. Also converts values to other types if specified. * @param message DbQuotedMsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DbQuotedMsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DbQuotedMsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DbQuotedMsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DbQuotedMsgProto. */ interface IDbQuotedMsgProto { /** DbQuotedMsgProto remoteJid */ remoteJid?: (string|null); /** DbQuotedMsgProto content */ content?: (waproto.IDbQuotedMsgContentProto|null); } /** Represents a DbQuotedMsgProto. */ class DbQuotedMsgProto implements IDbQuotedMsgProto { /** * Constructs a new DbQuotedMsgProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDbQuotedMsgProto); /** DbQuotedMsgProto remoteJid. */ public remoteJid?: (string|null); /** DbQuotedMsgProto content. */ public content?: (waproto.IDbQuotedMsgContentProto|null); /** * Creates a new DbQuotedMsgProto instance using the specified properties. * @param [properties] Properties to set * @returns DbQuotedMsgProto instance */ public static create(properties?: waproto.IDbQuotedMsgProto): waproto.DbQuotedMsgProto; /** * Encodes the specified DbQuotedMsgProto message. Does not implicitly {@link waproto.DbQuotedMsgProto.verify|verify} messages. * @param message DbQuotedMsgProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDbQuotedMsgProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DbQuotedMsgProto message, length delimited. Does not implicitly {@link waproto.DbQuotedMsgProto.verify|verify} messages. * @param message DbQuotedMsgProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDbQuotedMsgProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DbQuotedMsgProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DbQuotedMsgProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DbQuotedMsgProto; /** * Decodes a DbQuotedMsgProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DbQuotedMsgProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DbQuotedMsgProto; /** * Verifies a DbQuotedMsgProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DbQuotedMsgProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DbQuotedMsgProto */ public static fromObject(object: { [k: string]: any }): waproto.DbQuotedMsgProto; /** * Creates a plain object from a DbQuotedMsgProto message. Also converts values to other types if specified. * @param message DbQuotedMsgProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DbQuotedMsgProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DbQuotedMsgProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DbQuotedMsgProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DbUserStatusTsProto. */ interface IDbUserStatusTsProto { /** DbUserStatusTsProto deliveredTs */ deliveredTs?: (number|Long|null); /** DbUserStatusTsProto readTs */ readTs?: (number|Long|null); } /** Represents a DbUserStatusTsProto. */ class DbUserStatusTsProto implements IDbUserStatusTsProto { /** * Constructs a new DbUserStatusTsProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDbUserStatusTsProto); /** DbUserStatusTsProto deliveredTs. */ public deliveredTs?: (number|Long|null); /** DbUserStatusTsProto readTs. */ public readTs?: (number|Long|null); /** * Creates a new DbUserStatusTsProto instance using the specified properties. * @param [properties] Properties to set * @returns DbUserStatusTsProto instance */ public static create(properties?: waproto.IDbUserStatusTsProto): waproto.DbUserStatusTsProto; /** * Encodes the specified DbUserStatusTsProto message. Does not implicitly {@link waproto.DbUserStatusTsProto.verify|verify} messages. * @param message DbUserStatusTsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDbUserStatusTsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DbUserStatusTsProto message, length delimited. Does not implicitly {@link waproto.DbUserStatusTsProto.verify|verify} messages. * @param message DbUserStatusTsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDbUserStatusTsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DbUserStatusTsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DbUserStatusTsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DbUserStatusTsProto; /** * Decodes a DbUserStatusTsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DbUserStatusTsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DbUserStatusTsProto; /** * Verifies a DbUserStatusTsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DbUserStatusTsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DbUserStatusTsProto */ public static fromObject(object: { [k: string]: any }): waproto.DbUserStatusTsProto; /** * Creates a plain object from a DbUserStatusTsProto message. Also converts values to other types if specified. * @param message DbUserStatusTsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DbUserStatusTsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DbUserStatusTsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DbUserStatusTsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMekForDistributionFromTransportSenderInput. */ interface IDecryptMekForDistributionFromTransportSenderInput { /** DecryptMekForDistributionFromTransportSenderInput mekDistribution */ mekDistribution?: (waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient|null); /** DecryptMekForDistributionFromTransportSenderInput mekId */ mekId?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput rosterHash */ rosterHash?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput recipientEncSk */ recipientEncSk?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput version */ version?: (number|Long|null); /** DecryptMekForDistributionFromTransportSenderInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents a DecryptMekForDistributionFromTransportSenderInput. */ class DecryptMekForDistributionFromTransportSenderInput implements IDecryptMekForDistributionFromTransportSenderInput { /** * Constructs a new DecryptMekForDistributionFromTransportSenderInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionFromTransportSenderInput); /** DecryptMekForDistributionFromTransportSenderInput mekDistribution. */ public mekDistribution?: (waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient|null); /** DecryptMekForDistributionFromTransportSenderInput mekId. */ public mekId?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput rosterHash. */ public rosterHash?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput recipientEncSk. */ public recipientEncSk?: (Uint8Array|null); /** DecryptMekForDistributionFromTransportSenderInput version. */ public version?: (number|Long|null); /** DecryptMekForDistributionFromTransportSenderInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new DecryptMekForDistributionFromTransportSenderInput instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionFromTransportSenderInput instance */ public static create(properties?: waproto.IDecryptMekForDistributionFromTransportSenderInput): waproto.DecryptMekForDistributionFromTransportSenderInput; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderInput message. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderInput.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionFromTransportSenderInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderInput message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderInput.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionFromTransportSenderInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionFromTransportSenderInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionFromTransportSenderInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionFromTransportSenderInput; /** * Decodes a DecryptMekForDistributionFromTransportSenderInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionFromTransportSenderInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionFromTransportSenderInput; /** * Verifies a DecryptMekForDistributionFromTransportSenderInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionFromTransportSenderInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionFromTransportSenderInput */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionFromTransportSenderInput; /** * Creates a plain object from a DecryptMekForDistributionFromTransportSenderInput message. Also converts values to other types if specified. * @param message DecryptMekForDistributionFromTransportSenderInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionFromTransportSenderInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionFromTransportSenderInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionFromTransportSenderInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DecryptMekForDistributionFromTransportSenderInput { /** Properties of a TransportSenderMEKDistributionSingleRecipient. */ interface ITransportSenderMEKDistributionSingleRecipient { /** TransportSenderMEKDistributionSingleRecipient encryptedMek */ encryptedMek?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient ephemeralEncryptionPk */ ephemeralEncryptionPk?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient signingPk */ signingPk?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient signature */ signature?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient recipientEpochHead */ recipientEpochHead?: (Uint8Array|null); } /** Represents a TransportSenderMEKDistributionSingleRecipient. */ class TransportSenderMEKDistributionSingleRecipient implements ITransportSenderMEKDistributionSingleRecipient { /** * Constructs a new TransportSenderMEKDistributionSingleRecipient. * @param [properties] Properties to set */ constructor(properties?: waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient); /** TransportSenderMEKDistributionSingleRecipient encryptedMek. */ public encryptedMek?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient ephemeralEncryptionPk. */ public ephemeralEncryptionPk?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient signingPk. */ public signingPk?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient signature. */ public signature?: (Uint8Array|null); /** TransportSenderMEKDistributionSingleRecipient recipientEpochHead. */ public recipientEpochHead?: (Uint8Array|null); /** * Creates a new TransportSenderMEKDistributionSingleRecipient instance using the specified properties. * @param [properties] Properties to set * @returns TransportSenderMEKDistributionSingleRecipient instance */ public static create(properties?: waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient): waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient; /** * Encodes the specified TransportSenderMEKDistributionSingleRecipient message. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient.verify|verify} messages. * @param message TransportSenderMEKDistributionSingleRecipient message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TransportSenderMEKDistributionSingleRecipient message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient.verify|verify} messages. * @param message TransportSenderMEKDistributionSingleRecipient message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DecryptMekForDistributionFromTransportSenderInput.ITransportSenderMEKDistributionSingleRecipient, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TransportSenderMEKDistributionSingleRecipient message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TransportSenderMEKDistributionSingleRecipient * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient; /** * Decodes a TransportSenderMEKDistributionSingleRecipient message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TransportSenderMEKDistributionSingleRecipient * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient; /** * Verifies a TransportSenderMEKDistributionSingleRecipient message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TransportSenderMEKDistributionSingleRecipient message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TransportSenderMEKDistributionSingleRecipient */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient; /** * Creates a plain object from a TransportSenderMEKDistributionSingleRecipient message. Also converts values to other types if specified. * @param message TransportSenderMEKDistributionSingleRecipient * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionFromTransportSenderInput.TransportSenderMEKDistributionSingleRecipient, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TransportSenderMEKDistributionSingleRecipient to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TransportSenderMEKDistributionSingleRecipient * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a DecryptMekForDistributionFromTransportSenderResult. */ interface IDecryptMekForDistributionFromTransportSenderResult { /** DecryptMekForDistributionFromTransportSenderResult success */ success?: (waproto.IDecryptMekForDistributionFromTransportSenderSuccess|null); /** DecryptMekForDistributionFromTransportSenderResult errorMessage */ errorMessage?: (string|null); } /** Represents a DecryptMekForDistributionFromTransportSenderResult. */ class DecryptMekForDistributionFromTransportSenderResult implements IDecryptMekForDistributionFromTransportSenderResult { /** * Constructs a new DecryptMekForDistributionFromTransportSenderResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionFromTransportSenderResult); /** DecryptMekForDistributionFromTransportSenderResult success. */ public success?: (waproto.IDecryptMekForDistributionFromTransportSenderSuccess|null); /** DecryptMekForDistributionFromTransportSenderResult errorMessage. */ public errorMessage?: (string|null); /** DecryptMekForDistributionFromTransportSenderResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new DecryptMekForDistributionFromTransportSenderResult instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionFromTransportSenderResult instance */ public static create(properties?: waproto.IDecryptMekForDistributionFromTransportSenderResult): waproto.DecryptMekForDistributionFromTransportSenderResult; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderResult message. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderResult.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionFromTransportSenderResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderResult message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderResult.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionFromTransportSenderResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionFromTransportSenderResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionFromTransportSenderResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionFromTransportSenderResult; /** * Decodes a DecryptMekForDistributionFromTransportSenderResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionFromTransportSenderResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionFromTransportSenderResult; /** * Verifies a DecryptMekForDistributionFromTransportSenderResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionFromTransportSenderResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionFromTransportSenderResult */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionFromTransportSenderResult; /** * Creates a plain object from a DecryptMekForDistributionFromTransportSenderResult message. Also converts values to other types if specified. * @param message DecryptMekForDistributionFromTransportSenderResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionFromTransportSenderResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionFromTransportSenderResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionFromTransportSenderResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMekForDistributionFromTransportSenderSuccess. */ interface IDecryptMekForDistributionFromTransportSenderSuccess { /** DecryptMekForDistributionFromTransportSenderSuccess mek */ mek?: (Uint8Array|null); } /** Represents a DecryptMekForDistributionFromTransportSenderSuccess. */ class DecryptMekForDistributionFromTransportSenderSuccess implements IDecryptMekForDistributionFromTransportSenderSuccess { /** * Constructs a new DecryptMekForDistributionFromTransportSenderSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionFromTransportSenderSuccess); /** DecryptMekForDistributionFromTransportSenderSuccess mek. */ public mek?: (Uint8Array|null); /** * Creates a new DecryptMekForDistributionFromTransportSenderSuccess instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionFromTransportSenderSuccess instance */ public static create(properties?: waproto.IDecryptMekForDistributionFromTransportSenderSuccess): waproto.DecryptMekForDistributionFromTransportSenderSuccess; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderSuccess message. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderSuccess.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionFromTransportSenderSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionFromTransportSenderSuccess message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionFromTransportSenderSuccess.verify|verify} messages. * @param message DecryptMekForDistributionFromTransportSenderSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionFromTransportSenderSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionFromTransportSenderSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionFromTransportSenderSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionFromTransportSenderSuccess; /** * Decodes a DecryptMekForDistributionFromTransportSenderSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionFromTransportSenderSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionFromTransportSenderSuccess; /** * Verifies a DecryptMekForDistributionFromTransportSenderSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionFromTransportSenderSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionFromTransportSenderSuccess */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionFromTransportSenderSuccess; /** * Creates a plain object from a DecryptMekForDistributionFromTransportSenderSuccess message. Also converts values to other types if specified. * @param message DecryptMekForDistributionFromTransportSenderSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionFromTransportSenderSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionFromTransportSenderSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionFromTransportSenderSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMekForDistributionInput. */ interface IDecryptMekForDistributionInput { /** DecryptMekForDistributionInput toMailboxSk */ toMailboxSk?: (Uint8Array|null); /** DecryptMekForDistributionInput fromPk */ fromPk?: (Uint8Array|null); /** DecryptMekForDistributionInput mekId */ mekId?: (Uint8Array|null); /** DecryptMekForDistributionInput senderEpochHead */ senderEpochHead?: (Uint8Array|null); /** DecryptMekForDistributionInput rosterHash */ rosterHash?: (Uint8Array|null); /** DecryptMekForDistributionInput ciphertext */ ciphertext?: (Uint8Array|null); /** DecryptMekForDistributionInput toEpochHead */ toEpochHead?: (Uint8Array|null); /** DecryptMekForDistributionInput mekEncryptionVersion */ mekEncryptionVersion?: (number|null); /** DecryptMekForDistributionInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents a DecryptMekForDistributionInput. */ class DecryptMekForDistributionInput implements IDecryptMekForDistributionInput { /** * Constructs a new DecryptMekForDistributionInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionInput); /** DecryptMekForDistributionInput toMailboxSk. */ public toMailboxSk?: (Uint8Array|null); /** DecryptMekForDistributionInput fromPk. */ public fromPk?: (Uint8Array|null); /** DecryptMekForDistributionInput mekId. */ public mekId?: (Uint8Array|null); /** DecryptMekForDistributionInput senderEpochHead. */ public senderEpochHead?: (Uint8Array|null); /** DecryptMekForDistributionInput rosterHash. */ public rosterHash?: (Uint8Array|null); /** DecryptMekForDistributionInput ciphertext. */ public ciphertext?: (Uint8Array|null); /** DecryptMekForDistributionInput toEpochHead. */ public toEpochHead?: (Uint8Array|null); /** DecryptMekForDistributionInput mekEncryptionVersion. */ public mekEncryptionVersion?: (number|null); /** DecryptMekForDistributionInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new DecryptMekForDistributionInput instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionInput instance */ public static create(properties?: waproto.IDecryptMekForDistributionInput): waproto.DecryptMekForDistributionInput; /** * Encodes the specified DecryptMekForDistributionInput message. Does not implicitly {@link waproto.DecryptMekForDistributionInput.verify|verify} messages. * @param message DecryptMekForDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionInput message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionInput.verify|verify} messages. * @param message DecryptMekForDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionInput; /** * Decodes a DecryptMekForDistributionInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionInput; /** * Verifies a DecryptMekForDistributionInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionInput */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionInput; /** * Creates a plain object from a DecryptMekForDistributionInput message. Also converts values to other types if specified. * @param message DecryptMekForDistributionInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMekForDistributionResult. */ interface IDecryptMekForDistributionResult { /** DecryptMekForDistributionResult success */ success?: (waproto.IDecryptMekForDistributionSuccess|null); /** DecryptMekForDistributionResult errorMessage */ errorMessage?: (string|null); } /** Represents a DecryptMekForDistributionResult. */ class DecryptMekForDistributionResult implements IDecryptMekForDistributionResult { /** * Constructs a new DecryptMekForDistributionResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionResult); /** DecryptMekForDistributionResult success. */ public success?: (waproto.IDecryptMekForDistributionSuccess|null); /** DecryptMekForDistributionResult errorMessage. */ public errorMessage?: (string|null); /** DecryptMekForDistributionResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new DecryptMekForDistributionResult instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionResult instance */ public static create(properties?: waproto.IDecryptMekForDistributionResult): waproto.DecryptMekForDistributionResult; /** * Encodes the specified DecryptMekForDistributionResult message. Does not implicitly {@link waproto.DecryptMekForDistributionResult.verify|verify} messages. * @param message DecryptMekForDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionResult message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionResult.verify|verify} messages. * @param message DecryptMekForDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionResult; /** * Decodes a DecryptMekForDistributionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionResult; /** * Verifies a DecryptMekForDistributionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionResult */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionResult; /** * Creates a plain object from a DecryptMekForDistributionResult message. Also converts values to other types if specified. * @param message DecryptMekForDistributionResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMekForDistributionSuccess. */ interface IDecryptMekForDistributionSuccess { /** DecryptMekForDistributionSuccess mek */ mek?: (Uint8Array|null); } /** Represents a DecryptMekForDistributionSuccess. */ class DecryptMekForDistributionSuccess implements IDecryptMekForDistributionSuccess { /** * Constructs a new DecryptMekForDistributionSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMekForDistributionSuccess); /** DecryptMekForDistributionSuccess mek. */ public mek?: (Uint8Array|null); /** * Creates a new DecryptMekForDistributionSuccess instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMekForDistributionSuccess instance */ public static create(properties?: waproto.IDecryptMekForDistributionSuccess): waproto.DecryptMekForDistributionSuccess; /** * Encodes the specified DecryptMekForDistributionSuccess message. Does not implicitly {@link waproto.DecryptMekForDistributionSuccess.verify|verify} messages. * @param message DecryptMekForDistributionSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMekForDistributionSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMekForDistributionSuccess message, length delimited. Does not implicitly {@link waproto.DecryptMekForDistributionSuccess.verify|verify} messages. * @param message DecryptMekForDistributionSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMekForDistributionSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMekForDistributionSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMekForDistributionSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMekForDistributionSuccess; /** * Decodes a DecryptMekForDistributionSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMekForDistributionSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMekForDistributionSuccess; /** * Verifies a DecryptMekForDistributionSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMekForDistributionSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMekForDistributionSuccess */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMekForDistributionSuccess; /** * Creates a plain object from a DecryptMekForDistributionSuccess message. Also converts values to other types if specified. * @param message DecryptMekForDistributionSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMekForDistributionSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMekForDistributionSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMekForDistributionSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMessageInput. */ interface IDecryptMessageInput { /** DecryptMessageInput epochRootKey */ epochRootKey?: (Uint8Array|null); /** DecryptMessageInput epochAnonId */ epochAnonId?: (Uint8Array|null); /** DecryptMessageInput threadId */ threadId?: (string|null); /** DecryptMessageInput encryptionVersion */ encryptionVersion?: (number|null); /** DecryptMessageInput ciphertext */ ciphertext?: (Uint8Array|null); } /** Represents a DecryptMessageInput. */ class DecryptMessageInput implements IDecryptMessageInput { /** * Constructs a new DecryptMessageInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMessageInput); /** DecryptMessageInput epochRootKey. */ public epochRootKey?: (Uint8Array|null); /** DecryptMessageInput epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** DecryptMessageInput threadId. */ public threadId?: (string|null); /** DecryptMessageInput encryptionVersion. */ public encryptionVersion?: (number|null); /** DecryptMessageInput ciphertext. */ public ciphertext?: (Uint8Array|null); /** * Creates a new DecryptMessageInput instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMessageInput instance */ public static create(properties?: waproto.IDecryptMessageInput): waproto.DecryptMessageInput; /** * Encodes the specified DecryptMessageInput message. Does not implicitly {@link waproto.DecryptMessageInput.verify|verify} messages. * @param message DecryptMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMessageInput message, length delimited. Does not implicitly {@link waproto.DecryptMessageInput.verify|verify} messages. * @param message DecryptMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMessageInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMessageInput; /** * Decodes a DecryptMessageInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMessageInput; /** * Verifies a DecryptMessageInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMessageInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMessageInput */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMessageInput; /** * Creates a plain object from a DecryptMessageInput message. Also converts values to other types if specified. * @param message DecryptMessageInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMessageInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMessageInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMessageInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptMessageOutput. */ interface IDecryptMessageOutput { /** DecryptMessageOutput plaintextPayload */ plaintextPayload?: (Uint8Array|null); /** DecryptMessageOutput error */ error?: (string|null); } /** Represents a DecryptMessageOutput. */ class DecryptMessageOutput implements IDecryptMessageOutput { /** * Constructs a new DecryptMessageOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptMessageOutput); /** DecryptMessageOutput plaintextPayload. */ public plaintextPayload?: (Uint8Array|null); /** DecryptMessageOutput error. */ public error?: (string|null); /** * Creates a new DecryptMessageOutput instance using the specified properties. * @param [properties] Properties to set * @returns DecryptMessageOutput instance */ public static create(properties?: waproto.IDecryptMessageOutput): waproto.DecryptMessageOutput; /** * Encodes the specified DecryptMessageOutput message. Does not implicitly {@link waproto.DecryptMessageOutput.verify|verify} messages. * @param message DecryptMessageOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptMessageOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptMessageOutput message, length delimited. Does not implicitly {@link waproto.DecryptMessageOutput.verify|verify} messages. * @param message DecryptMessageOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptMessageOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptMessageOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptMessageOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptMessageOutput; /** * Decodes a DecryptMessageOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptMessageOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptMessageOutput; /** * Verifies a DecryptMessageOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptMessageOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptMessageOutput */ public static fromObject(object: { [k: string]: any }): waproto.DecryptMessageOutput; /** * Creates a plain object from a DecryptMessageOutput message. Also converts values to other types if specified. * @param message DecryptMessageOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptMessageOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptMessageOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptMessageOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptSelfMmkDistributionInput. */ interface IDecryptSelfMmkDistributionInput { /** DecryptSelfMmkDistributionInput encryptedMmk */ encryptedMmk?: (Uint8Array|null); /** DecryptSelfMmkDistributionInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** DecryptSelfMmkDistributionInput mailboxHeadHash */ mailboxHeadHash?: (Uint8Array|null); } /** Represents a DecryptSelfMmkDistributionInput. */ class DecryptSelfMmkDistributionInput implements IDecryptSelfMmkDistributionInput { /** * Constructs a new DecryptSelfMmkDistributionInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptSelfMmkDistributionInput); /** DecryptSelfMmkDistributionInput encryptedMmk. */ public encryptedMmk?: (Uint8Array|null); /** DecryptSelfMmkDistributionInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** DecryptSelfMmkDistributionInput mailboxHeadHash. */ public mailboxHeadHash?: (Uint8Array|null); /** * Creates a new DecryptSelfMmkDistributionInput instance using the specified properties. * @param [properties] Properties to set * @returns DecryptSelfMmkDistributionInput instance */ public static create(properties?: waproto.IDecryptSelfMmkDistributionInput): waproto.DecryptSelfMmkDistributionInput; /** * Encodes the specified DecryptSelfMmkDistributionInput message. Does not implicitly {@link waproto.DecryptSelfMmkDistributionInput.verify|verify} messages. * @param message DecryptSelfMmkDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptSelfMmkDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptSelfMmkDistributionInput message, length delimited. Does not implicitly {@link waproto.DecryptSelfMmkDistributionInput.verify|verify} messages. * @param message DecryptSelfMmkDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptSelfMmkDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptSelfMmkDistributionInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptSelfMmkDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptSelfMmkDistributionInput; /** * Decodes a DecryptSelfMmkDistributionInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptSelfMmkDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptSelfMmkDistributionInput; /** * Verifies a DecryptSelfMmkDistributionInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptSelfMmkDistributionInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptSelfMmkDistributionInput */ public static fromObject(object: { [k: string]: any }): waproto.DecryptSelfMmkDistributionInput; /** * Creates a plain object from a DecryptSelfMmkDistributionInput message. Also converts values to other types if specified. * @param message DecryptSelfMmkDistributionInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptSelfMmkDistributionInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptSelfMmkDistributionInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptSelfMmkDistributionInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptSelfMmkDistributionResult. */ interface IDecryptSelfMmkDistributionResult { /** DecryptSelfMmkDistributionResult success */ success?: (waproto.IDecryptSelfMmkDistributionSuccess|null); /** DecryptSelfMmkDistributionResult errorMessage */ errorMessage?: (string|null); } /** Represents a DecryptSelfMmkDistributionResult. */ class DecryptSelfMmkDistributionResult implements IDecryptSelfMmkDistributionResult { /** * Constructs a new DecryptSelfMmkDistributionResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptSelfMmkDistributionResult); /** DecryptSelfMmkDistributionResult success. */ public success?: (waproto.IDecryptSelfMmkDistributionSuccess|null); /** DecryptSelfMmkDistributionResult errorMessage. */ public errorMessage?: (string|null); /** DecryptSelfMmkDistributionResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new DecryptSelfMmkDistributionResult instance using the specified properties. * @param [properties] Properties to set * @returns DecryptSelfMmkDistributionResult instance */ public static create(properties?: waproto.IDecryptSelfMmkDistributionResult): waproto.DecryptSelfMmkDistributionResult; /** * Encodes the specified DecryptSelfMmkDistributionResult message. Does not implicitly {@link waproto.DecryptSelfMmkDistributionResult.verify|verify} messages. * @param message DecryptSelfMmkDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptSelfMmkDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptSelfMmkDistributionResult message, length delimited. Does not implicitly {@link waproto.DecryptSelfMmkDistributionResult.verify|verify} messages. * @param message DecryptSelfMmkDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptSelfMmkDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptSelfMmkDistributionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptSelfMmkDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptSelfMmkDistributionResult; /** * Decodes a DecryptSelfMmkDistributionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptSelfMmkDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptSelfMmkDistributionResult; /** * Verifies a DecryptSelfMmkDistributionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptSelfMmkDistributionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptSelfMmkDistributionResult */ public static fromObject(object: { [k: string]: any }): waproto.DecryptSelfMmkDistributionResult; /** * Creates a plain object from a DecryptSelfMmkDistributionResult message. Also converts values to other types if specified. * @param message DecryptSelfMmkDistributionResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptSelfMmkDistributionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptSelfMmkDistributionResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptSelfMmkDistributionResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DecryptSelfMmkDistributionSuccess. */ interface IDecryptSelfMmkDistributionSuccess { /** DecryptSelfMmkDistributionSuccess mmkSeed */ mmkSeed?: (Uint8Array|null); } /** Represents a DecryptSelfMmkDistributionSuccess. */ class DecryptSelfMmkDistributionSuccess implements IDecryptSelfMmkDistributionSuccess { /** * Constructs a new DecryptSelfMmkDistributionSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IDecryptSelfMmkDistributionSuccess); /** DecryptSelfMmkDistributionSuccess mmkSeed. */ public mmkSeed?: (Uint8Array|null); /** * Creates a new DecryptSelfMmkDistributionSuccess instance using the specified properties. * @param [properties] Properties to set * @returns DecryptSelfMmkDistributionSuccess instance */ public static create(properties?: waproto.IDecryptSelfMmkDistributionSuccess): waproto.DecryptSelfMmkDistributionSuccess; /** * Encodes the specified DecryptSelfMmkDistributionSuccess message. Does not implicitly {@link waproto.DecryptSelfMmkDistributionSuccess.verify|verify} messages. * @param message DecryptSelfMmkDistributionSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDecryptSelfMmkDistributionSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DecryptSelfMmkDistributionSuccess message, length delimited. Does not implicitly {@link waproto.DecryptSelfMmkDistributionSuccess.verify|verify} messages. * @param message DecryptSelfMmkDistributionSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDecryptSelfMmkDistributionSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DecryptSelfMmkDistributionSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DecryptSelfMmkDistributionSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DecryptSelfMmkDistributionSuccess; /** * Decodes a DecryptSelfMmkDistributionSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DecryptSelfMmkDistributionSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DecryptSelfMmkDistributionSuccess; /** * Verifies a DecryptSelfMmkDistributionSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DecryptSelfMmkDistributionSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DecryptSelfMmkDistributionSuccess */ public static fromObject(object: { [k: string]: any }): waproto.DecryptSelfMmkDistributionSuccess; /** * Creates a plain object from a DecryptSelfMmkDistributionSuccess message. Also converts values to other types if specified. * @param message DecryptSelfMmkDistributionSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DecryptSelfMmkDistributionSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DecryptSelfMmkDistributionSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DecryptSelfMmkDistributionSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeletedMessagesTableSchemaProto. */ interface IDeletedMessagesTableSchemaProto { /** DeletedMessagesTableSchemaProto author */ author?: (string|null); /** DeletedMessagesTableSchemaProto chat */ chat?: (string|null); /** DeletedMessagesTableSchemaProto externalId */ externalId?: (string|null); /** DeletedMessagesTableSchemaProto reason */ reason?: (string|null); } /** Represents a DeletedMessagesTableSchemaProto. */ class DeletedMessagesTableSchemaProto implements IDeletedMessagesTableSchemaProto { /** * Constructs a new DeletedMessagesTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeletedMessagesTableSchemaProto); /** DeletedMessagesTableSchemaProto author. */ public author?: (string|null); /** DeletedMessagesTableSchemaProto chat. */ public chat?: (string|null); /** DeletedMessagesTableSchemaProto externalId. */ public externalId?: (string|null); /** DeletedMessagesTableSchemaProto reason. */ public reason?: (string|null); /** * Creates a new DeletedMessagesTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns DeletedMessagesTableSchemaProto instance */ public static create(properties?: waproto.IDeletedMessagesTableSchemaProto): waproto.DeletedMessagesTableSchemaProto; /** * Encodes the specified DeletedMessagesTableSchemaProto message. Does not implicitly {@link waproto.DeletedMessagesTableSchemaProto.verify|verify} messages. * @param message DeletedMessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeletedMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeletedMessagesTableSchemaProto message, length delimited. Does not implicitly {@link waproto.DeletedMessagesTableSchemaProto.verify|verify} messages. * @param message DeletedMessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeletedMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeletedMessagesTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeletedMessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeletedMessagesTableSchemaProto; /** * Decodes a DeletedMessagesTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeletedMessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeletedMessagesTableSchemaProto; /** * Verifies a DeletedMessagesTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeletedMessagesTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeletedMessagesTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.DeletedMessagesTableSchemaProto; /** * Creates a plain object from a DeletedMessagesTableSchemaProto message. Also converts values to other types if specified. * @param message DeletedMessagesTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeletedMessagesTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeletedMessagesTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeletedMessagesTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveAttachmentAccessTokenSecretInput. */ interface IDeriveAttachmentAccessTokenSecretInput { /** DeriveAttachmentAccessTokenSecretInput mediaKey */ mediaKey?: (Uint8Array|null); } /** Represents a DeriveAttachmentAccessTokenSecretInput. */ class DeriveAttachmentAccessTokenSecretInput implements IDeriveAttachmentAccessTokenSecretInput { /** * Constructs a new DeriveAttachmentAccessTokenSecretInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveAttachmentAccessTokenSecretInput); /** DeriveAttachmentAccessTokenSecretInput mediaKey. */ public mediaKey?: (Uint8Array|null); /** * Creates a new DeriveAttachmentAccessTokenSecretInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveAttachmentAccessTokenSecretInput instance */ public static create(properties?: waproto.IDeriveAttachmentAccessTokenSecretInput): waproto.DeriveAttachmentAccessTokenSecretInput; /** * Encodes the specified DeriveAttachmentAccessTokenSecretInput message. Does not implicitly {@link waproto.DeriveAttachmentAccessTokenSecretInput.verify|verify} messages. * @param message DeriveAttachmentAccessTokenSecretInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveAttachmentAccessTokenSecretInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveAttachmentAccessTokenSecretInput message, length delimited. Does not implicitly {@link waproto.DeriveAttachmentAccessTokenSecretInput.verify|verify} messages. * @param message DeriveAttachmentAccessTokenSecretInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveAttachmentAccessTokenSecretInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveAttachmentAccessTokenSecretInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveAttachmentAccessTokenSecretInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveAttachmentAccessTokenSecretInput; /** * Decodes a DeriveAttachmentAccessTokenSecretInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveAttachmentAccessTokenSecretInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveAttachmentAccessTokenSecretInput; /** * Verifies a DeriveAttachmentAccessTokenSecretInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveAttachmentAccessTokenSecretInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveAttachmentAccessTokenSecretInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveAttachmentAccessTokenSecretInput; /** * Creates a plain object from a DeriveAttachmentAccessTokenSecretInput message. Also converts values to other types if specified. * @param message DeriveAttachmentAccessTokenSecretInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveAttachmentAccessTokenSecretInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveAttachmentAccessTokenSecretInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveAttachmentAccessTokenSecretInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveAttachmentAccessTokenSecretResult. */ interface IDeriveAttachmentAccessTokenSecretResult { /** DeriveAttachmentAccessTokenSecretResult attachmentAccessTokenSecret */ attachmentAccessTokenSecret?: (Uint8Array|null); } /** Represents a DeriveAttachmentAccessTokenSecretResult. */ class DeriveAttachmentAccessTokenSecretResult implements IDeriveAttachmentAccessTokenSecretResult { /** * Constructs a new DeriveAttachmentAccessTokenSecretResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveAttachmentAccessTokenSecretResult); /** DeriveAttachmentAccessTokenSecretResult attachmentAccessTokenSecret. */ public attachmentAccessTokenSecret?: (Uint8Array|null); /** * Creates a new DeriveAttachmentAccessTokenSecretResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveAttachmentAccessTokenSecretResult instance */ public static create(properties?: waproto.IDeriveAttachmentAccessTokenSecretResult): waproto.DeriveAttachmentAccessTokenSecretResult; /** * Encodes the specified DeriveAttachmentAccessTokenSecretResult message. Does not implicitly {@link waproto.DeriveAttachmentAccessTokenSecretResult.verify|verify} messages. * @param message DeriveAttachmentAccessTokenSecretResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveAttachmentAccessTokenSecretResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveAttachmentAccessTokenSecretResult message, length delimited. Does not implicitly {@link waproto.DeriveAttachmentAccessTokenSecretResult.verify|verify} messages. * @param message DeriveAttachmentAccessTokenSecretResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveAttachmentAccessTokenSecretResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveAttachmentAccessTokenSecretResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveAttachmentAccessTokenSecretResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveAttachmentAccessTokenSecretResult; /** * Decodes a DeriveAttachmentAccessTokenSecretResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveAttachmentAccessTokenSecretResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveAttachmentAccessTokenSecretResult; /** * Verifies a DeriveAttachmentAccessTokenSecretResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveAttachmentAccessTokenSecretResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveAttachmentAccessTokenSecretResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveAttachmentAccessTokenSecretResult; /** * Creates a plain object from a DeriveAttachmentAccessTokenSecretResult message. Also converts values to other types if specified. * @param message DeriveAttachmentAccessTokenSecretResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveAttachmentAccessTokenSecretResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveAttachmentAccessTokenSecretResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveAttachmentAccessTokenSecretResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveAttachmentPrimaryKeySecretInput. */ interface IDeriveAttachmentPrimaryKeySecretInput { /** DeriveAttachmentPrimaryKeySecretInput mediaKey */ mediaKey?: (Uint8Array|null); } /** Represents a DeriveAttachmentPrimaryKeySecretInput. */ class DeriveAttachmentPrimaryKeySecretInput implements IDeriveAttachmentPrimaryKeySecretInput { /** * Constructs a new DeriveAttachmentPrimaryKeySecretInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveAttachmentPrimaryKeySecretInput); /** DeriveAttachmentPrimaryKeySecretInput mediaKey. */ public mediaKey?: (Uint8Array|null); /** * Creates a new DeriveAttachmentPrimaryKeySecretInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveAttachmentPrimaryKeySecretInput instance */ public static create(properties?: waproto.IDeriveAttachmentPrimaryKeySecretInput): waproto.DeriveAttachmentPrimaryKeySecretInput; /** * Encodes the specified DeriveAttachmentPrimaryKeySecretInput message. Does not implicitly {@link waproto.DeriveAttachmentPrimaryKeySecretInput.verify|verify} messages. * @param message DeriveAttachmentPrimaryKeySecretInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveAttachmentPrimaryKeySecretInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveAttachmentPrimaryKeySecretInput message, length delimited. Does not implicitly {@link waproto.DeriveAttachmentPrimaryKeySecretInput.verify|verify} messages. * @param message DeriveAttachmentPrimaryKeySecretInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveAttachmentPrimaryKeySecretInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveAttachmentPrimaryKeySecretInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveAttachmentPrimaryKeySecretInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveAttachmentPrimaryKeySecretInput; /** * Decodes a DeriveAttachmentPrimaryKeySecretInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveAttachmentPrimaryKeySecretInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveAttachmentPrimaryKeySecretInput; /** * Verifies a DeriveAttachmentPrimaryKeySecretInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveAttachmentPrimaryKeySecretInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveAttachmentPrimaryKeySecretInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveAttachmentPrimaryKeySecretInput; /** * Creates a plain object from a DeriveAttachmentPrimaryKeySecretInput message. Also converts values to other types if specified. * @param message DeriveAttachmentPrimaryKeySecretInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveAttachmentPrimaryKeySecretInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveAttachmentPrimaryKeySecretInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveAttachmentPrimaryKeySecretInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveAttachmentPrimaryKeySecretResult. */ interface IDeriveAttachmentPrimaryKeySecretResult { /** DeriveAttachmentPrimaryKeySecretResult attachmentPrimaryKeySecret */ attachmentPrimaryKeySecret?: (Uint8Array|null); } /** Represents a DeriveAttachmentPrimaryKeySecretResult. */ class DeriveAttachmentPrimaryKeySecretResult implements IDeriveAttachmentPrimaryKeySecretResult { /** * Constructs a new DeriveAttachmentPrimaryKeySecretResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveAttachmentPrimaryKeySecretResult); /** DeriveAttachmentPrimaryKeySecretResult attachmentPrimaryKeySecret. */ public attachmentPrimaryKeySecret?: (Uint8Array|null); /** * Creates a new DeriveAttachmentPrimaryKeySecretResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveAttachmentPrimaryKeySecretResult instance */ public static create(properties?: waproto.IDeriveAttachmentPrimaryKeySecretResult): waproto.DeriveAttachmentPrimaryKeySecretResult; /** * Encodes the specified DeriveAttachmentPrimaryKeySecretResult message. Does not implicitly {@link waproto.DeriveAttachmentPrimaryKeySecretResult.verify|verify} messages. * @param message DeriveAttachmentPrimaryKeySecretResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveAttachmentPrimaryKeySecretResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveAttachmentPrimaryKeySecretResult message, length delimited. Does not implicitly {@link waproto.DeriveAttachmentPrimaryKeySecretResult.verify|verify} messages. * @param message DeriveAttachmentPrimaryKeySecretResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveAttachmentPrimaryKeySecretResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveAttachmentPrimaryKeySecretResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveAttachmentPrimaryKeySecretResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveAttachmentPrimaryKeySecretResult; /** * Decodes a DeriveAttachmentPrimaryKeySecretResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveAttachmentPrimaryKeySecretResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveAttachmentPrimaryKeySecretResult; /** * Verifies a DeriveAttachmentPrimaryKeySecretResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveAttachmentPrimaryKeySecretResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveAttachmentPrimaryKeySecretResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveAttachmentPrimaryKeySecretResult; /** * Creates a plain object from a DeriveAttachmentPrimaryKeySecretResult message. Also converts values to other types if specified. * @param message DeriveAttachmentPrimaryKeySecretResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveAttachmentPrimaryKeySecretResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveAttachmentPrimaryKeySecretResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveAttachmentPrimaryKeySecretResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxAuthKeypairInput. */ interface IDeriveMailboxAuthKeypairInput { /** DeriveMailboxAuthKeypairInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** DeriveMailboxAuthKeypairInput epochNumber */ epochNumber?: (number|Long|null); } /** Represents a DeriveMailboxAuthKeypairInput. */ class DeriveMailboxAuthKeypairInput implements IDeriveMailboxAuthKeypairInput { /** * Constructs a new DeriveMailboxAuthKeypairInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxAuthKeypairInput); /** DeriveMailboxAuthKeypairInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** DeriveMailboxAuthKeypairInput epochNumber. */ public epochNumber?: (number|Long|null); /** * Creates a new DeriveMailboxAuthKeypairInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxAuthKeypairInput instance */ public static create(properties?: waproto.IDeriveMailboxAuthKeypairInput): waproto.DeriveMailboxAuthKeypairInput; /** * Encodes the specified DeriveMailboxAuthKeypairInput message. Does not implicitly {@link waproto.DeriveMailboxAuthKeypairInput.verify|verify} messages. * @param message DeriveMailboxAuthKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxAuthKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxAuthKeypairInput message, length delimited. Does not implicitly {@link waproto.DeriveMailboxAuthKeypairInput.verify|verify} messages. * @param message DeriveMailboxAuthKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxAuthKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxAuthKeypairInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxAuthKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxAuthKeypairInput; /** * Decodes a DeriveMailboxAuthKeypairInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxAuthKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxAuthKeypairInput; /** * Verifies a DeriveMailboxAuthKeypairInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxAuthKeypairInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxAuthKeypairInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxAuthKeypairInput; /** * Creates a plain object from a DeriveMailboxAuthKeypairInput message. Also converts values to other types if specified. * @param message DeriveMailboxAuthKeypairInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxAuthKeypairInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxAuthKeypairInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxAuthKeypairInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxAuthKeypairResult. */ interface IDeriveMailboxAuthKeypairResult { /** DeriveMailboxAuthKeypairResult mailboxAuthPublicKey */ mailboxAuthPublicKey?: (Uint8Array|null); /** DeriveMailboxAuthKeypairResult mailboxAuthPrivateKey */ mailboxAuthPrivateKey?: (Uint8Array|null); } /** Represents a DeriveMailboxAuthKeypairResult. */ class DeriveMailboxAuthKeypairResult implements IDeriveMailboxAuthKeypairResult { /** * Constructs a new DeriveMailboxAuthKeypairResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxAuthKeypairResult); /** DeriveMailboxAuthKeypairResult mailboxAuthPublicKey. */ public mailboxAuthPublicKey?: (Uint8Array|null); /** DeriveMailboxAuthKeypairResult mailboxAuthPrivateKey. */ public mailboxAuthPrivateKey?: (Uint8Array|null); /** * Creates a new DeriveMailboxAuthKeypairResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxAuthKeypairResult instance */ public static create(properties?: waproto.IDeriveMailboxAuthKeypairResult): waproto.DeriveMailboxAuthKeypairResult; /** * Encodes the specified DeriveMailboxAuthKeypairResult message. Does not implicitly {@link waproto.DeriveMailboxAuthKeypairResult.verify|verify} messages. * @param message DeriveMailboxAuthKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxAuthKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxAuthKeypairResult message, length delimited. Does not implicitly {@link waproto.DeriveMailboxAuthKeypairResult.verify|verify} messages. * @param message DeriveMailboxAuthKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxAuthKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxAuthKeypairResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxAuthKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxAuthKeypairResult; /** * Decodes a DeriveMailboxAuthKeypairResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxAuthKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxAuthKeypairResult; /** * Verifies a DeriveMailboxAuthKeypairResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxAuthKeypairResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxAuthKeypairResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxAuthKeypairResult; /** * Creates a plain object from a DeriveMailboxAuthKeypairResult message. Also converts values to other types if specified. * @param message DeriveMailboxAuthKeypairResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxAuthKeypairResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxAuthKeypairResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxAuthKeypairResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxEncryptionKeypairInput. */ interface IDeriveMailboxEncryptionKeypairInput { /** DeriveMailboxEncryptionKeypairInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** DeriveMailboxEncryptionKeypairInput epochNumber */ epochNumber?: (number|Long|null); } /** Represents a DeriveMailboxEncryptionKeypairInput. */ class DeriveMailboxEncryptionKeypairInput implements IDeriveMailboxEncryptionKeypairInput { /** * Constructs a new DeriveMailboxEncryptionKeypairInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxEncryptionKeypairInput); /** DeriveMailboxEncryptionKeypairInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** DeriveMailboxEncryptionKeypairInput epochNumber. */ public epochNumber?: (number|Long|null); /** * Creates a new DeriveMailboxEncryptionKeypairInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxEncryptionKeypairInput instance */ public static create(properties?: waproto.IDeriveMailboxEncryptionKeypairInput): waproto.DeriveMailboxEncryptionKeypairInput; /** * Encodes the specified DeriveMailboxEncryptionKeypairInput message. Does not implicitly {@link waproto.DeriveMailboxEncryptionKeypairInput.verify|verify} messages. * @param message DeriveMailboxEncryptionKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxEncryptionKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxEncryptionKeypairInput message, length delimited. Does not implicitly {@link waproto.DeriveMailboxEncryptionKeypairInput.verify|verify} messages. * @param message DeriveMailboxEncryptionKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxEncryptionKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxEncryptionKeypairInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxEncryptionKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxEncryptionKeypairInput; /** * Decodes a DeriveMailboxEncryptionKeypairInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxEncryptionKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxEncryptionKeypairInput; /** * Verifies a DeriveMailboxEncryptionKeypairInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxEncryptionKeypairInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxEncryptionKeypairInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxEncryptionKeypairInput; /** * Creates a plain object from a DeriveMailboxEncryptionKeypairInput message. Also converts values to other types if specified. * @param message DeriveMailboxEncryptionKeypairInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxEncryptionKeypairInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxEncryptionKeypairInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxEncryptionKeypairInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxEncryptionKeypairResult. */ interface IDeriveMailboxEncryptionKeypairResult { /** DeriveMailboxEncryptionKeypairResult mailboxEncryptionPublicKey */ mailboxEncryptionPublicKey?: (Uint8Array|null); /** DeriveMailboxEncryptionKeypairResult mailboxEncryptionPrivateKey */ mailboxEncryptionPrivateKey?: (Uint8Array|null); } /** Represents a DeriveMailboxEncryptionKeypairResult. */ class DeriveMailboxEncryptionKeypairResult implements IDeriveMailboxEncryptionKeypairResult { /** * Constructs a new DeriveMailboxEncryptionKeypairResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxEncryptionKeypairResult); /** DeriveMailboxEncryptionKeypairResult mailboxEncryptionPublicKey. */ public mailboxEncryptionPublicKey?: (Uint8Array|null); /** DeriveMailboxEncryptionKeypairResult mailboxEncryptionPrivateKey. */ public mailboxEncryptionPrivateKey?: (Uint8Array|null); /** * Creates a new DeriveMailboxEncryptionKeypairResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxEncryptionKeypairResult instance */ public static create(properties?: waproto.IDeriveMailboxEncryptionKeypairResult): waproto.DeriveMailboxEncryptionKeypairResult; /** * Encodes the specified DeriveMailboxEncryptionKeypairResult message. Does not implicitly {@link waproto.DeriveMailboxEncryptionKeypairResult.verify|verify} messages. * @param message DeriveMailboxEncryptionKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxEncryptionKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxEncryptionKeypairResult message, length delimited. Does not implicitly {@link waproto.DeriveMailboxEncryptionKeypairResult.verify|verify} messages. * @param message DeriveMailboxEncryptionKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxEncryptionKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxEncryptionKeypairResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxEncryptionKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxEncryptionKeypairResult; /** * Decodes a DeriveMailboxEncryptionKeypairResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxEncryptionKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxEncryptionKeypairResult; /** * Verifies a DeriveMailboxEncryptionKeypairResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxEncryptionKeypairResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxEncryptionKeypairResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxEncryptionKeypairResult; /** * Creates a plain object from a DeriveMailboxEncryptionKeypairResult message. Also converts values to other types if specified. * @param message DeriveMailboxEncryptionKeypairResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxEncryptionKeypairResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxEncryptionKeypairResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxEncryptionKeypairResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxSigningKeypairInput. */ interface IDeriveMailboxSigningKeypairInput { /** DeriveMailboxSigningKeypairInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** DeriveMailboxSigningKeypairInput epochNumber */ epochNumber?: (number|Long|null); } /** Represents a DeriveMailboxSigningKeypairInput. */ class DeriveMailboxSigningKeypairInput implements IDeriveMailboxSigningKeypairInput { /** * Constructs a new DeriveMailboxSigningKeypairInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxSigningKeypairInput); /** DeriveMailboxSigningKeypairInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** DeriveMailboxSigningKeypairInput epochNumber. */ public epochNumber?: (number|Long|null); /** * Creates a new DeriveMailboxSigningKeypairInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxSigningKeypairInput instance */ public static create(properties?: waproto.IDeriveMailboxSigningKeypairInput): waproto.DeriveMailboxSigningKeypairInput; /** * Encodes the specified DeriveMailboxSigningKeypairInput message. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairInput.verify|verify} messages. * @param message DeriveMailboxSigningKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxSigningKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxSigningKeypairInput message, length delimited. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairInput.verify|verify} messages. * @param message DeriveMailboxSigningKeypairInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxSigningKeypairInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxSigningKeypairInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxSigningKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxSigningKeypairInput; /** * Decodes a DeriveMailboxSigningKeypairInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxSigningKeypairInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxSigningKeypairInput; /** * Verifies a DeriveMailboxSigningKeypairInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxSigningKeypairInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxSigningKeypairInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxSigningKeypairInput; /** * Creates a plain object from a DeriveMailboxSigningKeypairInput message. Also converts values to other types if specified. * @param message DeriveMailboxSigningKeypairInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxSigningKeypairInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxSigningKeypairInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxSigningKeypairInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxSigningKeypairResult. */ interface IDeriveMailboxSigningKeypairResult { /** DeriveMailboxSigningKeypairResult success */ success?: (waproto.IDeriveMailboxSigningKeypairSuccess|null); /** DeriveMailboxSigningKeypairResult errorMessage */ errorMessage?: (string|null); } /** Represents a DeriveMailboxSigningKeypairResult. */ class DeriveMailboxSigningKeypairResult implements IDeriveMailboxSigningKeypairResult { /** * Constructs a new DeriveMailboxSigningKeypairResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxSigningKeypairResult); /** DeriveMailboxSigningKeypairResult success. */ public success?: (waproto.IDeriveMailboxSigningKeypairSuccess|null); /** DeriveMailboxSigningKeypairResult errorMessage. */ public errorMessage?: (string|null); /** DeriveMailboxSigningKeypairResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new DeriveMailboxSigningKeypairResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxSigningKeypairResult instance */ public static create(properties?: waproto.IDeriveMailboxSigningKeypairResult): waproto.DeriveMailboxSigningKeypairResult; /** * Encodes the specified DeriveMailboxSigningKeypairResult message. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairResult.verify|verify} messages. * @param message DeriveMailboxSigningKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxSigningKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxSigningKeypairResult message, length delimited. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairResult.verify|verify} messages. * @param message DeriveMailboxSigningKeypairResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxSigningKeypairResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxSigningKeypairResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxSigningKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxSigningKeypairResult; /** * Decodes a DeriveMailboxSigningKeypairResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxSigningKeypairResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxSigningKeypairResult; /** * Verifies a DeriveMailboxSigningKeypairResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxSigningKeypairResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxSigningKeypairResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxSigningKeypairResult; /** * Creates a plain object from a DeriveMailboxSigningKeypairResult message. Also converts values to other types if specified. * @param message DeriveMailboxSigningKeypairResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxSigningKeypairResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxSigningKeypairResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxSigningKeypairResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMailboxSigningKeypairSuccess. */ interface IDeriveMailboxSigningKeypairSuccess { /** DeriveMailboxSigningKeypairSuccess mailboxSigningPublicKey */ mailboxSigningPublicKey?: (Uint8Array|null); /** DeriveMailboxSigningKeypairSuccess mailboxSigningPrivateKey */ mailboxSigningPrivateKey?: (Uint8Array|null); } /** Represents a DeriveMailboxSigningKeypairSuccess. */ class DeriveMailboxSigningKeypairSuccess implements IDeriveMailboxSigningKeypairSuccess { /** * Constructs a new DeriveMailboxSigningKeypairSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMailboxSigningKeypairSuccess); /** DeriveMailboxSigningKeypairSuccess mailboxSigningPublicKey. */ public mailboxSigningPublicKey?: (Uint8Array|null); /** DeriveMailboxSigningKeypairSuccess mailboxSigningPrivateKey. */ public mailboxSigningPrivateKey?: (Uint8Array|null); /** * Creates a new DeriveMailboxSigningKeypairSuccess instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMailboxSigningKeypairSuccess instance */ public static create(properties?: waproto.IDeriveMailboxSigningKeypairSuccess): waproto.DeriveMailboxSigningKeypairSuccess; /** * Encodes the specified DeriveMailboxSigningKeypairSuccess message. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairSuccess.verify|verify} messages. * @param message DeriveMailboxSigningKeypairSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMailboxSigningKeypairSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMailboxSigningKeypairSuccess message, length delimited. Does not implicitly {@link waproto.DeriveMailboxSigningKeypairSuccess.verify|verify} messages. * @param message DeriveMailboxSigningKeypairSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMailboxSigningKeypairSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMailboxSigningKeypairSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMailboxSigningKeypairSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMailboxSigningKeypairSuccess; /** * Decodes a DeriveMailboxSigningKeypairSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMailboxSigningKeypairSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMailboxSigningKeypairSuccess; /** * Verifies a DeriveMailboxSigningKeypairSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMailboxSigningKeypairSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMailboxSigningKeypairSuccess */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMailboxSigningKeypairSuccess; /** * Creates a plain object from a DeriveMailboxSigningKeypairSuccess message. Also converts values to other types if specified. * @param message DeriveMailboxSigningKeypairSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMailboxSigningKeypairSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMailboxSigningKeypairSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMailboxSigningKeypairSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMessageKeyInput. */ interface IDeriveMessageKeyInput { /** DeriveMessageKeyInput epochRootKey */ epochRootKey?: (Uint8Array|null); /** DeriveMessageKeyInput epochAnonId */ epochAnonId?: (Uint8Array|null); /** DeriveMessageKeyInput threadId */ threadId?: (string|null); } /** Represents a DeriveMessageKeyInput. */ class DeriveMessageKeyInput implements IDeriveMessageKeyInput { /** * Constructs a new DeriveMessageKeyInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMessageKeyInput); /** DeriveMessageKeyInput epochRootKey. */ public epochRootKey?: (Uint8Array|null); /** DeriveMessageKeyInput epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** DeriveMessageKeyInput threadId. */ public threadId?: (string|null); /** * Creates a new DeriveMessageKeyInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMessageKeyInput instance */ public static create(properties?: waproto.IDeriveMessageKeyInput): waproto.DeriveMessageKeyInput; /** * Encodes the specified DeriveMessageKeyInput message. Does not implicitly {@link waproto.DeriveMessageKeyInput.verify|verify} messages. * @param message DeriveMessageKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMessageKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMessageKeyInput message, length delimited. Does not implicitly {@link waproto.DeriveMessageKeyInput.verify|verify} messages. * @param message DeriveMessageKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMessageKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMessageKeyInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMessageKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMessageKeyInput; /** * Decodes a DeriveMessageKeyInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMessageKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMessageKeyInput; /** * Verifies a DeriveMessageKeyInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMessageKeyInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMessageKeyInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMessageKeyInput; /** * Creates a plain object from a DeriveMessageKeyInput message. Also converts values to other types if specified. * @param message DeriveMessageKeyInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMessageKeyInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMessageKeyInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMessageKeyInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMessageKeyOutput. */ interface IDeriveMessageKeyOutput { /** DeriveMessageKeyOutput messageKey */ messageKey?: (Uint8Array|null); /** DeriveMessageKeyOutput error */ error?: (string|null); } /** Represents a DeriveMessageKeyOutput. */ class DeriveMessageKeyOutput implements IDeriveMessageKeyOutput { /** * Constructs a new DeriveMessageKeyOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMessageKeyOutput); /** DeriveMessageKeyOutput messageKey. */ public messageKey?: (Uint8Array|null); /** DeriveMessageKeyOutput error. */ public error?: (string|null); /** * Creates a new DeriveMessageKeyOutput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMessageKeyOutput instance */ public static create(properties?: waproto.IDeriveMessageKeyOutput): waproto.DeriveMessageKeyOutput; /** * Encodes the specified DeriveMessageKeyOutput message. Does not implicitly {@link waproto.DeriveMessageKeyOutput.verify|verify} messages. * @param message DeriveMessageKeyOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMessageKeyOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMessageKeyOutput message, length delimited. Does not implicitly {@link waproto.DeriveMessageKeyOutput.verify|verify} messages. * @param message DeriveMessageKeyOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMessageKeyOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMessageKeyOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMessageKeyOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMessageKeyOutput; /** * Decodes a DeriveMessageKeyOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMessageKeyOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMessageKeyOutput; /** * Verifies a DeriveMessageKeyOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMessageKeyOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMessageKeyOutput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMessageKeyOutput; /** * Creates a plain object from a DeriveMessageKeyOutput message. Also converts values to other types if specified. * @param message DeriveMessageKeyOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMessageKeyOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMessageKeyOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMessageKeyOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMessagingMailboxKeypairsInput. */ interface IDeriveMessagingMailboxKeypairsInput { /** DeriveMessagingMailboxKeypairsInput mmkSeed */ mmkSeed?: (Uint8Array|null); } /** Represents a DeriveMessagingMailboxKeypairsInput. */ class DeriveMessagingMailboxKeypairsInput implements IDeriveMessagingMailboxKeypairsInput { /** * Constructs a new DeriveMessagingMailboxKeypairsInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMessagingMailboxKeypairsInput); /** DeriveMessagingMailboxKeypairsInput mmkSeed. */ public mmkSeed?: (Uint8Array|null); /** * Creates a new DeriveMessagingMailboxKeypairsInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMessagingMailboxKeypairsInput instance */ public static create(properties?: waproto.IDeriveMessagingMailboxKeypairsInput): waproto.DeriveMessagingMailboxKeypairsInput; /** * Encodes the specified DeriveMessagingMailboxKeypairsInput message. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsInput.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMessagingMailboxKeypairsInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMessagingMailboxKeypairsInput message, length delimited. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsInput.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMessagingMailboxKeypairsInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMessagingMailboxKeypairsInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMessagingMailboxKeypairsInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMessagingMailboxKeypairsInput; /** * Decodes a DeriveMessagingMailboxKeypairsInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMessagingMailboxKeypairsInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMessagingMailboxKeypairsInput; /** * Verifies a DeriveMessagingMailboxKeypairsInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMessagingMailboxKeypairsInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMessagingMailboxKeypairsInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMessagingMailboxKeypairsInput; /** * Creates a plain object from a DeriveMessagingMailboxKeypairsInput message. Also converts values to other types if specified. * @param message DeriveMessagingMailboxKeypairsInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMessagingMailboxKeypairsInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMessagingMailboxKeypairsInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMessagingMailboxKeypairsInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMessagingMailboxKeypairsResult. */ interface IDeriveMessagingMailboxKeypairsResult { /** DeriveMessagingMailboxKeypairsResult success */ success?: (waproto.IDeriveMessagingMailboxKeypairsSuccess|null); /** DeriveMessagingMailboxKeypairsResult errorMessage */ errorMessage?: (string|null); } /** Represents a DeriveMessagingMailboxKeypairsResult. */ class DeriveMessagingMailboxKeypairsResult implements IDeriveMessagingMailboxKeypairsResult { /** * Constructs a new DeriveMessagingMailboxKeypairsResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMessagingMailboxKeypairsResult); /** DeriveMessagingMailboxKeypairsResult success. */ public success?: (waproto.IDeriveMessagingMailboxKeypairsSuccess|null); /** DeriveMessagingMailboxKeypairsResult errorMessage. */ public errorMessage?: (string|null); /** DeriveMessagingMailboxKeypairsResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new DeriveMessagingMailboxKeypairsResult instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMessagingMailboxKeypairsResult instance */ public static create(properties?: waproto.IDeriveMessagingMailboxKeypairsResult): waproto.DeriveMessagingMailboxKeypairsResult; /** * Encodes the specified DeriveMessagingMailboxKeypairsResult message. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsResult.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMessagingMailboxKeypairsResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMessagingMailboxKeypairsResult message, length delimited. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsResult.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMessagingMailboxKeypairsResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMessagingMailboxKeypairsResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMessagingMailboxKeypairsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMessagingMailboxKeypairsResult; /** * Decodes a DeriveMessagingMailboxKeypairsResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMessagingMailboxKeypairsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMessagingMailboxKeypairsResult; /** * Verifies a DeriveMessagingMailboxKeypairsResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMessagingMailboxKeypairsResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMessagingMailboxKeypairsResult */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMessagingMailboxKeypairsResult; /** * Creates a plain object from a DeriveMessagingMailboxKeypairsResult message. Also converts values to other types if specified. * @param message DeriveMessagingMailboxKeypairsResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMessagingMailboxKeypairsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMessagingMailboxKeypairsResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMessagingMailboxKeypairsResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveMessagingMailboxKeypairsSuccess. */ interface IDeriveMessagingMailboxKeypairsSuccess { /** DeriveMessagingMailboxKeypairsSuccess encSk */ encSk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess encPk */ encPk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess authSk */ authSk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess authPk */ authPk?: (Uint8Array|null); } /** Represents a DeriveMessagingMailboxKeypairsSuccess. */ class DeriveMessagingMailboxKeypairsSuccess implements IDeriveMessagingMailboxKeypairsSuccess { /** * Constructs a new DeriveMessagingMailboxKeypairsSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveMessagingMailboxKeypairsSuccess); /** DeriveMessagingMailboxKeypairsSuccess encSk. */ public encSk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess encPk. */ public encPk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess authSk. */ public authSk?: (Uint8Array|null); /** DeriveMessagingMailboxKeypairsSuccess authPk. */ public authPk?: (Uint8Array|null); /** * Creates a new DeriveMessagingMailboxKeypairsSuccess instance using the specified properties. * @param [properties] Properties to set * @returns DeriveMessagingMailboxKeypairsSuccess instance */ public static create(properties?: waproto.IDeriveMessagingMailboxKeypairsSuccess): waproto.DeriveMessagingMailboxKeypairsSuccess; /** * Encodes the specified DeriveMessagingMailboxKeypairsSuccess message. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsSuccess.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveMessagingMailboxKeypairsSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveMessagingMailboxKeypairsSuccess message, length delimited. Does not implicitly {@link waproto.DeriveMessagingMailboxKeypairsSuccess.verify|verify} messages. * @param message DeriveMessagingMailboxKeypairsSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveMessagingMailboxKeypairsSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveMessagingMailboxKeypairsSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveMessagingMailboxKeypairsSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveMessagingMailboxKeypairsSuccess; /** * Decodes a DeriveMessagingMailboxKeypairsSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveMessagingMailboxKeypairsSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveMessagingMailboxKeypairsSuccess; /** * Verifies a DeriveMessagingMailboxKeypairsSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveMessagingMailboxKeypairsSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveMessagingMailboxKeypairsSuccess */ public static fromObject(object: { [k: string]: any }): waproto.DeriveMessagingMailboxKeypairsSuccess; /** * Creates a plain object from a DeriveMessagingMailboxKeypairsSuccess message. Also converts values to other types if specified. * @param message DeriveMessagingMailboxKeypairsSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveMessagingMailboxKeypairsSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveMessagingMailboxKeypairsSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveMessagingMailboxKeypairsSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveVirtualDeviceIdInput. */ interface IDeriveVirtualDeviceIdInput { /** DeriveVirtualDeviceIdInput recoveryCode */ recoveryCode?: (string|null); /** DeriveVirtualDeviceIdInput userId */ userId?: (number|Long|null); } /** Represents a DeriveVirtualDeviceIdInput. */ class DeriveVirtualDeviceIdInput implements IDeriveVirtualDeviceIdInput { /** * Constructs a new DeriveVirtualDeviceIdInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveVirtualDeviceIdInput); /** DeriveVirtualDeviceIdInput recoveryCode. */ public recoveryCode?: (string|null); /** DeriveVirtualDeviceIdInput userId. */ public userId?: (number|Long|null); /** * Creates a new DeriveVirtualDeviceIdInput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveVirtualDeviceIdInput instance */ public static create(properties?: waproto.IDeriveVirtualDeviceIdInput): waproto.DeriveVirtualDeviceIdInput; /** * Encodes the specified DeriveVirtualDeviceIdInput message. Does not implicitly {@link waproto.DeriveVirtualDeviceIdInput.verify|verify} messages. * @param message DeriveVirtualDeviceIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveVirtualDeviceIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveVirtualDeviceIdInput message, length delimited. Does not implicitly {@link waproto.DeriveVirtualDeviceIdInput.verify|verify} messages. * @param message DeriveVirtualDeviceIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveVirtualDeviceIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveVirtualDeviceIdInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveVirtualDeviceIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveVirtualDeviceIdInput; /** * Decodes a DeriveVirtualDeviceIdInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveVirtualDeviceIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveVirtualDeviceIdInput; /** * Verifies a DeriveVirtualDeviceIdInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveVirtualDeviceIdInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveVirtualDeviceIdInput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveVirtualDeviceIdInput; /** * Creates a plain object from a DeriveVirtualDeviceIdInput message. Also converts values to other types if specified. * @param message DeriveVirtualDeviceIdInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveVirtualDeviceIdInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveVirtualDeviceIdInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveVirtualDeviceIdInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeriveVirtualDeviceIdOutput. */ interface IDeriveVirtualDeviceIdOutput { /** DeriveVirtualDeviceIdOutput virtualDeviceId */ virtualDeviceId?: (Uint8Array|null); /** DeriveVirtualDeviceIdOutput error */ error?: (string|null); } /** Represents a DeriveVirtualDeviceIdOutput. */ class DeriveVirtualDeviceIdOutput implements IDeriveVirtualDeviceIdOutput { /** * Constructs a new DeriveVirtualDeviceIdOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeriveVirtualDeviceIdOutput); /** DeriveVirtualDeviceIdOutput virtualDeviceId. */ public virtualDeviceId?: (Uint8Array|null); /** DeriveVirtualDeviceIdOutput error. */ public error?: (string|null); /** * Creates a new DeriveVirtualDeviceIdOutput instance using the specified properties. * @param [properties] Properties to set * @returns DeriveVirtualDeviceIdOutput instance */ public static create(properties?: waproto.IDeriveVirtualDeviceIdOutput): waproto.DeriveVirtualDeviceIdOutput; /** * Encodes the specified DeriveVirtualDeviceIdOutput message. Does not implicitly {@link waproto.DeriveVirtualDeviceIdOutput.verify|verify} messages. * @param message DeriveVirtualDeviceIdOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeriveVirtualDeviceIdOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeriveVirtualDeviceIdOutput message, length delimited. Does not implicitly {@link waproto.DeriveVirtualDeviceIdOutput.verify|verify} messages. * @param message DeriveVirtualDeviceIdOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeriveVirtualDeviceIdOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeriveVirtualDeviceIdOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeriveVirtualDeviceIdOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeriveVirtualDeviceIdOutput; /** * Decodes a DeriveVirtualDeviceIdOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeriveVirtualDeviceIdOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeriveVirtualDeviceIdOutput; /** * Verifies a DeriveVirtualDeviceIdOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeriveVirtualDeviceIdOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeriveVirtualDeviceIdOutput */ public static fromObject(object: { [k: string]: any }): waproto.DeriveVirtualDeviceIdOutput; /** * Creates a plain object from a DeriveVirtualDeviceIdOutput message. Also converts values to other types if specified. * @param message DeriveVirtualDeviceIdOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeriveVirtualDeviceIdOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeriveVirtualDeviceIdOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeriveVirtualDeviceIdOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetachedDevicePublicData. */ interface IDetachedDevicePublicData { /** DetachedDevicePublicData deviceId */ deviceId?: (number|Long|null); /** DetachedDevicePublicData name */ name?: (Uint8Array|null); /** DetachedDevicePublicData sigPk */ sigPk?: (Uint8Array|null); /** DetachedDevicePublicData authPk */ authPk?: (Uint8Array|null); /** DetachedDevicePublicData encPk */ encPk?: (Uint8Array|null); /** DetachedDevicePublicData signature */ signature?: (Uint8Array|null); } /** Represents a DetachedDevicePublicData. */ class DetachedDevicePublicData implements IDetachedDevicePublicData { /** * Constructs a new DetachedDevicePublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.IDetachedDevicePublicData); /** DetachedDevicePublicData deviceId. */ public deviceId?: (number|Long|null); /** DetachedDevicePublicData name. */ public name?: (Uint8Array|null); /** DetachedDevicePublicData sigPk. */ public sigPk?: (Uint8Array|null); /** DetachedDevicePublicData authPk. */ public authPk?: (Uint8Array|null); /** DetachedDevicePublicData encPk. */ public encPk?: (Uint8Array|null); /** DetachedDevicePublicData signature. */ public signature?: (Uint8Array|null); /** * Creates a new DetachedDevicePublicData instance using the specified properties. * @param [properties] Properties to set * @returns DetachedDevicePublicData instance */ public static create(properties?: waproto.IDetachedDevicePublicData): waproto.DetachedDevicePublicData; /** * Encodes the specified DetachedDevicePublicData message. Does not implicitly {@link waproto.DetachedDevicePublicData.verify|verify} messages. * @param message DetachedDevicePublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDetachedDevicePublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DetachedDevicePublicData message, length delimited. Does not implicitly {@link waproto.DetachedDevicePublicData.verify|verify} messages. * @param message DetachedDevicePublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDetachedDevicePublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DetachedDevicePublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DetachedDevicePublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DetachedDevicePublicData; /** * Decodes a DetachedDevicePublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DetachedDevicePublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DetachedDevicePublicData; /** * Verifies a DetachedDevicePublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DetachedDevicePublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DetachedDevicePublicData */ public static fromObject(object: { [k: string]: any }): waproto.DetachedDevicePublicData; /** * Creates a plain object from a DetachedDevicePublicData message. Also converts values to other types if specified. * @param message DetachedDevicePublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DetachedDevicePublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DetachedDevicePublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DetachedDevicePublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceCapabilities. */ interface IDeviceCapabilities { /** DeviceCapabilities chatLockSupportLevel */ chatLockSupportLevel?: (waproto.DeviceCapabilities.ChatLockSupportLevel|null); /** DeviceCapabilities lidMigration */ lidMigration?: (waproto.DeviceCapabilities.ILIDMigration|null); /** DeviceCapabilities businessBroadcast */ businessBroadcast?: (waproto.DeviceCapabilities.IBusinessBroadcast|null); /** DeviceCapabilities userHasAvatar */ userHasAvatar?: (waproto.DeviceCapabilities.IUserHasAvatar|null); /** DeviceCapabilities memberNameTagPrimarySupport */ memberNameTagPrimarySupport?: (waproto.DeviceCapabilities.MemberNameTagPrimarySupport|null); /** DeviceCapabilities aiThread */ aiThread?: (waproto.DeviceCapabilities.IAiThread|null); /** DeviceCapabilities aiFbidMigration */ aiFbidMigration?: (waproto.DeviceCapabilities.IAiFbidMigration|null); /** DeviceCapabilities bizAiSettingsSync */ bizAiSettingsSync?: (waproto.DeviceCapabilities.IBizAiSettingsSync|null); /** DeviceCapabilities contactRefresh */ contactRefresh?: (waproto.DeviceCapabilities.IContactRefresh|null); } /** Represents a DeviceCapabilities. */ class DeviceCapabilities implements IDeviceCapabilities { /** * Constructs a new DeviceCapabilities. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceCapabilities); /** DeviceCapabilities chatLockSupportLevel. */ public chatLockSupportLevel?: (waproto.DeviceCapabilities.ChatLockSupportLevel|null); /** DeviceCapabilities lidMigration. */ public lidMigration?: (waproto.DeviceCapabilities.ILIDMigration|null); /** DeviceCapabilities businessBroadcast. */ public businessBroadcast?: (waproto.DeviceCapabilities.IBusinessBroadcast|null); /** DeviceCapabilities userHasAvatar. */ public userHasAvatar?: (waproto.DeviceCapabilities.IUserHasAvatar|null); /** DeviceCapabilities memberNameTagPrimarySupport. */ public memberNameTagPrimarySupport?: (waproto.DeviceCapabilities.MemberNameTagPrimarySupport|null); /** DeviceCapabilities aiThread. */ public aiThread?: (waproto.DeviceCapabilities.IAiThread|null); /** DeviceCapabilities aiFbidMigration. */ public aiFbidMigration?: (waproto.DeviceCapabilities.IAiFbidMigration|null); /** DeviceCapabilities bizAiSettingsSync. */ public bizAiSettingsSync?: (waproto.DeviceCapabilities.IBizAiSettingsSync|null); /** DeviceCapabilities contactRefresh. */ public contactRefresh?: (waproto.DeviceCapabilities.IContactRefresh|null); /** * Creates a new DeviceCapabilities instance using the specified properties. * @param [properties] Properties to set * @returns DeviceCapabilities instance */ public static create(properties?: waproto.IDeviceCapabilities): waproto.DeviceCapabilities; /** * Encodes the specified DeviceCapabilities message. Does not implicitly {@link waproto.DeviceCapabilities.verify|verify} messages. * @param message DeviceCapabilities message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceCapabilities, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceCapabilities message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.verify|verify} messages. * @param message DeviceCapabilities message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceCapabilities, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceCapabilities message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceCapabilities * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities; /** * Decodes a DeviceCapabilities message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceCapabilities * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities; /** * Verifies a DeviceCapabilities message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceCapabilities message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceCapabilities */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities; /** * Creates a plain object from a DeviceCapabilities message. Also converts values to other types if specified. * @param message DeviceCapabilities * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceCapabilities to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceCapabilities * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DeviceCapabilities { /** MemberNameTagPrimarySupport enum. */ enum MemberNameTagPrimarySupport { DISABLED = 0, RECEIVER_ENABLED = 1, SENDER_ENABLED = 2 } /** ChatLockSupportLevel enum. */ enum ChatLockSupportLevel { NONE = 0, MINIMAL = 1, FULL = 2 } /** Properties of a ContactRefresh. */ interface IContactRefresh { /** ContactRefresh refreshSupported */ refreshSupported?: (boolean|null); } /** Represents a ContactRefresh. */ class ContactRefresh implements IContactRefresh { /** * Constructs a new ContactRefresh. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IContactRefresh); /** ContactRefresh refreshSupported. */ public refreshSupported?: (boolean|null); /** * Creates a new ContactRefresh instance using the specified properties. * @param [properties] Properties to set * @returns ContactRefresh instance */ public static create(properties?: waproto.DeviceCapabilities.IContactRefresh): waproto.DeviceCapabilities.ContactRefresh; /** * Encodes the specified ContactRefresh message. Does not implicitly {@link waproto.DeviceCapabilities.ContactRefresh.verify|verify} messages. * @param message ContactRefresh message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IContactRefresh, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactRefresh message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.ContactRefresh.verify|verify} messages. * @param message ContactRefresh message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IContactRefresh, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactRefresh message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactRefresh * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.ContactRefresh; /** * Decodes a ContactRefresh message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactRefresh * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.ContactRefresh; /** * Verifies a ContactRefresh message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactRefresh message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactRefresh */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.ContactRefresh; /** * Creates a plain object from a ContactRefresh message. Also converts values to other types if specified. * @param message ContactRefresh * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.ContactRefresh, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactRefresh to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactRefresh * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizAiSettingsSync. */ interface IBizAiSettingsSync { /** BizAiSettingsSync handoffRemovalTimingEnabled */ handoffRemovalTimingEnabled?: (boolean|null); } /** Represents a BizAiSettingsSync. */ class BizAiSettingsSync implements IBizAiSettingsSync { /** * Constructs a new BizAiSettingsSync. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IBizAiSettingsSync); /** BizAiSettingsSync handoffRemovalTimingEnabled. */ public handoffRemovalTimingEnabled?: (boolean|null); /** * Creates a new BizAiSettingsSync instance using the specified properties. * @param [properties] Properties to set * @returns BizAiSettingsSync instance */ public static create(properties?: waproto.DeviceCapabilities.IBizAiSettingsSync): waproto.DeviceCapabilities.BizAiSettingsSync; /** * Encodes the specified BizAiSettingsSync message. Does not implicitly {@link waproto.DeviceCapabilities.BizAiSettingsSync.verify|verify} messages. * @param message BizAiSettingsSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IBizAiSettingsSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAiSettingsSync message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.BizAiSettingsSync.verify|verify} messages. * @param message BizAiSettingsSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IBizAiSettingsSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAiSettingsSync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAiSettingsSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.BizAiSettingsSync; /** * Decodes a BizAiSettingsSync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAiSettingsSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.BizAiSettingsSync; /** * Verifies a BizAiSettingsSync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizAiSettingsSync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAiSettingsSync */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.BizAiSettingsSync; /** * Creates a plain object from a BizAiSettingsSync message. Also converts values to other types if specified. * @param message BizAiSettingsSync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.BizAiSettingsSync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAiSettingsSync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAiSettingsSync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AiFbidMigration. */ interface IAiFbidMigration { /** AiFbidMigration chatDbMigrationTimestamp */ chatDbMigrationTimestamp?: (number|Long|null); /** AiFbidMigration supportVersion */ supportVersion?: (number|null); } /** Represents an AiFbidMigration. */ class AiFbidMigration implements IAiFbidMigration { /** * Constructs a new AiFbidMigration. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IAiFbidMigration); /** AiFbidMigration chatDbMigrationTimestamp. */ public chatDbMigrationTimestamp?: (number|Long|null); /** AiFbidMigration supportVersion. */ public supportVersion?: (number|null); /** * Creates a new AiFbidMigration instance using the specified properties. * @param [properties] Properties to set * @returns AiFbidMigration instance */ public static create(properties?: waproto.DeviceCapabilities.IAiFbidMigration): waproto.DeviceCapabilities.AiFbidMigration; /** * Encodes the specified AiFbidMigration message. Does not implicitly {@link waproto.DeviceCapabilities.AiFbidMigration.verify|verify} messages. * @param message AiFbidMigration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IAiFbidMigration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AiFbidMigration message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.AiFbidMigration.verify|verify} messages. * @param message AiFbidMigration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IAiFbidMigration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AiFbidMigration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AiFbidMigration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.AiFbidMigration; /** * Decodes an AiFbidMigration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AiFbidMigration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.AiFbidMigration; /** * Verifies an AiFbidMigration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AiFbidMigration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AiFbidMigration */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.AiFbidMigration; /** * Creates a plain object from an AiFbidMigration message. Also converts values to other types if specified. * @param message AiFbidMigration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.AiFbidMigration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AiFbidMigration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AiFbidMigration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AiThread. */ interface IAiThread { /** AiThread supportLevel */ supportLevel?: (waproto.DeviceCapabilities.AiThread.SupportLevel|null); } /** Represents an AiThread. */ class AiThread implements IAiThread { /** * Constructs a new AiThread. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IAiThread); /** AiThread supportLevel. */ public supportLevel?: (waproto.DeviceCapabilities.AiThread.SupportLevel|null); /** * Creates a new AiThread instance using the specified properties. * @param [properties] Properties to set * @returns AiThread instance */ public static create(properties?: waproto.DeviceCapabilities.IAiThread): waproto.DeviceCapabilities.AiThread; /** * Encodes the specified AiThread message. Does not implicitly {@link waproto.DeviceCapabilities.AiThread.verify|verify} messages. * @param message AiThread message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IAiThread, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AiThread message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.AiThread.verify|verify} messages. * @param message AiThread message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IAiThread, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AiThread message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AiThread * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.AiThread; /** * Decodes an AiThread message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AiThread * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.AiThread; /** * Verifies an AiThread message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AiThread message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AiThread */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.AiThread; /** * Creates a plain object from an AiThread message. Also converts values to other types if specified. * @param message AiThread * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.AiThread, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AiThread to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AiThread * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AiThread { /** SupportLevel enum. */ enum SupportLevel { NONE = 0, INFRA = 1, FULL = 2 } } /** Properties of a UserHasAvatar. */ interface IUserHasAvatar { /** UserHasAvatar userHasAvatar */ userHasAvatar?: (boolean|null); } /** Represents a UserHasAvatar. */ class UserHasAvatar implements IUserHasAvatar { /** * Constructs a new UserHasAvatar. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IUserHasAvatar); /** UserHasAvatar userHasAvatar. */ public userHasAvatar?: (boolean|null); /** * Creates a new UserHasAvatar instance using the specified properties. * @param [properties] Properties to set * @returns UserHasAvatar instance */ public static create(properties?: waproto.DeviceCapabilities.IUserHasAvatar): waproto.DeviceCapabilities.UserHasAvatar; /** * Encodes the specified UserHasAvatar message. Does not implicitly {@link waproto.DeviceCapabilities.UserHasAvatar.verify|verify} messages. * @param message UserHasAvatar message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserHasAvatar message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.UserHasAvatar.verify|verify} messages. * @param message UserHasAvatar message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserHasAvatar message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserHasAvatar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.UserHasAvatar; /** * Decodes a UserHasAvatar message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserHasAvatar * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.UserHasAvatar; /** * Verifies a UserHasAvatar message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserHasAvatar message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserHasAvatar */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.UserHasAvatar; /** * Creates a plain object from a UserHasAvatar message. Also converts values to other types if specified. * @param message UserHasAvatar * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.UserHasAvatar, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserHasAvatar to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UserHasAvatar * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessBroadcast. */ interface IBusinessBroadcast { /** BusinessBroadcast importListEnabled */ importListEnabled?: (boolean|null); /** BusinessBroadcast companionSupportEnabled */ companionSupportEnabled?: (boolean|null); /** BusinessBroadcast campaignSyncEnabled */ campaignSyncEnabled?: (boolean|null); /** BusinessBroadcast insightsSyncEnabled */ insightsSyncEnabled?: (boolean|null); /** BusinessBroadcast recipientLimit */ recipientLimit?: (number|null); /** BusinessBroadcast proCompanionSupportEnabled */ proCompanionSupportEnabled?: (boolean|null); } /** Represents a BusinessBroadcast. */ class BusinessBroadcast implements IBusinessBroadcast { /** * Constructs a new BusinessBroadcast. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.IBusinessBroadcast); /** BusinessBroadcast importListEnabled. */ public importListEnabled?: (boolean|null); /** BusinessBroadcast companionSupportEnabled. */ public companionSupportEnabled?: (boolean|null); /** BusinessBroadcast campaignSyncEnabled. */ public campaignSyncEnabled?: (boolean|null); /** BusinessBroadcast insightsSyncEnabled. */ public insightsSyncEnabled?: (boolean|null); /** BusinessBroadcast recipientLimit. */ public recipientLimit?: (number|null); /** BusinessBroadcast proCompanionSupportEnabled. */ public proCompanionSupportEnabled?: (boolean|null); /** * Creates a new BusinessBroadcast instance using the specified properties. * @param [properties] Properties to set * @returns BusinessBroadcast instance */ public static create(properties?: waproto.DeviceCapabilities.IBusinessBroadcast): waproto.DeviceCapabilities.BusinessBroadcast; /** * Encodes the specified BusinessBroadcast message. Does not implicitly {@link waproto.DeviceCapabilities.BusinessBroadcast.verify|verify} messages. * @param message BusinessBroadcast message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.IBusinessBroadcast, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessBroadcast message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.BusinessBroadcast.verify|verify} messages. * @param message BusinessBroadcast message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.IBusinessBroadcast, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessBroadcast message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessBroadcast * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.BusinessBroadcast; /** * Decodes a BusinessBroadcast message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessBroadcast * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.BusinessBroadcast; /** * Verifies a BusinessBroadcast message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessBroadcast message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessBroadcast */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.BusinessBroadcast; /** * Creates a plain object from a BusinessBroadcast message. Also converts values to other types if specified. * @param message BusinessBroadcast * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.BusinessBroadcast, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessBroadcast to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessBroadcast * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LIDMigration. */ interface ILIDMigration { /** LIDMigration chatDbMigrationTimestamp */ chatDbMigrationTimestamp?: (number|Long|null); } /** Represents a LIDMigration. */ class LIDMigration implements ILIDMigration { /** * Constructs a new LIDMigration. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceCapabilities.ILIDMigration); /** LIDMigration chatDbMigrationTimestamp. */ public chatDbMigrationTimestamp?: (number|Long|null); /** * Creates a new LIDMigration instance using the specified properties. * @param [properties] Properties to set * @returns LIDMigration instance */ public static create(properties?: waproto.DeviceCapabilities.ILIDMigration): waproto.DeviceCapabilities.LIDMigration; /** * Encodes the specified LIDMigration message. Does not implicitly {@link waproto.DeviceCapabilities.LIDMigration.verify|verify} messages. * @param message LIDMigration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceCapabilities.ILIDMigration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LIDMigration message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.LIDMigration.verify|verify} messages. * @param message LIDMigration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceCapabilities.ILIDMigration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LIDMigration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LIDMigration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.LIDMigration; /** * Decodes a LIDMigration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LIDMigration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.LIDMigration; /** * Verifies a LIDMigration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LIDMigration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LIDMigration */ public static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.LIDMigration; /** * Creates a plain object from a LIDMigration message. Also converts values to other types if specified. * @param message LIDMigration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceCapabilities.LIDMigration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LIDMigration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LIDMigration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a DeviceChangeAlertsTableSchemaProto. */ interface IDeviceChangeAlertsTableSchemaProto { /** DeviceChangeAlertsTableSchemaProto action */ action?: (string|null); /** DeviceChangeAlertsTableSchemaProto isArchived */ isArchived?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto deviceChangeAlertsId */ deviceChangeAlertsId?: (number|Long|null); /** DeviceChangeAlertsTableSchemaProto location */ location?: (string|null); /** DeviceChangeAlertsTableSchemaProto model */ model?: (string|null); /** DeviceChangeAlertsTableSchemaProto ts */ ts?: (number|Long|null); /** DeviceChangeAlertsTableSchemaProto loggedOut */ loggedOut?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto deviceJid */ deviceJid?: (string|null); /** DeviceChangeAlertsTableSchemaProto identity */ identity?: (Uint8Array|null); /** DeviceChangeAlertsTableSchemaProto platform */ platform?: (string|null); /** DeviceChangeAlertsTableSchemaProto latitude */ latitude?: (string|null); /** DeviceChangeAlertsTableSchemaProto longitude */ longitude?: (string|null); /** DeviceChangeAlertsTableSchemaProto isConfirmed */ isConfirmed?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto isNotified */ isNotified?: (boolean|null); } /** Represents a DeviceChangeAlertsTableSchemaProto. */ class DeviceChangeAlertsTableSchemaProto implements IDeviceChangeAlertsTableSchemaProto { /** * Constructs a new DeviceChangeAlertsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceChangeAlertsTableSchemaProto); /** DeviceChangeAlertsTableSchemaProto action. */ public action?: (string|null); /** DeviceChangeAlertsTableSchemaProto isArchived. */ public isArchived?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto deviceChangeAlertsId. */ public deviceChangeAlertsId?: (number|Long|null); /** DeviceChangeAlertsTableSchemaProto location. */ public location?: (string|null); /** DeviceChangeAlertsTableSchemaProto model. */ public model?: (string|null); /** DeviceChangeAlertsTableSchemaProto ts. */ public ts?: (number|Long|null); /** DeviceChangeAlertsTableSchemaProto loggedOut. */ public loggedOut?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto deviceJid. */ public deviceJid?: (string|null); /** DeviceChangeAlertsTableSchemaProto identity. */ public identity?: (Uint8Array|null); /** DeviceChangeAlertsTableSchemaProto platform. */ public platform?: (string|null); /** DeviceChangeAlertsTableSchemaProto latitude. */ public latitude?: (string|null); /** DeviceChangeAlertsTableSchemaProto longitude. */ public longitude?: (string|null); /** DeviceChangeAlertsTableSchemaProto isConfirmed. */ public isConfirmed?: (boolean|null); /** DeviceChangeAlertsTableSchemaProto isNotified. */ public isNotified?: (boolean|null); /** * Creates a new DeviceChangeAlertsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns DeviceChangeAlertsTableSchemaProto instance */ public static create(properties?: waproto.IDeviceChangeAlertsTableSchemaProto): waproto.DeviceChangeAlertsTableSchemaProto; /** * Encodes the specified DeviceChangeAlertsTableSchemaProto message. Does not implicitly {@link waproto.DeviceChangeAlertsTableSchemaProto.verify|verify} messages. * @param message DeviceChangeAlertsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceChangeAlertsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceChangeAlertsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.DeviceChangeAlertsTableSchemaProto.verify|verify} messages. * @param message DeviceChangeAlertsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceChangeAlertsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceChangeAlertsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceChangeAlertsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceChangeAlertsTableSchemaProto; /** * Decodes a DeviceChangeAlertsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceChangeAlertsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceChangeAlertsTableSchemaProto; /** * Verifies a DeviceChangeAlertsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceChangeAlertsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceChangeAlertsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.DeviceChangeAlertsTableSchemaProto; /** * Creates a plain object from a DeviceChangeAlertsTableSchemaProto message. Also converts values to other types if specified. * @param message DeviceChangeAlertsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceChangeAlertsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceChangeAlertsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceChangeAlertsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceConsistencyCodeMessage. */ interface IDeviceConsistencyCodeMessage { /** DeviceConsistencyCodeMessage generation */ generation?: (number|null); /** DeviceConsistencyCodeMessage signature */ signature?: (Uint8Array|null); } /** Represents a DeviceConsistencyCodeMessage. */ class DeviceConsistencyCodeMessage implements IDeviceConsistencyCodeMessage { /** * Constructs a new DeviceConsistencyCodeMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceConsistencyCodeMessage); /** DeviceConsistencyCodeMessage generation. */ public generation?: (number|null); /** DeviceConsistencyCodeMessage signature. */ public signature?: (Uint8Array|null); /** * Creates a new DeviceConsistencyCodeMessage instance using the specified properties. * @param [properties] Properties to set * @returns DeviceConsistencyCodeMessage instance */ public static create(properties?: waproto.IDeviceConsistencyCodeMessage): waproto.DeviceConsistencyCodeMessage; /** * Encodes the specified DeviceConsistencyCodeMessage message. Does not implicitly {@link waproto.DeviceConsistencyCodeMessage.verify|verify} messages. * @param message DeviceConsistencyCodeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceConsistencyCodeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceConsistencyCodeMessage message, length delimited. Does not implicitly {@link waproto.DeviceConsistencyCodeMessage.verify|verify} messages. * @param message DeviceConsistencyCodeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceConsistencyCodeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceConsistencyCodeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceConsistencyCodeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceConsistencyCodeMessage; /** * Decodes a DeviceConsistencyCodeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceConsistencyCodeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceConsistencyCodeMessage; /** * Verifies a DeviceConsistencyCodeMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceConsistencyCodeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceConsistencyCodeMessage */ public static fromObject(object: { [k: string]: any }): waproto.DeviceConsistencyCodeMessage; /** * Creates a plain object from a DeviceConsistencyCodeMessage message. Also converts values to other types if specified. * @param message DeviceConsistencyCodeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceConsistencyCodeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceConsistencyCodeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceConsistencyCodeMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceListMetadata. */ interface IDeviceListMetadata { /** DeviceListMetadata senderKeyHash */ senderKeyHash?: (Uint8Array|null); /** DeviceListMetadata senderTimestamp */ senderTimestamp?: (number|Long|null); /** DeviceListMetadata senderKeyIndexes */ senderKeyIndexes?: (number[]|null); /** DeviceListMetadata senderAccountType */ senderAccountType?: (waproto.ADVEncryptionType|null); /** DeviceListMetadata receiverAccountType */ receiverAccountType?: (waproto.ADVEncryptionType|null); /** DeviceListMetadata recipientKeyHash */ recipientKeyHash?: (Uint8Array|null); /** DeviceListMetadata recipientTimestamp */ recipientTimestamp?: (number|Long|null); /** DeviceListMetadata recipientKeyIndexes */ recipientKeyIndexes?: (number[]|null); } /** Represents a DeviceListMetadata. */ class DeviceListMetadata implements IDeviceListMetadata { /** * Constructs a new DeviceListMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceListMetadata); /** DeviceListMetadata senderKeyHash. */ public senderKeyHash?: (Uint8Array|null); /** DeviceListMetadata senderTimestamp. */ public senderTimestamp?: (number|Long|null); /** DeviceListMetadata senderKeyIndexes. */ public senderKeyIndexes: number[]; /** DeviceListMetadata senderAccountType. */ public senderAccountType?: (waproto.ADVEncryptionType|null); /** DeviceListMetadata receiverAccountType. */ public receiverAccountType?: (waproto.ADVEncryptionType|null); /** DeviceListMetadata recipientKeyHash. */ public recipientKeyHash?: (Uint8Array|null); /** DeviceListMetadata recipientTimestamp. */ public recipientTimestamp?: (number|Long|null); /** DeviceListMetadata recipientKeyIndexes. */ public recipientKeyIndexes: number[]; /** * Creates a new DeviceListMetadata instance using the specified properties. * @param [properties] Properties to set * @returns DeviceListMetadata instance */ public static create(properties?: waproto.IDeviceListMetadata): waproto.DeviceListMetadata; /** * Encodes the specified DeviceListMetadata message. Does not implicitly {@link waproto.DeviceListMetadata.verify|verify} messages. * @param message DeviceListMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceListMetadata message, length delimited. Does not implicitly {@link waproto.DeviceListMetadata.verify|verify} messages. * @param message DeviceListMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceListMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceListMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceListMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceListMetadata; /** * Decodes a DeviceListMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceListMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceListMetadata; /** * Verifies a DeviceListMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceListMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceListMetadata */ public static fromObject(object: { [k: string]: any }): waproto.DeviceListMetadata; /** * Creates a plain object from a DeviceListMetadata message. Also converts values to other types if specified. * @param message DeviceListMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceListMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceListMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceListMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceOutput. */ interface IDeviceOutput { /** DeviceOutput publicKey */ publicKey?: (Uint8Array|null); /** DeviceOutput epochAuthPublicKey */ epochAuthPublicKey?: (Uint8Array|null); /** DeviceOutput epochAuthPublicKeySig */ epochAuthPublicKeySig?: (Uint8Array|null); /** DeviceOutput epochStoragePublicKey */ epochStoragePublicKey?: (Uint8Array|null); /** DeviceOutput epochStoragePublicKeySig */ epochStoragePublicKeySig?: (Uint8Array|null); /** DeviceOutput supportedEncryptionVersions */ supportedEncryptionVersions?: (number[]|null); /** DeviceOutput encryptionVersionSignature */ encryptionVersionSignature?: (Uint8Array|null); /** DeviceOutput clientVersion */ clientVersion?: (number|null); /** DeviceOutput ocmfClientState */ ocmfClientState?: (Uint8Array|null); /** DeviceOutput epochStoragePrivateKey */ epochStoragePrivateKey?: (Uint8Array|null); /** DeviceOutput epochAuthPrivateKey */ epochAuthPrivateKey?: (Uint8Array|null); /** DeviceOutput deviceEpochHmac */ deviceEpochHmac?: (Uint8Array|null); } /** Represents a DeviceOutput. */ class DeviceOutput implements IDeviceOutput { /** * Constructs a new DeviceOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceOutput); /** DeviceOutput publicKey. */ public publicKey?: (Uint8Array|null); /** DeviceOutput epochAuthPublicKey. */ public epochAuthPublicKey?: (Uint8Array|null); /** DeviceOutput epochAuthPublicKeySig. */ public epochAuthPublicKeySig?: (Uint8Array|null); /** DeviceOutput epochStoragePublicKey. */ public epochStoragePublicKey?: (Uint8Array|null); /** DeviceOutput epochStoragePublicKeySig. */ public epochStoragePublicKeySig?: (Uint8Array|null); /** DeviceOutput supportedEncryptionVersions. */ public supportedEncryptionVersions: number[]; /** DeviceOutput encryptionVersionSignature. */ public encryptionVersionSignature?: (Uint8Array|null); /** DeviceOutput clientVersion. */ public clientVersion?: (number|null); /** DeviceOutput ocmfClientState. */ public ocmfClientState?: (Uint8Array|null); /** DeviceOutput epochStoragePrivateKey. */ public epochStoragePrivateKey?: (Uint8Array|null); /** DeviceOutput epochAuthPrivateKey. */ public epochAuthPrivateKey?: (Uint8Array|null); /** DeviceOutput deviceEpochHmac. */ public deviceEpochHmac?: (Uint8Array|null); /** * Creates a new DeviceOutput instance using the specified properties. * @param [properties] Properties to set * @returns DeviceOutput instance */ public static create(properties?: waproto.IDeviceOutput): waproto.DeviceOutput; /** * Encodes the specified DeviceOutput message. Does not implicitly {@link waproto.DeviceOutput.verify|verify} messages. * @param message DeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceOutput message, length delimited. Does not implicitly {@link waproto.DeviceOutput.verify|verify} messages. * @param message DeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceOutput; /** * Decodes a DeviceOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceOutput; /** * Verifies a DeviceOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceOutput */ public static fromObject(object: { [k: string]: any }): waproto.DeviceOutput; /** * Creates a plain object from a DeviceOutput message. Also converts values to other types if specified. * @param message DeviceOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceProps. */ interface IDeviceProps { /** DeviceProps os */ os?: (string|null); /** DeviceProps version */ version?: (waproto.DeviceProps.IAppVersion|null); /** DeviceProps platformType */ platformType?: (waproto.DeviceProps.PlatformType|null); /** DeviceProps requireFullSync */ requireFullSync?: (boolean|null); /** DeviceProps historySyncConfig */ historySyncConfig?: (waproto.DeviceProps.IHistorySyncConfig|null); } /** Represents a DeviceProps. */ class DeviceProps implements IDeviceProps { /** * Constructs a new DeviceProps. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceProps); /** DeviceProps os. */ public os?: (string|null); /** DeviceProps version. */ public version?: (waproto.DeviceProps.IAppVersion|null); /** DeviceProps platformType. */ public platformType?: (waproto.DeviceProps.PlatformType|null); /** DeviceProps requireFullSync. */ public requireFullSync?: (boolean|null); /** DeviceProps historySyncConfig. */ public historySyncConfig?: (waproto.DeviceProps.IHistorySyncConfig|null); /** * Creates a new DeviceProps instance using the specified properties. * @param [properties] Properties to set * @returns DeviceProps instance */ public static create(properties?: waproto.IDeviceProps): waproto.DeviceProps; /** * Encodes the specified DeviceProps message. Does not implicitly {@link waproto.DeviceProps.verify|verify} messages. * @param message DeviceProps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceProps message, length delimited. Does not implicitly {@link waproto.DeviceProps.verify|verify} messages. * @param message DeviceProps message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceProps message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceProps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceProps; /** * Decodes a DeviceProps message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceProps * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceProps; /** * Verifies a DeviceProps message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceProps message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceProps */ public static fromObject(object: { [k: string]: any }): waproto.DeviceProps; /** * Creates a plain object from a DeviceProps message. Also converts values to other types if specified. * @param message DeviceProps * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceProps, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceProps to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceProps * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DeviceProps { /** PlatformType enum. */ enum PlatformType { UNKNOWN = 0, CHROME = 1, FIREFOX = 2, IE = 3, OPERA = 4, SAFARI = 5, EDGE = 6, DESKTOP = 7, IPAD = 8, ANDROID_TABLET = 9, OHANA = 10, ALOHA = 11, CATALINA = 12, TCL_TV = 13, IOS_PHONE = 14, IOS_CATALYST = 15, ANDROID_PHONE = 16, ANDROID_AMBIGUOUS = 17, WEAR_OS = 18, AR_WRIST = 19, AR_DEVICE = 20, UWP = 21, VR = 22, CLOUD_API = 23, SMARTGLASSES = 24, WAIL = 25, WASS = 26, BUSINESS_BACK_OFFICE = 27 } /** Properties of a HistorySyncConfig. */ interface IHistorySyncConfig { /** HistorySyncConfig fullSyncDaysLimit */ fullSyncDaysLimit?: (number|null); /** HistorySyncConfig fullSyncSizeMbLimit */ fullSyncSizeMbLimit?: (number|null); /** HistorySyncConfig storageQuotaMb */ storageQuotaMb?: (number|null); /** HistorySyncConfig inlineInitialPayloadInE2EeMsg */ inlineInitialPayloadInE2EeMsg?: (boolean|null); /** HistorySyncConfig recentSyncDaysLimit */ recentSyncDaysLimit?: (number|null); /** HistorySyncConfig supportCallLogHistory */ supportCallLogHistory?: (boolean|null); /** HistorySyncConfig supportBotUserAgentChatHistory */ supportBotUserAgentChatHistory?: (boolean|null); /** HistorySyncConfig supportCagReactionsAndPolls */ supportCagReactionsAndPolls?: (boolean|null); /** HistorySyncConfig supportBizHostedMsg */ supportBizHostedMsg?: (boolean|null); /** HistorySyncConfig supportRecentSyncChunkMessageCountTuning */ supportRecentSyncChunkMessageCountTuning?: (boolean|null); /** HistorySyncConfig supportHostedGroupMsg */ supportHostedGroupMsg?: (boolean|null); /** HistorySyncConfig supportFbidBotChatHistory */ supportFbidBotChatHistory?: (boolean|null); /** HistorySyncConfig supportAddOnHistorySyncMigration */ supportAddOnHistorySyncMigration?: (boolean|null); /** HistorySyncConfig supportMessageAssociation */ supportMessageAssociation?: (boolean|null); /** HistorySyncConfig supportGroupHistory */ supportGroupHistory?: (boolean|null); /** HistorySyncConfig onDemandReady */ onDemandReady?: (boolean|null); /** HistorySyncConfig supportGuestChat */ supportGuestChat?: (boolean|null); /** HistorySyncConfig completeOnDemandReady */ completeOnDemandReady?: (boolean|null); /** HistorySyncConfig thumbnailSyncDaysLimit */ thumbnailSyncDaysLimit?: (number|null); /** HistorySyncConfig initialSyncMaxMessagesPerChat */ initialSyncMaxMessagesPerChat?: (number|null); /** HistorySyncConfig supportManusHistory */ supportManusHistory?: (boolean|null); /** HistorySyncConfig supportHatchHistory */ supportHatchHistory?: (boolean|null); /** HistorySyncConfig supportedBotChannelFbids */ supportedBotChannelFbids?: (string[]|null); /** HistorySyncConfig supportInlineContacts */ supportInlineContacts?: (boolean|null); /** HistorySyncConfig supportNewsletter */ supportNewsletter?: (boolean|null); } /** Represents a HistorySyncConfig. */ class HistorySyncConfig implements IHistorySyncConfig { /** * Constructs a new HistorySyncConfig. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceProps.IHistorySyncConfig); /** HistorySyncConfig fullSyncDaysLimit. */ public fullSyncDaysLimit?: (number|null); /** HistorySyncConfig fullSyncSizeMbLimit. */ public fullSyncSizeMbLimit?: (number|null); /** HistorySyncConfig storageQuotaMb. */ public storageQuotaMb?: (number|null); /** HistorySyncConfig inlineInitialPayloadInE2EeMsg. */ public inlineInitialPayloadInE2EeMsg?: (boolean|null); /** HistorySyncConfig recentSyncDaysLimit. */ public recentSyncDaysLimit?: (number|null); /** HistorySyncConfig supportCallLogHistory. */ public supportCallLogHistory?: (boolean|null); /** HistorySyncConfig supportBotUserAgentChatHistory. */ public supportBotUserAgentChatHistory?: (boolean|null); /** HistorySyncConfig supportCagReactionsAndPolls. */ public supportCagReactionsAndPolls?: (boolean|null); /** HistorySyncConfig supportBizHostedMsg. */ public supportBizHostedMsg?: (boolean|null); /** HistorySyncConfig supportRecentSyncChunkMessageCountTuning. */ public supportRecentSyncChunkMessageCountTuning?: (boolean|null); /** HistorySyncConfig supportHostedGroupMsg. */ public supportHostedGroupMsg?: (boolean|null); /** HistorySyncConfig supportFbidBotChatHistory. */ public supportFbidBotChatHistory?: (boolean|null); /** HistorySyncConfig supportAddOnHistorySyncMigration. */ public supportAddOnHistorySyncMigration?: (boolean|null); /** HistorySyncConfig supportMessageAssociation. */ public supportMessageAssociation?: (boolean|null); /** HistorySyncConfig supportGroupHistory. */ public supportGroupHistory?: (boolean|null); /** HistorySyncConfig onDemandReady. */ public onDemandReady?: (boolean|null); /** HistorySyncConfig supportGuestChat. */ public supportGuestChat?: (boolean|null); /** HistorySyncConfig completeOnDemandReady. */ public completeOnDemandReady?: (boolean|null); /** HistorySyncConfig thumbnailSyncDaysLimit. */ public thumbnailSyncDaysLimit?: (number|null); /** HistorySyncConfig initialSyncMaxMessagesPerChat. */ public initialSyncMaxMessagesPerChat?: (number|null); /** HistorySyncConfig supportManusHistory. */ public supportManusHistory?: (boolean|null); /** HistorySyncConfig supportHatchHistory. */ public supportHatchHistory?: (boolean|null); /** HistorySyncConfig supportedBotChannelFbids. */ public supportedBotChannelFbids: string[]; /** HistorySyncConfig supportInlineContacts. */ public supportInlineContacts?: (boolean|null); /** HistorySyncConfig supportNewsletter. */ public supportNewsletter?: (boolean|null); /** * Creates a new HistorySyncConfig instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncConfig instance */ public static create(properties?: waproto.DeviceProps.IHistorySyncConfig): waproto.DeviceProps.HistorySyncConfig; /** * Encodes the specified HistorySyncConfig message. Does not implicitly {@link waproto.DeviceProps.HistorySyncConfig.verify|verify} messages. * @param message HistorySyncConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncConfig message, length delimited. Does not implicitly {@link waproto.DeviceProps.HistorySyncConfig.verify|verify} messages. * @param message HistorySyncConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceProps.HistorySyncConfig; /** * Decodes a HistorySyncConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceProps.HistorySyncConfig; /** * Verifies a HistorySyncConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncConfig */ public static fromObject(object: { [k: string]: any }): waproto.DeviceProps.HistorySyncConfig; /** * Creates a plain object from a HistorySyncConfig message. Also converts values to other types if specified. * @param message HistorySyncConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceProps.HistorySyncConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppVersion. */ interface IAppVersion { /** AppVersion primary */ primary?: (number|null); /** AppVersion secondary */ secondary?: (number|null); /** AppVersion tertiary */ tertiary?: (number|null); /** AppVersion quaternary */ quaternary?: (number|null); /** AppVersion quinary */ quinary?: (number|null); } /** Represents an AppVersion. */ class AppVersion implements IAppVersion { /** * Constructs a new AppVersion. * @param [properties] Properties to set */ constructor(properties?: waproto.DeviceProps.IAppVersion); /** AppVersion primary. */ public primary?: (number|null); /** AppVersion secondary. */ public secondary?: (number|null); /** AppVersion tertiary. */ public tertiary?: (number|null); /** AppVersion quaternary. */ public quaternary?: (number|null); /** AppVersion quinary. */ public quinary?: (number|null); /** * Creates a new AppVersion instance using the specified properties. * @param [properties] Properties to set * @returns AppVersion instance */ public static create(properties?: waproto.DeviceProps.IAppVersion): waproto.DeviceProps.AppVersion; /** * Encodes the specified AppVersion message. Does not implicitly {@link waproto.DeviceProps.AppVersion.verify|verify} messages. * @param message AppVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppVersion message, length delimited. Does not implicitly {@link waproto.DeviceProps.AppVersion.verify|verify} messages. * @param message AppVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppVersion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceProps.AppVersion; /** * Decodes an AppVersion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceProps.AppVersion; /** * Verifies an AppVersion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppVersion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppVersion */ public static fromObject(object: { [k: string]: any }): waproto.DeviceProps.AppVersion; /** * Creates a plain object from an AppVersion message. Also converts values to other types if specified. * @param message AppVersion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceProps.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppVersion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppVersion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a DeviceResponse. */ interface IDeviceResponse { /** DeviceResponse deviceId */ deviceId?: (number|null); /** DeviceResponse deviceResponse */ deviceResponse?: (boolean|null); } /** Represents a DeviceResponse. */ class DeviceResponse implements IDeviceResponse { /** * Constructs a new DeviceResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.IDeviceResponse); /** DeviceResponse deviceId. */ public deviceId?: (number|null); /** DeviceResponse deviceResponse. */ public deviceResponse?: (boolean|null); /** * Creates a new DeviceResponse instance using the specified properties. * @param [properties] Properties to set * @returns DeviceResponse instance */ public static create(properties?: waproto.IDeviceResponse): waproto.DeviceResponse; /** * Encodes the specified DeviceResponse message. Does not implicitly {@link waproto.DeviceResponse.verify|verify} messages. * @param message DeviceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDeviceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceResponse message, length delimited. Does not implicitly {@link waproto.DeviceResponse.verify|verify} messages. * @param message DeviceResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDeviceResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceResponse; /** * Decodes a DeviceResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceResponse; /** * Verifies a DeviceResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceResponse */ public static fromObject(object: { [k: string]: any }): waproto.DeviceResponse; /** * Creates a plain object from a DeviceResponse message. Also converts values to other types if specified. * @param message DeviceResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DeviceResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DisappearingMode. */ interface IDisappearingMode { /** DisappearingMode initiator */ initiator?: (waproto.DisappearingMode.Initiator|null); /** DisappearingMode trigger */ trigger?: (waproto.DisappearingMode.Trigger|null); /** DisappearingMode initiatorDeviceJid */ initiatorDeviceJid?: (string|null); /** DisappearingMode initiatedByMe */ initiatedByMe?: (boolean|null); } /** Represents a DisappearingMode. */ class DisappearingMode implements IDisappearingMode { /** * Constructs a new DisappearingMode. * @param [properties] Properties to set */ constructor(properties?: waproto.IDisappearingMode); /** DisappearingMode initiator. */ public initiator?: (waproto.DisappearingMode.Initiator|null); /** DisappearingMode trigger. */ public trigger?: (waproto.DisappearingMode.Trigger|null); /** DisappearingMode initiatorDeviceJid. */ public initiatorDeviceJid?: (string|null); /** DisappearingMode initiatedByMe. */ public initiatedByMe?: (boolean|null); /** * Creates a new DisappearingMode instance using the specified properties. * @param [properties] Properties to set * @returns DisappearingMode instance */ public static create(properties?: waproto.IDisappearingMode): waproto.DisappearingMode; /** * Encodes the specified DisappearingMode message. Does not implicitly {@link waproto.DisappearingMode.verify|verify} messages. * @param message DisappearingMode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DisappearingMode message, length delimited. Does not implicitly {@link waproto.DisappearingMode.verify|verify} messages. * @param message DisappearingMode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDisappearingMode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DisappearingMode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DisappearingMode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DisappearingMode; /** * Decodes a DisappearingMode message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DisappearingMode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DisappearingMode; /** * Verifies a DisappearingMode message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DisappearingMode message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DisappearingMode */ public static fromObject(object: { [k: string]: any }): waproto.DisappearingMode; /** * Creates a plain object from a DisappearingMode message. Also converts values to other types if specified. * @param message DisappearingMode * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DisappearingMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DisappearingMode to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DisappearingMode * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DisappearingMode { /** Trigger enum. */ enum Trigger { UNKNOWN = 0, CHAT_SETTING = 1, ACCOUNT_SETTING = 2, BULK_CHANGE = 3, BIZ_SUPPORTS_FB_HOSTING = 4, UNKNOWN_GROUPS = 5 } /** Initiator enum. */ enum Initiator { CHANGED_IN_CHAT = 0, INITIATED_BY_ME = 1, INITIATED_BY_OTHER = 2, BIZ_UPGRADE_FB_HOSTING = 3 } } /** Properties of a DocumentFileMsgContentProto. */ interface IDocumentFileMsgContentProto { /** DocumentFileMsgContentProto filename */ filename?: (string|null); /** DocumentFileMsgContentProto mimetype */ mimetype?: (string|null); } /** Represents a DocumentFileMsgContentProto. */ class DocumentFileMsgContentProto implements IDocumentFileMsgContentProto { /** * Constructs a new DocumentFileMsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDocumentFileMsgContentProto); /** DocumentFileMsgContentProto filename. */ public filename?: (string|null); /** DocumentFileMsgContentProto mimetype. */ public mimetype?: (string|null); /** * Creates a new DocumentFileMsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns DocumentFileMsgContentProto instance */ public static create(properties?: waproto.IDocumentFileMsgContentProto): waproto.DocumentFileMsgContentProto; /** * Encodes the specified DocumentFileMsgContentProto message. Does not implicitly {@link waproto.DocumentFileMsgContentProto.verify|verify} messages. * @param message DocumentFileMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDocumentFileMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DocumentFileMsgContentProto message, length delimited. Does not implicitly {@link waproto.DocumentFileMsgContentProto.verify|verify} messages. * @param message DocumentFileMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDocumentFileMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DocumentFileMsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DocumentFileMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DocumentFileMsgContentProto; /** * Decodes a DocumentFileMsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DocumentFileMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DocumentFileMsgContentProto; /** * Verifies a DocumentFileMsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DocumentFileMsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentFileMsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.DocumentFileMsgContentProto; /** * Creates a plain object from a DocumentFileMsgContentProto message. Also converts values to other types if specified. * @param message DocumentFileMsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DocumentFileMsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentFileMsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentFileMsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentTransport. */ interface IDocumentTransport { /** DocumentTransport integral */ integral?: (waproto.DocumentTransport.IIntegral|null); /** DocumentTransport ancillary */ ancillary?: (waproto.DocumentTransport.IAncillary|null); } /** Represents a DocumentTransport. */ class DocumentTransport implements IDocumentTransport { /** * Constructs a new DocumentTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IDocumentTransport); /** DocumentTransport integral. */ public integral?: (waproto.DocumentTransport.IIntegral|null); /** DocumentTransport ancillary. */ public ancillary?: (waproto.DocumentTransport.IAncillary|null); /** * Creates a new DocumentTransport instance using the specified properties. * @param [properties] Properties to set * @returns DocumentTransport instance */ public static create(properties?: waproto.IDocumentTransport): waproto.DocumentTransport; /** * Encodes the specified DocumentTransport message. Does not implicitly {@link waproto.DocumentTransport.verify|verify} messages. * @param message DocumentTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDocumentTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DocumentTransport message, length delimited. Does not implicitly {@link waproto.DocumentTransport.verify|verify} messages. * @param message DocumentTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDocumentTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DocumentTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DocumentTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DocumentTransport; /** * Decodes a DocumentTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DocumentTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DocumentTransport; /** * Verifies a DocumentTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DocumentTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentTransport */ public static fromObject(object: { [k: string]: any }): waproto.DocumentTransport; /** * Creates a plain object from a DocumentTransport message. Also converts values to other types if specified. * @param message DocumentTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DocumentTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DocumentTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary pageCount */ pageCount?: (number|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.DocumentTransport.IAncillary); /** Ancillary pageCount. */ public pageCount?: (number|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.DocumentTransport.IAncillary): waproto.DocumentTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.DocumentTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DocumentTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.DocumentTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DocumentTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DocumentTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DocumentTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.DocumentTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DocumentTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Integral. */ interface IIntegral { /** Integral transport */ transport?: (waproto.IWAMediaTransport|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.DocumentTransport.IIntegral); /** Integral transport. */ public transport?: (waproto.IWAMediaTransport|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.DocumentTransport.IIntegral): waproto.DocumentTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.DocumentTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.DocumentTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.DocumentTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.DocumentTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DocumentTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DocumentTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.DocumentTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DocumentTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a DyiBatchTableSchemaProto. */ interface IDyiBatchTableSchemaProto { /** DyiBatchTableSchemaProto batchId */ batchId?: (number|null); /** DyiBatchTableSchemaProto numMessages */ numMessages?: (number|null); /** DyiBatchTableSchemaProto oldestTs */ oldestTs?: (number|Long|null); /** DyiBatchTableSchemaProto threadId */ threadId?: (string|null); /** DyiBatchTableSchemaProto isThread */ isThread?: (boolean|null); /** DyiBatchTableSchemaProto numMessagesRestored */ numMessagesRestored?: (number|null); /** DyiBatchTableSchemaProto qplInstanceKeyForThread */ qplInstanceKeyForThread?: (number|Long|null); /** DyiBatchTableSchemaProto qplFlowDescriptor */ qplFlowDescriptor?: (waproto.DYI_BATCH_TABLE_SCHEMA_PROTO_QPL_FLOW_DESCRIPTOR|null); /** DyiBatchTableSchemaProto qplInstanceKeyE2E */ qplInstanceKeyE2E?: (number|Long|null); /** DyiBatchTableSchemaProto numThreadsRestored */ numThreadsRestored?: (number|Long|null); } /** Represents a DyiBatchTableSchemaProto. */ class DyiBatchTableSchemaProto implements IDyiBatchTableSchemaProto { /** * Constructs a new DyiBatchTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IDyiBatchTableSchemaProto); /** DyiBatchTableSchemaProto batchId. */ public batchId?: (number|null); /** DyiBatchTableSchemaProto numMessages. */ public numMessages?: (number|null); /** DyiBatchTableSchemaProto oldestTs. */ public oldestTs?: (number|Long|null); /** DyiBatchTableSchemaProto threadId. */ public threadId?: (string|null); /** DyiBatchTableSchemaProto isThread. */ public isThread?: (boolean|null); /** DyiBatchTableSchemaProto numMessagesRestored. */ public numMessagesRestored?: (number|null); /** DyiBatchTableSchemaProto qplInstanceKeyForThread. */ public qplInstanceKeyForThread?: (number|Long|null); /** DyiBatchTableSchemaProto qplFlowDescriptor. */ public qplFlowDescriptor?: (waproto.DYI_BATCH_TABLE_SCHEMA_PROTO_QPL_FLOW_DESCRIPTOR|null); /** DyiBatchTableSchemaProto qplInstanceKeyE2E. */ public qplInstanceKeyE2E?: (number|Long|null); /** DyiBatchTableSchemaProto numThreadsRestored. */ public numThreadsRestored?: (number|Long|null); /** * Creates a new DyiBatchTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns DyiBatchTableSchemaProto instance */ public static create(properties?: waproto.IDyiBatchTableSchemaProto): waproto.DyiBatchTableSchemaProto; /** * Encodes the specified DyiBatchTableSchemaProto message. Does not implicitly {@link waproto.DyiBatchTableSchemaProto.verify|verify} messages. * @param message DyiBatchTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IDyiBatchTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DyiBatchTableSchemaProto message, length delimited. Does not implicitly {@link waproto.DyiBatchTableSchemaProto.verify|verify} messages. * @param message DyiBatchTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IDyiBatchTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DyiBatchTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DyiBatchTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DyiBatchTableSchemaProto; /** * Decodes a DyiBatchTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DyiBatchTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DyiBatchTableSchemaProto; /** * Verifies a DyiBatchTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DyiBatchTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DyiBatchTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.DyiBatchTableSchemaProto; /** * Creates a plain object from a DyiBatchTableSchemaProto message. Also converts values to other types if specified. * @param message DyiBatchTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.DyiBatchTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DyiBatchTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DyiBatchTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a EBMsgRangesTableSchemaProto. */ interface IEBMsgRangesTableSchemaProto { /** EBMsgRangesTableSchemaProto rangeId */ rangeId?: (number|null); /** EBMsgRangesTableSchemaProto threadJid */ threadJid?: (string|null); /** EBMsgRangesTableSchemaProto minMsgExternalId */ minMsgExternalId?: (string|null); /** EBMsgRangesTableSchemaProto maxMsgExternalId */ maxMsgExternalId?: (string|null); /** EBMsgRangesTableSchemaProto minMsgSortOrderMs */ minMsgSortOrderMs?: (number|Long|null); /** EBMsgRangesTableSchemaProto maxMsgSortOrderMs */ maxMsgSortOrderMs?: (number|Long|null); /** EBMsgRangesTableSchemaProto creationTime */ creationTime?: (number|Long|null); } /** Represents a EBMsgRangesTableSchemaProto. */ class EBMsgRangesTableSchemaProto implements IEBMsgRangesTableSchemaProto { /** * Constructs a new EBMsgRangesTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IEBMsgRangesTableSchemaProto); /** EBMsgRangesTableSchemaProto rangeId. */ public rangeId?: (number|null); /** EBMsgRangesTableSchemaProto threadJid. */ public threadJid?: (string|null); /** EBMsgRangesTableSchemaProto minMsgExternalId. */ public minMsgExternalId?: (string|null); /** EBMsgRangesTableSchemaProto maxMsgExternalId. */ public maxMsgExternalId?: (string|null); /** EBMsgRangesTableSchemaProto minMsgSortOrderMs. */ public minMsgSortOrderMs?: (number|Long|null); /** EBMsgRangesTableSchemaProto maxMsgSortOrderMs. */ public maxMsgSortOrderMs?: (number|Long|null); /** EBMsgRangesTableSchemaProto creationTime. */ public creationTime?: (number|Long|null); /** * Creates a new EBMsgRangesTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns EBMsgRangesTableSchemaProto instance */ public static create(properties?: waproto.IEBMsgRangesTableSchemaProto): waproto.EBMsgRangesTableSchemaProto; /** * Encodes the specified EBMsgRangesTableSchemaProto message. Does not implicitly {@link waproto.EBMsgRangesTableSchemaProto.verify|verify} messages. * @param message EBMsgRangesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEBMsgRangesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EBMsgRangesTableSchemaProto message, length delimited. Does not implicitly {@link waproto.EBMsgRangesTableSchemaProto.verify|verify} messages. * @param message EBMsgRangesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEBMsgRangesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a EBMsgRangesTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EBMsgRangesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EBMsgRangesTableSchemaProto; /** * Decodes a EBMsgRangesTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EBMsgRangesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EBMsgRangesTableSchemaProto; /** * Verifies a EBMsgRangesTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a EBMsgRangesTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EBMsgRangesTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.EBMsgRangesTableSchemaProto; /** * Creates a plain object from a EBMsgRangesTableSchemaProto message. Also converts values to other types if specified. * @param message EBMsgRangesTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EBMsgRangesTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EBMsgRangesTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EBMsgRangesTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EditMsgHistoryTableSchemaProto. */ interface IEditMsgHistoryTableSchemaProto { /** EditMsgHistoryTableSchemaProto author */ author?: (string|null); /** EditMsgHistoryTableSchemaProto editMsgHistoryId */ editMsgHistoryId?: (number|null); /** EditMsgHistoryTableSchemaProto editTs */ editTs?: (number|Long|null); /** EditMsgHistoryTableSchemaProto msgContent */ msgContent?: (waproto.IMsgContentProto|null); /** EditMsgHistoryTableSchemaProto originalMsgExternalId */ originalMsgExternalId?: (string|null); /** EditMsgHistoryTableSchemaProto specialTextSize */ specialTextSize?: (number|null); /** EditMsgHistoryTableSchemaProto threadJid */ threadJid?: (string|null); /** EditMsgHistoryTableSchemaProto editExternalId */ editExternalId?: (string|null); /** EditMsgHistoryTableSchemaProto sendStatus */ sendStatus?: (number|null); } /** Represents an EditMsgHistoryTableSchemaProto. */ class EditMsgHistoryTableSchemaProto implements IEditMsgHistoryTableSchemaProto { /** * Constructs a new EditMsgHistoryTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IEditMsgHistoryTableSchemaProto); /** EditMsgHistoryTableSchemaProto author. */ public author?: (string|null); /** EditMsgHistoryTableSchemaProto editMsgHistoryId. */ public editMsgHistoryId?: (number|null); /** EditMsgHistoryTableSchemaProto editTs. */ public editTs?: (number|Long|null); /** EditMsgHistoryTableSchemaProto msgContent. */ public msgContent?: (waproto.IMsgContentProto|null); /** EditMsgHistoryTableSchemaProto originalMsgExternalId. */ public originalMsgExternalId?: (string|null); /** EditMsgHistoryTableSchemaProto specialTextSize. */ public specialTextSize?: (number|null); /** EditMsgHistoryTableSchemaProto threadJid. */ public threadJid?: (string|null); /** EditMsgHistoryTableSchemaProto editExternalId. */ public editExternalId?: (string|null); /** EditMsgHistoryTableSchemaProto sendStatus. */ public sendStatus?: (number|null); /** * Creates a new EditMsgHistoryTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns EditMsgHistoryTableSchemaProto instance */ public static create(properties?: waproto.IEditMsgHistoryTableSchemaProto): waproto.EditMsgHistoryTableSchemaProto; /** * Encodes the specified EditMsgHistoryTableSchemaProto message. Does not implicitly {@link waproto.EditMsgHistoryTableSchemaProto.verify|verify} messages. * @param message EditMsgHistoryTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEditMsgHistoryTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EditMsgHistoryTableSchemaProto message, length delimited. Does not implicitly {@link waproto.EditMsgHistoryTableSchemaProto.verify|verify} messages. * @param message EditMsgHistoryTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEditMsgHistoryTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EditMsgHistoryTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EditMsgHistoryTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EditMsgHistoryTableSchemaProto; /** * Decodes an EditMsgHistoryTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EditMsgHistoryTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EditMsgHistoryTableSchemaProto; /** * Verifies an EditMsgHistoryTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EditMsgHistoryTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EditMsgHistoryTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.EditMsgHistoryTableSchemaProto; /** * Creates a plain object from an EditMsgHistoryTableSchemaProto message. Also converts values to other types if specified. * @param message EditMsgHistoryTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EditMsgHistoryTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EditMsgHistoryTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EditMsgHistoryTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EmbeddedContent. */ interface IEmbeddedContent { /** EmbeddedContent embeddedMessage */ embeddedMessage?: (waproto.IEmbeddedMessage|null); /** EmbeddedContent embeddedMusic */ embeddedMusic?: (waproto.IEmbeddedMusic|null); } /** Represents an EmbeddedContent. */ class EmbeddedContent implements IEmbeddedContent { /** * Constructs a new EmbeddedContent. * @param [properties] Properties to set */ constructor(properties?: waproto.IEmbeddedContent); /** EmbeddedContent embeddedMessage. */ public embeddedMessage?: (waproto.IEmbeddedMessage|null); /** EmbeddedContent embeddedMusic. */ public embeddedMusic?: (waproto.IEmbeddedMusic|null); /** EmbeddedContent content. */ public content?: ("embeddedMessage"|"embeddedMusic"); /** * Creates a new EmbeddedContent instance using the specified properties. * @param [properties] Properties to set * @returns EmbeddedContent instance */ public static create(properties?: waproto.IEmbeddedContent): waproto.EmbeddedContent; /** * Encodes the specified EmbeddedContent message. Does not implicitly {@link waproto.EmbeddedContent.verify|verify} messages. * @param message EmbeddedContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEmbeddedContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EmbeddedContent message, length delimited. Does not implicitly {@link waproto.EmbeddedContent.verify|verify} messages. * @param message EmbeddedContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEmbeddedContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EmbeddedContent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EmbeddedContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EmbeddedContent; /** * Decodes an EmbeddedContent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EmbeddedContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EmbeddedContent; /** * Verifies an EmbeddedContent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EmbeddedContent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EmbeddedContent */ public static fromObject(object: { [k: string]: any }): waproto.EmbeddedContent; /** * Creates a plain object from an EmbeddedContent message. Also converts values to other types if specified. * @param message EmbeddedContent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EmbeddedContent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EmbeddedContent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EmbeddedContent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EmbeddedMessage. */ interface IEmbeddedMessage { /** EmbeddedMessage stanzaId */ stanzaId?: (string|null); /** EmbeddedMessage message */ message?: (waproto.IMessage|null); } /** Represents an EmbeddedMessage. */ class EmbeddedMessage implements IEmbeddedMessage { /** * Constructs a new EmbeddedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IEmbeddedMessage); /** EmbeddedMessage stanzaId. */ public stanzaId?: (string|null); /** EmbeddedMessage message. */ public message?: (waproto.IMessage|null); /** * Creates a new EmbeddedMessage instance using the specified properties. * @param [properties] Properties to set * @returns EmbeddedMessage instance */ public static create(properties?: waproto.IEmbeddedMessage): waproto.EmbeddedMessage; /** * Encodes the specified EmbeddedMessage message. Does not implicitly {@link waproto.EmbeddedMessage.verify|verify} messages. * @param message EmbeddedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEmbeddedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EmbeddedMessage message, length delimited. Does not implicitly {@link waproto.EmbeddedMessage.verify|verify} messages. * @param message EmbeddedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEmbeddedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EmbeddedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EmbeddedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EmbeddedMessage; /** * Decodes an EmbeddedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EmbeddedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EmbeddedMessage; /** * Verifies an EmbeddedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EmbeddedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EmbeddedMessage */ public static fromObject(object: { [k: string]: any }): waproto.EmbeddedMessage; /** * Creates a plain object from an EmbeddedMessage message. Also converts values to other types if specified. * @param message EmbeddedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EmbeddedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EmbeddedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EmbeddedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EmbeddedMusic. */ interface IEmbeddedMusic { /** EmbeddedMusic musicContentMediaId */ musicContentMediaId?: (string|null); /** EmbeddedMusic songId */ songId?: (string|null); /** EmbeddedMusic author */ author?: (string|null); /** EmbeddedMusic title */ title?: (string|null); /** EmbeddedMusic artworkDirectPath */ artworkDirectPath?: (string|null); /** EmbeddedMusic artworkSha256 */ artworkSha256?: (Uint8Array|null); /** EmbeddedMusic artworkEncSha256 */ artworkEncSha256?: (Uint8Array|null); /** EmbeddedMusic artistAttribution */ artistAttribution?: (string|null); /** EmbeddedMusic countryBlocklist */ countryBlocklist?: (Uint8Array|null); /** EmbeddedMusic isExplicit */ isExplicit?: (boolean|null); /** EmbeddedMusic artworkMediaKey */ artworkMediaKey?: (Uint8Array|null); /** EmbeddedMusic musicSongStartTimeInMs */ musicSongStartTimeInMs?: (number|Long|null); /** EmbeddedMusic derivedContentStartTimeInMs */ derivedContentStartTimeInMs?: (number|Long|null); /** EmbeddedMusic overlapDurationInMs */ overlapDurationInMs?: (number|Long|null); } /** Represents an EmbeddedMusic. */ class EmbeddedMusic implements IEmbeddedMusic { /** * Constructs a new EmbeddedMusic. * @param [properties] Properties to set */ constructor(properties?: waproto.IEmbeddedMusic); /** EmbeddedMusic musicContentMediaId. */ public musicContentMediaId?: (string|null); /** EmbeddedMusic songId. */ public songId?: (string|null); /** EmbeddedMusic author. */ public author?: (string|null); /** EmbeddedMusic title. */ public title?: (string|null); /** EmbeddedMusic artworkDirectPath. */ public artworkDirectPath?: (string|null); /** EmbeddedMusic artworkSha256. */ public artworkSha256?: (Uint8Array|null); /** EmbeddedMusic artworkEncSha256. */ public artworkEncSha256?: (Uint8Array|null); /** EmbeddedMusic artistAttribution. */ public artistAttribution?: (string|null); /** EmbeddedMusic countryBlocklist. */ public countryBlocklist?: (Uint8Array|null); /** EmbeddedMusic isExplicit. */ public isExplicit?: (boolean|null); /** EmbeddedMusic artworkMediaKey. */ public artworkMediaKey?: (Uint8Array|null); /** EmbeddedMusic musicSongStartTimeInMs. */ public musicSongStartTimeInMs?: (number|Long|null); /** EmbeddedMusic derivedContentStartTimeInMs. */ public derivedContentStartTimeInMs?: (number|Long|null); /** EmbeddedMusic overlapDurationInMs. */ public overlapDurationInMs?: (number|Long|null); /** * Creates a new EmbeddedMusic instance using the specified properties. * @param [properties] Properties to set * @returns EmbeddedMusic instance */ public static create(properties?: waproto.IEmbeddedMusic): waproto.EmbeddedMusic; /** * Encodes the specified EmbeddedMusic message. Does not implicitly {@link waproto.EmbeddedMusic.verify|verify} messages. * @param message EmbeddedMusic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEmbeddedMusic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EmbeddedMusic message, length delimited. Does not implicitly {@link waproto.EmbeddedMusic.verify|verify} messages. * @param message EmbeddedMusic message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEmbeddedMusic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EmbeddedMusic message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EmbeddedMusic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EmbeddedMusic; /** * Decodes an EmbeddedMusic message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EmbeddedMusic * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EmbeddedMusic; /** * Verifies an EmbeddedMusic message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EmbeddedMusic message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EmbeddedMusic */ public static fromObject(object: { [k: string]: any }): waproto.EmbeddedMusic; /** * Creates a plain object from an EmbeddedMusic message. Also converts values to other types if specified. * @param message EmbeddedMusic * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EmbeddedMusic, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EmbeddedMusic to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EmbeddedMusic * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptMekForDistributionInput. */ interface IEncryptMekForDistributionInput { /** EncryptMekForDistributionInput senderEpochHead */ senderEpochHead?: (Uint8Array|null); /** EncryptMekForDistributionInput toMailboxPk */ toMailboxPk?: (Uint8Array|null); /** EncryptMekForDistributionInput fromKeypair */ fromKeypair?: (waproto.EncryptMekForDistributionInput.IMailboxAuthKP|null); /** EncryptMekForDistributionInput mek */ mek?: (waproto.IMekBundle|null); /** EncryptMekForDistributionInput toEpochHead */ toEpochHead?: (Uint8Array|null); /** EncryptMekForDistributionInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents an EncryptMekForDistributionInput. */ class EncryptMekForDistributionInput implements IEncryptMekForDistributionInput { /** * Constructs a new EncryptMekForDistributionInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMekForDistributionInput); /** EncryptMekForDistributionInput senderEpochHead. */ public senderEpochHead?: (Uint8Array|null); /** EncryptMekForDistributionInput toMailboxPk. */ public toMailboxPk?: (Uint8Array|null); /** EncryptMekForDistributionInput fromKeypair. */ public fromKeypair?: (waproto.EncryptMekForDistributionInput.IMailboxAuthKP|null); /** EncryptMekForDistributionInput mek. */ public mek?: (waproto.IMekBundle|null); /** EncryptMekForDistributionInput toEpochHead. */ public toEpochHead?: (Uint8Array|null); /** EncryptMekForDistributionInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new EncryptMekForDistributionInput instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMekForDistributionInput instance */ public static create(properties?: waproto.IEncryptMekForDistributionInput): waproto.EncryptMekForDistributionInput; /** * Encodes the specified EncryptMekForDistributionInput message. Does not implicitly {@link waproto.EncryptMekForDistributionInput.verify|verify} messages. * @param message EncryptMekForDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMekForDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMekForDistributionInput message, length delimited. Does not implicitly {@link waproto.EncryptMekForDistributionInput.verify|verify} messages. * @param message EncryptMekForDistributionInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMekForDistributionInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMekForDistributionInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMekForDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMekForDistributionInput; /** * Decodes an EncryptMekForDistributionInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMekForDistributionInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMekForDistributionInput; /** * Verifies an EncryptMekForDistributionInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMekForDistributionInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMekForDistributionInput */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMekForDistributionInput; /** * Creates a plain object from an EncryptMekForDistributionInput message. Also converts values to other types if specified. * @param message EncryptMekForDistributionInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMekForDistributionInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMekForDistributionInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMekForDistributionInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EncryptMekForDistributionInput { /** Properties of a MailboxAuthKP. */ interface IMailboxAuthKP { /** MailboxAuthKP sk */ sk?: (Uint8Array|null); /** MailboxAuthKP pk */ pk?: (Uint8Array|null); } /** Represents a MailboxAuthKP. */ class MailboxAuthKP implements IMailboxAuthKP { /** * Constructs a new MailboxAuthKP. * @param [properties] Properties to set */ constructor(properties?: waproto.EncryptMekForDistributionInput.IMailboxAuthKP); /** MailboxAuthKP sk. */ public sk?: (Uint8Array|null); /** MailboxAuthKP pk. */ public pk?: (Uint8Array|null); /** * Creates a new MailboxAuthKP instance using the specified properties. * @param [properties] Properties to set * @returns MailboxAuthKP instance */ public static create(properties?: waproto.EncryptMekForDistributionInput.IMailboxAuthKP): waproto.EncryptMekForDistributionInput.MailboxAuthKP; /** * Encodes the specified MailboxAuthKP message. Does not implicitly {@link waproto.EncryptMekForDistributionInput.MailboxAuthKP.verify|verify} messages. * @param message MailboxAuthKP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.EncryptMekForDistributionInput.IMailboxAuthKP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MailboxAuthKP message, length delimited. Does not implicitly {@link waproto.EncryptMekForDistributionInput.MailboxAuthKP.verify|verify} messages. * @param message MailboxAuthKP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.EncryptMekForDistributionInput.IMailboxAuthKP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MailboxAuthKP message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MailboxAuthKP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMekForDistributionInput.MailboxAuthKP; /** * Decodes a MailboxAuthKP message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MailboxAuthKP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMekForDistributionInput.MailboxAuthKP; /** * Verifies a MailboxAuthKP message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MailboxAuthKP message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MailboxAuthKP */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMekForDistributionInput.MailboxAuthKP; /** * Creates a plain object from a MailboxAuthKP message. Also converts values to other types if specified. * @param message MailboxAuthKP * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMekForDistributionInput.MailboxAuthKP, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MailboxAuthKP to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MailboxAuthKP * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an EncryptMekForDistributionResult. */ interface IEncryptMekForDistributionResult { /** EncryptMekForDistributionResult ciphertext */ ciphertext?: (Uint8Array|null); /** EncryptMekForDistributionResult version */ version?: (number|Long|null); } /** Represents an EncryptMekForDistributionResult. */ class EncryptMekForDistributionResult implements IEncryptMekForDistributionResult { /** * Constructs a new EncryptMekForDistributionResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMekForDistributionResult); /** EncryptMekForDistributionResult ciphertext. */ public ciphertext?: (Uint8Array|null); /** EncryptMekForDistributionResult version. */ public version?: (number|Long|null); /** * Creates a new EncryptMekForDistributionResult instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMekForDistributionResult instance */ public static create(properties?: waproto.IEncryptMekForDistributionResult): waproto.EncryptMekForDistributionResult; /** * Encodes the specified EncryptMekForDistributionResult message. Does not implicitly {@link waproto.EncryptMekForDistributionResult.verify|verify} messages. * @param message EncryptMekForDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMekForDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMekForDistributionResult message, length delimited. Does not implicitly {@link waproto.EncryptMekForDistributionResult.verify|verify} messages. * @param message EncryptMekForDistributionResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMekForDistributionResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMekForDistributionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMekForDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMekForDistributionResult; /** * Decodes an EncryptMekForDistributionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMekForDistributionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMekForDistributionResult; /** * Verifies an EncryptMekForDistributionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMekForDistributionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMekForDistributionResult */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMekForDistributionResult; /** * Creates a plain object from an EncryptMekForDistributionResult message. Also converts values to other types if specified. * @param message EncryptMekForDistributionResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMekForDistributionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMekForDistributionResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMekForDistributionResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptMeksForDistributionFromTransportSenderInput. */ interface IEncryptMeksForDistributionFromTransportSenderInput { /** EncryptMeksForDistributionFromTransportSenderInput mek */ mek?: (waproto.IMekBundle|null); /** EncryptMeksForDistributionFromTransportSenderInput transportSigningKp */ transportSigningKp?: (waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP|null); /** EncryptMeksForDistributionFromTransportSenderInput recipientMailboxEncryptionPks */ recipientMailboxEncryptionPks?: (Uint8Array[]|null); /** EncryptMeksForDistributionFromTransportSenderInput recipientEpochHeads */ recipientEpochHeads?: (Uint8Array[]|null); /** EncryptMeksForDistributionFromTransportSenderInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents an EncryptMeksForDistributionFromTransportSenderInput. */ class EncryptMeksForDistributionFromTransportSenderInput implements IEncryptMeksForDistributionFromTransportSenderInput { /** * Constructs a new EncryptMeksForDistributionFromTransportSenderInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMeksForDistributionFromTransportSenderInput); /** EncryptMeksForDistributionFromTransportSenderInput mek. */ public mek?: (waproto.IMekBundle|null); /** EncryptMeksForDistributionFromTransportSenderInput transportSigningKp. */ public transportSigningKp?: (waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP|null); /** EncryptMeksForDistributionFromTransportSenderInput recipientMailboxEncryptionPks. */ public recipientMailboxEncryptionPks: Uint8Array[]; /** EncryptMeksForDistributionFromTransportSenderInput recipientEpochHeads. */ public recipientEpochHeads: Uint8Array[]; /** EncryptMeksForDistributionFromTransportSenderInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new EncryptMeksForDistributionFromTransportSenderInput instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMeksForDistributionFromTransportSenderInput instance */ public static create(properties?: waproto.IEncryptMeksForDistributionFromTransportSenderInput): waproto.EncryptMeksForDistributionFromTransportSenderInput; /** * Encodes the specified EncryptMeksForDistributionFromTransportSenderInput message. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderInput.verify|verify} messages. * @param message EncryptMeksForDistributionFromTransportSenderInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMeksForDistributionFromTransportSenderInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMeksForDistributionFromTransportSenderInput message, length delimited. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderInput.verify|verify} messages. * @param message EncryptMeksForDistributionFromTransportSenderInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMeksForDistributionFromTransportSenderInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMeksForDistributionFromTransportSenderInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMeksForDistributionFromTransportSenderInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMeksForDistributionFromTransportSenderInput; /** * Decodes an EncryptMeksForDistributionFromTransportSenderInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMeksForDistributionFromTransportSenderInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMeksForDistributionFromTransportSenderInput; /** * Verifies an EncryptMeksForDistributionFromTransportSenderInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMeksForDistributionFromTransportSenderInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMeksForDistributionFromTransportSenderInput */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMeksForDistributionFromTransportSenderInput; /** * Creates a plain object from an EncryptMeksForDistributionFromTransportSenderInput message. Also converts values to other types if specified. * @param message EncryptMeksForDistributionFromTransportSenderInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMeksForDistributionFromTransportSenderInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMeksForDistributionFromTransportSenderInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMeksForDistributionFromTransportSenderInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EncryptMeksForDistributionFromTransportSenderInput { /** Properties of a TransportSigningKP. */ interface ITransportSigningKP { /** TransportSigningKP sk */ sk?: (Uint8Array|null); /** TransportSigningKP pk */ pk?: (Uint8Array|null); } /** Represents a TransportSigningKP. */ class TransportSigningKP implements ITransportSigningKP { /** * Constructs a new TransportSigningKP. * @param [properties] Properties to set */ constructor(properties?: waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP); /** TransportSigningKP sk. */ public sk?: (Uint8Array|null); /** TransportSigningKP pk. */ public pk?: (Uint8Array|null); /** * Creates a new TransportSigningKP instance using the specified properties. * @param [properties] Properties to set * @returns TransportSigningKP instance */ public static create(properties?: waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP): waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP; /** * Encodes the specified TransportSigningKP message. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP.verify|verify} messages. * @param message TransportSigningKP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TransportSigningKP message, length delimited. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP.verify|verify} messages. * @param message TransportSigningKP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.EncryptMeksForDistributionFromTransportSenderInput.ITransportSigningKP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TransportSigningKP message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TransportSigningKP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP; /** * Decodes a TransportSigningKP message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TransportSigningKP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP; /** * Verifies a TransportSigningKP message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TransportSigningKP message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TransportSigningKP */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP; /** * Creates a plain object from a TransportSigningKP message. Also converts values to other types if specified. * @param message TransportSigningKP * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMeksForDistributionFromTransportSenderInput.TransportSigningKP, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TransportSigningKP to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TransportSigningKP * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an EncryptMeksForDistributionFromTransportSenderResult. */ interface IEncryptMeksForDistributionFromTransportSenderResult { /** EncryptMeksForDistributionFromTransportSenderResult encryptedMeks */ encryptedMeks?: (Uint8Array[]|null); /** EncryptMeksForDistributionFromTransportSenderResult ephemeralEncryptionPk */ ephemeralEncryptionPk?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult signingPk */ signingPk?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult signature */ signature?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult version */ version?: (number|Long|null); } /** Represents an EncryptMeksForDistributionFromTransportSenderResult. */ class EncryptMeksForDistributionFromTransportSenderResult implements IEncryptMeksForDistributionFromTransportSenderResult { /** * Constructs a new EncryptMeksForDistributionFromTransportSenderResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMeksForDistributionFromTransportSenderResult); /** EncryptMeksForDistributionFromTransportSenderResult encryptedMeks. */ public encryptedMeks: Uint8Array[]; /** EncryptMeksForDistributionFromTransportSenderResult ephemeralEncryptionPk. */ public ephemeralEncryptionPk?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult signingPk. */ public signingPk?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult signature. */ public signature?: (Uint8Array|null); /** EncryptMeksForDistributionFromTransportSenderResult version. */ public version?: (number|Long|null); /** * Creates a new EncryptMeksForDistributionFromTransportSenderResult instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMeksForDistributionFromTransportSenderResult instance */ public static create(properties?: waproto.IEncryptMeksForDistributionFromTransportSenderResult): waproto.EncryptMeksForDistributionFromTransportSenderResult; /** * Encodes the specified EncryptMeksForDistributionFromTransportSenderResult message. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderResult.verify|verify} messages. * @param message EncryptMeksForDistributionFromTransportSenderResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMeksForDistributionFromTransportSenderResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMeksForDistributionFromTransportSenderResult message, length delimited. Does not implicitly {@link waproto.EncryptMeksForDistributionFromTransportSenderResult.verify|verify} messages. * @param message EncryptMeksForDistributionFromTransportSenderResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMeksForDistributionFromTransportSenderResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMeksForDistributionFromTransportSenderResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMeksForDistributionFromTransportSenderResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMeksForDistributionFromTransportSenderResult; /** * Decodes an EncryptMeksForDistributionFromTransportSenderResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMeksForDistributionFromTransportSenderResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMeksForDistributionFromTransportSenderResult; /** * Verifies an EncryptMeksForDistributionFromTransportSenderResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMeksForDistributionFromTransportSenderResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMeksForDistributionFromTransportSenderResult */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMeksForDistributionFromTransportSenderResult; /** * Creates a plain object from an EncryptMeksForDistributionFromTransportSenderResult message. Also converts values to other types if specified. * @param message EncryptMeksForDistributionFromTransportSenderResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMeksForDistributionFromTransportSenderResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMeksForDistributionFromTransportSenderResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMeksForDistributionFromTransportSenderResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptMessageInput. */ interface IEncryptMessageInput { /** EncryptMessageInput epochRootKey */ epochRootKey?: (Uint8Array|null); /** EncryptMessageInput mailboxRootKey */ mailboxRootKey?: (Uint8Array|null); /** EncryptMessageInput orfClientState */ orfClientState?: (Uint8Array|null); /** EncryptMessageInput epochAnonId */ epochAnonId?: (Uint8Array|null); /** EncryptMessageInput epochId */ epochId?: (number|Long|null); /** EncryptMessageInput threadId */ threadId?: (string|null); /** EncryptMessageInput waCanonicalUserFbid */ waCanonicalUserFbid?: (number|Long|null); /** EncryptMessageInput timestampMs */ timestampMs?: (number|Long|null); /** EncryptMessageInput backupId */ backupId?: (number|Long|null); /** EncryptMessageInput plaintextPayload */ plaintextPayload?: (Uint8Array|null); /** EncryptMessageInput stanzaId */ stanzaId?: (string|null); } /** Represents an EncryptMessageInput. */ class EncryptMessageInput implements IEncryptMessageInput { /** * Constructs a new EncryptMessageInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMessageInput); /** EncryptMessageInput epochRootKey. */ public epochRootKey?: (Uint8Array|null); /** EncryptMessageInput mailboxRootKey. */ public mailboxRootKey?: (Uint8Array|null); /** EncryptMessageInput orfClientState. */ public orfClientState?: (Uint8Array|null); /** EncryptMessageInput epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** EncryptMessageInput epochId. */ public epochId?: (number|Long|null); /** EncryptMessageInput threadId. */ public threadId?: (string|null); /** EncryptMessageInput waCanonicalUserFbid. */ public waCanonicalUserFbid?: (number|Long|null); /** EncryptMessageInput timestampMs. */ public timestampMs?: (number|Long|null); /** EncryptMessageInput backupId. */ public backupId?: (number|Long|null); /** EncryptMessageInput plaintextPayload. */ public plaintextPayload?: (Uint8Array|null); /** EncryptMessageInput stanzaId. */ public stanzaId?: (string|null); /** * Creates a new EncryptMessageInput instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMessageInput instance */ public static create(properties?: waproto.IEncryptMessageInput): waproto.EncryptMessageInput; /** * Encodes the specified EncryptMessageInput message. Does not implicitly {@link waproto.EncryptMessageInput.verify|verify} messages. * @param message EncryptMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMessageInput message, length delimited. Does not implicitly {@link waproto.EncryptMessageInput.verify|verify} messages. * @param message EncryptMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMessageInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMessageInput; /** * Decodes an EncryptMessageInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMessageInput; /** * Verifies an EncryptMessageInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMessageInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMessageInput */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMessageInput; /** * Creates a plain object from an EncryptMessageInput message. Also converts values to other types if specified. * @param message EncryptMessageInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMessageInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMessageInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMessageInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptMessageOutput. */ interface IEncryptMessageOutput { /** EncryptMessageOutput encryptedProtobuf */ encryptedProtobuf?: (Uint8Array|null); /** EncryptMessageOutput orfThreadId */ orfThreadId?: (Uint8Array|null); /** EncryptMessageOutput valueSecretRef */ valueSecretRef?: (string|null); /** EncryptMessageOutput offlineThreadingId */ offlineThreadingId?: (number|Long|null); /** EncryptMessageOutput timestampMs */ timestampMs?: (number|Long|null); /** EncryptMessageOutput error */ error?: (string|null); } /** Represents an EncryptMessageOutput. */ class EncryptMessageOutput implements IEncryptMessageOutput { /** * Constructs a new EncryptMessageOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptMessageOutput); /** EncryptMessageOutput encryptedProtobuf. */ public encryptedProtobuf?: (Uint8Array|null); /** EncryptMessageOutput orfThreadId. */ public orfThreadId?: (Uint8Array|null); /** EncryptMessageOutput valueSecretRef. */ public valueSecretRef?: (string|null); /** EncryptMessageOutput offlineThreadingId. */ public offlineThreadingId?: (number|Long|null); /** EncryptMessageOutput timestampMs. */ public timestampMs?: (number|Long|null); /** EncryptMessageOutput error. */ public error?: (string|null); /** * Creates a new EncryptMessageOutput instance using the specified properties. * @param [properties] Properties to set * @returns EncryptMessageOutput instance */ public static create(properties?: waproto.IEncryptMessageOutput): waproto.EncryptMessageOutput; /** * Encodes the specified EncryptMessageOutput message. Does not implicitly {@link waproto.EncryptMessageOutput.verify|verify} messages. * @param message EncryptMessageOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptMessageOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptMessageOutput message, length delimited. Does not implicitly {@link waproto.EncryptMessageOutput.verify|verify} messages. * @param message EncryptMessageOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptMessageOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptMessageOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptMessageOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptMessageOutput; /** * Decodes an EncryptMessageOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptMessageOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptMessageOutput; /** * Verifies an EncryptMessageOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptMessageOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptMessageOutput */ public static fromObject(object: { [k: string]: any }): waproto.EncryptMessageOutput; /** * Creates a plain object from an EncryptMessageOutput message. Also converts values to other types if specified. * @param message EncryptMessageOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptMessageOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptMessageOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptMessageOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptedBackupsSecretsEpochProto. */ interface IEncryptedBackupsSecretsEpochProto { /** EncryptedBackupsSecretsEpochProto id */ id?: (number|Long|null); /** EncryptedBackupsSecretsEpochProto anonId */ anonId?: (Uint8Array|null); /** EncryptedBackupsSecretsEpochProto rootKey */ rootKey?: (Uint8Array|null); /** EncryptedBackupsSecretsEpochProto status */ status?: (number|null); } /** Represents an EncryptedBackupsSecretsEpochProto. */ class EncryptedBackupsSecretsEpochProto implements IEncryptedBackupsSecretsEpochProto { /** * Constructs a new EncryptedBackupsSecretsEpochProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptedBackupsSecretsEpochProto); /** EncryptedBackupsSecretsEpochProto id. */ public id?: (number|Long|null); /** EncryptedBackupsSecretsEpochProto anonId. */ public anonId?: (Uint8Array|null); /** EncryptedBackupsSecretsEpochProto rootKey. */ public rootKey?: (Uint8Array|null); /** EncryptedBackupsSecretsEpochProto status. */ public status?: (number|null); /** * Creates a new EncryptedBackupsSecretsEpochProto instance using the specified properties. * @param [properties] Properties to set * @returns EncryptedBackupsSecretsEpochProto instance */ public static create(properties?: waproto.IEncryptedBackupsSecretsEpochProto): waproto.EncryptedBackupsSecretsEpochProto; /** * Encodes the specified EncryptedBackupsSecretsEpochProto message. Does not implicitly {@link waproto.EncryptedBackupsSecretsEpochProto.verify|verify} messages. * @param message EncryptedBackupsSecretsEpochProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptedBackupsSecretsEpochProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptedBackupsSecretsEpochProto message, length delimited. Does not implicitly {@link waproto.EncryptedBackupsSecretsEpochProto.verify|verify} messages. * @param message EncryptedBackupsSecretsEpochProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptedBackupsSecretsEpochProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptedBackupsSecretsEpochProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptedBackupsSecretsEpochProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptedBackupsSecretsEpochProto; /** * Decodes an EncryptedBackupsSecretsEpochProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptedBackupsSecretsEpochProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptedBackupsSecretsEpochProto; /** * Verifies an EncryptedBackupsSecretsEpochProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptedBackupsSecretsEpochProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptedBackupsSecretsEpochProto */ public static fromObject(object: { [k: string]: any }): waproto.EncryptedBackupsSecretsEpochProto; /** * Creates a plain object from an EncryptedBackupsSecretsEpochProto message. Also converts values to other types if specified. * @param message EncryptedBackupsSecretsEpochProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptedBackupsSecretsEpochProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptedBackupsSecretsEpochProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptedBackupsSecretsEpochProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptedBackupsSecretsProto. */ interface IEncryptedBackupsSecretsProto { /** EncryptedBackupsSecretsProto backupId */ backupId?: (number|Long|null); /** EncryptedBackupsSecretsProto serverDataId */ serverDataId?: (number|Long|null); /** EncryptedBackupsSecretsProto epoch */ epoch?: (waproto.IEncryptedBackupsSecretsEpochProto[]|null); /** EncryptedBackupsSecretsProto tempOcmfClientState */ tempOcmfClientState?: (Uint8Array|null); /** EncryptedBackupsSecretsProto mailboxRootKey */ mailboxRootKey?: (Uint8Array|null); /** EncryptedBackupsSecretsProto obliviousValidationToken */ obliviousValidationToken?: (Uint8Array|null); } /** Represents an EncryptedBackupsSecretsProto. */ class EncryptedBackupsSecretsProto implements IEncryptedBackupsSecretsProto { /** * Constructs a new EncryptedBackupsSecretsProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptedBackupsSecretsProto); /** EncryptedBackupsSecretsProto backupId. */ public backupId?: (number|Long|null); /** EncryptedBackupsSecretsProto serverDataId. */ public serverDataId?: (number|Long|null); /** EncryptedBackupsSecretsProto epoch. */ public epoch: waproto.IEncryptedBackupsSecretsEpochProto[]; /** EncryptedBackupsSecretsProto tempOcmfClientState. */ public tempOcmfClientState?: (Uint8Array|null); /** EncryptedBackupsSecretsProto mailboxRootKey. */ public mailboxRootKey?: (Uint8Array|null); /** EncryptedBackupsSecretsProto obliviousValidationToken. */ public obliviousValidationToken?: (Uint8Array|null); /** * Creates a new EncryptedBackupsSecretsProto instance using the specified properties. * @param [properties] Properties to set * @returns EncryptedBackupsSecretsProto instance */ public static create(properties?: waproto.IEncryptedBackupsSecretsProto): waproto.EncryptedBackupsSecretsProto; /** * Encodes the specified EncryptedBackupsSecretsProto message. Does not implicitly {@link waproto.EncryptedBackupsSecretsProto.verify|verify} messages. * @param message EncryptedBackupsSecretsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptedBackupsSecretsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptedBackupsSecretsProto message, length delimited. Does not implicitly {@link waproto.EncryptedBackupsSecretsProto.verify|verify} messages. * @param message EncryptedBackupsSecretsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptedBackupsSecretsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptedBackupsSecretsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptedBackupsSecretsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptedBackupsSecretsProto; /** * Decodes an EncryptedBackupsSecretsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptedBackupsSecretsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptedBackupsSecretsProto; /** * Verifies an EncryptedBackupsSecretsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptedBackupsSecretsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptedBackupsSecretsProto */ public static fromObject(object: { [k: string]: any }): waproto.EncryptedBackupsSecretsProto; /** * Creates a plain object from an EncryptedBackupsSecretsProto message. Also converts values to other types if specified. * @param message EncryptedBackupsSecretsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptedBackupsSecretsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptedBackupsSecretsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptedBackupsSecretsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptedPairingRequest. */ interface IEncryptedPairingRequest { /** EncryptedPairingRequest encryptedPayload */ encryptedPayload?: (Uint8Array|null); /** EncryptedPairingRequest iv */ iv?: (Uint8Array|null); } /** Represents an EncryptedPairingRequest. */ class EncryptedPairingRequest implements IEncryptedPairingRequest { /** * Constructs a new EncryptedPairingRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptedPairingRequest); /** EncryptedPairingRequest encryptedPayload. */ public encryptedPayload?: (Uint8Array|null); /** EncryptedPairingRequest iv. */ public iv?: (Uint8Array|null); /** * Creates a new EncryptedPairingRequest instance using the specified properties. * @param [properties] Properties to set * @returns EncryptedPairingRequest instance */ public static create(properties?: waproto.IEncryptedPairingRequest): waproto.EncryptedPairingRequest; /** * Encodes the specified EncryptedPairingRequest message. Does not implicitly {@link waproto.EncryptedPairingRequest.verify|verify} messages. * @param message EncryptedPairingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptedPairingRequest message, length delimited. Does not implicitly {@link waproto.EncryptedPairingRequest.verify|verify} messages. * @param message EncryptedPairingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptedPairingRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptedPairingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptedPairingRequest; /** * Decodes an EncryptedPairingRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptedPairingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptedPairingRequest; /** * Verifies an EncryptedPairingRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptedPairingRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptedPairingRequest */ public static fromObject(object: { [k: string]: any }): waproto.EncryptedPairingRequest; /** * Creates a plain object from an EncryptedPairingRequest message. Also converts values to other types if specified. * @param message EncryptedPairingRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptedPairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptedPairingRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptedPairingRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncryptedSecretValuesOutput. */ interface IEncryptedSecretValuesOutput { /** EncryptedSecretValuesOutput encryptedDevicePrivateKey */ encryptedDevicePrivateKey?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedObliviousValidationTokenBlob */ encryptedObliviousValidationTokenBlob?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochStoragePrivateKey */ encryptedEpochStoragePrivateKey?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedOcmfClientState */ encryptedOcmfClientState?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedOrfClientStateV2 */ encryptedOrfClientStateV2?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedMailboxRootKeyBlob */ encryptedMailboxRootKeyBlob?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochAnonId */ encryptedEpochAnonId?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochRootKey */ encryptedEpochRootKey?: (Uint8Array|null); } /** Represents an EncryptedSecretValuesOutput. */ class EncryptedSecretValuesOutput implements IEncryptedSecretValuesOutput { /** * Constructs a new EncryptedSecretValuesOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IEncryptedSecretValuesOutput); /** EncryptedSecretValuesOutput encryptedDevicePrivateKey. */ public encryptedDevicePrivateKey?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedObliviousValidationTokenBlob. */ public encryptedObliviousValidationTokenBlob?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochStoragePrivateKey. */ public encryptedEpochStoragePrivateKey?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedOcmfClientState. */ public encryptedOcmfClientState?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedOrfClientStateV2. */ public encryptedOrfClientStateV2?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedMailboxRootKeyBlob. */ public encryptedMailboxRootKeyBlob?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochAnonId. */ public encryptedEpochAnonId?: (Uint8Array|null); /** EncryptedSecretValuesOutput encryptedEpochRootKey. */ public encryptedEpochRootKey?: (Uint8Array|null); /** * Creates a new EncryptedSecretValuesOutput instance using the specified properties. * @param [properties] Properties to set * @returns EncryptedSecretValuesOutput instance */ public static create(properties?: waproto.IEncryptedSecretValuesOutput): waproto.EncryptedSecretValuesOutput; /** * Encodes the specified EncryptedSecretValuesOutput message. Does not implicitly {@link waproto.EncryptedSecretValuesOutput.verify|verify} messages. * @param message EncryptedSecretValuesOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEncryptedSecretValuesOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncryptedSecretValuesOutput message, length delimited. Does not implicitly {@link waproto.EncryptedSecretValuesOutput.verify|verify} messages. * @param message EncryptedSecretValuesOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEncryptedSecretValuesOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncryptedSecretValuesOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncryptedSecretValuesOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EncryptedSecretValuesOutput; /** * Decodes an EncryptedSecretValuesOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncryptedSecretValuesOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EncryptedSecretValuesOutput; /** * Verifies an EncryptedSecretValuesOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncryptedSecretValuesOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncryptedSecretValuesOutput */ public static fromObject(object: { [k: string]: any }): waproto.EncryptedSecretValuesOutput; /** * Creates a plain object from an EncryptedSecretValuesOutput message. Also converts values to other types if specified. * @param message EncryptedSecretValuesOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EncryptedSecretValuesOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncryptedSecretValuesOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncryptedSecretValuesOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EphemeralSetting. */ interface IEphemeralSetting { /** EphemeralSetting duration */ duration?: (number|null); /** EphemeralSetting timestamp */ timestamp?: (number|Long|null); } /** Represents an EphemeralSetting. */ class EphemeralSetting implements IEphemeralSetting { /** * Constructs a new EphemeralSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.IEphemeralSetting); /** EphemeralSetting duration. */ public duration?: (number|null); /** EphemeralSetting timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new EphemeralSetting instance using the specified properties. * @param [properties] Properties to set * @returns EphemeralSetting instance */ public static create(properties?: waproto.IEphemeralSetting): waproto.EphemeralSetting; /** * Encodes the specified EphemeralSetting message. Does not implicitly {@link waproto.EphemeralSetting.verify|verify} messages. * @param message EphemeralSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EphemeralSetting message, length delimited. Does not implicitly {@link waproto.EphemeralSetting.verify|verify} messages. * @param message EphemeralSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EphemeralSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EphemeralSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EphemeralSetting; /** * Decodes an EphemeralSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EphemeralSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EphemeralSetting; /** * Verifies an EphemeralSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EphemeralSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EphemeralSetting */ public static fromObject(object: { [k: string]: any }): waproto.EphemeralSetting; /** * Creates a plain object from an EphemeralSetting message. Also converts values to other types if specified. * @param message EphemeralSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EphemeralSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EphemeralSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EphemeralSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EphemeralSettingProto. */ interface IEphemeralSettingProto { /** EphemeralSettingProto ephemeralExpirationInSec */ ephemeralExpirationInSec?: (number|null); /** EphemeralSettingProto ephemeralLastUpdatedOrSetTimestamp */ ephemeralLastUpdatedOrSetTimestamp?: (number|Long|null); } /** Represents an EphemeralSettingProto. */ class EphemeralSettingProto implements IEphemeralSettingProto { /** * Constructs a new EphemeralSettingProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IEphemeralSettingProto); /** EphemeralSettingProto ephemeralExpirationInSec. */ public ephemeralExpirationInSec?: (number|null); /** EphemeralSettingProto ephemeralLastUpdatedOrSetTimestamp. */ public ephemeralLastUpdatedOrSetTimestamp?: (number|Long|null); /** * Creates a new EphemeralSettingProto instance using the specified properties. * @param [properties] Properties to set * @returns EphemeralSettingProto instance */ public static create(properties?: waproto.IEphemeralSettingProto): waproto.EphemeralSettingProto; /** * Encodes the specified EphemeralSettingProto message. Does not implicitly {@link waproto.EphemeralSettingProto.verify|verify} messages. * @param message EphemeralSettingProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEphemeralSettingProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EphemeralSettingProto message, length delimited. Does not implicitly {@link waproto.EphemeralSettingProto.verify|verify} messages. * @param message EphemeralSettingProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEphemeralSettingProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EphemeralSettingProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EphemeralSettingProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EphemeralSettingProto; /** * Decodes an EphemeralSettingProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EphemeralSettingProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EphemeralSettingProto; /** * Verifies an EphemeralSettingProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EphemeralSettingProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EphemeralSettingProto */ public static fromObject(object: { [k: string]: any }): waproto.EphemeralSettingProto; /** * Creates a plain object from an EphemeralSettingProto message. Also converts values to other types if specified. * @param message EphemeralSettingProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EphemeralSettingProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EphemeralSettingProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EphemeralSettingProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EphemeralSyncResponseBackoffInfo. */ interface IEphemeralSyncResponseBackoffInfo { /** EphemeralSyncResponseBackoffInfo syncResponseRetries */ syncResponseRetries?: (number|null); /** EphemeralSyncResponseBackoffInfo syncResponseSentTs */ syncResponseSentTs?: (number|Long|null); } /** Represents an EphemeralSyncResponseBackoffInfo. */ class EphemeralSyncResponseBackoffInfo implements IEphemeralSyncResponseBackoffInfo { /** * Constructs a new EphemeralSyncResponseBackoffInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IEphemeralSyncResponseBackoffInfo); /** EphemeralSyncResponseBackoffInfo syncResponseRetries. */ public syncResponseRetries?: (number|null); /** EphemeralSyncResponseBackoffInfo syncResponseSentTs. */ public syncResponseSentTs?: (number|Long|null); /** * Creates a new EphemeralSyncResponseBackoffInfo instance using the specified properties. * @param [properties] Properties to set * @returns EphemeralSyncResponseBackoffInfo instance */ public static create(properties?: waproto.IEphemeralSyncResponseBackoffInfo): waproto.EphemeralSyncResponseBackoffInfo; /** * Encodes the specified EphemeralSyncResponseBackoffInfo message. Does not implicitly {@link waproto.EphemeralSyncResponseBackoffInfo.verify|verify} messages. * @param message EphemeralSyncResponseBackoffInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEphemeralSyncResponseBackoffInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EphemeralSyncResponseBackoffInfo message, length delimited. Does not implicitly {@link waproto.EphemeralSyncResponseBackoffInfo.verify|verify} messages. * @param message EphemeralSyncResponseBackoffInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEphemeralSyncResponseBackoffInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EphemeralSyncResponseBackoffInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EphemeralSyncResponseBackoffInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EphemeralSyncResponseBackoffInfo; /** * Decodes an EphemeralSyncResponseBackoffInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EphemeralSyncResponseBackoffInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EphemeralSyncResponseBackoffInfo; /** * Verifies an EphemeralSyncResponseBackoffInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EphemeralSyncResponseBackoffInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EphemeralSyncResponseBackoffInfo */ public static fromObject(object: { [k: string]: any }): waproto.EphemeralSyncResponseBackoffInfo; /** * Creates a plain object from an EphemeralSyncResponseBackoffInfo message. Also converts values to other types if specified. * @param message EphemeralSyncResponseBackoffInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EphemeralSyncResponseBackoffInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EphemeralSyncResponseBackoffInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EphemeralSyncResponseBackoffInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Epoch0Output. */ interface IEpoch0Output { /** Epoch0Output epochFbid */ epochFbid?: (number|Long|null); /** Epoch0Output epochAnonId */ epochAnonId?: (Uint8Array|null); /** Epoch0Output epochData */ epochData?: (Uint8Array|null); /** Epoch0Output wrappedRootKeyForSelf */ wrappedRootKeyForSelf?: (Uint8Array|null); /** Epoch0Output epochSignature */ epochSignature?: (Uint8Array|null); /** Epoch0Output epochRootKeyFingerprint */ epochRootKeyFingerprint?: (Uint8Array|null); /** Epoch0Output epochRootKey */ epochRootKey?: (Uint8Array|null); } /** Represents an Epoch0Output. */ class Epoch0Output implements IEpoch0Output { /** * Constructs a new Epoch0Output. * @param [properties] Properties to set */ constructor(properties?: waproto.IEpoch0Output); /** Epoch0Output epochFbid. */ public epochFbid?: (number|Long|null); /** Epoch0Output epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** Epoch0Output epochData. */ public epochData?: (Uint8Array|null); /** Epoch0Output wrappedRootKeyForSelf. */ public wrappedRootKeyForSelf?: (Uint8Array|null); /** Epoch0Output epochSignature. */ public epochSignature?: (Uint8Array|null); /** Epoch0Output epochRootKeyFingerprint. */ public epochRootKeyFingerprint?: (Uint8Array|null); /** Epoch0Output epochRootKey. */ public epochRootKey?: (Uint8Array|null); /** * Creates a new Epoch0Output instance using the specified properties. * @param [properties] Properties to set * @returns Epoch0Output instance */ public static create(properties?: waproto.IEpoch0Output): waproto.Epoch0Output; /** * Encodes the specified Epoch0Output message. Does not implicitly {@link waproto.Epoch0Output.verify|verify} messages. * @param message Epoch0Output message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEpoch0Output, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Epoch0Output message, length delimited. Does not implicitly {@link waproto.Epoch0Output.verify|verify} messages. * @param message Epoch0Output message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEpoch0Output, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Epoch0Output message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Epoch0Output * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Epoch0Output; /** * Decodes an Epoch0Output message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Epoch0Output * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Epoch0Output; /** * Verifies an Epoch0Output message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Epoch0Output message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Epoch0Output */ public static fromObject(object: { [k: string]: any }): waproto.Epoch0Output; /** * Creates a plain object from an Epoch0Output message. Also converts values to other types if specified. * @param message Epoch0Output * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Epoch0Output, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Epoch0Output to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Epoch0Output * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EpochPublicData. */ interface IEpochPublicData { /** EpochPublicData epochNumber */ epochNumber?: (number|Long|null); /** EpochPublicData userFbid */ userFbid?: (string|null); /** EpochPublicData mailboxSigningPk */ mailboxSigningPk?: (Uint8Array|null); /** EpochPublicData mailboxEncryptionPk */ mailboxEncryptionPk?: (Uint8Array|null); /** EpochPublicData mailboxAuthPk */ mailboxAuthPk?: (Uint8Array|null); /** EpochPublicData previousEpochHead */ previousEpochHead?: (Uint8Array|null); } /** Represents an EpochPublicData. */ class EpochPublicData implements IEpochPublicData { /** * Constructs a new EpochPublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.IEpochPublicData); /** EpochPublicData epochNumber. */ public epochNumber?: (number|Long|null); /** EpochPublicData userFbid. */ public userFbid?: (string|null); /** EpochPublicData mailboxSigningPk. */ public mailboxSigningPk?: (Uint8Array|null); /** EpochPublicData mailboxEncryptionPk. */ public mailboxEncryptionPk?: (Uint8Array|null); /** EpochPublicData mailboxAuthPk. */ public mailboxAuthPk?: (Uint8Array|null); /** EpochPublicData previousEpochHead. */ public previousEpochHead?: (Uint8Array|null); /** * Creates a new EpochPublicData instance using the specified properties. * @param [properties] Properties to set * @returns EpochPublicData instance */ public static create(properties?: waproto.IEpochPublicData): waproto.EpochPublicData; /** * Encodes the specified EpochPublicData message. Does not implicitly {@link waproto.EpochPublicData.verify|verify} messages. * @param message EpochPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEpochPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EpochPublicData message, length delimited. Does not implicitly {@link waproto.EpochPublicData.verify|verify} messages. * @param message EpochPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEpochPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EpochPublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EpochPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EpochPublicData; /** * Decodes an EpochPublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EpochPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EpochPublicData; /** * Verifies an EpochPublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EpochPublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EpochPublicData */ public static fromObject(object: { [k: string]: any }): waproto.EpochPublicData; /** * Creates a plain object from an EpochPublicData message. Also converts values to other types if specified. * @param message EpochPublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EpochPublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EpochPublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EpochPublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EpochSignatures. */ interface IEpochSignatures { /** EpochSignatures selfSignature */ selfSignature?: (Uint8Array|null); /** EpochSignatures prevSignature */ prevSignature?: (Uint8Array|null); } /** Represents an EpochSignatures. */ class EpochSignatures implements IEpochSignatures { /** * Constructs a new EpochSignatures. * @param [properties] Properties to set */ constructor(properties?: waproto.IEpochSignatures); /** EpochSignatures selfSignature. */ public selfSignature?: (Uint8Array|null); /** EpochSignatures prevSignature. */ public prevSignature?: (Uint8Array|null); /** * Creates a new EpochSignatures instance using the specified properties. * @param [properties] Properties to set * @returns EpochSignatures instance */ public static create(properties?: waproto.IEpochSignatures): waproto.EpochSignatures; /** * Encodes the specified EpochSignatures message. Does not implicitly {@link waproto.EpochSignatures.verify|verify} messages. * @param message EpochSignatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEpochSignatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EpochSignatures message, length delimited. Does not implicitly {@link waproto.EpochSignatures.verify|verify} messages. * @param message EpochSignatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEpochSignatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EpochSignatures message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EpochSignatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EpochSignatures; /** * Decodes an EpochSignatures message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EpochSignatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EpochSignatures; /** * Verifies an EpochSignatures message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EpochSignatures message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EpochSignatures */ public static fromObject(object: { [k: string]: any }): waproto.EpochSignatures; /** * Creates a plain object from an EpochSignatures message. Also converts values to other types if specified. * @param message EpochSignatures * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EpochSignatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EpochSignatures to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EpochSignatures * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventAdditionalMetadata. */ interface IEventAdditionalMetadata { /** EventAdditionalMetadata isStale */ isStale?: (boolean|null); } /** Represents an EventAdditionalMetadata. */ class EventAdditionalMetadata implements IEventAdditionalMetadata { /** * Constructs a new EventAdditionalMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IEventAdditionalMetadata); /** EventAdditionalMetadata isStale. */ public isStale?: (boolean|null); /** * Creates a new EventAdditionalMetadata instance using the specified properties. * @param [properties] Properties to set * @returns EventAdditionalMetadata instance */ public static create(properties?: waproto.IEventAdditionalMetadata): waproto.EventAdditionalMetadata; /** * Encodes the specified EventAdditionalMetadata message. Does not implicitly {@link waproto.EventAdditionalMetadata.verify|verify} messages. * @param message EventAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEventAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventAdditionalMetadata message, length delimited. Does not implicitly {@link waproto.EventAdditionalMetadata.verify|verify} messages. * @param message EventAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEventAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventAdditionalMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EventAdditionalMetadata; /** * Decodes an EventAdditionalMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EventAdditionalMetadata; /** * Verifies an EventAdditionalMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventAdditionalMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventAdditionalMetadata */ public static fromObject(object: { [k: string]: any }): waproto.EventAdditionalMetadata; /** * Creates a plain object from an EventAdditionalMetadata message. Also converts values to other types if specified. * @param message EventAdditionalMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EventAdditionalMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventAdditionalMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventAdditionalMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventResponse. */ interface IEventResponse { /** EventResponse eventResponseMessageKey */ eventResponseMessageKey?: (waproto.IMessageKey|null); /** EventResponse timestampMs */ timestampMs?: (number|Long|null); /** EventResponse eventResponseMessage */ eventResponseMessage?: (waproto.Message.IEventResponseMessage|null); /** EventResponse unread */ unread?: (boolean|null); } /** Represents an EventResponse. */ class EventResponse implements IEventResponse { /** * Constructs a new EventResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.IEventResponse); /** EventResponse eventResponseMessageKey. */ public eventResponseMessageKey?: (waproto.IMessageKey|null); /** EventResponse timestampMs. */ public timestampMs?: (number|Long|null); /** EventResponse eventResponseMessage. */ public eventResponseMessage?: (waproto.Message.IEventResponseMessage|null); /** EventResponse unread. */ public unread?: (boolean|null); /** * Creates a new EventResponse instance using the specified properties. * @param [properties] Properties to set * @returns EventResponse instance */ public static create(properties?: waproto.IEventResponse): waproto.EventResponse; /** * Encodes the specified EventResponse message. Does not implicitly {@link waproto.EventResponse.verify|verify} messages. * @param message EventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventResponse message, length delimited. Does not implicitly {@link waproto.EventResponse.verify|verify} messages. * @param message EventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.EventResponse; /** * Decodes an EventResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.EventResponse; /** * Verifies an EventResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventResponse */ public static fromObject(object: { [k: string]: any }): waproto.EventResponse; /** * Creates a plain object from an EventResponse message. Also converts values to other types if specified. * @param message EventResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.EventResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExitCode. */ interface IExitCode { /** ExitCode code */ code?: (number|Long|null); /** ExitCode text */ text?: (string|null); } /** Represents an ExitCode. */ class ExitCode implements IExitCode { /** * Constructs a new ExitCode. * @param [properties] Properties to set */ constructor(properties?: waproto.IExitCode); /** ExitCode code. */ public code?: (number|Long|null); /** ExitCode text. */ public text?: (string|null); /** * Creates a new ExitCode instance using the specified properties. * @param [properties] Properties to set * @returns ExitCode instance */ public static create(properties?: waproto.IExitCode): waproto.ExitCode; /** * Encodes the specified ExitCode message. Does not implicitly {@link waproto.ExitCode.verify|verify} messages. * @param message ExitCode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IExitCode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExitCode message, length delimited. Does not implicitly {@link waproto.ExitCode.verify|verify} messages. * @param message ExitCode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IExitCode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExitCode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExitCode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ExitCode; /** * Decodes an ExitCode message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExitCode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ExitCode; /** * Verifies an ExitCode message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExitCode message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExitCode */ public static fromObject(object: { [k: string]: any }): waproto.ExitCode; /** * Creates a plain object from an ExitCode message. Also converts values to other types if specified. * @param message ExitCode * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ExitCode, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExitCode to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExitCode * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExtendedContentMessage. */ interface IExtendedContentMessage { /** ExtendedContentMessage associatedMessage */ associatedMessage?: (waproto.ISubProtocol|null); /** ExtendedContentMessage targetType */ targetType?: (waproto.EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE|null); /** ExtendedContentMessage targetUsername */ targetUsername?: (string|null); /** ExtendedContentMessage targetId */ targetId?: (string|null); /** ExtendedContentMessage targetExpiringAtSec */ targetExpiringAtSec?: (number|Long|null); /** ExtendedContentMessage xmaLayoutType */ xmaLayoutType?: (waproto.EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE|null); /** ExtendedContentMessage ctas */ ctas?: (waproto.ExtendedContentMessage.ICTA[]|null); /** ExtendedContentMessage previews */ previews?: (waproto.ISubProtocol[]|null); /** ExtendedContentMessage titleText */ titleText?: (string|null); /** ExtendedContentMessage subtitleText */ subtitleText?: (string|null); /** ExtendedContentMessage maxTitleNumOfLines */ maxTitleNumOfLines?: (number|null); /** ExtendedContentMessage maxSubtitleNumOfLines */ maxSubtitleNumOfLines?: (number|null); /** ExtendedContentMessage favicon */ favicon?: (waproto.ISubProtocol|null); /** ExtendedContentMessage headerImage */ headerImage?: (waproto.ISubProtocol|null); /** ExtendedContentMessage headerTitle */ headerTitle?: (string|null); /** ExtendedContentMessage overlayIconGlyph */ overlayIconGlyph?: (waproto.EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH|null); /** ExtendedContentMessage overlayTitle */ overlayTitle?: (string|null); /** ExtendedContentMessage overlayDescription */ overlayDescription?: (string|null); /** ExtendedContentMessage sentWithMessageId */ sentWithMessageId?: (string|null); /** ExtendedContentMessage messageText */ messageText?: (string|null); /** ExtendedContentMessage headerSubtitle */ headerSubtitle?: (string|null); /** ExtendedContentMessage xmaDataclass */ xmaDataclass?: (string|null); /** ExtendedContentMessage contentRef */ contentRef?: (string|null); /** ExtendedContentMessage mentionedJid */ mentionedJid?: (string[]|null); /** ExtendedContentMessage commands */ commands?: (waproto.ICommand[]|null); /** ExtendedContentMessage mentions */ mentions?: (waproto.IMention[]|null); /** ExtendedContentMessage xmaDataclassType */ xmaDataclassType?: (waproto.EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE|null); /** ExtendedContentMessage signedXmaDataclassValidation */ signedXmaDataclassValidation?: (string|null); /** ExtendedContentMessage featureSharedSessionId */ featureSharedSessionId?: (string|null); } /** Represents an ExtendedContentMessage. */ class ExtendedContentMessage implements IExtendedContentMessage { /** * Constructs a new ExtendedContentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IExtendedContentMessage); /** ExtendedContentMessage associatedMessage. */ public associatedMessage?: (waproto.ISubProtocol|null); /** ExtendedContentMessage targetType. */ public targetType?: (waproto.EXTENDED_CONTENT_MESSAGE_EXTENDED_CONTENT_TYPE|null); /** ExtendedContentMessage targetUsername. */ public targetUsername?: (string|null); /** ExtendedContentMessage targetId. */ public targetId?: (string|null); /** ExtendedContentMessage targetExpiringAtSec. */ public targetExpiringAtSec?: (number|Long|null); /** ExtendedContentMessage xmaLayoutType. */ public xmaLayoutType?: (waproto.EXTENDED_CONTENT_MESSAGE_XMA_LAYOUT_TYPE|null); /** ExtendedContentMessage ctas. */ public ctas: waproto.ExtendedContentMessage.ICTA[]; /** ExtendedContentMessage previews. */ public previews: waproto.ISubProtocol[]; /** ExtendedContentMessage titleText. */ public titleText?: (string|null); /** ExtendedContentMessage subtitleText. */ public subtitleText?: (string|null); /** ExtendedContentMessage maxTitleNumOfLines. */ public maxTitleNumOfLines?: (number|null); /** ExtendedContentMessage maxSubtitleNumOfLines. */ public maxSubtitleNumOfLines?: (number|null); /** ExtendedContentMessage favicon. */ public favicon?: (waproto.ISubProtocol|null); /** ExtendedContentMessage headerImage. */ public headerImage?: (waproto.ISubProtocol|null); /** ExtendedContentMessage headerTitle. */ public headerTitle?: (string|null); /** ExtendedContentMessage overlayIconGlyph. */ public overlayIconGlyph?: (waproto.EXTENDED_CONTENT_MESSAGE_OVERLAY_ICON_GLYPH|null); /** ExtendedContentMessage overlayTitle. */ public overlayTitle?: (string|null); /** ExtendedContentMessage overlayDescription. */ public overlayDescription?: (string|null); /** ExtendedContentMessage sentWithMessageId. */ public sentWithMessageId?: (string|null); /** ExtendedContentMessage messageText. */ public messageText?: (string|null); /** ExtendedContentMessage headerSubtitle. */ public headerSubtitle?: (string|null); /** ExtendedContentMessage xmaDataclass. */ public xmaDataclass?: (string|null); /** ExtendedContentMessage contentRef. */ public contentRef?: (string|null); /** ExtendedContentMessage mentionedJid. */ public mentionedJid: string[]; /** ExtendedContentMessage commands. */ public commands: waproto.ICommand[]; /** ExtendedContentMessage mentions. */ public mentions: waproto.IMention[]; /** ExtendedContentMessage xmaDataclassType. */ public xmaDataclassType?: (waproto.EXTENDED_CONTENT_MESSAGE_XMA_DATACLASS_TYPE|null); /** ExtendedContentMessage signedXmaDataclassValidation. */ public signedXmaDataclassValidation?: (string|null); /** ExtendedContentMessage featureSharedSessionId. */ public featureSharedSessionId?: (string|null); /** * Creates a new ExtendedContentMessage instance using the specified properties. * @param [properties] Properties to set * @returns ExtendedContentMessage instance */ public static create(properties?: waproto.IExtendedContentMessage): waproto.ExtendedContentMessage; /** * Encodes the specified ExtendedContentMessage message. Does not implicitly {@link waproto.ExtendedContentMessage.verify|verify} messages. * @param message ExtendedContentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IExtendedContentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedContentMessage message, length delimited. Does not implicitly {@link waproto.ExtendedContentMessage.verify|verify} messages. * @param message ExtendedContentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IExtendedContentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedContentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedContentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ExtendedContentMessage; /** * Decodes an ExtendedContentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedContentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ExtendedContentMessage; /** * Verifies an ExtendedContentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedContentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedContentMessage */ public static fromObject(object: { [k: string]: any }): waproto.ExtendedContentMessage; /** * Creates a plain object from an ExtendedContentMessage message. Also converts values to other types if specified. * @param message ExtendedContentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ExtendedContentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedContentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtendedContentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ExtendedContentMessage { /** Properties of a CTA. */ interface ICTA { /** CTA buttonType */ buttonType?: (waproto.EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE|null); /** CTA title */ title?: (string|null); /** CTA actionUrl */ actionUrl?: (string|null); /** CTA nativeUrl */ nativeUrl?: (string|null); /** CTA ctaType */ ctaType?: (string|null); /** CTA actionContentBlob */ actionContentBlob?: (string|null); } /** Represents a CTA. */ class CTA implements ICTA { /** * Constructs a new CTA. * @param [properties] Properties to set */ constructor(properties?: waproto.ExtendedContentMessage.ICTA); /** CTA buttonType. */ public buttonType?: (waproto.EXTENDED_CONTENT_MESSAGE_CTA_BUTTON_TYPE|null); /** CTA title. */ public title?: (string|null); /** CTA actionUrl. */ public actionUrl?: (string|null); /** CTA nativeUrl. */ public nativeUrl?: (string|null); /** CTA ctaType. */ public ctaType?: (string|null); /** CTA actionContentBlob. */ public actionContentBlob?: (string|null); /** * Creates a new CTA instance using the specified properties. * @param [properties] Properties to set * @returns CTA instance */ public static create(properties?: waproto.ExtendedContentMessage.ICTA): waproto.ExtendedContentMessage.CTA; /** * Encodes the specified CTA message. Does not implicitly {@link waproto.ExtendedContentMessage.CTA.verify|verify} messages. * @param message CTA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ExtendedContentMessage.ICTA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CTA message, length delimited. Does not implicitly {@link waproto.ExtendedContentMessage.CTA.verify|verify} messages. * @param message CTA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ExtendedContentMessage.ICTA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CTA message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CTA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ExtendedContentMessage.CTA; /** * Decodes a CTA message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CTA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ExtendedContentMessage.CTA; /** * Verifies a CTA message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CTA message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CTA */ public static fromObject(object: { [k: string]: any }): waproto.ExtendedContentMessage.CTA; /** * Creates a plain object from a CTA message. Also converts values to other types if specified. * @param message CTA * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ExtendedContentMessage.CTA, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CTA to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CTA * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an ExternalBlobReference. */ interface IExternalBlobReference { /** ExternalBlobReference mediaKey */ mediaKey?: (Uint8Array|null); /** ExternalBlobReference directPath */ directPath?: (string|null); /** ExternalBlobReference handle */ handle?: (string|null); /** ExternalBlobReference fileSizeBytes */ fileSizeBytes?: (number|Long|null); /** ExternalBlobReference fileSha256 */ fileSha256?: (Uint8Array|null); /** ExternalBlobReference fileEncSha256 */ fileEncSha256?: (Uint8Array|null); } /** Represents an ExternalBlobReference. */ class ExternalBlobReference implements IExternalBlobReference { /** * Constructs a new ExternalBlobReference. * @param [properties] Properties to set */ constructor(properties?: waproto.IExternalBlobReference); /** ExternalBlobReference mediaKey. */ public mediaKey?: (Uint8Array|null); /** ExternalBlobReference directPath. */ public directPath?: (string|null); /** ExternalBlobReference handle. */ public handle?: (string|null); /** ExternalBlobReference fileSizeBytes. */ public fileSizeBytes?: (number|Long|null); /** ExternalBlobReference fileSha256. */ public fileSha256?: (Uint8Array|null); /** ExternalBlobReference fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** * Creates a new ExternalBlobReference instance using the specified properties. * @param [properties] Properties to set * @returns ExternalBlobReference instance */ public static create(properties?: waproto.IExternalBlobReference): waproto.ExternalBlobReference; /** * Encodes the specified ExternalBlobReference message. Does not implicitly {@link waproto.ExternalBlobReference.verify|verify} messages. * @param message ExternalBlobReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IExternalBlobReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExternalBlobReference message, length delimited. Does not implicitly {@link waproto.ExternalBlobReference.verify|verify} messages. * @param message ExternalBlobReference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IExternalBlobReference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExternalBlobReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExternalBlobReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ExternalBlobReference; /** * Decodes an ExternalBlobReference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExternalBlobReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ExternalBlobReference; /** * Verifies an ExternalBlobReference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExternalBlobReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExternalBlobReference */ public static fromObject(object: { [k: string]: any }): waproto.ExternalBlobReference; /** * Creates a plain object from an ExternalBlobReference message. Also converts values to other types if specified. * @param message ExternalBlobReference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ExternalBlobReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExternalBlobReference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExternalBlobReference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Field. */ interface IField { /** Field minVersion */ minVersion?: (number|null); /** Field maxVersion */ maxVersion?: (number|null); /** Field notReportableMinVersion */ notReportableMinVersion?: (number|null); /** Field isMessage */ isMessage?: (boolean|null); /** Field subfield */ subfield?: ({ [k: string]: waproto.IField }|null); } /** Represents a Field. */ class Field implements IField { /** * Constructs a new Field. * @param [properties] Properties to set */ constructor(properties?: waproto.IField); /** Field minVersion. */ public minVersion?: (number|null); /** Field maxVersion. */ public maxVersion?: (number|null); /** Field notReportableMinVersion. */ public notReportableMinVersion?: (number|null); /** Field isMessage. */ public isMessage?: (boolean|null); /** Field subfield. */ public subfield: { [k: string]: waproto.IField }; /** * Creates a new Field instance using the specified properties. * @param [properties] Properties to set * @returns Field instance */ public static create(properties?: waproto.IField): waproto.Field; /** * Encodes the specified Field message. Does not implicitly {@link waproto.Field.verify|verify} messages. * @param message Field message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IField, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Field message, length delimited. Does not implicitly {@link waproto.Field.verify|verify} messages. * @param message Field message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IField, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Field message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Field * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Field; /** * Decodes a Field message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Field * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Field; /** * Verifies a Field message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Field message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Field */ public static fromObject(object: { [k: string]: any }): waproto.Field; /** * Creates a plain object from a Field message. Also converts values to other types if specified. * @param message Field * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Field, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Field to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Field * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FingerprintData. */ interface IFingerprintData { /** FingerprintData publicKey */ publicKey?: (Uint8Array|null); /** FingerprintData pnIdentifier */ pnIdentifier?: (Uint8Array|null); /** FingerprintData lidIdentifier */ lidIdentifier?: (Uint8Array|null); /** FingerprintData usernameIdentifier */ usernameIdentifier?: (Uint8Array|null); /** FingerprintData hostedState */ hostedState?: (waproto.HostedState|null); /** FingerprintData hashedPublicKey */ hashedPublicKey?: (Uint8Array|null); } /** Represents a FingerprintData. */ class FingerprintData implements IFingerprintData { /** * Constructs a new FingerprintData. * @param [properties] Properties to set */ constructor(properties?: waproto.IFingerprintData); /** FingerprintData publicKey. */ public publicKey?: (Uint8Array|null); /** FingerprintData pnIdentifier. */ public pnIdentifier?: (Uint8Array|null); /** FingerprintData lidIdentifier. */ public lidIdentifier?: (Uint8Array|null); /** FingerprintData usernameIdentifier. */ public usernameIdentifier?: (Uint8Array|null); /** FingerprintData hostedState. */ public hostedState?: (waproto.HostedState|null); /** FingerprintData hashedPublicKey. */ public hashedPublicKey?: (Uint8Array|null); /** * Creates a new FingerprintData instance using the specified properties. * @param [properties] Properties to set * @returns FingerprintData instance */ public static create(properties?: waproto.IFingerprintData): waproto.FingerprintData; /** * Encodes the specified FingerprintData message. Does not implicitly {@link waproto.FingerprintData.verify|verify} messages. * @param message FingerprintData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IFingerprintData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FingerprintData message, length delimited. Does not implicitly {@link waproto.FingerprintData.verify|verify} messages. * @param message FingerprintData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IFingerprintData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FingerprintData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FingerprintData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.FingerprintData; /** * Decodes a FingerprintData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FingerprintData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.FingerprintData; /** * Verifies a FingerprintData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FingerprintData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FingerprintData */ public static fromObject(object: { [k: string]: any }): waproto.FingerprintData; /** * Creates a plain object from a FingerprintData message. Also converts values to other types if specified. * @param message FingerprintData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.FingerprintData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FingerprintData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FingerprintData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FingerprintProto. */ interface IFingerprintProto { /** FingerprintProto currentIndex */ currentIndex?: (number|null); /** FingerprintProto deviceIndexes */ deviceIndexes?: (number[]|null); /** FingerprintProto rawId */ rawId?: (number|null); } /** Represents a FingerprintProto. */ class FingerprintProto implements IFingerprintProto { /** * Constructs a new FingerprintProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IFingerprintProto); /** FingerprintProto currentIndex. */ public currentIndex?: (number|null); /** FingerprintProto deviceIndexes. */ public deviceIndexes: number[]; /** FingerprintProto rawId. */ public rawId?: (number|null); /** * Creates a new FingerprintProto instance using the specified properties. * @param [properties] Properties to set * @returns FingerprintProto instance */ public static create(properties?: waproto.IFingerprintProto): waproto.FingerprintProto; /** * Encodes the specified FingerprintProto message. Does not implicitly {@link waproto.FingerprintProto.verify|verify} messages. * @param message FingerprintProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IFingerprintProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FingerprintProto message, length delimited. Does not implicitly {@link waproto.FingerprintProto.verify|verify} messages. * @param message FingerprintProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IFingerprintProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FingerprintProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FingerprintProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.FingerprintProto; /** * Decodes a FingerprintProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FingerprintProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.FingerprintProto; /** * Verifies a FingerprintProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FingerprintProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FingerprintProto */ public static fromObject(object: { [k: string]: any }): waproto.FingerprintProto; /** * Creates a plain object from a FingerprintProto message. Also converts values to other types if specified. * @param message FingerprintProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.FingerprintProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FingerprintProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FingerprintProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ForwardedAIBotMessageInfo. */ interface IForwardedAIBotMessageInfo { /** ForwardedAIBotMessageInfo botName */ botName?: (string|null); /** ForwardedAIBotMessageInfo botJid */ botJid?: (string|null); /** ForwardedAIBotMessageInfo creatorName */ creatorName?: (string|null); } /** Represents a ForwardedAIBotMessageInfo. */ class ForwardedAIBotMessageInfo implements IForwardedAIBotMessageInfo { /** * Constructs a new ForwardedAIBotMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IForwardedAIBotMessageInfo); /** ForwardedAIBotMessageInfo botName. */ public botName?: (string|null); /** ForwardedAIBotMessageInfo botJid. */ public botJid?: (string|null); /** ForwardedAIBotMessageInfo creatorName. */ public creatorName?: (string|null); /** * Creates a new ForwardedAIBotMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns ForwardedAIBotMessageInfo instance */ public static create(properties?: waproto.IForwardedAIBotMessageInfo): waproto.ForwardedAIBotMessageInfo; /** * Encodes the specified ForwardedAIBotMessageInfo message. Does not implicitly {@link waproto.ForwardedAIBotMessageInfo.verify|verify} messages. * @param message ForwardedAIBotMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ForwardedAIBotMessageInfo message, length delimited. Does not implicitly {@link waproto.ForwardedAIBotMessageInfo.verify|verify} messages. * @param message ForwardedAIBotMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IForwardedAIBotMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ForwardedAIBotMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ForwardedAIBotMessageInfo; /** * Decodes a ForwardedAIBotMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ForwardedAIBotMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ForwardedAIBotMessageInfo; /** * Verifies a ForwardedAIBotMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ForwardedAIBotMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ForwardedAIBotMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.ForwardedAIBotMessageInfo; /** * Creates a plain object from a ForwardedAIBotMessageInfo message. Also converts values to other types if specified. * @param message ForwardedAIBotMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ForwardedAIBotMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ForwardedAIBotMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ForwardedAIBotMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FrankingMetadata. */ interface IFrankingMetadata { /** FrankingMetadata frankingTag */ frankingTag?: (Uint8Array|null); /** FrankingMetadata reportingTag */ reportingTag?: (Uint8Array|null); } /** Represents a FrankingMetadata. */ class FrankingMetadata implements IFrankingMetadata { /** * Constructs a new FrankingMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IFrankingMetadata); /** FrankingMetadata frankingTag. */ public frankingTag?: (Uint8Array|null); /** FrankingMetadata reportingTag. */ public reportingTag?: (Uint8Array|null); /** * Creates a new FrankingMetadata instance using the specified properties. * @param [properties] Properties to set * @returns FrankingMetadata instance */ public static create(properties?: waproto.IFrankingMetadata): waproto.FrankingMetadata; /** * Encodes the specified FrankingMetadata message. Does not implicitly {@link waproto.FrankingMetadata.verify|verify} messages. * @param message FrankingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IFrankingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FrankingMetadata message, length delimited. Does not implicitly {@link waproto.FrankingMetadata.verify|verify} messages. * @param message FrankingMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IFrankingMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FrankingMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FrankingMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.FrankingMetadata; /** * Decodes a FrankingMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FrankingMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.FrankingMetadata; /** * Verifies a FrankingMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FrankingMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FrankingMetadata */ public static fromObject(object: { [k: string]: any }): waproto.FrankingMetadata; /** * Creates a plain object from a FrankingMetadata message. Also converts values to other types if specified. * @param message FrankingMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.FrankingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FrankingMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FrankingMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GenerateMekInput. */ interface IGenerateMekInput { /** GenerateMekInput epochHeads */ epochHeads?: (Uint8Array[]|null); } /** Represents a GenerateMekInput. */ class GenerateMekInput implements IGenerateMekInput { /** * Constructs a new GenerateMekInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IGenerateMekInput); /** GenerateMekInput epochHeads. */ public epochHeads: Uint8Array[]; /** * Creates a new GenerateMekInput instance using the specified properties. * @param [properties] Properties to set * @returns GenerateMekInput instance */ public static create(properties?: waproto.IGenerateMekInput): waproto.GenerateMekInput; /** * Encodes the specified GenerateMekInput message. Does not implicitly {@link waproto.GenerateMekInput.verify|verify} messages. * @param message GenerateMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGenerateMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenerateMekInput message, length delimited. Does not implicitly {@link waproto.GenerateMekInput.verify|verify} messages. * @param message GenerateMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGenerateMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenerateMekInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenerateMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GenerateMekInput; /** * Decodes a GenerateMekInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenerateMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GenerateMekInput; /** * Verifies a GenerateMekInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenerateMekInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenerateMekInput */ public static fromObject(object: { [k: string]: any }): waproto.GenerateMekInput; /** * Creates a plain object from a GenerateMekInput message. Also converts values to other types if specified. * @param message GenerateMekInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GenerateMekInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenerateMekInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GenerateMekInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GenerateMekResult. */ interface IGenerateMekResult { /** GenerateMekResult mek */ mek?: (waproto.IMekBundle|null); } /** Represents a GenerateMekResult. */ class GenerateMekResult implements IGenerateMekResult { /** * Constructs a new GenerateMekResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IGenerateMekResult); /** GenerateMekResult mek. */ public mek?: (waproto.IMekBundle|null); /** * Creates a new GenerateMekResult instance using the specified properties. * @param [properties] Properties to set * @returns GenerateMekResult instance */ public static create(properties?: waproto.IGenerateMekResult): waproto.GenerateMekResult; /** * Encodes the specified GenerateMekResult message. Does not implicitly {@link waproto.GenerateMekResult.verify|verify} messages. * @param message GenerateMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGenerateMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenerateMekResult message, length delimited. Does not implicitly {@link waproto.GenerateMekResult.verify|verify} messages. * @param message GenerateMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGenerateMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenerateMekResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenerateMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GenerateMekResult; /** * Decodes a GenerateMekResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenerateMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GenerateMekResult; /** * Verifies a GenerateMekResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenerateMekResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenerateMekResult */ public static fromObject(object: { [k: string]: any }): waproto.GenerateMekResult; /** * Creates a plain object from a GenerateMekResult message. Also converts values to other types if specified. * @param message GenerateMekResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GenerateMekResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenerateMekResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GenerateMekResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GenerateMekRosterHashInput. */ interface IGenerateMekRosterHashInput { /** GenerateMekRosterHashInput epochHeads */ epochHeads?: (Uint8Array[]|null); } /** Represents a GenerateMekRosterHashInput. */ class GenerateMekRosterHashInput implements IGenerateMekRosterHashInput { /** * Constructs a new GenerateMekRosterHashInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IGenerateMekRosterHashInput); /** GenerateMekRosterHashInput epochHeads. */ public epochHeads: Uint8Array[]; /** * Creates a new GenerateMekRosterHashInput instance using the specified properties. * @param [properties] Properties to set * @returns GenerateMekRosterHashInput instance */ public static create(properties?: waproto.IGenerateMekRosterHashInput): waproto.GenerateMekRosterHashInput; /** * Encodes the specified GenerateMekRosterHashInput message. Does not implicitly {@link waproto.GenerateMekRosterHashInput.verify|verify} messages. * @param message GenerateMekRosterHashInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGenerateMekRosterHashInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenerateMekRosterHashInput message, length delimited. Does not implicitly {@link waproto.GenerateMekRosterHashInput.verify|verify} messages. * @param message GenerateMekRosterHashInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGenerateMekRosterHashInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenerateMekRosterHashInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenerateMekRosterHashInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GenerateMekRosterHashInput; /** * Decodes a GenerateMekRosterHashInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenerateMekRosterHashInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GenerateMekRosterHashInput; /** * Verifies a GenerateMekRosterHashInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenerateMekRosterHashInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenerateMekRosterHashInput */ public static fromObject(object: { [k: string]: any }): waproto.GenerateMekRosterHashInput; /** * Creates a plain object from a GenerateMekRosterHashInput message. Also converts values to other types if specified. * @param message GenerateMekRosterHashInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GenerateMekRosterHashInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenerateMekRosterHashInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GenerateMekRosterHashInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GenerateMekRosterHashResult. */ interface IGenerateMekRosterHashResult { /** GenerateMekRosterHashResult rosterHash */ rosterHash?: (Uint8Array|null); } /** Represents a GenerateMekRosterHashResult. */ class GenerateMekRosterHashResult implements IGenerateMekRosterHashResult { /** * Constructs a new GenerateMekRosterHashResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IGenerateMekRosterHashResult); /** GenerateMekRosterHashResult rosterHash. */ public rosterHash?: (Uint8Array|null); /** * Creates a new GenerateMekRosterHashResult instance using the specified properties. * @param [properties] Properties to set * @returns GenerateMekRosterHashResult instance */ public static create(properties?: waproto.IGenerateMekRosterHashResult): waproto.GenerateMekRosterHashResult; /** * Encodes the specified GenerateMekRosterHashResult message. Does not implicitly {@link waproto.GenerateMekRosterHashResult.verify|verify} messages. * @param message GenerateMekRosterHashResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGenerateMekRosterHashResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GenerateMekRosterHashResult message, length delimited. Does not implicitly {@link waproto.GenerateMekRosterHashResult.verify|verify} messages. * @param message GenerateMekRosterHashResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGenerateMekRosterHashResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GenerateMekRosterHashResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GenerateMekRosterHashResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GenerateMekRosterHashResult; /** * Decodes a GenerateMekRosterHashResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GenerateMekRosterHashResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GenerateMekRosterHashResult; /** * Verifies a GenerateMekRosterHashResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GenerateMekRosterHashResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GenerateMekRosterHashResult */ public static fromObject(object: { [k: string]: any }): waproto.GenerateMekRosterHashResult; /** * Creates a plain object from a GenerateMekRosterHashResult message. Also converts values to other types if specified. * @param message GenerateMekRosterHashResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GenerateMekRosterHashResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GenerateMekRosterHashResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GenerateMekRosterHashResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GlobalSettings. */ interface IGlobalSettings { /** GlobalSettings lightThemeWallpaper */ lightThemeWallpaper?: (waproto.IWallpaperSettings|null); /** GlobalSettings mediaVisibility */ mediaVisibility?: (waproto.MediaVisibility|null); /** GlobalSettings darkThemeWallpaper */ darkThemeWallpaper?: (waproto.IWallpaperSettings|null); /** GlobalSettings autoDownloadWiFi */ autoDownloadWiFi?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings autoDownloadCellular */ autoDownloadCellular?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings autoDownloadRoaming */ autoDownloadRoaming?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings showIndividualNotificationsPreview */ showIndividualNotificationsPreview?: (boolean|null); /** GlobalSettings showGroupNotificationsPreview */ showGroupNotificationsPreview?: (boolean|null); /** GlobalSettings disappearingModeDuration */ disappearingModeDuration?: (number|null); /** GlobalSettings disappearingModeTimestamp */ disappearingModeTimestamp?: (number|Long|null); /** GlobalSettings avatarUserSettings */ avatarUserSettings?: (waproto.IAvatarUserSettings|null); /** GlobalSettings fontSize */ fontSize?: (number|null); /** GlobalSettings securityNotifications */ securityNotifications?: (boolean|null); /** GlobalSettings autoUnarchiveChats */ autoUnarchiveChats?: (boolean|null); /** GlobalSettings videoQualityMode */ videoQualityMode?: (number|null); /** GlobalSettings photoQualityMode */ photoQualityMode?: (number|null); /** GlobalSettings individualNotificationSettings */ individualNotificationSettings?: (waproto.INotificationSettings|null); /** GlobalSettings groupNotificationSettings */ groupNotificationSettings?: (waproto.INotificationSettings|null); /** GlobalSettings chatLockSettings */ chatLockSettings?: (waproto.IChatLockSettings|null); /** GlobalSettings chatDbLidMigrationTimestamp */ chatDbLidMigrationTimestamp?: (number|Long|null); } /** Represents a GlobalSettings. */ class GlobalSettings implements IGlobalSettings { /** * Constructs a new GlobalSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.IGlobalSettings); /** GlobalSettings lightThemeWallpaper. */ public lightThemeWallpaper?: (waproto.IWallpaperSettings|null); /** GlobalSettings mediaVisibility. */ public mediaVisibility?: (waproto.MediaVisibility|null); /** GlobalSettings darkThemeWallpaper. */ public darkThemeWallpaper?: (waproto.IWallpaperSettings|null); /** GlobalSettings autoDownloadWiFi. */ public autoDownloadWiFi?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings autoDownloadCellular. */ public autoDownloadCellular?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings autoDownloadRoaming. */ public autoDownloadRoaming?: (waproto.IAutoDownloadSettings|null); /** GlobalSettings showIndividualNotificationsPreview. */ public showIndividualNotificationsPreview?: (boolean|null); /** GlobalSettings showGroupNotificationsPreview. */ public showGroupNotificationsPreview?: (boolean|null); /** GlobalSettings disappearingModeDuration. */ public disappearingModeDuration?: (number|null); /** GlobalSettings disappearingModeTimestamp. */ public disappearingModeTimestamp?: (number|Long|null); /** GlobalSettings avatarUserSettings. */ public avatarUserSettings?: (waproto.IAvatarUserSettings|null); /** GlobalSettings fontSize. */ public fontSize?: (number|null); /** GlobalSettings securityNotifications. */ public securityNotifications?: (boolean|null); /** GlobalSettings autoUnarchiveChats. */ public autoUnarchiveChats?: (boolean|null); /** GlobalSettings videoQualityMode. */ public videoQualityMode?: (number|null); /** GlobalSettings photoQualityMode. */ public photoQualityMode?: (number|null); /** GlobalSettings individualNotificationSettings. */ public individualNotificationSettings?: (waproto.INotificationSettings|null); /** GlobalSettings groupNotificationSettings. */ public groupNotificationSettings?: (waproto.INotificationSettings|null); /** GlobalSettings chatLockSettings. */ public chatLockSettings?: (waproto.IChatLockSettings|null); /** GlobalSettings chatDbLidMigrationTimestamp. */ public chatDbLidMigrationTimestamp?: (number|Long|null); /** * Creates a new GlobalSettings instance using the specified properties. * @param [properties] Properties to set * @returns GlobalSettings instance */ public static create(properties?: waproto.IGlobalSettings): waproto.GlobalSettings; /** * Encodes the specified GlobalSettings message. Does not implicitly {@link waproto.GlobalSettings.verify|verify} messages. * @param message GlobalSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GlobalSettings message, length delimited. Does not implicitly {@link waproto.GlobalSettings.verify|verify} messages. * @param message GlobalSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGlobalSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GlobalSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GlobalSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GlobalSettings; /** * Decodes a GlobalSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GlobalSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GlobalSettings; /** * Verifies a GlobalSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GlobalSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GlobalSettings */ public static fromObject(object: { [k: string]: any }): waproto.GlobalSettings; /** * Creates a plain object from a GlobalSettings message. Also converts values to other types if specified. * @param message GlobalSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GlobalSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GlobalSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GlobalSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupHistory. */ interface IGroupHistory { /** GroupHistory messages */ messages?: (waproto.IWebMessageInfo[]|null); /** GroupHistory uncountedAssociatedMessageLists */ uncountedAssociatedMessageLists?: (waproto.IUnCountedAssociatedMessageList[]|null); /** GroupHistory commentMessages */ commentMessages?: (waproto.IWebMessageInfo[]|null); /** GroupHistory outOfWindowPinnedMessages */ outOfWindowPinnedMessages?: (waproto.IWebMessageInfo[]|null); /** GroupHistory themeMessage */ themeMessage?: (waproto.IWebMessageInfo|null); } /** Represents a GroupHistory. */ class GroupHistory implements IGroupHistory { /** * Constructs a new GroupHistory. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupHistory); /** GroupHistory messages. */ public messages: waproto.IWebMessageInfo[]; /** GroupHistory uncountedAssociatedMessageLists. */ public uncountedAssociatedMessageLists: waproto.IUnCountedAssociatedMessageList[]; /** GroupHistory commentMessages. */ public commentMessages: waproto.IWebMessageInfo[]; /** GroupHistory outOfWindowPinnedMessages. */ public outOfWindowPinnedMessages: waproto.IWebMessageInfo[]; /** GroupHistory themeMessage. */ public themeMessage?: (waproto.IWebMessageInfo|null); /** * Creates a new GroupHistory instance using the specified properties. * @param [properties] Properties to set * @returns GroupHistory instance */ public static create(properties?: waproto.IGroupHistory): waproto.GroupHistory; /** * Encodes the specified GroupHistory message. Does not implicitly {@link waproto.GroupHistory.verify|verify} messages. * @param message GroupHistory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupHistory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupHistory message, length delimited. Does not implicitly {@link waproto.GroupHistory.verify|verify} messages. * @param message GroupHistory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupHistory, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupHistory message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupHistory * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupHistory; /** * Decodes a GroupHistory message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupHistory * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupHistory; /** * Verifies a GroupHistory message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupHistory message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupHistory */ public static fromObject(object: { [k: string]: any }): waproto.GroupHistory; /** * Creates a plain object from a GroupHistory message. Also converts values to other types if specified. * @param message GroupHistory * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupHistory, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupHistory to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupHistory * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupHistoryBundleInfo. */ interface IGroupHistoryBundleInfo { /** GroupHistoryBundleInfo deprecatedMessageHistoryBundle */ deprecatedMessageHistoryBundle?: (waproto.Message.IMessageHistoryBundle|null); /** GroupHistoryBundleInfo processState */ processState?: (waproto.GroupHistoryBundleInfo.ProcessState|null); } /** Represents a GroupHistoryBundleInfo. */ class GroupHistoryBundleInfo implements IGroupHistoryBundleInfo { /** * Constructs a new GroupHistoryBundleInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupHistoryBundleInfo); /** GroupHistoryBundleInfo deprecatedMessageHistoryBundle. */ public deprecatedMessageHistoryBundle?: (waproto.Message.IMessageHistoryBundle|null); /** GroupHistoryBundleInfo processState. */ public processState?: (waproto.GroupHistoryBundleInfo.ProcessState|null); /** * Creates a new GroupHistoryBundleInfo instance using the specified properties. * @param [properties] Properties to set * @returns GroupHistoryBundleInfo instance */ public static create(properties?: waproto.IGroupHistoryBundleInfo): waproto.GroupHistoryBundleInfo; /** * Encodes the specified GroupHistoryBundleInfo message. Does not implicitly {@link waproto.GroupHistoryBundleInfo.verify|verify} messages. * @param message GroupHistoryBundleInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupHistoryBundleInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupHistoryBundleInfo message, length delimited. Does not implicitly {@link waproto.GroupHistoryBundleInfo.verify|verify} messages. * @param message GroupHistoryBundleInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupHistoryBundleInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupHistoryBundleInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupHistoryBundleInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupHistoryBundleInfo; /** * Decodes a GroupHistoryBundleInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupHistoryBundleInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupHistoryBundleInfo; /** * Verifies a GroupHistoryBundleInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupHistoryBundleInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupHistoryBundleInfo */ public static fromObject(object: { [k: string]: any }): waproto.GroupHistoryBundleInfo; /** * Creates a plain object from a GroupHistoryBundleInfo message. Also converts values to other types if specified. * @param message GroupHistoryBundleInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupHistoryBundleInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupHistoryBundleInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupHistoryBundleInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupHistoryBundleInfo { /** ProcessState enum. */ enum ProcessState { NOT_INJECTED = 0, INJECTED = 1, INJECTED_PARTIAL = 2, INJECTION_FAILED = 3, INJECTION_FAILED_NO_RETRY = 4, DEDUPED = 5 } } /** Properties of a GroupHistoryIndividualMessageInfo. */ interface IGroupHistoryIndividualMessageInfo { /** GroupHistoryIndividualMessageInfo bundleMessageKey */ bundleMessageKey?: (waproto.IMessageKey|null); /** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory */ editedAfterReceivedAsHistory?: (boolean|null); } /** Represents a GroupHistoryIndividualMessageInfo. */ class GroupHistoryIndividualMessageInfo implements IGroupHistoryIndividualMessageInfo { /** * Constructs a new GroupHistoryIndividualMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupHistoryIndividualMessageInfo); /** GroupHistoryIndividualMessageInfo bundleMessageKey. */ public bundleMessageKey?: (waproto.IMessageKey|null); /** GroupHistoryIndividualMessageInfo editedAfterReceivedAsHistory. */ public editedAfterReceivedAsHistory?: (boolean|null); /** * Creates a new GroupHistoryIndividualMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns GroupHistoryIndividualMessageInfo instance */ public static create(properties?: waproto.IGroupHistoryIndividualMessageInfo): waproto.GroupHistoryIndividualMessageInfo; /** * Encodes the specified GroupHistoryIndividualMessageInfo message. Does not implicitly {@link waproto.GroupHistoryIndividualMessageInfo.verify|verify} messages. * @param message GroupHistoryIndividualMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupHistoryIndividualMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupHistoryIndividualMessageInfo message, length delimited. Does not implicitly {@link waproto.GroupHistoryIndividualMessageInfo.verify|verify} messages. * @param message GroupHistoryIndividualMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupHistoryIndividualMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupHistoryIndividualMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupHistoryIndividualMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupHistoryIndividualMessageInfo; /** * Decodes a GroupHistoryIndividualMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupHistoryIndividualMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupHistoryIndividualMessageInfo; /** * Verifies a GroupHistoryIndividualMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupHistoryIndividualMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupHistoryIndividualMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.GroupHistoryIndividualMessageInfo; /** * Creates a plain object from a GroupHistoryIndividualMessageInfo message. Also converts values to other types if specified. * @param message GroupHistoryIndividualMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupHistoryIndividualMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupHistoryIndividualMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupHistoryIndividualMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupHistoryWithMessageBytes. */ interface IGroupHistoryWithMessageBytes { /** GroupHistoryWithMessageBytes messages */ messages?: (waproto.IWebMessageInfoWithMessageBytes[]|null); /** GroupHistoryWithMessageBytes uncountedAssociatedMessageLists */ uncountedAssociatedMessageLists?: (waproto.IUnCountedAssociatedMessageListWithMessageBytes[]|null); /** GroupHistoryWithMessageBytes commentMessages */ commentMessages?: (waproto.IWebMessageInfoWithMessageBytes[]|null); /** GroupHistoryWithMessageBytes outOfWindowPinnedMessages */ outOfWindowPinnedMessages?: (waproto.IWebMessageInfoWithMessageBytes[]|null); /** GroupHistoryWithMessageBytes themeMessage */ themeMessage?: (waproto.IWebMessageInfoWithMessageBytes|null); } /** Represents a GroupHistoryWithMessageBytes. */ class GroupHistoryWithMessageBytes implements IGroupHistoryWithMessageBytes { /** * Constructs a new GroupHistoryWithMessageBytes. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupHistoryWithMessageBytes); /** GroupHistoryWithMessageBytes messages. */ public messages: waproto.IWebMessageInfoWithMessageBytes[]; /** GroupHistoryWithMessageBytes uncountedAssociatedMessageLists. */ public uncountedAssociatedMessageLists: waproto.IUnCountedAssociatedMessageListWithMessageBytes[]; /** GroupHistoryWithMessageBytes commentMessages. */ public commentMessages: waproto.IWebMessageInfoWithMessageBytes[]; /** GroupHistoryWithMessageBytes outOfWindowPinnedMessages. */ public outOfWindowPinnedMessages: waproto.IWebMessageInfoWithMessageBytes[]; /** GroupHistoryWithMessageBytes themeMessage. */ public themeMessage?: (waproto.IWebMessageInfoWithMessageBytes|null); /** * Creates a new GroupHistoryWithMessageBytes instance using the specified properties. * @param [properties] Properties to set * @returns GroupHistoryWithMessageBytes instance */ public static create(properties?: waproto.IGroupHistoryWithMessageBytes): waproto.GroupHistoryWithMessageBytes; /** * Encodes the specified GroupHistoryWithMessageBytes message. Does not implicitly {@link waproto.GroupHistoryWithMessageBytes.verify|verify} messages. * @param message GroupHistoryWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupHistoryWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupHistoryWithMessageBytes message, length delimited. Does not implicitly {@link waproto.GroupHistoryWithMessageBytes.verify|verify} messages. * @param message GroupHistoryWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupHistoryWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupHistoryWithMessageBytes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupHistoryWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupHistoryWithMessageBytes; /** * Decodes a GroupHistoryWithMessageBytes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupHistoryWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupHistoryWithMessageBytes; /** * Verifies a GroupHistoryWithMessageBytes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupHistoryWithMessageBytes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupHistoryWithMessageBytes */ public static fromObject(object: { [k: string]: any }): waproto.GroupHistoryWithMessageBytes; /** * Creates a plain object from a GroupHistoryWithMessageBytes message. Also converts values to other types if specified. * @param message GroupHistoryWithMessageBytes * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupHistoryWithMessageBytes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupHistoryWithMessageBytes to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupHistoryWithMessageBytes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupInfoSchemaProto. */ interface IGroupInfoSchemaProto { /** GroupInfoSchemaProto groupJid */ groupJid?: (string|null); /** GroupInfoSchemaProto threadId */ threadId?: (number|null); /** GroupInfoSchemaProto creator */ creator?: (string|null); /** GroupInfoSchemaProto creationTs */ creationTs?: (number|Long|null); /** GroupInfoSchemaProto name */ name?: (string|null); /** GroupInfoSchemaProto nameOwner */ nameOwner?: (string|null); /** GroupInfoSchemaProto nameTs */ nameTs?: (number|Long|null); /** GroupInfoSchemaProto msgExpiration */ msgExpiration?: (number|null); /** GroupInfoSchemaProto participantVersion */ participantVersion?: (string|null); /** GroupInfoSchemaProto inviter */ inviter?: (string|null); /** GroupInfoSchemaProto memberAddMode */ memberAddMode?: (string|null); } /** Represents a GroupInfoSchemaProto. */ class GroupInfoSchemaProto implements IGroupInfoSchemaProto { /** * Constructs a new GroupInfoSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupInfoSchemaProto); /** GroupInfoSchemaProto groupJid. */ public groupJid?: (string|null); /** GroupInfoSchemaProto threadId. */ public threadId?: (number|null); /** GroupInfoSchemaProto creator. */ public creator?: (string|null); /** GroupInfoSchemaProto creationTs. */ public creationTs?: (number|Long|null); /** GroupInfoSchemaProto name. */ public name?: (string|null); /** GroupInfoSchemaProto nameOwner. */ public nameOwner?: (string|null); /** GroupInfoSchemaProto nameTs. */ public nameTs?: (number|Long|null); /** GroupInfoSchemaProto msgExpiration. */ public msgExpiration?: (number|null); /** GroupInfoSchemaProto participantVersion. */ public participantVersion?: (string|null); /** GroupInfoSchemaProto inviter. */ public inviter?: (string|null); /** GroupInfoSchemaProto memberAddMode. */ public memberAddMode?: (string|null); /** * Creates a new GroupInfoSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns GroupInfoSchemaProto instance */ public static create(properties?: waproto.IGroupInfoSchemaProto): waproto.GroupInfoSchemaProto; /** * Encodes the specified GroupInfoSchemaProto message. Does not implicitly {@link waproto.GroupInfoSchemaProto.verify|verify} messages. * @param message GroupInfoSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupInfoSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupInfoSchemaProto message, length delimited. Does not implicitly {@link waproto.GroupInfoSchemaProto.verify|verify} messages. * @param message GroupInfoSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupInfoSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupInfoSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupInfoSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupInfoSchemaProto; /** * Decodes a GroupInfoSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupInfoSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupInfoSchemaProto; /** * Verifies a GroupInfoSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupInfoSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupInfoSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.GroupInfoSchemaProto; /** * Creates a plain object from a GroupInfoSchemaProto message. Also converts values to other types if specified. * @param message GroupInfoSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupInfoSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupInfoSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupInfoSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupInvitesTableSchemaProto. */ interface IGroupInvitesTableSchemaProto { /** GroupInvitesTableSchemaProto inviterJid */ inviterJid?: (string|null); /** GroupInvitesTableSchemaProto invitedParticipantId */ invitedParticipantId?: (string|null); /** GroupInvitesTableSchemaProto inviteCode */ inviteCode?: (string|null); /** GroupInvitesTableSchemaProto inviteExpirationTs */ inviteExpirationTs?: (number|Long|null); /** GroupInvitesTableSchemaProto caption */ caption?: (string|null); } /** Represents a GroupInvitesTableSchemaProto. */ class GroupInvitesTableSchemaProto implements IGroupInvitesTableSchemaProto { /** * Constructs a new GroupInvitesTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupInvitesTableSchemaProto); /** GroupInvitesTableSchemaProto inviterJid. */ public inviterJid?: (string|null); /** GroupInvitesTableSchemaProto invitedParticipantId. */ public invitedParticipantId?: (string|null); /** GroupInvitesTableSchemaProto inviteCode. */ public inviteCode?: (string|null); /** GroupInvitesTableSchemaProto inviteExpirationTs. */ public inviteExpirationTs?: (number|Long|null); /** GroupInvitesTableSchemaProto caption. */ public caption?: (string|null); /** * Creates a new GroupInvitesTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns GroupInvitesTableSchemaProto instance */ public static create(properties?: waproto.IGroupInvitesTableSchemaProto): waproto.GroupInvitesTableSchemaProto; /** * Encodes the specified GroupInvitesTableSchemaProto message. Does not implicitly {@link waproto.GroupInvitesTableSchemaProto.verify|verify} messages. * @param message GroupInvitesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupInvitesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupInvitesTableSchemaProto message, length delimited. Does not implicitly {@link waproto.GroupInvitesTableSchemaProto.verify|verify} messages. * @param message GroupInvitesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupInvitesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupInvitesTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupInvitesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupInvitesTableSchemaProto; /** * Decodes a GroupInvitesTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupInvitesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupInvitesTableSchemaProto; /** * Verifies a GroupInvitesTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupInvitesTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupInvitesTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.GroupInvitesTableSchemaProto; /** * Creates a plain object from a GroupInvitesTableSchemaProto message. Also converts values to other types if specified. * @param message GroupInvitesTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupInvitesTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupInvitesTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupInvitesTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupMention. */ interface IGroupMention { /** GroupMention groupJid */ groupJid?: (string|null); /** GroupMention groupSubject */ groupSubject?: (string|null); } /** Represents a GroupMention. */ class GroupMention implements IGroupMention { /** * Constructs a new GroupMention. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupMention); /** GroupMention groupJid. */ public groupJid?: (string|null); /** GroupMention groupSubject. */ public groupSubject?: (string|null); /** * Creates a new GroupMention instance using the specified properties. * @param [properties] Properties to set * @returns GroupMention instance */ public static create(properties?: waproto.IGroupMention): waproto.GroupMention; /** * Encodes the specified GroupMention message. Does not implicitly {@link waproto.GroupMention.verify|verify} messages. * @param message GroupMention message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupMention, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupMention message, length delimited. Does not implicitly {@link waproto.GroupMention.verify|verify} messages. * @param message GroupMention message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupMention, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupMention message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupMention * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupMention; /** * Decodes a GroupMention message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupMention * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupMention; /** * Verifies a GroupMention message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupMention message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupMention */ public static fromObject(object: { [k: string]: any }): waproto.GroupMention; /** * Creates a plain object from a GroupMention message. Also converts values to other types if specified. * @param message GroupMention * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupMention, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupMention to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupMention * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupParticipant. */ interface IGroupParticipant { /** GroupParticipant userJid */ userJid?: (string|null); /** GroupParticipant rank */ rank?: (waproto.GroupParticipant.Rank|null); /** GroupParticipant memberLabel */ memberLabel?: (waproto.IMemberLabel|null); } /** Represents a GroupParticipant. */ class GroupParticipant implements IGroupParticipant { /** * Constructs a new GroupParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupParticipant); /** GroupParticipant userJid. */ public userJid?: (string|null); /** GroupParticipant rank. */ public rank?: (waproto.GroupParticipant.Rank|null); /** GroupParticipant memberLabel. */ public memberLabel?: (waproto.IMemberLabel|null); /** * Creates a new GroupParticipant instance using the specified properties. * @param [properties] Properties to set * @returns GroupParticipant instance */ public static create(properties?: waproto.IGroupParticipant): waproto.GroupParticipant; /** * Encodes the specified GroupParticipant message. Does not implicitly {@link waproto.GroupParticipant.verify|verify} messages. * @param message GroupParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupParticipant message, length delimited. Does not implicitly {@link waproto.GroupParticipant.verify|verify} messages. * @param message GroupParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupParticipant; /** * Decodes a GroupParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupParticipant; /** * Verifies a GroupParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupParticipant */ public static fromObject(object: { [k: string]: any }): waproto.GroupParticipant; /** * Creates a plain object from a GroupParticipant message. Also converts values to other types if specified. * @param message GroupParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupParticipant { /** Rank enum. */ enum Rank { REGULAR = 0, ADMIN = 1, SUPERADMIN = 2 } } /** Properties of a GroupRootKeyShare. */ interface IGroupRootKeyShare { /** GroupRootKeyShare keys */ keys?: (waproto.IGroupRootKeyShareEntry[]|null); } /** Represents a GroupRootKeyShare. */ class GroupRootKeyShare implements IGroupRootKeyShare { /** * Constructs a new GroupRootKeyShare. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupRootKeyShare); /** GroupRootKeyShare keys. */ public keys: waproto.IGroupRootKeyShareEntry[]; /** * Creates a new GroupRootKeyShare instance using the specified properties. * @param [properties] Properties to set * @returns GroupRootKeyShare instance */ public static create(properties?: waproto.IGroupRootKeyShare): waproto.GroupRootKeyShare; /** * Encodes the specified GroupRootKeyShare message. Does not implicitly {@link waproto.GroupRootKeyShare.verify|verify} messages. * @param message GroupRootKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupRootKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupRootKeyShare message, length delimited. Does not implicitly {@link waproto.GroupRootKeyShare.verify|verify} messages. * @param message GroupRootKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupRootKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupRootKeyShare message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupRootKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupRootKeyShare; /** * Decodes a GroupRootKeyShare message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupRootKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupRootKeyShare; /** * Verifies a GroupRootKeyShare message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupRootKeyShare message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupRootKeyShare */ public static fromObject(object: { [k: string]: any }): waproto.GroupRootKeyShare; /** * Creates a plain object from a GroupRootKeyShare message. Also converts values to other types if specified. * @param message GroupRootKeyShare * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupRootKeyShare, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupRootKeyShare to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupRootKeyShare * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupRootKeyShareEntry. */ interface IGroupRootKeyShareEntry { /** GroupRootKeyShareEntry groupRootKey */ groupRootKey?: (Uint8Array|null); /** GroupRootKeyShareEntry keyId */ keyId?: (string|null); /** GroupRootKeyShareEntry expiryTimestampMs */ expiryTimestampMs?: (number|Long|null); /** GroupRootKeyShareEntry createdTimestampMs */ createdTimestampMs?: (number|Long|null); } /** Represents a GroupRootKeyShareEntry. */ class GroupRootKeyShareEntry implements IGroupRootKeyShareEntry { /** * Constructs a new GroupRootKeyShareEntry. * @param [properties] Properties to set */ constructor(properties?: waproto.IGroupRootKeyShareEntry); /** GroupRootKeyShareEntry groupRootKey. */ public groupRootKey?: (Uint8Array|null); /** GroupRootKeyShareEntry keyId. */ public keyId?: (string|null); /** GroupRootKeyShareEntry expiryTimestampMs. */ public expiryTimestampMs?: (number|Long|null); /** GroupRootKeyShareEntry createdTimestampMs. */ public createdTimestampMs?: (number|Long|null); /** * Creates a new GroupRootKeyShareEntry instance using the specified properties. * @param [properties] Properties to set * @returns GroupRootKeyShareEntry instance */ public static create(properties?: waproto.IGroupRootKeyShareEntry): waproto.GroupRootKeyShareEntry; /** * Encodes the specified GroupRootKeyShareEntry message. Does not implicitly {@link waproto.GroupRootKeyShareEntry.verify|verify} messages. * @param message GroupRootKeyShareEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IGroupRootKeyShareEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupRootKeyShareEntry message, length delimited. Does not implicitly {@link waproto.GroupRootKeyShareEntry.verify|verify} messages. * @param message GroupRootKeyShareEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IGroupRootKeyShareEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupRootKeyShareEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupRootKeyShareEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.GroupRootKeyShareEntry; /** * Decodes a GroupRootKeyShareEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupRootKeyShareEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.GroupRootKeyShareEntry; /** * Verifies a GroupRootKeyShareEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupRootKeyShareEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupRootKeyShareEntry */ public static fromObject(object: { [k: string]: any }): waproto.GroupRootKeyShareEntry; /** * Creates a plain object from a GroupRootKeyShareEntry message. Also converts values to other types if specified. * @param message GroupRootKeyShareEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.GroupRootKeyShareEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupRootKeyShareEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupRootKeyShareEntry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HandshakeMessage. */ interface IHandshakeMessage { /** HandshakeMessage clientHello */ clientHello?: (waproto.HandshakeMessage.IClientHello|null); /** HandshakeMessage serverHello */ serverHello?: (waproto.HandshakeMessage.IServerHello|null); /** HandshakeMessage clientFinish */ clientFinish?: (waproto.HandshakeMessage.IClientFinish|null); } /** Represents a HandshakeMessage. */ class HandshakeMessage implements IHandshakeMessage { /** * Constructs a new HandshakeMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IHandshakeMessage); /** HandshakeMessage clientHello. */ public clientHello?: (waproto.HandshakeMessage.IClientHello|null); /** HandshakeMessage serverHello. */ public serverHello?: (waproto.HandshakeMessage.IServerHello|null); /** HandshakeMessage clientFinish. */ public clientFinish?: (waproto.HandshakeMessage.IClientFinish|null); /** * Creates a new HandshakeMessage instance using the specified properties. * @param [properties] Properties to set * @returns HandshakeMessage instance */ public static create(properties?: waproto.IHandshakeMessage): waproto.HandshakeMessage; /** * Encodes the specified HandshakeMessage message. Does not implicitly {@link waproto.HandshakeMessage.verify|verify} messages. * @param message HandshakeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HandshakeMessage message, length delimited. Does not implicitly {@link waproto.HandshakeMessage.verify|verify} messages. * @param message HandshakeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IHandshakeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HandshakeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HandshakeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HandshakeMessage; /** * Decodes a HandshakeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HandshakeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HandshakeMessage; /** * Verifies a HandshakeMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HandshakeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HandshakeMessage */ public static fromObject(object: { [k: string]: any }): waproto.HandshakeMessage; /** * Creates a plain object from a HandshakeMessage message. Also converts values to other types if specified. * @param message HandshakeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HandshakeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HandshakeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HandshakeMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HandshakeMessage { /** HandshakePqMode enum. */ enum HandshakePqMode { HANDSHAKE_PQ_MODE_UNKNOWN = 0, XXKEM = 1, XXKEM_FS = 2, WA_CLASSICAL = 3, WA_PQ = 4, IKKEM = 5, IKKEM_FS = 6, XXKEM_2 = 7, IKKEM_2 = 8, XXKEM_EPH = 9 } /** Properties of a ClientFinish. */ interface IClientFinish { /** ClientFinish static */ "static"?: (Uint8Array|null); /** ClientFinish payload */ payload?: (Uint8Array|null); /** ClientFinish extendedCiphertext */ extendedCiphertext?: (Uint8Array|null); /** ClientFinish paddedBytes */ paddedBytes?: (Uint8Array|null); /** ClientFinish simulateXxkemFs */ simulateXxkemFs?: (boolean|null); } /** Represents a ClientFinish. */ class ClientFinish implements IClientFinish { /** * Constructs a new ClientFinish. * @param [properties] Properties to set */ constructor(properties?: waproto.HandshakeMessage.IClientFinish); /** ClientFinish static. */ public static?: (Uint8Array|null); /** ClientFinish payload. */ public payload?: (Uint8Array|null); /** ClientFinish extendedCiphertext. */ public extendedCiphertext?: (Uint8Array|null); /** ClientFinish paddedBytes. */ public paddedBytes?: (Uint8Array|null); /** ClientFinish simulateXxkemFs. */ public simulateXxkemFs?: (boolean|null); /** * Creates a new ClientFinish instance using the specified properties. * @param [properties] Properties to set * @returns ClientFinish instance */ public static create(properties?: waproto.HandshakeMessage.IClientFinish): waproto.HandshakeMessage.ClientFinish; /** * Encodes the specified ClientFinish message. Does not implicitly {@link waproto.HandshakeMessage.ClientFinish.verify|verify} messages. * @param message ClientFinish message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HandshakeMessage.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientFinish message, length delimited. Does not implicitly {@link waproto.HandshakeMessage.ClientFinish.verify|verify} messages. * @param message ClientFinish message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HandshakeMessage.IClientFinish, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientFinish message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientFinish * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HandshakeMessage.ClientFinish; /** * Decodes a ClientFinish message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientFinish * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HandshakeMessage.ClientFinish; /** * Verifies a ClientFinish message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientFinish message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientFinish */ public static fromObject(object: { [k: string]: any }): waproto.HandshakeMessage.ClientFinish; /** * Creates a plain object from a ClientFinish message. Also converts values to other types if specified. * @param message ClientFinish * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HandshakeMessage.ClientFinish, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientFinish to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientFinish * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServerHello. */ interface IServerHello { /** ServerHello ephemeral */ ephemeral?: (Uint8Array|null); /** ServerHello static */ "static"?: (Uint8Array|null); /** ServerHello payload */ payload?: (Uint8Array|null); /** ServerHello extendedStatic */ extendedStatic?: (Uint8Array|null); /** ServerHello paddingBytes */ paddingBytes?: (Uint8Array|null); /** ServerHello extendedCiphertext */ extendedCiphertext?: (Uint8Array|null); } /** Represents a ServerHello. */ class ServerHello implements IServerHello { /** * Constructs a new ServerHello. * @param [properties] Properties to set */ constructor(properties?: waproto.HandshakeMessage.IServerHello); /** ServerHello ephemeral. */ public ephemeral?: (Uint8Array|null); /** ServerHello static. */ public static?: (Uint8Array|null); /** ServerHello payload. */ public payload?: (Uint8Array|null); /** ServerHello extendedStatic. */ public extendedStatic?: (Uint8Array|null); /** ServerHello paddingBytes. */ public paddingBytes?: (Uint8Array|null); /** ServerHello extendedCiphertext. */ public extendedCiphertext?: (Uint8Array|null); /** * Creates a new ServerHello instance using the specified properties. * @param [properties] Properties to set * @returns ServerHello instance */ public static create(properties?: waproto.HandshakeMessage.IServerHello): waproto.HandshakeMessage.ServerHello; /** * Encodes the specified ServerHello message. Does not implicitly {@link waproto.HandshakeMessage.ServerHello.verify|verify} messages. * @param message ServerHello message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HandshakeMessage.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServerHello message, length delimited. Does not implicitly {@link waproto.HandshakeMessage.ServerHello.verify|verify} messages. * @param message ServerHello message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HandshakeMessage.IServerHello, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServerHello message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServerHello * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HandshakeMessage.ServerHello; /** * Decodes a ServerHello message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServerHello * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HandshakeMessage.ServerHello; /** * Verifies a ServerHello message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServerHello message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServerHello */ public static fromObject(object: { [k: string]: any }): waproto.HandshakeMessage.ServerHello; /** * Creates a plain object from a ServerHello message. Also converts values to other types if specified. * @param message ServerHello * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HandshakeMessage.ServerHello, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServerHello to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServerHello * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientHello. */ interface IClientHello { /** ClientHello ephemeral */ ephemeral?: (Uint8Array|null); /** ClientHello static */ "static"?: (Uint8Array|null); /** ClientHello payload */ payload?: (Uint8Array|null); /** ClientHello useExtended */ useExtended?: (boolean|null); /** ClientHello extendedCiphertext */ extendedCiphertext?: (Uint8Array|null); /** ClientHello paddedBytes */ paddedBytes?: (Uint8Array|null); /** ClientHello sendServerHelloPaddedBytes */ sendServerHelloPaddedBytes?: (boolean|null); /** ClientHello simulateXxkemFs */ simulateXxkemFs?: (boolean|null); /** ClientHello pqMode */ pqMode?: (waproto.HandshakeMessage.HandshakePqMode|null); /** ClientHello extendedEphemeral */ extendedEphemeral?: (Uint8Array|null); } /** Represents a ClientHello. */ class ClientHello implements IClientHello { /** * Constructs a new ClientHello. * @param [properties] Properties to set */ constructor(properties?: waproto.HandshakeMessage.IClientHello); /** ClientHello ephemeral. */ public ephemeral?: (Uint8Array|null); /** ClientHello static. */ public static?: (Uint8Array|null); /** ClientHello payload. */ public payload?: (Uint8Array|null); /** ClientHello useExtended. */ public useExtended?: (boolean|null); /** ClientHello extendedCiphertext. */ public extendedCiphertext?: (Uint8Array|null); /** ClientHello paddedBytes. */ public paddedBytes?: (Uint8Array|null); /** ClientHello sendServerHelloPaddedBytes. */ public sendServerHelloPaddedBytes?: (boolean|null); /** ClientHello simulateXxkemFs. */ public simulateXxkemFs?: (boolean|null); /** ClientHello pqMode. */ public pqMode?: (waproto.HandshakeMessage.HandshakePqMode|null); /** ClientHello extendedEphemeral. */ public extendedEphemeral?: (Uint8Array|null); /** * Creates a new ClientHello instance using the specified properties. * @param [properties] Properties to set * @returns ClientHello instance */ public static create(properties?: waproto.HandshakeMessage.IClientHello): waproto.HandshakeMessage.ClientHello; /** * Encodes the specified ClientHello message. Does not implicitly {@link waproto.HandshakeMessage.ClientHello.verify|verify} messages. * @param message ClientHello message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HandshakeMessage.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClientHello message, length delimited. Does not implicitly {@link waproto.HandshakeMessage.ClientHello.verify|verify} messages. * @param message ClientHello message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HandshakeMessage.IClientHello, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClientHello message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClientHello * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HandshakeMessage.ClientHello; /** * Decodes a ClientHello message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClientHello * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HandshakeMessage.ClientHello; /** * Verifies a ClientHello message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClientHello message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClientHello */ public static fromObject(object: { [k: string]: any }): waproto.HandshakeMessage.ClientHello; /** * Creates a plain object from a ClientHello message. Also converts values to other types if specified. * @param message ClientHello * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HandshakeMessage.ClientHello, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClientHello to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClientHello * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a HatchMetadataSync. */ interface IHatchMetadataSync { /** HatchMetadataSync data */ data?: (Uint8Array|null); /** HatchMetadataSync timestampMs */ timestampMs?: (number|Long|null); /** HatchMetadataSync requestId */ requestId?: (string|null); } /** Represents a HatchMetadataSync. */ class HatchMetadataSync implements IHatchMetadataSync { /** * Constructs a new HatchMetadataSync. * @param [properties] Properties to set */ constructor(properties?: waproto.IHatchMetadataSync); /** HatchMetadataSync data. */ public data?: (Uint8Array|null); /** HatchMetadataSync timestampMs. */ public timestampMs?: (number|Long|null); /** HatchMetadataSync requestId. */ public requestId?: (string|null); /** * Creates a new HatchMetadataSync instance using the specified properties. * @param [properties] Properties to set * @returns HatchMetadataSync instance */ public static create(properties?: waproto.IHatchMetadataSync): waproto.HatchMetadataSync; /** * Encodes the specified HatchMetadataSync message. Does not implicitly {@link waproto.HatchMetadataSync.verify|verify} messages. * @param message HatchMetadataSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IHatchMetadataSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HatchMetadataSync message, length delimited. Does not implicitly {@link waproto.HatchMetadataSync.verify|verify} messages. * @param message HatchMetadataSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IHatchMetadataSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HatchMetadataSync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HatchMetadataSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HatchMetadataSync; /** * Decodes a HatchMetadataSync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HatchMetadataSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HatchMetadataSync; /** * Verifies a HatchMetadataSync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HatchMetadataSync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HatchMetadataSync */ public static fromObject(object: { [k: string]: any }): waproto.HatchMetadataSync; /** * Creates a plain object from a HatchMetadataSync message. Also converts values to other types if specified. * @param message HatchMetadataSync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HatchMetadataSync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HatchMetadataSync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HatchMetadataSync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistorySync. */ interface IHistorySync { /** HistorySync syncType */ syncType?: (waproto.HistorySync.HistorySyncType|null); /** HistorySync conversations */ conversations?: (waproto.IConversation[]|null); /** HistorySync statusV3Messages */ statusV3Messages?: (waproto.IWebMessageInfo[]|null); /** HistorySync chunkOrder */ chunkOrder?: (number|null); /** HistorySync progress */ progress?: (number|null); /** HistorySync pushnames */ pushnames?: (waproto.IPushname[]|null); /** HistorySync globalSettings */ globalSettings?: (waproto.IGlobalSettings|null); /** HistorySync threadIdUserSecret */ threadIdUserSecret?: (Uint8Array|null); /** HistorySync threadDsTimeframeOffset */ threadDsTimeframeOffset?: (number|null); /** HistorySync recentStickers */ recentStickers?: (waproto.IStickerMetadata[]|null); /** HistorySync pastParticipants */ pastParticipants?: (waproto.IPastParticipants[]|null); /** HistorySync callLogRecords */ callLogRecords?: (waproto.ICallLogRecord[]|null); /** HistorySync aiWaitListState */ aiWaitListState?: (waproto.HistorySync.BotAIWaitListState|null); /** HistorySync phoneNumberToLidMappings */ phoneNumberToLidMappings?: (waproto.IPhoneNumberToLIDMapping[]|null); /** HistorySync companionMetaNonce */ companionMetaNonce?: (string|null); /** HistorySync shareableChatIdentifierEncryptionKey */ shareableChatIdentifierEncryptionKey?: (Uint8Array|null); /** HistorySync accounts */ accounts?: (waproto.IAccount[]|null); /** HistorySync nctSalt */ nctSalt?: (Uint8Array|null); /** HistorySync inlineContacts */ inlineContacts?: (waproto.IInlineContact[]|null); /** HistorySync inlineContactsProvided */ inlineContactsProvided?: (boolean|null); } /** Represents a HistorySync. */ class HistorySync implements IHistorySync { /** * Constructs a new HistorySync. * @param [properties] Properties to set */ constructor(properties?: waproto.IHistorySync); /** HistorySync syncType. */ public syncType?: (waproto.HistorySync.HistorySyncType|null); /** HistorySync conversations. */ public conversations: waproto.IConversation[]; /** HistorySync statusV3Messages. */ public statusV3Messages: waproto.IWebMessageInfo[]; /** HistorySync chunkOrder. */ public chunkOrder?: (number|null); /** HistorySync progress. */ public progress?: (number|null); /** HistorySync pushnames. */ public pushnames: waproto.IPushname[]; /** HistorySync globalSettings. */ public globalSettings?: (waproto.IGlobalSettings|null); /** HistorySync threadIdUserSecret. */ public threadIdUserSecret?: (Uint8Array|null); /** HistorySync threadDsTimeframeOffset. */ public threadDsTimeframeOffset?: (number|null); /** HistorySync recentStickers. */ public recentStickers: waproto.IStickerMetadata[]; /** HistorySync pastParticipants. */ public pastParticipants: waproto.IPastParticipants[]; /** HistorySync callLogRecords. */ public callLogRecords: waproto.ICallLogRecord[]; /** HistorySync aiWaitListState. */ public aiWaitListState?: (waproto.HistorySync.BotAIWaitListState|null); /** HistorySync phoneNumberToLidMappings. */ public phoneNumberToLidMappings: waproto.IPhoneNumberToLIDMapping[]; /** HistorySync companionMetaNonce. */ public companionMetaNonce?: (string|null); /** HistorySync shareableChatIdentifierEncryptionKey. */ public shareableChatIdentifierEncryptionKey?: (Uint8Array|null); /** HistorySync accounts. */ public accounts: waproto.IAccount[]; /** HistorySync nctSalt. */ public nctSalt?: (Uint8Array|null); /** HistorySync inlineContacts. */ public inlineContacts: waproto.IInlineContact[]; /** HistorySync inlineContactsProvided. */ public inlineContactsProvided?: (boolean|null); /** * Creates a new HistorySync instance using the specified properties. * @param [properties] Properties to set * @returns HistorySync instance */ public static create(properties?: waproto.IHistorySync): waproto.HistorySync; /** * Encodes the specified HistorySync message. Does not implicitly {@link waproto.HistorySync.verify|verify} messages. * @param message HistorySync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IHistorySync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySync message, length delimited. Does not implicitly {@link waproto.HistorySync.verify|verify} messages. * @param message HistorySync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IHistorySync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HistorySync; /** * Decodes a HistorySync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HistorySync; /** * Verifies a HistorySync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySync */ public static fromObject(object: { [k: string]: any }): waproto.HistorySync; /** * Creates a plain object from a HistorySync message. Also converts values to other types if specified. * @param message HistorySync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HistorySync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HistorySync { /** BotAIWaitListState enum. */ enum BotAIWaitListState { IN_WAITLIST = 0, AI_AVAILABLE = 1 } /** HistorySyncType enum. */ enum HistorySyncType { INITIAL_BOOTSTRAP = 0, INITIAL_STATUS_V3 = 1, FULL = 2, RECENT = 3, PUSH_NAME = 4, NON_BLOCKING_DATA = 5, ON_DEMAND = 6 } } /** Properties of a HistorySyncMsg. */ interface IHistorySyncMsg { /** HistorySyncMsg message */ message?: (waproto.IWebMessageInfo|null); /** HistorySyncMsg msgOrderId */ msgOrderId?: (number|Long|null); } /** Represents a HistorySyncMsg. */ class HistorySyncMsg implements IHistorySyncMsg { /** * Constructs a new HistorySyncMsg. * @param [properties] Properties to set */ constructor(properties?: waproto.IHistorySyncMsg); /** HistorySyncMsg message. */ public message?: (waproto.IWebMessageInfo|null); /** HistorySyncMsg msgOrderId. */ public msgOrderId?: (number|Long|null); /** * Creates a new HistorySyncMsg instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncMsg instance */ public static create(properties?: waproto.IHistorySyncMsg): waproto.HistorySyncMsg; /** * Encodes the specified HistorySyncMsg message. Does not implicitly {@link waproto.HistorySyncMsg.verify|verify} messages. * @param message HistorySyncMsg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncMsg message, length delimited. Does not implicitly {@link waproto.HistorySyncMsg.verify|verify} messages. * @param message HistorySyncMsg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IHistorySyncMsg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncMsg message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncMsg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HistorySyncMsg; /** * Decodes a HistorySyncMsg message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncMsg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HistorySyncMsg; /** * Verifies a HistorySyncMsg message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncMsg message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncMsg */ public static fromObject(object: { [k: string]: any }): waproto.HistorySyncMsg; /** * Creates a plain object from a HistorySyncMsg message. Also converts values to other types if specified. * @param message HistorySyncMsg * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HistorySyncMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncMsg to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncMsg * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HydratedTemplateButton. */ interface IHydratedTemplateButton { /** HydratedTemplateButton index */ index?: (number|null); /** HydratedTemplateButton quickReplyButton */ quickReplyButton?: (waproto.HydratedTemplateButton.IHydratedQuickReplyButton|null); /** HydratedTemplateButton urlButton */ urlButton?: (waproto.HydratedTemplateButton.IHydratedURLButton|null); /** HydratedTemplateButton callButton */ callButton?: (waproto.HydratedTemplateButton.IHydratedCallButton|null); } /** Represents a HydratedTemplateButton. */ class HydratedTemplateButton implements IHydratedTemplateButton { /** * Constructs a new HydratedTemplateButton. * @param [properties] Properties to set */ constructor(properties?: waproto.IHydratedTemplateButton); /** HydratedTemplateButton index. */ public index?: (number|null); /** HydratedTemplateButton quickReplyButton. */ public quickReplyButton?: (waproto.HydratedTemplateButton.IHydratedQuickReplyButton|null); /** HydratedTemplateButton urlButton. */ public urlButton?: (waproto.HydratedTemplateButton.IHydratedURLButton|null); /** HydratedTemplateButton callButton. */ public callButton?: (waproto.HydratedTemplateButton.IHydratedCallButton|null); /** HydratedTemplateButton hydratedButton. */ public hydratedButton?: ("quickReplyButton"|"urlButton"|"callButton"); /** * Creates a new HydratedTemplateButton instance using the specified properties. * @param [properties] Properties to set * @returns HydratedTemplateButton instance */ public static create(properties?: waproto.IHydratedTemplateButton): waproto.HydratedTemplateButton; /** * Encodes the specified HydratedTemplateButton message. Does not implicitly {@link waproto.HydratedTemplateButton.verify|verify} messages. * @param message HydratedTemplateButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HydratedTemplateButton message, length delimited. Does not implicitly {@link waproto.HydratedTemplateButton.verify|verify} messages. * @param message HydratedTemplateButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IHydratedTemplateButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HydratedTemplateButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HydratedTemplateButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HydratedTemplateButton; /** * Decodes a HydratedTemplateButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HydratedTemplateButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HydratedTemplateButton; /** * Verifies a HydratedTemplateButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HydratedTemplateButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HydratedTemplateButton */ public static fromObject(object: { [k: string]: any }): waproto.HydratedTemplateButton; /** * Creates a plain object from a HydratedTemplateButton message. Also converts values to other types if specified. * @param message HydratedTemplateButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HydratedTemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HydratedTemplateButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HydratedTemplateButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HydratedTemplateButton { /** Properties of a HydratedCallButton. */ interface IHydratedCallButton { /** HydratedCallButton displayText */ displayText?: (string|null); /** HydratedCallButton phoneNumber */ phoneNumber?: (string|null); } /** Represents a HydratedCallButton. */ class HydratedCallButton implements IHydratedCallButton { /** * Constructs a new HydratedCallButton. * @param [properties] Properties to set */ constructor(properties?: waproto.HydratedTemplateButton.IHydratedCallButton); /** HydratedCallButton displayText. */ public displayText?: (string|null); /** HydratedCallButton phoneNumber. */ public phoneNumber?: (string|null); /** * Creates a new HydratedCallButton instance using the specified properties. * @param [properties] Properties to set * @returns HydratedCallButton instance */ public static create(properties?: waproto.HydratedTemplateButton.IHydratedCallButton): waproto.HydratedTemplateButton.HydratedCallButton; /** * Encodes the specified HydratedCallButton message. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedCallButton.verify|verify} messages. * @param message HydratedCallButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HydratedTemplateButton.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HydratedCallButton message, length delimited. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedCallButton.verify|verify} messages. * @param message HydratedCallButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HydratedTemplateButton.IHydratedCallButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HydratedCallButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HydratedCallButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HydratedTemplateButton.HydratedCallButton; /** * Decodes a HydratedCallButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HydratedCallButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HydratedTemplateButton.HydratedCallButton; /** * Verifies a HydratedCallButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HydratedCallButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HydratedCallButton */ public static fromObject(object: { [k: string]: any }): waproto.HydratedTemplateButton.HydratedCallButton; /** * Creates a plain object from a HydratedCallButton message. Also converts values to other types if specified. * @param message HydratedCallButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HydratedTemplateButton.HydratedCallButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HydratedCallButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HydratedCallButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HydratedURLButton. */ interface IHydratedURLButton { /** HydratedURLButton displayText */ displayText?: (string|null); /** HydratedURLButton url */ url?: (string|null); /** HydratedURLButton consentedUsersUrl */ consentedUsersUrl?: (string|null); /** HydratedURLButton webviewPresentation */ webviewPresentation?: (waproto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType|null); } /** Represents a HydratedURLButton. */ class HydratedURLButton implements IHydratedURLButton { /** * Constructs a new HydratedURLButton. * @param [properties] Properties to set */ constructor(properties?: waproto.HydratedTemplateButton.IHydratedURLButton); /** HydratedURLButton displayText. */ public displayText?: (string|null); /** HydratedURLButton url. */ public url?: (string|null); /** HydratedURLButton consentedUsersUrl. */ public consentedUsersUrl?: (string|null); /** HydratedURLButton webviewPresentation. */ public webviewPresentation?: (waproto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType|null); /** * Creates a new HydratedURLButton instance using the specified properties. * @param [properties] Properties to set * @returns HydratedURLButton instance */ public static create(properties?: waproto.HydratedTemplateButton.IHydratedURLButton): waproto.HydratedTemplateButton.HydratedURLButton; /** * Encodes the specified HydratedURLButton message. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedURLButton.verify|verify} messages. * @param message HydratedURLButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HydratedTemplateButton.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HydratedURLButton message, length delimited. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedURLButton.verify|verify} messages. * @param message HydratedURLButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HydratedTemplateButton.IHydratedURLButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HydratedURLButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HydratedURLButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HydratedTemplateButton.HydratedURLButton; /** * Decodes a HydratedURLButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HydratedURLButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HydratedTemplateButton.HydratedURLButton; /** * Verifies a HydratedURLButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HydratedURLButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HydratedURLButton */ public static fromObject(object: { [k: string]: any }): waproto.HydratedTemplateButton.HydratedURLButton; /** * Creates a plain object from a HydratedURLButton message. Also converts values to other types if specified. * @param message HydratedURLButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HydratedTemplateButton.HydratedURLButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HydratedURLButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HydratedURLButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HydratedURLButton { /** WebviewPresentationType enum. */ enum WebviewPresentationType { FULL = 1, TALL = 2, COMPACT = 3 } } /** Properties of a HydratedQuickReplyButton. */ interface IHydratedQuickReplyButton { /** HydratedQuickReplyButton displayText */ displayText?: (string|null); /** HydratedQuickReplyButton id */ id?: (string|null); } /** Represents a HydratedQuickReplyButton. */ class HydratedQuickReplyButton implements IHydratedQuickReplyButton { /** * Constructs a new HydratedQuickReplyButton. * @param [properties] Properties to set */ constructor(properties?: waproto.HydratedTemplateButton.IHydratedQuickReplyButton); /** HydratedQuickReplyButton displayText. */ public displayText?: (string|null); /** HydratedQuickReplyButton id. */ public id?: (string|null); /** * Creates a new HydratedQuickReplyButton instance using the specified properties. * @param [properties] Properties to set * @returns HydratedQuickReplyButton instance */ public static create(properties?: waproto.HydratedTemplateButton.IHydratedQuickReplyButton): waproto.HydratedTemplateButton.HydratedQuickReplyButton; /** * Encodes the specified HydratedQuickReplyButton message. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedQuickReplyButton.verify|verify} messages. * @param message HydratedQuickReplyButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.HydratedTemplateButton.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HydratedQuickReplyButton message, length delimited. Does not implicitly {@link waproto.HydratedTemplateButton.HydratedQuickReplyButton.verify|verify} messages. * @param message HydratedQuickReplyButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.HydratedTemplateButton.IHydratedQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HydratedQuickReplyButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HydratedQuickReplyButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.HydratedTemplateButton.HydratedQuickReplyButton; /** * Decodes a HydratedQuickReplyButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HydratedQuickReplyButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.HydratedTemplateButton.HydratedQuickReplyButton; /** * Verifies a HydratedQuickReplyButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HydratedQuickReplyButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HydratedQuickReplyButton */ public static fromObject(object: { [k: string]: any }): waproto.HydratedTemplateButton.HydratedQuickReplyButton; /** * Creates a plain object from a HydratedQuickReplyButton message. Also converts values to other types if specified. * @param message HydratedQuickReplyButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.HydratedTemplateButton.HydratedQuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HydratedQuickReplyButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HydratedQuickReplyButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an IdentitiesPerDeviceProto. */ interface IIdentitiesPerDeviceProto { /** IdentitiesPerDeviceProto deviceJid */ deviceJid?: (string|null); /** IdentitiesPerDeviceProto serializedPubKey */ serializedPubKey?: (Uint8Array|null); /** IdentitiesPerDeviceProto baseKey */ baseKey?: (Uint8Array|null); } /** Represents an IdentitiesPerDeviceProto. */ class IdentitiesPerDeviceProto implements IIdentitiesPerDeviceProto { /** * Constructs a new IdentitiesPerDeviceProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IIdentitiesPerDeviceProto); /** IdentitiesPerDeviceProto deviceJid. */ public deviceJid?: (string|null); /** IdentitiesPerDeviceProto serializedPubKey. */ public serializedPubKey?: (Uint8Array|null); /** IdentitiesPerDeviceProto baseKey. */ public baseKey?: (Uint8Array|null); /** * Creates a new IdentitiesPerDeviceProto instance using the specified properties. * @param [properties] Properties to set * @returns IdentitiesPerDeviceProto instance */ public static create(properties?: waproto.IIdentitiesPerDeviceProto): waproto.IdentitiesPerDeviceProto; /** * Encodes the specified IdentitiesPerDeviceProto message. Does not implicitly {@link waproto.IdentitiesPerDeviceProto.verify|verify} messages. * @param message IdentitiesPerDeviceProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IIdentitiesPerDeviceProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IdentitiesPerDeviceProto message, length delimited. Does not implicitly {@link waproto.IdentitiesPerDeviceProto.verify|verify} messages. * @param message IdentitiesPerDeviceProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IIdentitiesPerDeviceProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IdentitiesPerDeviceProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IdentitiesPerDeviceProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.IdentitiesPerDeviceProto; /** * Decodes an IdentitiesPerDeviceProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IdentitiesPerDeviceProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.IdentitiesPerDeviceProto; /** * Verifies an IdentitiesPerDeviceProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IdentitiesPerDeviceProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IdentitiesPerDeviceProto */ public static fromObject(object: { [k: string]: any }): waproto.IdentitiesPerDeviceProto; /** * Creates a plain object from an IdentitiesPerDeviceProto message. Also converts values to other types if specified. * @param message IdentitiesPerDeviceProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.IdentitiesPerDeviceProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IdentitiesPerDeviceProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IdentitiesPerDeviceProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IdentityKeyPairStructure. */ interface IIdentityKeyPairStructure { /** IdentityKeyPairStructure publicKey */ publicKey?: (Uint8Array|null); /** IdentityKeyPairStructure privateKey */ privateKey?: (Uint8Array|null); } /** Represents an IdentityKeyPairStructure. */ class IdentityKeyPairStructure implements IIdentityKeyPairStructure { /** * Constructs a new IdentityKeyPairStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.IIdentityKeyPairStructure); /** IdentityKeyPairStructure publicKey. */ public publicKey?: (Uint8Array|null); /** IdentityKeyPairStructure privateKey. */ public privateKey?: (Uint8Array|null); /** * Creates a new IdentityKeyPairStructure instance using the specified properties. * @param [properties] Properties to set * @returns IdentityKeyPairStructure instance */ public static create(properties?: waproto.IIdentityKeyPairStructure): waproto.IdentityKeyPairStructure; /** * Encodes the specified IdentityKeyPairStructure message. Does not implicitly {@link waproto.IdentityKeyPairStructure.verify|verify} messages. * @param message IdentityKeyPairStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IIdentityKeyPairStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IdentityKeyPairStructure message, length delimited. Does not implicitly {@link waproto.IdentityKeyPairStructure.verify|verify} messages. * @param message IdentityKeyPairStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IIdentityKeyPairStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IdentityKeyPairStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IdentityKeyPairStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.IdentityKeyPairStructure; /** * Decodes an IdentityKeyPairStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IdentityKeyPairStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.IdentityKeyPairStructure; /** * Verifies an IdentityKeyPairStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IdentityKeyPairStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IdentityKeyPairStructure */ public static fromObject(object: { [k: string]: any }): waproto.IdentityKeyPairStructure; /** * Creates a plain object from an IdentityKeyPairStructure message. Also converts values to other types if specified. * @param message IdentityKeyPairStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.IdentityKeyPairStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IdentityKeyPairStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IdentityKeyPairStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IdentityVerificationState. */ interface IIdentityVerificationState { /** IdentityVerificationState verified */ verified?: (boolean|null); /** IdentityVerificationState actionSeq */ actionSeq?: (number|Long|null); } /** Represents an IdentityVerificationState. */ class IdentityVerificationState implements IIdentityVerificationState { /** * Constructs a new IdentityVerificationState. * @param [properties] Properties to set */ constructor(properties?: waproto.IIdentityVerificationState); /** IdentityVerificationState verified. */ public verified?: (boolean|null); /** IdentityVerificationState actionSeq. */ public actionSeq?: (number|Long|null); /** * Creates a new IdentityVerificationState instance using the specified properties. * @param [properties] Properties to set * @returns IdentityVerificationState instance */ public static create(properties?: waproto.IIdentityVerificationState): waproto.IdentityVerificationState; /** * Encodes the specified IdentityVerificationState message. Does not implicitly {@link waproto.IdentityVerificationState.verify|verify} messages. * @param message IdentityVerificationState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IIdentityVerificationState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IdentityVerificationState message, length delimited. Does not implicitly {@link waproto.IdentityVerificationState.verify|verify} messages. * @param message IdentityVerificationState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IIdentityVerificationState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IdentityVerificationState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IdentityVerificationState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.IdentityVerificationState; /** * Decodes an IdentityVerificationState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IdentityVerificationState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.IdentityVerificationState; /** * Verifies an IdentityVerificationState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IdentityVerificationState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IdentityVerificationState */ public static fromObject(object: { [k: string]: any }): waproto.IdentityVerificationState; /** * Creates a plain object from an IdentityVerificationState message. Also converts values to other types if specified. * @param message IdentityVerificationState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.IdentityVerificationState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IdentityVerificationState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IdentityVerificationState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImageMsgContentProto. */ interface IImageMsgContentProto { /** ImageMsgContentProto width */ width?: (number|null); /** ImageMsgContentProto height */ height?: (number|null); /** ImageMsgContentProto jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** ImageMsgContentProto jpegThumbnailHeight */ jpegThumbnailHeight?: (number|null); /** ImageMsgContentProto jpegThumbnailWidth */ jpegThumbnailWidth?: (number|null); /** ImageMsgContentProto thumbnailPlaintextHash */ thumbnailPlaintextHash?: (string|null); /** ImageMsgContentProto hdType */ hdType?: (waproto.HD_TYPE|null); } /** Represents an ImageMsgContentProto. */ class ImageMsgContentProto implements IImageMsgContentProto { /** * Constructs a new ImageMsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IImageMsgContentProto); /** ImageMsgContentProto width. */ public width?: (number|null); /** ImageMsgContentProto height. */ public height?: (number|null); /** ImageMsgContentProto jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** ImageMsgContentProto jpegThumbnailHeight. */ public jpegThumbnailHeight?: (number|null); /** ImageMsgContentProto jpegThumbnailWidth. */ public jpegThumbnailWidth?: (number|null); /** ImageMsgContentProto thumbnailPlaintextHash. */ public thumbnailPlaintextHash?: (string|null); /** ImageMsgContentProto hdType. */ public hdType?: (waproto.HD_TYPE|null); /** * Creates a new ImageMsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns ImageMsgContentProto instance */ public static create(properties?: waproto.IImageMsgContentProto): waproto.ImageMsgContentProto; /** * Encodes the specified ImageMsgContentProto message. Does not implicitly {@link waproto.ImageMsgContentProto.verify|verify} messages. * @param message ImageMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IImageMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImageMsgContentProto message, length delimited. Does not implicitly {@link waproto.ImageMsgContentProto.verify|verify} messages. * @param message ImageMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IImageMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImageMsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImageMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ImageMsgContentProto; /** * Decodes an ImageMsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImageMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ImageMsgContentProto; /** * Verifies an ImageMsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImageMsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImageMsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.ImageMsgContentProto; /** * Creates a plain object from an ImageMsgContentProto message. Also converts values to other types if specified. * @param message ImageMsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ImageMsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImageMsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ImageMsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ImageTransport. */ interface IImageTransport { /** ImageTransport integral */ integral?: (waproto.ImageTransport.IIntegral|null); /** ImageTransport ancillary */ ancillary?: (waproto.ImageTransport.IAncillary|null); } /** Represents an ImageTransport. */ class ImageTransport implements IImageTransport { /** * Constructs a new ImageTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IImageTransport); /** ImageTransport integral. */ public integral?: (waproto.ImageTransport.IIntegral|null); /** ImageTransport ancillary. */ public ancillary?: (waproto.ImageTransport.IAncillary|null); /** * Creates a new ImageTransport instance using the specified properties. * @param [properties] Properties to set * @returns ImageTransport instance */ public static create(properties?: waproto.IImageTransport): waproto.ImageTransport; /** * Encodes the specified ImageTransport message. Does not implicitly {@link waproto.ImageTransport.verify|verify} messages. * @param message ImageTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IImageTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImageTransport message, length delimited. Does not implicitly {@link waproto.ImageTransport.verify|verify} messages. * @param message ImageTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IImageTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImageTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImageTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ImageTransport; /** * Decodes an ImageTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImageTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ImageTransport; /** * Verifies an ImageTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImageTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImageTransport */ public static fromObject(object: { [k: string]: any }): waproto.ImageTransport; /** * Creates a plain object from an ImageTransport message. Also converts values to other types if specified. * @param message ImageTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ImageTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImageTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ImageTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ImageTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary height */ height?: (number|null); /** Ancillary width */ width?: (number|null); /** Ancillary scansSidecar */ scansSidecar?: (Uint8Array|null); /** Ancillary scanLengths */ scanLengths?: (number[]|null); /** Ancillary midQualityFileSha256 */ midQualityFileSha256?: (Uint8Array|null); /** Ancillary hdType */ hdType?: (waproto.IMAGE_TRANSPORT_ANCILLARY_HD_TYPE|null); /** Ancillary memoriesConceptScores */ memoriesConceptScores?: (number[]|null); /** Ancillary memoriesConceptIds */ memoriesConceptIds?: (number[]|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.ImageTransport.IAncillary); /** Ancillary height. */ public height?: (number|null); /** Ancillary width. */ public width?: (number|null); /** Ancillary scansSidecar. */ public scansSidecar?: (Uint8Array|null); /** Ancillary scanLengths. */ public scanLengths: number[]; /** Ancillary midQualityFileSha256. */ public midQualityFileSha256?: (Uint8Array|null); /** Ancillary hdType. */ public hdType?: (waproto.IMAGE_TRANSPORT_ANCILLARY_HD_TYPE|null); /** Ancillary memoriesConceptScores. */ public memoriesConceptScores: number[]; /** Ancillary memoriesConceptIds. */ public memoriesConceptIds: number[]; /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.ImageTransport.IAncillary): waproto.ImageTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.ImageTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ImageTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.ImageTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ImageTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ImageTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ImageTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.ImageTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ImageTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Integral. */ interface IIntegral { /** Integral transport */ transport?: (waproto.IWAMediaTransport|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.ImageTransport.IIntegral); /** Integral transport. */ public transport?: (waproto.IWAMediaTransport|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.ImageTransport.IIntegral): waproto.ImageTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.ImageTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ImageTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.ImageTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ImageTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ImageTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ImageTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.ImageTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ImageTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an InThreadSurveyMetadata. */ interface IInThreadSurveyMetadata { /** InThreadSurveyMetadata tessaSessionId */ tessaSessionId?: (string|null); /** InThreadSurveyMetadata simonSessionId */ simonSessionId?: (string|null); /** InThreadSurveyMetadata simonSurveyId */ simonSurveyId?: (string|null); /** InThreadSurveyMetadata tessaRootId */ tessaRootId?: (string|null); /** InThreadSurveyMetadata requestId */ requestId?: (string|null); /** InThreadSurveyMetadata tessaEvent */ tessaEvent?: (string|null); /** InThreadSurveyMetadata invitationHeaderText */ invitationHeaderText?: (string|null); /** InThreadSurveyMetadata invitationBodyText */ invitationBodyText?: (string|null); /** InThreadSurveyMetadata invitationCtaText */ invitationCtaText?: (string|null); /** InThreadSurveyMetadata invitationCtaUrl */ invitationCtaUrl?: (string|null); /** InThreadSurveyMetadata surveyTitle */ surveyTitle?: (string|null); /** InThreadSurveyMetadata questions */ questions?: (waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion[]|null); /** InThreadSurveyMetadata surveyContinueButtonText */ surveyContinueButtonText?: (string|null); /** InThreadSurveyMetadata surveySubmitButtonText */ surveySubmitButtonText?: (string|null); /** InThreadSurveyMetadata privacyStatementFull */ privacyStatementFull?: (string|null); /** InThreadSurveyMetadata privacyStatementParts */ privacyStatementParts?: (waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[]|null); /** InThreadSurveyMetadata feedbackToastText */ feedbackToastText?: (string|null); /** InThreadSurveyMetadata startQuestionIndex */ startQuestionIndex?: (number|null); } /** Represents an InThreadSurveyMetadata. */ class InThreadSurveyMetadata implements IInThreadSurveyMetadata { /** * Constructs a new InThreadSurveyMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IInThreadSurveyMetadata); /** InThreadSurveyMetadata tessaSessionId. */ public tessaSessionId?: (string|null); /** InThreadSurveyMetadata simonSessionId. */ public simonSessionId?: (string|null); /** InThreadSurveyMetadata simonSurveyId. */ public simonSurveyId?: (string|null); /** InThreadSurveyMetadata tessaRootId. */ public tessaRootId?: (string|null); /** InThreadSurveyMetadata requestId. */ public requestId?: (string|null); /** InThreadSurveyMetadata tessaEvent. */ public tessaEvent?: (string|null); /** InThreadSurveyMetadata invitationHeaderText. */ public invitationHeaderText?: (string|null); /** InThreadSurveyMetadata invitationBodyText. */ public invitationBodyText?: (string|null); /** InThreadSurveyMetadata invitationCtaText. */ public invitationCtaText?: (string|null); /** InThreadSurveyMetadata invitationCtaUrl. */ public invitationCtaUrl?: (string|null); /** InThreadSurveyMetadata surveyTitle. */ public surveyTitle?: (string|null); /** InThreadSurveyMetadata questions. */ public questions: waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion[]; /** InThreadSurveyMetadata surveyContinueButtonText. */ public surveyContinueButtonText?: (string|null); /** InThreadSurveyMetadata surveySubmitButtonText. */ public surveySubmitButtonText?: (string|null); /** InThreadSurveyMetadata privacyStatementFull. */ public privacyStatementFull?: (string|null); /** InThreadSurveyMetadata privacyStatementParts. */ public privacyStatementParts: waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[]; /** InThreadSurveyMetadata feedbackToastText. */ public feedbackToastText?: (string|null); /** InThreadSurveyMetadata startQuestionIndex. */ public startQuestionIndex?: (number|null); /** * Creates a new InThreadSurveyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns InThreadSurveyMetadata instance */ public static create(properties?: waproto.IInThreadSurveyMetadata): waproto.InThreadSurveyMetadata; /** * Encodes the specified InThreadSurveyMetadata message. Does not implicitly {@link waproto.InThreadSurveyMetadata.verify|verify} messages. * @param message InThreadSurveyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InThreadSurveyMetadata message, length delimited. Does not implicitly {@link waproto.InThreadSurveyMetadata.verify|verify} messages. * @param message InThreadSurveyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InThreadSurveyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InThreadSurveyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InThreadSurveyMetadata; /** * Decodes an InThreadSurveyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InThreadSurveyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InThreadSurveyMetadata; /** * Verifies an InThreadSurveyMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InThreadSurveyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InThreadSurveyMetadata */ public static fromObject(object: { [k: string]: any }): waproto.InThreadSurveyMetadata; /** * Creates a plain object from an InThreadSurveyMetadata message. Also converts values to other types if specified. * @param message InThreadSurveyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InThreadSurveyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InThreadSurveyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InThreadSurveyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InThreadSurveyMetadata { /** Properties of an InThreadSurveyPrivacyStatementPart. */ interface IInThreadSurveyPrivacyStatementPart { /** InThreadSurveyPrivacyStatementPart text */ text?: (string|null); /** InThreadSurveyPrivacyStatementPart url */ url?: (string|null); } /** Represents an InThreadSurveyPrivacyStatementPart. */ class InThreadSurveyPrivacyStatementPart implements IInThreadSurveyPrivacyStatementPart { /** * Constructs a new InThreadSurveyPrivacyStatementPart. * @param [properties] Properties to set */ constructor(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart); /** InThreadSurveyPrivacyStatementPart text. */ public text?: (string|null); /** InThreadSurveyPrivacyStatementPart url. */ public url?: (string|null); /** * Creates a new InThreadSurveyPrivacyStatementPart instance using the specified properties. * @param [properties] Properties to set * @returns InThreadSurveyPrivacyStatementPart instance */ public static create(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart): waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart; /** * Encodes the specified InThreadSurveyPrivacyStatementPart message. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages. * @param message InThreadSurveyPrivacyStatementPart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InThreadSurveyPrivacyStatementPart message, length delimited. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages. * @param message InThreadSurveyPrivacyStatementPart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InThreadSurveyPrivacyStatementPart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart; /** * Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InThreadSurveyPrivacyStatementPart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart; /** * Verifies an InThreadSurveyPrivacyStatementPart message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InThreadSurveyPrivacyStatementPart message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InThreadSurveyPrivacyStatementPart */ public static fromObject(object: { [k: string]: any }): waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart; /** * Creates a plain object from an InThreadSurveyPrivacyStatementPart message. Also converts values to other types if specified. * @param message InThreadSurveyPrivacyStatementPart * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InThreadSurveyPrivacyStatementPart to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InThreadSurveyPrivacyStatementPart * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InThreadSurveyOption. */ interface IInThreadSurveyOption { /** InThreadSurveyOption stringValue */ stringValue?: (string|null); /** InThreadSurveyOption numericValue */ numericValue?: (number|null); /** InThreadSurveyOption textTranslated */ textTranslated?: (string|null); } /** Represents an InThreadSurveyOption. */ class InThreadSurveyOption implements IInThreadSurveyOption { /** * Constructs a new InThreadSurveyOption. * @param [properties] Properties to set */ constructor(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyOption); /** InThreadSurveyOption stringValue. */ public stringValue?: (string|null); /** InThreadSurveyOption numericValue. */ public numericValue?: (number|null); /** InThreadSurveyOption textTranslated. */ public textTranslated?: (string|null); /** * Creates a new InThreadSurveyOption instance using the specified properties. * @param [properties] Properties to set * @returns InThreadSurveyOption instance */ public static create(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyOption): waproto.InThreadSurveyMetadata.InThreadSurveyOption; /** * Encodes the specified InThreadSurveyOption message. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages. * @param message InThreadSurveyOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InThreadSurveyOption message, length delimited. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages. * @param message InThreadSurveyOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InThreadSurveyOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InThreadSurveyOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InThreadSurveyMetadata.InThreadSurveyOption; /** * Decodes an InThreadSurveyOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InThreadSurveyOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InThreadSurveyMetadata.InThreadSurveyOption; /** * Verifies an InThreadSurveyOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InThreadSurveyOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InThreadSurveyOption */ public static fromObject(object: { [k: string]: any }): waproto.InThreadSurveyMetadata.InThreadSurveyOption; /** * Creates a plain object from an InThreadSurveyOption message. Also converts values to other types if specified. * @param message InThreadSurveyOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InThreadSurveyMetadata.InThreadSurveyOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InThreadSurveyOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InThreadSurveyOption * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InThreadSurveyQuestion. */ interface IInThreadSurveyQuestion { /** InThreadSurveyQuestion questionText */ questionText?: (string|null); /** InThreadSurveyQuestion questionId */ questionId?: (string|null); /** InThreadSurveyQuestion questionOptions */ questionOptions?: (waproto.InThreadSurveyMetadata.IInThreadSurveyOption[]|null); } /** Represents an InThreadSurveyQuestion. */ class InThreadSurveyQuestion implements IInThreadSurveyQuestion { /** * Constructs a new InThreadSurveyQuestion. * @param [properties] Properties to set */ constructor(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion); /** InThreadSurveyQuestion questionText. */ public questionText?: (string|null); /** InThreadSurveyQuestion questionId. */ public questionId?: (string|null); /** InThreadSurveyQuestion questionOptions. */ public questionOptions: waproto.InThreadSurveyMetadata.IInThreadSurveyOption[]; /** * Creates a new InThreadSurveyQuestion instance using the specified properties. * @param [properties] Properties to set * @returns InThreadSurveyQuestion instance */ public static create(properties?: waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion): waproto.InThreadSurveyMetadata.InThreadSurveyQuestion; /** * Encodes the specified InThreadSurveyQuestion message. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages. * @param message InThreadSurveyQuestion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InThreadSurveyQuestion message, length delimited. Does not implicitly {@link waproto.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages. * @param message InThreadSurveyQuestion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InThreadSurveyQuestion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InThreadSurveyQuestion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InThreadSurveyMetadata.InThreadSurveyQuestion; /** * Decodes an InThreadSurveyQuestion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InThreadSurveyQuestion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InThreadSurveyMetadata.InThreadSurveyQuestion; /** * Verifies an InThreadSurveyQuestion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InThreadSurveyQuestion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InThreadSurveyQuestion */ public static fromObject(object: { [k: string]: any }): waproto.InThreadSurveyMetadata.InThreadSurveyQuestion; /** * Creates a plain object from an InThreadSurveyQuestion message. Also converts values to other types if specified. * @param message InThreadSurveyQuestion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InThreadSurveyMetadata.InThreadSurveyQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InThreadSurveyQuestion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InThreadSurveyQuestion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an InlineContact. */ interface IInlineContact { /** InlineContact pnJid */ pnJid?: (string|null); /** InlineContact lidJid */ lidJid?: (string|null); /** InlineContact fullName */ fullName?: (string|null); /** InlineContact firstName */ firstName?: (string|null); /** InlineContact username */ username?: (string|null); } /** Represents an InlineContact. */ class InlineContact implements IInlineContact { /** * Constructs a new InlineContact. * @param [properties] Properties to set */ constructor(properties?: waproto.IInlineContact); /** InlineContact pnJid. */ public pnJid?: (string|null); /** InlineContact lidJid. */ public lidJid?: (string|null); /** InlineContact fullName. */ public fullName?: (string|null); /** InlineContact firstName. */ public firstName?: (string|null); /** InlineContact username. */ public username?: (string|null); /** * Creates a new InlineContact instance using the specified properties. * @param [properties] Properties to set * @returns InlineContact instance */ public static create(properties?: waproto.IInlineContact): waproto.InlineContact; /** * Encodes the specified InlineContact message. Does not implicitly {@link waproto.InlineContact.verify|verify} messages. * @param message InlineContact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IInlineContact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InlineContact message, length delimited. Does not implicitly {@link waproto.InlineContact.verify|verify} messages. * @param message InlineContact message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IInlineContact, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InlineContact message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InlineContact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InlineContact; /** * Decodes an InlineContact message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InlineContact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InlineContact; /** * Verifies an InlineContact message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InlineContact message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InlineContact */ public static fromObject(object: { [k: string]: any }): waproto.InlineContact; /** * Creates a plain object from an InlineContact message. Also converts values to other types if specified. * @param message InlineContact * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InlineContact, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InlineContact to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InlineContact * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InteractiveAnnotation. */ interface IInteractiveAnnotation { /** InteractiveAnnotation polygonVertices */ polygonVertices?: (waproto.IPoint[]|null); /** InteractiveAnnotation shouldSkipConfirmation */ shouldSkipConfirmation?: (boolean|null); /** InteractiveAnnotation embeddedContent */ embeddedContent?: (waproto.IEmbeddedContent|null); /** InteractiveAnnotation statusLinkType */ statusLinkType?: (waproto.InteractiveAnnotation.StatusLinkType|null); /** InteractiveAnnotation location */ location?: (waproto.ILocation|null); /** InteractiveAnnotation newsletter */ newsletter?: (waproto.ContextInfo.IForwardedNewsletterMessageInfo|null); /** InteractiveAnnotation embeddedAction */ embeddedAction?: (boolean|null); /** InteractiveAnnotation tapAction */ tapAction?: (waproto.ITapLinkAction|null); } /** Represents an InteractiveAnnotation. */ class InteractiveAnnotation implements IInteractiveAnnotation { /** * Constructs a new InteractiveAnnotation. * @param [properties] Properties to set */ constructor(properties?: waproto.IInteractiveAnnotation); /** InteractiveAnnotation polygonVertices. */ public polygonVertices: waproto.IPoint[]; /** InteractiveAnnotation shouldSkipConfirmation. */ public shouldSkipConfirmation?: (boolean|null); /** InteractiveAnnotation embeddedContent. */ public embeddedContent?: (waproto.IEmbeddedContent|null); /** InteractiveAnnotation statusLinkType. */ public statusLinkType?: (waproto.InteractiveAnnotation.StatusLinkType|null); /** InteractiveAnnotation location. */ public location?: (waproto.ILocation|null); /** InteractiveAnnotation newsletter. */ public newsletter?: (waproto.ContextInfo.IForwardedNewsletterMessageInfo|null); /** InteractiveAnnotation embeddedAction. */ public embeddedAction?: (boolean|null); /** InteractiveAnnotation tapAction. */ public tapAction?: (waproto.ITapLinkAction|null); /** InteractiveAnnotation action. */ public action?: ("location"|"newsletter"|"embeddedAction"|"tapAction"); /** * Creates a new InteractiveAnnotation instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveAnnotation instance */ public static create(properties?: waproto.IInteractiveAnnotation): waproto.InteractiveAnnotation; /** * Encodes the specified InteractiveAnnotation message. Does not implicitly {@link waproto.InteractiveAnnotation.verify|verify} messages. * @param message InteractiveAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveAnnotation message, length delimited. Does not implicitly {@link waproto.InteractiveAnnotation.verify|verify} messages. * @param message InteractiveAnnotation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IInteractiveAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveAnnotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InteractiveAnnotation; /** * Decodes an InteractiveAnnotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveAnnotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InteractiveAnnotation; /** * Verifies an InteractiveAnnotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveAnnotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveAnnotation */ public static fromObject(object: { [k: string]: any }): waproto.InteractiveAnnotation; /** * Creates a plain object from an InteractiveAnnotation message. Also converts values to other types if specified. * @param message InteractiveAnnotation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InteractiveAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveAnnotation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveAnnotation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InteractiveAnnotation { /** StatusLinkType enum. */ enum StatusLinkType { RASTERIZED_LINK_PREVIEW = 1, RASTERIZED_LINK_TRUNCATED = 2, RASTERIZED_LINK_FULL_URL = 3 } } /** Properties of an InteractiveMessageAdditionalMetadata. */ interface IInteractiveMessageAdditionalMetadata { /** InteractiveMessageAdditionalMetadata isGalaxyFlowCompleted */ isGalaxyFlowCompleted?: (boolean|null); } /** Represents an InteractiveMessageAdditionalMetadata. */ class InteractiveMessageAdditionalMetadata implements IInteractiveMessageAdditionalMetadata { /** * Constructs a new InteractiveMessageAdditionalMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IInteractiveMessageAdditionalMetadata); /** InteractiveMessageAdditionalMetadata isGalaxyFlowCompleted. */ public isGalaxyFlowCompleted?: (boolean|null); /** * Creates a new InteractiveMessageAdditionalMetadata instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveMessageAdditionalMetadata instance */ public static create(properties?: waproto.IInteractiveMessageAdditionalMetadata): waproto.InteractiveMessageAdditionalMetadata; /** * Encodes the specified InteractiveMessageAdditionalMetadata message. Does not implicitly {@link waproto.InteractiveMessageAdditionalMetadata.verify|verify} messages. * @param message InteractiveMessageAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IInteractiveMessageAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveMessageAdditionalMetadata message, length delimited. Does not implicitly {@link waproto.InteractiveMessageAdditionalMetadata.verify|verify} messages. * @param message InteractiveMessageAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IInteractiveMessageAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveMessageAdditionalMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveMessageAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.InteractiveMessageAdditionalMetadata; /** * Decodes an InteractiveMessageAdditionalMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveMessageAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.InteractiveMessageAdditionalMetadata; /** * Verifies an InteractiveMessageAdditionalMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveMessageAdditionalMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveMessageAdditionalMetadata */ public static fromObject(object: { [k: string]: any }): waproto.InteractiveMessageAdditionalMetadata; /** * Creates a plain object from an InteractiveMessageAdditionalMetadata message. Also converts values to other types if specified. * @param message InteractiveMessageAdditionalMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.InteractiveMessageAdditionalMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveMessageAdditionalMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveMessageAdditionalMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KeepInChat. */ interface IKeepInChat { /** KeepInChat keepType */ keepType?: (waproto.KeepType|null); /** KeepInChat serverTimestamp */ serverTimestamp?: (number|Long|null); /** KeepInChat key */ key?: (waproto.IMessageKey|null); /** KeepInChat deviceJid */ deviceJid?: (string|null); /** KeepInChat clientTimestampMs */ clientTimestampMs?: (number|Long|null); /** KeepInChat serverTimestampMs */ serverTimestampMs?: (number|Long|null); } /** Represents a KeepInChat. */ class KeepInChat implements IKeepInChat { /** * Constructs a new KeepInChat. * @param [properties] Properties to set */ constructor(properties?: waproto.IKeepInChat); /** KeepInChat keepType. */ public keepType?: (waproto.KeepType|null); /** KeepInChat serverTimestamp. */ public serverTimestamp?: (number|Long|null); /** KeepInChat key. */ public key?: (waproto.IMessageKey|null); /** KeepInChat deviceJid. */ public deviceJid?: (string|null); /** KeepInChat clientTimestampMs. */ public clientTimestampMs?: (number|Long|null); /** KeepInChat serverTimestampMs. */ public serverTimestampMs?: (number|Long|null); /** * Creates a new KeepInChat instance using the specified properties. * @param [properties] Properties to set * @returns KeepInChat instance */ public static create(properties?: waproto.IKeepInChat): waproto.KeepInChat; /** * Encodes the specified KeepInChat message. Does not implicitly {@link waproto.KeepInChat.verify|verify} messages. * @param message KeepInChat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IKeepInChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeepInChat message, length delimited. Does not implicitly {@link waproto.KeepInChat.verify|verify} messages. * @param message KeepInChat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IKeepInChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeepInChat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeepInChat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.KeepInChat; /** * Decodes a KeepInChat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeepInChat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.KeepInChat; /** * Verifies a KeepInChat message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeepInChat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeepInChat */ public static fromObject(object: { [k: string]: any }): waproto.KeepInChat; /** * Creates a plain object from a KeepInChat message. Also converts values to other types if specified. * @param message KeepInChat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.KeepInChat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeepInChat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeepInChat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KeyExchangeMessage. */ interface IKeyExchangeMessage { /** KeyExchangeMessage id */ id?: (number|null); /** KeyExchangeMessage baseKey */ baseKey?: (Uint8Array|null); /** KeyExchangeMessage ratchetKey */ ratchetKey?: (Uint8Array|null); /** KeyExchangeMessage identityKey */ identityKey?: (Uint8Array|null); /** KeyExchangeMessage baseKeySignature */ baseKeySignature?: (Uint8Array|null); } /** Represents a KeyExchangeMessage. */ class KeyExchangeMessage implements IKeyExchangeMessage { /** * Constructs a new KeyExchangeMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IKeyExchangeMessage); /** KeyExchangeMessage id. */ public id?: (number|null); /** KeyExchangeMessage baseKey. */ public baseKey?: (Uint8Array|null); /** KeyExchangeMessage ratchetKey. */ public ratchetKey?: (Uint8Array|null); /** KeyExchangeMessage identityKey. */ public identityKey?: (Uint8Array|null); /** KeyExchangeMessage baseKeySignature. */ public baseKeySignature?: (Uint8Array|null); /** * Creates a new KeyExchangeMessage instance using the specified properties. * @param [properties] Properties to set * @returns KeyExchangeMessage instance */ public static create(properties?: waproto.IKeyExchangeMessage): waproto.KeyExchangeMessage; /** * Encodes the specified KeyExchangeMessage message. Does not implicitly {@link waproto.KeyExchangeMessage.verify|verify} messages. * @param message KeyExchangeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IKeyExchangeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeyExchangeMessage message, length delimited. Does not implicitly {@link waproto.KeyExchangeMessage.verify|verify} messages. * @param message KeyExchangeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IKeyExchangeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeyExchangeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeyExchangeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.KeyExchangeMessage; /** * Decodes a KeyExchangeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeyExchangeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.KeyExchangeMessage; /** * Verifies a KeyExchangeMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeyExchangeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeyExchangeMessage */ public static fromObject(object: { [k: string]: any }): waproto.KeyExchangeMessage; /** * Creates a plain object from a KeyExchangeMessage message. Also converts values to other types if specified. * @param message KeyExchangeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.KeyExchangeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeyExchangeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeyExchangeMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KeyId. */ interface IKeyId { /** KeyId id */ id?: (Uint8Array|null); } /** Represents a KeyId. */ class KeyId implements IKeyId { /** * Constructs a new KeyId. * @param [properties] Properties to set */ constructor(properties?: waproto.IKeyId); /** KeyId id. */ public id?: (Uint8Array|null); /** * Creates a new KeyId instance using the specified properties. * @param [properties] Properties to set * @returns KeyId instance */ public static create(properties?: waproto.IKeyId): waproto.KeyId; /** * Encodes the specified KeyId message. Does not implicitly {@link waproto.KeyId.verify|verify} messages. * @param message KeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeyId message, length delimited. Does not implicitly {@link waproto.KeyId.verify|verify} messages. * @param message KeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeyId message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.KeyId; /** * Decodes a KeyId message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.KeyId; /** * Verifies a KeyId message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeyId message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeyId */ public static fromObject(object: { [k: string]: any }): waproto.KeyId; /** * Creates a plain object from a KeyId message. Also converts values to other types if specified. * @param message KeyId * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.KeyId, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeyId to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeyId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KeyTransparencyCommand. */ interface IKeyTransparencyCommand { /** KeyTransparencyCommand verifyKtForUserSignal */ verifyKtForUserSignal?: (waproto.IVerifyKeyTransparencyForUserSignalCommand|null); /** KeyTransparencyCommand verifyKtForUserMinos */ verifyKtForUserMinos?: (waproto.IVerifyKeyTransparencyForUserMinosCommand|null); /** KeyTransparencyCommand verifyKtForUserMandrake */ verifyKtForUserMandrake?: (waproto.IVerifyKeyTransparencyForUserMandrakeCommand|null); } /** Represents a KeyTransparencyCommand. */ class KeyTransparencyCommand implements IKeyTransparencyCommand { /** * Constructs a new KeyTransparencyCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.IKeyTransparencyCommand); /** KeyTransparencyCommand verifyKtForUserSignal. */ public verifyKtForUserSignal?: (waproto.IVerifyKeyTransparencyForUserSignalCommand|null); /** KeyTransparencyCommand verifyKtForUserMinos. */ public verifyKtForUserMinos?: (waproto.IVerifyKeyTransparencyForUserMinosCommand|null); /** KeyTransparencyCommand verifyKtForUserMandrake. */ public verifyKtForUserMandrake?: (waproto.IVerifyKeyTransparencyForUserMandrakeCommand|null); /** KeyTransparencyCommand commandInput. */ public commandInput?: ("verifyKtForUserSignal"|"verifyKtForUserMinos"|"verifyKtForUserMandrake"); /** * Creates a new KeyTransparencyCommand instance using the specified properties. * @param [properties] Properties to set * @returns KeyTransparencyCommand instance */ public static create(properties?: waproto.IKeyTransparencyCommand): waproto.KeyTransparencyCommand; /** * Encodes the specified KeyTransparencyCommand message. Does not implicitly {@link waproto.KeyTransparencyCommand.verify|verify} messages. * @param message KeyTransparencyCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IKeyTransparencyCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeyTransparencyCommand message, length delimited. Does not implicitly {@link waproto.KeyTransparencyCommand.verify|verify} messages. * @param message KeyTransparencyCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IKeyTransparencyCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeyTransparencyCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeyTransparencyCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.KeyTransparencyCommand; /** * Decodes a KeyTransparencyCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeyTransparencyCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.KeyTransparencyCommand; /** * Verifies a KeyTransparencyCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeyTransparencyCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeyTransparencyCommand */ public static fromObject(object: { [k: string]: any }): waproto.KeyTransparencyCommand; /** * Creates a plain object from a KeyTransparencyCommand message. Also converts values to other types if specified. * @param message KeyTransparencyCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.KeyTransparencyCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeyTransparencyCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeyTransparencyCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LIDMigrationMappingSyncMessage. */ interface ILIDMigrationMappingSyncMessage { /** LIDMigrationMappingSyncMessage encodedMappingPayload */ encodedMappingPayload?: (Uint8Array|null); } /** Represents a LIDMigrationMappingSyncMessage. */ class LIDMigrationMappingSyncMessage implements ILIDMigrationMappingSyncMessage { /** * Constructs a new LIDMigrationMappingSyncMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ILIDMigrationMappingSyncMessage); /** LIDMigrationMappingSyncMessage encodedMappingPayload. */ public encodedMappingPayload?: (Uint8Array|null); /** * Creates a new LIDMigrationMappingSyncMessage instance using the specified properties. * @param [properties] Properties to set * @returns LIDMigrationMappingSyncMessage instance */ public static create(properties?: waproto.ILIDMigrationMappingSyncMessage): waproto.LIDMigrationMappingSyncMessage; /** * Encodes the specified LIDMigrationMappingSyncMessage message. Does not implicitly {@link waproto.LIDMigrationMappingSyncMessage.verify|verify} messages. * @param message LIDMigrationMappingSyncMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILIDMigrationMappingSyncMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LIDMigrationMappingSyncMessage message, length delimited. Does not implicitly {@link waproto.LIDMigrationMappingSyncMessage.verify|verify} messages. * @param message LIDMigrationMappingSyncMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILIDMigrationMappingSyncMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LIDMigrationMappingSyncMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LIDMigrationMappingSyncMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LIDMigrationMappingSyncMessage; /** * Decodes a LIDMigrationMappingSyncMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LIDMigrationMappingSyncMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LIDMigrationMappingSyncMessage; /** * Verifies a LIDMigrationMappingSyncMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LIDMigrationMappingSyncMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LIDMigrationMappingSyncMessage */ public static fromObject(object: { [k: string]: any }): waproto.LIDMigrationMappingSyncMessage; /** * Creates a plain object from a LIDMigrationMappingSyncMessage message. Also converts values to other types if specified. * @param message LIDMigrationMappingSyncMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LIDMigrationMappingSyncMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LIDMigrationMappingSyncMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LIDMigrationMappingSyncMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LabyrinthWaCommand. */ interface ILabyrinthWaCommand { /** LabyrinthWaCommand createBackupInput */ createBackupInput?: (waproto.ICreateBackupInput|null); /** LabyrinthWaCommand encryptMessageInput */ encryptMessageInput?: (waproto.IEncryptMessageInput|null); /** LabyrinthWaCommand decryptMessageInput */ decryptMessageInput?: (waproto.IDecryptMessageInput|null); /** LabyrinthWaCommand orfThreadIdInput */ orfThreadIdInput?: (waproto.IOrfThreadIdInput|null); /** LabyrinthWaCommand deriveMessageKeyInput */ deriveMessageKeyInput?: (waproto.IDeriveMessageKeyInput|null); /** LabyrinthWaCommand rotateEpochInput */ rotateEpochInput?: (waproto.IRotateEpochInput|null); /** LabyrinthWaCommand deriveVirtualDeviceIdInput */ deriveVirtualDeviceIdInput?: (waproto.IDeriveVirtualDeviceIdInput|null); /** LabyrinthWaCommand prepareAddDeviceInput */ prepareAddDeviceInput?: (waproto.IPrepareAddDeviceInput|null); } /** Represents a LabyrinthWaCommand. */ class LabyrinthWaCommand implements ILabyrinthWaCommand { /** * Constructs a new LabyrinthWaCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.ILabyrinthWaCommand); /** LabyrinthWaCommand createBackupInput. */ public createBackupInput?: (waproto.ICreateBackupInput|null); /** LabyrinthWaCommand encryptMessageInput. */ public encryptMessageInput?: (waproto.IEncryptMessageInput|null); /** LabyrinthWaCommand decryptMessageInput. */ public decryptMessageInput?: (waproto.IDecryptMessageInput|null); /** LabyrinthWaCommand orfThreadIdInput. */ public orfThreadIdInput?: (waproto.IOrfThreadIdInput|null); /** LabyrinthWaCommand deriveMessageKeyInput. */ public deriveMessageKeyInput?: (waproto.IDeriveMessageKeyInput|null); /** LabyrinthWaCommand rotateEpochInput. */ public rotateEpochInput?: (waproto.IRotateEpochInput|null); /** LabyrinthWaCommand deriveVirtualDeviceIdInput. */ public deriveVirtualDeviceIdInput?: (waproto.IDeriveVirtualDeviceIdInput|null); /** LabyrinthWaCommand prepareAddDeviceInput. */ public prepareAddDeviceInput?: (waproto.IPrepareAddDeviceInput|null); /** LabyrinthWaCommand commandInput. */ public commandInput?: ("createBackupInput"|"encryptMessageInput"|"decryptMessageInput"|"orfThreadIdInput"|"deriveMessageKeyInput"|"rotateEpochInput"|"deriveVirtualDeviceIdInput"|"prepareAddDeviceInput"); /** * Creates a new LabyrinthWaCommand instance using the specified properties. * @param [properties] Properties to set * @returns LabyrinthWaCommand instance */ public static create(properties?: waproto.ILabyrinthWaCommand): waproto.LabyrinthWaCommand; /** * Encodes the specified LabyrinthWaCommand message. Does not implicitly {@link waproto.LabyrinthWaCommand.verify|verify} messages. * @param message LabyrinthWaCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILabyrinthWaCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LabyrinthWaCommand message, length delimited. Does not implicitly {@link waproto.LabyrinthWaCommand.verify|verify} messages. * @param message LabyrinthWaCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILabyrinthWaCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LabyrinthWaCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LabyrinthWaCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LabyrinthWaCommand; /** * Decodes a LabyrinthWaCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LabyrinthWaCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LabyrinthWaCommand; /** * Verifies a LabyrinthWaCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LabyrinthWaCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LabyrinthWaCommand */ public static fromObject(object: { [k: string]: any }): waproto.LabyrinthWaCommand; /** * Creates a plain object from a LabyrinthWaCommand message. Also converts values to other types if specified. * @param message LabyrinthWaCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LabyrinthWaCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LabyrinthWaCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LabyrinthWaCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LatestSenderTimestampsMsProto. */ interface ILatestSenderTimestampsMsProto { /** LatestSenderTimestampsMsProto author */ author?: (string|null); /** LatestSenderTimestampsMsProto latestSenderTimestampMs */ latestSenderTimestampMs?: (number|Long|null); } /** Represents a LatestSenderTimestampsMsProto. */ class LatestSenderTimestampsMsProto implements ILatestSenderTimestampsMsProto { /** * Constructs a new LatestSenderTimestampsMsProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ILatestSenderTimestampsMsProto); /** LatestSenderTimestampsMsProto author. */ public author?: (string|null); /** LatestSenderTimestampsMsProto latestSenderTimestampMs. */ public latestSenderTimestampMs?: (number|Long|null); /** * Creates a new LatestSenderTimestampsMsProto instance using the specified properties. * @param [properties] Properties to set * @returns LatestSenderTimestampsMsProto instance */ public static create(properties?: waproto.ILatestSenderTimestampsMsProto): waproto.LatestSenderTimestampsMsProto; /** * Encodes the specified LatestSenderTimestampsMsProto message. Does not implicitly {@link waproto.LatestSenderTimestampsMsProto.verify|verify} messages. * @param message LatestSenderTimestampsMsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILatestSenderTimestampsMsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LatestSenderTimestampsMsProto message, length delimited. Does not implicitly {@link waproto.LatestSenderTimestampsMsProto.verify|verify} messages. * @param message LatestSenderTimestampsMsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILatestSenderTimestampsMsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LatestSenderTimestampsMsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LatestSenderTimestampsMsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LatestSenderTimestampsMsProto; /** * Decodes a LatestSenderTimestampsMsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LatestSenderTimestampsMsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LatestSenderTimestampsMsProto; /** * Verifies a LatestSenderTimestampsMsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LatestSenderTimestampsMsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LatestSenderTimestampsMsProto */ public static fromObject(object: { [k: string]: any }): waproto.LatestSenderTimestampsMsProto; /** * Creates a plain object from a LatestSenderTimestampsMsProto message. Also converts values to other types if specified. * @param message LatestSenderTimestampsMsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LatestSenderTimestampsMsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LatestSenderTimestampsMsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LatestSenderTimestampsMsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LegacyMessage. */ interface ILegacyMessage { /** LegacyMessage eventResponseMessage */ eventResponseMessage?: (waproto.Message.IEventResponseMessage|null); /** LegacyMessage pollVote */ pollVote?: (waproto.Message.IPollVoteMessage|null); } /** Represents a LegacyMessage. */ class LegacyMessage implements ILegacyMessage { /** * Constructs a new LegacyMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ILegacyMessage); /** LegacyMessage eventResponseMessage. */ public eventResponseMessage?: (waproto.Message.IEventResponseMessage|null); /** LegacyMessage pollVote. */ public pollVote?: (waproto.Message.IPollVoteMessage|null); /** * Creates a new LegacyMessage instance using the specified properties. * @param [properties] Properties to set * @returns LegacyMessage instance */ public static create(properties?: waproto.ILegacyMessage): waproto.LegacyMessage; /** * Encodes the specified LegacyMessage message. Does not implicitly {@link waproto.LegacyMessage.verify|verify} messages. * @param message LegacyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILegacyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LegacyMessage message, length delimited. Does not implicitly {@link waproto.LegacyMessage.verify|verify} messages. * @param message LegacyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILegacyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LegacyMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LegacyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LegacyMessage; /** * Decodes a LegacyMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LegacyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LegacyMessage; /** * Verifies a LegacyMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LegacyMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LegacyMessage */ public static fromObject(object: { [k: string]: any }): waproto.LegacyMessage; /** * Creates a plain object from a LegacyMessage message. Also converts values to other types if specified. * @param message LegacyMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LegacyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LegacyMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LegacyMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LimitSharing. */ interface ILimitSharing { /** LimitSharing sharingLimited */ sharingLimited?: (boolean|null); /** LimitSharing trigger */ trigger?: (waproto.LimitSharing.Trigger|null); /** LimitSharing limitSharingSettingTimestamp */ limitSharingSettingTimestamp?: (number|Long|null); /** LimitSharing initiatedByMe */ initiatedByMe?: (boolean|null); } /** Represents a LimitSharing. */ class LimitSharing implements ILimitSharing { /** * Constructs a new LimitSharing. * @param [properties] Properties to set */ constructor(properties?: waproto.ILimitSharing); /** LimitSharing sharingLimited. */ public sharingLimited?: (boolean|null); /** LimitSharing trigger. */ public trigger?: (waproto.LimitSharing.Trigger|null); /** LimitSharing limitSharingSettingTimestamp. */ public limitSharingSettingTimestamp?: (number|Long|null); /** LimitSharing initiatedByMe. */ public initiatedByMe?: (boolean|null); /** * Creates a new LimitSharing instance using the specified properties. * @param [properties] Properties to set * @returns LimitSharing instance */ public static create(properties?: waproto.ILimitSharing): waproto.LimitSharing; /** * Encodes the specified LimitSharing message. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages. * @param message LimitSharing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LimitSharing message, length delimited. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages. * @param message LimitSharing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LimitSharing message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LimitSharing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LimitSharing; /** * Decodes a LimitSharing message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LimitSharing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LimitSharing; /** * Verifies a LimitSharing message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LimitSharing message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LimitSharing */ public static fromObject(object: { [k: string]: any }): waproto.LimitSharing; /** * Creates a plain object from a LimitSharing message. Also converts values to other types if specified. * @param message LimitSharing * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LimitSharing, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LimitSharing to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LimitSharing * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LimitSharing { /** Trigger enum. */ enum Trigger { UNKNOWN = 0, CHAT_SETTING = 1, BIZ_SUPPORTS_FB_HOSTING = 2, UNKNOWN_GROUP = 3 } } /** Properties of a LocalizedName. */ interface ILocalizedName { /** LocalizedName lg */ lg?: (string|null); /** LocalizedName lc */ lc?: (string|null); /** LocalizedName verifiedName */ verifiedName?: (string|null); } /** Represents a LocalizedName. */ class LocalizedName implements ILocalizedName { /** * Constructs a new LocalizedName. * @param [properties] Properties to set */ constructor(properties?: waproto.ILocalizedName); /** LocalizedName lg. */ public lg?: (string|null); /** LocalizedName lc. */ public lc?: (string|null); /** LocalizedName verifiedName. */ public verifiedName?: (string|null); /** * Creates a new LocalizedName instance using the specified properties. * @param [properties] Properties to set * @returns LocalizedName instance */ public static create(properties?: waproto.ILocalizedName): waproto.LocalizedName; /** * Encodes the specified LocalizedName message. Does not implicitly {@link waproto.LocalizedName.verify|verify} messages. * @param message LocalizedName message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocalizedName message, length delimited. Does not implicitly {@link waproto.LocalizedName.verify|verify} messages. * @param message LocalizedName message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocalizedName message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocalizedName * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LocalizedName; /** * Decodes a LocalizedName message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocalizedName * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LocalizedName; /** * Verifies a LocalizedName message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocalizedName message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocalizedName */ public static fromObject(object: { [k: string]: any }): waproto.LocalizedName; /** * Creates a plain object from a LocalizedName message. Also converts values to other types if specified. * @param message LocalizedName * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LocalizedName, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocalizedName to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LocalizedName * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocallyTransformedMessage. */ interface ILocallyTransformedMessage { /** LocallyTransformedMessage pollUpdateMessage */ pollUpdateMessage?: (waproto.LocallyTransformedMessage.IPollUpdateAdminMessage|null); } /** Represents a LocallyTransformedMessage. */ class LocallyTransformedMessage implements ILocallyTransformedMessage { /** * Constructs a new LocallyTransformedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ILocallyTransformedMessage); /** LocallyTransformedMessage pollUpdateMessage. */ public pollUpdateMessage?: (waproto.LocallyTransformedMessage.IPollUpdateAdminMessage|null); /** LocallyTransformedMessage content. */ public content?: "pollUpdateMessage"; /** * Creates a new LocallyTransformedMessage instance using the specified properties. * @param [properties] Properties to set * @returns LocallyTransformedMessage instance */ public static create(properties?: waproto.ILocallyTransformedMessage): waproto.LocallyTransformedMessage; /** * Encodes the specified LocallyTransformedMessage message. Does not implicitly {@link waproto.LocallyTransformedMessage.verify|verify} messages. * @param message LocallyTransformedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILocallyTransformedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocallyTransformedMessage message, length delimited. Does not implicitly {@link waproto.LocallyTransformedMessage.verify|verify} messages. * @param message LocallyTransformedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILocallyTransformedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocallyTransformedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocallyTransformedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LocallyTransformedMessage; /** * Decodes a LocallyTransformedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocallyTransformedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LocallyTransformedMessage; /** * Verifies a LocallyTransformedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocallyTransformedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocallyTransformedMessage */ public static fromObject(object: { [k: string]: any }): waproto.LocallyTransformedMessage; /** * Creates a plain object from a LocallyTransformedMessage message. Also converts values to other types if specified. * @param message LocallyTransformedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LocallyTransformedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocallyTransformedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LocallyTransformedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LocallyTransformedMessage { /** Properties of a PollUpdateAdminMessage. */ interface IPollUpdateAdminMessage { /** PollUpdateAdminMessage pollCreationMessageId */ pollCreationMessageId?: (string|null); /** PollUpdateAdminMessage pollUpdateMessageId */ pollUpdateMessageId?: (string|null); } /** Represents a PollUpdateAdminMessage. */ class PollUpdateAdminMessage implements IPollUpdateAdminMessage { /** * Constructs a new PollUpdateAdminMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.LocallyTransformedMessage.IPollUpdateAdminMessage); /** PollUpdateAdminMessage pollCreationMessageId. */ public pollCreationMessageId?: (string|null); /** PollUpdateAdminMessage pollUpdateMessageId. */ public pollUpdateMessageId?: (string|null); /** * Creates a new PollUpdateAdminMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollUpdateAdminMessage instance */ public static create(properties?: waproto.LocallyTransformedMessage.IPollUpdateAdminMessage): waproto.LocallyTransformedMessage.PollUpdateAdminMessage; /** * Encodes the specified PollUpdateAdminMessage message. Does not implicitly {@link waproto.LocallyTransformedMessage.PollUpdateAdminMessage.verify|verify} messages. * @param message PollUpdateAdminMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.LocallyTransformedMessage.IPollUpdateAdminMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollUpdateAdminMessage message, length delimited. Does not implicitly {@link waproto.LocallyTransformedMessage.PollUpdateAdminMessage.verify|verify} messages. * @param message PollUpdateAdminMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.LocallyTransformedMessage.IPollUpdateAdminMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollUpdateAdminMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollUpdateAdminMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LocallyTransformedMessage.PollUpdateAdminMessage; /** * Decodes a PollUpdateAdminMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollUpdateAdminMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LocallyTransformedMessage.PollUpdateAdminMessage; /** * Verifies a PollUpdateAdminMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollUpdateAdminMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollUpdateAdminMessage */ public static fromObject(object: { [k: string]: any }): waproto.LocallyTransformedMessage.PollUpdateAdminMessage; /** * Creates a plain object from a PollUpdateAdminMessage message. Also converts values to other types if specified. * @param message PollUpdateAdminMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.LocallyTransformedMessage.PollUpdateAdminMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollUpdateAdminMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollUpdateAdminMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Location. */ interface ILocation { /** Location degreesLatitude */ degreesLatitude?: (number|null); /** Location degreesLongitude */ degreesLongitude?: (number|null); /** Location name */ name?: (string|null); } /** Represents a Location. */ class Location implements ILocation { /** * Constructs a new Location. * @param [properties] Properties to set */ constructor(properties?: waproto.ILocation); /** Location degreesLatitude. */ public degreesLatitude?: (number|null); /** Location degreesLongitude. */ public degreesLongitude?: (number|null); /** Location name. */ public name?: (string|null); /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ public static create(properties?: waproto.ILocation): waproto.Location; /** * Encodes the specified Location message. Does not implicitly {@link waproto.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link waproto.Location.verify|verify} messages. * @param message Location message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Location; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Location; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ public static fromObject(object: { [k: string]: any }): waproto.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. * @param message Location * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Location * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeDecryptMekInput. */ interface IMandrakeDecryptMekInput { /** MandrakeDecryptMekInput encryptedMek */ encryptedMek?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientsHash */ recipientsHash?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientEncSk */ recipientEncSk?: (Uint8Array|null); /** MandrakeDecryptMekInput mekEncryptionVersion */ mekEncryptionVersion?: (number|Long|null); /** MandrakeDecryptMekInput conf */ conf?: (waproto.IMinosClientConfig|null); /** MandrakeDecryptMekInput recipientMmk */ recipientMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeDecryptMekInput mekId */ mekId?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientMembershipProof */ recipientMembershipProof?: (waproto.IMerkleMembershipProof|null); /** MandrakeDecryptMekInput mmkSender */ mmkSender?: (waproto.MandrakeDecryptMekInput.IMmkSenderPublicData|null); /** MandrakeDecryptMekInput epochSender */ epochSender?: (waproto.MandrakeDecryptMekInput.IEpochSenderPublicData|null); /** MandrakeDecryptMekInput precomputedEpochSender */ precomputedEpochSender?: (waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData|null); } /** Represents a MandrakeDecryptMekInput. */ class MandrakeDecryptMekInput implements IMandrakeDecryptMekInput { /** * Constructs a new MandrakeDecryptMekInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeDecryptMekInput); /** MandrakeDecryptMekInput encryptedMek. */ public encryptedMek?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientsHash. */ public recipientsHash?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientEncSk. */ public recipientEncSk?: (Uint8Array|null); /** MandrakeDecryptMekInput mekEncryptionVersion. */ public mekEncryptionVersion?: (number|Long|null); /** MandrakeDecryptMekInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** MandrakeDecryptMekInput recipientMmk. */ public recipientMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeDecryptMekInput mekId. */ public mekId?: (Uint8Array|null); /** MandrakeDecryptMekInput recipientMembershipProof. */ public recipientMembershipProof?: (waproto.IMerkleMembershipProof|null); /** MandrakeDecryptMekInput mmkSender. */ public mmkSender?: (waproto.MandrakeDecryptMekInput.IMmkSenderPublicData|null); /** MandrakeDecryptMekInput epochSender. */ public epochSender?: (waproto.MandrakeDecryptMekInput.IEpochSenderPublicData|null); /** MandrakeDecryptMekInput precomputedEpochSender. */ public precomputedEpochSender?: (waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData|null); /** MandrakeDecryptMekInput senderPublicData. */ public senderPublicData?: ("mmkSender"|"epochSender"|"precomputedEpochSender"); /** * Creates a new MandrakeDecryptMekInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeDecryptMekInput instance */ public static create(properties?: waproto.IMandrakeDecryptMekInput): waproto.MandrakeDecryptMekInput; /** * Encodes the specified MandrakeDecryptMekInput message. Does not implicitly {@link waproto.MandrakeDecryptMekInput.verify|verify} messages. * @param message MandrakeDecryptMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeDecryptMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeDecryptMekInput message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekInput.verify|verify} messages. * @param message MandrakeDecryptMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeDecryptMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeDecryptMekInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeDecryptMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekInput; /** * Decodes a MandrakeDecryptMekInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeDecryptMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekInput; /** * Verifies a MandrakeDecryptMekInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeDecryptMekInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeDecryptMekInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekInput; /** * Creates a plain object from a MandrakeDecryptMekInput message. Also converts values to other types if specified. * @param message MandrakeDecryptMekInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeDecryptMekInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeDecryptMekInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MandrakeDecryptMekInput { /** Properties of a PrecomputedEpochSenderPublicData. */ interface IPrecomputedEpochSenderPublicData { /** PrecomputedEpochSenderPublicData authPk */ authPk?: (Uint8Array|null); /** PrecomputedEpochSenderPublicData epochHead */ epochHead?: (Uint8Array|null); } /** Represents a PrecomputedEpochSenderPublicData. */ class PrecomputedEpochSenderPublicData implements IPrecomputedEpochSenderPublicData { /** * Constructs a new PrecomputedEpochSenderPublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData); /** PrecomputedEpochSenderPublicData authPk. */ public authPk?: (Uint8Array|null); /** PrecomputedEpochSenderPublicData epochHead. */ public epochHead?: (Uint8Array|null); /** * Creates a new PrecomputedEpochSenderPublicData instance using the specified properties. * @param [properties] Properties to set * @returns PrecomputedEpochSenderPublicData instance */ public static create(properties?: waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData): waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData; /** * Encodes the specified PrecomputedEpochSenderPublicData message. Does not implicitly {@link waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData.verify|verify} messages. * @param message PrecomputedEpochSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrecomputedEpochSenderPublicData message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData.verify|verify} messages. * @param message PrecomputedEpochSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeDecryptMekInput.IPrecomputedEpochSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrecomputedEpochSenderPublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrecomputedEpochSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData; /** * Decodes a PrecomputedEpochSenderPublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrecomputedEpochSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData; /** * Verifies a PrecomputedEpochSenderPublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrecomputedEpochSenderPublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrecomputedEpochSenderPublicData */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData; /** * Creates a plain object from a PrecomputedEpochSenderPublicData message. Also converts values to other types if specified. * @param message PrecomputedEpochSenderPublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekInput.PrecomputedEpochSenderPublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrecomputedEpochSenderPublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrecomputedEpochSenderPublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EpochSenderPublicData. */ interface IEpochSenderPublicData { /** EpochSenderPublicData epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); } /** Represents an EpochSenderPublicData. */ class EpochSenderPublicData implements IEpochSenderPublicData { /** * Constructs a new EpochSenderPublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeDecryptMekInput.IEpochSenderPublicData); /** EpochSenderPublicData epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** * Creates a new EpochSenderPublicData instance using the specified properties. * @param [properties] Properties to set * @returns EpochSenderPublicData instance */ public static create(properties?: waproto.MandrakeDecryptMekInput.IEpochSenderPublicData): waproto.MandrakeDecryptMekInput.EpochSenderPublicData; /** * Encodes the specified EpochSenderPublicData message. Does not implicitly {@link waproto.MandrakeDecryptMekInput.EpochSenderPublicData.verify|verify} messages. * @param message EpochSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeDecryptMekInput.IEpochSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EpochSenderPublicData message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekInput.EpochSenderPublicData.verify|verify} messages. * @param message EpochSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeDecryptMekInput.IEpochSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EpochSenderPublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EpochSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekInput.EpochSenderPublicData; /** * Decodes an EpochSenderPublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EpochSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekInput.EpochSenderPublicData; /** * Verifies an EpochSenderPublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EpochSenderPublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EpochSenderPublicData */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekInput.EpochSenderPublicData; /** * Creates a plain object from an EpochSenderPublicData message. Also converts values to other types if specified. * @param message EpochSenderPublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekInput.EpochSenderPublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EpochSenderPublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EpochSenderPublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkSenderPublicData. */ interface IMmkSenderPublicData { /** MmkSenderPublicData mmkPublicData */ mmkPublicData?: (waproto.IMessagingMailboxPublicData|null); } /** Represents a MmkSenderPublicData. */ class MmkSenderPublicData implements IMmkSenderPublicData { /** * Constructs a new MmkSenderPublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeDecryptMekInput.IMmkSenderPublicData); /** MmkSenderPublicData mmkPublicData. */ public mmkPublicData?: (waproto.IMessagingMailboxPublicData|null); /** * Creates a new MmkSenderPublicData instance using the specified properties. * @param [properties] Properties to set * @returns MmkSenderPublicData instance */ public static create(properties?: waproto.MandrakeDecryptMekInput.IMmkSenderPublicData): waproto.MandrakeDecryptMekInput.MmkSenderPublicData; /** * Encodes the specified MmkSenderPublicData message. Does not implicitly {@link waproto.MandrakeDecryptMekInput.MmkSenderPublicData.verify|verify} messages. * @param message MmkSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeDecryptMekInput.IMmkSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkSenderPublicData message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekInput.MmkSenderPublicData.verify|verify} messages. * @param message MmkSenderPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeDecryptMekInput.IMmkSenderPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkSenderPublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekInput.MmkSenderPublicData; /** * Decodes a MmkSenderPublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkSenderPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekInput.MmkSenderPublicData; /** * Verifies a MmkSenderPublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkSenderPublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkSenderPublicData */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekInput.MmkSenderPublicData; /** * Creates a plain object from a MmkSenderPublicData message. Also converts values to other types if specified. * @param message MmkSenderPublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekInput.MmkSenderPublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkSenderPublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkSenderPublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MandrakeDecryptMekResult. */ interface IMandrakeDecryptMekResult { /** MandrakeDecryptMekResult success */ success?: (waproto.IMandrakeDecryptMekSuccess|null); /** MandrakeDecryptMekResult errorMessage */ errorMessage?: (string|null); } /** Represents a MandrakeDecryptMekResult. */ class MandrakeDecryptMekResult implements IMandrakeDecryptMekResult { /** * Constructs a new MandrakeDecryptMekResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeDecryptMekResult); /** MandrakeDecryptMekResult success. */ public success?: (waproto.IMandrakeDecryptMekSuccess|null); /** MandrakeDecryptMekResult errorMessage. */ public errorMessage?: (string|null); /** MandrakeDecryptMekResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new MandrakeDecryptMekResult instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeDecryptMekResult instance */ public static create(properties?: waproto.IMandrakeDecryptMekResult): waproto.MandrakeDecryptMekResult; /** * Encodes the specified MandrakeDecryptMekResult message. Does not implicitly {@link waproto.MandrakeDecryptMekResult.verify|verify} messages. * @param message MandrakeDecryptMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeDecryptMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeDecryptMekResult message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekResult.verify|verify} messages. * @param message MandrakeDecryptMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeDecryptMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeDecryptMekResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeDecryptMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekResult; /** * Decodes a MandrakeDecryptMekResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeDecryptMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekResult; /** * Verifies a MandrakeDecryptMekResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeDecryptMekResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeDecryptMekResult */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekResult; /** * Creates a plain object from a MandrakeDecryptMekResult message. Also converts values to other types if specified. * @param message MandrakeDecryptMekResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeDecryptMekResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeDecryptMekResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeDecryptMekSuccess. */ interface IMandrakeDecryptMekSuccess { /** MandrakeDecryptMekSuccess mek */ mek?: (Uint8Array|null); } /** Represents a MandrakeDecryptMekSuccess. */ class MandrakeDecryptMekSuccess implements IMandrakeDecryptMekSuccess { /** * Constructs a new MandrakeDecryptMekSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeDecryptMekSuccess); /** MandrakeDecryptMekSuccess mek. */ public mek?: (Uint8Array|null); /** * Creates a new MandrakeDecryptMekSuccess instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeDecryptMekSuccess instance */ public static create(properties?: waproto.IMandrakeDecryptMekSuccess): waproto.MandrakeDecryptMekSuccess; /** * Encodes the specified MandrakeDecryptMekSuccess message. Does not implicitly {@link waproto.MandrakeDecryptMekSuccess.verify|verify} messages. * @param message MandrakeDecryptMekSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeDecryptMekSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeDecryptMekSuccess message, length delimited. Does not implicitly {@link waproto.MandrakeDecryptMekSuccess.verify|verify} messages. * @param message MandrakeDecryptMekSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeDecryptMekSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeDecryptMekSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeDecryptMekSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeDecryptMekSuccess; /** * Decodes a MandrakeDecryptMekSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeDecryptMekSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeDecryptMekSuccess; /** * Verifies a MandrakeDecryptMekSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeDecryptMekSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeDecryptMekSuccess */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeDecryptMekSuccess; /** * Creates a plain object from a MandrakeDecryptMekSuccess message. Also converts values to other types if specified. * @param message MandrakeDecryptMekSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeDecryptMekSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeDecryptMekSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeDecryptMekSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeEncryptMekInput. */ interface IMandrakeEncryptMekInput { /** MandrakeEncryptMekInput mek */ mek?: (waproto.IMandrakeMekBundle|null); /** MandrakeEncryptMekInput recipients */ recipients?: (waproto.IMessagingMailboxPublicData[]|null); /** MandrakeEncryptMekInput conf */ conf?: (waproto.IMinosClientConfig|null); /** MandrakeEncryptMekInput mmkSender */ mmkSender?: (waproto.MandrakeEncryptMekInput.IMmkSender|null); /** MandrakeEncryptMekInput epochSender */ epochSender?: (waproto.MandrakeEncryptMekInput.IEpochSender|null); /** MandrakeEncryptMekInput detachedDeviceSender */ detachedDeviceSender?: (waproto.MandrakeEncryptMekInput.IDetachedDeviceSender|null); } /** Represents a MandrakeEncryptMekInput. */ class MandrakeEncryptMekInput implements IMandrakeEncryptMekInput { /** * Constructs a new MandrakeEncryptMekInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeEncryptMekInput); /** MandrakeEncryptMekInput mek. */ public mek?: (waproto.IMandrakeMekBundle|null); /** MandrakeEncryptMekInput recipients. */ public recipients: waproto.IMessagingMailboxPublicData[]; /** MandrakeEncryptMekInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** MandrakeEncryptMekInput mmkSender. */ public mmkSender?: (waproto.MandrakeEncryptMekInput.IMmkSender|null); /** MandrakeEncryptMekInput epochSender. */ public epochSender?: (waproto.MandrakeEncryptMekInput.IEpochSender|null); /** MandrakeEncryptMekInput detachedDeviceSender. */ public detachedDeviceSender?: (waproto.MandrakeEncryptMekInput.IDetachedDeviceSender|null); /** MandrakeEncryptMekInput sender. */ public sender?: ("mmkSender"|"epochSender"|"detachedDeviceSender"); /** * Creates a new MandrakeEncryptMekInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeEncryptMekInput instance */ public static create(properties?: waproto.IMandrakeEncryptMekInput): waproto.MandrakeEncryptMekInput; /** * Encodes the specified MandrakeEncryptMekInput message. Does not implicitly {@link waproto.MandrakeEncryptMekInput.verify|verify} messages. * @param message MandrakeEncryptMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeEncryptMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeEncryptMekInput message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekInput.verify|verify} messages. * @param message MandrakeEncryptMekInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeEncryptMekInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeEncryptMekInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeEncryptMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekInput; /** * Decodes a MandrakeEncryptMekInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeEncryptMekInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekInput; /** * Verifies a MandrakeEncryptMekInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeEncryptMekInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeEncryptMekInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekInput; /** * Creates a plain object from a MandrakeEncryptMekInput message. Also converts values to other types if specified. * @param message MandrakeEncryptMekInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeEncryptMekInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeEncryptMekInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MandrakeEncryptMekInput { /** Properties of a DetachedDeviceSender. */ interface IDetachedDeviceSender { /** DetachedDeviceSender detachedDevicePublicData */ detachedDevicePublicData?: (waproto.IDetachedDevicePublicData|null); /** DetachedDeviceSender authSk */ authSk?: (Uint8Array|null); /** DetachedDeviceSender authPk */ authPk?: (Uint8Array|null); } /** Represents a DetachedDeviceSender. */ class DetachedDeviceSender implements IDetachedDeviceSender { /** * Constructs a new DetachedDeviceSender. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeEncryptMekInput.IDetachedDeviceSender); /** DetachedDeviceSender detachedDevicePublicData. */ public detachedDevicePublicData?: (waproto.IDetachedDevicePublicData|null); /** DetachedDeviceSender authSk. */ public authSk?: (Uint8Array|null); /** DetachedDeviceSender authPk. */ public authPk?: (Uint8Array|null); /** * Creates a new DetachedDeviceSender instance using the specified properties. * @param [properties] Properties to set * @returns DetachedDeviceSender instance */ public static create(properties?: waproto.MandrakeEncryptMekInput.IDetachedDeviceSender): waproto.MandrakeEncryptMekInput.DetachedDeviceSender; /** * Encodes the specified DetachedDeviceSender message. Does not implicitly {@link waproto.MandrakeEncryptMekInput.DetachedDeviceSender.verify|verify} messages. * @param message DetachedDeviceSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeEncryptMekInput.IDetachedDeviceSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DetachedDeviceSender message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekInput.DetachedDeviceSender.verify|verify} messages. * @param message DetachedDeviceSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeEncryptMekInput.IDetachedDeviceSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DetachedDeviceSender message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DetachedDeviceSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekInput.DetachedDeviceSender; /** * Decodes a DetachedDeviceSender message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DetachedDeviceSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekInput.DetachedDeviceSender; /** * Verifies a DetachedDeviceSender message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DetachedDeviceSender message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DetachedDeviceSender */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekInput.DetachedDeviceSender; /** * Creates a plain object from a DetachedDeviceSender message. Also converts values to other types if specified. * @param message DetachedDeviceSender * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekInput.DetachedDeviceSender, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DetachedDeviceSender to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DetachedDeviceSender * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EpochSender. */ interface IEpochSender { /** EpochSender epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); /** EpochSender authSk */ authSk?: (Uint8Array|null); /** EpochSender authPk */ authPk?: (Uint8Array|null); } /** Represents an EpochSender. */ class EpochSender implements IEpochSender { /** * Constructs a new EpochSender. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeEncryptMekInput.IEpochSender); /** EpochSender epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** EpochSender authSk. */ public authSk?: (Uint8Array|null); /** EpochSender authPk. */ public authPk?: (Uint8Array|null); /** * Creates a new EpochSender instance using the specified properties. * @param [properties] Properties to set * @returns EpochSender instance */ public static create(properties?: waproto.MandrakeEncryptMekInput.IEpochSender): waproto.MandrakeEncryptMekInput.EpochSender; /** * Encodes the specified EpochSender message. Does not implicitly {@link waproto.MandrakeEncryptMekInput.EpochSender.verify|verify} messages. * @param message EpochSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeEncryptMekInput.IEpochSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EpochSender message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekInput.EpochSender.verify|verify} messages. * @param message EpochSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeEncryptMekInput.IEpochSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EpochSender message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EpochSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekInput.EpochSender; /** * Decodes an EpochSender message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EpochSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekInput.EpochSender; /** * Verifies an EpochSender message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EpochSender message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EpochSender */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekInput.EpochSender; /** * Creates a plain object from an EpochSender message. Also converts values to other types if specified. * @param message EpochSender * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekInput.EpochSender, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EpochSender to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EpochSender * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkSender. */ interface IMmkSender { /** MmkSender mmkPublicData */ mmkPublicData?: (waproto.IMessagingMailboxPublicData|null); /** MmkSender authSk */ authSk?: (Uint8Array|null); /** MmkSender authPk */ authPk?: (Uint8Array|null); } /** Represents a MmkSender. */ class MmkSender implements IMmkSender { /** * Constructs a new MmkSender. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeEncryptMekInput.IMmkSender); /** MmkSender mmkPublicData. */ public mmkPublicData?: (waproto.IMessagingMailboxPublicData|null); /** MmkSender authSk. */ public authSk?: (Uint8Array|null); /** MmkSender authPk. */ public authPk?: (Uint8Array|null); /** * Creates a new MmkSender instance using the specified properties. * @param [properties] Properties to set * @returns MmkSender instance */ public static create(properties?: waproto.MandrakeEncryptMekInput.IMmkSender): waproto.MandrakeEncryptMekInput.MmkSender; /** * Encodes the specified MmkSender message. Does not implicitly {@link waproto.MandrakeEncryptMekInput.MmkSender.verify|verify} messages. * @param message MmkSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeEncryptMekInput.IMmkSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkSender message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekInput.MmkSender.verify|verify} messages. * @param message MmkSender message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeEncryptMekInput.IMmkSender, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkSender message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekInput.MmkSender; /** * Decodes a MmkSender message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkSender * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekInput.MmkSender; /** * Verifies a MmkSender message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkSender message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkSender */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekInput.MmkSender; /** * Creates a plain object from a MmkSender message. Also converts values to other types if specified. * @param message MmkSender * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekInput.MmkSender, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkSender to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkSender * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MandrakeEncryptMekResult. */ interface IMandrakeEncryptMekResult { /** MandrakeEncryptMekResult success */ success?: (waproto.IMandrakeEncryptMekSuccess|null); /** MandrakeEncryptMekResult errorMessage */ errorMessage?: (string|null); } /** Represents a MandrakeEncryptMekResult. */ class MandrakeEncryptMekResult implements IMandrakeEncryptMekResult { /** * Constructs a new MandrakeEncryptMekResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeEncryptMekResult); /** MandrakeEncryptMekResult success. */ public success?: (waproto.IMandrakeEncryptMekSuccess|null); /** MandrakeEncryptMekResult errorMessage. */ public errorMessage?: (string|null); /** MandrakeEncryptMekResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new MandrakeEncryptMekResult instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeEncryptMekResult instance */ public static create(properties?: waproto.IMandrakeEncryptMekResult): waproto.MandrakeEncryptMekResult; /** * Encodes the specified MandrakeEncryptMekResult message. Does not implicitly {@link waproto.MandrakeEncryptMekResult.verify|verify} messages. * @param message MandrakeEncryptMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeEncryptMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeEncryptMekResult message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekResult.verify|verify} messages. * @param message MandrakeEncryptMekResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeEncryptMekResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeEncryptMekResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeEncryptMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekResult; /** * Decodes a MandrakeEncryptMekResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeEncryptMekResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekResult; /** * Verifies a MandrakeEncryptMekResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeEncryptMekResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeEncryptMekResult */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekResult; /** * Creates a plain object from a MandrakeEncryptMekResult message. Also converts values to other types if specified. * @param message MandrakeEncryptMekResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeEncryptMekResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeEncryptMekResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeEncryptMekSuccess. */ interface IMandrakeEncryptMekSuccess { /** MandrakeEncryptMekSuccess distributions */ distributions?: (waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient[]|null); /** MandrakeEncryptMekSuccess recipientsHash */ recipientsHash?: (Uint8Array|null); /** MandrakeEncryptMekSuccess version */ version?: (number|Long|null); } /** Represents a MandrakeEncryptMekSuccess. */ class MandrakeEncryptMekSuccess implements IMandrakeEncryptMekSuccess { /** * Constructs a new MandrakeEncryptMekSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeEncryptMekSuccess); /** MandrakeEncryptMekSuccess distributions. */ public distributions: waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient[]; /** MandrakeEncryptMekSuccess recipientsHash. */ public recipientsHash?: (Uint8Array|null); /** MandrakeEncryptMekSuccess version. */ public version?: (number|Long|null); /** * Creates a new MandrakeEncryptMekSuccess instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeEncryptMekSuccess instance */ public static create(properties?: waproto.IMandrakeEncryptMekSuccess): waproto.MandrakeEncryptMekSuccess; /** * Encodes the specified MandrakeEncryptMekSuccess message. Does not implicitly {@link waproto.MandrakeEncryptMekSuccess.verify|verify} messages. * @param message MandrakeEncryptMekSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeEncryptMekSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeEncryptMekSuccess message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekSuccess.verify|verify} messages. * @param message MandrakeEncryptMekSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeEncryptMekSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeEncryptMekSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeEncryptMekSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekSuccess; /** * Decodes a MandrakeEncryptMekSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeEncryptMekSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekSuccess; /** * Verifies a MandrakeEncryptMekSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeEncryptMekSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeEncryptMekSuccess */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekSuccess; /** * Creates a plain object from a MandrakeEncryptMekSuccess message. Also converts values to other types if specified. * @param message MandrakeEncryptMekSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeEncryptMekSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeEncryptMekSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MandrakeEncryptMekSuccess { /** Properties of a MekDistributionSingleRecipient. */ interface IMekDistributionSingleRecipient { /** MekDistributionSingleRecipient encryptedMek */ encryptedMek?: (Uint8Array|null); /** MekDistributionSingleRecipient toMmk */ toMmk?: (waproto.IMessagingMailboxPublicData|null); /** MekDistributionSingleRecipient recipientMembershipProof */ recipientMembershipProof?: (waproto.IMerkleMembershipProof|null); } /** Represents a MekDistributionSingleRecipient. */ class MekDistributionSingleRecipient implements IMekDistributionSingleRecipient { /** * Constructs a new MekDistributionSingleRecipient. * @param [properties] Properties to set */ constructor(properties?: waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient); /** MekDistributionSingleRecipient encryptedMek. */ public encryptedMek?: (Uint8Array|null); /** MekDistributionSingleRecipient toMmk. */ public toMmk?: (waproto.IMessagingMailboxPublicData|null); /** MekDistributionSingleRecipient recipientMembershipProof. */ public recipientMembershipProof?: (waproto.IMerkleMembershipProof|null); /** * Creates a new MekDistributionSingleRecipient instance using the specified properties. * @param [properties] Properties to set * @returns MekDistributionSingleRecipient instance */ public static create(properties?: waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient): waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient; /** * Encodes the specified MekDistributionSingleRecipient message. Does not implicitly {@link waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient.verify|verify} messages. * @param message MekDistributionSingleRecipient message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MekDistributionSingleRecipient message, length delimited. Does not implicitly {@link waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient.verify|verify} messages. * @param message MekDistributionSingleRecipient message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MandrakeEncryptMekSuccess.IMekDistributionSingleRecipient, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MekDistributionSingleRecipient message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MekDistributionSingleRecipient * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient; /** * Decodes a MekDistributionSingleRecipient message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MekDistributionSingleRecipient * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient; /** * Verifies a MekDistributionSingleRecipient message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MekDistributionSingleRecipient message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MekDistributionSingleRecipient */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient; /** * Creates a plain object from a MekDistributionSingleRecipient message. Also converts values to other types if specified. * @param message MekDistributionSingleRecipient * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeEncryptMekSuccess.MekDistributionSingleRecipient, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MekDistributionSingleRecipient to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MekDistributionSingleRecipient * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MandrakeMekBundle. */ interface IMandrakeMekBundle { /** MandrakeMekBundle key */ key?: (Uint8Array|null); /** MandrakeMekBundle mekId */ mekId?: (Uint8Array|null); /** MandrakeMekBundle mailboxHeadHash */ mailboxHeadHash?: (Uint8Array|null); } /** Represents a MandrakeMekBundle. */ class MandrakeMekBundle implements IMandrakeMekBundle { /** * Constructs a new MandrakeMekBundle. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeMekBundle); /** MandrakeMekBundle key. */ public key?: (Uint8Array|null); /** MandrakeMekBundle mekId. */ public mekId?: (Uint8Array|null); /** MandrakeMekBundle mailboxHeadHash. */ public mailboxHeadHash?: (Uint8Array|null); /** * Creates a new MandrakeMekBundle instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeMekBundle instance */ public static create(properties?: waproto.IMandrakeMekBundle): waproto.MandrakeMekBundle; /** * Encodes the specified MandrakeMekBundle message. Does not implicitly {@link waproto.MandrakeMekBundle.verify|verify} messages. * @param message MandrakeMekBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeMekBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeMekBundle message, length delimited. Does not implicitly {@link waproto.MandrakeMekBundle.verify|verify} messages. * @param message MandrakeMekBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeMekBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeMekBundle message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeMekBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeMekBundle; /** * Decodes a MandrakeMekBundle message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeMekBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeMekBundle; /** * Verifies a MandrakeMekBundle message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeMekBundle message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeMekBundle */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeMekBundle; /** * Creates a plain object from a MandrakeMekBundle message. Also converts values to other types if specified. * @param message MandrakeMekBundle * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeMekBundle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeMekBundle to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeMekBundle * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeOpenEpochInput. */ interface IMandrakeOpenEpochInput { /** MandrakeOpenEpochInput userFbid */ userFbid?: (string|null); /** MandrakeOpenEpochInput epochNumber */ epochNumber?: (number|Long|null); /** MandrakeOpenEpochInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** MandrakeOpenEpochInput previousExportRootKey */ previousExportRootKey?: (Uint8Array|null); /** MandrakeOpenEpochInput previousEpochNumber */ previousEpochNumber?: (number|Long|null); /** MandrakeOpenEpochInput previousEpochHead */ previousEpochHead?: (Uint8Array|null); /** MandrakeOpenEpochInput previousMmk */ previousMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeOpenEpochInput detachedDevices */ detachedDevices?: (waproto.IDetachedDevicePublicData[]|null); } /** Represents a MandrakeOpenEpochInput. */ class MandrakeOpenEpochInput implements IMandrakeOpenEpochInput { /** * Constructs a new MandrakeOpenEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeOpenEpochInput); /** MandrakeOpenEpochInput userFbid. */ public userFbid?: (string|null); /** MandrakeOpenEpochInput epochNumber. */ public epochNumber?: (number|Long|null); /** MandrakeOpenEpochInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** MandrakeOpenEpochInput previousExportRootKey. */ public previousExportRootKey?: (Uint8Array|null); /** MandrakeOpenEpochInput previousEpochNumber. */ public previousEpochNumber?: (number|Long|null); /** MandrakeOpenEpochInput previousEpochHead. */ public previousEpochHead?: (Uint8Array|null); /** MandrakeOpenEpochInput previousMmk. */ public previousMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeOpenEpochInput detachedDevices. */ public detachedDevices: waproto.IDetachedDevicePublicData[]; /** * Creates a new MandrakeOpenEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeOpenEpochInput instance */ public static create(properties?: waproto.IMandrakeOpenEpochInput): waproto.MandrakeOpenEpochInput; /** * Encodes the specified MandrakeOpenEpochInput message. Does not implicitly {@link waproto.MandrakeOpenEpochInput.verify|verify} messages. * @param message MandrakeOpenEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeOpenEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeOpenEpochInput message, length delimited. Does not implicitly {@link waproto.MandrakeOpenEpochInput.verify|verify} messages. * @param message MandrakeOpenEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeOpenEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeOpenEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeOpenEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeOpenEpochInput; /** * Decodes a MandrakeOpenEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeOpenEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeOpenEpochInput; /** * Verifies a MandrakeOpenEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeOpenEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeOpenEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeOpenEpochInput; /** * Creates a plain object from a MandrakeOpenEpochInput message. Also converts values to other types if specified. * @param message MandrakeOpenEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeOpenEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeOpenEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeOpenEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeOpenEpochResult. */ interface IMandrakeOpenEpochResult { /** MandrakeOpenEpochResult success */ success?: (waproto.IMandrakeOpenEpochSuccess|null); /** MandrakeOpenEpochResult errorMessage */ errorMessage?: (string|null); } /** Represents a MandrakeOpenEpochResult. */ class MandrakeOpenEpochResult implements IMandrakeOpenEpochResult { /** * Constructs a new MandrakeOpenEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeOpenEpochResult); /** MandrakeOpenEpochResult success. */ public success?: (waproto.IMandrakeOpenEpochSuccess|null); /** MandrakeOpenEpochResult errorMessage. */ public errorMessage?: (string|null); /** MandrakeOpenEpochResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new MandrakeOpenEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeOpenEpochResult instance */ public static create(properties?: waproto.IMandrakeOpenEpochResult): waproto.MandrakeOpenEpochResult; /** * Encodes the specified MandrakeOpenEpochResult message. Does not implicitly {@link waproto.MandrakeOpenEpochResult.verify|verify} messages. * @param message MandrakeOpenEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeOpenEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeOpenEpochResult message, length delimited. Does not implicitly {@link waproto.MandrakeOpenEpochResult.verify|verify} messages. * @param message MandrakeOpenEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeOpenEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeOpenEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeOpenEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeOpenEpochResult; /** * Decodes a MandrakeOpenEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeOpenEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeOpenEpochResult; /** * Verifies a MandrakeOpenEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeOpenEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeOpenEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeOpenEpochResult; /** * Creates a plain object from a MandrakeOpenEpochResult message. Also converts values to other types if specified. * @param message MandrakeOpenEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeOpenEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeOpenEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeOpenEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeOpenEpochSuccess. */ interface IMandrakeOpenEpochSuccess { /** MandrakeOpenEpochSuccess minosSignedEpoch */ minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); /** MandrakeOpenEpochSuccess signedMmkDistribution */ signedMmkDistribution?: (waproto.ISignedMmkDistributionFromMailbox|null); } /** Represents a MandrakeOpenEpochSuccess. */ class MandrakeOpenEpochSuccess implements IMandrakeOpenEpochSuccess { /** * Constructs a new MandrakeOpenEpochSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeOpenEpochSuccess); /** MandrakeOpenEpochSuccess minosSignedEpoch. */ public minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); /** MandrakeOpenEpochSuccess signedMmkDistribution. */ public signedMmkDistribution?: (waproto.ISignedMmkDistributionFromMailbox|null); /** * Creates a new MandrakeOpenEpochSuccess instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeOpenEpochSuccess instance */ public static create(properties?: waproto.IMandrakeOpenEpochSuccess): waproto.MandrakeOpenEpochSuccess; /** * Encodes the specified MandrakeOpenEpochSuccess message. Does not implicitly {@link waproto.MandrakeOpenEpochSuccess.verify|verify} messages. * @param message MandrakeOpenEpochSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeOpenEpochSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeOpenEpochSuccess message, length delimited. Does not implicitly {@link waproto.MandrakeOpenEpochSuccess.verify|verify} messages. * @param message MandrakeOpenEpochSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeOpenEpochSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeOpenEpochSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeOpenEpochSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeOpenEpochSuccess; /** * Decodes a MandrakeOpenEpochSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeOpenEpochSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeOpenEpochSuccess; /** * Verifies a MandrakeOpenEpochSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeOpenEpochSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeOpenEpochSuccess */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeOpenEpochSuccess; /** * Creates a plain object from a MandrakeOpenEpochSuccess message. Also converts values to other types if specified. * @param message MandrakeOpenEpochSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeOpenEpochSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeOpenEpochSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeOpenEpochSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeOpenInitialEpochInput. */ interface IMandrakeOpenInitialEpochInput { /** MandrakeOpenInitialEpochInput userFbid */ userFbid?: (string|null); /** MandrakeOpenInitialEpochInput epochNumber */ epochNumber?: (number|Long|null); /** MandrakeOpenInitialEpochInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** MandrakeOpenInitialEpochInput detachedDevices */ detachedDevices?: (waproto.IDetachedDevicePublicData[]|null); } /** Represents a MandrakeOpenInitialEpochInput. */ class MandrakeOpenInitialEpochInput implements IMandrakeOpenInitialEpochInput { /** * Constructs a new MandrakeOpenInitialEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeOpenInitialEpochInput); /** MandrakeOpenInitialEpochInput userFbid. */ public userFbid?: (string|null); /** MandrakeOpenInitialEpochInput epochNumber. */ public epochNumber?: (number|Long|null); /** MandrakeOpenInitialEpochInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** MandrakeOpenInitialEpochInput detachedDevices. */ public detachedDevices: waproto.IDetachedDevicePublicData[]; /** * Creates a new MandrakeOpenInitialEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeOpenInitialEpochInput instance */ public static create(properties?: waproto.IMandrakeOpenInitialEpochInput): waproto.MandrakeOpenInitialEpochInput; /** * Encodes the specified MandrakeOpenInitialEpochInput message. Does not implicitly {@link waproto.MandrakeOpenInitialEpochInput.verify|verify} messages. * @param message MandrakeOpenInitialEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeOpenInitialEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeOpenInitialEpochInput message, length delimited. Does not implicitly {@link waproto.MandrakeOpenInitialEpochInput.verify|verify} messages. * @param message MandrakeOpenInitialEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeOpenInitialEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeOpenInitialEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeOpenInitialEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeOpenInitialEpochInput; /** * Decodes a MandrakeOpenInitialEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeOpenInitialEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeOpenInitialEpochInput; /** * Verifies a MandrakeOpenInitialEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeOpenInitialEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeOpenInitialEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeOpenInitialEpochInput; /** * Creates a plain object from a MandrakeOpenInitialEpochInput message. Also converts values to other types if specified. * @param message MandrakeOpenInitialEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeOpenInitialEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeOpenInitialEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeOpenInitialEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeOpenInitialEpochResult. */ interface IMandrakeOpenInitialEpochResult { /** MandrakeOpenInitialEpochResult success */ success?: (waproto.IMandrakeOpenEpochSuccess|null); /** MandrakeOpenInitialEpochResult errorMessage */ errorMessage?: (string|null); } /** Represents a MandrakeOpenInitialEpochResult. */ class MandrakeOpenInitialEpochResult implements IMandrakeOpenInitialEpochResult { /** * Constructs a new MandrakeOpenInitialEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeOpenInitialEpochResult); /** MandrakeOpenInitialEpochResult success. */ public success?: (waproto.IMandrakeOpenEpochSuccess|null); /** MandrakeOpenInitialEpochResult errorMessage. */ public errorMessage?: (string|null); /** MandrakeOpenInitialEpochResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new MandrakeOpenInitialEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeOpenInitialEpochResult instance */ public static create(properties?: waproto.IMandrakeOpenInitialEpochResult): waproto.MandrakeOpenInitialEpochResult; /** * Encodes the specified MandrakeOpenInitialEpochResult message. Does not implicitly {@link waproto.MandrakeOpenInitialEpochResult.verify|verify} messages. * @param message MandrakeOpenInitialEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeOpenInitialEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeOpenInitialEpochResult message, length delimited. Does not implicitly {@link waproto.MandrakeOpenInitialEpochResult.verify|verify} messages. * @param message MandrakeOpenInitialEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeOpenInitialEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeOpenInitialEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeOpenInitialEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeOpenInitialEpochResult; /** * Decodes a MandrakeOpenInitialEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeOpenInitialEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeOpenInitialEpochResult; /** * Verifies a MandrakeOpenInitialEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeOpenInitialEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeOpenInitialEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeOpenInitialEpochResult; /** * Creates a plain object from a MandrakeOpenInitialEpochResult message. Also converts values to other types if specified. * @param message MandrakeOpenInitialEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeOpenInitialEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeOpenInitialEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeOpenInitialEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeValidateNewMmkFromDetachedDeviceInput. */ interface IMandrakeValidateNewMmkFromDetachedDeviceInput { /** MandrakeValidateNewMmkFromDetachedDeviceInput mmkFromDevice */ mmkFromDevice?: (waproto.IMmkFromDetachedDevice|null); /** MandrakeValidateNewMmkFromDetachedDeviceInput signature */ signature?: (Uint8Array|null); /** MandrakeValidateNewMmkFromDetachedDeviceInput prevMmk */ prevMmk?: (waproto.IMessagingMailboxPublicData|null); } /** Represents a MandrakeValidateNewMmkFromDetachedDeviceInput. */ class MandrakeValidateNewMmkFromDetachedDeviceInput implements IMandrakeValidateNewMmkFromDetachedDeviceInput { /** * Constructs a new MandrakeValidateNewMmkFromDetachedDeviceInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput); /** MandrakeValidateNewMmkFromDetachedDeviceInput mmkFromDevice. */ public mmkFromDevice?: (waproto.IMmkFromDetachedDevice|null); /** MandrakeValidateNewMmkFromDetachedDeviceInput signature. */ public signature?: (Uint8Array|null); /** MandrakeValidateNewMmkFromDetachedDeviceInput prevMmk. */ public prevMmk?: (waproto.IMessagingMailboxPublicData|null); /** * Creates a new MandrakeValidateNewMmkFromDetachedDeviceInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeValidateNewMmkFromDetachedDeviceInput instance */ public static create(properties?: waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput): waproto.MandrakeValidateNewMmkFromDetachedDeviceInput; /** * Encodes the specified MandrakeValidateNewMmkFromDetachedDeviceInput message. Does not implicitly {@link waproto.MandrakeValidateNewMmkFromDetachedDeviceInput.verify|verify} messages. * @param message MandrakeValidateNewMmkFromDetachedDeviceInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeValidateNewMmkFromDetachedDeviceInput message, length delimited. Does not implicitly {@link waproto.MandrakeValidateNewMmkFromDetachedDeviceInput.verify|verify} messages. * @param message MandrakeValidateNewMmkFromDetachedDeviceInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeValidateNewMmkFromDetachedDeviceInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeValidateNewMmkFromDetachedDeviceInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeValidateNewMmkFromDetachedDeviceInput; /** * Decodes a MandrakeValidateNewMmkFromDetachedDeviceInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeValidateNewMmkFromDetachedDeviceInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeValidateNewMmkFromDetachedDeviceInput; /** * Verifies a MandrakeValidateNewMmkFromDetachedDeviceInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeValidateNewMmkFromDetachedDeviceInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeValidateNewMmkFromDetachedDeviceInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeValidateNewMmkFromDetachedDeviceInput; /** * Creates a plain object from a MandrakeValidateNewMmkFromDetachedDeviceInput message. Also converts values to other types if specified. * @param message MandrakeValidateNewMmkFromDetachedDeviceInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeValidateNewMmkFromDetachedDeviceInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeValidateNewMmkFromDetachedDeviceInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeValidateNewMmkFromDetachedDeviceInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeValidateNewMmkFromMailboxInput. */ interface IMandrakeValidateNewMmkFromMailboxInput { /** MandrakeValidateNewMmkFromMailboxInput newMmk */ newMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeValidateNewMmkFromMailboxInput signature */ signature?: (Uint8Array|null); /** MandrakeValidateNewMmkFromMailboxInput prevMmk */ prevMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeValidateNewMmkFromMailboxInput epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); } /** Represents a MandrakeValidateNewMmkFromMailboxInput. */ class MandrakeValidateNewMmkFromMailboxInput implements IMandrakeValidateNewMmkFromMailboxInput { /** * Constructs a new MandrakeValidateNewMmkFromMailboxInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeValidateNewMmkFromMailboxInput); /** MandrakeValidateNewMmkFromMailboxInput newMmk. */ public newMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeValidateNewMmkFromMailboxInput signature. */ public signature?: (Uint8Array|null); /** MandrakeValidateNewMmkFromMailboxInput prevMmk. */ public prevMmk?: (waproto.IMessagingMailboxPublicData|null); /** MandrakeValidateNewMmkFromMailboxInput epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** * Creates a new MandrakeValidateNewMmkFromMailboxInput instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeValidateNewMmkFromMailboxInput instance */ public static create(properties?: waproto.IMandrakeValidateNewMmkFromMailboxInput): waproto.MandrakeValidateNewMmkFromMailboxInput; /** * Encodes the specified MandrakeValidateNewMmkFromMailboxInput message. Does not implicitly {@link waproto.MandrakeValidateNewMmkFromMailboxInput.verify|verify} messages. * @param message MandrakeValidateNewMmkFromMailboxInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeValidateNewMmkFromMailboxInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeValidateNewMmkFromMailboxInput message, length delimited. Does not implicitly {@link waproto.MandrakeValidateNewMmkFromMailboxInput.verify|verify} messages. * @param message MandrakeValidateNewMmkFromMailboxInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeValidateNewMmkFromMailboxInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeValidateNewMmkFromMailboxInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeValidateNewMmkFromMailboxInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeValidateNewMmkFromMailboxInput; /** * Decodes a MandrakeValidateNewMmkFromMailboxInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeValidateNewMmkFromMailboxInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeValidateNewMmkFromMailboxInput; /** * Verifies a MandrakeValidateNewMmkFromMailboxInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeValidateNewMmkFromMailboxInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeValidateNewMmkFromMailboxInput */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeValidateNewMmkFromMailboxInput; /** * Creates a plain object from a MandrakeValidateNewMmkFromMailboxInput message. Also converts values to other types if specified. * @param message MandrakeValidateNewMmkFromMailboxInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeValidateNewMmkFromMailboxInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeValidateNewMmkFromMailboxInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeValidateNewMmkFromMailboxInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MandrakeValidateNewMmkResult. */ interface IMandrakeValidateNewMmkResult { /** MandrakeValidateNewMmkResult valid */ valid?: (boolean|null); /** MandrakeValidateNewMmkResult errorMessage */ errorMessage?: (string|null); } /** Represents a MandrakeValidateNewMmkResult. */ class MandrakeValidateNewMmkResult implements IMandrakeValidateNewMmkResult { /** * Constructs a new MandrakeValidateNewMmkResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMandrakeValidateNewMmkResult); /** MandrakeValidateNewMmkResult valid. */ public valid?: (boolean|null); /** MandrakeValidateNewMmkResult errorMessage. */ public errorMessage?: (string|null); /** MandrakeValidateNewMmkResult result. */ public result?: ("valid"|"errorMessage"); /** * Creates a new MandrakeValidateNewMmkResult instance using the specified properties. * @param [properties] Properties to set * @returns MandrakeValidateNewMmkResult instance */ public static create(properties?: waproto.IMandrakeValidateNewMmkResult): waproto.MandrakeValidateNewMmkResult; /** * Encodes the specified MandrakeValidateNewMmkResult message. Does not implicitly {@link waproto.MandrakeValidateNewMmkResult.verify|verify} messages. * @param message MandrakeValidateNewMmkResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMandrakeValidateNewMmkResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MandrakeValidateNewMmkResult message, length delimited. Does not implicitly {@link waproto.MandrakeValidateNewMmkResult.verify|verify} messages. * @param message MandrakeValidateNewMmkResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMandrakeValidateNewMmkResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MandrakeValidateNewMmkResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MandrakeValidateNewMmkResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MandrakeValidateNewMmkResult; /** * Decodes a MandrakeValidateNewMmkResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MandrakeValidateNewMmkResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MandrakeValidateNewMmkResult; /** * Verifies a MandrakeValidateNewMmkResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MandrakeValidateNewMmkResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MandrakeValidateNewMmkResult */ public static fromObject(object: { [k: string]: any }): waproto.MandrakeValidateNewMmkResult; /** * Creates a plain object from a MandrakeValidateNewMmkResult message. Also converts values to other types if specified. * @param message MandrakeValidateNewMmkResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MandrakeValidateNewMmkResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MandrakeValidateNewMmkResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MandrakeValidateNewMmkResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaBackupSchemaProto. */ interface IMediaBackupSchemaProto { /** MediaBackupSchemaProto mediaBackupId */ mediaBackupId?: (number|null); /** MediaBackupSchemaProto mediaId */ mediaId?: (number|null); /** MediaBackupSchemaProto objectId */ objectId?: (string|null); /** MediaBackupSchemaProto msgId */ msgId?: (string|null); /** MediaBackupSchemaProto fbid */ fbid?: (string|null); } /** Represents a MediaBackupSchemaProto. */ class MediaBackupSchemaProto implements IMediaBackupSchemaProto { /** * Constructs a new MediaBackupSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaBackupSchemaProto); /** MediaBackupSchemaProto mediaBackupId. */ public mediaBackupId?: (number|null); /** MediaBackupSchemaProto mediaId. */ public mediaId?: (number|null); /** MediaBackupSchemaProto objectId. */ public objectId?: (string|null); /** MediaBackupSchemaProto msgId. */ public msgId?: (string|null); /** MediaBackupSchemaProto fbid. */ public fbid?: (string|null); /** * Creates a new MediaBackupSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns MediaBackupSchemaProto instance */ public static create(properties?: waproto.IMediaBackupSchemaProto): waproto.MediaBackupSchemaProto; /** * Encodes the specified MediaBackupSchemaProto message. Does not implicitly {@link waproto.MediaBackupSchemaProto.verify|verify} messages. * @param message MediaBackupSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaBackupSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaBackupSchemaProto message, length delimited. Does not implicitly {@link waproto.MediaBackupSchemaProto.verify|verify} messages. * @param message MediaBackupSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaBackupSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaBackupSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaBackupSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaBackupSchemaProto; /** * Decodes a MediaBackupSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaBackupSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaBackupSchemaProto; /** * Verifies a MediaBackupSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaBackupSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaBackupSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.MediaBackupSchemaProto; /** * Creates a plain object from a MediaBackupSchemaProto message. Also converts values to other types if specified. * @param message MediaBackupSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaBackupSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaBackupSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaBackupSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaData. */ interface IMediaData { /** MediaData localPath */ localPath?: (string|null); } /** Represents a MediaData. */ class MediaData implements IMediaData { /** * Constructs a new MediaData. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaData); /** MediaData localPath. */ public localPath?: (string|null); /** * Creates a new MediaData instance using the specified properties. * @param [properties] Properties to set * @returns MediaData instance */ public static create(properties?: waproto.IMediaData): waproto.MediaData; /** * Encodes the specified MediaData message. Does not implicitly {@link waproto.MediaData.verify|verify} messages. * @param message MediaData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaData message, length delimited. Does not implicitly {@link waproto.MediaData.verify|verify} messages. * @param message MediaData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaData; /** * Decodes a MediaData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaData; /** * Verifies a MediaData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaData */ public static fromObject(object: { [k: string]: any }): waproto.MediaData; /** * Creates a plain object from a MediaData message. Also converts values to other types if specified. * @param message MediaData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaDomainInfo. */ interface IMediaDomainInfo { /** MediaDomainInfo mediaKeyDomain */ mediaKeyDomain?: (waproto.MediaKeyDomain|null); /** MediaDomainInfo e2EeMediaKey */ e2EeMediaKey?: (Uint8Array|null); } /** Represents a MediaDomainInfo. */ class MediaDomainInfo implements IMediaDomainInfo { /** * Constructs a new MediaDomainInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaDomainInfo); /** MediaDomainInfo mediaKeyDomain. */ public mediaKeyDomain?: (waproto.MediaKeyDomain|null); /** MediaDomainInfo e2EeMediaKey. */ public e2EeMediaKey?: (Uint8Array|null); /** * Creates a new MediaDomainInfo instance using the specified properties. * @param [properties] Properties to set * @returns MediaDomainInfo instance */ public static create(properties?: waproto.IMediaDomainInfo): waproto.MediaDomainInfo; /** * Encodes the specified MediaDomainInfo message. Does not implicitly {@link waproto.MediaDomainInfo.verify|verify} messages. * @param message MediaDomainInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaDomainInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaDomainInfo message, length delimited. Does not implicitly {@link waproto.MediaDomainInfo.verify|verify} messages. * @param message MediaDomainInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaDomainInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaDomainInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaDomainInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaDomainInfo; /** * Decodes a MediaDomainInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaDomainInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaDomainInfo; /** * Verifies a MediaDomainInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaDomainInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaDomainInfo */ public static fromObject(object: { [k: string]: any }): waproto.MediaDomainInfo; /** * Creates a plain object from a MediaDomainInfo message. Also converts values to other types if specified. * @param message MediaDomainInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaDomainInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaDomainInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaDomainInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaEntriesProto. */ interface IMediaEntriesProto { /** MediaEntriesProto msgId */ msgId?: (string|null); /** MediaEntriesProto mediaEntryData */ mediaEntryData?: (Uint8Array|null); } /** Represents a MediaEntriesProto. */ class MediaEntriesProto implements IMediaEntriesProto { /** * Constructs a new MediaEntriesProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaEntriesProto); /** MediaEntriesProto msgId. */ public msgId?: (string|null); /** MediaEntriesProto mediaEntryData. */ public mediaEntryData?: (Uint8Array|null); /** * Creates a new MediaEntriesProto instance using the specified properties. * @param [properties] Properties to set * @returns MediaEntriesProto instance */ public static create(properties?: waproto.IMediaEntriesProto): waproto.MediaEntriesProto; /** * Encodes the specified MediaEntriesProto message. Does not implicitly {@link waproto.MediaEntriesProto.verify|verify} messages. * @param message MediaEntriesProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaEntriesProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaEntriesProto message, length delimited. Does not implicitly {@link waproto.MediaEntriesProto.verify|verify} messages. * @param message MediaEntriesProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaEntriesProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaEntriesProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaEntriesProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaEntriesProto; /** * Decodes a MediaEntriesProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaEntriesProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaEntriesProto; /** * Verifies a MediaEntriesProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaEntriesProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaEntriesProto */ public static fromObject(object: { [k: string]: any }): waproto.MediaEntriesProto; /** * Creates a plain object from a MediaEntriesProto message. Also converts values to other types if specified. * @param message MediaEntriesProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaEntriesProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaEntriesProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaEntriesProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaEntry. */ interface IMediaEntry { /** MediaEntry fileSha256 */ fileSha256?: (Uint8Array|null); /** MediaEntry mediaKey */ mediaKey?: (Uint8Array|null); /** MediaEntry fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** MediaEntry directPath */ directPath?: (string|null); /** MediaEntry mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** MediaEntry serverMediaType */ serverMediaType?: (string|null); /** MediaEntry uploadToken */ uploadToken?: (Uint8Array|null); /** MediaEntry validatedTimestamp */ validatedTimestamp?: (Uint8Array|null); /** MediaEntry sidecar */ sidecar?: (Uint8Array|null); /** MediaEntry objectId */ objectId?: (string|null); /** MediaEntry fbid */ fbid?: (string|null); /** MediaEntry downloadableThumbnail */ downloadableThumbnail?: (waproto.MediaEntry.IDownloadableThumbnail|null); /** MediaEntry handle */ handle?: (string|null); /** MediaEntry filename */ filename?: (string|null); /** MediaEntry progressiveJpegDetails */ progressiveJpegDetails?: (waproto.MediaEntry.IProgressiveJpegDetails|null); /** MediaEntry size */ size?: (number|Long|null); /** MediaEntry lastDownloadAttemptTimestamp */ lastDownloadAttemptTimestamp?: (number|Long|null); } /** Represents a MediaEntry. */ class MediaEntry implements IMediaEntry { /** * Constructs a new MediaEntry. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaEntry); /** MediaEntry fileSha256. */ public fileSha256?: (Uint8Array|null); /** MediaEntry mediaKey. */ public mediaKey?: (Uint8Array|null); /** MediaEntry fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** MediaEntry directPath. */ public directPath?: (string|null); /** MediaEntry mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** MediaEntry serverMediaType. */ public serverMediaType?: (string|null); /** MediaEntry uploadToken. */ public uploadToken?: (Uint8Array|null); /** MediaEntry validatedTimestamp. */ public validatedTimestamp?: (Uint8Array|null); /** MediaEntry sidecar. */ public sidecar?: (Uint8Array|null); /** MediaEntry objectId. */ public objectId?: (string|null); /** MediaEntry fbid. */ public fbid?: (string|null); /** MediaEntry downloadableThumbnail. */ public downloadableThumbnail?: (waproto.MediaEntry.IDownloadableThumbnail|null); /** MediaEntry handle. */ public handle?: (string|null); /** MediaEntry filename. */ public filename?: (string|null); /** MediaEntry progressiveJpegDetails. */ public progressiveJpegDetails?: (waproto.MediaEntry.IProgressiveJpegDetails|null); /** MediaEntry size. */ public size?: (number|Long|null); /** MediaEntry lastDownloadAttemptTimestamp. */ public lastDownloadAttemptTimestamp?: (number|Long|null); /** * Creates a new MediaEntry instance using the specified properties. * @param [properties] Properties to set * @returns MediaEntry instance */ public static create(properties?: waproto.IMediaEntry): waproto.MediaEntry; /** * Encodes the specified MediaEntry message. Does not implicitly {@link waproto.MediaEntry.verify|verify} messages. * @param message MediaEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaEntry message, length delimited. Does not implicitly {@link waproto.MediaEntry.verify|verify} messages. * @param message MediaEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaEntry; /** * Decodes a MediaEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaEntry; /** * Verifies a MediaEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaEntry */ public static fromObject(object: { [k: string]: any }): waproto.MediaEntry; /** * Creates a plain object from a MediaEntry message. Also converts values to other types if specified. * @param message MediaEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaEntry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MediaEntry { /** Properties of a ProgressiveJpegDetails. */ interface IProgressiveJpegDetails { /** ProgressiveJpegDetails scanLengths */ scanLengths?: (number[]|null); /** ProgressiveJpegDetails sidecar */ sidecar?: (Uint8Array|null); } /** Represents a ProgressiveJpegDetails. */ class ProgressiveJpegDetails implements IProgressiveJpegDetails { /** * Constructs a new ProgressiveJpegDetails. * @param [properties] Properties to set */ constructor(properties?: waproto.MediaEntry.IProgressiveJpegDetails); /** ProgressiveJpegDetails scanLengths. */ public scanLengths: number[]; /** ProgressiveJpegDetails sidecar. */ public sidecar?: (Uint8Array|null); /** * Creates a new ProgressiveJpegDetails instance using the specified properties. * @param [properties] Properties to set * @returns ProgressiveJpegDetails instance */ public static create(properties?: waproto.MediaEntry.IProgressiveJpegDetails): waproto.MediaEntry.ProgressiveJpegDetails; /** * Encodes the specified ProgressiveJpegDetails message. Does not implicitly {@link waproto.MediaEntry.ProgressiveJpegDetails.verify|verify} messages. * @param message ProgressiveJpegDetails message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MediaEntry.IProgressiveJpegDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProgressiveJpegDetails message, length delimited. Does not implicitly {@link waproto.MediaEntry.ProgressiveJpegDetails.verify|verify} messages. * @param message ProgressiveJpegDetails message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MediaEntry.IProgressiveJpegDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProgressiveJpegDetails message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProgressiveJpegDetails * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaEntry.ProgressiveJpegDetails; /** * Decodes a ProgressiveJpegDetails message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProgressiveJpegDetails * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaEntry.ProgressiveJpegDetails; /** * Verifies a ProgressiveJpegDetails message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProgressiveJpegDetails message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProgressiveJpegDetails */ public static fromObject(object: { [k: string]: any }): waproto.MediaEntry.ProgressiveJpegDetails; /** * Creates a plain object from a ProgressiveJpegDetails message. Also converts values to other types if specified. * @param message ProgressiveJpegDetails * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaEntry.ProgressiveJpegDetails, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProgressiveJpegDetails to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProgressiveJpegDetails * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DownloadableThumbnail. */ interface IDownloadableThumbnail { /** DownloadableThumbnail fileSha256 */ fileSha256?: (Uint8Array|null); /** DownloadableThumbnail fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** DownloadableThumbnail directPath */ directPath?: (string|null); /** DownloadableThumbnail mediaKey */ mediaKey?: (Uint8Array|null); /** DownloadableThumbnail mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** DownloadableThumbnail objectId */ objectId?: (string|null); } /** Represents a DownloadableThumbnail. */ class DownloadableThumbnail implements IDownloadableThumbnail { /** * Constructs a new DownloadableThumbnail. * @param [properties] Properties to set */ constructor(properties?: waproto.MediaEntry.IDownloadableThumbnail); /** DownloadableThumbnail fileSha256. */ public fileSha256?: (Uint8Array|null); /** DownloadableThumbnail fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** DownloadableThumbnail directPath. */ public directPath?: (string|null); /** DownloadableThumbnail mediaKey. */ public mediaKey?: (Uint8Array|null); /** DownloadableThumbnail mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** DownloadableThumbnail objectId. */ public objectId?: (string|null); /** * Creates a new DownloadableThumbnail instance using the specified properties. * @param [properties] Properties to set * @returns DownloadableThumbnail instance */ public static create(properties?: waproto.MediaEntry.IDownloadableThumbnail): waproto.MediaEntry.DownloadableThumbnail; /** * Encodes the specified DownloadableThumbnail message. Does not implicitly {@link waproto.MediaEntry.DownloadableThumbnail.verify|verify} messages. * @param message DownloadableThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MediaEntry.IDownloadableThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DownloadableThumbnail message, length delimited. Does not implicitly {@link waproto.MediaEntry.DownloadableThumbnail.verify|verify} messages. * @param message DownloadableThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MediaEntry.IDownloadableThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DownloadableThumbnail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DownloadableThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaEntry.DownloadableThumbnail; /** * Decodes a DownloadableThumbnail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DownloadableThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaEntry.DownloadableThumbnail; /** * Verifies a DownloadableThumbnail message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DownloadableThumbnail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DownloadableThumbnail */ public static fromObject(object: { [k: string]: any }): waproto.MediaEntry.DownloadableThumbnail; /** * Creates a plain object from a DownloadableThumbnail message. Also converts values to other types if specified. * @param message DownloadableThumbnail * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaEntry.DownloadableThumbnail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DownloadableThumbnail to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DownloadableThumbnail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MediaNotifyMessage. */ interface IMediaNotifyMessage { /** MediaNotifyMessage expressPathUrl */ expressPathUrl?: (string|null); /** MediaNotifyMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** MediaNotifyMessage fileLength */ fileLength?: (number|Long|null); } /** Represents a MediaNotifyMessage. */ class MediaNotifyMessage implements IMediaNotifyMessage { /** * Constructs a new MediaNotifyMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaNotifyMessage); /** MediaNotifyMessage expressPathUrl. */ public expressPathUrl?: (string|null); /** MediaNotifyMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** MediaNotifyMessage fileLength. */ public fileLength?: (number|Long|null); /** * Creates a new MediaNotifyMessage instance using the specified properties. * @param [properties] Properties to set * @returns MediaNotifyMessage instance */ public static create(properties?: waproto.IMediaNotifyMessage): waproto.MediaNotifyMessage; /** * Encodes the specified MediaNotifyMessage message. Does not implicitly {@link waproto.MediaNotifyMessage.verify|verify} messages. * @param message MediaNotifyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaNotifyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaNotifyMessage message, length delimited. Does not implicitly {@link waproto.MediaNotifyMessage.verify|verify} messages. * @param message MediaNotifyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaNotifyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaNotifyMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaNotifyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaNotifyMessage; /** * Decodes a MediaNotifyMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaNotifyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaNotifyMessage; /** * Verifies a MediaNotifyMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaNotifyMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaNotifyMessage */ public static fromObject(object: { [k: string]: any }): waproto.MediaNotifyMessage; /** * Creates a plain object from a MediaNotifyMessage message. Also converts values to other types if specified. * @param message MediaNotifyMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaNotifyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaNotifyMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaNotifyMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MediaRetryNotification. */ interface IMediaRetryNotification { /** MediaRetryNotification stanzaId */ stanzaId?: (string|null); /** MediaRetryNotification directPath */ directPath?: (string|null); /** MediaRetryNotification result */ result?: (waproto.MediaRetryNotification.ResultType|null); /** MediaRetryNotification messageSecret */ messageSecret?: (Uint8Array|null); } /** Represents a MediaRetryNotification. */ class MediaRetryNotification implements IMediaRetryNotification { /** * Constructs a new MediaRetryNotification. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaRetryNotification); /** MediaRetryNotification stanzaId. */ public stanzaId?: (string|null); /** MediaRetryNotification directPath. */ public directPath?: (string|null); /** MediaRetryNotification result. */ public result?: (waproto.MediaRetryNotification.ResultType|null); /** MediaRetryNotification messageSecret. */ public messageSecret?: (Uint8Array|null); /** * Creates a new MediaRetryNotification instance using the specified properties. * @param [properties] Properties to set * @returns MediaRetryNotification instance */ public static create(properties?: waproto.IMediaRetryNotification): waproto.MediaRetryNotification; /** * Encodes the specified MediaRetryNotification message. Does not implicitly {@link waproto.MediaRetryNotification.verify|verify} messages. * @param message MediaRetryNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaRetryNotification message, length delimited. Does not implicitly {@link waproto.MediaRetryNotification.verify|verify} messages. * @param message MediaRetryNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaRetryNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaRetryNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaRetryNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaRetryNotification; /** * Decodes a MediaRetryNotification message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaRetryNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaRetryNotification; /** * Verifies a MediaRetryNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaRetryNotification message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaRetryNotification */ public static fromObject(object: { [k: string]: any }): waproto.MediaRetryNotification; /** * Creates a plain object from a MediaRetryNotification message. Also converts values to other types if specified. * @param message MediaRetryNotification * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaRetryNotification, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaRetryNotification to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaRetryNotification * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MediaRetryNotification { /** ResultType enum. */ enum ResultType { GENERAL_ERROR = 0, SUCCESS = 1, NOT_FOUND = 2, DECRYPTION_ERROR = 3 } } /** Properties of a MediaTableSchemaProto. */ interface IMediaTableSchemaProto { /** MediaTableSchemaProto mediaType */ mediaType?: (string|null); /** MediaTableSchemaProto plaintextHash */ plaintextHash?: (string|null); /** MediaTableSchemaProto size */ size?: (number|Long|null); /** MediaTableSchemaProto mediaEntries */ mediaEntries?: (waproto.IMediaEntriesProto[]|null); /** MediaTableSchemaProto ts */ ts?: (number|Long|null); /** MediaTableSchemaProto validatedVideoInfo */ validatedVideoInfo?: (waproto.IVideoMsgContentProto|null); /** MediaTableSchemaProto validatedImageInfo */ validatedImageInfo?: (waproto.IImageMsgContentProto|null); /** MediaTableSchemaProto validatedAudioInfo */ validatedAudioInfo?: (waproto.IAudioMsgContentProto|null); /** MediaTableSchemaProto hashedPlaintextHash */ hashedPlaintextHash?: (string|null); /** MediaTableSchemaProto mediaId */ mediaId?: (number|null); /** MediaTableSchemaProto msgIds */ msgIds?: (string[]|null); /** MediaTableSchemaProto objectId */ objectId?: (string|null); /** MediaTableSchemaProto fbid */ fbid?: (string|null); /** MediaTableSchemaProto validatedDocumentFileInfo */ validatedDocumentFileInfo?: (waproto.IDocumentFileMsgContentProto|null); /** MediaTableSchemaProto validatedResult */ validatedResult?: (waproto.IValidatedResult|null); /** MediaTableSchemaProto accessibilitySummaryText */ accessibilitySummaryText?: (string|null); /** MediaTableSchemaProto isVideoGif */ isVideoGif?: (boolean|null); } /** Represents a MediaTableSchemaProto. */ class MediaTableSchemaProto implements IMediaTableSchemaProto { /** * Constructs a new MediaTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMediaTableSchemaProto); /** MediaTableSchemaProto mediaType. */ public mediaType?: (string|null); /** MediaTableSchemaProto plaintextHash. */ public plaintextHash?: (string|null); /** MediaTableSchemaProto size. */ public size?: (number|Long|null); /** MediaTableSchemaProto mediaEntries. */ public mediaEntries: waproto.IMediaEntriesProto[]; /** MediaTableSchemaProto ts. */ public ts?: (number|Long|null); /** MediaTableSchemaProto validatedVideoInfo. */ public validatedVideoInfo?: (waproto.IVideoMsgContentProto|null); /** MediaTableSchemaProto validatedImageInfo. */ public validatedImageInfo?: (waproto.IImageMsgContentProto|null); /** MediaTableSchemaProto validatedAudioInfo. */ public validatedAudioInfo?: (waproto.IAudioMsgContentProto|null); /** MediaTableSchemaProto hashedPlaintextHash. */ public hashedPlaintextHash?: (string|null); /** MediaTableSchemaProto mediaId. */ public mediaId?: (number|null); /** MediaTableSchemaProto msgIds. */ public msgIds: string[]; /** MediaTableSchemaProto objectId. */ public objectId?: (string|null); /** MediaTableSchemaProto fbid. */ public fbid?: (string|null); /** MediaTableSchemaProto validatedDocumentFileInfo. */ public validatedDocumentFileInfo?: (waproto.IDocumentFileMsgContentProto|null); /** MediaTableSchemaProto validatedResult. */ public validatedResult?: (waproto.IValidatedResult|null); /** MediaTableSchemaProto accessibilitySummaryText. */ public accessibilitySummaryText?: (string|null); /** MediaTableSchemaProto isVideoGif. */ public isVideoGif?: (boolean|null); /** * Creates a new MediaTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns MediaTableSchemaProto instance */ public static create(properties?: waproto.IMediaTableSchemaProto): waproto.MediaTableSchemaProto; /** * Encodes the specified MediaTableSchemaProto message. Does not implicitly {@link waproto.MediaTableSchemaProto.verify|verify} messages. * @param message MediaTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMediaTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaTableSchemaProto message, length delimited. Does not implicitly {@link waproto.MediaTableSchemaProto.verify|verify} messages. * @param message MediaTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMediaTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MediaTableSchemaProto; /** * Decodes a MediaTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MediaTableSchemaProto; /** * Verifies a MediaTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.MediaTableSchemaProto; /** * Creates a plain object from a MediaTableSchemaProto message. Also converts values to other types if specified. * @param message MediaTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MediaTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MekBundle. */ interface IMekBundle { /** MekBundle key */ key?: (Uint8Array|null); /** MekBundle mekId */ mekId?: (Uint8Array|null); /** MekBundle rosterHash */ rosterHash?: (Uint8Array|null); } /** Represents a MekBundle. */ class MekBundle implements IMekBundle { /** * Constructs a new MekBundle. * @param [properties] Properties to set */ constructor(properties?: waproto.IMekBundle); /** MekBundle key. */ public key?: (Uint8Array|null); /** MekBundle mekId. */ public mekId?: (Uint8Array|null); /** MekBundle rosterHash. */ public rosterHash?: (Uint8Array|null); /** * Creates a new MekBundle instance using the specified properties. * @param [properties] Properties to set * @returns MekBundle instance */ public static create(properties?: waproto.IMekBundle): waproto.MekBundle; /** * Encodes the specified MekBundle message. Does not implicitly {@link waproto.MekBundle.verify|verify} messages. * @param message MekBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMekBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MekBundle message, length delimited. Does not implicitly {@link waproto.MekBundle.verify|verify} messages. * @param message MekBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMekBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MekBundle message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MekBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MekBundle; /** * Decodes a MekBundle message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MekBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MekBundle; /** * Verifies a MekBundle message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MekBundle message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MekBundle */ public static fromObject(object: { [k: string]: any }): waproto.MekBundle; /** * Creates a plain object from a MekBundle message. Also converts values to other types if specified. * @param message MekBundle * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MekBundle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MekBundle to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MekBundle * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MemberLabel. */ interface IMemberLabel { /** MemberLabel label */ label?: (string|null); /** MemberLabel labelTimestamp */ labelTimestamp?: (number|Long|null); } /** Represents a MemberLabel. */ class MemberLabel implements IMemberLabel { /** * Constructs a new MemberLabel. * @param [properties] Properties to set */ constructor(properties?: waproto.IMemberLabel); /** MemberLabel label. */ public label?: (string|null); /** MemberLabel labelTimestamp. */ public labelTimestamp?: (number|Long|null); /** * Creates a new MemberLabel instance using the specified properties. * @param [properties] Properties to set * @returns MemberLabel instance */ public static create(properties?: waproto.IMemberLabel): waproto.MemberLabel; /** * Encodes the specified MemberLabel message. Does not implicitly {@link waproto.MemberLabel.verify|verify} messages. * @param message MemberLabel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MemberLabel message, length delimited. Does not implicitly {@link waproto.MemberLabel.verify|verify} messages. * @param message MemberLabel message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMemberLabel, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MemberLabel message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MemberLabel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MemberLabel; /** * Decodes a MemberLabel message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MemberLabel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MemberLabel; /** * Verifies a MemberLabel message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MemberLabel message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MemberLabel */ public static fromObject(object: { [k: string]: any }): waproto.MemberLabel; /** * Creates a plain object from a MemberLabel message. Also converts values to other types if specified. * @param message MemberLabel * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MemberLabel, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MemberLabel to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MemberLabel * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Mention. */ interface IMention { /** Mention mentionType */ mentionType?: (waproto.MENTION_MENTION_TYPE|null); /** Mention mentionedJid */ mentionedJid?: (string|null); /** Mention offset */ offset?: (number|null); /** Mention length */ length?: (number|null); } /** Represents a Mention. */ class Mention implements IMention { /** * Constructs a new Mention. * @param [properties] Properties to set */ constructor(properties?: waproto.IMention); /** Mention mentionType. */ public mentionType?: (waproto.MENTION_MENTION_TYPE|null); /** Mention mentionedJid. */ public mentionedJid?: (string|null); /** Mention offset. */ public offset?: (number|null); /** Mention length. */ public length?: (number|null); /** * Creates a new Mention instance using the specified properties. * @param [properties] Properties to set * @returns Mention instance */ public static create(properties?: waproto.IMention): waproto.Mention; /** * Encodes the specified Mention message. Does not implicitly {@link waproto.Mention.verify|verify} messages. * @param message Mention message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMention, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Mention message, length delimited. Does not implicitly {@link waproto.Mention.verify|verify} messages. * @param message Mention message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMention, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Mention message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Mention * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Mention; /** * Decodes a Mention message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Mention * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Mention; /** * Verifies a Mention message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Mention message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Mention */ public static fromObject(object: { [k: string]: any }): waproto.Mention; /** * Creates a plain object from a Mention message. Also converts values to other types if specified. * @param message Mention * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Mention, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Mention to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Mention * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MerkleMembershipProof. */ interface IMerkleMembershipProof { /** MerkleMembershipProof proof */ proof?: (Uint8Array|null); /** MerkleMembershipProof root */ root?: (Uint8Array|null); /** MerkleMembershipProof leafIndex */ leafIndex?: (number|Long|null); /** MerkleMembershipProof totalLeaves */ totalLeaves?: (number|Long|null); } /** Represents a MerkleMembershipProof. */ class MerkleMembershipProof implements IMerkleMembershipProof { /** * Constructs a new MerkleMembershipProof. * @param [properties] Properties to set */ constructor(properties?: waproto.IMerkleMembershipProof); /** MerkleMembershipProof proof. */ public proof?: (Uint8Array|null); /** MerkleMembershipProof root. */ public root?: (Uint8Array|null); /** MerkleMembershipProof leafIndex. */ public leafIndex?: (number|Long|null); /** MerkleMembershipProof totalLeaves. */ public totalLeaves?: (number|Long|null); /** * Creates a new MerkleMembershipProof instance using the specified properties. * @param [properties] Properties to set * @returns MerkleMembershipProof instance */ public static create(properties?: waproto.IMerkleMembershipProof): waproto.MerkleMembershipProof; /** * Encodes the specified MerkleMembershipProof message. Does not implicitly {@link waproto.MerkleMembershipProof.verify|verify} messages. * @param message MerkleMembershipProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMerkleMembershipProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MerkleMembershipProof message, length delimited. Does not implicitly {@link waproto.MerkleMembershipProof.verify|verify} messages. * @param message MerkleMembershipProof message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMerkleMembershipProof, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MerkleMembershipProof message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MerkleMembershipProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MerkleMembershipProof; /** * Decodes a MerkleMembershipProof message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MerkleMembershipProof * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MerkleMembershipProof; /** * Verifies a MerkleMembershipProof message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MerkleMembershipProof message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MerkleMembershipProof */ public static fromObject(object: { [k: string]: any }): waproto.MerkleMembershipProof; /** * Creates a plain object from a MerkleMembershipProof message. Also converts values to other types if specified. * @param message MerkleMembershipProof * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MerkleMembershipProof, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MerkleMembershipProof to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MerkleMembershipProof * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Message. */ interface IMessage { /** Message conversation */ conversation?: (string|null); /** Message senderKeyDistributionMessage */ senderKeyDistributionMessage?: (waproto.Message.ISenderKeyDistributionMessage|null); /** Message imageMessage */ imageMessage?: (waproto.Message.IImageMessage|null); /** Message contactMessage */ contactMessage?: (waproto.Message.IContactMessage|null); /** Message locationMessage */ locationMessage?: (waproto.Message.ILocationMessage|null); /** Message extendedTextMessage */ extendedTextMessage?: (waproto.Message.IExtendedTextMessage|null); /** Message documentMessage */ documentMessage?: (waproto.Message.IDocumentMessage|null); /** Message audioMessage */ audioMessage?: (waproto.Message.IAudioMessage|null); /** Message videoMessage */ videoMessage?: (waproto.Message.IVideoMessage|null); /** Message call */ call?: (waproto.Message.ICall|null); /** Message chat */ chat?: (waproto.Message.IChat|null); /** Message protocolMessage */ protocolMessage?: (waproto.Message.IProtocolMessage|null); /** Message contactsArrayMessage */ contactsArrayMessage?: (waproto.Message.IContactsArrayMessage|null); /** Message highlyStructuredMessage */ highlyStructuredMessage?: (waproto.Message.IHighlyStructuredMessage|null); /** Message fastRatchetKeySenderKeyDistributionMessage */ fastRatchetKeySenderKeyDistributionMessage?: (waproto.Message.ISenderKeyDistributionMessage|null); /** Message sendPaymentMessage */ sendPaymentMessage?: (waproto.Message.ISendPaymentMessage|null); /** Message liveLocationMessage */ liveLocationMessage?: (waproto.Message.ILiveLocationMessage|null); /** Message requestPaymentMessage */ requestPaymentMessage?: (waproto.Message.IRequestPaymentMessage|null); /** Message declinePaymentRequestMessage */ declinePaymentRequestMessage?: (waproto.Message.IDeclinePaymentRequestMessage|null); /** Message cancelPaymentRequestMessage */ cancelPaymentRequestMessage?: (waproto.Message.ICancelPaymentRequestMessage|null); /** Message templateMessage */ templateMessage?: (waproto.Message.ITemplateMessage|null); /** Message stickerMessage */ stickerMessage?: (waproto.Message.IStickerMessage|null); /** Message groupInviteMessage */ groupInviteMessage?: (waproto.Message.IGroupInviteMessage|null); /** Message templateButtonReplyMessage */ templateButtonReplyMessage?: (waproto.Message.ITemplateButtonReplyMessage|null); /** Message productMessage */ productMessage?: (waproto.Message.IProductMessage|null); /** Message deviceSentMessage */ deviceSentMessage?: (waproto.Message.IDeviceSentMessage|null); /** Message messageContextInfo */ messageContextInfo?: (waproto.IMessageContextInfo|null); /** Message listMessage */ listMessage?: (waproto.Message.IListMessage|null); /** Message viewOnceMessage */ viewOnceMessage?: (waproto.Message.IFutureProofMessage|null); /** Message orderMessage */ orderMessage?: (waproto.Message.IOrderMessage|null); /** Message listResponseMessage */ listResponseMessage?: (waproto.Message.IListResponseMessage|null); /** Message ephemeralMessage */ ephemeralMessage?: (waproto.Message.IFutureProofMessage|null); /** Message invoiceMessage */ invoiceMessage?: (waproto.Message.IInvoiceMessage|null); /** Message buttonsMessage */ buttonsMessage?: (waproto.Message.IButtonsMessage|null); /** Message buttonsResponseMessage */ buttonsResponseMessage?: (waproto.Message.IButtonsResponseMessage|null); /** Message paymentInviteMessage */ paymentInviteMessage?: (waproto.Message.IPaymentInviteMessage|null); /** Message interactiveMessage */ interactiveMessage?: (waproto.Message.IInteractiveMessage|null); /** Message reactionMessage */ reactionMessage?: (waproto.Message.IReactionMessage|null); /** Message stickerSyncRmrMessage */ stickerSyncRmrMessage?: (waproto.Message.IStickerSyncRMRMessage|null); /** Message interactiveResponseMessage */ interactiveResponseMessage?: (waproto.Message.IInteractiveResponseMessage|null); /** Message pollCreationMessage */ pollCreationMessage?: (waproto.Message.IPollCreationMessage|null); /** Message pollUpdateMessage */ pollUpdateMessage?: (waproto.Message.IPollUpdateMessage|null); /** Message keepInChatMessage */ keepInChatMessage?: (waproto.Message.IKeepInChatMessage|null); /** Message documentWithCaptionMessage */ documentWithCaptionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message requestPhoneNumberMessage */ requestPhoneNumberMessage?: (waproto.Message.IRequestPhoneNumberMessage|null); /** Message viewOnceMessageV2 */ viewOnceMessageV2?: (waproto.Message.IFutureProofMessage|null); /** Message encReactionMessage */ encReactionMessage?: (waproto.Message.IEncReactionMessage|null); /** Message editedMessage */ editedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message viewOnceMessageV2Extension */ viewOnceMessageV2Extension?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV2 */ pollCreationMessageV2?: (waproto.Message.IPollCreationMessage|null); /** Message scheduledCallCreationMessage */ scheduledCallCreationMessage?: (waproto.Message.IScheduledCallCreationMessage|null); /** Message groupMentionedMessage */ groupMentionedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pinInChatMessage */ pinInChatMessage?: (waproto.Message.IPinInChatMessage|null); /** Message pollCreationMessageV3 */ pollCreationMessageV3?: (waproto.Message.IPollCreationMessage|null); /** Message scheduledCallEditMessage */ scheduledCallEditMessage?: (waproto.Message.IScheduledCallEditMessage|null); /** Message ptvMessage */ ptvMessage?: (waproto.Message.IVideoMessage|null); /** Message botInvokeMessage */ botInvokeMessage?: (waproto.Message.IFutureProofMessage|null); /** Message callLogMesssage */ callLogMesssage?: (waproto.Message.ICallLogMessage|null); /** Message messageHistoryBundle */ messageHistoryBundle?: (waproto.Message.IMessageHistoryBundle|null); /** Message encCommentMessage */ encCommentMessage?: (waproto.Message.IEncCommentMessage|null); /** Message bcallMessage */ bcallMessage?: (waproto.Message.IBCallMessage|null); /** Message lottieStickerMessage */ lottieStickerMessage?: (waproto.Message.IFutureProofMessage|null); /** Message eventMessage */ eventMessage?: (waproto.Message.IEventMessage|null); /** Message encEventResponseMessage */ encEventResponseMessage?: (waproto.Message.IEncEventResponseMessage|null); /** Message commentMessage */ commentMessage?: (waproto.Message.ICommentMessage|null); /** Message newsletterAdminInviteMessage */ newsletterAdminInviteMessage?: (waproto.Message.INewsletterAdminInviteMessage|null); /** Message placeholderMessage */ placeholderMessage?: (waproto.Message.IPlaceholderMessage|null); /** Message secretEncryptedMessage */ secretEncryptedMessage?: (waproto.Message.ISecretEncryptedMessage|null); /** Message albumMessage */ albumMessage?: (waproto.Message.IAlbumMessage|null); /** Message eventCoverImage */ eventCoverImage?: (waproto.Message.IFutureProofMessage|null); /** Message stickerPackMessage */ stickerPackMessage?: (waproto.Message.IStickerPackMessage|null); /** Message statusMentionMessage */ statusMentionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollResultSnapshotMessage */ pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null); /** Message pollCreationOptionImageMessage */ pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null); /** Message associatedChildMessage */ associatedChildMessage?: (waproto.Message.IFutureProofMessage|null); /** Message groupStatusMentionMessage */ groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV4 */ pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null); /** Message statusAddYours */ statusAddYours?: (waproto.Message.IFutureProofMessage|null); /** Message groupStatusMessage */ groupStatusMessage?: (waproto.Message.IFutureProofMessage|null); /** Message richResponseMessage */ richResponseMessage?: (waproto.IAIRichResponseMessage|null); /** Message statusNotificationMessage */ statusNotificationMessage?: (waproto.Message.IStatusNotificationMessage|null); /** Message limitSharingMessage */ limitSharingMessage?: (waproto.Message.IFutureProofMessage|null); /** Message botTaskMessage */ botTaskMessage?: (waproto.Message.IFutureProofMessage|null); /** Message questionMessage */ questionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message messageHistoryNotice */ messageHistoryNotice?: (waproto.Message.IMessageHistoryNotice|null); /** Message groupStatusMessageV2 */ groupStatusMessageV2?: (waproto.Message.IFutureProofMessage|null); /** Message botForwardedMessage */ botForwardedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message statusQuestionAnswerMessage */ statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null); /** Message questionReplyMessage */ questionReplyMessage?: (waproto.Message.IFutureProofMessage|null); /** Message questionResponseMessage */ questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null); /** Message statusQuotedMessage */ statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null); /** Message statusStickerInteractionMessage */ statusStickerInteractionMessage?: (waproto.Message.IStatusStickerInteractionMessage|null); /** Message pollCreationMessageV5 */ pollCreationMessageV5?: (waproto.Message.IPollCreationMessage|null); /** Message newsletterFollowerInviteMessageV2 */ newsletterFollowerInviteMessageV2?: (waproto.Message.INewsletterFollowerInviteMessage|null); /** Message pollResultSnapshotMessageV3 */ pollResultSnapshotMessageV3?: (waproto.Message.IPollResultSnapshotMessage|null); /** Message newsletterAdminProfileMessage */ newsletterAdminProfileMessage?: (waproto.Message.IFutureProofMessage|null); /** Message spoilerMessage */ spoilerMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV6 */ pollCreationMessageV6?: (waproto.Message.IPollCreationMessage|null); /** Message conditionalRevealMessage */ conditionalRevealMessage?: (waproto.Message.IConditionalRevealMessage|null); /** Message pollAddOptionMessage */ pollAddOptionMessage?: (waproto.Message.IPollAddOptionMessage|null); /** Message eventInviteMessage */ eventInviteMessage?: (waproto.Message.IEventInviteMessage|null); /** Message groupRootKeyShare */ groupRootKeyShare?: (waproto.IGroupRootKeyShare|null); /** Message paymentReminderMessage */ paymentReminderMessage?: (waproto.Message.IPaymentReminderMessage|null); /** Message splitPaymentMessage */ splitPaymentMessage?: (waproto.Message.ISplitPaymentMessage|null); /** Message newsletterAdminProfileStatusMessage */ newsletterAdminProfileStatusMessage?: (waproto.Message.IFutureProofMessage|null); /** Message rootSecretDistributeMessage */ rootSecretDistributeMessage?: (waproto.Message.IRootSecretDistributeMessage|null); /** Message splitPaymentUpdateMessage */ splitPaymentUpdateMessage?: (waproto.Message.ISplitPaymentUpdateMessage|null); /** Message musicMessage */ musicMessage?: (waproto.Message.IMusicMessage|null); /** Message statusLinkPreviewMetadata */ statusLinkPreviewMetadata?: (waproto.Message.IStatusLinkPreviewMetadata|null); /** Message botPlatformRegistrationSuccessMessage */ botPlatformRegistrationSuccessMessage?: (waproto.Message.IFutureProofMessage|null); /** Message newsletterScheduledMessage */ newsletterScheduledMessage?: (waproto.Message.IFutureProofMessage|null); /** Message acp2SettingMessage */ acp2SettingMessage?: (waproto.Message.IFutureProofMessage|null); /** Message audioStickerMessage */ audioStickerMessage?: (waproto.Message.IFutureProofMessage|null); } /** Represents a Message. */ class Message implements IMessage { /** * Constructs a new Message. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessage); /** Message conversation. */ public conversation?: (string|null); /** Message senderKeyDistributionMessage. */ public senderKeyDistributionMessage?: (waproto.Message.ISenderKeyDistributionMessage|null); /** Message imageMessage. */ public imageMessage?: (waproto.Message.IImageMessage|null); /** Message contactMessage. */ public contactMessage?: (waproto.Message.IContactMessage|null); /** Message locationMessage. */ public locationMessage?: (waproto.Message.ILocationMessage|null); /** Message extendedTextMessage. */ public extendedTextMessage?: (waproto.Message.IExtendedTextMessage|null); /** Message documentMessage. */ public documentMessage?: (waproto.Message.IDocumentMessage|null); /** Message audioMessage. */ public audioMessage?: (waproto.Message.IAudioMessage|null); /** Message videoMessage. */ public videoMessage?: (waproto.Message.IVideoMessage|null); /** Message call. */ public call?: (waproto.Message.ICall|null); /** Message chat. */ public chat?: (waproto.Message.IChat|null); /** Message protocolMessage. */ public protocolMessage?: (waproto.Message.IProtocolMessage|null); /** Message contactsArrayMessage. */ public contactsArrayMessage?: (waproto.Message.IContactsArrayMessage|null); /** Message highlyStructuredMessage. */ public highlyStructuredMessage?: (waproto.Message.IHighlyStructuredMessage|null); /** Message fastRatchetKeySenderKeyDistributionMessage. */ public fastRatchetKeySenderKeyDistributionMessage?: (waproto.Message.ISenderKeyDistributionMessage|null); /** Message sendPaymentMessage. */ public sendPaymentMessage?: (waproto.Message.ISendPaymentMessage|null); /** Message liveLocationMessage. */ public liveLocationMessage?: (waproto.Message.ILiveLocationMessage|null); /** Message requestPaymentMessage. */ public requestPaymentMessage?: (waproto.Message.IRequestPaymentMessage|null); /** Message declinePaymentRequestMessage. */ public declinePaymentRequestMessage?: (waproto.Message.IDeclinePaymentRequestMessage|null); /** Message cancelPaymentRequestMessage. */ public cancelPaymentRequestMessage?: (waproto.Message.ICancelPaymentRequestMessage|null); /** Message templateMessage. */ public templateMessage?: (waproto.Message.ITemplateMessage|null); /** Message stickerMessage. */ public stickerMessage?: (waproto.Message.IStickerMessage|null); /** Message groupInviteMessage. */ public groupInviteMessage?: (waproto.Message.IGroupInviteMessage|null); /** Message templateButtonReplyMessage. */ public templateButtonReplyMessage?: (waproto.Message.ITemplateButtonReplyMessage|null); /** Message productMessage. */ public productMessage?: (waproto.Message.IProductMessage|null); /** Message deviceSentMessage. */ public deviceSentMessage?: (waproto.Message.IDeviceSentMessage|null); /** Message messageContextInfo. */ public messageContextInfo?: (waproto.IMessageContextInfo|null); /** Message listMessage. */ public listMessage?: (waproto.Message.IListMessage|null); /** Message viewOnceMessage. */ public viewOnceMessage?: (waproto.Message.IFutureProofMessage|null); /** Message orderMessage. */ public orderMessage?: (waproto.Message.IOrderMessage|null); /** Message listResponseMessage. */ public listResponseMessage?: (waproto.Message.IListResponseMessage|null); /** Message ephemeralMessage. */ public ephemeralMessage?: (waproto.Message.IFutureProofMessage|null); /** Message invoiceMessage. */ public invoiceMessage?: (waproto.Message.IInvoiceMessage|null); /** Message buttonsMessage. */ public buttonsMessage?: (waproto.Message.IButtonsMessage|null); /** Message buttonsResponseMessage. */ public buttonsResponseMessage?: (waproto.Message.IButtonsResponseMessage|null); /** Message paymentInviteMessage. */ public paymentInviteMessage?: (waproto.Message.IPaymentInviteMessage|null); /** Message interactiveMessage. */ public interactiveMessage?: (waproto.Message.IInteractiveMessage|null); /** Message reactionMessage. */ public reactionMessage?: (waproto.Message.IReactionMessage|null); /** Message stickerSyncRmrMessage. */ public stickerSyncRmrMessage?: (waproto.Message.IStickerSyncRMRMessage|null); /** Message interactiveResponseMessage. */ public interactiveResponseMessage?: (waproto.Message.IInteractiveResponseMessage|null); /** Message pollCreationMessage. */ public pollCreationMessage?: (waproto.Message.IPollCreationMessage|null); /** Message pollUpdateMessage. */ public pollUpdateMessage?: (waproto.Message.IPollUpdateMessage|null); /** Message keepInChatMessage. */ public keepInChatMessage?: (waproto.Message.IKeepInChatMessage|null); /** Message documentWithCaptionMessage. */ public documentWithCaptionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message requestPhoneNumberMessage. */ public requestPhoneNumberMessage?: (waproto.Message.IRequestPhoneNumberMessage|null); /** Message viewOnceMessageV2. */ public viewOnceMessageV2?: (waproto.Message.IFutureProofMessage|null); /** Message encReactionMessage. */ public encReactionMessage?: (waproto.Message.IEncReactionMessage|null); /** Message editedMessage. */ public editedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message viewOnceMessageV2Extension. */ public viewOnceMessageV2Extension?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV2. */ public pollCreationMessageV2?: (waproto.Message.IPollCreationMessage|null); /** Message scheduledCallCreationMessage. */ public scheduledCallCreationMessage?: (waproto.Message.IScheduledCallCreationMessage|null); /** Message groupMentionedMessage. */ public groupMentionedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pinInChatMessage. */ public pinInChatMessage?: (waproto.Message.IPinInChatMessage|null); /** Message pollCreationMessageV3. */ public pollCreationMessageV3?: (waproto.Message.IPollCreationMessage|null); /** Message scheduledCallEditMessage. */ public scheduledCallEditMessage?: (waproto.Message.IScheduledCallEditMessage|null); /** Message ptvMessage. */ public ptvMessage?: (waproto.Message.IVideoMessage|null); /** Message botInvokeMessage. */ public botInvokeMessage?: (waproto.Message.IFutureProofMessage|null); /** Message callLogMesssage. */ public callLogMesssage?: (waproto.Message.ICallLogMessage|null); /** Message messageHistoryBundle. */ public messageHistoryBundle?: (waproto.Message.IMessageHistoryBundle|null); /** Message encCommentMessage. */ public encCommentMessage?: (waproto.Message.IEncCommentMessage|null); /** Message bcallMessage. */ public bcallMessage?: (waproto.Message.IBCallMessage|null); /** Message lottieStickerMessage. */ public lottieStickerMessage?: (waproto.Message.IFutureProofMessage|null); /** Message eventMessage. */ public eventMessage?: (waproto.Message.IEventMessage|null); /** Message encEventResponseMessage. */ public encEventResponseMessage?: (waproto.Message.IEncEventResponseMessage|null); /** Message commentMessage. */ public commentMessage?: (waproto.Message.ICommentMessage|null); /** Message newsletterAdminInviteMessage. */ public newsletterAdminInviteMessage?: (waproto.Message.INewsletterAdminInviteMessage|null); /** Message placeholderMessage. */ public placeholderMessage?: (waproto.Message.IPlaceholderMessage|null); /** Message secretEncryptedMessage. */ public secretEncryptedMessage?: (waproto.Message.ISecretEncryptedMessage|null); /** Message albumMessage. */ public albumMessage?: (waproto.Message.IAlbumMessage|null); /** Message eventCoverImage. */ public eventCoverImage?: (waproto.Message.IFutureProofMessage|null); /** Message stickerPackMessage. */ public stickerPackMessage?: (waproto.Message.IStickerPackMessage|null); /** Message statusMentionMessage. */ public statusMentionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollResultSnapshotMessage. */ public pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null); /** Message pollCreationOptionImageMessage. */ public pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null); /** Message associatedChildMessage. */ public associatedChildMessage?: (waproto.Message.IFutureProofMessage|null); /** Message groupStatusMentionMessage. */ public groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV4. */ public pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null); /** Message statusAddYours. */ public statusAddYours?: (waproto.Message.IFutureProofMessage|null); /** Message groupStatusMessage. */ public groupStatusMessage?: (waproto.Message.IFutureProofMessage|null); /** Message richResponseMessage. */ public richResponseMessage?: (waproto.IAIRichResponseMessage|null); /** Message statusNotificationMessage. */ public statusNotificationMessage?: (waproto.Message.IStatusNotificationMessage|null); /** Message limitSharingMessage. */ public limitSharingMessage?: (waproto.Message.IFutureProofMessage|null); /** Message botTaskMessage. */ public botTaskMessage?: (waproto.Message.IFutureProofMessage|null); /** Message questionMessage. */ public questionMessage?: (waproto.Message.IFutureProofMessage|null); /** Message messageHistoryNotice. */ public messageHistoryNotice?: (waproto.Message.IMessageHistoryNotice|null); /** Message groupStatusMessageV2. */ public groupStatusMessageV2?: (waproto.Message.IFutureProofMessage|null); /** Message botForwardedMessage. */ public botForwardedMessage?: (waproto.Message.IFutureProofMessage|null); /** Message statusQuestionAnswerMessage. */ public statusQuestionAnswerMessage?: (waproto.Message.IStatusQuestionAnswerMessage|null); /** Message questionReplyMessage. */ public questionReplyMessage?: (waproto.Message.IFutureProofMessage|null); /** Message questionResponseMessage. */ public questionResponseMessage?: (waproto.Message.IQuestionResponseMessage|null); /** Message statusQuotedMessage. */ public statusQuotedMessage?: (waproto.Message.IStatusQuotedMessage|null); /** Message statusStickerInteractionMessage. */ public statusStickerInteractionMessage?: (waproto.Message.IStatusStickerInteractionMessage|null); /** Message pollCreationMessageV5. */ public pollCreationMessageV5?: (waproto.Message.IPollCreationMessage|null); /** Message newsletterFollowerInviteMessageV2. */ public newsletterFollowerInviteMessageV2?: (waproto.Message.INewsletterFollowerInviteMessage|null); /** Message pollResultSnapshotMessageV3. */ public pollResultSnapshotMessageV3?: (waproto.Message.IPollResultSnapshotMessage|null); /** Message newsletterAdminProfileMessage. */ public newsletterAdminProfileMessage?: (waproto.Message.IFutureProofMessage|null); /** Message spoilerMessage. */ public spoilerMessage?: (waproto.Message.IFutureProofMessage|null); /** Message pollCreationMessageV6. */ public pollCreationMessageV6?: (waproto.Message.IPollCreationMessage|null); /** Message conditionalRevealMessage. */ public conditionalRevealMessage?: (waproto.Message.IConditionalRevealMessage|null); /** Message pollAddOptionMessage. */ public pollAddOptionMessage?: (waproto.Message.IPollAddOptionMessage|null); /** Message eventInviteMessage. */ public eventInviteMessage?: (waproto.Message.IEventInviteMessage|null); /** Message groupRootKeyShare. */ public groupRootKeyShare?: (waproto.IGroupRootKeyShare|null); /** Message paymentReminderMessage. */ public paymentReminderMessage?: (waproto.Message.IPaymentReminderMessage|null); /** Message splitPaymentMessage. */ public splitPaymentMessage?: (waproto.Message.ISplitPaymentMessage|null); /** Message newsletterAdminProfileStatusMessage. */ public newsletterAdminProfileStatusMessage?: (waproto.Message.IFutureProofMessage|null); /** Message rootSecretDistributeMessage. */ public rootSecretDistributeMessage?: (waproto.Message.IRootSecretDistributeMessage|null); /** Message splitPaymentUpdateMessage. */ public splitPaymentUpdateMessage?: (waproto.Message.ISplitPaymentUpdateMessage|null); /** Message musicMessage. */ public musicMessage?: (waproto.Message.IMusicMessage|null); /** Message statusLinkPreviewMetadata. */ public statusLinkPreviewMetadata?: (waproto.Message.IStatusLinkPreviewMetadata|null); /** Message botPlatformRegistrationSuccessMessage. */ public botPlatformRegistrationSuccessMessage?: (waproto.Message.IFutureProofMessage|null); /** Message newsletterScheduledMessage. */ public newsletterScheduledMessage?: (waproto.Message.IFutureProofMessage|null); /** Message acp2SettingMessage. */ public acp2SettingMessage?: (waproto.Message.IFutureProofMessage|null); /** Message audioStickerMessage. */ public audioStickerMessage?: (waproto.Message.IFutureProofMessage|null); /** * Creates a new Message instance using the specified properties. * @param [properties] Properties to set * @returns Message instance */ public static create(properties?: waproto.IMessage): waproto.Message; /** * Encodes the specified Message message. Does not implicitly {@link waproto.Message.verify|verify} messages. * @param message Message message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Message message, length delimited. Does not implicitly {@link waproto.Message.verify|verify} messages. * @param message Message message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Message message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Message * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message; /** * Decodes a Message message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Message * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message; /** * Verifies a Message message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Message message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Message */ public static fromObject(object: { [k: string]: any }): waproto.Message; /** * Creates a plain object from a Message message. Also converts values to other types if specified. * @param message Message * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Message to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Message * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Message { /** PollType enum. */ enum PollType { POLL = 0, QUIZ = 1 } /** PollContentType enum. */ enum PollContentType { UNKNOWN = 0, TEXT = 1, IMAGE = 2 } /** InsightDeliveryState enum. */ enum InsightDeliveryState { SENT = 0, DELIVERED = 1, READ = 2, REPLIED = 3, QUICK_REPLIED = 4 } /** PeerDataOperationRequestType enum. */ enum PeerDataOperationRequestType { UPLOAD_STICKER = 0, SEND_RECENT_STICKER_BOOTSTRAP = 1, GENERATE_LINK_PREVIEW = 2, HISTORY_SYNC_ON_DEMAND = 3, PLACEHOLDER_MESSAGE_RESEND = 4, WAFFLE_LINKING_NONCE_FETCH = 5, FULL_HISTORY_SYNC_ON_DEMAND = 6, COMPANION_META_NONCE_FETCH = 7, COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8, COMPANION_CANONICAL_USER_NONCE_FETCH = 9, HISTORY_SYNC_CHUNK_RETRY = 10, GALAXY_FLOW_ACTION = 11, BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12, BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13, CONTACT_REFRESH_REQUEST = 14 } /** HistorySyncType enum. */ enum HistorySyncType { INITIAL_BOOTSTRAP = 0, INITIAL_STATUS_V3 = 1, FULL = 2, RECENT = 3, PUSH_NAME = 4, NON_BLOCKING_DATA = 5, ON_DEMAND = 6, NO_HISTORY = 7, MESSAGE_ACCESS_STATUS = 8 } /** Properties of a StatusLinkPreviewMetadata. */ interface IStatusLinkPreviewMetadata { /** StatusLinkPreviewMetadata style */ style?: (waproto.Message.StatusLinkPreviewMetadata.Style|null); } /** Represents a StatusLinkPreviewMetadata. */ class StatusLinkPreviewMetadata implements IStatusLinkPreviewMetadata { /** * Constructs a new StatusLinkPreviewMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStatusLinkPreviewMetadata); /** StatusLinkPreviewMetadata style. */ public style?: (waproto.Message.StatusLinkPreviewMetadata.Style|null); /** * Creates a new StatusLinkPreviewMetadata instance using the specified properties. * @param [properties] Properties to set * @returns StatusLinkPreviewMetadata instance */ public static create(properties?: waproto.Message.IStatusLinkPreviewMetadata): waproto.Message.StatusLinkPreviewMetadata; /** * Encodes the specified StatusLinkPreviewMetadata message. Does not implicitly {@link waproto.Message.StatusLinkPreviewMetadata.verify|verify} messages. * @param message StatusLinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStatusLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusLinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.StatusLinkPreviewMetadata.verify|verify} messages. * @param message StatusLinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStatusLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusLinkPreviewMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusLinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusLinkPreviewMetadata; /** * Decodes a StatusLinkPreviewMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusLinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusLinkPreviewMetadata; /** * Verifies a StatusLinkPreviewMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusLinkPreviewMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusLinkPreviewMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.StatusLinkPreviewMetadata; /** * Creates a plain object from a StatusLinkPreviewMetadata message. Also converts values to other types if specified. * @param message StatusLinkPreviewMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StatusLinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusLinkPreviewMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusLinkPreviewMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusLinkPreviewMetadata { /** Style enum. */ enum Style { AUTO = 0, COMPACT = 1, FULL = 2, IMMERSIVE = 3 } } /** Properties of a StickerPackMessage. */ interface IStickerPackMessage { /** StickerPackMessage stickerPackId */ stickerPackId?: (string|null); /** StickerPackMessage name */ name?: (string|null); /** StickerPackMessage publisher */ publisher?: (string|null); /** StickerPackMessage stickers */ stickers?: (waproto.Message.StickerPackMessage.ISticker[]|null); /** StickerPackMessage fileLength */ fileLength?: (number|Long|null); /** StickerPackMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** StickerPackMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** StickerPackMessage mediaKey */ mediaKey?: (Uint8Array|null); /** StickerPackMessage directPath */ directPath?: (string|null); /** StickerPackMessage caption */ caption?: (string|null); /** StickerPackMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** StickerPackMessage packDescription */ packDescription?: (string|null); /** StickerPackMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** StickerPackMessage trayIconFileName */ trayIconFileName?: (string|null); /** StickerPackMessage thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** StickerPackMessage thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** StickerPackMessage thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** StickerPackMessage thumbnailHeight */ thumbnailHeight?: (number|null); /** StickerPackMessage thumbnailWidth */ thumbnailWidth?: (number|null); /** StickerPackMessage imageDataHash */ imageDataHash?: (string|null); /** StickerPackMessage stickerPackSize */ stickerPackSize?: (number|Long|null); /** StickerPackMessage stickerPackOrigin */ stickerPackOrigin?: (waproto.Message.StickerPackMessage.StickerPackOrigin|null); } /** Represents a StickerPackMessage. */ class StickerPackMessage implements IStickerPackMessage { /** * Constructs a new StickerPackMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStickerPackMessage); /** StickerPackMessage stickerPackId. */ public stickerPackId?: (string|null); /** StickerPackMessage name. */ public name?: (string|null); /** StickerPackMessage publisher. */ public publisher?: (string|null); /** StickerPackMessage stickers. */ public stickers: waproto.Message.StickerPackMessage.ISticker[]; /** StickerPackMessage fileLength. */ public fileLength?: (number|Long|null); /** StickerPackMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** StickerPackMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** StickerPackMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** StickerPackMessage directPath. */ public directPath?: (string|null); /** StickerPackMessage caption. */ public caption?: (string|null); /** StickerPackMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** StickerPackMessage packDescription. */ public packDescription?: (string|null); /** StickerPackMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** StickerPackMessage trayIconFileName. */ public trayIconFileName?: (string|null); /** StickerPackMessage thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** StickerPackMessage thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** StickerPackMessage thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** StickerPackMessage thumbnailHeight. */ public thumbnailHeight?: (number|null); /** StickerPackMessage thumbnailWidth. */ public thumbnailWidth?: (number|null); /** StickerPackMessage imageDataHash. */ public imageDataHash?: (string|null); /** StickerPackMessage stickerPackSize. */ public stickerPackSize?: (number|Long|null); /** StickerPackMessage stickerPackOrigin. */ public stickerPackOrigin?: (waproto.Message.StickerPackMessage.StickerPackOrigin|null); /** * Creates a new StickerPackMessage instance using the specified properties. * @param [properties] Properties to set * @returns StickerPackMessage instance */ public static create(properties?: waproto.Message.IStickerPackMessage): waproto.Message.StickerPackMessage; /** * Encodes the specified StickerPackMessage message. Does not implicitly {@link waproto.Message.StickerPackMessage.verify|verify} messages. * @param message StickerPackMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStickerPackMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerPackMessage message, length delimited. Does not implicitly {@link waproto.Message.StickerPackMessage.verify|verify} messages. * @param message StickerPackMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStickerPackMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerPackMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerPackMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StickerPackMessage; /** * Decodes a StickerPackMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerPackMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StickerPackMessage; /** * Verifies a StickerPackMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerPackMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerPackMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StickerPackMessage; /** * Creates a plain object from a StickerPackMessage message. Also converts values to other types if specified. * @param message StickerPackMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StickerPackMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerPackMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerPackMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StickerPackMessage { /** StickerPackOrigin enum. */ enum StickerPackOrigin { FIRST_PARTY = 0, THIRD_PARTY = 1, USER_CREATED = 2 } /** Properties of a Sticker. */ interface ISticker { /** Sticker fileName */ fileName?: (string|null); /** Sticker isAnimated */ isAnimated?: (boolean|null); /** Sticker emojis */ emojis?: (string[]|null); /** Sticker accessibilityLabel */ accessibilityLabel?: (string|null); /** Sticker isLottie */ isLottie?: (boolean|null); /** Sticker mimetype */ mimetype?: (string|null); /** Sticker premium */ premium?: (number|null); } /** Represents a Sticker. */ class Sticker implements ISticker { /** * Constructs a new Sticker. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.StickerPackMessage.ISticker); /** Sticker fileName. */ public fileName?: (string|null); /** Sticker isAnimated. */ public isAnimated?: (boolean|null); /** Sticker emojis. */ public emojis: string[]; /** Sticker accessibilityLabel. */ public accessibilityLabel?: (string|null); /** Sticker isLottie. */ public isLottie?: (boolean|null); /** Sticker mimetype. */ public mimetype?: (string|null); /** Sticker premium. */ public premium?: (number|null); /** * Creates a new Sticker instance using the specified properties. * @param [properties] Properties to set * @returns Sticker instance */ public static create(properties?: waproto.Message.StickerPackMessage.ISticker): waproto.Message.StickerPackMessage.Sticker; /** * Encodes the specified Sticker message. Does not implicitly {@link waproto.Message.StickerPackMessage.Sticker.verify|verify} messages. * @param message Sticker message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.StickerPackMessage.ISticker, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Sticker message, length delimited. Does not implicitly {@link waproto.Message.StickerPackMessage.Sticker.verify|verify} messages. * @param message Sticker message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.StickerPackMessage.ISticker, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Sticker message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Sticker * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StickerPackMessage.Sticker; /** * Decodes a Sticker message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Sticker * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StickerPackMessage.Sticker; /** * Verifies a Sticker message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Sticker message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Sticker */ public static fromObject(object: { [k: string]: any }): waproto.Message.StickerPackMessage.Sticker; /** * Creates a plain object from a Sticker message. Also converts values to other types if specified. * @param message Sticker * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StickerPackMessage.Sticker, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Sticker to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Sticker * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an AlbumMessage. */ interface IAlbumMessage { /** AlbumMessage expectedImageCount */ expectedImageCount?: (number|null); /** AlbumMessage expectedVideoCount */ expectedVideoCount?: (number|null); /** AlbumMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents an AlbumMessage. */ class AlbumMessage implements IAlbumMessage { /** * Constructs a new AlbumMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAlbumMessage); /** AlbumMessage expectedImageCount. */ public expectedImageCount?: (number|null); /** AlbumMessage expectedVideoCount. */ public expectedVideoCount?: (number|null); /** AlbumMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new AlbumMessage instance using the specified properties. * @param [properties] Properties to set * @returns AlbumMessage instance */ public static create(properties?: waproto.Message.IAlbumMessage): waproto.Message.AlbumMessage; /** * Encodes the specified AlbumMessage message. Does not implicitly {@link waproto.Message.AlbumMessage.verify|verify} messages. * @param message AlbumMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAlbumMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AlbumMessage message, length delimited. Does not implicitly {@link waproto.Message.AlbumMessage.verify|verify} messages. * @param message AlbumMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAlbumMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AlbumMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AlbumMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AlbumMessage; /** * Decodes an AlbumMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AlbumMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AlbumMessage; /** * Verifies an AlbumMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AlbumMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AlbumMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.AlbumMessage; /** * Creates a plain object from an AlbumMessage message. Also converts values to other types if specified. * @param message AlbumMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AlbumMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AlbumMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AlbumMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PlaceholderMessage. */ interface IPlaceholderMessage { /** PlaceholderMessage type */ type?: (waproto.Message.PlaceholderMessage.PlaceholderType|null); } /** Represents a PlaceholderMessage. */ class PlaceholderMessage implements IPlaceholderMessage { /** * Constructs a new PlaceholderMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPlaceholderMessage); /** PlaceholderMessage type. */ public type?: (waproto.Message.PlaceholderMessage.PlaceholderType|null); /** * Creates a new PlaceholderMessage instance using the specified properties. * @param [properties] Properties to set * @returns PlaceholderMessage instance */ public static create(properties?: waproto.Message.IPlaceholderMessage): waproto.Message.PlaceholderMessage; /** * Encodes the specified PlaceholderMessage message. Does not implicitly {@link waproto.Message.PlaceholderMessage.verify|verify} messages. * @param message PlaceholderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPlaceholderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PlaceholderMessage message, length delimited. Does not implicitly {@link waproto.Message.PlaceholderMessage.verify|verify} messages. * @param message PlaceholderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPlaceholderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlaceholderMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PlaceholderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PlaceholderMessage; /** * Decodes a PlaceholderMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PlaceholderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PlaceholderMessage; /** * Verifies a PlaceholderMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PlaceholderMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlaceholderMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PlaceholderMessage; /** * Creates a plain object from a PlaceholderMessage message. Also converts values to other types if specified. * @param message PlaceholderMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PlaceholderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlaceholderMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlaceholderMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PlaceholderMessage { /** PlaceholderType enum. */ enum PlaceholderType { MASK_LINKED_DEVICES = 0 } } /** Properties of a BCallMessage. */ interface IBCallMessage { /** BCallMessage sessionId */ sessionId?: (string|null); /** BCallMessage mediaType */ mediaType?: (waproto.Message.BCallMessage.MediaType|null); /** BCallMessage masterKey */ masterKey?: (Uint8Array|null); /** BCallMessage caption */ caption?: (string|null); } /** Represents a BCallMessage. */ class BCallMessage implements IBCallMessage { /** * Constructs a new BCallMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IBCallMessage); /** BCallMessage sessionId. */ public sessionId?: (string|null); /** BCallMessage mediaType. */ public mediaType?: (waproto.Message.BCallMessage.MediaType|null); /** BCallMessage masterKey. */ public masterKey?: (Uint8Array|null); /** BCallMessage caption. */ public caption?: (string|null); /** * Creates a new BCallMessage instance using the specified properties. * @param [properties] Properties to set * @returns BCallMessage instance */ public static create(properties?: waproto.Message.IBCallMessage): waproto.Message.BCallMessage; /** * Encodes the specified BCallMessage message. Does not implicitly {@link waproto.Message.BCallMessage.verify|verify} messages. * @param message BCallMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IBCallMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BCallMessage message, length delimited. Does not implicitly {@link waproto.Message.BCallMessage.verify|verify} messages. * @param message BCallMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IBCallMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BCallMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BCallMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.BCallMessage; /** * Decodes a BCallMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BCallMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.BCallMessage; /** * Verifies a BCallMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BCallMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BCallMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.BCallMessage; /** * Creates a plain object from a BCallMessage message. Also converts values to other types if specified. * @param message BCallMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.BCallMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BCallMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BCallMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BCallMessage { /** MediaType enum. */ enum MediaType { UNKNOWN = 0, AUDIO = 1, VIDEO = 2 } } /** Properties of a MessageHistoryMetadata. */ interface IMessageHistoryMetadata { /** MessageHistoryMetadata historyReceivers */ historyReceivers?: (string[]|null); /** MessageHistoryMetadata oldestMessageTimestampInWindow */ oldestMessageTimestampInWindow?: (number|Long|null); /** MessageHistoryMetadata messageCount */ messageCount?: (number|Long|null); /** MessageHistoryMetadata nonHistoryReceivers */ nonHistoryReceivers?: (string[]|null); /** MessageHistoryMetadata oldestMessageTimestampInBundle */ oldestMessageTimestampInBundle?: (number|Long|null); /** MessageHistoryMetadata includesChatTheme */ includesChatTheme?: (boolean|null); } /** Represents a MessageHistoryMetadata. */ class MessageHistoryMetadata implements IMessageHistoryMetadata { /** * Constructs a new MessageHistoryMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMessageHistoryMetadata); /** MessageHistoryMetadata historyReceivers. */ public historyReceivers: string[]; /** MessageHistoryMetadata oldestMessageTimestampInWindow. */ public oldestMessageTimestampInWindow?: (number|Long|null); /** MessageHistoryMetadata messageCount. */ public messageCount?: (number|Long|null); /** MessageHistoryMetadata nonHistoryReceivers. */ public nonHistoryReceivers: string[]; /** MessageHistoryMetadata oldestMessageTimestampInBundle. */ public oldestMessageTimestampInBundle?: (number|Long|null); /** MessageHistoryMetadata includesChatTheme. */ public includesChatTheme?: (boolean|null); /** * Creates a new MessageHistoryMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MessageHistoryMetadata instance */ public static create(properties?: waproto.Message.IMessageHistoryMetadata): waproto.Message.MessageHistoryMetadata; /** * Encodes the specified MessageHistoryMetadata message. Does not implicitly {@link waproto.Message.MessageHistoryMetadata.verify|verify} messages. * @param message MessageHistoryMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMessageHistoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageHistoryMetadata message, length delimited. Does not implicitly {@link waproto.Message.MessageHistoryMetadata.verify|verify} messages. * @param message MessageHistoryMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMessageHistoryMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageHistoryMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageHistoryMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MessageHistoryMetadata; /** * Decodes a MessageHistoryMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageHistoryMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MessageHistoryMetadata; /** * Verifies a MessageHistoryMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageHistoryMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageHistoryMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.MessageHistoryMetadata; /** * Creates a plain object from a MessageHistoryMetadata message. Also converts values to other types if specified. * @param message MessageHistoryMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MessageHistoryMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageHistoryMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageHistoryMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistoryShareMessageEntry. */ interface IHistoryShareMessageEntry { /** HistoryShareMessageEntry stanzaId */ stanzaId?: (string|null); /** HistoryShareMessageEntry messageSecretProof */ messageSecretProof?: (Uint8Array|null); } /** Represents a HistoryShareMessageEntry. */ class HistoryShareMessageEntry implements IHistoryShareMessageEntry { /** * Constructs a new HistoryShareMessageEntry. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IHistoryShareMessageEntry); /** HistoryShareMessageEntry stanzaId. */ public stanzaId?: (string|null); /** HistoryShareMessageEntry messageSecretProof. */ public messageSecretProof?: (Uint8Array|null); /** * Creates a new HistoryShareMessageEntry instance using the specified properties. * @param [properties] Properties to set * @returns HistoryShareMessageEntry instance */ public static create(properties?: waproto.Message.IHistoryShareMessageEntry): waproto.Message.HistoryShareMessageEntry; /** * Encodes the specified HistoryShareMessageEntry message. Does not implicitly {@link waproto.Message.HistoryShareMessageEntry.verify|verify} messages. * @param message HistoryShareMessageEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IHistoryShareMessageEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistoryShareMessageEntry message, length delimited. Does not implicitly {@link waproto.Message.HistoryShareMessageEntry.verify|verify} messages. * @param message HistoryShareMessageEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IHistoryShareMessageEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistoryShareMessageEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistoryShareMessageEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HistoryShareMessageEntry; /** * Decodes a HistoryShareMessageEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistoryShareMessageEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HistoryShareMessageEntry; /** * Verifies a HistoryShareMessageEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistoryShareMessageEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistoryShareMessageEntry */ public static fromObject(object: { [k: string]: any }): waproto.Message.HistoryShareMessageEntry; /** * Creates a plain object from a HistoryShareMessageEntry message. Also converts values to other types if specified. * @param message HistoryShareMessageEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HistoryShareMessageEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistoryShareMessageEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistoryShareMessageEntry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotHistoryShareSyncMetadata. */ interface IBotHistoryShareSyncMetadata { /** BotHistoryShareSyncMetadata botJid */ botJid?: (string|null); /** BotHistoryShareSyncMetadata historyShareCutoffTimestamp */ historyShareCutoffTimestamp?: (number|Long|null); /** BotHistoryShareSyncMetadata historyShareMessages */ historyShareMessages?: (waproto.Message.IHistoryShareMessageEntry[]|null); } /** Represents a BotHistoryShareSyncMetadata. */ class BotHistoryShareSyncMetadata implements IBotHistoryShareSyncMetadata { /** * Constructs a new BotHistoryShareSyncMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IBotHistoryShareSyncMetadata); /** BotHistoryShareSyncMetadata botJid. */ public botJid?: (string|null); /** BotHistoryShareSyncMetadata historyShareCutoffTimestamp. */ public historyShareCutoffTimestamp?: (number|Long|null); /** BotHistoryShareSyncMetadata historyShareMessages. */ public historyShareMessages: waproto.Message.IHistoryShareMessageEntry[]; /** * Creates a new BotHistoryShareSyncMetadata instance using the specified properties. * @param [properties] Properties to set * @returns BotHistoryShareSyncMetadata instance */ public static create(properties?: waproto.Message.IBotHistoryShareSyncMetadata): waproto.Message.BotHistoryShareSyncMetadata; /** * Encodes the specified BotHistoryShareSyncMetadata message. Does not implicitly {@link waproto.Message.BotHistoryShareSyncMetadata.verify|verify} messages. * @param message BotHistoryShareSyncMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IBotHistoryShareSyncMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotHistoryShareSyncMetadata message, length delimited. Does not implicitly {@link waproto.Message.BotHistoryShareSyncMetadata.verify|verify} messages. * @param message BotHistoryShareSyncMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IBotHistoryShareSyncMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotHistoryShareSyncMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotHistoryShareSyncMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.BotHistoryShareSyncMetadata; /** * Decodes a BotHistoryShareSyncMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotHistoryShareSyncMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.BotHistoryShareSyncMetadata; /** * Verifies a BotHistoryShareSyncMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotHistoryShareSyncMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotHistoryShareSyncMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.BotHistoryShareSyncMetadata; /** * Creates a plain object from a BotHistoryShareSyncMetadata message. Also converts values to other types if specified. * @param message BotHistoryShareSyncMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.BotHistoryShareSyncMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotHistoryShareSyncMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotHistoryShareSyncMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageHistoryNotice. */ interface IMessageHistoryNotice { /** MessageHistoryNotice contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** MessageHistoryNotice messageHistoryMetadata */ messageHistoryMetadata?: (waproto.Message.IMessageHistoryMetadata|null); /** MessageHistoryNotice botHistoryShareSyncMetadata */ botHistoryShareSyncMetadata?: (waproto.Message.IBotHistoryShareSyncMetadata|null); } /** Represents a MessageHistoryNotice. */ class MessageHistoryNotice implements IMessageHistoryNotice { /** * Constructs a new MessageHistoryNotice. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMessageHistoryNotice); /** MessageHistoryNotice contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** MessageHistoryNotice messageHistoryMetadata. */ public messageHistoryMetadata?: (waproto.Message.IMessageHistoryMetadata|null); /** MessageHistoryNotice botHistoryShareSyncMetadata. */ public botHistoryShareSyncMetadata?: (waproto.Message.IBotHistoryShareSyncMetadata|null); /** * Creates a new MessageHistoryNotice instance using the specified properties. * @param [properties] Properties to set * @returns MessageHistoryNotice instance */ public static create(properties?: waproto.Message.IMessageHistoryNotice): waproto.Message.MessageHistoryNotice; /** * Encodes the specified MessageHistoryNotice message. Does not implicitly {@link waproto.Message.MessageHistoryNotice.verify|verify} messages. * @param message MessageHistoryNotice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMessageHistoryNotice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageHistoryNotice message, length delimited. Does not implicitly {@link waproto.Message.MessageHistoryNotice.verify|verify} messages. * @param message MessageHistoryNotice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMessageHistoryNotice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageHistoryNotice message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageHistoryNotice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MessageHistoryNotice; /** * Decodes a MessageHistoryNotice message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageHistoryNotice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MessageHistoryNotice; /** * Verifies a MessageHistoryNotice message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageHistoryNotice message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageHistoryNotice */ public static fromObject(object: { [k: string]: any }): waproto.Message.MessageHistoryNotice; /** * Creates a plain object from a MessageHistoryNotice message. Also converts values to other types if specified. * @param message MessageHistoryNotice * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MessageHistoryNotice, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageHistoryNotice to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageHistoryNotice * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageHistoryBundle. */ interface IMessageHistoryBundle { /** MessageHistoryBundle mimetype */ mimetype?: (string|null); /** MessageHistoryBundle fileSha256 */ fileSha256?: (Uint8Array|null); /** MessageHistoryBundle mediaKey */ mediaKey?: (Uint8Array|null); /** MessageHistoryBundle fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** MessageHistoryBundle directPath */ directPath?: (string|null); /** MessageHistoryBundle mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** MessageHistoryBundle contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** MessageHistoryBundle messageHistoryMetadata */ messageHistoryMetadata?: (waproto.Message.IMessageHistoryMetadata|null); } /** Represents a MessageHistoryBundle. */ class MessageHistoryBundle implements IMessageHistoryBundle { /** * Constructs a new MessageHistoryBundle. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMessageHistoryBundle); /** MessageHistoryBundle mimetype. */ public mimetype?: (string|null); /** MessageHistoryBundle fileSha256. */ public fileSha256?: (Uint8Array|null); /** MessageHistoryBundle mediaKey. */ public mediaKey?: (Uint8Array|null); /** MessageHistoryBundle fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** MessageHistoryBundle directPath. */ public directPath?: (string|null); /** MessageHistoryBundle mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** MessageHistoryBundle contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** MessageHistoryBundle messageHistoryMetadata. */ public messageHistoryMetadata?: (waproto.Message.IMessageHistoryMetadata|null); /** * Creates a new MessageHistoryBundle instance using the specified properties. * @param [properties] Properties to set * @returns MessageHistoryBundle instance */ public static create(properties?: waproto.Message.IMessageHistoryBundle): waproto.Message.MessageHistoryBundle; /** * Encodes the specified MessageHistoryBundle message. Does not implicitly {@link waproto.Message.MessageHistoryBundle.verify|verify} messages. * @param message MessageHistoryBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMessageHistoryBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageHistoryBundle message, length delimited. Does not implicitly {@link waproto.Message.MessageHistoryBundle.verify|verify} messages. * @param message MessageHistoryBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMessageHistoryBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageHistoryBundle message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageHistoryBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MessageHistoryBundle; /** * Decodes a MessageHistoryBundle message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageHistoryBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MessageHistoryBundle; /** * Verifies a MessageHistoryBundle message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageHistoryBundle message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageHistoryBundle */ public static fromObject(object: { [k: string]: any }): waproto.Message.MessageHistoryBundle; /** * Creates a plain object from a MessageHistoryBundle message. Also converts values to other types if specified. * @param message MessageHistoryBundle * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MessageHistoryBundle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageHistoryBundle to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageHistoryBundle * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CallLogMessage. */ interface ICallLogMessage { /** CallLogMessage isVideo */ isVideo?: (boolean|null); /** CallLogMessage callOutcome */ callOutcome?: (waproto.Message.CallLogMessage.CallOutcome|null); /** CallLogMessage durationSecs */ durationSecs?: (number|Long|null); /** CallLogMessage callType */ callType?: (waproto.Message.CallLogMessage.CallType|null); /** CallLogMessage participants */ participants?: (waproto.Message.CallLogMessage.ICallParticipant[]|null); } /** Represents a CallLogMessage. */ class CallLogMessage implements ICallLogMessage { /** * Constructs a new CallLogMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ICallLogMessage); /** CallLogMessage isVideo. */ public isVideo?: (boolean|null); /** CallLogMessage callOutcome. */ public callOutcome?: (waproto.Message.CallLogMessage.CallOutcome|null); /** CallLogMessage durationSecs. */ public durationSecs?: (number|Long|null); /** CallLogMessage callType. */ public callType?: (waproto.Message.CallLogMessage.CallType|null); /** CallLogMessage participants. */ public participants: waproto.Message.CallLogMessage.ICallParticipant[]; /** * Creates a new CallLogMessage instance using the specified properties. * @param [properties] Properties to set * @returns CallLogMessage instance */ public static create(properties?: waproto.Message.ICallLogMessage): waproto.Message.CallLogMessage; /** * Encodes the specified CallLogMessage message. Does not implicitly {@link waproto.Message.CallLogMessage.verify|verify} messages. * @param message CallLogMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ICallLogMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CallLogMessage message, length delimited. Does not implicitly {@link waproto.Message.CallLogMessage.verify|verify} messages. * @param message CallLogMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ICallLogMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallLogMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CallLogMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CallLogMessage; /** * Decodes a CallLogMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CallLogMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CallLogMessage; /** * Verifies a CallLogMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CallLogMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CallLogMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.CallLogMessage; /** * Creates a plain object from a CallLogMessage message. Also converts values to other types if specified. * @param message CallLogMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CallLogMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallLogMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CallLogMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CallLogMessage { /** CallOutcome enum. */ enum CallOutcome { CONNECTED = 0, MISSED = 1, FAILED = 2, REJECTED = 3, ACCEPTED_ELSEWHERE = 4, ONGOING = 5, SILENCED_BY_DND = 6, SILENCED_UNKNOWN_CALLER = 7 } /** CallType enum. */ enum CallType { REGULAR = 0, SCHEDULED_CALL = 1, VOICE_CHAT = 2 } /** Properties of a CallParticipant. */ interface ICallParticipant { /** CallParticipant jid */ jid?: (string|null); /** CallParticipant callOutcome */ callOutcome?: (waproto.Message.CallLogMessage.CallOutcome|null); } /** Represents a CallParticipant. */ class CallParticipant implements ICallParticipant { /** * Constructs a new CallParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.CallLogMessage.ICallParticipant); /** CallParticipant jid. */ public jid?: (string|null); /** CallParticipant callOutcome. */ public callOutcome?: (waproto.Message.CallLogMessage.CallOutcome|null); /** * Creates a new CallParticipant instance using the specified properties. * @param [properties] Properties to set * @returns CallParticipant instance */ public static create(properties?: waproto.Message.CallLogMessage.ICallParticipant): waproto.Message.CallLogMessage.CallParticipant; /** * Encodes the specified CallParticipant message. Does not implicitly {@link waproto.Message.CallLogMessage.CallParticipant.verify|verify} messages. * @param message CallParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.CallLogMessage.ICallParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CallParticipant message, length delimited. Does not implicitly {@link waproto.Message.CallLogMessage.CallParticipant.verify|verify} messages. * @param message CallParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.CallLogMessage.ICallParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CallParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CallLogMessage.CallParticipant; /** * Decodes a CallParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CallParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CallLogMessage.CallParticipant; /** * Verifies a CallParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CallParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CallParticipant */ public static fromObject(object: { [k: string]: any }): waproto.Message.CallLogMessage.CallParticipant; /** * Creates a plain object from a CallParticipant message. Also converts values to other types if specified. * @param message CallParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CallLogMessage.CallParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CallParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ScheduledCallEditMessage. */ interface IScheduledCallEditMessage { /** ScheduledCallEditMessage key */ key?: (waproto.IMessageKey|null); /** ScheduledCallEditMessage editType */ editType?: (waproto.Message.ScheduledCallEditMessage.EditType|null); } /** Represents a ScheduledCallEditMessage. */ class ScheduledCallEditMessage implements IScheduledCallEditMessage { /** * Constructs a new ScheduledCallEditMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IScheduledCallEditMessage); /** ScheduledCallEditMessage key. */ public key?: (waproto.IMessageKey|null); /** ScheduledCallEditMessage editType. */ public editType?: (waproto.Message.ScheduledCallEditMessage.EditType|null); /** * Creates a new ScheduledCallEditMessage instance using the specified properties. * @param [properties] Properties to set * @returns ScheduledCallEditMessage instance */ public static create(properties?: waproto.Message.IScheduledCallEditMessage): waproto.Message.ScheduledCallEditMessage; /** * Encodes the specified ScheduledCallEditMessage message. Does not implicitly {@link waproto.Message.ScheduledCallEditMessage.verify|verify} messages. * @param message ScheduledCallEditMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IScheduledCallEditMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ScheduledCallEditMessage message, length delimited. Does not implicitly {@link waproto.Message.ScheduledCallEditMessage.verify|verify} messages. * @param message ScheduledCallEditMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IScheduledCallEditMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ScheduledCallEditMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ScheduledCallEditMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ScheduledCallEditMessage; /** * Decodes a ScheduledCallEditMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ScheduledCallEditMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ScheduledCallEditMessage; /** * Verifies a ScheduledCallEditMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ScheduledCallEditMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ScheduledCallEditMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ScheduledCallEditMessage; /** * Creates a plain object from a ScheduledCallEditMessage message. Also converts values to other types if specified. * @param message ScheduledCallEditMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ScheduledCallEditMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ScheduledCallEditMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ScheduledCallEditMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ScheduledCallEditMessage { /** EditType enum. */ enum EditType { UNKNOWN = 0, CANCEL = 1 } } /** Properties of a ScheduledCallCreationMessage. */ interface IScheduledCallCreationMessage { /** ScheduledCallCreationMessage scheduledTimestampMs */ scheduledTimestampMs?: (number|Long|null); /** ScheduledCallCreationMessage callType */ callType?: (waproto.Message.ScheduledCallCreationMessage.CallType|null); /** ScheduledCallCreationMessage title */ title?: (string|null); } /** Represents a ScheduledCallCreationMessage. */ class ScheduledCallCreationMessage implements IScheduledCallCreationMessage { /** * Constructs a new ScheduledCallCreationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IScheduledCallCreationMessage); /** ScheduledCallCreationMessage scheduledTimestampMs. */ public scheduledTimestampMs?: (number|Long|null); /** ScheduledCallCreationMessage callType. */ public callType?: (waproto.Message.ScheduledCallCreationMessage.CallType|null); /** ScheduledCallCreationMessage title. */ public title?: (string|null); /** * Creates a new ScheduledCallCreationMessage instance using the specified properties. * @param [properties] Properties to set * @returns ScheduledCallCreationMessage instance */ public static create(properties?: waproto.Message.IScheduledCallCreationMessage): waproto.Message.ScheduledCallCreationMessage; /** * Encodes the specified ScheduledCallCreationMessage message. Does not implicitly {@link waproto.Message.ScheduledCallCreationMessage.verify|verify} messages. * @param message ScheduledCallCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IScheduledCallCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ScheduledCallCreationMessage message, length delimited. Does not implicitly {@link waproto.Message.ScheduledCallCreationMessage.verify|verify} messages. * @param message ScheduledCallCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IScheduledCallCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ScheduledCallCreationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ScheduledCallCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ScheduledCallCreationMessage; /** * Decodes a ScheduledCallCreationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ScheduledCallCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ScheduledCallCreationMessage; /** * Verifies a ScheduledCallCreationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ScheduledCallCreationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ScheduledCallCreationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ScheduledCallCreationMessage; /** * Creates a plain object from a ScheduledCallCreationMessage message. Also converts values to other types if specified. * @param message ScheduledCallCreationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ScheduledCallCreationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ScheduledCallCreationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ScheduledCallCreationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ScheduledCallCreationMessage { /** CallType enum. */ enum CallType { UNKNOWN = 0, VOICE = 1, VIDEO = 2 } } /** Properties of an EventResponseMessage. */ interface IEventResponseMessage { /** EventResponseMessage response */ response?: (waproto.Message.EventResponseMessage.EventResponseType|null); /** EventResponseMessage timestampMs */ timestampMs?: (number|Long|null); /** EventResponseMessage extraGuestCount */ extraGuestCount?: (number|null); } /** Represents an EventResponseMessage. */ class EventResponseMessage implements IEventResponseMessage { /** * Constructs a new EventResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEventResponseMessage); /** EventResponseMessage response. */ public response?: (waproto.Message.EventResponseMessage.EventResponseType|null); /** EventResponseMessage timestampMs. */ public timestampMs?: (number|Long|null); /** EventResponseMessage extraGuestCount. */ public extraGuestCount?: (number|null); /** * Creates a new EventResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns EventResponseMessage instance */ public static create(properties?: waproto.Message.IEventResponseMessage): waproto.Message.EventResponseMessage; /** * Encodes the specified EventResponseMessage message. Does not implicitly {@link waproto.Message.EventResponseMessage.verify|verify} messages. * @param message EventResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.EventResponseMessage.verify|verify} messages. * @param message EventResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EventResponseMessage; /** * Decodes an EventResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EventResponseMessage; /** * Verifies an EventResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EventResponseMessage; /** * Creates a plain object from an EventResponseMessage message. Also converts values to other types if specified. * @param message EventResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EventResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EventResponseMessage { /** EventResponseType enum. */ enum EventResponseType { UNKNOWN = 0, GOING = 1, NOT_GOING = 2, MAYBE = 3 } } /** Properties of an EncEventResponseMessage. */ interface IEncEventResponseMessage { /** EncEventResponseMessage eventCreationMessageKey */ eventCreationMessageKey?: (waproto.IMessageKey|null); /** EncEventResponseMessage encPayload */ encPayload?: (Uint8Array|null); /** EncEventResponseMessage encIv */ encIv?: (Uint8Array|null); } /** Represents an EncEventResponseMessage. */ class EncEventResponseMessage implements IEncEventResponseMessage { /** * Constructs a new EncEventResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEncEventResponseMessage); /** EncEventResponseMessage eventCreationMessageKey. */ public eventCreationMessageKey?: (waproto.IMessageKey|null); /** EncEventResponseMessage encPayload. */ public encPayload?: (Uint8Array|null); /** EncEventResponseMessage encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new EncEventResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns EncEventResponseMessage instance */ public static create(properties?: waproto.Message.IEncEventResponseMessage): waproto.Message.EncEventResponseMessage; /** * Encodes the specified EncEventResponseMessage message. Does not implicitly {@link waproto.Message.EncEventResponseMessage.verify|verify} messages. * @param message EncEventResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEncEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncEventResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.EncEventResponseMessage.verify|verify} messages. * @param message EncEventResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEncEventResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncEventResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncEventResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EncEventResponseMessage; /** * Decodes an EncEventResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncEventResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EncEventResponseMessage; /** * Verifies an EncEventResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncEventResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncEventResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EncEventResponseMessage; /** * Creates a plain object from an EncEventResponseMessage message. Also converts values to other types if specified. * @param message EncEventResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EncEventResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncEventResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncEventResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventMessage. */ interface IEventMessage { /** EventMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** EventMessage isCanceled */ isCanceled?: (boolean|null); /** EventMessage name */ name?: (string|null); /** EventMessage description */ description?: (string|null); /** EventMessage location */ location?: (waproto.Message.ILocationMessage|null); /** EventMessage joinLink */ joinLink?: (string|null); /** EventMessage startTime */ startTime?: (number|Long|null); /** EventMessage endTime */ endTime?: (number|Long|null); /** EventMessage extraGuestsAllowed */ extraGuestsAllowed?: (boolean|null); /** EventMessage isScheduleCall */ isScheduleCall?: (boolean|null); /** EventMessage hasReminder */ hasReminder?: (boolean|null); /** EventMessage reminderOffsetSec */ reminderOffsetSec?: (number|Long|null); } /** Represents an EventMessage. */ class EventMessage implements IEventMessage { /** * Constructs a new EventMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEventMessage); /** EventMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** EventMessage isCanceled. */ public isCanceled?: (boolean|null); /** EventMessage name. */ public name?: (string|null); /** EventMessage description. */ public description?: (string|null); /** EventMessage location. */ public location?: (waproto.Message.ILocationMessage|null); /** EventMessage joinLink. */ public joinLink?: (string|null); /** EventMessage startTime. */ public startTime?: (number|Long|null); /** EventMessage endTime. */ public endTime?: (number|Long|null); /** EventMessage extraGuestsAllowed. */ public extraGuestsAllowed?: (boolean|null); /** EventMessage isScheduleCall. */ public isScheduleCall?: (boolean|null); /** EventMessage hasReminder. */ public hasReminder?: (boolean|null); /** EventMessage reminderOffsetSec. */ public reminderOffsetSec?: (number|Long|null); /** * Creates a new EventMessage instance using the specified properties. * @param [properties] Properties to set * @returns EventMessage instance */ public static create(properties?: waproto.Message.IEventMessage): waproto.Message.EventMessage; /** * Encodes the specified EventMessage message. Does not implicitly {@link waproto.Message.EventMessage.verify|verify} messages. * @param message EventMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEventMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventMessage message, length delimited. Does not implicitly {@link waproto.Message.EventMessage.verify|verify} messages. * @param message EventMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEventMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EventMessage; /** * Decodes an EventMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EventMessage; /** * Verifies an EventMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EventMessage; /** * Creates a plain object from an EventMessage message. Also converts values to other types if specified. * @param message EventMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EventMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CommentMessage. */ interface ICommentMessage { /** CommentMessage message */ message?: (waproto.IMessage|null); /** CommentMessage targetMessageKey */ targetMessageKey?: (waproto.IMessageKey|null); } /** Represents a CommentMessage. */ class CommentMessage implements ICommentMessage { /** * Constructs a new CommentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ICommentMessage); /** CommentMessage message. */ public message?: (waproto.IMessage|null); /** CommentMessage targetMessageKey. */ public targetMessageKey?: (waproto.IMessageKey|null); /** * Creates a new CommentMessage instance using the specified properties. * @param [properties] Properties to set * @returns CommentMessage instance */ public static create(properties?: waproto.Message.ICommentMessage): waproto.Message.CommentMessage; /** * Encodes the specified CommentMessage message. Does not implicitly {@link waproto.Message.CommentMessage.verify|verify} messages. * @param message CommentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ICommentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommentMessage message, length delimited. Does not implicitly {@link waproto.Message.CommentMessage.verify|verify} messages. * @param message CommentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ICommentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CommentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CommentMessage; /** * Decodes a CommentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CommentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CommentMessage; /** * Verifies a CommentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.CommentMessage; /** * Creates a plain object from a CommentMessage message. Also converts values to other types if specified. * @param message CommentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CommentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CommentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncCommentMessage. */ interface IEncCommentMessage { /** EncCommentMessage targetMessageKey */ targetMessageKey?: (waproto.IMessageKey|null); /** EncCommentMessage encPayload */ encPayload?: (Uint8Array|null); /** EncCommentMessage encIv */ encIv?: (Uint8Array|null); } /** Represents an EncCommentMessage. */ class EncCommentMessage implements IEncCommentMessage { /** * Constructs a new EncCommentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEncCommentMessage); /** EncCommentMessage targetMessageKey. */ public targetMessageKey?: (waproto.IMessageKey|null); /** EncCommentMessage encPayload. */ public encPayload?: (Uint8Array|null); /** EncCommentMessage encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new EncCommentMessage instance using the specified properties. * @param [properties] Properties to set * @returns EncCommentMessage instance */ public static create(properties?: waproto.Message.IEncCommentMessage): waproto.Message.EncCommentMessage; /** * Encodes the specified EncCommentMessage message. Does not implicitly {@link waproto.Message.EncCommentMessage.verify|verify} messages. * @param message EncCommentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEncCommentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncCommentMessage message, length delimited. Does not implicitly {@link waproto.Message.EncCommentMessage.verify|verify} messages. * @param message EncCommentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEncCommentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncCommentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncCommentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EncCommentMessage; /** * Decodes an EncCommentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncCommentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EncCommentMessage; /** * Verifies an EncCommentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncCommentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncCommentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EncCommentMessage; /** * Creates a plain object from an EncCommentMessage message. Also converts values to other types if specified. * @param message EncCommentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EncCommentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncCommentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncCommentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EncReactionMessage. */ interface IEncReactionMessage { /** EncReactionMessage targetMessageKey */ targetMessageKey?: (waproto.IMessageKey|null); /** EncReactionMessage encPayload */ encPayload?: (Uint8Array|null); /** EncReactionMessage encIv */ encIv?: (Uint8Array|null); } /** Represents an EncReactionMessage. */ class EncReactionMessage implements IEncReactionMessage { /** * Constructs a new EncReactionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEncReactionMessage); /** EncReactionMessage targetMessageKey. */ public targetMessageKey?: (waproto.IMessageKey|null); /** EncReactionMessage encPayload. */ public encPayload?: (Uint8Array|null); /** EncReactionMessage encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new EncReactionMessage instance using the specified properties. * @param [properties] Properties to set * @returns EncReactionMessage instance */ public static create(properties?: waproto.Message.IEncReactionMessage): waproto.Message.EncReactionMessage; /** * Encodes the specified EncReactionMessage message. Does not implicitly {@link waproto.Message.EncReactionMessage.verify|verify} messages. * @param message EncReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEncReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EncReactionMessage message, length delimited. Does not implicitly {@link waproto.Message.EncReactionMessage.verify|verify} messages. * @param message EncReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEncReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EncReactionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EncReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EncReactionMessage; /** * Decodes an EncReactionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EncReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EncReactionMessage; /** * Verifies an EncReactionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EncReactionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EncReactionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EncReactionMessage; /** * Creates a plain object from an EncReactionMessage message. Also converts values to other types if specified. * @param message EncReactionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EncReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EncReactionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EncReactionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PinInChatMessage. */ interface IPinInChatMessage { /** PinInChatMessage key */ key?: (waproto.IMessageKey|null); /** PinInChatMessage type */ type?: (waproto.Message.PinInChatMessage.Type|null); /** PinInChatMessage senderTimestampMs */ senderTimestampMs?: (number|Long|null); } /** Represents a PinInChatMessage. */ class PinInChatMessage implements IPinInChatMessage { /** * Constructs a new PinInChatMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPinInChatMessage); /** PinInChatMessage key. */ public key?: (waproto.IMessageKey|null); /** PinInChatMessage type. */ public type?: (waproto.Message.PinInChatMessage.Type|null); /** PinInChatMessage senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** * Creates a new PinInChatMessage instance using the specified properties. * @param [properties] Properties to set * @returns PinInChatMessage instance */ public static create(properties?: waproto.Message.IPinInChatMessage): waproto.Message.PinInChatMessage; /** * Encodes the specified PinInChatMessage message. Does not implicitly {@link waproto.Message.PinInChatMessage.verify|verify} messages. * @param message PinInChatMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPinInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PinInChatMessage message, length delimited. Does not implicitly {@link waproto.Message.PinInChatMessage.verify|verify} messages. * @param message PinInChatMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPinInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PinInChatMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PinInChatMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PinInChatMessage; /** * Decodes a PinInChatMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PinInChatMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PinInChatMessage; /** * Verifies a PinInChatMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PinInChatMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PinInChatMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PinInChatMessage; /** * Creates a plain object from a PinInChatMessage message. Also converts values to other types if specified. * @param message PinInChatMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PinInChatMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PinInChatMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PinInChatMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PinInChatMessage { /** Type enum. */ enum Type { UNKNOWN_TYPE = 0, PIN_FOR_ALL = 1, UNPIN_FOR_ALL = 2 } } /** Properties of a KeepInChatMessage. */ interface IKeepInChatMessage { /** KeepInChatMessage key */ key?: (waproto.IMessageKey|null); /** KeepInChatMessage keepType */ keepType?: (waproto.KeepType|null); /** KeepInChatMessage timestampMs */ timestampMs?: (number|Long|null); } /** Represents a KeepInChatMessage. */ class KeepInChatMessage implements IKeepInChatMessage { /** * Constructs a new KeepInChatMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IKeepInChatMessage); /** KeepInChatMessage key. */ public key?: (waproto.IMessageKey|null); /** KeepInChatMessage keepType. */ public keepType?: (waproto.KeepType|null); /** KeepInChatMessage timestampMs. */ public timestampMs?: (number|Long|null); /** * Creates a new KeepInChatMessage instance using the specified properties. * @param [properties] Properties to set * @returns KeepInChatMessage instance */ public static create(properties?: waproto.Message.IKeepInChatMessage): waproto.Message.KeepInChatMessage; /** * Encodes the specified KeepInChatMessage message. Does not implicitly {@link waproto.Message.KeepInChatMessage.verify|verify} messages. * @param message KeepInChatMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IKeepInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeepInChatMessage message, length delimited. Does not implicitly {@link waproto.Message.KeepInChatMessage.verify|verify} messages. * @param message KeepInChatMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IKeepInChatMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeepInChatMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeepInChatMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.KeepInChatMessage; /** * Decodes a KeepInChatMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeepInChatMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.KeepInChatMessage; /** * Verifies a KeepInChatMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeepInChatMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeepInChatMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.KeepInChatMessage; /** * Creates a plain object from a KeepInChatMessage message. Also converts values to other types if specified. * @param message KeepInChatMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.KeepInChatMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeepInChatMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeepInChatMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuestionResponseMessage. */ interface IQuestionResponseMessage { /** QuestionResponseMessage key */ key?: (waproto.IMessageKey|null); /** QuestionResponseMessage text */ text?: (string|null); } /** Represents a QuestionResponseMessage. */ class QuestionResponseMessage implements IQuestionResponseMessage { /** * Constructs a new QuestionResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IQuestionResponseMessage); /** QuestionResponseMessage key. */ public key?: (waproto.IMessageKey|null); /** QuestionResponseMessage text. */ public text?: (string|null); /** * Creates a new QuestionResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns QuestionResponseMessage instance */ public static create(properties?: waproto.Message.IQuestionResponseMessage): waproto.Message.QuestionResponseMessage; /** * Encodes the specified QuestionResponseMessage message. Does not implicitly {@link waproto.Message.QuestionResponseMessage.verify|verify} messages. * @param message QuestionResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IQuestionResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuestionResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.QuestionResponseMessage.verify|verify} messages. * @param message QuestionResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IQuestionResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuestionResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuestionResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.QuestionResponseMessage; /** * Decodes a QuestionResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuestionResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.QuestionResponseMessage; /** * Verifies a QuestionResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuestionResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuestionResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.QuestionResponseMessage; /** * Creates a plain object from a QuestionResponseMessage message. Also converts values to other types if specified. * @param message QuestionResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.QuestionResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuestionResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuestionResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusStickerInteractionMessage. */ interface IStatusStickerInteractionMessage { /** StatusStickerInteractionMessage key */ key?: (waproto.IMessageKey|null); /** StatusStickerInteractionMessage stickerKey */ stickerKey?: (string|null); /** StatusStickerInteractionMessage type */ type?: (waproto.Message.StatusStickerInteractionMessage.StatusStickerType|null); } /** Represents a StatusStickerInteractionMessage. */ class StatusStickerInteractionMessage implements IStatusStickerInteractionMessage { /** * Constructs a new StatusStickerInteractionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStatusStickerInteractionMessage); /** StatusStickerInteractionMessage key. */ public key?: (waproto.IMessageKey|null); /** StatusStickerInteractionMessage stickerKey. */ public stickerKey?: (string|null); /** StatusStickerInteractionMessage type. */ public type?: (waproto.Message.StatusStickerInteractionMessage.StatusStickerType|null); /** * Creates a new StatusStickerInteractionMessage instance using the specified properties. * @param [properties] Properties to set * @returns StatusStickerInteractionMessage instance */ public static create(properties?: waproto.Message.IStatusStickerInteractionMessage): waproto.Message.StatusStickerInteractionMessage; /** * Encodes the specified StatusStickerInteractionMessage message. Does not implicitly {@link waproto.Message.StatusStickerInteractionMessage.verify|verify} messages. * @param message StatusStickerInteractionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStatusStickerInteractionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusStickerInteractionMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusStickerInteractionMessage.verify|verify} messages. * @param message StatusStickerInteractionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStatusStickerInteractionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusStickerInteractionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusStickerInteractionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusStickerInteractionMessage; /** * Decodes a StatusStickerInteractionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusStickerInteractionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusStickerInteractionMessage; /** * Verifies a StatusStickerInteractionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusStickerInteractionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusStickerInteractionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StatusStickerInteractionMessage; /** * Creates a plain object from a StatusStickerInteractionMessage message. Also converts values to other types if specified. * @param message StatusStickerInteractionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StatusStickerInteractionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusStickerInteractionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusStickerInteractionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusStickerInteractionMessage { /** StatusStickerType enum. */ enum StatusStickerType { UNKNOWN = 0, REACTION = 1 } } /** Properties of a StatusQuestionAnswerMessage. */ interface IStatusQuestionAnswerMessage { /** StatusQuestionAnswerMessage key */ key?: (waproto.IMessageKey|null); /** StatusQuestionAnswerMessage text */ text?: (string|null); } /** Represents a StatusQuestionAnswerMessage. */ class StatusQuestionAnswerMessage implements IStatusQuestionAnswerMessage { /** * Constructs a new StatusQuestionAnswerMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStatusQuestionAnswerMessage); /** StatusQuestionAnswerMessage key. */ public key?: (waproto.IMessageKey|null); /** StatusQuestionAnswerMessage text. */ public text?: (string|null); /** * Creates a new StatusQuestionAnswerMessage instance using the specified properties. * @param [properties] Properties to set * @returns StatusQuestionAnswerMessage instance */ public static create(properties?: waproto.Message.IStatusQuestionAnswerMessage): waproto.Message.StatusQuestionAnswerMessage; /** * Encodes the specified StatusQuestionAnswerMessage message. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages. * @param message StatusQuestionAnswerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStatusQuestionAnswerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusQuestionAnswerMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusQuestionAnswerMessage.verify|verify} messages. * @param message StatusQuestionAnswerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStatusQuestionAnswerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusQuestionAnswerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusQuestionAnswerMessage; /** * Decodes a StatusQuestionAnswerMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusQuestionAnswerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusQuestionAnswerMessage; /** * Verifies a StatusQuestionAnswerMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusQuestionAnswerMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusQuestionAnswerMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StatusQuestionAnswerMessage; /** * Creates a plain object from a StatusQuestionAnswerMessage message. Also converts values to other types if specified. * @param message StatusQuestionAnswerMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StatusQuestionAnswerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusQuestionAnswerMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusQuestionAnswerMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollResultSnapshotMessage. */ interface IPollResultSnapshotMessage { /** PollResultSnapshotMessage name */ name?: (string|null); /** PollResultSnapshotMessage pollVotes */ pollVotes?: (waproto.Message.PollResultSnapshotMessage.IPollVote[]|null); /** PollResultSnapshotMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** PollResultSnapshotMessage pollType */ pollType?: (waproto.Message.PollType|null); } /** Represents a PollResultSnapshotMessage. */ class PollResultSnapshotMessage implements IPollResultSnapshotMessage { /** * Constructs a new PollResultSnapshotMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollResultSnapshotMessage); /** PollResultSnapshotMessage name. */ public name?: (string|null); /** PollResultSnapshotMessage pollVotes. */ public pollVotes: waproto.Message.PollResultSnapshotMessage.IPollVote[]; /** PollResultSnapshotMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** PollResultSnapshotMessage pollType. */ public pollType?: (waproto.Message.PollType|null); /** * Creates a new PollResultSnapshotMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollResultSnapshotMessage instance */ public static create(properties?: waproto.Message.IPollResultSnapshotMessage): waproto.Message.PollResultSnapshotMessage; /** * Encodes the specified PollResultSnapshotMessage message. Does not implicitly {@link waproto.Message.PollResultSnapshotMessage.verify|verify} messages. * @param message PollResultSnapshotMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollResultSnapshotMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollResultSnapshotMessage message, length delimited. Does not implicitly {@link waproto.Message.PollResultSnapshotMessage.verify|verify} messages. * @param message PollResultSnapshotMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollResultSnapshotMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollResultSnapshotMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollResultSnapshotMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollResultSnapshotMessage; /** * Decodes a PollResultSnapshotMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollResultSnapshotMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollResultSnapshotMessage; /** * Verifies a PollResultSnapshotMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollResultSnapshotMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollResultSnapshotMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollResultSnapshotMessage; /** * Creates a plain object from a PollResultSnapshotMessage message. Also converts values to other types if specified. * @param message PollResultSnapshotMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollResultSnapshotMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollResultSnapshotMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollResultSnapshotMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PollResultSnapshotMessage { /** Properties of a PollVote. */ interface IPollVote { /** PollVote optionName */ optionName?: (string|null); /** PollVote optionVoteCount */ optionVoteCount?: (number|Long|null); } /** Represents a PollVote. */ class PollVote implements IPollVote { /** * Constructs a new PollVote. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PollResultSnapshotMessage.IPollVote); /** PollVote optionName. */ public optionName?: (string|null); /** PollVote optionVoteCount. */ public optionVoteCount?: (number|Long|null); /** * Creates a new PollVote instance using the specified properties. * @param [properties] Properties to set * @returns PollVote instance */ public static create(properties?: waproto.Message.PollResultSnapshotMessage.IPollVote): waproto.Message.PollResultSnapshotMessage.PollVote; /** * Encodes the specified PollVote message. Does not implicitly {@link waproto.Message.PollResultSnapshotMessage.PollVote.verify|verify} messages. * @param message PollVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PollResultSnapshotMessage.IPollVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVote message, length delimited. Does not implicitly {@link waproto.Message.PollResultSnapshotMessage.PollVote.verify|verify} messages. * @param message PollVote message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PollResultSnapshotMessage.IPollVote, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVote message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollResultSnapshotMessage.PollVote; /** * Decodes a PollVote message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVote * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollResultSnapshotMessage.PollVote; /** * Verifies a PollVote message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVote message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVote */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollResultSnapshotMessage.PollVote; /** * Creates a plain object from a PollVote message. Also converts values to other types if specified. * @param message PollVote * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollResultSnapshotMessage.PollVote, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVote to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVote * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a PollAddOptionMessage. */ interface IPollAddOptionMessage { /** PollAddOptionMessage pollCreationMessageKey */ pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollAddOptionMessage addOption */ addOption?: (waproto.Message.PollCreationMessage.IOption|null); /** PollAddOptionMessage metadata */ metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); } /** Represents a PollAddOptionMessage. */ class PollAddOptionMessage implements IPollAddOptionMessage { /** * Constructs a new PollAddOptionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollAddOptionMessage); /** PollAddOptionMessage pollCreationMessageKey. */ public pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollAddOptionMessage addOption. */ public addOption?: (waproto.Message.PollCreationMessage.IOption|null); /** PollAddOptionMessage metadata. */ public metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); /** * Creates a new PollAddOptionMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollAddOptionMessage instance */ public static create(properties?: waproto.Message.IPollAddOptionMessage): waproto.Message.PollAddOptionMessage; /** * Encodes the specified PollAddOptionMessage message. Does not implicitly {@link waproto.Message.PollAddOptionMessage.verify|verify} messages. * @param message PollAddOptionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollAddOptionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollAddOptionMessage message, length delimited. Does not implicitly {@link waproto.Message.PollAddOptionMessage.verify|verify} messages. * @param message PollAddOptionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollAddOptionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollAddOptionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollAddOptionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollAddOptionMessage; /** * Decodes a PollAddOptionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollAddOptionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollAddOptionMessage; /** * Verifies a PollAddOptionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollAddOptionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollAddOptionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollAddOptionMessage; /** * Creates a plain object from a PollAddOptionMessage message. Also converts values to other types if specified. * @param message PollAddOptionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollAddOptionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollAddOptionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollAddOptionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVoteMessage. */ interface IPollVoteMessage { /** PollVoteMessage selectedOptions */ selectedOptions?: (Uint8Array[]|null); } /** Represents a PollVoteMessage. */ class PollVoteMessage implements IPollVoteMessage { /** * Constructs a new PollVoteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollVoteMessage); /** PollVoteMessage selectedOptions. */ public selectedOptions: Uint8Array[]; /** * Creates a new PollVoteMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollVoteMessage instance */ public static create(properties?: waproto.Message.IPollVoteMessage): waproto.Message.PollVoteMessage; /** * Encodes the specified PollVoteMessage message. Does not implicitly {@link waproto.Message.PollVoteMessage.verify|verify} messages. * @param message PollVoteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVoteMessage message, length delimited. Does not implicitly {@link waproto.Message.PollVoteMessage.verify|verify} messages. * @param message PollVoteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollVoteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVoteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVoteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollVoteMessage; /** * Decodes a PollVoteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVoteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollVoteMessage; /** * Verifies a PollVoteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVoteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVoteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollVoteMessage; /** * Creates a plain object from a PollVoteMessage message. Also converts values to other types if specified. * @param message PollVoteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollVoteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVoteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVoteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollEncValue. */ interface IPollEncValue { /** PollEncValue encPayload */ encPayload?: (Uint8Array|null); /** PollEncValue encIv */ encIv?: (Uint8Array|null); } /** Represents a PollEncValue. */ class PollEncValue implements IPollEncValue { /** * Constructs a new PollEncValue. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollEncValue); /** PollEncValue encPayload. */ public encPayload?: (Uint8Array|null); /** PollEncValue encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new PollEncValue instance using the specified properties. * @param [properties] Properties to set * @returns PollEncValue instance */ public static create(properties?: waproto.Message.IPollEncValue): waproto.Message.PollEncValue; /** * Encodes the specified PollEncValue message. Does not implicitly {@link waproto.Message.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollEncValue message, length delimited. Does not implicitly {@link waproto.Message.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollEncValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollEncValue; /** * Decodes a PollEncValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollEncValue; /** * Verifies a PollEncValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollEncValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollEncValue */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollEncValue; /** * Creates a plain object from a PollEncValue message. Also converts values to other types if specified. * @param message PollEncValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollEncValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollEncValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollEncValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollUpdateMessageMetadata. */ interface IPollUpdateMessageMetadata { /** PollUpdateMessageMetadata pollNameHash */ pollNameHash?: (Uint8Array|null); /** PollUpdateMessageMetadata lastEditStanzaId */ lastEditStanzaId?: (string|null); } /** Represents a PollUpdateMessageMetadata. */ class PollUpdateMessageMetadata implements IPollUpdateMessageMetadata { /** * Constructs a new PollUpdateMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollUpdateMessageMetadata); /** PollUpdateMessageMetadata pollNameHash. */ public pollNameHash?: (Uint8Array|null); /** PollUpdateMessageMetadata lastEditStanzaId. */ public lastEditStanzaId?: (string|null); /** * Creates a new PollUpdateMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns PollUpdateMessageMetadata instance */ public static create(properties?: waproto.Message.IPollUpdateMessageMetadata): waproto.Message.PollUpdateMessageMetadata; /** * Encodes the specified PollUpdateMessageMetadata message. Does not implicitly {@link waproto.Message.PollUpdateMessageMetadata.verify|verify} messages. * @param message PollUpdateMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollUpdateMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollUpdateMessageMetadata message, length delimited. Does not implicitly {@link waproto.Message.PollUpdateMessageMetadata.verify|verify} messages. * @param message PollUpdateMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollUpdateMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollUpdateMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollUpdateMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollUpdateMessageMetadata; /** * Decodes a PollUpdateMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollUpdateMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollUpdateMessageMetadata; /** * Verifies a PollUpdateMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollUpdateMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollUpdateMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollUpdateMessageMetadata; /** * Creates a plain object from a PollUpdateMessageMetadata message. Also converts values to other types if specified. * @param message PollUpdateMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollUpdateMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollUpdateMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollUpdateMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollUpdateMessage. */ interface IPollUpdateMessage { /** PollUpdateMessage pollCreationMessageKey */ pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollUpdateMessage vote */ vote?: (waproto.Message.IPollEncValue|null); /** PollUpdateMessage metadata */ metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); /** PollUpdateMessage senderTimestampMs */ senderTimestampMs?: (number|Long|null); } /** Represents a PollUpdateMessage. */ class PollUpdateMessage implements IPollUpdateMessage { /** * Constructs a new PollUpdateMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollUpdateMessage); /** PollUpdateMessage pollCreationMessageKey. */ public pollCreationMessageKey?: (waproto.IMessageKey|null); /** PollUpdateMessage vote. */ public vote?: (waproto.Message.IPollEncValue|null); /** PollUpdateMessage metadata. */ public metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); /** PollUpdateMessage senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** * Creates a new PollUpdateMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollUpdateMessage instance */ public static create(properties?: waproto.Message.IPollUpdateMessage): waproto.Message.PollUpdateMessage; /** * Encodes the specified PollUpdateMessage message. Does not implicitly {@link waproto.Message.PollUpdateMessage.verify|verify} messages. * @param message PollUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollUpdateMessage message, length delimited. Does not implicitly {@link waproto.Message.PollUpdateMessage.verify|verify} messages. * @param message PollUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollUpdateMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollUpdateMessage; /** * Decodes a PollUpdateMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollUpdateMessage; /** * Verifies a PollUpdateMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollUpdateMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollUpdateMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollUpdateMessage; /** * Creates a plain object from a PollUpdateMessage message. Also converts values to other types if specified. * @param message PollUpdateMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollUpdateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollUpdateMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollUpdateMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollCreationMessage. */ interface IPollCreationMessage { /** PollCreationMessage encKey */ encKey?: (Uint8Array|null); /** PollCreationMessage name */ name?: (string|null); /** PollCreationMessage options */ options?: (waproto.Message.PollCreationMessage.IOption[]|null); /** PollCreationMessage selectableOptionsCount */ selectableOptionsCount?: (number|null); /** PollCreationMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** PollCreationMessage pollContentType */ pollContentType?: (waproto.Message.PollContentType|null); /** PollCreationMessage pollType */ pollType?: (waproto.Message.PollType|null); /** PollCreationMessage correctAnswer */ correctAnswer?: (waproto.Message.PollCreationMessage.IOption|null); /** PollCreationMessage endTime */ endTime?: (number|Long|null); /** PollCreationMessage hideParticipantName */ hideParticipantName?: (boolean|null); /** PollCreationMessage allowAddOption */ allowAddOption?: (boolean|null); } /** Represents a PollCreationMessage. */ class PollCreationMessage implements IPollCreationMessage { /** * Constructs a new PollCreationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPollCreationMessage); /** PollCreationMessage encKey. */ public encKey?: (Uint8Array|null); /** PollCreationMessage name. */ public name?: (string|null); /** PollCreationMessage options. */ public options: waproto.Message.PollCreationMessage.IOption[]; /** PollCreationMessage selectableOptionsCount. */ public selectableOptionsCount?: (number|null); /** PollCreationMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** PollCreationMessage pollContentType. */ public pollContentType?: (waproto.Message.PollContentType|null); /** PollCreationMessage pollType. */ public pollType?: (waproto.Message.PollType|null); /** PollCreationMessage correctAnswer. */ public correctAnswer?: (waproto.Message.PollCreationMessage.IOption|null); /** PollCreationMessage endTime. */ public endTime?: (number|Long|null); /** PollCreationMessage hideParticipantName. */ public hideParticipantName?: (boolean|null); /** PollCreationMessage allowAddOption. */ public allowAddOption?: (boolean|null); /** * Creates a new PollCreationMessage instance using the specified properties. * @param [properties] Properties to set * @returns PollCreationMessage instance */ public static create(properties?: waproto.Message.IPollCreationMessage): waproto.Message.PollCreationMessage; /** * Encodes the specified PollCreationMessage message. Does not implicitly {@link waproto.Message.PollCreationMessage.verify|verify} messages. * @param message PollCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollCreationMessage message, length delimited. Does not implicitly {@link waproto.Message.PollCreationMessage.verify|verify} messages. * @param message PollCreationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPollCreationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollCreationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollCreationMessage; /** * Decodes a PollCreationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollCreationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollCreationMessage; /** * Verifies a PollCreationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollCreationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollCreationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollCreationMessage; /** * Creates a plain object from a PollCreationMessage message. Also converts values to other types if specified. * @param message PollCreationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollCreationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollCreationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollCreationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PollCreationMessage { /** Properties of an Option. */ interface IOption { /** Option optionName */ optionName?: (string|null); /** Option optionHash */ optionHash?: (string|null); } /** Represents an Option. */ class Option implements IOption { /** * Constructs a new Option. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PollCreationMessage.IOption); /** Option optionName. */ public optionName?: (string|null); /** Option optionHash. */ public optionHash?: (string|null); /** * Creates a new Option instance using the specified properties. * @param [properties] Properties to set * @returns Option instance */ public static create(properties?: waproto.Message.PollCreationMessage.IOption): waproto.Message.PollCreationMessage.Option; /** * Encodes the specified Option message. Does not implicitly {@link waproto.Message.PollCreationMessage.Option.verify|verify} messages. * @param message Option message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PollCreationMessage.IOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Option message, length delimited. Does not implicitly {@link waproto.Message.PollCreationMessage.Option.verify|verify} messages. * @param message Option message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PollCreationMessage.IOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Option message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Option * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PollCreationMessage.Option; /** * Decodes an Option message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Option * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PollCreationMessage.Option; /** * Verifies an Option message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Option message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Option */ public static fromObject(object: { [k: string]: any }): waproto.Message.PollCreationMessage.Option; /** * Creates a plain object from an Option message. Also converts values to other types if specified. * @param message Option * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PollCreationMessage.Option, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Option to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Option * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a StickerSyncRMRMessage. */ interface IStickerSyncRMRMessage { /** StickerSyncRMRMessage filehash */ filehash?: (string[]|null); /** StickerSyncRMRMessage rmrSource */ rmrSource?: (string|null); /** StickerSyncRMRMessage requestTimestamp */ requestTimestamp?: (number|Long|null); } /** Represents a StickerSyncRMRMessage. */ class StickerSyncRMRMessage implements IStickerSyncRMRMessage { /** * Constructs a new StickerSyncRMRMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStickerSyncRMRMessage); /** StickerSyncRMRMessage filehash. */ public filehash: string[]; /** StickerSyncRMRMessage rmrSource. */ public rmrSource?: (string|null); /** StickerSyncRMRMessage requestTimestamp. */ public requestTimestamp?: (number|Long|null); /** * Creates a new StickerSyncRMRMessage instance using the specified properties. * @param [properties] Properties to set * @returns StickerSyncRMRMessage instance */ public static create(properties?: waproto.Message.IStickerSyncRMRMessage): waproto.Message.StickerSyncRMRMessage; /** * Encodes the specified StickerSyncRMRMessage message. Does not implicitly {@link waproto.Message.StickerSyncRMRMessage.verify|verify} messages. * @param message StickerSyncRMRMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerSyncRMRMessage message, length delimited. Does not implicitly {@link waproto.Message.StickerSyncRMRMessage.verify|verify} messages. * @param message StickerSyncRMRMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStickerSyncRMRMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerSyncRMRMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerSyncRMRMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StickerSyncRMRMessage; /** * Decodes a StickerSyncRMRMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerSyncRMRMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StickerSyncRMRMessage; /** * Verifies a StickerSyncRMRMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerSyncRMRMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerSyncRMRMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StickerSyncRMRMessage; /** * Creates a plain object from a StickerSyncRMRMessage message. Also converts values to other types if specified. * @param message StickerSyncRMRMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StickerSyncRMRMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerSyncRMRMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerSyncRMRMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReactionMessage. */ interface IReactionMessage { /** ReactionMessage key */ key?: (waproto.IMessageKey|null); /** ReactionMessage text */ text?: (string|null); /** ReactionMessage groupingKey */ groupingKey?: (string|null); /** ReactionMessage senderTimestampMs */ senderTimestampMs?: (number|Long|null); } /** Represents a ReactionMessage. */ class ReactionMessage implements IReactionMessage { /** * Constructs a new ReactionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IReactionMessage); /** ReactionMessage key. */ public key?: (waproto.IMessageKey|null); /** ReactionMessage text. */ public text?: (string|null); /** ReactionMessage groupingKey. */ public groupingKey?: (string|null); /** ReactionMessage senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** * Creates a new ReactionMessage instance using the specified properties. * @param [properties] Properties to set * @returns ReactionMessage instance */ public static create(properties?: waproto.Message.IReactionMessage): waproto.Message.ReactionMessage; /** * Encodes the specified ReactionMessage message. Does not implicitly {@link waproto.Message.ReactionMessage.verify|verify} messages. * @param message ReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReactionMessage message, length delimited. Does not implicitly {@link waproto.Message.ReactionMessage.verify|verify} messages. * @param message ReactionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IReactionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReactionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ReactionMessage; /** * Decodes a ReactionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReactionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ReactionMessage; /** * Verifies a ReactionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReactionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReactionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ReactionMessage; /** * Creates a plain object from a ReactionMessage message. Also converts values to other types if specified. * @param message ReactionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ReactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReactionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReactionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ButtonsResponseMessage. */ interface IButtonsResponseMessage { /** ButtonsResponseMessage selectedButtonId */ selectedButtonId?: (string|null); /** ButtonsResponseMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ButtonsResponseMessage type */ type?: (waproto.Message.ButtonsResponseMessage.Type|null); /** ButtonsResponseMessage selectedDisplayText */ selectedDisplayText?: (string|null); } /** Represents a ButtonsResponseMessage. */ class ButtonsResponseMessage implements IButtonsResponseMessage { /** * Constructs a new ButtonsResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IButtonsResponseMessage); /** ButtonsResponseMessage selectedButtonId. */ public selectedButtonId?: (string|null); /** ButtonsResponseMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ButtonsResponseMessage type. */ public type?: (waproto.Message.ButtonsResponseMessage.Type|null); /** ButtonsResponseMessage selectedDisplayText. */ public selectedDisplayText?: (string|null); /** ButtonsResponseMessage response. */ public response?: "selectedDisplayText"; /** * Creates a new ButtonsResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns ButtonsResponseMessage instance */ public static create(properties?: waproto.Message.IButtonsResponseMessage): waproto.Message.ButtonsResponseMessage; /** * Encodes the specified ButtonsResponseMessage message. Does not implicitly {@link waproto.Message.ButtonsResponseMessage.verify|verify} messages. * @param message ButtonsResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ButtonsResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.ButtonsResponseMessage.verify|verify} messages. * @param message ButtonsResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IButtonsResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ButtonsResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ButtonsResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ButtonsResponseMessage; /** * Decodes a ButtonsResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ButtonsResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ButtonsResponseMessage; /** * Verifies a ButtonsResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ButtonsResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ButtonsResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ButtonsResponseMessage; /** * Creates a plain object from a ButtonsResponseMessage message. Also converts values to other types if specified. * @param message ButtonsResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ButtonsResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ButtonsResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ButtonsResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ButtonsResponseMessage { /** Type enum. */ enum Type { UNKNOWN = 0, DISPLAY_TEXT = 1 } } /** Properties of a ButtonsMessage. */ interface IButtonsMessage { /** ButtonsMessage contentText */ contentText?: (string|null); /** ButtonsMessage footerText */ footerText?: (string|null); /** ButtonsMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ButtonsMessage buttons */ buttons?: (waproto.Message.ButtonsMessage.IButton[]|null); /** ButtonsMessage headerType */ headerType?: (waproto.Message.ButtonsMessage.HeaderType|null); /** ButtonsMessage text */ text?: (string|null); /** ButtonsMessage documentMessage */ documentMessage?: (waproto.Message.IDocumentMessage|null); /** ButtonsMessage imageMessage */ imageMessage?: (waproto.Message.IImageMessage|null); /** ButtonsMessage videoMessage */ videoMessage?: (waproto.Message.IVideoMessage|null); /** ButtonsMessage locationMessage */ locationMessage?: (waproto.Message.ILocationMessage|null); } /** Represents a ButtonsMessage. */ class ButtonsMessage implements IButtonsMessage { /** * Constructs a new ButtonsMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IButtonsMessage); /** ButtonsMessage contentText. */ public contentText?: (string|null); /** ButtonsMessage footerText. */ public footerText?: (string|null); /** ButtonsMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ButtonsMessage buttons. */ public buttons: waproto.Message.ButtonsMessage.IButton[]; /** ButtonsMessage headerType. */ public headerType?: (waproto.Message.ButtonsMessage.HeaderType|null); /** ButtonsMessage text. */ public text?: (string|null); /** ButtonsMessage documentMessage. */ public documentMessage?: (waproto.Message.IDocumentMessage|null); /** ButtonsMessage imageMessage. */ public imageMessage?: (waproto.Message.IImageMessage|null); /** ButtonsMessage videoMessage. */ public videoMessage?: (waproto.Message.IVideoMessage|null); /** ButtonsMessage locationMessage. */ public locationMessage?: (waproto.Message.ILocationMessage|null); /** ButtonsMessage header. */ public header?: ("text"|"documentMessage"|"imageMessage"|"videoMessage"|"locationMessage"); /** * Creates a new ButtonsMessage instance using the specified properties. * @param [properties] Properties to set * @returns ButtonsMessage instance */ public static create(properties?: waproto.Message.IButtonsMessage): waproto.Message.ButtonsMessage; /** * Encodes the specified ButtonsMessage message. Does not implicitly {@link waproto.Message.ButtonsMessage.verify|verify} messages. * @param message ButtonsMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ButtonsMessage message, length delimited. Does not implicitly {@link waproto.Message.ButtonsMessage.verify|verify} messages. * @param message ButtonsMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IButtonsMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ButtonsMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ButtonsMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ButtonsMessage; /** * Decodes a ButtonsMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ButtonsMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ButtonsMessage; /** * Verifies a ButtonsMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ButtonsMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ButtonsMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ButtonsMessage; /** * Creates a plain object from a ButtonsMessage message. Also converts values to other types if specified. * @param message ButtonsMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ButtonsMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ButtonsMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ButtonsMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ButtonsMessage { /** HeaderType enum. */ enum HeaderType { UNKNOWN = 0, EMPTY = 1, TEXT = 2, DOCUMENT = 3, IMAGE = 4, VIDEO = 5, LOCATION = 6 } /** Properties of a Button. */ interface IButton { /** Button buttonId */ buttonId?: (string|null); /** Button buttonText */ buttonText?: (waproto.Message.ButtonsMessage.Button.IButtonText|null); /** Button type */ type?: (waproto.Message.ButtonsMessage.Button.Type|null); /** Button nativeFlowInfo */ nativeFlowInfo?: (waproto.Message.ButtonsMessage.Button.INativeFlowInfo|null); } /** Represents a Button. */ class Button implements IButton { /** * Constructs a new Button. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ButtonsMessage.IButton); /** Button buttonId. */ public buttonId?: (string|null); /** Button buttonText. */ public buttonText?: (waproto.Message.ButtonsMessage.Button.IButtonText|null); /** Button type. */ public type?: (waproto.Message.ButtonsMessage.Button.Type|null); /** Button nativeFlowInfo. */ public nativeFlowInfo?: (waproto.Message.ButtonsMessage.Button.INativeFlowInfo|null); /** * Creates a new Button instance using the specified properties. * @param [properties] Properties to set * @returns Button instance */ public static create(properties?: waproto.Message.ButtonsMessage.IButton): waproto.Message.ButtonsMessage.Button; /** * Encodes the specified Button message. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.verify|verify} messages. * @param message Button message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ButtonsMessage.IButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Button message, length delimited. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.verify|verify} messages. * @param message Button message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ButtonsMessage.IButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Button message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Button * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ButtonsMessage.Button; /** * Decodes a Button message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Button * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ButtonsMessage.Button; /** * Verifies a Button message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Button message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Button */ public static fromObject(object: { [k: string]: any }): waproto.Message.ButtonsMessage.Button; /** * Creates a plain object from a Button message. Also converts values to other types if specified. * @param message Button * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ButtonsMessage.Button, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Button to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Button * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Button { /** Type enum. */ enum Type { UNKNOWN = 0, RESPONSE = 1, NATIVE_FLOW = 2 } /** Properties of a NativeFlowInfo. */ interface INativeFlowInfo { /** NativeFlowInfo name */ name?: (string|null); /** NativeFlowInfo paramsJson */ paramsJson?: (string|null); } /** Represents a NativeFlowInfo. */ class NativeFlowInfo implements INativeFlowInfo { /** * Constructs a new NativeFlowInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ButtonsMessage.Button.INativeFlowInfo); /** NativeFlowInfo name. */ public name?: (string|null); /** NativeFlowInfo paramsJson. */ public paramsJson?: (string|null); /** * Creates a new NativeFlowInfo instance using the specified properties. * @param [properties] Properties to set * @returns NativeFlowInfo instance */ public static create(properties?: waproto.Message.ButtonsMessage.Button.INativeFlowInfo): waproto.Message.ButtonsMessage.Button.NativeFlowInfo; /** * Encodes the specified NativeFlowInfo message. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.NativeFlowInfo.verify|verify} messages. * @param message NativeFlowInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ButtonsMessage.Button.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeFlowInfo message, length delimited. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.NativeFlowInfo.verify|verify} messages. * @param message NativeFlowInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ButtonsMessage.Button.INativeFlowInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeFlowInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeFlowInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ButtonsMessage.Button.NativeFlowInfo; /** * Decodes a NativeFlowInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeFlowInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ButtonsMessage.Button.NativeFlowInfo; /** * Verifies a NativeFlowInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeFlowInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeFlowInfo */ public static fromObject(object: { [k: string]: any }): waproto.Message.ButtonsMessage.Button.NativeFlowInfo; /** * Creates a plain object from a NativeFlowInfo message. Also converts values to other types if specified. * @param message NativeFlowInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ButtonsMessage.Button.NativeFlowInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeFlowInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NativeFlowInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ButtonText. */ interface IButtonText { /** ButtonText displayText */ displayText?: (string|null); } /** Represents a ButtonText. */ class ButtonText implements IButtonText { /** * Constructs a new ButtonText. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ButtonsMessage.Button.IButtonText); /** ButtonText displayText. */ public displayText?: (string|null); /** * Creates a new ButtonText instance using the specified properties. * @param [properties] Properties to set * @returns ButtonText instance */ public static create(properties?: waproto.Message.ButtonsMessage.Button.IButtonText): waproto.Message.ButtonsMessage.Button.ButtonText; /** * Encodes the specified ButtonText message. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.ButtonText.verify|verify} messages. * @param message ButtonText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ButtonsMessage.Button.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ButtonText message, length delimited. Does not implicitly {@link waproto.Message.ButtonsMessage.Button.ButtonText.verify|verify} messages. * @param message ButtonText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ButtonsMessage.Button.IButtonText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ButtonText message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ButtonText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ButtonsMessage.Button.ButtonText; /** * Decodes a ButtonText message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ButtonText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ButtonsMessage.Button.ButtonText; /** * Verifies a ButtonText message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ButtonText message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ButtonText */ public static fromObject(object: { [k: string]: any }): waproto.Message.ButtonsMessage.Button.ButtonText; /** * Creates a plain object from a ButtonText message. Also converts values to other types if specified. * @param message ButtonText * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ButtonsMessage.Button.ButtonText, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ButtonText to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ButtonText * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a ConditionalRevealMessage. */ interface IConditionalRevealMessage { /** ConditionalRevealMessage encPayload */ encPayload?: (Uint8Array|null); /** ConditionalRevealMessage encIv */ encIv?: (Uint8Array|null); /** ConditionalRevealMessage conditionalRevealMessageType */ conditionalRevealMessageType?: (waproto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null); /** ConditionalRevealMessage revealKeyId */ revealKeyId?: (string|null); } /** Represents a ConditionalRevealMessage. */ class ConditionalRevealMessage implements IConditionalRevealMessage { /** * Constructs a new ConditionalRevealMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IConditionalRevealMessage); /** ConditionalRevealMessage encPayload. */ public encPayload?: (Uint8Array|null); /** ConditionalRevealMessage encIv. */ public encIv?: (Uint8Array|null); /** ConditionalRevealMessage conditionalRevealMessageType. */ public conditionalRevealMessageType?: (waproto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null); /** ConditionalRevealMessage revealKeyId. */ public revealKeyId?: (string|null); /** * Creates a new ConditionalRevealMessage instance using the specified properties. * @param [properties] Properties to set * @returns ConditionalRevealMessage instance */ public static create(properties?: waproto.Message.IConditionalRevealMessage): waproto.Message.ConditionalRevealMessage; /** * Encodes the specified ConditionalRevealMessage message. Does not implicitly {@link waproto.Message.ConditionalRevealMessage.verify|verify} messages. * @param message ConditionalRevealMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IConditionalRevealMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConditionalRevealMessage message, length delimited. Does not implicitly {@link waproto.Message.ConditionalRevealMessage.verify|verify} messages. * @param message ConditionalRevealMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IConditionalRevealMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConditionalRevealMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConditionalRevealMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ConditionalRevealMessage; /** * Decodes a ConditionalRevealMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConditionalRevealMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ConditionalRevealMessage; /** * Verifies a ConditionalRevealMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConditionalRevealMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConditionalRevealMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ConditionalRevealMessage; /** * Creates a plain object from a ConditionalRevealMessage message. Also converts values to other types if specified. * @param message ConditionalRevealMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ConditionalRevealMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConditionalRevealMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConditionalRevealMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ConditionalRevealMessage { /** ConditionalRevealMessageType enum. */ enum ConditionalRevealMessageType { UNKNOWN = 0, SCHEDULED_MESSAGE = 1 } } /** Properties of a SecretEncryptedMessage. */ interface ISecretEncryptedMessage { /** SecretEncryptedMessage targetMessageKey */ targetMessageKey?: (waproto.IMessageKey|null); /** SecretEncryptedMessage encPayload */ encPayload?: (Uint8Array|null); /** SecretEncryptedMessage encIv */ encIv?: (Uint8Array|null); /** SecretEncryptedMessage secretEncType */ secretEncType?: (waproto.Message.SecretEncryptedMessage.SecretEncType|null); /** SecretEncryptedMessage remoteKeyId */ remoteKeyId?: (string|null); } /** Represents a SecretEncryptedMessage. */ class SecretEncryptedMessage implements ISecretEncryptedMessage { /** * Constructs a new SecretEncryptedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISecretEncryptedMessage); /** SecretEncryptedMessage targetMessageKey. */ public targetMessageKey?: (waproto.IMessageKey|null); /** SecretEncryptedMessage encPayload. */ public encPayload?: (Uint8Array|null); /** SecretEncryptedMessage encIv. */ public encIv?: (Uint8Array|null); /** SecretEncryptedMessage secretEncType. */ public secretEncType?: (waproto.Message.SecretEncryptedMessage.SecretEncType|null); /** SecretEncryptedMessage remoteKeyId. */ public remoteKeyId?: (string|null); /** * Creates a new SecretEncryptedMessage instance using the specified properties. * @param [properties] Properties to set * @returns SecretEncryptedMessage instance */ public static create(properties?: waproto.Message.ISecretEncryptedMessage): waproto.Message.SecretEncryptedMessage; /** * Encodes the specified SecretEncryptedMessage message. Does not implicitly {@link waproto.Message.SecretEncryptedMessage.verify|verify} messages. * @param message SecretEncryptedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISecretEncryptedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SecretEncryptedMessage message, length delimited. Does not implicitly {@link waproto.Message.SecretEncryptedMessage.verify|verify} messages. * @param message SecretEncryptedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISecretEncryptedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SecretEncryptedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SecretEncryptedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SecretEncryptedMessage; /** * Decodes a SecretEncryptedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SecretEncryptedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SecretEncryptedMessage; /** * Verifies a SecretEncryptedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SecretEncryptedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SecretEncryptedMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.SecretEncryptedMessage; /** * Creates a plain object from a SecretEncryptedMessage message. Also converts values to other types if specified. * @param message SecretEncryptedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SecretEncryptedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SecretEncryptedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SecretEncryptedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SecretEncryptedMessage { /** SecretEncType enum. */ enum SecretEncType { UNKNOWN = 0, EVENT_EDIT = 1, MESSAGE_EDIT = 2, MESSAGE_SCHEDULE = 3, POLL_EDIT = 4, POLL_ADD_OPTION = 5 } } /** Properties of a FutureProofMessage. */ interface IFutureProofMessage { /** FutureProofMessage message */ message?: (waproto.IMessage|null); } /** Represents a FutureProofMessage. */ class FutureProofMessage implements IFutureProofMessage { /** * Constructs a new FutureProofMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IFutureProofMessage); /** FutureProofMessage message. */ public message?: (waproto.IMessage|null); /** * Creates a new FutureProofMessage instance using the specified properties. * @param [properties] Properties to set * @returns FutureProofMessage instance */ public static create(properties?: waproto.Message.IFutureProofMessage): waproto.Message.FutureProofMessage; /** * Encodes the specified FutureProofMessage message. Does not implicitly {@link waproto.Message.FutureProofMessage.verify|verify} messages. * @param message FutureProofMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FutureProofMessage message, length delimited. Does not implicitly {@link waproto.Message.FutureProofMessage.verify|verify} messages. * @param message FutureProofMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IFutureProofMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FutureProofMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FutureProofMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.FutureProofMessage; /** * Decodes a FutureProofMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FutureProofMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.FutureProofMessage; /** * Verifies a FutureProofMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FutureProofMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FutureProofMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.FutureProofMessage; /** * Creates a plain object from a FutureProofMessage message. Also converts values to other types if specified. * @param message FutureProofMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.FutureProofMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FutureProofMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FutureProofMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeviceSentMessage. */ interface IDeviceSentMessage { /** DeviceSentMessage destinationJid */ destinationJid?: (string|null); /** DeviceSentMessage message */ message?: (waproto.IMessage|null); /** DeviceSentMessage phash */ phash?: (string|null); } /** Represents a DeviceSentMessage. */ class DeviceSentMessage implements IDeviceSentMessage { /** * Constructs a new DeviceSentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IDeviceSentMessage); /** DeviceSentMessage destinationJid. */ public destinationJid?: (string|null); /** DeviceSentMessage message. */ public message?: (waproto.IMessage|null); /** DeviceSentMessage phash. */ public phash?: (string|null); /** * Creates a new DeviceSentMessage instance using the specified properties. * @param [properties] Properties to set * @returns DeviceSentMessage instance */ public static create(properties?: waproto.Message.IDeviceSentMessage): waproto.Message.DeviceSentMessage; /** * Encodes the specified DeviceSentMessage message. Does not implicitly {@link waproto.Message.DeviceSentMessage.verify|verify} messages. * @param message DeviceSentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceSentMessage message, length delimited. Does not implicitly {@link waproto.Message.DeviceSentMessage.verify|verify} messages. * @param message DeviceSentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceSentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceSentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.DeviceSentMessage; /** * Decodes a DeviceSentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceSentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.DeviceSentMessage; /** * Verifies a DeviceSentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceSentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceSentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.DeviceSentMessage; /** * Creates a plain object from a DeviceSentMessage message. Also converts values to other types if specified. * @param message DeviceSentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.DeviceSentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceSentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceSentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RequestPhoneNumberMessage. */ interface IRequestPhoneNumberMessage { /** RequestPhoneNumberMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a RequestPhoneNumberMessage. */ class RequestPhoneNumberMessage implements IRequestPhoneNumberMessage { /** * Constructs a new RequestPhoneNumberMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IRequestPhoneNumberMessage); /** RequestPhoneNumberMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new RequestPhoneNumberMessage instance using the specified properties. * @param [properties] Properties to set * @returns RequestPhoneNumberMessage instance */ public static create(properties?: waproto.Message.IRequestPhoneNumberMessage): waproto.Message.RequestPhoneNumberMessage; /** * Encodes the specified RequestPhoneNumberMessage message. Does not implicitly {@link waproto.Message.RequestPhoneNumberMessage.verify|verify} messages. * @param message RequestPhoneNumberMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IRequestPhoneNumberMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestPhoneNumberMessage message, length delimited. Does not implicitly {@link waproto.Message.RequestPhoneNumberMessage.verify|verify} messages. * @param message RequestPhoneNumberMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IRequestPhoneNumberMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestPhoneNumberMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestPhoneNumberMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.RequestPhoneNumberMessage; /** * Decodes a RequestPhoneNumberMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestPhoneNumberMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.RequestPhoneNumberMessage; /** * Verifies a RequestPhoneNumberMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestPhoneNumberMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestPhoneNumberMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.RequestPhoneNumberMessage; /** * Creates a plain object from a RequestPhoneNumberMessage message. Also converts values to other types if specified. * @param message RequestPhoneNumberMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.RequestPhoneNumberMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestPhoneNumberMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RequestPhoneNumberMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EventInviteMessage. */ interface IEventInviteMessage { /** EventInviteMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** EventInviteMessage eventId */ eventId?: (string|null); /** EventInviteMessage eventTitle */ eventTitle?: (string|null); /** EventInviteMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** EventInviteMessage startTime */ startTime?: (number|Long|null); /** EventInviteMessage caption */ caption?: (string|null); /** EventInviteMessage isCanceled */ isCanceled?: (boolean|null); /** EventInviteMessage endTime */ endTime?: (number|Long|null); /** EventInviteMessage callLink */ callLink?: (string|null); } /** Represents an EventInviteMessage. */ class EventInviteMessage implements IEventInviteMessage { /** * Constructs a new EventInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IEventInviteMessage); /** EventInviteMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** EventInviteMessage eventId. */ public eventId?: (string|null); /** EventInviteMessage eventTitle. */ public eventTitle?: (string|null); /** EventInviteMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** EventInviteMessage startTime. */ public startTime?: (number|Long|null); /** EventInviteMessage caption. */ public caption?: (string|null); /** EventInviteMessage isCanceled. */ public isCanceled?: (boolean|null); /** EventInviteMessage endTime. */ public endTime?: (number|Long|null); /** EventInviteMessage callLink. */ public callLink?: (string|null); /** * Creates a new EventInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns EventInviteMessage instance */ public static create(properties?: waproto.Message.IEventInviteMessage): waproto.Message.EventInviteMessage; /** * Encodes the specified EventInviteMessage message. Does not implicitly {@link waproto.Message.EventInviteMessage.verify|verify} messages. * @param message EventInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IEventInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventInviteMessage message, length delimited. Does not implicitly {@link waproto.Message.EventInviteMessage.verify|verify} messages. * @param message EventInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IEventInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.EventInviteMessage; /** * Decodes an EventInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.EventInviteMessage; /** * Verifies an EventInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.EventInviteMessage; /** * Creates a plain object from an EventInviteMessage message. Also converts values to other types if specified. * @param message EventInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.EventInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NewsletterFollowerInviteMessage. */ interface INewsletterFollowerInviteMessage { /** NewsletterFollowerInviteMessage newsletterJid */ newsletterJid?: (string|null); /** NewsletterFollowerInviteMessage newsletterName */ newsletterName?: (string|null); /** NewsletterFollowerInviteMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** NewsletterFollowerInviteMessage caption */ caption?: (string|null); /** NewsletterFollowerInviteMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a NewsletterFollowerInviteMessage. */ class NewsletterFollowerInviteMessage implements INewsletterFollowerInviteMessage { /** * Constructs a new NewsletterFollowerInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.INewsletterFollowerInviteMessage); /** NewsletterFollowerInviteMessage newsletterJid. */ public newsletterJid?: (string|null); /** NewsletterFollowerInviteMessage newsletterName. */ public newsletterName?: (string|null); /** NewsletterFollowerInviteMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** NewsletterFollowerInviteMessage caption. */ public caption?: (string|null); /** NewsletterFollowerInviteMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new NewsletterFollowerInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns NewsletterFollowerInviteMessage instance */ public static create(properties?: waproto.Message.INewsletterFollowerInviteMessage): waproto.Message.NewsletterFollowerInviteMessage; /** * Encodes the specified NewsletterFollowerInviteMessage message. Does not implicitly {@link waproto.Message.NewsletterFollowerInviteMessage.verify|verify} messages. * @param message NewsletterFollowerInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.INewsletterFollowerInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NewsletterFollowerInviteMessage message, length delimited. Does not implicitly {@link waproto.Message.NewsletterFollowerInviteMessage.verify|verify} messages. * @param message NewsletterFollowerInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.INewsletterFollowerInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NewsletterFollowerInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NewsletterFollowerInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.NewsletterFollowerInviteMessage; /** * Decodes a NewsletterFollowerInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NewsletterFollowerInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.NewsletterFollowerInviteMessage; /** * Verifies a NewsletterFollowerInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NewsletterFollowerInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NewsletterFollowerInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.NewsletterFollowerInviteMessage; /** * Creates a plain object from a NewsletterFollowerInviteMessage message. Also converts values to other types if specified. * @param message NewsletterFollowerInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.NewsletterFollowerInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NewsletterFollowerInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NewsletterFollowerInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NewsletterAdminInviteMessage. */ interface INewsletterAdminInviteMessage { /** NewsletterAdminInviteMessage newsletterJid */ newsletterJid?: (string|null); /** NewsletterAdminInviteMessage newsletterName */ newsletterName?: (string|null); /** NewsletterAdminInviteMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** NewsletterAdminInviteMessage caption */ caption?: (string|null); /** NewsletterAdminInviteMessage inviteExpiration */ inviteExpiration?: (number|Long|null); /** NewsletterAdminInviteMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a NewsletterAdminInviteMessage. */ class NewsletterAdminInviteMessage implements INewsletterAdminInviteMessage { /** * Constructs a new NewsletterAdminInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.INewsletterAdminInviteMessage); /** NewsletterAdminInviteMessage newsletterJid. */ public newsletterJid?: (string|null); /** NewsletterAdminInviteMessage newsletterName. */ public newsletterName?: (string|null); /** NewsletterAdminInviteMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** NewsletterAdminInviteMessage caption. */ public caption?: (string|null); /** NewsletterAdminInviteMessage inviteExpiration. */ public inviteExpiration?: (number|Long|null); /** NewsletterAdminInviteMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new NewsletterAdminInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns NewsletterAdminInviteMessage instance */ public static create(properties?: waproto.Message.INewsletterAdminInviteMessage): waproto.Message.NewsletterAdminInviteMessage; /** * Encodes the specified NewsletterAdminInviteMessage message. Does not implicitly {@link waproto.Message.NewsletterAdminInviteMessage.verify|verify} messages. * @param message NewsletterAdminInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.INewsletterAdminInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NewsletterAdminInviteMessage message, length delimited. Does not implicitly {@link waproto.Message.NewsletterAdminInviteMessage.verify|verify} messages. * @param message NewsletterAdminInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.INewsletterAdminInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NewsletterAdminInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NewsletterAdminInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.NewsletterAdminInviteMessage; /** * Decodes a NewsletterAdminInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NewsletterAdminInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.NewsletterAdminInviteMessage; /** * Verifies a NewsletterAdminInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NewsletterAdminInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NewsletterAdminInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.NewsletterAdminInviteMessage; /** * Creates a plain object from a NewsletterAdminInviteMessage message. Also converts values to other types if specified. * @param message NewsletterAdminInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.NewsletterAdminInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NewsletterAdminInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NewsletterAdminInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupInviteMessage. */ interface IGroupInviteMessage { /** GroupInviteMessage groupJid */ groupJid?: (string|null); /** GroupInviteMessage inviteCode */ inviteCode?: (string|null); /** GroupInviteMessage inviteExpiration */ inviteExpiration?: (number|Long|null); /** GroupInviteMessage groupName */ groupName?: (string|null); /** GroupInviteMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** GroupInviteMessage caption */ caption?: (string|null); /** GroupInviteMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** GroupInviteMessage groupType */ groupType?: (waproto.Message.GroupInviteMessage.GroupType|null); } /** Represents a GroupInviteMessage. */ class GroupInviteMessage implements IGroupInviteMessage { /** * Constructs a new GroupInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IGroupInviteMessage); /** GroupInviteMessage groupJid. */ public groupJid?: (string|null); /** GroupInviteMessage inviteCode. */ public inviteCode?: (string|null); /** GroupInviteMessage inviteExpiration. */ public inviteExpiration?: (number|Long|null); /** GroupInviteMessage groupName. */ public groupName?: (string|null); /** GroupInviteMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** GroupInviteMessage caption. */ public caption?: (string|null); /** GroupInviteMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** GroupInviteMessage groupType. */ public groupType?: (waproto.Message.GroupInviteMessage.GroupType|null); /** * Creates a new GroupInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns GroupInviteMessage instance */ public static create(properties?: waproto.Message.IGroupInviteMessage): waproto.Message.GroupInviteMessage; /** * Encodes the specified GroupInviteMessage message. Does not implicitly {@link waproto.Message.GroupInviteMessage.verify|verify} messages. * @param message GroupInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupInviteMessage message, length delimited. Does not implicitly {@link waproto.Message.GroupInviteMessage.verify|verify} messages. * @param message GroupInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IGroupInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.GroupInviteMessage; /** * Decodes a GroupInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.GroupInviteMessage; /** * Verifies a GroupInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.GroupInviteMessage; /** * Creates a plain object from a GroupInviteMessage message. Also converts values to other types if specified. * @param message GroupInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.GroupInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupInviteMessage { /** GroupType enum. */ enum GroupType { DEFAULT = 0, PARENT = 1 } } /** Properties of an InteractiveResponseMessage. */ interface IInteractiveResponseMessage { /** InteractiveResponseMessage body */ body?: (waproto.Message.InteractiveResponseMessage.IBody|null); /** InteractiveResponseMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** InteractiveResponseMessage nativeFlowResponseMessage */ nativeFlowResponseMessage?: (waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage|null); } /** Represents an InteractiveResponseMessage. */ class InteractiveResponseMessage implements IInteractiveResponseMessage { /** * Constructs a new InteractiveResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IInteractiveResponseMessage); /** InteractiveResponseMessage body. */ public body?: (waproto.Message.InteractiveResponseMessage.IBody|null); /** InteractiveResponseMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** InteractiveResponseMessage nativeFlowResponseMessage. */ public nativeFlowResponseMessage?: (waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage|null); /** InteractiveResponseMessage interactiveResponseMessage. */ public interactiveResponseMessage?: "nativeFlowResponseMessage"; /** * Creates a new InteractiveResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveResponseMessage instance */ public static create(properties?: waproto.Message.IInteractiveResponseMessage): waproto.Message.InteractiveResponseMessage; /** * Encodes the specified InteractiveResponseMessage message. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.verify|verify} messages. * @param message InteractiveResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IInteractiveResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.verify|verify} messages. * @param message InteractiveResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IInteractiveResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveResponseMessage; /** * Decodes an InteractiveResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveResponseMessage; /** * Verifies an InteractiveResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveResponseMessage; /** * Creates a plain object from an InteractiveResponseMessage message. Also converts values to other types if specified. * @param message InteractiveResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InteractiveResponseMessage { /** Properties of a NativeFlowResponseMessage. */ interface INativeFlowResponseMessage { /** NativeFlowResponseMessage name */ name?: (string|null); /** NativeFlowResponseMessage paramsJson */ paramsJson?: (string|null); /** NativeFlowResponseMessage version */ version?: (number|null); } /** Represents a NativeFlowResponseMessage. */ class NativeFlowResponseMessage implements INativeFlowResponseMessage { /** * Constructs a new NativeFlowResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage); /** NativeFlowResponseMessage name. */ public name?: (string|null); /** NativeFlowResponseMessage paramsJson. */ public paramsJson?: (string|null); /** NativeFlowResponseMessage version. */ public version?: (number|null); /** * Creates a new NativeFlowResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns NativeFlowResponseMessage instance */ public static create(properties?: waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage): waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage; /** * Encodes the specified NativeFlowResponseMessage message. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage.verify|verify} messages. * @param message NativeFlowResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeFlowResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage.verify|verify} messages. * @param message NativeFlowResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveResponseMessage.INativeFlowResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeFlowResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeFlowResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage; /** * Decodes a NativeFlowResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeFlowResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage; /** * Verifies a NativeFlowResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeFlowResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeFlowResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage; /** * Creates a plain object from a NativeFlowResponseMessage message. Also converts values to other types if specified. * @param message NativeFlowResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveResponseMessage.NativeFlowResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeFlowResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NativeFlowResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Body. */ interface IBody { /** Body text */ text?: (string|null); /** Body format */ format?: (waproto.Message.InteractiveResponseMessage.Body.Format|null); } /** Represents a Body. */ class Body implements IBody { /** * Constructs a new Body. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveResponseMessage.IBody); /** Body text. */ public text?: (string|null); /** Body format. */ public format?: (waproto.Message.InteractiveResponseMessage.Body.Format|null); /** * Creates a new Body instance using the specified properties. * @param [properties] Properties to set * @returns Body instance */ public static create(properties?: waproto.Message.InteractiveResponseMessage.IBody): waproto.Message.InteractiveResponseMessage.Body; /** * Encodes the specified Body message. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.Body.verify|verify} messages. * @param message Body message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveResponseMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Body message, length delimited. Does not implicitly {@link waproto.Message.InteractiveResponseMessage.Body.verify|verify} messages. * @param message Body message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveResponseMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Body message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Body * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveResponseMessage.Body; /** * Decodes a Body message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Body * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveResponseMessage.Body; /** * Verifies a Body message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Body message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Body */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveResponseMessage.Body; /** * Creates a plain object from a Body message. Also converts values to other types if specified. * @param message Body * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveResponseMessage.Body, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Body to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Body * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Body { /** Format enum. */ enum Format { DEFAULT = 0, EXTENSIONS_1 = 1 } } } /** Properties of an InteractiveMessage. */ interface IInteractiveMessage { /** InteractiveMessage header */ header?: (waproto.Message.InteractiveMessage.IHeader|null); /** InteractiveMessage body */ body?: (waproto.Message.InteractiveMessage.IBody|null); /** InteractiveMessage footer */ footer?: (waproto.Message.InteractiveMessage.IFooter|null); /** InteractiveMessage bloksWidget */ bloksWidget?: (waproto.Message.InteractiveMessage.IBloksWidget|null); /** InteractiveMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** InteractiveMessage urlTrackingMap */ urlTrackingMap?: (waproto.IUrlTrackingMap|null); /** InteractiveMessage shopStorefrontMessage */ shopStorefrontMessage?: (waproto.Message.InteractiveMessage.IShopMessage|null); /** InteractiveMessage collectionMessage */ collectionMessage?: (waproto.Message.InteractiveMessage.ICollectionMessage|null); /** InteractiveMessage nativeFlowMessage */ nativeFlowMessage?: (waproto.Message.InteractiveMessage.INativeFlowMessage|null); /** InteractiveMessage carouselMessage */ carouselMessage?: (waproto.Message.InteractiveMessage.ICarouselMessage|null); } /** Represents an InteractiveMessage. */ class InteractiveMessage implements IInteractiveMessage { /** * Constructs a new InteractiveMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IInteractiveMessage); /** InteractiveMessage header. */ public header?: (waproto.Message.InteractiveMessage.IHeader|null); /** InteractiveMessage body. */ public body?: (waproto.Message.InteractiveMessage.IBody|null); /** InteractiveMessage footer. */ public footer?: (waproto.Message.InteractiveMessage.IFooter|null); /** InteractiveMessage bloksWidget. */ public bloksWidget?: (waproto.Message.InteractiveMessage.IBloksWidget|null); /** InteractiveMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** InteractiveMessage urlTrackingMap. */ public urlTrackingMap?: (waproto.IUrlTrackingMap|null); /** InteractiveMessage shopStorefrontMessage. */ public shopStorefrontMessage?: (waproto.Message.InteractiveMessage.IShopMessage|null); /** InteractiveMessage collectionMessage. */ public collectionMessage?: (waproto.Message.InteractiveMessage.ICollectionMessage|null); /** InteractiveMessage nativeFlowMessage. */ public nativeFlowMessage?: (waproto.Message.InteractiveMessage.INativeFlowMessage|null); /** InteractiveMessage carouselMessage. */ public carouselMessage?: (waproto.Message.InteractiveMessage.ICarouselMessage|null); /** InteractiveMessage interactiveMessage. */ public interactiveMessage?: ("shopStorefrontMessage"|"collectionMessage"|"nativeFlowMessage"|"carouselMessage"); /** * Creates a new InteractiveMessage instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveMessage instance */ public static create(properties?: waproto.Message.IInteractiveMessage): waproto.Message.InteractiveMessage; /** * Encodes the specified InteractiveMessage message. Does not implicitly {@link waproto.Message.InteractiveMessage.verify|verify} messages. * @param message InteractiveMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.verify|verify} messages. * @param message InteractiveMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IInteractiveMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage; /** * Decodes an InteractiveMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage; /** * Verifies an InteractiveMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage; /** * Creates a plain object from an InteractiveMessage message. Also converts values to other types if specified. * @param message InteractiveMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InteractiveMessage { /** Properties of a CarouselMessage. */ interface ICarouselMessage { /** CarouselMessage cards */ cards?: (waproto.Message.IInteractiveMessage[]|null); /** CarouselMessage messageVersion */ messageVersion?: (number|null); /** CarouselMessage carouselCardType */ carouselCardType?: (waproto.Message.InteractiveMessage.CarouselMessage.CarouselCardType|null); } /** Represents a CarouselMessage. */ class CarouselMessage implements ICarouselMessage { /** * Constructs a new CarouselMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.ICarouselMessage); /** CarouselMessage cards. */ public cards: waproto.Message.IInteractiveMessage[]; /** CarouselMessage messageVersion. */ public messageVersion?: (number|null); /** CarouselMessage carouselCardType. */ public carouselCardType?: (waproto.Message.InteractiveMessage.CarouselMessage.CarouselCardType|null); /** * Creates a new CarouselMessage instance using the specified properties. * @param [properties] Properties to set * @returns CarouselMessage instance */ public static create(properties?: waproto.Message.InteractiveMessage.ICarouselMessage): waproto.Message.InteractiveMessage.CarouselMessage; /** * Encodes the specified CarouselMessage message. Does not implicitly {@link waproto.Message.InteractiveMessage.CarouselMessage.verify|verify} messages. * @param message CarouselMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.ICarouselMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CarouselMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.CarouselMessage.verify|verify} messages. * @param message CarouselMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.ICarouselMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CarouselMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CarouselMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.CarouselMessage; /** * Decodes a CarouselMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CarouselMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.CarouselMessage; /** * Verifies a CarouselMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CarouselMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CarouselMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.CarouselMessage; /** * Creates a plain object from a CarouselMessage message. Also converts values to other types if specified. * @param message CarouselMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.CarouselMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CarouselMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CarouselMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CarouselMessage { /** CarouselCardType enum. */ enum CarouselCardType { UNKNOWN = 0, HSCROLL_CARDS = 1, ALBUM_IMAGE = 2 } } /** Properties of a NativeFlowMessage. */ interface INativeFlowMessage { /** NativeFlowMessage buttons */ buttons?: (waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton[]|null); /** NativeFlowMessage messageParamsJson */ messageParamsJson?: (string|null); /** NativeFlowMessage messageVersion */ messageVersion?: (number|null); } /** Represents a NativeFlowMessage. */ class NativeFlowMessage implements INativeFlowMessage { /** * Constructs a new NativeFlowMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.INativeFlowMessage); /** NativeFlowMessage buttons. */ public buttons: waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton[]; /** NativeFlowMessage messageParamsJson. */ public messageParamsJson?: (string|null); /** NativeFlowMessage messageVersion. */ public messageVersion?: (number|null); /** * Creates a new NativeFlowMessage instance using the specified properties. * @param [properties] Properties to set * @returns NativeFlowMessage instance */ public static create(properties?: waproto.Message.InteractiveMessage.INativeFlowMessage): waproto.Message.InteractiveMessage.NativeFlowMessage; /** * Encodes the specified NativeFlowMessage message. Does not implicitly {@link waproto.Message.InteractiveMessage.NativeFlowMessage.verify|verify} messages. * @param message NativeFlowMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeFlowMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.NativeFlowMessage.verify|verify} messages. * @param message NativeFlowMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.INativeFlowMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeFlowMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeFlowMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.NativeFlowMessage; /** * Decodes a NativeFlowMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeFlowMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.NativeFlowMessage; /** * Verifies a NativeFlowMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeFlowMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeFlowMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.NativeFlowMessage; /** * Creates a plain object from a NativeFlowMessage message. Also converts values to other types if specified. * @param message NativeFlowMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.NativeFlowMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeFlowMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NativeFlowMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NativeFlowMessage { /** Properties of a NativeFlowButton. */ interface INativeFlowButton { /** NativeFlowButton name */ name?: (string|null); /** NativeFlowButton buttonParamsJson */ buttonParamsJson?: (string|null); } /** Represents a NativeFlowButton. */ class NativeFlowButton implements INativeFlowButton { /** * Constructs a new NativeFlowButton. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton); /** NativeFlowButton name. */ public name?: (string|null); /** NativeFlowButton buttonParamsJson. */ public buttonParamsJson?: (string|null); /** * Creates a new NativeFlowButton instance using the specified properties. * @param [properties] Properties to set * @returns NativeFlowButton instance */ public static create(properties?: waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton): waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton; /** * Encodes the specified NativeFlowButton message. Does not implicitly {@link waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton.verify|verify} messages. * @param message NativeFlowButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NativeFlowButton message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton.verify|verify} messages. * @param message NativeFlowButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.NativeFlowMessage.INativeFlowButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NativeFlowButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NativeFlowButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton; /** * Decodes a NativeFlowButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NativeFlowButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton; /** * Verifies a NativeFlowButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NativeFlowButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NativeFlowButton */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton; /** * Creates a plain object from a NativeFlowButton message. Also converts values to other types if specified. * @param message NativeFlowButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NativeFlowButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NativeFlowButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a CollectionMessage. */ interface ICollectionMessage { /** CollectionMessage bizJid */ bizJid?: (string|null); /** CollectionMessage id */ id?: (string|null); /** CollectionMessage messageVersion */ messageVersion?: (number|null); } /** Represents a CollectionMessage. */ class CollectionMessage implements ICollectionMessage { /** * Constructs a new CollectionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.ICollectionMessage); /** CollectionMessage bizJid. */ public bizJid?: (string|null); /** CollectionMessage id. */ public id?: (string|null); /** CollectionMessage messageVersion. */ public messageVersion?: (number|null); /** * Creates a new CollectionMessage instance using the specified properties. * @param [properties] Properties to set * @returns CollectionMessage instance */ public static create(properties?: waproto.Message.InteractiveMessage.ICollectionMessage): waproto.Message.InteractiveMessage.CollectionMessage; /** * Encodes the specified CollectionMessage message. Does not implicitly {@link waproto.Message.InteractiveMessage.CollectionMessage.verify|verify} messages. * @param message CollectionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CollectionMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.CollectionMessage.verify|verify} messages. * @param message CollectionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.ICollectionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CollectionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CollectionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.CollectionMessage; /** * Decodes a CollectionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CollectionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.CollectionMessage; /** * Verifies a CollectionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CollectionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CollectionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.CollectionMessage; /** * Creates a plain object from a CollectionMessage message. Also converts values to other types if specified. * @param message CollectionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.CollectionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CollectionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CollectionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ShopMessage. */ interface IShopMessage { /** ShopMessage id */ id?: (string|null); /** ShopMessage surface */ surface?: (waproto.Message.InteractiveMessage.ShopMessage.Surface|null); /** ShopMessage messageVersion */ messageVersion?: (number|null); } /** Represents a ShopMessage. */ class ShopMessage implements IShopMessage { /** * Constructs a new ShopMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.IShopMessage); /** ShopMessage id. */ public id?: (string|null); /** ShopMessage surface. */ public surface?: (waproto.Message.InteractiveMessage.ShopMessage.Surface|null); /** ShopMessage messageVersion. */ public messageVersion?: (number|null); /** * Creates a new ShopMessage instance using the specified properties. * @param [properties] Properties to set * @returns ShopMessage instance */ public static create(properties?: waproto.Message.InteractiveMessage.IShopMessage): waproto.Message.InteractiveMessage.ShopMessage; /** * Encodes the specified ShopMessage message. Does not implicitly {@link waproto.Message.InteractiveMessage.ShopMessage.verify|verify} messages. * @param message ShopMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ShopMessage message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.ShopMessage.verify|verify} messages. * @param message ShopMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.IShopMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ShopMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ShopMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.ShopMessage; /** * Decodes a ShopMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ShopMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.ShopMessage; /** * Verifies a ShopMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ShopMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ShopMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.ShopMessage; /** * Creates a plain object from a ShopMessage message. Also converts values to other types if specified. * @param message ShopMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.ShopMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ShopMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ShopMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ShopMessage { /** Surface enum. */ enum Surface { UNKNOWN_SURFACE = 0, FB = 1, IG = 2, WA = 3 } } /** Properties of a BloksWidget. */ interface IBloksWidget { /** BloksWidget uuid */ uuid?: (string|null); /** BloksWidget data */ data?: (string|null); /** BloksWidget type */ type?: (string|null); /** BloksWidget fallback */ fallback?: (string|null); } /** Represents a BloksWidget. */ class BloksWidget implements IBloksWidget { /** * Constructs a new BloksWidget. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.IBloksWidget); /** BloksWidget uuid. */ public uuid?: (string|null); /** BloksWidget data. */ public data?: (string|null); /** BloksWidget type. */ public type?: (string|null); /** BloksWidget fallback. */ public fallback?: (string|null); /** * Creates a new BloksWidget instance using the specified properties. * @param [properties] Properties to set * @returns BloksWidget instance */ public static create(properties?: waproto.Message.InteractiveMessage.IBloksWidget): waproto.Message.InteractiveMessage.BloksWidget; /** * Encodes the specified BloksWidget message. Does not implicitly {@link waproto.Message.InteractiveMessage.BloksWidget.verify|verify} messages. * @param message BloksWidget message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.IBloksWidget, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BloksWidget message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.BloksWidget.verify|verify} messages. * @param message BloksWidget message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.IBloksWidget, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BloksWidget message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BloksWidget * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.BloksWidget; /** * Decodes a BloksWidget message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BloksWidget * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.BloksWidget; /** * Verifies a BloksWidget message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BloksWidget message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BloksWidget */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.BloksWidget; /** * Creates a plain object from a BloksWidget message. Also converts values to other types if specified. * @param message BloksWidget * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.BloksWidget, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BloksWidget to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BloksWidget * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Footer. */ interface IFooter { /** Footer text */ text?: (string|null); /** Footer hasMediaAttachment */ hasMediaAttachment?: (boolean|null); /** Footer audioMessage */ audioMessage?: (waproto.Message.IAudioMessage|null); } /** Represents a Footer. */ class Footer implements IFooter { /** * Constructs a new Footer. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.IFooter); /** Footer text. */ public text?: (string|null); /** Footer hasMediaAttachment. */ public hasMediaAttachment?: (boolean|null); /** Footer audioMessage. */ public audioMessage?: (waproto.Message.IAudioMessage|null); /** Footer media. */ public media?: "audioMessage"; /** * Creates a new Footer instance using the specified properties. * @param [properties] Properties to set * @returns Footer instance */ public static create(properties?: waproto.Message.InteractiveMessage.IFooter): waproto.Message.InteractiveMessage.Footer; /** * Encodes the specified Footer message. Does not implicitly {@link waproto.Message.InteractiveMessage.Footer.verify|verify} messages. * @param message Footer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.IFooter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Footer message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.Footer.verify|verify} messages. * @param message Footer message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.IFooter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Footer message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Footer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.Footer; /** * Decodes a Footer message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Footer * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.Footer; /** * Verifies a Footer message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Footer message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Footer */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.Footer; /** * Creates a plain object from a Footer message. Also converts values to other types if specified. * @param message Footer * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.Footer, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Footer to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Footer * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Body. */ interface IBody { /** Body text */ text?: (string|null); } /** Represents a Body. */ class Body implements IBody { /** * Constructs a new Body. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.IBody); /** Body text. */ public text?: (string|null); /** * Creates a new Body instance using the specified properties. * @param [properties] Properties to set * @returns Body instance */ public static create(properties?: waproto.Message.InteractiveMessage.IBody): waproto.Message.InteractiveMessage.Body; /** * Encodes the specified Body message. Does not implicitly {@link waproto.Message.InteractiveMessage.Body.verify|verify} messages. * @param message Body message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Body message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.Body.verify|verify} messages. * @param message Body message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.IBody, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Body message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Body * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.Body; /** * Decodes a Body message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Body * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.Body; /** * Verifies a Body message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Body message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Body */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.Body; /** * Creates a plain object from a Body message. Also converts values to other types if specified. * @param message Body * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.Body, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Body to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Body * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Header. */ interface IHeader { /** Header title */ title?: (string|null); /** Header subtitle */ subtitle?: (string|null); /** Header hasMediaAttachment */ hasMediaAttachment?: (boolean|null); /** Header bloksWidget */ bloksWidget?: (waproto.Message.InteractiveMessage.IBloksWidget|null); /** Header documentMessage */ documentMessage?: (waproto.Message.IDocumentMessage|null); /** Header imageMessage */ imageMessage?: (waproto.Message.IImageMessage|null); /** Header jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** Header videoMessage */ videoMessage?: (waproto.Message.IVideoMessage|null); /** Header locationMessage */ locationMessage?: (waproto.Message.ILocationMessage|null); /** Header productMessage */ productMessage?: (waproto.Message.IProductMessage|null); } /** Represents a Header. */ class Header implements IHeader { /** * Constructs a new Header. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.InteractiveMessage.IHeader); /** Header title. */ public title?: (string|null); /** Header subtitle. */ public subtitle?: (string|null); /** Header hasMediaAttachment. */ public hasMediaAttachment?: (boolean|null); /** Header bloksWidget. */ public bloksWidget?: (waproto.Message.InteractiveMessage.IBloksWidget|null); /** Header documentMessage. */ public documentMessage?: (waproto.Message.IDocumentMessage|null); /** Header imageMessage. */ public imageMessage?: (waproto.Message.IImageMessage|null); /** Header jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** Header videoMessage. */ public videoMessage?: (waproto.Message.IVideoMessage|null); /** Header locationMessage. */ public locationMessage?: (waproto.Message.ILocationMessage|null); /** Header productMessage. */ public productMessage?: (waproto.Message.IProductMessage|null); /** Header media. */ public media?: ("documentMessage"|"imageMessage"|"jpegThumbnail"|"videoMessage"|"locationMessage"|"productMessage"); /** * Creates a new Header instance using the specified properties. * @param [properties] Properties to set * @returns Header instance */ public static create(properties?: waproto.Message.InteractiveMessage.IHeader): waproto.Message.InteractiveMessage.Header; /** * Encodes the specified Header message. Does not implicitly {@link waproto.Message.InteractiveMessage.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.InteractiveMessage.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Header message, length delimited. Does not implicitly {@link waproto.Message.InteractiveMessage.Header.verify|verify} messages. * @param message Header message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.InteractiveMessage.IHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Header message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InteractiveMessage.Header; /** * Decodes a Header message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Header * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InteractiveMessage.Header; /** * Verifies a Header message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Header message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Header */ public static fromObject(object: { [k: string]: any }): waproto.Message.InteractiveMessage.Header; /** * Creates a plain object from a Header message. Also converts values to other types if specified. * @param message Header * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InteractiveMessage.Header, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Header to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Header * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ListResponseMessage. */ interface IListResponseMessage { /** ListResponseMessage title */ title?: (string|null); /** ListResponseMessage listType */ listType?: (waproto.Message.ListResponseMessage.ListType|null); /** ListResponseMessage singleSelectReply */ singleSelectReply?: (waproto.Message.ListResponseMessage.ISingleSelectReply|null); /** ListResponseMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ListResponseMessage description */ description?: (string|null); } /** Represents a ListResponseMessage. */ class ListResponseMessage implements IListResponseMessage { /** * Constructs a new ListResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IListResponseMessage); /** ListResponseMessage title. */ public title?: (string|null); /** ListResponseMessage listType. */ public listType?: (waproto.Message.ListResponseMessage.ListType|null); /** ListResponseMessage singleSelectReply. */ public singleSelectReply?: (waproto.Message.ListResponseMessage.ISingleSelectReply|null); /** ListResponseMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ListResponseMessage description. */ public description?: (string|null); /** * Creates a new ListResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns ListResponseMessage instance */ public static create(properties?: waproto.Message.IListResponseMessage): waproto.Message.ListResponseMessage; /** * Encodes the specified ListResponseMessage message. Does not implicitly {@link waproto.Message.ListResponseMessage.verify|verify} messages. * @param message ListResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.ListResponseMessage.verify|verify} messages. * @param message ListResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IListResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListResponseMessage; /** * Decodes a ListResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListResponseMessage; /** * Verifies a ListResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListResponseMessage; /** * Creates a plain object from a ListResponseMessage message. Also converts values to other types if specified. * @param message ListResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ListResponseMessage { /** ListType enum. */ enum ListType { UNKNOWN = 0, SINGLE_SELECT = 1 } /** Properties of a SingleSelectReply. */ interface ISingleSelectReply { /** SingleSelectReply selectedRowId */ selectedRowId?: (string|null); } /** Represents a SingleSelectReply. */ class SingleSelectReply implements ISingleSelectReply { /** * Constructs a new SingleSelectReply. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListResponseMessage.ISingleSelectReply); /** SingleSelectReply selectedRowId. */ public selectedRowId?: (string|null); /** * Creates a new SingleSelectReply instance using the specified properties. * @param [properties] Properties to set * @returns SingleSelectReply instance */ public static create(properties?: waproto.Message.ListResponseMessage.ISingleSelectReply): waproto.Message.ListResponseMessage.SingleSelectReply; /** * Encodes the specified SingleSelectReply message. Does not implicitly {@link waproto.Message.ListResponseMessage.SingleSelectReply.verify|verify} messages. * @param message SingleSelectReply message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListResponseMessage.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SingleSelectReply message, length delimited. Does not implicitly {@link waproto.Message.ListResponseMessage.SingleSelectReply.verify|verify} messages. * @param message SingleSelectReply message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListResponseMessage.ISingleSelectReply, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SingleSelectReply message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SingleSelectReply * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListResponseMessage.SingleSelectReply; /** * Decodes a SingleSelectReply message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SingleSelectReply * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListResponseMessage.SingleSelectReply; /** * Verifies a SingleSelectReply message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SingleSelectReply message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SingleSelectReply */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListResponseMessage.SingleSelectReply; /** * Creates a plain object from a SingleSelectReply message. Also converts values to other types if specified. * @param message SingleSelectReply * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListResponseMessage.SingleSelectReply, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SingleSelectReply to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SingleSelectReply * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ListMessage. */ interface IListMessage { /** ListMessage title */ title?: (string|null); /** ListMessage description */ description?: (string|null); /** ListMessage buttonText */ buttonText?: (string|null); /** ListMessage listType */ listType?: (waproto.Message.ListMessage.ListType|null); /** ListMessage sections */ sections?: (waproto.Message.ListMessage.ISection[]|null); /** ListMessage productListInfo */ productListInfo?: (waproto.Message.ListMessage.IProductListInfo|null); /** ListMessage footerText */ footerText?: (string|null); /** ListMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a ListMessage. */ class ListMessage implements IListMessage { /** * Constructs a new ListMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IListMessage); /** ListMessage title. */ public title?: (string|null); /** ListMessage description. */ public description?: (string|null); /** ListMessage buttonText. */ public buttonText?: (string|null); /** ListMessage listType. */ public listType?: (waproto.Message.ListMessage.ListType|null); /** ListMessage sections. */ public sections: waproto.Message.ListMessage.ISection[]; /** ListMessage productListInfo. */ public productListInfo?: (waproto.Message.ListMessage.IProductListInfo|null); /** ListMessage footerText. */ public footerText?: (string|null); /** ListMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new ListMessage instance using the specified properties. * @param [properties] Properties to set * @returns ListMessage instance */ public static create(properties?: waproto.Message.IListMessage): waproto.Message.ListMessage; /** * Encodes the specified ListMessage message. Does not implicitly {@link waproto.Message.ListMessage.verify|verify} messages. * @param message ListMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ListMessage message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.verify|verify} messages. * @param message ListMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IListMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ListMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ListMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage; /** * Decodes a ListMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ListMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage; /** * Verifies a ListMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ListMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ListMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage; /** * Creates a plain object from a ListMessage message. Also converts values to other types if specified. * @param message ListMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ListMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ListMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ListMessage { /** ListType enum. */ enum ListType { UNKNOWN = 0, SINGLE_SELECT = 1, PRODUCT_LIST = 2 } /** Properties of a ProductListInfo. */ interface IProductListInfo { /** ProductListInfo productSections */ productSections?: (waproto.Message.ListMessage.IProductSection[]|null); /** ProductListInfo headerImage */ headerImage?: (waproto.Message.ListMessage.IProductListHeaderImage|null); /** ProductListInfo businessOwnerJid */ businessOwnerJid?: (string|null); } /** Represents a ProductListInfo. */ class ProductListInfo implements IProductListInfo { /** * Constructs a new ProductListInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.IProductListInfo); /** ProductListInfo productSections. */ public productSections: waproto.Message.ListMessage.IProductSection[]; /** ProductListInfo headerImage. */ public headerImage?: (waproto.Message.ListMessage.IProductListHeaderImage|null); /** ProductListInfo businessOwnerJid. */ public businessOwnerJid?: (string|null); /** * Creates a new ProductListInfo instance using the specified properties. * @param [properties] Properties to set * @returns ProductListInfo instance */ public static create(properties?: waproto.Message.ListMessage.IProductListInfo): waproto.Message.ListMessage.ProductListInfo; /** * Encodes the specified ProductListInfo message. Does not implicitly {@link waproto.Message.ListMessage.ProductListInfo.verify|verify} messages. * @param message ProductListInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProductListInfo message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.ProductListInfo.verify|verify} messages. * @param message ProductListInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.IProductListInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProductListInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProductListInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.ProductListInfo; /** * Decodes a ProductListInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProductListInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.ProductListInfo; /** * Verifies a ProductListInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProductListInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProductListInfo */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.ProductListInfo; /** * Creates a plain object from a ProductListInfo message. Also converts values to other types if specified. * @param message ProductListInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.ProductListInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProductListInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProductListInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProductListHeaderImage. */ interface IProductListHeaderImage { /** ProductListHeaderImage productId */ productId?: (string|null); /** ProductListHeaderImage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); } /** Represents a ProductListHeaderImage. */ class ProductListHeaderImage implements IProductListHeaderImage { /** * Constructs a new ProductListHeaderImage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.IProductListHeaderImage); /** ProductListHeaderImage productId. */ public productId?: (string|null); /** ProductListHeaderImage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** * Creates a new ProductListHeaderImage instance using the specified properties. * @param [properties] Properties to set * @returns ProductListHeaderImage instance */ public static create(properties?: waproto.Message.ListMessage.IProductListHeaderImage): waproto.Message.ListMessage.ProductListHeaderImage; /** * Encodes the specified ProductListHeaderImage message. Does not implicitly {@link waproto.Message.ListMessage.ProductListHeaderImage.verify|verify} messages. * @param message ProductListHeaderImage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProductListHeaderImage message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.ProductListHeaderImage.verify|verify} messages. * @param message ProductListHeaderImage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.IProductListHeaderImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProductListHeaderImage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProductListHeaderImage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.ProductListHeaderImage; /** * Decodes a ProductListHeaderImage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProductListHeaderImage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.ProductListHeaderImage; /** * Verifies a ProductListHeaderImage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProductListHeaderImage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProductListHeaderImage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.ProductListHeaderImage; /** * Creates a plain object from a ProductListHeaderImage message. Also converts values to other types if specified. * @param message ProductListHeaderImage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.ProductListHeaderImage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProductListHeaderImage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProductListHeaderImage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProductSection. */ interface IProductSection { /** ProductSection title */ title?: (string|null); /** ProductSection products */ products?: (waproto.Message.ListMessage.IProduct[]|null); } /** Represents a ProductSection. */ class ProductSection implements IProductSection { /** * Constructs a new ProductSection. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.IProductSection); /** ProductSection title. */ public title?: (string|null); /** ProductSection products. */ public products: waproto.Message.ListMessage.IProduct[]; /** * Creates a new ProductSection instance using the specified properties. * @param [properties] Properties to set * @returns ProductSection instance */ public static create(properties?: waproto.Message.ListMessage.IProductSection): waproto.Message.ListMessage.ProductSection; /** * Encodes the specified ProductSection message. Does not implicitly {@link waproto.Message.ListMessage.ProductSection.verify|verify} messages. * @param message ProductSection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProductSection message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.ProductSection.verify|verify} messages. * @param message ProductSection message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.IProductSection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProductSection message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProductSection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.ProductSection; /** * Decodes a ProductSection message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProductSection * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.ProductSection; /** * Verifies a ProductSection message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProductSection message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProductSection */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.ProductSection; /** * Creates a plain object from a ProductSection message. Also converts values to other types if specified. * @param message ProductSection * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.ProductSection, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProductSection to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProductSection * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Product. */ interface IProduct { /** Product productId */ productId?: (string|null); } /** Represents a Product. */ class Product implements IProduct { /** * Constructs a new Product. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.IProduct); /** Product productId. */ public productId?: (string|null); /** * Creates a new Product instance using the specified properties. * @param [properties] Properties to set * @returns Product instance */ public static create(properties?: waproto.Message.ListMessage.IProduct): waproto.Message.ListMessage.Product; /** * Encodes the specified Product message. Does not implicitly {@link waproto.Message.ListMessage.Product.verify|verify} messages. * @param message Product message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.IProduct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Product message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.Product.verify|verify} messages. * @param message Product message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.IProduct, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Product message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Product * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.Product; /** * Decodes a Product message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Product * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.Product; /** * Verifies a Product message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Product message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Product */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.Product; /** * Creates a plain object from a Product message. Also converts values to other types if specified. * @param message Product * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.Product, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Product to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Product * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Section. */ interface ISection { /** Section title */ title?: (string|null); /** Section rows */ rows?: (waproto.Message.ListMessage.IRow[]|null); } /** Represents a Section. */ class Section implements ISection { /** * Constructs a new Section. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.ISection); /** Section title. */ public title?: (string|null); /** Section rows. */ public rows: waproto.Message.ListMessage.IRow[]; /** * Creates a new Section instance using the specified properties. * @param [properties] Properties to set * @returns Section instance */ public static create(properties?: waproto.Message.ListMessage.ISection): waproto.Message.ListMessage.Section; /** * Encodes the specified Section message. Does not implicitly {@link waproto.Message.ListMessage.Section.verify|verify} messages. * @param message Section message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.ISection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Section message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.Section.verify|verify} messages. * @param message Section message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.ISection, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Section message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Section * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.Section; /** * Decodes a Section message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Section * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.Section; /** * Verifies a Section message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Section message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Section */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.Section; /** * Creates a plain object from a Section message. Also converts values to other types if specified. * @param message Section * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.Section, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Section to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Section * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Row. */ interface IRow { /** Row title */ title?: (string|null); /** Row description */ description?: (string|null); /** Row rowId */ rowId?: (string|null); } /** Represents a Row. */ class Row implements IRow { /** * Constructs a new Row. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ListMessage.IRow); /** Row title. */ public title?: (string|null); /** Row description. */ public description?: (string|null); /** Row rowId. */ public rowId?: (string|null); /** * Creates a new Row instance using the specified properties. * @param [properties] Properties to set * @returns Row instance */ public static create(properties?: waproto.Message.ListMessage.IRow): waproto.Message.ListMessage.Row; /** * Encodes the specified Row message. Does not implicitly {@link waproto.Message.ListMessage.Row.verify|verify} messages. * @param message Row message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ListMessage.IRow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Row message, length delimited. Does not implicitly {@link waproto.Message.ListMessage.Row.verify|verify} messages. * @param message Row message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ListMessage.IRow, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Row message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Row * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ListMessage.Row; /** * Decodes a Row message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Row * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ListMessage.Row; /** * Verifies a Row message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Row message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Row */ public static fromObject(object: { [k: string]: any }): waproto.Message.ListMessage.Row; /** * Creates a plain object from a Row message. Also converts values to other types if specified. * @param message Row * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ListMessage.Row, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Row to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Row * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an OrderMessage. */ interface IOrderMessage { /** OrderMessage orderId */ orderId?: (string|null); /** OrderMessage thumbnail */ thumbnail?: (Uint8Array|null); /** OrderMessage itemCount */ itemCount?: (number|null); /** OrderMessage status */ status?: (waproto.Message.OrderMessage.OrderStatus|null); /** OrderMessage surface */ surface?: (waproto.Message.OrderMessage.OrderSurface|null); /** OrderMessage message */ message?: (string|null); /** OrderMessage orderTitle */ orderTitle?: (string|null); /** OrderMessage sellerJid */ sellerJid?: (string|null); /** OrderMessage token */ token?: (string|null); /** OrderMessage totalAmount1000 */ totalAmount1000?: (number|Long|null); /** OrderMessage totalCurrencyCode */ totalCurrencyCode?: (string|null); /** OrderMessage messageVersion */ messageVersion?: (number|null); /** OrderMessage orderRequestMessageId */ orderRequestMessageId?: (waproto.IMessageKey|null); /** OrderMessage catalogType */ catalogType?: (string|null); /** OrderMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents an OrderMessage. */ class OrderMessage implements IOrderMessage { /** * Constructs a new OrderMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IOrderMessage); /** OrderMessage orderId. */ public orderId?: (string|null); /** OrderMessage thumbnail. */ public thumbnail?: (Uint8Array|null); /** OrderMessage itemCount. */ public itemCount?: (number|null); /** OrderMessage status. */ public status?: (waproto.Message.OrderMessage.OrderStatus|null); /** OrderMessage surface. */ public surface?: (waproto.Message.OrderMessage.OrderSurface|null); /** OrderMessage message. */ public message?: (string|null); /** OrderMessage orderTitle. */ public orderTitle?: (string|null); /** OrderMessage sellerJid. */ public sellerJid?: (string|null); /** OrderMessage token. */ public token?: (string|null); /** OrderMessage totalAmount1000. */ public totalAmount1000?: (number|Long|null); /** OrderMessage totalCurrencyCode. */ public totalCurrencyCode?: (string|null); /** OrderMessage messageVersion. */ public messageVersion?: (number|null); /** OrderMessage orderRequestMessageId. */ public orderRequestMessageId?: (waproto.IMessageKey|null); /** OrderMessage catalogType. */ public catalogType?: (string|null); /** OrderMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new OrderMessage instance using the specified properties. * @param [properties] Properties to set * @returns OrderMessage instance */ public static create(properties?: waproto.Message.IOrderMessage): waproto.Message.OrderMessage; /** * Encodes the specified OrderMessage message. Does not implicitly {@link waproto.Message.OrderMessage.verify|verify} messages. * @param message OrderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OrderMessage message, length delimited. Does not implicitly {@link waproto.Message.OrderMessage.verify|verify} messages. * @param message OrderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IOrderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OrderMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OrderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.OrderMessage; /** * Decodes an OrderMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OrderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.OrderMessage; /** * Verifies an OrderMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OrderMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OrderMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.OrderMessage; /** * Creates a plain object from an OrderMessage message. Also converts values to other types if specified. * @param message OrderMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.OrderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OrderMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OrderMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace OrderMessage { /** OrderSurface enum. */ enum OrderSurface { CATALOG = 1 } /** OrderStatus enum. */ enum OrderStatus { INQUIRY = 1, ACCEPTED = 2, DECLINED = 3 } } /** Properties of a ProductMessage. */ interface IProductMessage { /** ProductMessage product */ product?: (waproto.Message.ProductMessage.IProductSnapshot|null); /** ProductMessage businessOwnerJid */ businessOwnerJid?: (string|null); /** ProductMessage catalog */ catalog?: (waproto.Message.ProductMessage.ICatalogSnapshot|null); /** ProductMessage body */ body?: (string|null); /** ProductMessage footer */ footer?: (string|null); /** ProductMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a ProductMessage. */ class ProductMessage implements IProductMessage { /** * Constructs a new ProductMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IProductMessage); /** ProductMessage product. */ public product?: (waproto.Message.ProductMessage.IProductSnapshot|null); /** ProductMessage businessOwnerJid. */ public businessOwnerJid?: (string|null); /** ProductMessage catalog. */ public catalog?: (waproto.Message.ProductMessage.ICatalogSnapshot|null); /** ProductMessage body. */ public body?: (string|null); /** ProductMessage footer. */ public footer?: (string|null); /** ProductMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new ProductMessage instance using the specified properties. * @param [properties] Properties to set * @returns ProductMessage instance */ public static create(properties?: waproto.Message.IProductMessage): waproto.Message.ProductMessage; /** * Encodes the specified ProductMessage message. Does not implicitly {@link waproto.Message.ProductMessage.verify|verify} messages. * @param message ProductMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProductMessage message, length delimited. Does not implicitly {@link waproto.Message.ProductMessage.verify|verify} messages. * @param message ProductMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IProductMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProductMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProductMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ProductMessage; /** * Decodes a ProductMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProductMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ProductMessage; /** * Verifies a ProductMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProductMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProductMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ProductMessage; /** * Creates a plain object from a ProductMessage message. Also converts values to other types if specified. * @param message ProductMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ProductMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProductMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProductMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProductMessage { /** Properties of a ProductSnapshot. */ interface IProductSnapshot { /** ProductSnapshot productImage */ productImage?: (waproto.Message.IImageMessage|null); /** ProductSnapshot productId */ productId?: (string|null); /** ProductSnapshot title */ title?: (string|null); /** ProductSnapshot description */ description?: (string|null); /** ProductSnapshot currencyCode */ currencyCode?: (string|null); /** ProductSnapshot priceAmount1000 */ priceAmount1000?: (number|Long|null); /** ProductSnapshot retailerId */ retailerId?: (string|null); /** ProductSnapshot url */ url?: (string|null); /** ProductSnapshot productImageCount */ productImageCount?: (number|null); /** ProductSnapshot firstImageId */ firstImageId?: (string|null); /** ProductSnapshot salePriceAmount1000 */ salePriceAmount1000?: (number|Long|null); /** ProductSnapshot signedUrl */ signedUrl?: (string|null); } /** Represents a ProductSnapshot. */ class ProductSnapshot implements IProductSnapshot { /** * Constructs a new ProductSnapshot. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ProductMessage.IProductSnapshot); /** ProductSnapshot productImage. */ public productImage?: (waproto.Message.IImageMessage|null); /** ProductSnapshot productId. */ public productId?: (string|null); /** ProductSnapshot title. */ public title?: (string|null); /** ProductSnapshot description. */ public description?: (string|null); /** ProductSnapshot currencyCode. */ public currencyCode?: (string|null); /** ProductSnapshot priceAmount1000. */ public priceAmount1000?: (number|Long|null); /** ProductSnapshot retailerId. */ public retailerId?: (string|null); /** ProductSnapshot url. */ public url?: (string|null); /** ProductSnapshot productImageCount. */ public productImageCount?: (number|null); /** ProductSnapshot firstImageId. */ public firstImageId?: (string|null); /** ProductSnapshot salePriceAmount1000. */ public salePriceAmount1000?: (number|Long|null); /** ProductSnapshot signedUrl. */ public signedUrl?: (string|null); /** * Creates a new ProductSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns ProductSnapshot instance */ public static create(properties?: waproto.Message.ProductMessage.IProductSnapshot): waproto.Message.ProductMessage.ProductSnapshot; /** * Encodes the specified ProductSnapshot message. Does not implicitly {@link waproto.Message.ProductMessage.ProductSnapshot.verify|verify} messages. * @param message ProductSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ProductMessage.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProductSnapshot message, length delimited. Does not implicitly {@link waproto.Message.ProductMessage.ProductSnapshot.verify|verify} messages. * @param message ProductSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ProductMessage.IProductSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProductSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProductSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ProductMessage.ProductSnapshot; /** * Decodes a ProductSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProductSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ProductMessage.ProductSnapshot; /** * Verifies a ProductSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProductSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProductSnapshot */ public static fromObject(object: { [k: string]: any }): waproto.Message.ProductMessage.ProductSnapshot; /** * Creates a plain object from a ProductSnapshot message. Also converts values to other types if specified. * @param message ProductSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ProductMessage.ProductSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProductSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProductSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CatalogSnapshot. */ interface ICatalogSnapshot { /** CatalogSnapshot catalogImage */ catalogImage?: (waproto.Message.IImageMessage|null); /** CatalogSnapshot title */ title?: (string|null); /** CatalogSnapshot description */ description?: (string|null); } /** Represents a CatalogSnapshot. */ class CatalogSnapshot implements ICatalogSnapshot { /** * Constructs a new CatalogSnapshot. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ProductMessage.ICatalogSnapshot); /** CatalogSnapshot catalogImage. */ public catalogImage?: (waproto.Message.IImageMessage|null); /** CatalogSnapshot title. */ public title?: (string|null); /** CatalogSnapshot description. */ public description?: (string|null); /** * Creates a new CatalogSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns CatalogSnapshot instance */ public static create(properties?: waproto.Message.ProductMessage.ICatalogSnapshot): waproto.Message.ProductMessage.CatalogSnapshot; /** * Encodes the specified CatalogSnapshot message. Does not implicitly {@link waproto.Message.ProductMessage.CatalogSnapshot.verify|verify} messages. * @param message CatalogSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ProductMessage.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CatalogSnapshot message, length delimited. Does not implicitly {@link waproto.Message.ProductMessage.CatalogSnapshot.verify|verify} messages. * @param message CatalogSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ProductMessage.ICatalogSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CatalogSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CatalogSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ProductMessage.CatalogSnapshot; /** * Decodes a CatalogSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CatalogSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ProductMessage.CatalogSnapshot; /** * Verifies a CatalogSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CatalogSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CatalogSnapshot */ public static fromObject(object: { [k: string]: any }): waproto.Message.ProductMessage.CatalogSnapshot; /** * Creates a plain object from a CatalogSnapshot message. Also converts values to other types if specified. * @param message CatalogSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ProductMessage.CatalogSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CatalogSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CatalogSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a StatusQuotedMessage. */ interface IStatusQuotedMessage { /** StatusQuotedMessage type */ type?: (waproto.Message.StatusQuotedMessage.StatusQuotedMessageType|null); /** StatusQuotedMessage text */ text?: (string|null); /** StatusQuotedMessage thumbnail */ thumbnail?: (Uint8Array|null); /** StatusQuotedMessage originalStatusId */ originalStatusId?: (waproto.IMessageKey|null); } /** Represents a StatusQuotedMessage. */ class StatusQuotedMessage implements IStatusQuotedMessage { /** * Constructs a new StatusQuotedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStatusQuotedMessage); /** StatusQuotedMessage type. */ public type?: (waproto.Message.StatusQuotedMessage.StatusQuotedMessageType|null); /** StatusQuotedMessage text. */ public text?: (string|null); /** StatusQuotedMessage thumbnail. */ public thumbnail?: (Uint8Array|null); /** StatusQuotedMessage originalStatusId. */ public originalStatusId?: (waproto.IMessageKey|null); /** * Creates a new StatusQuotedMessage instance using the specified properties. * @param [properties] Properties to set * @returns StatusQuotedMessage instance */ public static create(properties?: waproto.Message.IStatusQuotedMessage): waproto.Message.StatusQuotedMessage; /** * Encodes the specified StatusQuotedMessage message. Does not implicitly {@link waproto.Message.StatusQuotedMessage.verify|verify} messages. * @param message StatusQuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStatusQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusQuotedMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusQuotedMessage.verify|verify} messages. * @param message StatusQuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStatusQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusQuotedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusQuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusQuotedMessage; /** * Decodes a StatusQuotedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusQuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusQuotedMessage; /** * Verifies a StatusQuotedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusQuotedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusQuotedMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StatusQuotedMessage; /** * Creates a plain object from a StatusQuotedMessage message. Also converts values to other types if specified. * @param message StatusQuotedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StatusQuotedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusQuotedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusQuotedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusQuotedMessage { /** StatusQuotedMessageType enum. */ enum StatusQuotedMessageType { QUESTION_ANSWER = 1 } } /** Properties of a TemplateButtonReplyMessage. */ interface ITemplateButtonReplyMessage { /** TemplateButtonReplyMessage selectedId */ selectedId?: (string|null); /** TemplateButtonReplyMessage selectedDisplayText */ selectedDisplayText?: (string|null); /** TemplateButtonReplyMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** TemplateButtonReplyMessage selectedIndex */ selectedIndex?: (number|null); /** TemplateButtonReplyMessage selectedCarouselCardIndex */ selectedCarouselCardIndex?: (number|null); } /** Represents a TemplateButtonReplyMessage. */ class TemplateButtonReplyMessage implements ITemplateButtonReplyMessage { /** * Constructs a new TemplateButtonReplyMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ITemplateButtonReplyMessage); /** TemplateButtonReplyMessage selectedId. */ public selectedId?: (string|null); /** TemplateButtonReplyMessage selectedDisplayText. */ public selectedDisplayText?: (string|null); /** TemplateButtonReplyMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** TemplateButtonReplyMessage selectedIndex. */ public selectedIndex?: (number|null); /** TemplateButtonReplyMessage selectedCarouselCardIndex. */ public selectedCarouselCardIndex?: (number|null); /** * Creates a new TemplateButtonReplyMessage instance using the specified properties. * @param [properties] Properties to set * @returns TemplateButtonReplyMessage instance */ public static create(properties?: waproto.Message.ITemplateButtonReplyMessage): waproto.Message.TemplateButtonReplyMessage; /** * Encodes the specified TemplateButtonReplyMessage message. Does not implicitly {@link waproto.Message.TemplateButtonReplyMessage.verify|verify} messages. * @param message TemplateButtonReplyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TemplateButtonReplyMessage message, length delimited. Does not implicitly {@link waproto.Message.TemplateButtonReplyMessage.verify|verify} messages. * @param message TemplateButtonReplyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ITemplateButtonReplyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TemplateButtonReplyMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TemplateButtonReplyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.TemplateButtonReplyMessage; /** * Decodes a TemplateButtonReplyMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TemplateButtonReplyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.TemplateButtonReplyMessage; /** * Verifies a TemplateButtonReplyMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TemplateButtonReplyMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TemplateButtonReplyMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.TemplateButtonReplyMessage; /** * Creates a plain object from a TemplateButtonReplyMessage message. Also converts values to other types if specified. * @param message TemplateButtonReplyMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.TemplateButtonReplyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TemplateButtonReplyMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TemplateButtonReplyMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TemplateMessage. */ interface ITemplateMessage { /** TemplateMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** TemplateMessage hydratedTemplate */ hydratedTemplate?: (waproto.Message.TemplateMessage.IHydratedFourRowTemplate|null); /** TemplateMessage templateId */ templateId?: (string|null); /** TemplateMessage fourRowTemplate */ fourRowTemplate?: (waproto.Message.TemplateMessage.IFourRowTemplate|null); /** TemplateMessage hydratedFourRowTemplate */ hydratedFourRowTemplate?: (waproto.Message.TemplateMessage.IHydratedFourRowTemplate|null); /** TemplateMessage interactiveMessageTemplate */ interactiveMessageTemplate?: (waproto.Message.IInteractiveMessage|null); } /** Represents a TemplateMessage. */ class TemplateMessage implements ITemplateMessage { /** * Constructs a new TemplateMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ITemplateMessage); /** TemplateMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** TemplateMessage hydratedTemplate. */ public hydratedTemplate?: (waproto.Message.TemplateMessage.IHydratedFourRowTemplate|null); /** TemplateMessage templateId. */ public templateId?: (string|null); /** TemplateMessage fourRowTemplate. */ public fourRowTemplate?: (waproto.Message.TemplateMessage.IFourRowTemplate|null); /** TemplateMessage hydratedFourRowTemplate. */ public hydratedFourRowTemplate?: (waproto.Message.TemplateMessage.IHydratedFourRowTemplate|null); /** TemplateMessage interactiveMessageTemplate. */ public interactiveMessageTemplate?: (waproto.Message.IInteractiveMessage|null); /** TemplateMessage format. */ public format?: ("fourRowTemplate"|"hydratedFourRowTemplate"|"interactiveMessageTemplate"); /** * Creates a new TemplateMessage instance using the specified properties. * @param [properties] Properties to set * @returns TemplateMessage instance */ public static create(properties?: waproto.Message.ITemplateMessage): waproto.Message.TemplateMessage; /** * Encodes the specified TemplateMessage message. Does not implicitly {@link waproto.Message.TemplateMessage.verify|verify} messages. * @param message TemplateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TemplateMessage message, length delimited. Does not implicitly {@link waproto.Message.TemplateMessage.verify|verify} messages. * @param message TemplateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ITemplateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TemplateMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TemplateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.TemplateMessage; /** * Decodes a TemplateMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TemplateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.TemplateMessage; /** * Verifies a TemplateMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TemplateMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TemplateMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.TemplateMessage; /** * Creates a plain object from a TemplateMessage message. Also converts values to other types if specified. * @param message TemplateMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.TemplateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TemplateMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TemplateMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TemplateMessage { /** Properties of a HydratedFourRowTemplate. */ interface IHydratedFourRowTemplate { /** HydratedFourRowTemplate hydratedContentText */ hydratedContentText?: (string|null); /** HydratedFourRowTemplate hydratedFooterText */ hydratedFooterText?: (string|null); /** HydratedFourRowTemplate hydratedButtons */ hydratedButtons?: (waproto.IHydratedTemplateButton[]|null); /** HydratedFourRowTemplate templateId */ templateId?: (string|null); /** HydratedFourRowTemplate maskLinkedDevices */ maskLinkedDevices?: (boolean|null); /** HydratedFourRowTemplate documentMessage */ documentMessage?: (waproto.Message.IDocumentMessage|null); /** HydratedFourRowTemplate hydratedTitleText */ hydratedTitleText?: (string|null); /** HydratedFourRowTemplate imageMessage */ imageMessage?: (waproto.Message.IImageMessage|null); /** HydratedFourRowTemplate videoMessage */ videoMessage?: (waproto.Message.IVideoMessage|null); /** HydratedFourRowTemplate locationMessage */ locationMessage?: (waproto.Message.ILocationMessage|null); } /** Represents a HydratedFourRowTemplate. */ class HydratedFourRowTemplate implements IHydratedFourRowTemplate { /** * Constructs a new HydratedFourRowTemplate. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.TemplateMessage.IHydratedFourRowTemplate); /** HydratedFourRowTemplate hydratedContentText. */ public hydratedContentText?: (string|null); /** HydratedFourRowTemplate hydratedFooterText. */ public hydratedFooterText?: (string|null); /** HydratedFourRowTemplate hydratedButtons. */ public hydratedButtons: waproto.IHydratedTemplateButton[]; /** HydratedFourRowTemplate templateId. */ public templateId?: (string|null); /** HydratedFourRowTemplate maskLinkedDevices. */ public maskLinkedDevices?: (boolean|null); /** HydratedFourRowTemplate documentMessage. */ public documentMessage?: (waproto.Message.IDocumentMessage|null); /** HydratedFourRowTemplate hydratedTitleText. */ public hydratedTitleText?: (string|null); /** HydratedFourRowTemplate imageMessage. */ public imageMessage?: (waproto.Message.IImageMessage|null); /** HydratedFourRowTemplate videoMessage. */ public videoMessage?: (waproto.Message.IVideoMessage|null); /** HydratedFourRowTemplate locationMessage. */ public locationMessage?: (waproto.Message.ILocationMessage|null); /** HydratedFourRowTemplate title. */ public title?: ("documentMessage"|"hydratedTitleText"|"imageMessage"|"videoMessage"|"locationMessage"); /** * Creates a new HydratedFourRowTemplate instance using the specified properties. * @param [properties] Properties to set * @returns HydratedFourRowTemplate instance */ public static create(properties?: waproto.Message.TemplateMessage.IHydratedFourRowTemplate): waproto.Message.TemplateMessage.HydratedFourRowTemplate; /** * Encodes the specified HydratedFourRowTemplate message. Does not implicitly {@link waproto.Message.TemplateMessage.HydratedFourRowTemplate.verify|verify} messages. * @param message HydratedFourRowTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.TemplateMessage.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HydratedFourRowTemplate message, length delimited. Does not implicitly {@link waproto.Message.TemplateMessage.HydratedFourRowTemplate.verify|verify} messages. * @param message HydratedFourRowTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.TemplateMessage.IHydratedFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HydratedFourRowTemplate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HydratedFourRowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.TemplateMessage.HydratedFourRowTemplate; /** * Decodes a HydratedFourRowTemplate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HydratedFourRowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.TemplateMessage.HydratedFourRowTemplate; /** * Verifies a HydratedFourRowTemplate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HydratedFourRowTemplate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HydratedFourRowTemplate */ public static fromObject(object: { [k: string]: any }): waproto.Message.TemplateMessage.HydratedFourRowTemplate; /** * Creates a plain object from a HydratedFourRowTemplate message. Also converts values to other types if specified. * @param message HydratedFourRowTemplate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.TemplateMessage.HydratedFourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HydratedFourRowTemplate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HydratedFourRowTemplate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FourRowTemplate. */ interface IFourRowTemplate { /** FourRowTemplate content */ content?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate footer */ footer?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate buttons */ buttons?: (waproto.ITemplateButton[]|null); /** FourRowTemplate documentMessage */ documentMessage?: (waproto.Message.IDocumentMessage|null); /** FourRowTemplate highlyStructuredMessage */ highlyStructuredMessage?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate imageMessage */ imageMessage?: (waproto.Message.IImageMessage|null); /** FourRowTemplate videoMessage */ videoMessage?: (waproto.Message.IVideoMessage|null); /** FourRowTemplate locationMessage */ locationMessage?: (waproto.Message.ILocationMessage|null); } /** Represents a FourRowTemplate. */ class FourRowTemplate implements IFourRowTemplate { /** * Constructs a new FourRowTemplate. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.TemplateMessage.IFourRowTemplate); /** FourRowTemplate content. */ public content?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate footer. */ public footer?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate buttons. */ public buttons: waproto.ITemplateButton[]; /** FourRowTemplate documentMessage. */ public documentMessage?: (waproto.Message.IDocumentMessage|null); /** FourRowTemplate highlyStructuredMessage. */ public highlyStructuredMessage?: (waproto.Message.IHighlyStructuredMessage|null); /** FourRowTemplate imageMessage. */ public imageMessage?: (waproto.Message.IImageMessage|null); /** FourRowTemplate videoMessage. */ public videoMessage?: (waproto.Message.IVideoMessage|null); /** FourRowTemplate locationMessage. */ public locationMessage?: (waproto.Message.ILocationMessage|null); /** FourRowTemplate title. */ public title?: ("documentMessage"|"highlyStructuredMessage"|"imageMessage"|"videoMessage"|"locationMessage"); /** * Creates a new FourRowTemplate instance using the specified properties. * @param [properties] Properties to set * @returns FourRowTemplate instance */ public static create(properties?: waproto.Message.TemplateMessage.IFourRowTemplate): waproto.Message.TemplateMessage.FourRowTemplate; /** * Encodes the specified FourRowTemplate message. Does not implicitly {@link waproto.Message.TemplateMessage.FourRowTemplate.verify|verify} messages. * @param message FourRowTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.TemplateMessage.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FourRowTemplate message, length delimited. Does not implicitly {@link waproto.Message.TemplateMessage.FourRowTemplate.verify|verify} messages. * @param message FourRowTemplate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.TemplateMessage.IFourRowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FourRowTemplate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FourRowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.TemplateMessage.FourRowTemplate; /** * Decodes a FourRowTemplate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FourRowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.TemplateMessage.FourRowTemplate; /** * Verifies a FourRowTemplate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FourRowTemplate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FourRowTemplate */ public static fromObject(object: { [k: string]: any }): waproto.Message.TemplateMessage.FourRowTemplate; /** * Creates a plain object from a FourRowTemplate message. Also converts values to other types if specified. * @param message FourRowTemplate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.TemplateMessage.FourRowTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FourRowTemplate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FourRowTemplate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a StickerMessage. */ interface IStickerMessage { /** StickerMessage url */ url?: (string|null); /** StickerMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** StickerMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** StickerMessage mediaKey */ mediaKey?: (Uint8Array|null); /** StickerMessage mimetype */ mimetype?: (string|null); /** StickerMessage height */ height?: (number|null); /** StickerMessage width */ width?: (number|null); /** StickerMessage directPath */ directPath?: (string|null); /** StickerMessage fileLength */ fileLength?: (number|Long|null); /** StickerMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** StickerMessage firstFrameLength */ firstFrameLength?: (number|null); /** StickerMessage firstFrameSidecar */ firstFrameSidecar?: (Uint8Array|null); /** StickerMessage isAnimated */ isAnimated?: (boolean|null); /** StickerMessage pngThumbnail */ pngThumbnail?: (Uint8Array|null); /** StickerMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** StickerMessage stickerSentTs */ stickerSentTs?: (number|Long|null); /** StickerMessage isAvatar */ isAvatar?: (boolean|null); /** StickerMessage isAiSticker */ isAiSticker?: (boolean|null); /** StickerMessage isLottie */ isLottie?: (boolean|null); /** StickerMessage accessibilityLabel */ accessibilityLabel?: (string|null); /** StickerMessage premium */ premium?: (number|null); /** StickerMessage emojis */ emojis?: (string|null); /** StickerMessage audioMessage */ audioMessage?: (waproto.Message.IAudioMessage|null); } /** Represents a StickerMessage. */ class StickerMessage implements IStickerMessage { /** * Constructs a new StickerMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStickerMessage); /** StickerMessage url. */ public url?: (string|null); /** StickerMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** StickerMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** StickerMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** StickerMessage mimetype. */ public mimetype?: (string|null); /** StickerMessage height. */ public height?: (number|null); /** StickerMessage width. */ public width?: (number|null); /** StickerMessage directPath. */ public directPath?: (string|null); /** StickerMessage fileLength. */ public fileLength?: (number|Long|null); /** StickerMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** StickerMessage firstFrameLength. */ public firstFrameLength?: (number|null); /** StickerMessage firstFrameSidecar. */ public firstFrameSidecar?: (Uint8Array|null); /** StickerMessage isAnimated. */ public isAnimated?: (boolean|null); /** StickerMessage pngThumbnail. */ public pngThumbnail?: (Uint8Array|null); /** StickerMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** StickerMessage stickerSentTs. */ public stickerSentTs?: (number|Long|null); /** StickerMessage isAvatar. */ public isAvatar?: (boolean|null); /** StickerMessage isAiSticker. */ public isAiSticker?: (boolean|null); /** StickerMessage isLottie. */ public isLottie?: (boolean|null); /** StickerMessage accessibilityLabel. */ public accessibilityLabel?: (string|null); /** StickerMessage premium. */ public premium?: (number|null); /** StickerMessage emojis. */ public emojis?: (string|null); /** StickerMessage audioMessage. */ public audioMessage?: (waproto.Message.IAudioMessage|null); /** StickerMessage audio. */ public audio?: "audioMessage"; /** * Creates a new StickerMessage instance using the specified properties. * @param [properties] Properties to set * @returns StickerMessage instance */ public static create(properties?: waproto.Message.IStickerMessage): waproto.Message.StickerMessage; /** * Encodes the specified StickerMessage message. Does not implicitly {@link waproto.Message.StickerMessage.verify|verify} messages. * @param message StickerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerMessage message, length delimited. Does not implicitly {@link waproto.Message.StickerMessage.verify|verify} messages. * @param message StickerMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStickerMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StickerMessage; /** * Decodes a StickerMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StickerMessage; /** * Verifies a StickerMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StickerMessage; /** * Creates a plain object from a StickerMessage message. Also converts values to other types if specified. * @param message StickerMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StickerMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LiveLocationMessage. */ interface ILiveLocationMessage { /** LiveLocationMessage degreesLatitude */ degreesLatitude?: (number|null); /** LiveLocationMessage degreesLongitude */ degreesLongitude?: (number|null); /** LiveLocationMessage accuracyInMeters */ accuracyInMeters?: (number|null); /** LiveLocationMessage speedInMps */ speedInMps?: (number|null); /** LiveLocationMessage degreesClockwiseFromMagneticNorth */ degreesClockwiseFromMagneticNorth?: (number|null); /** LiveLocationMessage caption */ caption?: (string|null); /** LiveLocationMessage sequenceNumber */ sequenceNumber?: (number|Long|null); /** LiveLocationMessage timeOffset */ timeOffset?: (number|null); /** LiveLocationMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** LiveLocationMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a LiveLocationMessage. */ class LiveLocationMessage implements ILiveLocationMessage { /** * Constructs a new LiveLocationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ILiveLocationMessage); /** LiveLocationMessage degreesLatitude. */ public degreesLatitude?: (number|null); /** LiveLocationMessage degreesLongitude. */ public degreesLongitude?: (number|null); /** LiveLocationMessage accuracyInMeters. */ public accuracyInMeters?: (number|null); /** LiveLocationMessage speedInMps. */ public speedInMps?: (number|null); /** LiveLocationMessage degreesClockwiseFromMagneticNorth. */ public degreesClockwiseFromMagneticNorth?: (number|null); /** LiveLocationMessage caption. */ public caption?: (string|null); /** LiveLocationMessage sequenceNumber. */ public sequenceNumber?: (number|Long|null); /** LiveLocationMessage timeOffset. */ public timeOffset?: (number|null); /** LiveLocationMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** LiveLocationMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new LiveLocationMessage instance using the specified properties. * @param [properties] Properties to set * @returns LiveLocationMessage instance */ public static create(properties?: waproto.Message.ILiveLocationMessage): waproto.Message.LiveLocationMessage; /** * Encodes the specified LiveLocationMessage message. Does not implicitly {@link waproto.Message.LiveLocationMessage.verify|verify} messages. * @param message LiveLocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LiveLocationMessage message, length delimited. Does not implicitly {@link waproto.Message.LiveLocationMessage.verify|verify} messages. * @param message LiveLocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ILiveLocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LiveLocationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LiveLocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.LiveLocationMessage; /** * Decodes a LiveLocationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LiveLocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.LiveLocationMessage; /** * Verifies a LiveLocationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LiveLocationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LiveLocationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.LiveLocationMessage; /** * Creates a plain object from a LiveLocationMessage message. Also converts values to other types if specified. * @param message LiveLocationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.LiveLocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LiveLocationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LiveLocationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SplitPaymentUpdateMessage. */ interface ISplitPaymentUpdateMessage { /** SplitPaymentUpdateMessage splitId */ splitId?: (string|null); /** SplitPaymentUpdateMessage participantJid */ participantJid?: (string|null); } /** Represents a SplitPaymentUpdateMessage. */ class SplitPaymentUpdateMessage implements ISplitPaymentUpdateMessage { /** * Constructs a new SplitPaymentUpdateMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISplitPaymentUpdateMessage); /** SplitPaymentUpdateMessage splitId. */ public splitId?: (string|null); /** SplitPaymentUpdateMessage participantJid. */ public participantJid?: (string|null); /** * Creates a new SplitPaymentUpdateMessage instance using the specified properties. * @param [properties] Properties to set * @returns SplitPaymentUpdateMessage instance */ public static create(properties?: waproto.Message.ISplitPaymentUpdateMessage): waproto.Message.SplitPaymentUpdateMessage; /** * Encodes the specified SplitPaymentUpdateMessage message. Does not implicitly {@link waproto.Message.SplitPaymentUpdateMessage.verify|verify} messages. * @param message SplitPaymentUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISplitPaymentUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SplitPaymentUpdateMessage message, length delimited. Does not implicitly {@link waproto.Message.SplitPaymentUpdateMessage.verify|verify} messages. * @param message SplitPaymentUpdateMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISplitPaymentUpdateMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SplitPaymentUpdateMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SplitPaymentUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SplitPaymentUpdateMessage; /** * Decodes a SplitPaymentUpdateMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SplitPaymentUpdateMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SplitPaymentUpdateMessage; /** * Verifies a SplitPaymentUpdateMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SplitPaymentUpdateMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SplitPaymentUpdateMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.SplitPaymentUpdateMessage; /** * Creates a plain object from a SplitPaymentUpdateMessage message. Also converts values to other types if specified. * @param message SplitPaymentUpdateMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SplitPaymentUpdateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SplitPaymentUpdateMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SplitPaymentUpdateMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SplitPaymentParticipant. */ interface ISplitPaymentParticipant { /** SplitPaymentParticipant jid */ jid?: (string|null); /** SplitPaymentParticipant amount */ amount?: (waproto.IMoney|null); /** SplitPaymentParticipant status */ status?: (waproto.Message.SplitPaymentParticipant.SplitPaymentStatus|null); } /** Represents a SplitPaymentParticipant. */ class SplitPaymentParticipant implements ISplitPaymentParticipant { /** * Constructs a new SplitPaymentParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISplitPaymentParticipant); /** SplitPaymentParticipant jid. */ public jid?: (string|null); /** SplitPaymentParticipant amount. */ public amount?: (waproto.IMoney|null); /** SplitPaymentParticipant status. */ public status?: (waproto.Message.SplitPaymentParticipant.SplitPaymentStatus|null); /** * Creates a new SplitPaymentParticipant instance using the specified properties. * @param [properties] Properties to set * @returns SplitPaymentParticipant instance */ public static create(properties?: waproto.Message.ISplitPaymentParticipant): waproto.Message.SplitPaymentParticipant; /** * Encodes the specified SplitPaymentParticipant message. Does not implicitly {@link waproto.Message.SplitPaymentParticipant.verify|verify} messages. * @param message SplitPaymentParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISplitPaymentParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SplitPaymentParticipant message, length delimited. Does not implicitly {@link waproto.Message.SplitPaymentParticipant.verify|verify} messages. * @param message SplitPaymentParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISplitPaymentParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SplitPaymentParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SplitPaymentParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SplitPaymentParticipant; /** * Decodes a SplitPaymentParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SplitPaymentParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SplitPaymentParticipant; /** * Verifies a SplitPaymentParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SplitPaymentParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SplitPaymentParticipant */ public static fromObject(object: { [k: string]: any }): waproto.Message.SplitPaymentParticipant; /** * Creates a plain object from a SplitPaymentParticipant message. Also converts values to other types if specified. * @param message SplitPaymentParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SplitPaymentParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SplitPaymentParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SplitPaymentParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SplitPaymentParticipant { /** SplitPaymentStatus enum. */ enum SplitPaymentStatus { PENDING = 0, PAID = 1 } } /** Properties of a SplitPaymentMessage. */ interface ISplitPaymentMessage { /** SplitPaymentMessage splitId */ splitId?: (string|null); /** SplitPaymentMessage totalAmount */ totalAmount?: (waproto.IMoney|null); /** SplitPaymentMessage description */ description?: (string|null); /** SplitPaymentMessage requesterJid */ requesterJid?: (string|null); /** SplitPaymentMessage participants */ participants?: (waproto.Message.ISplitPaymentParticipant[]|null); /** SplitPaymentMessage createdAtMs */ createdAtMs?: (number|Long|null); /** SplitPaymentMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a SplitPaymentMessage. */ class SplitPaymentMessage implements ISplitPaymentMessage { /** * Constructs a new SplitPaymentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISplitPaymentMessage); /** SplitPaymentMessage splitId. */ public splitId?: (string|null); /** SplitPaymentMessage totalAmount. */ public totalAmount?: (waproto.IMoney|null); /** SplitPaymentMessage description. */ public description?: (string|null); /** SplitPaymentMessage requesterJid. */ public requesterJid?: (string|null); /** SplitPaymentMessage participants. */ public participants: waproto.Message.ISplitPaymentParticipant[]; /** SplitPaymentMessage createdAtMs. */ public createdAtMs?: (number|Long|null); /** SplitPaymentMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new SplitPaymentMessage instance using the specified properties. * @param [properties] Properties to set * @returns SplitPaymentMessage instance */ public static create(properties?: waproto.Message.ISplitPaymentMessage): waproto.Message.SplitPaymentMessage; /** * Encodes the specified SplitPaymentMessage message. Does not implicitly {@link waproto.Message.SplitPaymentMessage.verify|verify} messages. * @param message SplitPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISplitPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SplitPaymentMessage message, length delimited. Does not implicitly {@link waproto.Message.SplitPaymentMessage.verify|verify} messages. * @param message SplitPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISplitPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SplitPaymentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SplitPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SplitPaymentMessage; /** * Decodes a SplitPaymentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SplitPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SplitPaymentMessage; /** * Verifies a SplitPaymentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SplitPaymentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SplitPaymentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.SplitPaymentMessage; /** * Creates a plain object from a SplitPaymentMessage message. Also converts values to other types if specified. * @param message SplitPaymentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SplitPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SplitPaymentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SplitPaymentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentReminderMessage. */ interface IPaymentReminderMessage { /** PaymentReminderMessage reminderId */ reminderId?: (string|null); /** PaymentReminderMessage instanceId */ instanceId?: (string|null); /** PaymentReminderMessage description */ description?: (string|null); /** PaymentReminderMessage frequency */ frequency?: (waproto.Message.PaymentReminderMessage.ReminderFrequency|null); /** PaymentReminderMessage status */ status?: (waproto.Message.PaymentReminderMessage.ReminderStatus|null); /** PaymentReminderMessage payeeVpa */ payeeVpa?: (string|null); /** PaymentReminderMessage payeeJid */ payeeJid?: (string|null); /** PaymentReminderMessage payerJid */ payerJid?: (string|null); /** PaymentReminderMessage amount */ amount?: (waproto.IMoney|null); } /** Represents a PaymentReminderMessage. */ class PaymentReminderMessage implements IPaymentReminderMessage { /** * Constructs a new PaymentReminderMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPaymentReminderMessage); /** PaymentReminderMessage reminderId. */ public reminderId?: (string|null); /** PaymentReminderMessage instanceId. */ public instanceId?: (string|null); /** PaymentReminderMessage description. */ public description?: (string|null); /** PaymentReminderMessage frequency. */ public frequency?: (waproto.Message.PaymentReminderMessage.ReminderFrequency|null); /** PaymentReminderMessage status. */ public status?: (waproto.Message.PaymentReminderMessage.ReminderStatus|null); /** PaymentReminderMessage payeeVpa. */ public payeeVpa?: (string|null); /** PaymentReminderMessage payeeJid. */ public payeeJid?: (string|null); /** PaymentReminderMessage payerJid. */ public payerJid?: (string|null); /** PaymentReminderMessage amount. */ public amount?: (waproto.IMoney|null); /** * Creates a new PaymentReminderMessage instance using the specified properties. * @param [properties] Properties to set * @returns PaymentReminderMessage instance */ public static create(properties?: waproto.Message.IPaymentReminderMessage): waproto.Message.PaymentReminderMessage; /** * Encodes the specified PaymentReminderMessage message. Does not implicitly {@link waproto.Message.PaymentReminderMessage.verify|verify} messages. * @param message PaymentReminderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPaymentReminderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentReminderMessage message, length delimited. Does not implicitly {@link waproto.Message.PaymentReminderMessage.verify|verify} messages. * @param message PaymentReminderMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPaymentReminderMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentReminderMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentReminderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentReminderMessage; /** * Decodes a PaymentReminderMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentReminderMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentReminderMessage; /** * Verifies a PaymentReminderMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentReminderMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentReminderMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentReminderMessage; /** * Creates a plain object from a PaymentReminderMessage message. Also converts values to other types if specified. * @param message PaymentReminderMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentReminderMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentReminderMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentReminderMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentReminderMessage { /** ReminderStatus enum. */ enum ReminderStatus { REMINDER_STATUS_UNKNOWN = 0, ACTIVE = 1, CANCELLED_BY_CREATOR = 2, STOPPED_BY_RECEIVER = 3, EXPIRED = 4, PAID = 5 } /** ReminderFrequency enum. */ enum ReminderFrequency { REMINDER_FREQUENCY_UNKNOWN = 0, WEEKLY = 1, BI_WEEKLY = 2, MONTHLY = 3, QUARTERLY = 4 } } /** Properties of a PaymentInviteMessage. */ interface IPaymentInviteMessage { /** PaymentInviteMessage serviceType */ serviceType?: (waproto.Message.PaymentInviteMessage.ServiceType|null); /** PaymentInviteMessage expiryTimestamp */ expiryTimestamp?: (number|Long|null); /** PaymentInviteMessage incentiveEligible */ incentiveEligible?: (boolean|null); /** PaymentInviteMessage referralId */ referralId?: (string|null); /** PaymentInviteMessage inviteType */ inviteType?: (waproto.Message.PaymentInviteMessage.InviteType|null); } /** Represents a PaymentInviteMessage. */ class PaymentInviteMessage implements IPaymentInviteMessage { /** * Constructs a new PaymentInviteMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPaymentInviteMessage); /** PaymentInviteMessage serviceType. */ public serviceType?: (waproto.Message.PaymentInviteMessage.ServiceType|null); /** PaymentInviteMessage expiryTimestamp. */ public expiryTimestamp?: (number|Long|null); /** PaymentInviteMessage incentiveEligible. */ public incentiveEligible?: (boolean|null); /** PaymentInviteMessage referralId. */ public referralId?: (string|null); /** PaymentInviteMessage inviteType. */ public inviteType?: (waproto.Message.PaymentInviteMessage.InviteType|null); /** * Creates a new PaymentInviteMessage instance using the specified properties. * @param [properties] Properties to set * @returns PaymentInviteMessage instance */ public static create(properties?: waproto.Message.IPaymentInviteMessage): waproto.Message.PaymentInviteMessage; /** * Encodes the specified PaymentInviteMessage message. Does not implicitly {@link waproto.Message.PaymentInviteMessage.verify|verify} messages. * @param message PaymentInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentInviteMessage message, length delimited. Does not implicitly {@link waproto.Message.PaymentInviteMessage.verify|verify} messages. * @param message PaymentInviteMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPaymentInviteMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentInviteMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentInviteMessage; /** * Decodes a PaymentInviteMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentInviteMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentInviteMessage; /** * Verifies a PaymentInviteMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentInviteMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentInviteMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentInviteMessage; /** * Creates a plain object from a PaymentInviteMessage message. Also converts values to other types if specified. * @param message PaymentInviteMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentInviteMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentInviteMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentInviteMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentInviteMessage { /** InviteType enum. */ enum InviteType { DEFAULT = 0, MAPPER = 1 } /** ServiceType enum. */ enum ServiceType { UNKNOWN = 0, FBPAY = 1, NOVI = 2, UPI = 3, PIX = 4 } } /** Properties of a CancelPaymentRequestMessage. */ interface ICancelPaymentRequestMessage { /** CancelPaymentRequestMessage key */ key?: (waproto.IMessageKey|null); } /** Represents a CancelPaymentRequestMessage. */ class CancelPaymentRequestMessage implements ICancelPaymentRequestMessage { /** * Constructs a new CancelPaymentRequestMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ICancelPaymentRequestMessage); /** CancelPaymentRequestMessage key. */ public key?: (waproto.IMessageKey|null); /** * Creates a new CancelPaymentRequestMessage instance using the specified properties. * @param [properties] Properties to set * @returns CancelPaymentRequestMessage instance */ public static create(properties?: waproto.Message.ICancelPaymentRequestMessage): waproto.Message.CancelPaymentRequestMessage; /** * Encodes the specified CancelPaymentRequestMessage message. Does not implicitly {@link waproto.Message.CancelPaymentRequestMessage.verify|verify} messages. * @param message CancelPaymentRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CancelPaymentRequestMessage message, length delimited. Does not implicitly {@link waproto.Message.CancelPaymentRequestMessage.verify|verify} messages. * @param message CancelPaymentRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ICancelPaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CancelPaymentRequestMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CancelPaymentRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CancelPaymentRequestMessage; /** * Decodes a CancelPaymentRequestMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CancelPaymentRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CancelPaymentRequestMessage; /** * Verifies a CancelPaymentRequestMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CancelPaymentRequestMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelPaymentRequestMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.CancelPaymentRequestMessage; /** * Creates a plain object from a CancelPaymentRequestMessage message. Also converts values to other types if specified. * @param message CancelPaymentRequestMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CancelPaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelPaymentRequestMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CancelPaymentRequestMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeclinePaymentRequestMessage. */ interface IDeclinePaymentRequestMessage { /** DeclinePaymentRequestMessage key */ key?: (waproto.IMessageKey|null); } /** Represents a DeclinePaymentRequestMessage. */ class DeclinePaymentRequestMessage implements IDeclinePaymentRequestMessage { /** * Constructs a new DeclinePaymentRequestMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IDeclinePaymentRequestMessage); /** DeclinePaymentRequestMessage key. */ public key?: (waproto.IMessageKey|null); /** * Creates a new DeclinePaymentRequestMessage instance using the specified properties. * @param [properties] Properties to set * @returns DeclinePaymentRequestMessage instance */ public static create(properties?: waproto.Message.IDeclinePaymentRequestMessage): waproto.Message.DeclinePaymentRequestMessage; /** * Encodes the specified DeclinePaymentRequestMessage message. Does not implicitly {@link waproto.Message.DeclinePaymentRequestMessage.verify|verify} messages. * @param message DeclinePaymentRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeclinePaymentRequestMessage message, length delimited. Does not implicitly {@link waproto.Message.DeclinePaymentRequestMessage.verify|verify} messages. * @param message DeclinePaymentRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IDeclinePaymentRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeclinePaymentRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.DeclinePaymentRequestMessage; /** * Decodes a DeclinePaymentRequestMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeclinePaymentRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.DeclinePaymentRequestMessage; /** * Verifies a DeclinePaymentRequestMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeclinePaymentRequestMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeclinePaymentRequestMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.DeclinePaymentRequestMessage; /** * Creates a plain object from a DeclinePaymentRequestMessage message. Also converts values to other types if specified. * @param message DeclinePaymentRequestMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.DeclinePaymentRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeclinePaymentRequestMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeclinePaymentRequestMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RequestPaymentMessage. */ interface IRequestPaymentMessage { /** RequestPaymentMessage currencyCodeIso4217 */ currencyCodeIso4217?: (string|null); /** RequestPaymentMessage amount1000 */ amount1000?: (number|Long|null); /** RequestPaymentMessage requestFrom */ requestFrom?: (string|null); /** RequestPaymentMessage noteMessage */ noteMessage?: (waproto.IMessage|null); /** RequestPaymentMessage expiryTimestamp */ expiryTimestamp?: (number|Long|null); /** RequestPaymentMessage amount */ amount?: (waproto.IMoney|null); /** RequestPaymentMessage background */ background?: (waproto.IPaymentBackground|null); } /** Represents a RequestPaymentMessage. */ class RequestPaymentMessage implements IRequestPaymentMessage { /** * Constructs a new RequestPaymentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IRequestPaymentMessage); /** RequestPaymentMessage currencyCodeIso4217. */ public currencyCodeIso4217?: (string|null); /** RequestPaymentMessage amount1000. */ public amount1000?: (number|Long|null); /** RequestPaymentMessage requestFrom. */ public requestFrom?: (string|null); /** RequestPaymentMessage noteMessage. */ public noteMessage?: (waproto.IMessage|null); /** RequestPaymentMessage expiryTimestamp. */ public expiryTimestamp?: (number|Long|null); /** RequestPaymentMessage amount. */ public amount?: (waproto.IMoney|null); /** RequestPaymentMessage background. */ public background?: (waproto.IPaymentBackground|null); /** * Creates a new RequestPaymentMessage instance using the specified properties. * @param [properties] Properties to set * @returns RequestPaymentMessage instance */ public static create(properties?: waproto.Message.IRequestPaymentMessage): waproto.Message.RequestPaymentMessage; /** * Encodes the specified RequestPaymentMessage message. Does not implicitly {@link waproto.Message.RequestPaymentMessage.verify|verify} messages. * @param message RequestPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestPaymentMessage message, length delimited. Does not implicitly {@link waproto.Message.RequestPaymentMessage.verify|verify} messages. * @param message RequestPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IRequestPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestPaymentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.RequestPaymentMessage; /** * Decodes a RequestPaymentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.RequestPaymentMessage; /** * Verifies a RequestPaymentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestPaymentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestPaymentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.RequestPaymentMessage; /** * Creates a plain object from a RequestPaymentMessage message. Also converts values to other types if specified. * @param message RequestPaymentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.RequestPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestPaymentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RequestPaymentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SendPaymentMessage. */ interface ISendPaymentMessage { /** SendPaymentMessage noteMessage */ noteMessage?: (waproto.IMessage|null); /** SendPaymentMessage requestMessageKey */ requestMessageKey?: (waproto.IMessageKey|null); /** SendPaymentMessage background */ background?: (waproto.IPaymentBackground|null); /** SendPaymentMessage transactionData */ transactionData?: (string|null); } /** Represents a SendPaymentMessage. */ class SendPaymentMessage implements ISendPaymentMessage { /** * Constructs a new SendPaymentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISendPaymentMessage); /** SendPaymentMessage noteMessage. */ public noteMessage?: (waproto.IMessage|null); /** SendPaymentMessage requestMessageKey. */ public requestMessageKey?: (waproto.IMessageKey|null); /** SendPaymentMessage background. */ public background?: (waproto.IPaymentBackground|null); /** SendPaymentMessage transactionData. */ public transactionData?: (string|null); /** * Creates a new SendPaymentMessage instance using the specified properties. * @param [properties] Properties to set * @returns SendPaymentMessage instance */ public static create(properties?: waproto.Message.ISendPaymentMessage): waproto.Message.SendPaymentMessage; /** * Encodes the specified SendPaymentMessage message. Does not implicitly {@link waproto.Message.SendPaymentMessage.verify|verify} messages. * @param message SendPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SendPaymentMessage message, length delimited. Does not implicitly {@link waproto.Message.SendPaymentMessage.verify|verify} messages. * @param message SendPaymentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISendPaymentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SendPaymentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SendPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SendPaymentMessage; /** * Decodes a SendPaymentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SendPaymentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SendPaymentMessage; /** * Verifies a SendPaymentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SendPaymentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SendPaymentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.SendPaymentMessage; /** * Creates a plain object from a SendPaymentMessage message. Also converts values to other types if specified. * @param message SendPaymentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SendPaymentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SendPaymentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SendPaymentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HighlyStructuredMessage. */ interface IHighlyStructuredMessage { /** HighlyStructuredMessage namespace */ namespace?: (string|null); /** HighlyStructuredMessage elementName */ elementName?: (string|null); /** HighlyStructuredMessage params */ params?: (string[]|null); /** HighlyStructuredMessage fallbackLg */ fallbackLg?: (string|null); /** HighlyStructuredMessage fallbackLc */ fallbackLc?: (string|null); /** HighlyStructuredMessage localizableParams */ localizableParams?: (waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter[]|null); /** HighlyStructuredMessage deterministicLg */ deterministicLg?: (string|null); /** HighlyStructuredMessage deterministicLc */ deterministicLc?: (string|null); /** HighlyStructuredMessage hydratedHsm */ hydratedHsm?: (waproto.Message.ITemplateMessage|null); } /** Represents a HighlyStructuredMessage. */ class HighlyStructuredMessage implements IHighlyStructuredMessage { /** * Constructs a new HighlyStructuredMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IHighlyStructuredMessage); /** HighlyStructuredMessage namespace. */ public namespace?: (string|null); /** HighlyStructuredMessage elementName. */ public elementName?: (string|null); /** HighlyStructuredMessage params. */ public params: string[]; /** HighlyStructuredMessage fallbackLg. */ public fallbackLg?: (string|null); /** HighlyStructuredMessage fallbackLc. */ public fallbackLc?: (string|null); /** HighlyStructuredMessage localizableParams. */ public localizableParams: waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter[]; /** HighlyStructuredMessage deterministicLg. */ public deterministicLg?: (string|null); /** HighlyStructuredMessage deterministicLc. */ public deterministicLc?: (string|null); /** HighlyStructuredMessage hydratedHsm. */ public hydratedHsm?: (waproto.Message.ITemplateMessage|null); /** * Creates a new HighlyStructuredMessage instance using the specified properties. * @param [properties] Properties to set * @returns HighlyStructuredMessage instance */ public static create(properties?: waproto.Message.IHighlyStructuredMessage): waproto.Message.HighlyStructuredMessage; /** * Encodes the specified HighlyStructuredMessage message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.verify|verify} messages. * @param message HighlyStructuredMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HighlyStructuredMessage message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.verify|verify} messages. * @param message HighlyStructuredMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IHighlyStructuredMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HighlyStructuredMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HighlyStructuredMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage; /** * Decodes a HighlyStructuredMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HighlyStructuredMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage; /** * Verifies a HighlyStructuredMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HighlyStructuredMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HighlyStructuredMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage; /** * Creates a plain object from a HighlyStructuredMessage message. Also converts values to other types if specified. * @param message HighlyStructuredMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HighlyStructuredMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HighlyStructuredMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HighlyStructuredMessage { /** Properties of a HSMLocalizableParameter. */ interface IHSMLocalizableParameter { /** HSMLocalizableParameter default */ "default"?: (string|null); /** HSMLocalizableParameter currency */ currency?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency|null); /** HSMLocalizableParameter dateTime */ dateTime?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime|null); } /** Represents a HSMLocalizableParameter. */ class HSMLocalizableParameter implements IHSMLocalizableParameter { /** * Constructs a new HSMLocalizableParameter. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter); /** HSMLocalizableParameter default. */ public default?: (string|null); /** HSMLocalizableParameter currency. */ public currency?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency|null); /** HSMLocalizableParameter dateTime. */ public dateTime?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime|null); /** HSMLocalizableParameter paramOneof. */ public paramOneof?: ("currency"|"dateTime"); /** * Creates a new HSMLocalizableParameter instance using the specified properties. * @param [properties] Properties to set * @returns HSMLocalizableParameter instance */ public static create(properties?: waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter; /** * Encodes the specified HSMLocalizableParameter message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.verify|verify} messages. * @param message HSMLocalizableParameter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HSMLocalizableParameter message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.verify|verify} messages. * @param message HSMLocalizableParameter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.HighlyStructuredMessage.IHSMLocalizableParameter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HSMLocalizableParameter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HSMLocalizableParameter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter; /** * Decodes a HSMLocalizableParameter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HSMLocalizableParameter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter; /** * Verifies a HSMLocalizableParameter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HSMLocalizableParameter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HSMLocalizableParameter */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter; /** * Creates a plain object from a HSMLocalizableParameter message. Also converts values to other types if specified. * @param message HSMLocalizableParameter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HSMLocalizableParameter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HSMLocalizableParameter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HSMLocalizableParameter { /** Properties of a HSMDateTime. */ interface IHSMDateTime { /** HSMDateTime component */ component?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent|null); /** HSMDateTime unixEpoch */ unixEpoch?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch|null); } /** Represents a HSMDateTime. */ class HSMDateTime implements IHSMDateTime { /** * Constructs a new HSMDateTime. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime); /** HSMDateTime component. */ public component?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent|null); /** HSMDateTime unixEpoch. */ public unixEpoch?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch|null); /** HSMDateTime datetimeOneof. */ public datetimeOneof?: ("component"|"unixEpoch"); /** * Creates a new HSMDateTime instance using the specified properties. * @param [properties] Properties to set * @returns HSMDateTime instance */ public static create(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime; /** * Encodes the specified HSMDateTime message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.verify|verify} messages. * @param message HSMDateTime message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HSMDateTime message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.verify|verify} messages. * @param message HSMDateTime message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMDateTime, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HSMDateTime message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HSMDateTime * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime; /** * Decodes a HSMDateTime message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HSMDateTime * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime; /** * Verifies a HSMDateTime message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HSMDateTime message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HSMDateTime */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime; /** * Creates a plain object from a HSMDateTime message. Also converts values to other types if specified. * @param message HSMDateTime * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HSMDateTime to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HSMDateTime * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HSMDateTime { /** Properties of a HSMDateTimeUnixEpoch. */ interface IHSMDateTimeUnixEpoch { /** HSMDateTimeUnixEpoch timestamp */ timestamp?: (number|Long|null); } /** Represents a HSMDateTimeUnixEpoch. */ class HSMDateTimeUnixEpoch implements IHSMDateTimeUnixEpoch { /** * Constructs a new HSMDateTimeUnixEpoch. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch); /** HSMDateTimeUnixEpoch timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new HSMDateTimeUnixEpoch instance using the specified properties. * @param [properties] Properties to set * @returns HSMDateTimeUnixEpoch instance */ public static create(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch; /** * Encodes the specified HSMDateTimeUnixEpoch message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch.verify|verify} messages. * @param message HSMDateTimeUnixEpoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HSMDateTimeUnixEpoch message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch.verify|verify} messages. * @param message HSMDateTimeUnixEpoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeUnixEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HSMDateTimeUnixEpoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch; /** * Decodes a HSMDateTimeUnixEpoch message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HSMDateTimeUnixEpoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch; /** * Verifies a HSMDateTimeUnixEpoch message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HSMDateTimeUnixEpoch message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HSMDateTimeUnixEpoch */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch; /** * Creates a plain object from a HSMDateTimeUnixEpoch message. Also converts values to other types if specified. * @param message HSMDateTimeUnixEpoch * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HSMDateTimeUnixEpoch to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HSMDateTimeUnixEpoch * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HSMDateTimeComponent. */ interface IHSMDateTimeComponent { /** HSMDateTimeComponent dayOfWeek */ dayOfWeek?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType|null); /** HSMDateTimeComponent year */ year?: (number|null); /** HSMDateTimeComponent month */ month?: (number|null); /** HSMDateTimeComponent dayOfMonth */ dayOfMonth?: (number|null); /** HSMDateTimeComponent hour */ hour?: (number|null); /** HSMDateTimeComponent minute */ minute?: (number|null); /** HSMDateTimeComponent calendar */ calendar?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType|null); } /** Represents a HSMDateTimeComponent. */ class HSMDateTimeComponent implements IHSMDateTimeComponent { /** * Constructs a new HSMDateTimeComponent. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent); /** HSMDateTimeComponent dayOfWeek. */ public dayOfWeek?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType|null); /** HSMDateTimeComponent year. */ public year?: (number|null); /** HSMDateTimeComponent month. */ public month?: (number|null); /** HSMDateTimeComponent dayOfMonth. */ public dayOfMonth?: (number|null); /** HSMDateTimeComponent hour. */ public hour?: (number|null); /** HSMDateTimeComponent minute. */ public minute?: (number|null); /** HSMDateTimeComponent calendar. */ public calendar?: (waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType|null); /** * Creates a new HSMDateTimeComponent instance using the specified properties. * @param [properties] Properties to set * @returns HSMDateTimeComponent instance */ public static create(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent; /** * Encodes the specified HSMDateTimeComponent message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.verify|verify} messages. * @param message HSMDateTimeComponent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HSMDateTimeComponent message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.verify|verify} messages. * @param message HSMDateTimeComponent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.IHSMDateTimeComponent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HSMDateTimeComponent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HSMDateTimeComponent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent; /** * Decodes a HSMDateTimeComponent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HSMDateTimeComponent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent; /** * Verifies a HSMDateTimeComponent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HSMDateTimeComponent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HSMDateTimeComponent */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent; /** * Creates a plain object from a HSMDateTimeComponent message. Also converts values to other types if specified. * @param message HSMDateTimeComponent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HSMDateTimeComponent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HSMDateTimeComponent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace HSMDateTimeComponent { /** CalendarType enum. */ enum CalendarType { GREGORIAN = 1, SOLAR_HIJRI = 2 } /** DayOfWeekType enum. */ enum DayOfWeekType { MONDAY = 1, TUESDAY = 2, WEDNESDAY = 3, THURSDAY = 4, FRIDAY = 5, SATURDAY = 6, SUNDAY = 7 } } } /** Properties of a HSMCurrency. */ interface IHSMCurrency { /** HSMCurrency currencyCode */ currencyCode?: (string|null); /** HSMCurrency amount1000 */ amount1000?: (number|Long|null); } /** Represents a HSMCurrency. */ class HSMCurrency implements IHSMCurrency { /** * Constructs a new HSMCurrency. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency); /** HSMCurrency currencyCode. */ public currencyCode?: (string|null); /** HSMCurrency amount1000. */ public amount1000?: (number|Long|null); /** * Creates a new HSMCurrency instance using the specified properties. * @param [properties] Properties to set * @returns HSMCurrency instance */ public static create(properties?: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency; /** * Encodes the specified HSMCurrency message. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency.verify|verify} messages. * @param message HSMCurrency message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HSMCurrency message, length delimited. Does not implicitly {@link waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency.verify|verify} messages. * @param message HSMCurrency message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.IHSMCurrency, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HSMCurrency message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HSMCurrency * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency; /** * Decodes a HSMCurrency message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HSMCurrency * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency; /** * Verifies a HSMCurrency message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HSMCurrency message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HSMCurrency */ public static fromObject(object: { [k: string]: any }): waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency; /** * Creates a plain object from a HSMCurrency message. Also converts values to other types if specified. * @param message HSMCurrency * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HSMCurrency to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HSMCurrency * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a ContactsArrayMessage. */ interface IContactsArrayMessage { /** ContactsArrayMessage displayName */ displayName?: (string|null); /** ContactsArrayMessage contacts */ contacts?: (waproto.Message.IContactMessage[]|null); /** ContactsArrayMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a ContactsArrayMessage. */ class ContactsArrayMessage implements IContactsArrayMessage { /** * Constructs a new ContactsArrayMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IContactsArrayMessage); /** ContactsArrayMessage displayName. */ public displayName?: (string|null); /** ContactsArrayMessage contacts. */ public contacts: waproto.Message.IContactMessage[]; /** ContactsArrayMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new ContactsArrayMessage instance using the specified properties. * @param [properties] Properties to set * @returns ContactsArrayMessage instance */ public static create(properties?: waproto.Message.IContactsArrayMessage): waproto.Message.ContactsArrayMessage; /** * Encodes the specified ContactsArrayMessage message. Does not implicitly {@link waproto.Message.ContactsArrayMessage.verify|verify} messages. * @param message ContactsArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactsArrayMessage message, length delimited. Does not implicitly {@link waproto.Message.ContactsArrayMessage.verify|verify} messages. * @param message ContactsArrayMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IContactsArrayMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactsArrayMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactsArrayMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ContactsArrayMessage; /** * Decodes a ContactsArrayMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactsArrayMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ContactsArrayMessage; /** * Verifies a ContactsArrayMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactsArrayMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactsArrayMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ContactsArrayMessage; /** * Creates a plain object from a ContactsArrayMessage message. Also converts values to other types if specified. * @param message ContactsArrayMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ContactsArrayMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactsArrayMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactsArrayMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InitialSecurityNotificationSettingSync. */ interface IInitialSecurityNotificationSettingSync { /** InitialSecurityNotificationSettingSync securityNotificationEnabled */ securityNotificationEnabled?: (boolean|null); } /** Represents an InitialSecurityNotificationSettingSync. */ class InitialSecurityNotificationSettingSync implements IInitialSecurityNotificationSettingSync { /** * Constructs a new InitialSecurityNotificationSettingSync. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IInitialSecurityNotificationSettingSync); /** InitialSecurityNotificationSettingSync securityNotificationEnabled. */ public securityNotificationEnabled?: (boolean|null); /** * Creates a new InitialSecurityNotificationSettingSync instance using the specified properties. * @param [properties] Properties to set * @returns InitialSecurityNotificationSettingSync instance */ public static create(properties?: waproto.Message.IInitialSecurityNotificationSettingSync): waproto.Message.InitialSecurityNotificationSettingSync; /** * Encodes the specified InitialSecurityNotificationSettingSync message. Does not implicitly {@link waproto.Message.InitialSecurityNotificationSettingSync.verify|verify} messages. * @param message InitialSecurityNotificationSettingSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InitialSecurityNotificationSettingSync message, length delimited. Does not implicitly {@link waproto.Message.InitialSecurityNotificationSettingSync.verify|verify} messages. * @param message InitialSecurityNotificationSettingSync message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IInitialSecurityNotificationSettingSync, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InitialSecurityNotificationSettingSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InitialSecurityNotificationSettingSync; /** * Decodes an InitialSecurityNotificationSettingSync message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InitialSecurityNotificationSettingSync * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InitialSecurityNotificationSettingSync; /** * Verifies an InitialSecurityNotificationSettingSync message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InitialSecurityNotificationSettingSync message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InitialSecurityNotificationSettingSync */ public static fromObject(object: { [k: string]: any }): waproto.Message.InitialSecurityNotificationSettingSync; /** * Creates a plain object from an InitialSecurityNotificationSettingSync message. Also converts values to other types if specified. * @param message InitialSecurityNotificationSettingSync * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InitialSecurityNotificationSettingSync, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InitialSecurityNotificationSettingSync to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InitialSecurityNotificationSettingSync * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PeerDataOperationRequestResponseMessage. */ interface IPeerDataOperationRequestResponseMessage { /** PeerDataOperationRequestResponseMessage peerDataOperationRequestType */ peerDataOperationRequestType?: (waproto.Message.PeerDataOperationRequestType|null); /** PeerDataOperationRequestResponseMessage stanzaId */ stanzaId?: (string|null); /** PeerDataOperationRequestResponseMessage peerDataOperationResult */ peerDataOperationResult?: (waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult[]|null); } /** Represents a PeerDataOperationRequestResponseMessage. */ class PeerDataOperationRequestResponseMessage implements IPeerDataOperationRequestResponseMessage { /** * Constructs a new PeerDataOperationRequestResponseMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPeerDataOperationRequestResponseMessage); /** PeerDataOperationRequestResponseMessage peerDataOperationRequestType. */ public peerDataOperationRequestType?: (waproto.Message.PeerDataOperationRequestType|null); /** PeerDataOperationRequestResponseMessage stanzaId. */ public stanzaId?: (string|null); /** PeerDataOperationRequestResponseMessage peerDataOperationResult. */ public peerDataOperationResult: waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult[]; /** * Creates a new PeerDataOperationRequestResponseMessage instance using the specified properties. * @param [properties] Properties to set * @returns PeerDataOperationRequestResponseMessage instance */ public static create(properties?: waproto.Message.IPeerDataOperationRequestResponseMessage): waproto.Message.PeerDataOperationRequestResponseMessage; /** * Encodes the specified PeerDataOperationRequestResponseMessage message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.verify|verify} messages. * @param message PeerDataOperationRequestResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPeerDataOperationRequestResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PeerDataOperationRequestResponseMessage message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.verify|verify} messages. * @param message PeerDataOperationRequestResponseMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPeerDataOperationRequestResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PeerDataOperationRequestResponseMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PeerDataOperationRequestResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage; /** * Decodes a PeerDataOperationRequestResponseMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PeerDataOperationRequestResponseMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage; /** * Verifies a PeerDataOperationRequestResponseMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PeerDataOperationRequestResponseMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PeerDataOperationRequestResponseMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage; /** * Creates a plain object from a PeerDataOperationRequestResponseMessage message. Also converts values to other types if specified. * @param message PeerDataOperationRequestResponseMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PeerDataOperationRequestResponseMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PeerDataOperationRequestResponseMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PeerDataOperationRequestResponseMessage { /** Properties of a PeerDataOperationResult. */ interface IPeerDataOperationResult { /** PeerDataOperationResult mediaUploadResult */ mediaUploadResult?: (waproto.MediaRetryNotification.ResultType|null); /** PeerDataOperationResult stickerMessage */ stickerMessage?: (waproto.Message.IStickerMessage|null); /** PeerDataOperationResult linkPreviewResponse */ linkPreviewResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse|null); /** PeerDataOperationResult placeholderMessageResendResponse */ placeholderMessageResendResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse|null); /** PeerDataOperationResult waffleNonceFetchRequestResponse */ waffleNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse|null); /** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse */ fullHistorySyncOnDemandRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null); /** PeerDataOperationResult companionMetaNonceFetchRequestResponse */ companionMetaNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null); /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */ syncdSnapshotFatalRecoveryResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null); /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */ companionCanonicalUserNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null); /** PeerDataOperationResult historySyncChunkRetryResponse */ historySyncChunkRetryResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse|null); /** PeerDataOperationResult flowResponsesCsvBundle */ flowResponsesCsvBundle?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle|null); /** PeerDataOperationResult bizBroadcastInsightsContactListResponse */ bizBroadcastInsightsContactListResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse|null); /** PeerDataOperationResult contactRefreshResponse */ contactRefreshResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse|null); } /** Represents a PeerDataOperationResult. */ class PeerDataOperationResult implements IPeerDataOperationResult { /** * Constructs a new PeerDataOperationResult. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult); /** PeerDataOperationResult mediaUploadResult. */ public mediaUploadResult?: (waproto.MediaRetryNotification.ResultType|null); /** PeerDataOperationResult stickerMessage. */ public stickerMessage?: (waproto.Message.IStickerMessage|null); /** PeerDataOperationResult linkPreviewResponse. */ public linkPreviewResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse|null); /** PeerDataOperationResult placeholderMessageResendResponse. */ public placeholderMessageResendResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse|null); /** PeerDataOperationResult waffleNonceFetchRequestResponse. */ public waffleNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse|null); /** PeerDataOperationResult fullHistorySyncOnDemandRequestResponse. */ public fullHistorySyncOnDemandRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse|null); /** PeerDataOperationResult companionMetaNonceFetchRequestResponse. */ public companionMetaNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null); /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */ public syncdSnapshotFatalRecoveryResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null); /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */ public companionCanonicalUserNonceFetchRequestResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null); /** PeerDataOperationResult historySyncChunkRetryResponse. */ public historySyncChunkRetryResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse|null); /** PeerDataOperationResult flowResponsesCsvBundle. */ public flowResponsesCsvBundle?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle|null); /** PeerDataOperationResult bizBroadcastInsightsContactListResponse. */ public bizBroadcastInsightsContactListResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse|null); /** PeerDataOperationResult contactRefreshResponse. */ public contactRefreshResponse?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse|null); /** * Creates a new PeerDataOperationResult instance using the specified properties. * @param [properties] Properties to set * @returns PeerDataOperationResult instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult; /** * Encodes the specified PeerDataOperationResult message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.verify|verify} messages. * @param message PeerDataOperationResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PeerDataOperationResult message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.verify|verify} messages. * @param message PeerDataOperationResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.IPeerDataOperationResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PeerDataOperationResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PeerDataOperationResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult; /** * Decodes a PeerDataOperationResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PeerDataOperationResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult; /** * Verifies a PeerDataOperationResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PeerDataOperationResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PeerDataOperationResult */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult; /** * Creates a plain object from a PeerDataOperationResult message. Also converts values to other types if specified. * @param message PeerDataOperationResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PeerDataOperationResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PeerDataOperationResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PeerDataOperationResult { /** HistorySyncChunkRetryResponseCode enum. */ enum HistorySyncChunkRetryResponseCode { GENERATION_ERROR = 1, CHUNK_CONSUMED = 2, TIMEOUT = 3, SESSION_EXHAUSTED = 4, CHUNK_EXHAUSTED = 5, DUPLICATED_REQUEST = 6 } /** FullHistorySyncOnDemandResponseCode enum. */ enum FullHistorySyncOnDemandResponseCode { REQUEST_SUCCESS = 0, REQUEST_TIME_EXPIRED = 1, DECLINED_SHARING_HISTORY = 2, GENERIC_ERROR = 3, ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4, ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5, ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6, ERROR_MULTI_PROVIDER_NOT_CONFIGURED = 7 } /** Properties of a FlowResponsesCsvBundle. */ interface IFlowResponsesCsvBundle { /** FlowResponsesCsvBundle flowId */ flowId?: (string|null); /** FlowResponsesCsvBundle galaxyFlowDownloadRequestId */ galaxyFlowDownloadRequestId?: (string|null); /** FlowResponsesCsvBundle fileName */ fileName?: (string|null); /** FlowResponsesCsvBundle mimetype */ mimetype?: (string|null); /** FlowResponsesCsvBundle fileSha256 */ fileSha256?: (Uint8Array|null); /** FlowResponsesCsvBundle mediaKey */ mediaKey?: (Uint8Array|null); /** FlowResponsesCsvBundle fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** FlowResponsesCsvBundle directPath */ directPath?: (string|null); /** FlowResponsesCsvBundle mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** FlowResponsesCsvBundle fileLength */ fileLength?: (number|Long|null); } /** Represents a FlowResponsesCsvBundle. */ class FlowResponsesCsvBundle implements IFlowResponsesCsvBundle { /** * Constructs a new FlowResponsesCsvBundle. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle); /** FlowResponsesCsvBundle flowId. */ public flowId?: (string|null); /** FlowResponsesCsvBundle galaxyFlowDownloadRequestId. */ public galaxyFlowDownloadRequestId?: (string|null); /** FlowResponsesCsvBundle fileName. */ public fileName?: (string|null); /** FlowResponsesCsvBundle mimetype. */ public mimetype?: (string|null); /** FlowResponsesCsvBundle fileSha256. */ public fileSha256?: (Uint8Array|null); /** FlowResponsesCsvBundle mediaKey. */ public mediaKey?: (Uint8Array|null); /** FlowResponsesCsvBundle fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** FlowResponsesCsvBundle directPath. */ public directPath?: (string|null); /** FlowResponsesCsvBundle mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** FlowResponsesCsvBundle fileLength. */ public fileLength?: (number|Long|null); /** * Creates a new FlowResponsesCsvBundle instance using the specified properties. * @param [properties] Properties to set * @returns FlowResponsesCsvBundle instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle; /** * Encodes the specified FlowResponsesCsvBundle message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle.verify|verify} messages. * @param message FlowResponsesCsvBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlowResponsesCsvBundle message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle.verify|verify} messages. * @param message FlowResponsesCsvBundle message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFlowResponsesCsvBundle, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlowResponsesCsvBundle message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FlowResponsesCsvBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle; /** * Decodes a FlowResponsesCsvBundle message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FlowResponsesCsvBundle * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle; /** * Verifies a FlowResponsesCsvBundle message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlowResponsesCsvBundle message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlowResponsesCsvBundle */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle; /** * Creates a plain object from a FlowResponsesCsvBundle message. Also converts values to other types if specified. * @param message FlowResponsesCsvBundle * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FlowResponsesCsvBundle, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlowResponsesCsvBundle to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FlowResponsesCsvBundle * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContactRefreshResponse. */ interface IContactRefreshResponse { /** ContactRefreshResponse coveredRequestIds */ coveredRequestIds?: (string[]|null); /** ContactRefreshResponse collectionVersion */ collectionVersion?: (number|Long|null); /** ContactRefreshResponse primaryDurationMs */ primaryDurationMs?: (number|Long|null); /** ContactRefreshResponse uniqueContactCount */ uniqueContactCount?: (number|null); } /** Represents a ContactRefreshResponse. */ class ContactRefreshResponse implements IContactRefreshResponse { /** * Constructs a new ContactRefreshResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse); /** ContactRefreshResponse coveredRequestIds. */ public coveredRequestIds: string[]; /** ContactRefreshResponse collectionVersion. */ public collectionVersion?: (number|Long|null); /** ContactRefreshResponse primaryDurationMs. */ public primaryDurationMs?: (number|Long|null); /** ContactRefreshResponse uniqueContactCount. */ public uniqueContactCount?: (number|null); /** * Creates a new ContactRefreshResponse instance using the specified properties. * @param [properties] Properties to set * @returns ContactRefreshResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse; /** * Encodes the specified ContactRefreshResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse.verify|verify} messages. * @param message ContactRefreshResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactRefreshResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse.verify|verify} messages. * @param message ContactRefreshResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IContactRefreshResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactRefreshResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactRefreshResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse; /** * Decodes a ContactRefreshResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactRefreshResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse; /** * Verifies a ContactRefreshResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactRefreshResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactRefreshResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse; /** * Creates a plain object from a ContactRefreshResponse message. Also converts values to other types if specified. * @param message ContactRefreshResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ContactRefreshResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactRefreshResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactRefreshResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizBroadcastInsightsContactListResponse. */ interface IBizBroadcastInsightsContactListResponse { /** BizBroadcastInsightsContactListResponse campaignId */ campaignId?: (string|null); /** BizBroadcastInsightsContactListResponse timestampMs */ timestampMs?: (number|Long|null); /** BizBroadcastInsightsContactListResponse contacts */ contacts?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState[]|null); } /** Represents a BizBroadcastInsightsContactListResponse. */ class BizBroadcastInsightsContactListResponse implements IBizBroadcastInsightsContactListResponse { /** * Constructs a new BizBroadcastInsightsContactListResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse); /** BizBroadcastInsightsContactListResponse campaignId. */ public campaignId?: (string|null); /** BizBroadcastInsightsContactListResponse timestampMs. */ public timestampMs?: (number|Long|null); /** BizBroadcastInsightsContactListResponse contacts. */ public contacts: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState[]; /** * Creates a new BizBroadcastInsightsContactListResponse instance using the specified properties. * @param [properties] Properties to set * @returns BizBroadcastInsightsContactListResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse; /** * Encodes the specified BizBroadcastInsightsContactListResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse.verify|verify} messages. * @param message BizBroadcastInsightsContactListResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizBroadcastInsightsContactListResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse.verify|verify} messages. * @param message BizBroadcastInsightsContactListResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactListResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizBroadcastInsightsContactListResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizBroadcastInsightsContactListResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse; /** * Decodes a BizBroadcastInsightsContactListResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizBroadcastInsightsContactListResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse; /** * Verifies a BizBroadcastInsightsContactListResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizBroadcastInsightsContactListResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizBroadcastInsightsContactListResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse; /** * Creates a plain object from a BizBroadcastInsightsContactListResponse message. Also converts values to other types if specified. * @param message BizBroadcastInsightsContactListResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactListResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizBroadcastInsightsContactListResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizBroadcastInsightsContactListResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizBroadcastInsightsContactState. */ interface IBizBroadcastInsightsContactState { /** BizBroadcastInsightsContactState contactJid */ contactJid?: (string|null); /** BizBroadcastInsightsContactState state */ state?: (waproto.Message.InsightDeliveryState|null); } /** Represents a BizBroadcastInsightsContactState. */ class BizBroadcastInsightsContactState implements IBizBroadcastInsightsContactState { /** * Constructs a new BizBroadcastInsightsContactState. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState); /** BizBroadcastInsightsContactState contactJid. */ public contactJid?: (string|null); /** BizBroadcastInsightsContactState state. */ public state?: (waproto.Message.InsightDeliveryState|null); /** * Creates a new BizBroadcastInsightsContactState instance using the specified properties. * @param [properties] Properties to set * @returns BizBroadcastInsightsContactState instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState; /** * Encodes the specified BizBroadcastInsightsContactState message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState.verify|verify} messages. * @param message BizBroadcastInsightsContactState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizBroadcastInsightsContactState message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState.verify|verify} messages. * @param message BizBroadcastInsightsContactState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IBizBroadcastInsightsContactState, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizBroadcastInsightsContactState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizBroadcastInsightsContactState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState; /** * Decodes a BizBroadcastInsightsContactState message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizBroadcastInsightsContactState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState; /** * Verifies a BizBroadcastInsightsContactState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizBroadcastInsightsContactState message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizBroadcastInsightsContactState */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState; /** * Creates a plain object from a BizBroadcastInsightsContactState message. Also converts values to other types if specified. * @param message BizBroadcastInsightsContactState * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.BizBroadcastInsightsContactState, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizBroadcastInsightsContactState to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizBroadcastInsightsContactState * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistorySyncChunkRetryResponse. */ interface IHistorySyncChunkRetryResponse { /** HistorySyncChunkRetryResponse syncType */ syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncChunkRetryResponse chunkOrder */ chunkOrder?: (number|null); /** HistorySyncChunkRetryResponse requestId */ requestId?: (string|null); /** HistorySyncChunkRetryResponse responseCode */ responseCode?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode|null); /** HistorySyncChunkRetryResponse canRecover */ canRecover?: (boolean|null); } /** Represents a HistorySyncChunkRetryResponse. */ class HistorySyncChunkRetryResponse implements IHistorySyncChunkRetryResponse { /** * Constructs a new HistorySyncChunkRetryResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse); /** HistorySyncChunkRetryResponse syncType. */ public syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncChunkRetryResponse chunkOrder. */ public chunkOrder?: (number|null); /** HistorySyncChunkRetryResponse requestId. */ public requestId?: (string|null); /** HistorySyncChunkRetryResponse responseCode. */ public responseCode?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode|null); /** HistorySyncChunkRetryResponse canRecover. */ public canRecover?: (boolean|null); /** * Creates a new HistorySyncChunkRetryResponse instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncChunkRetryResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse; /** * Encodes the specified HistorySyncChunkRetryResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse.verify|verify} messages. * @param message HistorySyncChunkRetryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncChunkRetryResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse.verify|verify} messages. * @param message HistorySyncChunkRetryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IHistorySyncChunkRetryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncChunkRetryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncChunkRetryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse; /** * Decodes a HistorySyncChunkRetryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncChunkRetryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse; /** * Verifies a HistorySyncChunkRetryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncChunkRetryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncChunkRetryResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse; /** * Creates a plain object from a HistorySyncChunkRetryResponse message. Also converts values to other types if specified. * @param message HistorySyncChunkRetryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncChunkRetryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncChunkRetryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncDSnapshotFatalRecoveryResponse. */ interface ISyncDSnapshotFatalRecoveryResponse { /** SyncDSnapshotFatalRecoveryResponse collectionSnapshot */ collectionSnapshot?: (Uint8Array|null); /** SyncDSnapshotFatalRecoveryResponse isCompressed */ isCompressed?: (boolean|null); } /** Represents a SyncDSnapshotFatalRecoveryResponse. */ class SyncDSnapshotFatalRecoveryResponse implements ISyncDSnapshotFatalRecoveryResponse { /** * Constructs a new SyncDSnapshotFatalRecoveryResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse); /** SyncDSnapshotFatalRecoveryResponse collectionSnapshot. */ public collectionSnapshot?: (Uint8Array|null); /** SyncDSnapshotFatalRecoveryResponse isCompressed. */ public isCompressed?: (boolean|null); /** * Creates a new SyncDSnapshotFatalRecoveryResponse instance using the specified properties. * @param [properties] Properties to set * @returns SyncDSnapshotFatalRecoveryResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse; /** * Encodes the specified SyncDSnapshotFatalRecoveryResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse.verify|verify} messages. * @param message SyncDSnapshotFatalRecoveryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncDSnapshotFatalRecoveryResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse.verify|verify} messages. * @param message SyncDSnapshotFatalRecoveryResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncDSnapshotFatalRecoveryResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncDSnapshotFatalRecoveryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse; /** * Decodes a SyncDSnapshotFatalRecoveryResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncDSnapshotFatalRecoveryResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse; /** * Verifies a SyncDSnapshotFatalRecoveryResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncDSnapshotFatalRecoveryResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncDSnapshotFatalRecoveryResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse; /** * Creates a plain object from a SyncDSnapshotFatalRecoveryResponse message. Also converts values to other types if specified. * @param message SyncDSnapshotFatalRecoveryResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.SyncDSnapshotFatalRecoveryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncDSnapshotFatalRecoveryResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncDSnapshotFatalRecoveryResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompanionCanonicalUserNonceFetchResponse. */ interface ICompanionCanonicalUserNonceFetchResponse { /** CompanionCanonicalUserNonceFetchResponse nonce */ nonce?: (string|null); /** CompanionCanonicalUserNonceFetchResponse waFbid */ waFbid?: (string|null); /** CompanionCanonicalUserNonceFetchResponse forceRefresh */ forceRefresh?: (boolean|null); } /** Represents a CompanionCanonicalUserNonceFetchResponse. */ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse { /** * Constructs a new CompanionCanonicalUserNonceFetchResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse); /** CompanionCanonicalUserNonceFetchResponse nonce. */ public nonce?: (string|null); /** CompanionCanonicalUserNonceFetchResponse waFbid. */ public waFbid?: (string|null); /** CompanionCanonicalUserNonceFetchResponse forceRefresh. */ public forceRefresh?: (boolean|null); /** * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties. * @param [properties] Properties to set * @returns CompanionCanonicalUserNonceFetchResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse; /** * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages. * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages. * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompanionCanonicalUserNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse; /** * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompanionCanonicalUserNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse; /** * Verifies a CompanionCanonicalUserNonceFetchResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompanionCanonicalUserNonceFetchResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse; /** * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified. * @param message CompanionCanonicalUserNonceFetchResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompanionCanonicalUserNonceFetchResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompanionCanonicalUserNonceFetchResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompanionMetaNonceFetchResponse. */ interface ICompanionMetaNonceFetchResponse { /** CompanionMetaNonceFetchResponse nonce */ nonce?: (string|null); } /** Represents a CompanionMetaNonceFetchResponse. */ class CompanionMetaNonceFetchResponse implements ICompanionMetaNonceFetchResponse { /** * Constructs a new CompanionMetaNonceFetchResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse); /** CompanionMetaNonceFetchResponse nonce. */ public nonce?: (string|null); /** * Creates a new CompanionMetaNonceFetchResponse instance using the specified properties. * @param [properties] Properties to set * @returns CompanionMetaNonceFetchResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse; /** * Encodes the specified CompanionMetaNonceFetchResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages. * @param message CompanionMetaNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompanionMetaNonceFetchResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse.verify|verify} messages. * @param message CompanionMetaNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompanionMetaNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse; /** * Decodes a CompanionMetaNonceFetchResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompanionMetaNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse; /** * Verifies a CompanionMetaNonceFetchResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompanionMetaNonceFetchResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompanionMetaNonceFetchResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse; /** * Creates a plain object from a CompanionMetaNonceFetchResponse message. Also converts values to other types if specified. * @param message CompanionMetaNonceFetchResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionMetaNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompanionMetaNonceFetchResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompanionMetaNonceFetchResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WaffleNonceFetchResponse. */ interface IWaffleNonceFetchResponse { /** WaffleNonceFetchResponse nonce */ nonce?: (string|null); /** WaffleNonceFetchResponse waEntFbid */ waEntFbid?: (string|null); } /** Represents a WaffleNonceFetchResponse. */ class WaffleNonceFetchResponse implements IWaffleNonceFetchResponse { /** * Constructs a new WaffleNonceFetchResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse); /** WaffleNonceFetchResponse nonce. */ public nonce?: (string|null); /** WaffleNonceFetchResponse waEntFbid. */ public waEntFbid?: (string|null); /** * Creates a new WaffleNonceFetchResponse instance using the specified properties. * @param [properties] Properties to set * @returns WaffleNonceFetchResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse; /** * Encodes the specified WaffleNonceFetchResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse.verify|verify} messages. * @param message WaffleNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WaffleNonceFetchResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse.verify|verify} messages. * @param message WaffleNonceFetchResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IWaffleNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WaffleNonceFetchResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WaffleNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse; /** * Decodes a WaffleNonceFetchResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WaffleNonceFetchResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse; /** * Verifies a WaffleNonceFetchResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WaffleNonceFetchResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WaffleNonceFetchResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse; /** * Creates a plain object from a WaffleNonceFetchResponse message. Also converts values to other types if specified. * @param message WaffleNonceFetchResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WaffleNonceFetchResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WaffleNonceFetchResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FullHistorySyncOnDemandRequestResponse. */ interface IFullHistorySyncOnDemandRequestResponse { /** FullHistorySyncOnDemandRequestResponse requestMetadata */ requestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** FullHistorySyncOnDemandRequestResponse responseCode */ responseCode?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode|null); } /** Represents a FullHistorySyncOnDemandRequestResponse. */ class FullHistorySyncOnDemandRequestResponse implements IFullHistorySyncOnDemandRequestResponse { /** * Constructs a new FullHistorySyncOnDemandRequestResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse); /** FullHistorySyncOnDemandRequestResponse requestMetadata. */ public requestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** FullHistorySyncOnDemandRequestResponse responseCode. */ public responseCode?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode|null); /** * Creates a new FullHistorySyncOnDemandRequestResponse instance using the specified properties. * @param [properties] Properties to set * @returns FullHistorySyncOnDemandRequestResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse; /** * Encodes the specified FullHistorySyncOnDemandRequestResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse.verify|verify} messages. * @param message FullHistorySyncOnDemandRequestResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FullHistorySyncOnDemandRequestResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse.verify|verify} messages. * @param message FullHistorySyncOnDemandRequestResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IFullHistorySyncOnDemandRequestResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FullHistorySyncOnDemandRequestResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FullHistorySyncOnDemandRequestResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse; /** * Decodes a FullHistorySyncOnDemandRequestResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FullHistorySyncOnDemandRequestResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse; /** * Verifies a FullHistorySyncOnDemandRequestResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FullHistorySyncOnDemandRequestResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FullHistorySyncOnDemandRequestResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse; /** * Creates a plain object from a FullHistorySyncOnDemandRequestResponse message. Also converts values to other types if specified. * @param message FullHistorySyncOnDemandRequestResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandRequestResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FullHistorySyncOnDemandRequestResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FullHistorySyncOnDemandRequestResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PlaceholderMessageResendResponse. */ interface IPlaceholderMessageResendResponse { /** PlaceholderMessageResendResponse webMessageInfoBytes */ webMessageInfoBytes?: (Uint8Array|null); } /** Represents a PlaceholderMessageResendResponse. */ class PlaceholderMessageResendResponse implements IPlaceholderMessageResendResponse { /** * Constructs a new PlaceholderMessageResendResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse); /** PlaceholderMessageResendResponse webMessageInfoBytes. */ public webMessageInfoBytes?: (Uint8Array|null); /** * Creates a new PlaceholderMessageResendResponse instance using the specified properties. * @param [properties] Properties to set * @returns PlaceholderMessageResendResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse; /** * Encodes the specified PlaceholderMessageResendResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse.verify|verify} messages. * @param message PlaceholderMessageResendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PlaceholderMessageResendResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse.verify|verify} messages. * @param message PlaceholderMessageResendResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.IPlaceholderMessageResendResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlaceholderMessageResendResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PlaceholderMessageResendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse; /** * Decodes a PlaceholderMessageResendResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PlaceholderMessageResendResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse; /** * Verifies a PlaceholderMessageResendResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PlaceholderMessageResendResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlaceholderMessageResendResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse; /** * Creates a plain object from a PlaceholderMessageResendResponse message. Also converts values to other types if specified. * @param message PlaceholderMessageResendResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlaceholderMessageResendResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlaceholderMessageResendResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LinkPreviewResponse. */ interface ILinkPreviewResponse { /** LinkPreviewResponse url */ url?: (string|null); /** LinkPreviewResponse title */ title?: (string|null); /** LinkPreviewResponse description */ description?: (string|null); /** LinkPreviewResponse thumbData */ thumbData?: (Uint8Array|null); /** LinkPreviewResponse matchText */ matchText?: (string|null); /** LinkPreviewResponse previewType */ previewType?: (string|null); /** LinkPreviewResponse hqThumbnail */ hqThumbnail?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null); /** LinkPreviewResponse previewMetadata */ previewMetadata?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null); } /** Represents a LinkPreviewResponse. */ class LinkPreviewResponse implements ILinkPreviewResponse { /** * Constructs a new LinkPreviewResponse. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse); /** LinkPreviewResponse url. */ public url?: (string|null); /** LinkPreviewResponse title. */ public title?: (string|null); /** LinkPreviewResponse description. */ public description?: (string|null); /** LinkPreviewResponse thumbData. */ public thumbData?: (Uint8Array|null); /** LinkPreviewResponse matchText. */ public matchText?: (string|null); /** LinkPreviewResponse previewType. */ public previewType?: (string|null); /** LinkPreviewResponse hqThumbnail. */ public hqThumbnail?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail|null); /** LinkPreviewResponse previewMetadata. */ public previewMetadata?: (waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata|null); /** * Creates a new LinkPreviewResponse instance using the specified properties. * @param [properties] Properties to set * @returns LinkPreviewResponse instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse; /** * Encodes the specified LinkPreviewResponse message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.verify|verify} messages. * @param message LinkPreviewResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LinkPreviewResponse message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.verify|verify} messages. * @param message LinkPreviewResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ILinkPreviewResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LinkPreviewResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LinkPreviewResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse; /** * Decodes a LinkPreviewResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LinkPreviewResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse; /** * Verifies a LinkPreviewResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LinkPreviewResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LinkPreviewResponse */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse; /** * Creates a plain object from a LinkPreviewResponse message. Also converts values to other types if specified. * @param message LinkPreviewResponse * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LinkPreviewResponse to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LinkPreviewResponse * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LinkPreviewResponse { /** Properties of a PaymentLinkPreviewMetadata. */ interface IPaymentLinkPreviewMetadata { /** PaymentLinkPreviewMetadata isBusinessVerified */ isBusinessVerified?: (boolean|null); /** PaymentLinkPreviewMetadata providerName */ providerName?: (string|null); /** PaymentLinkPreviewMetadata amount */ amount?: (string|null); /** PaymentLinkPreviewMetadata offset */ offset?: (string|null); /** PaymentLinkPreviewMetadata currency */ currency?: (string|null); } /** Represents a PaymentLinkPreviewMetadata. */ class PaymentLinkPreviewMetadata implements IPaymentLinkPreviewMetadata { /** * Constructs a new PaymentLinkPreviewMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata); /** PaymentLinkPreviewMetadata isBusinessVerified. */ public isBusinessVerified?: (boolean|null); /** PaymentLinkPreviewMetadata providerName. */ public providerName?: (string|null); /** PaymentLinkPreviewMetadata amount. */ public amount?: (string|null); /** PaymentLinkPreviewMetadata offset. */ public offset?: (string|null); /** PaymentLinkPreviewMetadata currency. */ public currency?: (string|null); /** * Creates a new PaymentLinkPreviewMetadata instance using the specified properties. * @param [properties] Properties to set * @returns PaymentLinkPreviewMetadata instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata; /** * Encodes the specified PaymentLinkPreviewMetadata message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages. * @param message PaymentLinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentLinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata.verify|verify} messages. * @param message PaymentLinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.IPaymentLinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentLinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata; /** * Decodes a PaymentLinkPreviewMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentLinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata; /** * Verifies a PaymentLinkPreviewMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentLinkPreviewMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentLinkPreviewMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata; /** * Creates a plain object from a PaymentLinkPreviewMetadata message. Also converts values to other types if specified. * @param message PaymentLinkPreviewMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.PaymentLinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentLinkPreviewMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentLinkPreviewMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LinkPreviewHighQualityThumbnail. */ interface ILinkPreviewHighQualityThumbnail { /** LinkPreviewHighQualityThumbnail directPath */ directPath?: (string|null); /** LinkPreviewHighQualityThumbnail thumbHash */ thumbHash?: (string|null); /** LinkPreviewHighQualityThumbnail encThumbHash */ encThumbHash?: (string|null); /** LinkPreviewHighQualityThumbnail mediaKey */ mediaKey?: (Uint8Array|null); /** LinkPreviewHighQualityThumbnail mediaKeyTimestampMs */ mediaKeyTimestampMs?: (number|Long|null); /** LinkPreviewHighQualityThumbnail thumbWidth */ thumbWidth?: (number|null); /** LinkPreviewHighQualityThumbnail thumbHeight */ thumbHeight?: (number|null); } /** Represents a LinkPreviewHighQualityThumbnail. */ class LinkPreviewHighQualityThumbnail implements ILinkPreviewHighQualityThumbnail { /** * Constructs a new LinkPreviewHighQualityThumbnail. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail); /** LinkPreviewHighQualityThumbnail directPath. */ public directPath?: (string|null); /** LinkPreviewHighQualityThumbnail thumbHash. */ public thumbHash?: (string|null); /** LinkPreviewHighQualityThumbnail encThumbHash. */ public encThumbHash?: (string|null); /** LinkPreviewHighQualityThumbnail mediaKey. */ public mediaKey?: (Uint8Array|null); /** LinkPreviewHighQualityThumbnail mediaKeyTimestampMs. */ public mediaKeyTimestampMs?: (number|Long|null); /** LinkPreviewHighQualityThumbnail thumbWidth. */ public thumbWidth?: (number|null); /** LinkPreviewHighQualityThumbnail thumbHeight. */ public thumbHeight?: (number|null); /** * Creates a new LinkPreviewHighQualityThumbnail instance using the specified properties. * @param [properties] Properties to set * @returns LinkPreviewHighQualityThumbnail instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail; /** * Encodes the specified LinkPreviewHighQualityThumbnail message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.verify|verify} messages. * @param message LinkPreviewHighQualityThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LinkPreviewHighQualityThumbnail message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail.verify|verify} messages. * @param message LinkPreviewHighQualityThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.ILinkPreviewHighQualityThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LinkPreviewHighQualityThumbnail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LinkPreviewHighQualityThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail; /** * Decodes a LinkPreviewHighQualityThumbnail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LinkPreviewHighQualityThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail; /** * Verifies a LinkPreviewHighQualityThumbnail message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LinkPreviewHighQualityThumbnail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LinkPreviewHighQualityThumbnail */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail; /** * Creates a plain object from a LinkPreviewHighQualityThumbnail message. Also converts values to other types if specified. * @param message LinkPreviewHighQualityThumbnail * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LinkPreviewHighQualityThumbnail to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LinkPreviewHighQualityThumbnail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } } /** Properties of a PeerDataOperationRequestMessage. */ interface IPeerDataOperationRequestMessage { /** PeerDataOperationRequestMessage peerDataOperationRequestType */ peerDataOperationRequestType?: (waproto.Message.PeerDataOperationRequestType|null); /** PeerDataOperationRequestMessage requestStickerReupload */ requestStickerReupload?: (waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload[]|null); /** PeerDataOperationRequestMessage requestUrlPreview */ requestUrlPreview?: (waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview[]|null); /** PeerDataOperationRequestMessage historySyncOnDemandRequest */ historySyncOnDemandRequest?: (waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest|null); /** PeerDataOperationRequestMessage placeholderMessageResendRequest */ placeholderMessageResendRequest?: (waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest[]|null); /** PeerDataOperationRequestMessage fullHistorySyncOnDemandRequest */ fullHistorySyncOnDemandRequest?: (waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest|null); /** PeerDataOperationRequestMessage syncdCollectionFatalRecoveryRequest */ syncdCollectionFatalRecoveryRequest?: (waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest|null); /** PeerDataOperationRequestMessage historySyncChunkRetryRequest */ historySyncChunkRetryRequest?: (waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest|null); /** PeerDataOperationRequestMessage galaxyFlowAction */ galaxyFlowAction?: (waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction|null); /** PeerDataOperationRequestMessage companionCanonicalUserNonceFetchRequest */ companionCanonicalUserNonceFetchRequest?: (waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest|null); /** PeerDataOperationRequestMessage bizBroadcastInsightsContactListRequest */ bizBroadcastInsightsContactListRequest?: (waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest|null); /** PeerDataOperationRequestMessage bizBroadcastInsightsRefreshRequest */ bizBroadcastInsightsRefreshRequest?: (waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest|null); } /** Represents a PeerDataOperationRequestMessage. */ class PeerDataOperationRequestMessage implements IPeerDataOperationRequestMessage { /** * Constructs a new PeerDataOperationRequestMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPeerDataOperationRequestMessage); /** PeerDataOperationRequestMessage peerDataOperationRequestType. */ public peerDataOperationRequestType?: (waproto.Message.PeerDataOperationRequestType|null); /** PeerDataOperationRequestMessage requestStickerReupload. */ public requestStickerReupload: waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload[]; /** PeerDataOperationRequestMessage requestUrlPreview. */ public requestUrlPreview: waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview[]; /** PeerDataOperationRequestMessage historySyncOnDemandRequest. */ public historySyncOnDemandRequest?: (waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest|null); /** PeerDataOperationRequestMessage placeholderMessageResendRequest. */ public placeholderMessageResendRequest: waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest[]; /** PeerDataOperationRequestMessage fullHistorySyncOnDemandRequest. */ public fullHistorySyncOnDemandRequest?: (waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest|null); /** PeerDataOperationRequestMessage syncdCollectionFatalRecoveryRequest. */ public syncdCollectionFatalRecoveryRequest?: (waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest|null); /** PeerDataOperationRequestMessage historySyncChunkRetryRequest. */ public historySyncChunkRetryRequest?: (waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest|null); /** PeerDataOperationRequestMessage galaxyFlowAction. */ public galaxyFlowAction?: (waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction|null); /** PeerDataOperationRequestMessage companionCanonicalUserNonceFetchRequest. */ public companionCanonicalUserNonceFetchRequest?: (waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest|null); /** PeerDataOperationRequestMessage bizBroadcastInsightsContactListRequest. */ public bizBroadcastInsightsContactListRequest?: (waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest|null); /** PeerDataOperationRequestMessage bizBroadcastInsightsRefreshRequest. */ public bizBroadcastInsightsRefreshRequest?: (waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest|null); /** * Creates a new PeerDataOperationRequestMessage instance using the specified properties. * @param [properties] Properties to set * @returns PeerDataOperationRequestMessage instance */ public static create(properties?: waproto.Message.IPeerDataOperationRequestMessage): waproto.Message.PeerDataOperationRequestMessage; /** * Encodes the specified PeerDataOperationRequestMessage message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.verify|verify} messages. * @param message PeerDataOperationRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPeerDataOperationRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PeerDataOperationRequestMessage message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.verify|verify} messages. * @param message PeerDataOperationRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPeerDataOperationRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PeerDataOperationRequestMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PeerDataOperationRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage; /** * Decodes a PeerDataOperationRequestMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PeerDataOperationRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage; /** * Verifies a PeerDataOperationRequestMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PeerDataOperationRequestMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PeerDataOperationRequestMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage; /** * Creates a plain object from a PeerDataOperationRequestMessage message. Also converts values to other types if specified. * @param message PeerDataOperationRequestMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PeerDataOperationRequestMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PeerDataOperationRequestMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PeerDataOperationRequestMessage { /** Properties of a BizBroadcastInsightsRefreshRequest. */ interface IBizBroadcastInsightsRefreshRequest { /** BizBroadcastInsightsRefreshRequest campaignId */ campaignId?: (string|null); } /** Represents a BizBroadcastInsightsRefreshRequest. */ class BizBroadcastInsightsRefreshRequest implements IBizBroadcastInsightsRefreshRequest { /** * Constructs a new BizBroadcastInsightsRefreshRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest); /** BizBroadcastInsightsRefreshRequest campaignId. */ public campaignId?: (string|null); /** * Creates a new BizBroadcastInsightsRefreshRequest instance using the specified properties. * @param [properties] Properties to set * @returns BizBroadcastInsightsRefreshRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest; /** * Encodes the specified BizBroadcastInsightsRefreshRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest.verify|verify} messages. * @param message BizBroadcastInsightsRefreshRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizBroadcastInsightsRefreshRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest.verify|verify} messages. * @param message BizBroadcastInsightsRefreshRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsRefreshRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizBroadcastInsightsRefreshRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizBroadcastInsightsRefreshRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest; /** * Decodes a BizBroadcastInsightsRefreshRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizBroadcastInsightsRefreshRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest; /** * Verifies a BizBroadcastInsightsRefreshRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizBroadcastInsightsRefreshRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizBroadcastInsightsRefreshRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest; /** * Creates a plain object from a BizBroadcastInsightsRefreshRequest message. Also converts values to other types if specified. * @param message BizBroadcastInsightsRefreshRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsRefreshRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizBroadcastInsightsRefreshRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizBroadcastInsightsRefreshRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizBroadcastInsightsContactListRequest. */ interface IBizBroadcastInsightsContactListRequest { /** BizBroadcastInsightsContactListRequest campaignId */ campaignId?: (string|null); } /** Represents a BizBroadcastInsightsContactListRequest. */ class BizBroadcastInsightsContactListRequest implements IBizBroadcastInsightsContactListRequest { /** * Constructs a new BizBroadcastInsightsContactListRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest); /** BizBroadcastInsightsContactListRequest campaignId. */ public campaignId?: (string|null); /** * Creates a new BizBroadcastInsightsContactListRequest instance using the specified properties. * @param [properties] Properties to set * @returns BizBroadcastInsightsContactListRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest; /** * Encodes the specified BizBroadcastInsightsContactListRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest.verify|verify} messages. * @param message BizBroadcastInsightsContactListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizBroadcastInsightsContactListRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest.verify|verify} messages. * @param message BizBroadcastInsightsContactListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IBizBroadcastInsightsContactListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizBroadcastInsightsContactListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizBroadcastInsightsContactListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest; /** * Decodes a BizBroadcastInsightsContactListRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizBroadcastInsightsContactListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest; /** * Verifies a BizBroadcastInsightsContactListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizBroadcastInsightsContactListRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizBroadcastInsightsContactListRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest; /** * Creates a plain object from a BizBroadcastInsightsContactListRequest message. Also converts values to other types if specified. * @param message BizBroadcastInsightsContactListRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.BizBroadcastInsightsContactListRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizBroadcastInsightsContactListRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizBroadcastInsightsContactListRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CompanionCanonicalUserNonceFetchRequest. */ interface ICompanionCanonicalUserNonceFetchRequest { /** CompanionCanonicalUserNonceFetchRequest registrationTraceId */ registrationTraceId?: (string|null); } /** Represents a CompanionCanonicalUserNonceFetchRequest. */ class CompanionCanonicalUserNonceFetchRequest implements ICompanionCanonicalUserNonceFetchRequest { /** * Constructs a new CompanionCanonicalUserNonceFetchRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest); /** CompanionCanonicalUserNonceFetchRequest registrationTraceId. */ public registrationTraceId?: (string|null); /** * Creates a new CompanionCanonicalUserNonceFetchRequest instance using the specified properties. * @param [properties] Properties to set * @returns CompanionCanonicalUserNonceFetchRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest): waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest; /** * Encodes the specified CompanionCanonicalUserNonceFetchRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest.verify|verify} messages. * @param message CompanionCanonicalUserNonceFetchRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CompanionCanonicalUserNonceFetchRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest.verify|verify} messages. * @param message CompanionCanonicalUserNonceFetchRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.ICompanionCanonicalUserNonceFetchRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CompanionCanonicalUserNonceFetchRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CompanionCanonicalUserNonceFetchRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest; /** * Decodes a CompanionCanonicalUserNonceFetchRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CompanionCanonicalUserNonceFetchRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest; /** * Verifies a CompanionCanonicalUserNonceFetchRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CompanionCanonicalUserNonceFetchRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CompanionCanonicalUserNonceFetchRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest; /** * Creates a plain object from a CompanionCanonicalUserNonceFetchRequest message. Also converts values to other types if specified. * @param message CompanionCanonicalUserNonceFetchRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.CompanionCanonicalUserNonceFetchRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CompanionCanonicalUserNonceFetchRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CompanionCanonicalUserNonceFetchRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GalaxyFlowAction. */ interface IGalaxyFlowAction { /** GalaxyFlowAction type */ type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null); /** GalaxyFlowAction flowId */ flowId?: (string|null); /** GalaxyFlowAction stanzaId */ stanzaId?: (string|null); /** GalaxyFlowAction galaxyFlowDownloadRequestId */ galaxyFlowDownloadRequestId?: (string|null); /** GalaxyFlowAction agmId */ agmId?: (string|null); } /** Represents a GalaxyFlowAction. */ class GalaxyFlowAction implements IGalaxyFlowAction { /** * Constructs a new GalaxyFlowAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction); /** GalaxyFlowAction type. */ public type?: (waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType|null); /** GalaxyFlowAction flowId. */ public flowId?: (string|null); /** GalaxyFlowAction stanzaId. */ public stanzaId?: (string|null); /** GalaxyFlowAction galaxyFlowDownloadRequestId. */ public galaxyFlowDownloadRequestId?: (string|null); /** GalaxyFlowAction agmId. */ public agmId?: (string|null); /** * Creates a new GalaxyFlowAction instance using the specified properties. * @param [properties] Properties to set * @returns GalaxyFlowAction instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction): waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction; /** * Encodes the specified GalaxyFlowAction message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.verify|verify} messages. * @param message GalaxyFlowAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GalaxyFlowAction message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.verify|verify} messages. * @param message GalaxyFlowAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GalaxyFlowAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GalaxyFlowAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction; /** * Decodes a GalaxyFlowAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GalaxyFlowAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction; /** * Verifies a GalaxyFlowAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GalaxyFlowAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GalaxyFlowAction */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction; /** * Creates a plain object from a GalaxyFlowAction message. Also converts values to other types if specified. * @param message GalaxyFlowAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.GalaxyFlowAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GalaxyFlowAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GalaxyFlowAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GalaxyFlowAction { /** GalaxyFlowActionType enum. */ enum GalaxyFlowActionType { NOTIFY_LAUNCH = 1, DOWNLOAD_RESPONSES = 2 } } /** Properties of a HistorySyncChunkRetryRequest. */ interface IHistorySyncChunkRetryRequest { /** HistorySyncChunkRetryRequest syncType */ syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncChunkRetryRequest chunkOrder */ chunkOrder?: (number|null); /** HistorySyncChunkRetryRequest chunkNotificationId */ chunkNotificationId?: (string|null); /** HistorySyncChunkRetryRequest regenerateChunk */ regenerateChunk?: (boolean|null); } /** Represents a HistorySyncChunkRetryRequest. */ class HistorySyncChunkRetryRequest implements IHistorySyncChunkRetryRequest { /** * Constructs a new HistorySyncChunkRetryRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest); /** HistorySyncChunkRetryRequest syncType. */ public syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncChunkRetryRequest chunkOrder. */ public chunkOrder?: (number|null); /** HistorySyncChunkRetryRequest chunkNotificationId. */ public chunkNotificationId?: (string|null); /** HistorySyncChunkRetryRequest regenerateChunk. */ public regenerateChunk?: (boolean|null); /** * Creates a new HistorySyncChunkRetryRequest instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncChunkRetryRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest): waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest; /** * Encodes the specified HistorySyncChunkRetryRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest.verify|verify} messages. * @param message HistorySyncChunkRetryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncChunkRetryRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest.verify|verify} messages. * @param message HistorySyncChunkRetryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncChunkRetryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncChunkRetryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest; /** * Decodes a HistorySyncChunkRetryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncChunkRetryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest; /** * Verifies a HistorySyncChunkRetryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncChunkRetryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncChunkRetryRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest; /** * Creates a plain object from a HistorySyncChunkRetryRequest message. Also converts values to other types if specified. * @param message HistorySyncChunkRetryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.HistorySyncChunkRetryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncChunkRetryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncChunkRetryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncDCollectionFatalRecoveryRequest. */ interface ISyncDCollectionFatalRecoveryRequest { /** SyncDCollectionFatalRecoveryRequest collectionName */ collectionName?: (string|null); /** SyncDCollectionFatalRecoveryRequest timestamp */ timestamp?: (number|Long|null); } /** Represents a SyncDCollectionFatalRecoveryRequest. */ class SyncDCollectionFatalRecoveryRequest implements ISyncDCollectionFatalRecoveryRequest { /** * Constructs a new SyncDCollectionFatalRecoveryRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest); /** SyncDCollectionFatalRecoveryRequest collectionName. */ public collectionName?: (string|null); /** SyncDCollectionFatalRecoveryRequest timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new SyncDCollectionFatalRecoveryRequest instance using the specified properties. * @param [properties] Properties to set * @returns SyncDCollectionFatalRecoveryRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest): waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest; /** * Encodes the specified SyncDCollectionFatalRecoveryRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest.verify|verify} messages. * @param message SyncDCollectionFatalRecoveryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncDCollectionFatalRecoveryRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest.verify|verify} messages. * @param message SyncDCollectionFatalRecoveryRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.ISyncDCollectionFatalRecoveryRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncDCollectionFatalRecoveryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncDCollectionFatalRecoveryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest; /** * Decodes a SyncDCollectionFatalRecoveryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncDCollectionFatalRecoveryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest; /** * Verifies a SyncDCollectionFatalRecoveryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncDCollectionFatalRecoveryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncDCollectionFatalRecoveryRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest; /** * Creates a plain object from a SyncDCollectionFatalRecoveryRequest message. Also converts values to other types if specified. * @param message SyncDCollectionFatalRecoveryRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.SyncDCollectionFatalRecoveryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncDCollectionFatalRecoveryRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncDCollectionFatalRecoveryRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PlaceholderMessageResendRequest. */ interface IPlaceholderMessageResendRequest { /** PlaceholderMessageResendRequest messageKey */ messageKey?: (waproto.IMessageKey|null); } /** Represents a PlaceholderMessageResendRequest. */ class PlaceholderMessageResendRequest implements IPlaceholderMessageResendRequest { /** * Constructs a new PlaceholderMessageResendRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest); /** PlaceholderMessageResendRequest messageKey. */ public messageKey?: (waproto.IMessageKey|null); /** * Creates a new PlaceholderMessageResendRequest instance using the specified properties. * @param [properties] Properties to set * @returns PlaceholderMessageResendRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest): waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest; /** * Encodes the specified PlaceholderMessageResendRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.verify|verify} messages. * @param message PlaceholderMessageResendRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PlaceholderMessageResendRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.verify|verify} messages. * @param message PlaceholderMessageResendRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IPlaceholderMessageResendRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlaceholderMessageResendRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PlaceholderMessageResendRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest; /** * Decodes a PlaceholderMessageResendRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PlaceholderMessageResendRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest; /** * Verifies a PlaceholderMessageResendRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PlaceholderMessageResendRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlaceholderMessageResendRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest; /** * Creates a plain object from a PlaceholderMessageResendRequest message. Also converts values to other types if specified. * @param message PlaceholderMessageResendRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlaceholderMessageResendRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlaceholderMessageResendRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FullHistorySyncOnDemandRequest. */ interface IFullHistorySyncOnDemandRequest { /** FullHistorySyncOnDemandRequest requestMetadata */ requestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** FullHistorySyncOnDemandRequest historySyncConfig */ historySyncConfig?: (waproto.DeviceProps.IHistorySyncConfig|null); /** FullHistorySyncOnDemandRequest fullHistorySyncOnDemandConfig */ fullHistorySyncOnDemandConfig?: (waproto.Message.IFullHistorySyncOnDemandConfig|null); } /** Represents a FullHistorySyncOnDemandRequest. */ class FullHistorySyncOnDemandRequest implements IFullHistorySyncOnDemandRequest { /** * Constructs a new FullHistorySyncOnDemandRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest); /** FullHistorySyncOnDemandRequest requestMetadata. */ public requestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** FullHistorySyncOnDemandRequest historySyncConfig. */ public historySyncConfig?: (waproto.DeviceProps.IHistorySyncConfig|null); /** FullHistorySyncOnDemandRequest fullHistorySyncOnDemandConfig. */ public fullHistorySyncOnDemandConfig?: (waproto.Message.IFullHistorySyncOnDemandConfig|null); /** * Creates a new FullHistorySyncOnDemandRequest instance using the specified properties. * @param [properties] Properties to set * @returns FullHistorySyncOnDemandRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest): waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest; /** * Encodes the specified FullHistorySyncOnDemandRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest.verify|verify} messages. * @param message FullHistorySyncOnDemandRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FullHistorySyncOnDemandRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest.verify|verify} messages. * @param message FullHistorySyncOnDemandRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IFullHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FullHistorySyncOnDemandRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FullHistorySyncOnDemandRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest; /** * Decodes a FullHistorySyncOnDemandRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FullHistorySyncOnDemandRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest; /** * Verifies a FullHistorySyncOnDemandRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FullHistorySyncOnDemandRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FullHistorySyncOnDemandRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest; /** * Creates a plain object from a FullHistorySyncOnDemandRequest message. Also converts values to other types if specified. * @param message FullHistorySyncOnDemandRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.FullHistorySyncOnDemandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FullHistorySyncOnDemandRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FullHistorySyncOnDemandRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistorySyncOnDemandRequest. */ interface IHistorySyncOnDemandRequest { /** HistorySyncOnDemandRequest chatJid */ chatJid?: (string|null); /** HistorySyncOnDemandRequest oldestMsgId */ oldestMsgId?: (string|null); /** HistorySyncOnDemandRequest oldestMsgFromMe */ oldestMsgFromMe?: (boolean|null); /** HistorySyncOnDemandRequest onDemandMsgCount */ onDemandMsgCount?: (number|null); /** HistorySyncOnDemandRequest oldestMsgTimestampMs */ oldestMsgTimestampMs?: (number|Long|null); /** HistorySyncOnDemandRequest accountLid */ accountLid?: (string|null); /** HistorySyncOnDemandRequest supportInlineResponse */ supportInlineResponse?: (boolean|null); } /** Represents a HistorySyncOnDemandRequest. */ class HistorySyncOnDemandRequest implements IHistorySyncOnDemandRequest { /** * Constructs a new HistorySyncOnDemandRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest); /** HistorySyncOnDemandRequest chatJid. */ public chatJid?: (string|null); /** HistorySyncOnDemandRequest oldestMsgId. */ public oldestMsgId?: (string|null); /** HistorySyncOnDemandRequest oldestMsgFromMe. */ public oldestMsgFromMe?: (boolean|null); /** HistorySyncOnDemandRequest onDemandMsgCount. */ public onDemandMsgCount?: (number|null); /** HistorySyncOnDemandRequest oldestMsgTimestampMs. */ public oldestMsgTimestampMs?: (number|Long|null); /** HistorySyncOnDemandRequest accountLid. */ public accountLid?: (string|null); /** HistorySyncOnDemandRequest supportInlineResponse. */ public supportInlineResponse?: (boolean|null); /** * Creates a new HistorySyncOnDemandRequest instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncOnDemandRequest instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest): waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest; /** * Encodes the specified HistorySyncOnDemandRequest message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.verify|verify} messages. * @param message HistorySyncOnDemandRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncOnDemandRequest message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest.verify|verify} messages. * @param message HistorySyncOnDemandRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncOnDemandRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncOnDemandRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest; /** * Decodes a HistorySyncOnDemandRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncOnDemandRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest; /** * Verifies a HistorySyncOnDemandRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncOnDemandRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncOnDemandRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest; /** * Creates a plain object from a HistorySyncOnDemandRequest message. Also converts values to other types if specified. * @param message HistorySyncOnDemandRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncOnDemandRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncOnDemandRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RequestUrlPreview. */ interface IRequestUrlPreview { /** RequestUrlPreview url */ url?: (string|null); /** RequestUrlPreview includeHqThumbnail */ includeHqThumbnail?: (boolean|null); } /** Represents a RequestUrlPreview. */ class RequestUrlPreview implements IRequestUrlPreview { /** * Constructs a new RequestUrlPreview. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview); /** RequestUrlPreview url. */ public url?: (string|null); /** RequestUrlPreview includeHqThumbnail. */ public includeHqThumbnail?: (boolean|null); /** * Creates a new RequestUrlPreview instance using the specified properties. * @param [properties] Properties to set * @returns RequestUrlPreview instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview): waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview; /** * Encodes the specified RequestUrlPreview message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview.verify|verify} messages. * @param message RequestUrlPreview message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestUrlPreview message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview.verify|verify} messages. * @param message RequestUrlPreview message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IRequestUrlPreview, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestUrlPreview message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestUrlPreview * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview; /** * Decodes a RequestUrlPreview message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestUrlPreview * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview; /** * Verifies a RequestUrlPreview message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestUrlPreview message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestUrlPreview */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview; /** * Creates a plain object from a RequestUrlPreview message. Also converts values to other types if specified. * @param message RequestUrlPreview * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.RequestUrlPreview, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestUrlPreview to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RequestUrlPreview * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RequestStickerReupload. */ interface IRequestStickerReupload { /** RequestStickerReupload fileSha256 */ fileSha256?: (string|null); } /** Represents a RequestStickerReupload. */ class RequestStickerReupload implements IRequestStickerReupload { /** * Constructs a new RequestStickerReupload. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload); /** RequestStickerReupload fileSha256. */ public fileSha256?: (string|null); /** * Creates a new RequestStickerReupload instance using the specified properties. * @param [properties] Properties to set * @returns RequestStickerReupload instance */ public static create(properties?: waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload): waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload; /** * Encodes the specified RequestStickerReupload message. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload.verify|verify} messages. * @param message RequestStickerReupload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestStickerReupload message, length delimited. Does not implicitly {@link waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload.verify|verify} messages. * @param message RequestStickerReupload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PeerDataOperationRequestMessage.IRequestStickerReupload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestStickerReupload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestStickerReupload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload; /** * Decodes a RequestStickerReupload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestStickerReupload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload; /** * Verifies a RequestStickerReupload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestStickerReupload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestStickerReupload */ public static fromObject(object: { [k: string]: any }): waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload; /** * Creates a plain object from a RequestStickerReupload message. Also converts values to other types if specified. * @param message RequestStickerReupload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PeerDataOperationRequestMessage.RequestStickerReupload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestStickerReupload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RequestStickerReupload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a FullHistorySyncOnDemandConfig. */ interface IFullHistorySyncOnDemandConfig { /** FullHistorySyncOnDemandConfig historyFromTimestamp */ historyFromTimestamp?: (number|Long|null); /** FullHistorySyncOnDemandConfig historyDurationDays */ historyDurationDays?: (number|null); } /** Represents a FullHistorySyncOnDemandConfig. */ class FullHistorySyncOnDemandConfig implements IFullHistorySyncOnDemandConfig { /** * Constructs a new FullHistorySyncOnDemandConfig. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IFullHistorySyncOnDemandConfig); /** FullHistorySyncOnDemandConfig historyFromTimestamp. */ public historyFromTimestamp?: (number|Long|null); /** FullHistorySyncOnDemandConfig historyDurationDays. */ public historyDurationDays?: (number|null); /** * Creates a new FullHistorySyncOnDemandConfig instance using the specified properties. * @param [properties] Properties to set * @returns FullHistorySyncOnDemandConfig instance */ public static create(properties?: waproto.Message.IFullHistorySyncOnDemandConfig): waproto.Message.FullHistorySyncOnDemandConfig; /** * Encodes the specified FullHistorySyncOnDemandConfig message. Does not implicitly {@link waproto.Message.FullHistorySyncOnDemandConfig.verify|verify} messages. * @param message FullHistorySyncOnDemandConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IFullHistorySyncOnDemandConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FullHistorySyncOnDemandConfig message, length delimited. Does not implicitly {@link waproto.Message.FullHistorySyncOnDemandConfig.verify|verify} messages. * @param message FullHistorySyncOnDemandConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IFullHistorySyncOnDemandConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FullHistorySyncOnDemandConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FullHistorySyncOnDemandConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.FullHistorySyncOnDemandConfig; /** * Decodes a FullHistorySyncOnDemandConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FullHistorySyncOnDemandConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.FullHistorySyncOnDemandConfig; /** * Verifies a FullHistorySyncOnDemandConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FullHistorySyncOnDemandConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FullHistorySyncOnDemandConfig */ public static fromObject(object: { [k: string]: any }): waproto.Message.FullHistorySyncOnDemandConfig; /** * Creates a plain object from a FullHistorySyncOnDemandConfig message. Also converts values to other types if specified. * @param message FullHistorySyncOnDemandConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.FullHistorySyncOnDemandConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FullHistorySyncOnDemandConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FullHistorySyncOnDemandConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FullHistorySyncOnDemandRequestMetadata. */ interface IFullHistorySyncOnDemandRequestMetadata { /** FullHistorySyncOnDemandRequestMetadata requestId */ requestId?: (string|null); /** FullHistorySyncOnDemandRequestMetadata businessProduct */ businessProduct?: (string|null); /** FullHistorySyncOnDemandRequestMetadata opaqueClientData */ opaqueClientData?: (Uint8Array|null); } /** Represents a FullHistorySyncOnDemandRequestMetadata. */ class FullHistorySyncOnDemandRequestMetadata implements IFullHistorySyncOnDemandRequestMetadata { /** * Constructs a new FullHistorySyncOnDemandRequestMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IFullHistorySyncOnDemandRequestMetadata); /** FullHistorySyncOnDemandRequestMetadata requestId. */ public requestId?: (string|null); /** FullHistorySyncOnDemandRequestMetadata businessProduct. */ public businessProduct?: (string|null); /** FullHistorySyncOnDemandRequestMetadata opaqueClientData. */ public opaqueClientData?: (Uint8Array|null); /** * Creates a new FullHistorySyncOnDemandRequestMetadata instance using the specified properties. * @param [properties] Properties to set * @returns FullHistorySyncOnDemandRequestMetadata instance */ public static create(properties?: waproto.Message.IFullHistorySyncOnDemandRequestMetadata): waproto.Message.FullHistorySyncOnDemandRequestMetadata; /** * Encodes the specified FullHistorySyncOnDemandRequestMetadata message. Does not implicitly {@link waproto.Message.FullHistorySyncOnDemandRequestMetadata.verify|verify} messages. * @param message FullHistorySyncOnDemandRequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IFullHistorySyncOnDemandRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FullHistorySyncOnDemandRequestMetadata message, length delimited. Does not implicitly {@link waproto.Message.FullHistorySyncOnDemandRequestMetadata.verify|verify} messages. * @param message FullHistorySyncOnDemandRequestMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IFullHistorySyncOnDemandRequestMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FullHistorySyncOnDemandRequestMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FullHistorySyncOnDemandRequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.FullHistorySyncOnDemandRequestMetadata; /** * Decodes a FullHistorySyncOnDemandRequestMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FullHistorySyncOnDemandRequestMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.FullHistorySyncOnDemandRequestMetadata; /** * Verifies a FullHistorySyncOnDemandRequestMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FullHistorySyncOnDemandRequestMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FullHistorySyncOnDemandRequestMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.FullHistorySyncOnDemandRequestMetadata; /** * Creates a plain object from a FullHistorySyncOnDemandRequestMetadata message. Also converts values to other types if specified. * @param message FullHistorySyncOnDemandRequestMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.FullHistorySyncOnDemandRequestMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FullHistorySyncOnDemandRequestMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FullHistorySyncOnDemandRequestMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateFatalExceptionNotification. */ interface IAppStateFatalExceptionNotification { /** AppStateFatalExceptionNotification collectionNames */ collectionNames?: (string[]|null); /** AppStateFatalExceptionNotification timestamp */ timestamp?: (number|Long|null); } /** Represents an AppStateFatalExceptionNotification. */ class AppStateFatalExceptionNotification implements IAppStateFatalExceptionNotification { /** * Constructs a new AppStateFatalExceptionNotification. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateFatalExceptionNotification); /** AppStateFatalExceptionNotification collectionNames. */ public collectionNames: string[]; /** AppStateFatalExceptionNotification timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new AppStateFatalExceptionNotification instance using the specified properties. * @param [properties] Properties to set * @returns AppStateFatalExceptionNotification instance */ public static create(properties?: waproto.Message.IAppStateFatalExceptionNotification): waproto.Message.AppStateFatalExceptionNotification; /** * Encodes the specified AppStateFatalExceptionNotification message. Does not implicitly {@link waproto.Message.AppStateFatalExceptionNotification.verify|verify} messages. * @param message AppStateFatalExceptionNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateFatalExceptionNotification message, length delimited. Does not implicitly {@link waproto.Message.AppStateFatalExceptionNotification.verify|verify} messages. * @param message AppStateFatalExceptionNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateFatalExceptionNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateFatalExceptionNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateFatalExceptionNotification; /** * Decodes an AppStateFatalExceptionNotification message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateFatalExceptionNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateFatalExceptionNotification; /** * Verifies an AppStateFatalExceptionNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateFatalExceptionNotification message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateFatalExceptionNotification */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateFatalExceptionNotification; /** * Creates a plain object from an AppStateFatalExceptionNotification message. Also converts values to other types if specified. * @param message AppStateFatalExceptionNotification * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateFatalExceptionNotification, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateFatalExceptionNotification to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateFatalExceptionNotification * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SharedDeviceContactHashKeyRequest. */ interface ISharedDeviceContactHashKeyRequest { /** SharedDeviceContactHashKeyRequest knownEpoch */ knownEpoch?: (number|null); } /** Represents a SharedDeviceContactHashKeyRequest. */ class SharedDeviceContactHashKeyRequest implements ISharedDeviceContactHashKeyRequest { /** * Constructs a new SharedDeviceContactHashKeyRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISharedDeviceContactHashKeyRequest); /** SharedDeviceContactHashKeyRequest knownEpoch. */ public knownEpoch?: (number|null); /** * Creates a new SharedDeviceContactHashKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns SharedDeviceContactHashKeyRequest instance */ public static create(properties?: waproto.Message.ISharedDeviceContactHashKeyRequest): waproto.Message.SharedDeviceContactHashKeyRequest; /** * Encodes the specified SharedDeviceContactHashKeyRequest message. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKeyRequest.verify|verify} messages. * @param message SharedDeviceContactHashKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISharedDeviceContactHashKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SharedDeviceContactHashKeyRequest message, length delimited. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKeyRequest.verify|verify} messages. * @param message SharedDeviceContactHashKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISharedDeviceContactHashKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SharedDeviceContactHashKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SharedDeviceContactHashKeyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SharedDeviceContactHashKeyRequest; /** * Decodes a SharedDeviceContactHashKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SharedDeviceContactHashKeyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SharedDeviceContactHashKeyRequest; /** * Verifies a SharedDeviceContactHashKeyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SharedDeviceContactHashKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SharedDeviceContactHashKeyRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.SharedDeviceContactHashKeyRequest; /** * Creates a plain object from a SharedDeviceContactHashKeyRequest message. Also converts values to other types if specified. * @param message SharedDeviceContactHashKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SharedDeviceContactHashKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SharedDeviceContactHashKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SharedDeviceContactHashKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SharedDeviceContactHashKeyShare. */ interface ISharedDeviceContactHashKeyShare { /** SharedDeviceContactHashKeyShare keys */ keys?: (waproto.Message.ISharedDeviceContactHashKey[]|null); } /** Represents a SharedDeviceContactHashKeyShare. */ class SharedDeviceContactHashKeyShare implements ISharedDeviceContactHashKeyShare { /** * Constructs a new SharedDeviceContactHashKeyShare. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISharedDeviceContactHashKeyShare); /** SharedDeviceContactHashKeyShare keys. */ public keys: waproto.Message.ISharedDeviceContactHashKey[]; /** * Creates a new SharedDeviceContactHashKeyShare instance using the specified properties. * @param [properties] Properties to set * @returns SharedDeviceContactHashKeyShare instance */ public static create(properties?: waproto.Message.ISharedDeviceContactHashKeyShare): waproto.Message.SharedDeviceContactHashKeyShare; /** * Encodes the specified SharedDeviceContactHashKeyShare message. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKeyShare.verify|verify} messages. * @param message SharedDeviceContactHashKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISharedDeviceContactHashKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SharedDeviceContactHashKeyShare message, length delimited. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKeyShare.verify|verify} messages. * @param message SharedDeviceContactHashKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISharedDeviceContactHashKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SharedDeviceContactHashKeyShare message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SharedDeviceContactHashKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SharedDeviceContactHashKeyShare; /** * Decodes a SharedDeviceContactHashKeyShare message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SharedDeviceContactHashKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SharedDeviceContactHashKeyShare; /** * Verifies a SharedDeviceContactHashKeyShare message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SharedDeviceContactHashKeyShare message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SharedDeviceContactHashKeyShare */ public static fromObject(object: { [k: string]: any }): waproto.Message.SharedDeviceContactHashKeyShare; /** * Creates a plain object from a SharedDeviceContactHashKeyShare message. Also converts values to other types if specified. * @param message SharedDeviceContactHashKeyShare * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SharedDeviceContactHashKeyShare, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SharedDeviceContactHashKeyShare to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SharedDeviceContactHashKeyShare * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SharedDeviceContactHashKey. */ interface ISharedDeviceContactHashKey { /** SharedDeviceContactHashKey epoch */ epoch?: (number|null); /** SharedDeviceContactHashKey kind */ kind?: (waproto.Message.SharedDeviceContactHashKey.Kind|null); /** SharedDeviceContactHashKey keyData */ keyData?: (Uint8Array|null); } /** Represents a SharedDeviceContactHashKey. */ class SharedDeviceContactHashKey implements ISharedDeviceContactHashKey { /** * Constructs a new SharedDeviceContactHashKey. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISharedDeviceContactHashKey); /** SharedDeviceContactHashKey epoch. */ public epoch?: (number|null); /** SharedDeviceContactHashKey kind. */ public kind?: (waproto.Message.SharedDeviceContactHashKey.Kind|null); /** SharedDeviceContactHashKey keyData. */ public keyData?: (Uint8Array|null); /** * Creates a new SharedDeviceContactHashKey instance using the specified properties. * @param [properties] Properties to set * @returns SharedDeviceContactHashKey instance */ public static create(properties?: waproto.Message.ISharedDeviceContactHashKey): waproto.Message.SharedDeviceContactHashKey; /** * Encodes the specified SharedDeviceContactHashKey message. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKey.verify|verify} messages. * @param message SharedDeviceContactHashKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISharedDeviceContactHashKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SharedDeviceContactHashKey message, length delimited. Does not implicitly {@link waproto.Message.SharedDeviceContactHashKey.verify|verify} messages. * @param message SharedDeviceContactHashKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISharedDeviceContactHashKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SharedDeviceContactHashKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SharedDeviceContactHashKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SharedDeviceContactHashKey; /** * Decodes a SharedDeviceContactHashKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SharedDeviceContactHashKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SharedDeviceContactHashKey; /** * Verifies a SharedDeviceContactHashKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SharedDeviceContactHashKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SharedDeviceContactHashKey */ public static fromObject(object: { [k: string]: any }): waproto.Message.SharedDeviceContactHashKey; /** * Creates a plain object from a SharedDeviceContactHashKey message. Also converts values to other types if specified. * @param message SharedDeviceContactHashKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SharedDeviceContactHashKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SharedDeviceContactHashKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SharedDeviceContactHashKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SharedDeviceContactHashKey { /** Kind enum. */ enum Kind { UNKNOWN = 0, LID = 1, PHONE_NUMBER = 2 } } /** Properties of an AppStateSyncKeyRequest. */ interface IAppStateSyncKeyRequest { /** AppStateSyncKeyRequest keyIds */ keyIds?: (waproto.Message.IAppStateSyncKeyId[]|null); } /** Represents an AppStateSyncKeyRequest. */ class AppStateSyncKeyRequest implements IAppStateSyncKeyRequest { /** * Constructs a new AppStateSyncKeyRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKeyRequest); /** AppStateSyncKeyRequest keyIds. */ public keyIds: waproto.Message.IAppStateSyncKeyId[]; /** * Creates a new AppStateSyncKeyRequest instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyRequest instance */ public static create(properties?: waproto.Message.IAppStateSyncKeyRequest): waproto.Message.AppStateSyncKeyRequest; /** * Encodes the specified AppStateSyncKeyRequest message. Does not implicitly {@link waproto.Message.AppStateSyncKeyRequest.verify|verify} messages. * @param message AppStateSyncKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyRequest message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKeyRequest.verify|verify} messages. * @param message AppStateSyncKeyRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKeyRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKeyRequest; /** * Decodes an AppStateSyncKeyRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKeyRequest; /** * Verifies an AppStateSyncKeyRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyRequest */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKeyRequest; /** * Creates a plain object from an AppStateSyncKeyRequest message. Also converts values to other types if specified. * @param message AppStateSyncKeyRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKeyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKeyShare. */ interface IAppStateSyncKeyShare { /** AppStateSyncKeyShare keys */ keys?: (waproto.Message.IAppStateSyncKey[]|null); } /** Represents an AppStateSyncKeyShare. */ class AppStateSyncKeyShare implements IAppStateSyncKeyShare { /** * Constructs a new AppStateSyncKeyShare. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKeyShare); /** AppStateSyncKeyShare keys. */ public keys: waproto.Message.IAppStateSyncKey[]; /** * Creates a new AppStateSyncKeyShare instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyShare instance */ public static create(properties?: waproto.Message.IAppStateSyncKeyShare): waproto.Message.AppStateSyncKeyShare; /** * Encodes the specified AppStateSyncKeyShare message. Does not implicitly {@link waproto.Message.AppStateSyncKeyShare.verify|verify} messages. * @param message AppStateSyncKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyShare message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKeyShare.verify|verify} messages. * @param message AppStateSyncKeyShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKeyShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyShare message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKeyShare; /** * Decodes an AppStateSyncKeyShare message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKeyShare; /** * Verifies an AppStateSyncKeyShare message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyShare message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyShare */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKeyShare; /** * Creates a plain object from an AppStateSyncKeyShare message. Also converts values to other types if specified. * @param message AppStateSyncKeyShare * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKeyShare, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyShare to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyShare * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKeyData. */ interface IAppStateSyncKeyData { /** AppStateSyncKeyData keyData */ keyData?: (Uint8Array|null); /** AppStateSyncKeyData fingerprint */ fingerprint?: (waproto.Message.IAppStateSyncKeyFingerprint|null); /** AppStateSyncKeyData timestamp */ timestamp?: (number|Long|null); } /** Represents an AppStateSyncKeyData. */ class AppStateSyncKeyData implements IAppStateSyncKeyData { /** * Constructs a new AppStateSyncKeyData. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKeyData); /** AppStateSyncKeyData keyData. */ public keyData?: (Uint8Array|null); /** AppStateSyncKeyData fingerprint. */ public fingerprint?: (waproto.Message.IAppStateSyncKeyFingerprint|null); /** AppStateSyncKeyData timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new AppStateSyncKeyData instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyData instance */ public static create(properties?: waproto.Message.IAppStateSyncKeyData): waproto.Message.AppStateSyncKeyData; /** * Encodes the specified AppStateSyncKeyData message. Does not implicitly {@link waproto.Message.AppStateSyncKeyData.verify|verify} messages. * @param message AppStateSyncKeyData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyData message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKeyData.verify|verify} messages. * @param message AppStateSyncKeyData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKeyData; /** * Decodes an AppStateSyncKeyData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKeyData; /** * Verifies an AppStateSyncKeyData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyData */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKeyData; /** * Creates a plain object from an AppStateSyncKeyData message. Also converts values to other types if specified. * @param message AppStateSyncKeyData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKeyData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKeyFingerprint. */ interface IAppStateSyncKeyFingerprint { /** AppStateSyncKeyFingerprint rawId */ rawId?: (number|null); /** AppStateSyncKeyFingerprint currentIndex */ currentIndex?: (number|null); /** AppStateSyncKeyFingerprint deviceIndexes */ deviceIndexes?: (number[]|null); } /** Represents an AppStateSyncKeyFingerprint. */ class AppStateSyncKeyFingerprint implements IAppStateSyncKeyFingerprint { /** * Constructs a new AppStateSyncKeyFingerprint. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKeyFingerprint); /** AppStateSyncKeyFingerprint rawId. */ public rawId?: (number|null); /** AppStateSyncKeyFingerprint currentIndex. */ public currentIndex?: (number|null); /** AppStateSyncKeyFingerprint deviceIndexes. */ public deviceIndexes: number[]; /** * Creates a new AppStateSyncKeyFingerprint instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyFingerprint instance */ public static create(properties?: waproto.Message.IAppStateSyncKeyFingerprint): waproto.Message.AppStateSyncKeyFingerprint; /** * Encodes the specified AppStateSyncKeyFingerprint message. Does not implicitly {@link waproto.Message.AppStateSyncKeyFingerprint.verify|verify} messages. * @param message AppStateSyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyFingerprint message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKeyFingerprint.verify|verify} messages. * @param message AppStateSyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKeyFingerprint; /** * Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKeyFingerprint; /** * Verifies an AppStateSyncKeyFingerprint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyFingerprint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyFingerprint */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKeyFingerprint; /** * Creates a plain object from an AppStateSyncKeyFingerprint message. Also converts values to other types if specified. * @param message AppStateSyncKeyFingerprint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKeyFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyFingerprint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyFingerprint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKeyId. */ interface IAppStateSyncKeyId { /** AppStateSyncKeyId keyId */ keyId?: (Uint8Array|null); } /** Represents an AppStateSyncKeyId. */ class AppStateSyncKeyId implements IAppStateSyncKeyId { /** * Constructs a new AppStateSyncKeyId. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKeyId); /** AppStateSyncKeyId keyId. */ public keyId?: (Uint8Array|null); /** * Creates a new AppStateSyncKeyId instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyId instance */ public static create(properties?: waproto.Message.IAppStateSyncKeyId): waproto.Message.AppStateSyncKeyId; /** * Encodes the specified AppStateSyncKeyId message. Does not implicitly {@link waproto.Message.AppStateSyncKeyId.verify|verify} messages. * @param message AppStateSyncKeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyId message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKeyId.verify|verify} messages. * @param message AppStateSyncKeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyId message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKeyId; /** * Decodes an AppStateSyncKeyId message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKeyId; /** * Verifies an AppStateSyncKeyId message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyId message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyId */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKeyId; /** * Creates a plain object from an AppStateSyncKeyId message. Also converts values to other types if specified. * @param message AppStateSyncKeyId * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKeyId, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyId to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKey. */ interface IAppStateSyncKey { /** AppStateSyncKey keyId */ keyId?: (waproto.Message.IAppStateSyncKeyId|null); /** AppStateSyncKey keyData */ keyData?: (waproto.Message.IAppStateSyncKeyData|null); } /** Represents an AppStateSyncKey. */ class AppStateSyncKey implements IAppStateSyncKey { /** * Constructs a new AppStateSyncKey. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAppStateSyncKey); /** AppStateSyncKey keyId. */ public keyId?: (waproto.Message.IAppStateSyncKeyId|null); /** AppStateSyncKey keyData. */ public keyData?: (waproto.Message.IAppStateSyncKeyData|null); /** * Creates a new AppStateSyncKey instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKey instance */ public static create(properties?: waproto.Message.IAppStateSyncKey): waproto.Message.AppStateSyncKey; /** * Encodes the specified AppStateSyncKey message. Does not implicitly {@link waproto.Message.AppStateSyncKey.verify|verify} messages. * @param message AppStateSyncKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKey message, length delimited. Does not implicitly {@link waproto.Message.AppStateSyncKey.verify|verify} messages. * @param message AppStateSyncKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AppStateSyncKey; /** * Decodes an AppStateSyncKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AppStateSyncKey; /** * Verifies an AppStateSyncKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKey */ public static fromObject(object: { [k: string]: any }): waproto.Message.AppStateSyncKey; /** * Creates a plain object from an AppStateSyncKey message. Also converts values to other types if specified. * @param message AppStateSyncKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AppStateSyncKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistorySyncNotification. */ interface IHistorySyncNotification { /** HistorySyncNotification fileSha256 */ fileSha256?: (Uint8Array|null); /** HistorySyncNotification fileLength */ fileLength?: (number|Long|null); /** HistorySyncNotification mediaKey */ mediaKey?: (Uint8Array|null); /** HistorySyncNotification fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** HistorySyncNotification directPath */ directPath?: (string|null); /** HistorySyncNotification syncType */ syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncNotification chunkOrder */ chunkOrder?: (number|null); /** HistorySyncNotification originalMessageId */ originalMessageId?: (string|null); /** HistorySyncNotification progress */ progress?: (number|null); /** HistorySyncNotification oldestMsgInChunkTimestampSec */ oldestMsgInChunkTimestampSec?: (number|Long|null); /** HistorySyncNotification initialHistBootstrapInlinePayload */ initialHistBootstrapInlinePayload?: (Uint8Array|null); /** HistorySyncNotification peerDataRequestSessionId */ peerDataRequestSessionId?: (string|null); /** HistorySyncNotification fullHistorySyncOnDemandRequestMetadata */ fullHistorySyncOnDemandRequestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** HistorySyncNotification encHandle */ encHandle?: (string|null); /** HistorySyncNotification messageAccessStatus */ messageAccessStatus?: (waproto.Message.IHistorySyncMessageAccessStatus|null); } /** Represents a HistorySyncNotification. */ class HistorySyncNotification implements IHistorySyncNotification { /** * Constructs a new HistorySyncNotification. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IHistorySyncNotification); /** HistorySyncNotification fileSha256. */ public fileSha256?: (Uint8Array|null); /** HistorySyncNotification fileLength. */ public fileLength?: (number|Long|null); /** HistorySyncNotification mediaKey. */ public mediaKey?: (Uint8Array|null); /** HistorySyncNotification fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** HistorySyncNotification directPath. */ public directPath?: (string|null); /** HistorySyncNotification syncType. */ public syncType?: (waproto.Message.HistorySyncType|null); /** HistorySyncNotification chunkOrder. */ public chunkOrder?: (number|null); /** HistorySyncNotification originalMessageId. */ public originalMessageId?: (string|null); /** HistorySyncNotification progress. */ public progress?: (number|null); /** HistorySyncNotification oldestMsgInChunkTimestampSec. */ public oldestMsgInChunkTimestampSec?: (number|Long|null); /** HistorySyncNotification initialHistBootstrapInlinePayload. */ public initialHistBootstrapInlinePayload?: (Uint8Array|null); /** HistorySyncNotification peerDataRequestSessionId. */ public peerDataRequestSessionId?: (string|null); /** HistorySyncNotification fullHistorySyncOnDemandRequestMetadata. */ public fullHistorySyncOnDemandRequestMetadata?: (waproto.Message.IFullHistorySyncOnDemandRequestMetadata|null); /** HistorySyncNotification encHandle. */ public encHandle?: (string|null); /** HistorySyncNotification messageAccessStatus. */ public messageAccessStatus?: (waproto.Message.IHistorySyncMessageAccessStatus|null); /** * Creates a new HistorySyncNotification instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncNotification instance */ public static create(properties?: waproto.Message.IHistorySyncNotification): waproto.Message.HistorySyncNotification; /** * Encodes the specified HistorySyncNotification message. Does not implicitly {@link waproto.Message.HistorySyncNotification.verify|verify} messages. * @param message HistorySyncNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncNotification message, length delimited. Does not implicitly {@link waproto.Message.HistorySyncNotification.verify|verify} messages. * @param message HistorySyncNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IHistorySyncNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HistorySyncNotification; /** * Decodes a HistorySyncNotification message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HistorySyncNotification; /** * Verifies a HistorySyncNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncNotification message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncNotification */ public static fromObject(object: { [k: string]: any }): waproto.Message.HistorySyncNotification; /** * Creates a plain object from a HistorySyncNotification message. Also converts values to other types if specified. * @param message HistorySyncNotification * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HistorySyncNotification, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncNotification to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncNotification * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HistorySyncMessageAccessStatus. */ interface IHistorySyncMessageAccessStatus { /** HistorySyncMessageAccessStatus completeAccessGranted */ completeAccessGranted?: (boolean|null); } /** Represents a HistorySyncMessageAccessStatus. */ class HistorySyncMessageAccessStatus implements IHistorySyncMessageAccessStatus { /** * Constructs a new HistorySyncMessageAccessStatus. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IHistorySyncMessageAccessStatus); /** HistorySyncMessageAccessStatus completeAccessGranted. */ public completeAccessGranted?: (boolean|null); /** * Creates a new HistorySyncMessageAccessStatus instance using the specified properties. * @param [properties] Properties to set * @returns HistorySyncMessageAccessStatus instance */ public static create(properties?: waproto.Message.IHistorySyncMessageAccessStatus): waproto.Message.HistorySyncMessageAccessStatus; /** * Encodes the specified HistorySyncMessageAccessStatus message. Does not implicitly {@link waproto.Message.HistorySyncMessageAccessStatus.verify|verify} messages. * @param message HistorySyncMessageAccessStatus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IHistorySyncMessageAccessStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HistorySyncMessageAccessStatus message, length delimited. Does not implicitly {@link waproto.Message.HistorySyncMessageAccessStatus.verify|verify} messages. * @param message HistorySyncMessageAccessStatus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IHistorySyncMessageAccessStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HistorySyncMessageAccessStatus message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns HistorySyncMessageAccessStatus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.HistorySyncMessageAccessStatus; /** * Decodes a HistorySyncMessageAccessStatus message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns HistorySyncMessageAccessStatus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.HistorySyncMessageAccessStatus; /** * Verifies a HistorySyncMessageAccessStatus message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a HistorySyncMessageAccessStatus message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HistorySyncMessageAccessStatus */ public static fromObject(object: { [k: string]: any }): waproto.Message.HistorySyncMessageAccessStatus; /** * Creates a plain object from a HistorySyncMessageAccessStatus message. Also converts values to other types if specified. * @param message HistorySyncMessageAccessStatus * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.HistorySyncMessageAccessStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HistorySyncMessageAccessStatus to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for HistorySyncMessageAccessStatus * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RequestWelcomeMessageMetadata. */ interface IRequestWelcomeMessageMetadata { /** RequestWelcomeMessageMetadata localChatState */ localChatState?: (waproto.Message.RequestWelcomeMessageMetadata.LocalChatState|null); /** RequestWelcomeMessageMetadata welcomeTrigger */ welcomeTrigger?: (waproto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null); /** RequestWelcomeMessageMetadata botAgentMetadata */ botAgentMetadata?: (waproto.IBotAgentMetadata|null); } /** Represents a RequestWelcomeMessageMetadata. */ class RequestWelcomeMessageMetadata implements IRequestWelcomeMessageMetadata { /** * Constructs a new RequestWelcomeMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IRequestWelcomeMessageMetadata); /** RequestWelcomeMessageMetadata localChatState. */ public localChatState?: (waproto.Message.RequestWelcomeMessageMetadata.LocalChatState|null); /** RequestWelcomeMessageMetadata welcomeTrigger. */ public welcomeTrigger?: (waproto.Message.RequestWelcomeMessageMetadata.WelcomeTrigger|null); /** RequestWelcomeMessageMetadata botAgentMetadata. */ public botAgentMetadata?: (waproto.IBotAgentMetadata|null); /** * Creates a new RequestWelcomeMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns RequestWelcomeMessageMetadata instance */ public static create(properties?: waproto.Message.IRequestWelcomeMessageMetadata): waproto.Message.RequestWelcomeMessageMetadata; /** * Encodes the specified RequestWelcomeMessageMetadata message. Does not implicitly {@link waproto.Message.RequestWelcomeMessageMetadata.verify|verify} messages. * @param message RequestWelcomeMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IRequestWelcomeMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RequestWelcomeMessageMetadata message, length delimited. Does not implicitly {@link waproto.Message.RequestWelcomeMessageMetadata.verify|verify} messages. * @param message RequestWelcomeMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IRequestWelcomeMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RequestWelcomeMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RequestWelcomeMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.RequestWelcomeMessageMetadata; /** * Decodes a RequestWelcomeMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RequestWelcomeMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.RequestWelcomeMessageMetadata; /** * Verifies a RequestWelcomeMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RequestWelcomeMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RequestWelcomeMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.RequestWelcomeMessageMetadata; /** * Creates a plain object from a RequestWelcomeMessageMetadata message. Also converts values to other types if specified. * @param message RequestWelcomeMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.RequestWelcomeMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RequestWelcomeMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RequestWelcomeMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RequestWelcomeMessageMetadata { /** WelcomeTrigger enum. */ enum WelcomeTrigger { CHAT_OPEN = 0, COMPANION_PAIRING = 1 } /** LocalChatState enum. */ enum LocalChatState { EMPTY = 0, NON_EMPTY = 1 } } /** Properties of a ChatAnimatedWallpaper. */ interface IChatAnimatedWallpaper { /** ChatAnimatedWallpaper animatedWallpaperId */ animatedWallpaperId?: (string|null); /** ChatAnimatedWallpaper dimLevel */ dimLevel?: (number|null); } /** Represents a ChatAnimatedWallpaper. */ class ChatAnimatedWallpaper implements IChatAnimatedWallpaper { /** * Constructs a new ChatAnimatedWallpaper. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatAnimatedWallpaper); /** ChatAnimatedWallpaper animatedWallpaperId. */ public animatedWallpaperId?: (string|null); /** ChatAnimatedWallpaper dimLevel. */ public dimLevel?: (number|null); /** * Creates a new ChatAnimatedWallpaper instance using the specified properties. * @param [properties] Properties to set * @returns ChatAnimatedWallpaper instance */ public static create(properties?: waproto.Message.IChatAnimatedWallpaper): waproto.Message.ChatAnimatedWallpaper; /** * Encodes the specified ChatAnimatedWallpaper message. Does not implicitly {@link waproto.Message.ChatAnimatedWallpaper.verify|verify} messages. * @param message ChatAnimatedWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatAnimatedWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatAnimatedWallpaper message, length delimited. Does not implicitly {@link waproto.Message.ChatAnimatedWallpaper.verify|verify} messages. * @param message ChatAnimatedWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatAnimatedWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatAnimatedWallpaper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatAnimatedWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatAnimatedWallpaper; /** * Decodes a ChatAnimatedWallpaper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatAnimatedWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatAnimatedWallpaper; /** * Verifies a ChatAnimatedWallpaper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatAnimatedWallpaper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatAnimatedWallpaper */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatAnimatedWallpaper; /** * Creates a plain object from a ChatAnimatedWallpaper message. Also converts values to other types if specified. * @param message ChatAnimatedWallpaper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatAnimatedWallpaper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatAnimatedWallpaper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatAnimatedWallpaper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatStockImageWallpaper. */ interface IChatStockImageWallpaper { /** ChatStockImageWallpaper stockImageId */ stockImageId?: (string|null); /** ChatStockImageWallpaper dimLevel */ dimLevel?: (number|null); } /** Represents a ChatStockImageWallpaper. */ class ChatStockImageWallpaper implements IChatStockImageWallpaper { /** * Constructs a new ChatStockImageWallpaper. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatStockImageWallpaper); /** ChatStockImageWallpaper stockImageId. */ public stockImageId?: (string|null); /** ChatStockImageWallpaper dimLevel. */ public dimLevel?: (number|null); /** * Creates a new ChatStockImageWallpaper instance using the specified properties. * @param [properties] Properties to set * @returns ChatStockImageWallpaper instance */ public static create(properties?: waproto.Message.IChatStockImageWallpaper): waproto.Message.ChatStockImageWallpaper; /** * Encodes the specified ChatStockImageWallpaper message. Does not implicitly {@link waproto.Message.ChatStockImageWallpaper.verify|verify} messages. * @param message ChatStockImageWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatStockImageWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatStockImageWallpaper message, length delimited. Does not implicitly {@link waproto.Message.ChatStockImageWallpaper.verify|verify} messages. * @param message ChatStockImageWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatStockImageWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatStockImageWallpaper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatStockImageWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatStockImageWallpaper; /** * Decodes a ChatStockImageWallpaper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatStockImageWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatStockImageWallpaper; /** * Verifies a ChatStockImageWallpaper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatStockImageWallpaper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatStockImageWallpaper */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatStockImageWallpaper; /** * Creates a plain object from a ChatStockImageWallpaper message. Also converts values to other types if specified. * @param message ChatStockImageWallpaper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatStockImageWallpaper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatStockImageWallpaper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatStockImageWallpaper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatSolidColorWallpaper. */ interface IChatSolidColorWallpaper { /** ChatSolidColorWallpaper colorLight */ colorLight?: (string|null); /** ChatSolidColorWallpaper colorDark */ colorDark?: (string|null); /** ChatSolidColorWallpaper isDoodleEnabled */ isDoodleEnabled?: (boolean|null); } /** Represents a ChatSolidColorWallpaper. */ class ChatSolidColorWallpaper implements IChatSolidColorWallpaper { /** * Constructs a new ChatSolidColorWallpaper. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatSolidColorWallpaper); /** ChatSolidColorWallpaper colorLight. */ public colorLight?: (string|null); /** ChatSolidColorWallpaper colorDark. */ public colorDark?: (string|null); /** ChatSolidColorWallpaper isDoodleEnabled. */ public isDoodleEnabled?: (boolean|null); /** * Creates a new ChatSolidColorWallpaper instance using the specified properties. * @param [properties] Properties to set * @returns ChatSolidColorWallpaper instance */ public static create(properties?: waproto.Message.IChatSolidColorWallpaper): waproto.Message.ChatSolidColorWallpaper; /** * Encodes the specified ChatSolidColorWallpaper message. Does not implicitly {@link waproto.Message.ChatSolidColorWallpaper.verify|verify} messages. * @param message ChatSolidColorWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatSolidColorWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatSolidColorWallpaper message, length delimited. Does not implicitly {@link waproto.Message.ChatSolidColorWallpaper.verify|verify} messages. * @param message ChatSolidColorWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatSolidColorWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatSolidColorWallpaper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatSolidColorWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatSolidColorWallpaper; /** * Decodes a ChatSolidColorWallpaper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatSolidColorWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatSolidColorWallpaper; /** * Verifies a ChatSolidColorWallpaper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatSolidColorWallpaper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatSolidColorWallpaper */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatSolidColorWallpaper; /** * Creates a plain object from a ChatSolidColorWallpaper message. Also converts values to other types if specified. * @param message ChatSolidColorWallpaper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatSolidColorWallpaper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatSolidColorWallpaper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatSolidColorWallpaper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatDefaultWallpaper. */ interface IChatDefaultWallpaper { /** ChatDefaultWallpaper isDoodleEnabled */ isDoodleEnabled?: (boolean|null); } /** Represents a ChatDefaultWallpaper. */ class ChatDefaultWallpaper implements IChatDefaultWallpaper { /** * Constructs a new ChatDefaultWallpaper. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatDefaultWallpaper); /** ChatDefaultWallpaper isDoodleEnabled. */ public isDoodleEnabled?: (boolean|null); /** * Creates a new ChatDefaultWallpaper instance using the specified properties. * @param [properties] Properties to set * @returns ChatDefaultWallpaper instance */ public static create(properties?: waproto.Message.IChatDefaultWallpaper): waproto.Message.ChatDefaultWallpaper; /** * Encodes the specified ChatDefaultWallpaper message. Does not implicitly {@link waproto.Message.ChatDefaultWallpaper.verify|verify} messages. * @param message ChatDefaultWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatDefaultWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatDefaultWallpaper message, length delimited. Does not implicitly {@link waproto.Message.ChatDefaultWallpaper.verify|verify} messages. * @param message ChatDefaultWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatDefaultWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatDefaultWallpaper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatDefaultWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatDefaultWallpaper; /** * Decodes a ChatDefaultWallpaper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatDefaultWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatDefaultWallpaper; /** * Verifies a ChatDefaultWallpaper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatDefaultWallpaper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatDefaultWallpaper */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatDefaultWallpaper; /** * Creates a plain object from a ChatDefaultWallpaper message. Also converts values to other types if specified. * @param message ChatDefaultWallpaper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatDefaultWallpaper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatDefaultWallpaper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatDefaultWallpaper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatCustomImageWallpaper. */ interface IChatCustomImageWallpaper { /** ChatCustomImageWallpaper directPath */ directPath?: (string|null); /** ChatCustomImageWallpaper mediaKey */ mediaKey?: (Uint8Array|null); /** ChatCustomImageWallpaper fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** ChatCustomImageWallpaper fileSha256 */ fileSha256?: (Uint8Array|null); /** ChatCustomImageWallpaper dimLevel */ dimLevel?: (number|null); } /** Represents a ChatCustomImageWallpaper. */ class ChatCustomImageWallpaper implements IChatCustomImageWallpaper { /** * Constructs a new ChatCustomImageWallpaper. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatCustomImageWallpaper); /** ChatCustomImageWallpaper directPath. */ public directPath?: (string|null); /** ChatCustomImageWallpaper mediaKey. */ public mediaKey?: (Uint8Array|null); /** ChatCustomImageWallpaper fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** ChatCustomImageWallpaper fileSha256. */ public fileSha256?: (Uint8Array|null); /** ChatCustomImageWallpaper dimLevel. */ public dimLevel?: (number|null); /** * Creates a new ChatCustomImageWallpaper instance using the specified properties. * @param [properties] Properties to set * @returns ChatCustomImageWallpaper instance */ public static create(properties?: waproto.Message.IChatCustomImageWallpaper): waproto.Message.ChatCustomImageWallpaper; /** * Encodes the specified ChatCustomImageWallpaper message. Does not implicitly {@link waproto.Message.ChatCustomImageWallpaper.verify|verify} messages. * @param message ChatCustomImageWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatCustomImageWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatCustomImageWallpaper message, length delimited. Does not implicitly {@link waproto.Message.ChatCustomImageWallpaper.verify|verify} messages. * @param message ChatCustomImageWallpaper message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatCustomImageWallpaper, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatCustomImageWallpaper message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatCustomImageWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatCustomImageWallpaper; /** * Decodes a ChatCustomImageWallpaper message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatCustomImageWallpaper * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatCustomImageWallpaper; /** * Verifies a ChatCustomImageWallpaper message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatCustomImageWallpaper message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatCustomImageWallpaper */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatCustomImageWallpaper; /** * Creates a plain object from a ChatCustomImageWallpaper message. Also converts values to other types if specified. * @param message ChatCustomImageWallpaper * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatCustomImageWallpaper, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatCustomImageWallpaper to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatCustomImageWallpaper * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatThemeSetting. */ interface IChatThemeSetting { /** ChatThemeSetting settingTimestampMs */ settingTimestampMs?: (number|Long|null); /** ChatThemeSetting clearTheme */ clearTheme?: (boolean|null); /** ChatThemeSetting colorSchemeId */ colorSchemeId?: (string|null); /** ChatThemeSetting defaultWallpaper */ defaultWallpaper?: (waproto.Message.IChatDefaultWallpaper|null); /** ChatThemeSetting solidColor */ solidColor?: (waproto.Message.IChatSolidColorWallpaper|null); /** ChatThemeSetting stockImage */ stockImage?: (waproto.Message.IChatStockImageWallpaper|null); /** ChatThemeSetting customImage */ customImage?: (waproto.Message.IChatCustomImageWallpaper|null); /** ChatThemeSetting animatedWallpaper */ animatedWallpaper?: (waproto.Message.IChatAnimatedWallpaper|null); } /** Represents a ChatThemeSetting. */ class ChatThemeSetting implements IChatThemeSetting { /** * Constructs a new ChatThemeSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChatThemeSetting); /** ChatThemeSetting settingTimestampMs. */ public settingTimestampMs?: (number|Long|null); /** ChatThemeSetting clearTheme. */ public clearTheme?: (boolean|null); /** ChatThemeSetting colorSchemeId. */ public colorSchemeId?: (string|null); /** ChatThemeSetting defaultWallpaper. */ public defaultWallpaper?: (waproto.Message.IChatDefaultWallpaper|null); /** ChatThemeSetting solidColor. */ public solidColor?: (waproto.Message.IChatSolidColorWallpaper|null); /** ChatThemeSetting stockImage. */ public stockImage?: (waproto.Message.IChatStockImageWallpaper|null); /** ChatThemeSetting customImage. */ public customImage?: (waproto.Message.IChatCustomImageWallpaper|null); /** ChatThemeSetting animatedWallpaper. */ public animatedWallpaper?: (waproto.Message.IChatAnimatedWallpaper|null); /** ChatThemeSetting wallpaper. */ public wallpaper?: ("defaultWallpaper"|"solidColor"|"stockImage"|"customImage"|"animatedWallpaper"); /** * Creates a new ChatThemeSetting instance using the specified properties. * @param [properties] Properties to set * @returns ChatThemeSetting instance */ public static create(properties?: waproto.Message.IChatThemeSetting): waproto.Message.ChatThemeSetting; /** * Encodes the specified ChatThemeSetting message. Does not implicitly {@link waproto.Message.ChatThemeSetting.verify|verify} messages. * @param message ChatThemeSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChatThemeSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatThemeSetting message, length delimited. Does not implicitly {@link waproto.Message.ChatThemeSetting.verify|verify} messages. * @param message ChatThemeSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChatThemeSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatThemeSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatThemeSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ChatThemeSetting; /** * Decodes a ChatThemeSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatThemeSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ChatThemeSetting; /** * Verifies a ChatThemeSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatThemeSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatThemeSetting */ public static fromObject(object: { [k: string]: any }): waproto.Message.ChatThemeSetting; /** * Creates a plain object from a ChatThemeSetting message. Also converts values to other types if specified. * @param message ChatThemeSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ChatThemeSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatThemeSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatThemeSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MarkAsVerifiedAction. */ interface IMarkAsVerifiedAction { /** MarkAsVerifiedAction userJidString */ userJidString?: (string|null); /** MarkAsVerifiedAction verified */ verified?: (boolean|null); /** MarkAsVerifiedAction verifiedIdentityKey */ verifiedIdentityKey?: (Uint8Array|null); /** MarkAsVerifiedAction actionSeq */ actionSeq?: (number|Long|null); } /** Represents a MarkAsVerifiedAction. */ class MarkAsVerifiedAction implements IMarkAsVerifiedAction { /** * Constructs a new MarkAsVerifiedAction. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMarkAsVerifiedAction); /** MarkAsVerifiedAction userJidString. */ public userJidString?: (string|null); /** MarkAsVerifiedAction verified. */ public verified?: (boolean|null); /** MarkAsVerifiedAction verifiedIdentityKey. */ public verifiedIdentityKey?: (Uint8Array|null); /** MarkAsVerifiedAction actionSeq. */ public actionSeq?: (number|Long|null); /** * Creates a new MarkAsVerifiedAction instance using the specified properties. * @param [properties] Properties to set * @returns MarkAsVerifiedAction instance */ public static create(properties?: waproto.Message.IMarkAsVerifiedAction): waproto.Message.MarkAsVerifiedAction; /** * Encodes the specified MarkAsVerifiedAction message. Does not implicitly {@link waproto.Message.MarkAsVerifiedAction.verify|verify} messages. * @param message MarkAsVerifiedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMarkAsVerifiedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MarkAsVerifiedAction message, length delimited. Does not implicitly {@link waproto.Message.MarkAsVerifiedAction.verify|verify} messages. * @param message MarkAsVerifiedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMarkAsVerifiedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MarkAsVerifiedAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MarkAsVerifiedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MarkAsVerifiedAction; /** * Decodes a MarkAsVerifiedAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MarkAsVerifiedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MarkAsVerifiedAction; /** * Verifies a MarkAsVerifiedAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MarkAsVerifiedAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MarkAsVerifiedAction */ public static fromObject(object: { [k: string]: any }): waproto.Message.MarkAsVerifiedAction; /** * Creates a plain object from a MarkAsVerifiedAction message. Also converts values to other types if specified. * @param message MarkAsVerifiedAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MarkAsVerifiedAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MarkAsVerifiedAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MarkAsVerifiedAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtocolMessage. */ interface IProtocolMessage { /** ProtocolMessage key */ key?: (waproto.IMessageKey|null); /** ProtocolMessage type */ type?: (waproto.Message.ProtocolMessage.Type|null); /** ProtocolMessage ephemeralExpiration */ ephemeralExpiration?: (number|null); /** ProtocolMessage ephemeralSettingTimestamp */ ephemeralSettingTimestamp?: (number|Long|null); /** ProtocolMessage historySyncNotification */ historySyncNotification?: (waproto.Message.IHistorySyncNotification|null); /** ProtocolMessage appStateSyncKeyShare */ appStateSyncKeyShare?: (waproto.Message.IAppStateSyncKeyShare|null); /** ProtocolMessage appStateSyncKeyRequest */ appStateSyncKeyRequest?: (waproto.Message.IAppStateSyncKeyRequest|null); /** ProtocolMessage initialSecurityNotificationSettingSync */ initialSecurityNotificationSettingSync?: (waproto.Message.IInitialSecurityNotificationSettingSync|null); /** ProtocolMessage appStateFatalExceptionNotification */ appStateFatalExceptionNotification?: (waproto.Message.IAppStateFatalExceptionNotification|null); /** ProtocolMessage disappearingMode */ disappearingMode?: (waproto.IDisappearingMode|null); /** ProtocolMessage editedMessage */ editedMessage?: (waproto.IMessage|null); /** ProtocolMessage timestampMs */ timestampMs?: (number|Long|null); /** ProtocolMessage peerDataOperationRequestMessage */ peerDataOperationRequestMessage?: (waproto.Message.IPeerDataOperationRequestMessage|null); /** ProtocolMessage peerDataOperationRequestResponseMessage */ peerDataOperationRequestResponseMessage?: (waproto.Message.IPeerDataOperationRequestResponseMessage|null); /** ProtocolMessage botFeedbackMessage */ botFeedbackMessage?: (waproto.IBotFeedbackMessage|null); /** ProtocolMessage invokerJid */ invokerJid?: (string|null); /** ProtocolMessage requestWelcomeMessageMetadata */ requestWelcomeMessageMetadata?: (waproto.Message.IRequestWelcomeMessageMetadata|null); /** ProtocolMessage mediaNotifyMessage */ mediaNotifyMessage?: (waproto.IMediaNotifyMessage|null); /** ProtocolMessage cloudApiThreadControlNotification */ cloudApiThreadControlNotification?: (waproto.Message.ICloudAPIThreadControlNotification|null); /** ProtocolMessage lidMigrationMappingSyncMessage */ lidMigrationMappingSyncMessage?: (waproto.ILIDMigrationMappingSyncMessage|null); /** ProtocolMessage limitSharing */ limitSharing?: (waproto.ILimitSharing|null); /** ProtocolMessage aiPsiMetadata */ aiPsiMetadata?: (Uint8Array|null); /** ProtocolMessage aiQueryFanout */ aiQueryFanout?: (waproto.IAIQueryFanout|null); /** ProtocolMessage memberLabel */ memberLabel?: (waproto.IMemberLabel|null); /** ProtocolMessage aiMediaCollectionMessage */ aiMediaCollectionMessage?: (waproto.IAIMediaCollectionMessage|null); /** ProtocolMessage afterReadDuration */ afterReadDuration?: (number|null); /** ProtocolMessage chatThemeSetting */ chatThemeSetting?: (waproto.Message.IChatThemeSetting|null); /** ProtocolMessage aiMetadataOperation */ aiMetadataOperation?: (waproto.IAIMetadataOperation|null); /** ProtocolMessage markAsVerifiedAction */ markAsVerifiedAction?: (waproto.Message.IMarkAsVerifiedAction|null); /** ProtocolMessage coexStateSync */ coexStateSync?: (waproto.ICoexStateSync|null); /** ProtocolMessage acp2Setting */ acp2Setting?: (waproto.IACP2Setting|null); /** ProtocolMessage sharedDeviceContactHashKeyShare */ sharedDeviceContactHashKeyShare?: (waproto.Message.ISharedDeviceContactHashKeyShare|null); /** ProtocolMessage sharedDeviceContactHashKeyRequest */ sharedDeviceContactHashKeyRequest?: (waproto.Message.ISharedDeviceContactHashKeyRequest|null); } /** Represents a ProtocolMessage. */ class ProtocolMessage implements IProtocolMessage { /** * Constructs a new ProtocolMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IProtocolMessage); /** ProtocolMessage key. */ public key?: (waproto.IMessageKey|null); /** ProtocolMessage type. */ public type?: (waproto.Message.ProtocolMessage.Type|null); /** ProtocolMessage ephemeralExpiration. */ public ephemeralExpiration?: (number|null); /** ProtocolMessage ephemeralSettingTimestamp. */ public ephemeralSettingTimestamp?: (number|Long|null); /** ProtocolMessage historySyncNotification. */ public historySyncNotification?: (waproto.Message.IHistorySyncNotification|null); /** ProtocolMessage appStateSyncKeyShare. */ public appStateSyncKeyShare?: (waproto.Message.IAppStateSyncKeyShare|null); /** ProtocolMessage appStateSyncKeyRequest. */ public appStateSyncKeyRequest?: (waproto.Message.IAppStateSyncKeyRequest|null); /** ProtocolMessage initialSecurityNotificationSettingSync. */ public initialSecurityNotificationSettingSync?: (waproto.Message.IInitialSecurityNotificationSettingSync|null); /** ProtocolMessage appStateFatalExceptionNotification. */ public appStateFatalExceptionNotification?: (waproto.Message.IAppStateFatalExceptionNotification|null); /** ProtocolMessage disappearingMode. */ public disappearingMode?: (waproto.IDisappearingMode|null); /** ProtocolMessage editedMessage. */ public editedMessage?: (waproto.IMessage|null); /** ProtocolMessage timestampMs. */ public timestampMs?: (number|Long|null); /** ProtocolMessage peerDataOperationRequestMessage. */ public peerDataOperationRequestMessage?: (waproto.Message.IPeerDataOperationRequestMessage|null); /** ProtocolMessage peerDataOperationRequestResponseMessage. */ public peerDataOperationRequestResponseMessage?: (waproto.Message.IPeerDataOperationRequestResponseMessage|null); /** ProtocolMessage botFeedbackMessage. */ public botFeedbackMessage?: (waproto.IBotFeedbackMessage|null); /** ProtocolMessage invokerJid. */ public invokerJid?: (string|null); /** ProtocolMessage requestWelcomeMessageMetadata. */ public requestWelcomeMessageMetadata?: (waproto.Message.IRequestWelcomeMessageMetadata|null); /** ProtocolMessage mediaNotifyMessage. */ public mediaNotifyMessage?: (waproto.IMediaNotifyMessage|null); /** ProtocolMessage cloudApiThreadControlNotification. */ public cloudApiThreadControlNotification?: (waproto.Message.ICloudAPIThreadControlNotification|null); /** ProtocolMessage lidMigrationMappingSyncMessage. */ public lidMigrationMappingSyncMessage?: (waproto.ILIDMigrationMappingSyncMessage|null); /** ProtocolMessage limitSharing. */ public limitSharing?: (waproto.ILimitSharing|null); /** ProtocolMessage aiPsiMetadata. */ public aiPsiMetadata?: (Uint8Array|null); /** ProtocolMessage aiQueryFanout. */ public aiQueryFanout?: (waproto.IAIQueryFanout|null); /** ProtocolMessage memberLabel. */ public memberLabel?: (waproto.IMemberLabel|null); /** ProtocolMessage aiMediaCollectionMessage. */ public aiMediaCollectionMessage?: (waproto.IAIMediaCollectionMessage|null); /** ProtocolMessage afterReadDuration. */ public afterReadDuration?: (number|null); /** ProtocolMessage chatThemeSetting. */ public chatThemeSetting?: (waproto.Message.IChatThemeSetting|null); /** ProtocolMessage aiMetadataOperation. */ public aiMetadataOperation?: (waproto.IAIMetadataOperation|null); /** ProtocolMessage markAsVerifiedAction. */ public markAsVerifiedAction?: (waproto.Message.IMarkAsVerifiedAction|null); /** ProtocolMessage coexStateSync. */ public coexStateSync?: (waproto.ICoexStateSync|null); /** ProtocolMessage acp2Setting. */ public acp2Setting?: (waproto.IACP2Setting|null); /** ProtocolMessage sharedDeviceContactHashKeyShare. */ public sharedDeviceContactHashKeyShare?: (waproto.Message.ISharedDeviceContactHashKeyShare|null); /** ProtocolMessage sharedDeviceContactHashKeyRequest. */ public sharedDeviceContactHashKeyRequest?: (waproto.Message.ISharedDeviceContactHashKeyRequest|null); /** * Creates a new ProtocolMessage instance using the specified properties. * @param [properties] Properties to set * @returns ProtocolMessage instance */ public static create(properties?: waproto.Message.IProtocolMessage): waproto.Message.ProtocolMessage; /** * Encodes the specified ProtocolMessage message. Does not implicitly {@link waproto.Message.ProtocolMessage.verify|verify} messages. * @param message ProtocolMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProtocolMessage message, length delimited. Does not implicitly {@link waproto.Message.ProtocolMessage.verify|verify} messages. * @param message ProtocolMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IProtocolMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProtocolMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProtocolMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ProtocolMessage; /** * Decodes a ProtocolMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProtocolMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ProtocolMessage; /** * Verifies a ProtocolMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProtocolMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProtocolMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ProtocolMessage; /** * Creates a plain object from a ProtocolMessage message. Also converts values to other types if specified. * @param message ProtocolMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ProtocolMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProtocolMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProtocolMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProtocolMessage { /** Type enum. */ enum Type { REVOKE = 0, EPHEMERAL_SETTING = 3, EPHEMERAL_SYNC_RESPONSE = 4, HISTORY_SYNC_NOTIFICATION = 5, APP_STATE_SYNC_KEY_SHARE = 6, APP_STATE_SYNC_KEY_REQUEST = 7, MSG_FANOUT_BACKFILL_REQUEST = 8, INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9, APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10, SHARE_PHONE_NUMBER = 11, MESSAGE_EDIT = 14, PEER_DATA_OPERATION_REQUEST_MESSAGE = 16, PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17, REQUEST_WELCOME_MESSAGE = 18, BOT_FEEDBACK_MESSAGE = 19, MEDIA_NOTIFY_MESSAGE = 20, CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21, LID_MIGRATION_MAPPING_SYNC = 22, REMINDER_MESSAGE = 23, BOT_MEMU_ONBOARDING_MESSAGE = 24, STATUS_MENTION_MESSAGE = 25, STOP_GENERATION_MESSAGE = 26, LIMIT_SHARING = 27, AI_PSI_METADATA = 28, AI_QUERY_FANOUT = 29, GROUP_MEMBER_LABEL_CHANGE = 30, AI_MEDIA_COLLECTION_MESSAGE = 31, MESSAGE_UNSCHEDULE = 32, CHAT_THEME_SETTING = 34, AI_METADATA_OPERATION = 35, MARK_AS_VERIFIED_ACTION = 36, COEX_STATE_SYNC = 37, ACP2_SETTING = 39, SHARED_DEVICE_CONTACT_HASH_KEY_SHARE = 40, SHARED_DEVICE_CONTACT_HASH_KEY_REQUEST = 41 } } /** Properties of a CloudAPIThreadControlNotification. */ interface ICloudAPIThreadControlNotification { /** CloudAPIThreadControlNotification status */ status?: (waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl|null); /** CloudAPIThreadControlNotification senderNotificationTimestampMs */ senderNotificationTimestampMs?: (number|Long|null); /** CloudAPIThreadControlNotification consumerLid */ consumerLid?: (string|null); /** CloudAPIThreadControlNotification consumerPhoneNumber */ consumerPhoneNumber?: (string|null); /** CloudAPIThreadControlNotification notificationContent */ notificationContent?: (waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null); /** CloudAPIThreadControlNotification shouldSuppressNotification */ shouldSuppressNotification?: (boolean|null); } /** Represents a CloudAPIThreadControlNotification. */ class CloudAPIThreadControlNotification implements ICloudAPIThreadControlNotification { /** * Constructs a new CloudAPIThreadControlNotification. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ICloudAPIThreadControlNotification); /** CloudAPIThreadControlNotification status. */ public status?: (waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControl|null); /** CloudAPIThreadControlNotification senderNotificationTimestampMs. */ public senderNotificationTimestampMs?: (number|Long|null); /** CloudAPIThreadControlNotification consumerLid. */ public consumerLid?: (string|null); /** CloudAPIThreadControlNotification consumerPhoneNumber. */ public consumerPhoneNumber?: (string|null); /** CloudAPIThreadControlNotification notificationContent. */ public notificationContent?: (waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent|null); /** CloudAPIThreadControlNotification shouldSuppressNotification. */ public shouldSuppressNotification?: (boolean|null); /** * Creates a new CloudAPIThreadControlNotification instance using the specified properties. * @param [properties] Properties to set * @returns CloudAPIThreadControlNotification instance */ public static create(properties?: waproto.Message.ICloudAPIThreadControlNotification): waproto.Message.CloudAPIThreadControlNotification; /** * Encodes the specified CloudAPIThreadControlNotification message. Does not implicitly {@link waproto.Message.CloudAPIThreadControlNotification.verify|verify} messages. * @param message CloudAPIThreadControlNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ICloudAPIThreadControlNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloudAPIThreadControlNotification message, length delimited. Does not implicitly {@link waproto.Message.CloudAPIThreadControlNotification.verify|verify} messages. * @param message CloudAPIThreadControlNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ICloudAPIThreadControlNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloudAPIThreadControlNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CloudAPIThreadControlNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CloudAPIThreadControlNotification; /** * Decodes a CloudAPIThreadControlNotification message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CloudAPIThreadControlNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CloudAPIThreadControlNotification; /** * Verifies a CloudAPIThreadControlNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloudAPIThreadControlNotification message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloudAPIThreadControlNotification */ public static fromObject(object: { [k: string]: any }): waproto.Message.CloudAPIThreadControlNotification; /** * Creates a plain object from a CloudAPIThreadControlNotification message. Also converts values to other types if specified. * @param message CloudAPIThreadControlNotification * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CloudAPIThreadControlNotification, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloudAPIThreadControlNotification to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CloudAPIThreadControlNotification * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CloudAPIThreadControlNotification { /** CloudAPIThreadControl enum. */ enum CloudAPIThreadControl { UNKNOWN = 0, CONTROL_PASSED = 1, CONTROL_TAKEN = 2, INFO = 3 } /** Properties of a CloudAPIThreadControlNotificationContent. */ interface ICloudAPIThreadControlNotificationContent { /** CloudAPIThreadControlNotificationContent handoffNotificationText */ handoffNotificationText?: (string|null); /** CloudAPIThreadControlNotificationContent extraJson */ extraJson?: (string|null); } /** Represents a CloudAPIThreadControlNotificationContent. */ class CloudAPIThreadControlNotificationContent implements ICloudAPIThreadControlNotificationContent { /** * Constructs a new CloudAPIThreadControlNotificationContent. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent); /** CloudAPIThreadControlNotificationContent handoffNotificationText. */ public handoffNotificationText?: (string|null); /** CloudAPIThreadControlNotificationContent extraJson. */ public extraJson?: (string|null); /** * Creates a new CloudAPIThreadControlNotificationContent instance using the specified properties. * @param [properties] Properties to set * @returns CloudAPIThreadControlNotificationContent instance */ public static create(properties?: waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent): waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent; /** * Encodes the specified CloudAPIThreadControlNotificationContent message. Does not implicitly {@link waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.verify|verify} messages. * @param message CloudAPIThreadControlNotificationContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloudAPIThreadControlNotificationContent message, length delimited. Does not implicitly {@link waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent.verify|verify} messages. * @param message CloudAPIThreadControlNotificationContent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.CloudAPIThreadControlNotification.ICloudAPIThreadControlNotificationContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloudAPIThreadControlNotificationContent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CloudAPIThreadControlNotificationContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent; /** * Decodes a CloudAPIThreadControlNotificationContent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CloudAPIThreadControlNotificationContent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent; /** * Verifies a CloudAPIThreadControlNotificationContent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloudAPIThreadControlNotificationContent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloudAPIThreadControlNotificationContent */ public static fromObject(object: { [k: string]: any }): waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent; /** * Creates a plain object from a CloudAPIThreadControlNotificationContent message. Also converts values to other types if specified. * @param message CloudAPIThreadControlNotificationContent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.CloudAPIThreadControlNotification.CloudAPIThreadControlNotificationContent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloudAPIThreadControlNotificationContent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CloudAPIThreadControlNotificationContent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Chat. */ interface IChat { /** Chat displayName */ displayName?: (string|null); /** Chat id */ id?: (string|null); } /** Represents a Chat. */ class Chat implements IChat { /** * Constructs a new Chat. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IChat); /** Chat displayName. */ public displayName?: (string|null); /** Chat id. */ public id?: (string|null); /** * Creates a new Chat instance using the specified properties. * @param [properties] Properties to set * @returns Chat instance */ public static create(properties?: waproto.Message.IChat): waproto.Message.Chat; /** * Encodes the specified Chat message. Does not implicitly {@link waproto.Message.Chat.verify|verify} messages. * @param message Chat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Chat message, length delimited. Does not implicitly {@link waproto.Message.Chat.verify|verify} messages. * @param message Chat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Chat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Chat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.Chat; /** * Decodes a Chat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Chat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.Chat; /** * Verifies a Chat message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Chat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Chat */ public static fromObject(object: { [k: string]: any }): waproto.Message.Chat; /** * Creates a plain object from a Chat message. Also converts values to other types if specified. * @param message Chat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.Chat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Chat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Chat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Call. */ interface ICall { /** Call callKey */ callKey?: (Uint8Array|null); /** Call conversionSource */ conversionSource?: (string|null); /** Call conversionData */ conversionData?: (Uint8Array|null); /** Call conversionDelaySeconds */ conversionDelaySeconds?: (number|null); /** Call ctwaSignals */ ctwaSignals?: (string|null); /** Call ctwaPayload */ ctwaPayload?: (Uint8Array|null); /** Call contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** Call nativeFlowCallButtonPayload */ nativeFlowCallButtonPayload?: (string|null); /** Call deeplinkPayload */ deeplinkPayload?: (string|null); /** Call messageContextInfo */ messageContextInfo?: (waproto.IMessageContextInfo|null); /** Call callEntryPoint */ callEntryPoint?: (number|null); /** Call callReason */ callReason?: (string|null); } /** Represents a Call. */ class Call implements ICall { /** * Constructs a new Call. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ICall); /** Call callKey. */ public callKey?: (Uint8Array|null); /** Call conversionSource. */ public conversionSource?: (string|null); /** Call conversionData. */ public conversionData?: (Uint8Array|null); /** Call conversionDelaySeconds. */ public conversionDelaySeconds?: (number|null); /** Call ctwaSignals. */ public ctwaSignals?: (string|null); /** Call ctwaPayload. */ public ctwaPayload?: (Uint8Array|null); /** Call contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** Call nativeFlowCallButtonPayload. */ public nativeFlowCallButtonPayload?: (string|null); /** Call deeplinkPayload. */ public deeplinkPayload?: (string|null); /** Call messageContextInfo. */ public messageContextInfo?: (waproto.IMessageContextInfo|null); /** Call callEntryPoint. */ public callEntryPoint?: (number|null); /** Call callReason. */ public callReason?: (string|null); /** * Creates a new Call instance using the specified properties. * @param [properties] Properties to set * @returns Call instance */ public static create(properties?: waproto.Message.ICall): waproto.Message.Call; /** * Encodes the specified Call message. Does not implicitly {@link waproto.Message.Call.verify|verify} messages. * @param message Call message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ICall, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Call message, length delimited. Does not implicitly {@link waproto.Message.Call.verify|verify} messages. * @param message Call message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ICall, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Call message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Call * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.Call; /** * Decodes a Call message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Call * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.Call; /** * Verifies a Call message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Call message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Call */ public static fromObject(object: { [k: string]: any }): waproto.Message.Call; /** * Creates a plain object from a Call message. Also converts values to other types if specified. * @param message Call * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.Call, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Call to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Call * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VideoMessage. */ interface IVideoMessage { /** VideoMessage url */ url?: (string|null); /** VideoMessage mimetype */ mimetype?: (string|null); /** VideoMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** VideoMessage fileLength */ fileLength?: (number|Long|null); /** VideoMessage seconds */ seconds?: (number|null); /** VideoMessage mediaKey */ mediaKey?: (Uint8Array|null); /** VideoMessage caption */ caption?: (string|null); /** VideoMessage gifPlayback */ gifPlayback?: (boolean|null); /** VideoMessage height */ height?: (number|null); /** VideoMessage width */ width?: (number|null); /** VideoMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** VideoMessage interactiveAnnotations */ interactiveAnnotations?: (waproto.IInteractiveAnnotation[]|null); /** VideoMessage directPath */ directPath?: (string|null); /** VideoMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** VideoMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** VideoMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** VideoMessage streamingSidecar */ streamingSidecar?: (Uint8Array|null); /** VideoMessage gifAttribution */ gifAttribution?: (waproto.Message.VideoMessage.Attribution|null); /** VideoMessage viewOnce */ viewOnce?: (boolean|null); /** VideoMessage thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** VideoMessage thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** VideoMessage thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** VideoMessage staticUrl */ staticUrl?: (string|null); /** VideoMessage annotations */ annotations?: (waproto.IInteractiveAnnotation[]|null); /** VideoMessage accessibilityLabel */ accessibilityLabel?: (string|null); /** VideoMessage processedVideos */ processedVideos?: (waproto.IProcessedVideo[]|null); /** VideoMessage externalShareFullVideoDurationInSeconds */ externalShareFullVideoDurationInSeconds?: (number|null); /** VideoMessage motionPhotoPresentationOffsetMs */ motionPhotoPresentationOffsetMs?: (number|Long|null); /** VideoMessage metadataUrl */ metadataUrl?: (string|null); /** VideoMessage videoSourceType */ videoSourceType?: (waproto.Message.VideoMessage.VideoSourceType|null); /** VideoMessage dashManifestUrl */ dashManifestUrl?: (string|null); /** VideoMessage smartThumbnailTs */ smartThumbnailTs?: (number|Long|null); } /** Represents a VideoMessage. */ class VideoMessage implements IVideoMessage { /** * Constructs a new VideoMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IVideoMessage); /** VideoMessage url. */ public url?: (string|null); /** VideoMessage mimetype. */ public mimetype?: (string|null); /** VideoMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** VideoMessage fileLength. */ public fileLength?: (number|Long|null); /** VideoMessage seconds. */ public seconds?: (number|null); /** VideoMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** VideoMessage caption. */ public caption?: (string|null); /** VideoMessage gifPlayback. */ public gifPlayback?: (boolean|null); /** VideoMessage height. */ public height?: (number|null); /** VideoMessage width. */ public width?: (number|null); /** VideoMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** VideoMessage interactiveAnnotations. */ public interactiveAnnotations: waproto.IInteractiveAnnotation[]; /** VideoMessage directPath. */ public directPath?: (string|null); /** VideoMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** VideoMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** VideoMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** VideoMessage streamingSidecar. */ public streamingSidecar?: (Uint8Array|null); /** VideoMessage gifAttribution. */ public gifAttribution?: (waproto.Message.VideoMessage.Attribution|null); /** VideoMessage viewOnce. */ public viewOnce?: (boolean|null); /** VideoMessage thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** VideoMessage thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** VideoMessage thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** VideoMessage staticUrl. */ public staticUrl?: (string|null); /** VideoMessage annotations. */ public annotations: waproto.IInteractiveAnnotation[]; /** VideoMessage accessibilityLabel. */ public accessibilityLabel?: (string|null); /** VideoMessage processedVideos. */ public processedVideos: waproto.IProcessedVideo[]; /** VideoMessage externalShareFullVideoDurationInSeconds. */ public externalShareFullVideoDurationInSeconds?: (number|null); /** VideoMessage motionPhotoPresentationOffsetMs. */ public motionPhotoPresentationOffsetMs?: (number|Long|null); /** VideoMessage metadataUrl. */ public metadataUrl?: (string|null); /** VideoMessage videoSourceType. */ public videoSourceType?: (waproto.Message.VideoMessage.VideoSourceType|null); /** VideoMessage dashManifestUrl. */ public dashManifestUrl?: (string|null); /** VideoMessage smartThumbnailTs. */ public smartThumbnailTs?: (number|Long|null); /** * Creates a new VideoMessage instance using the specified properties. * @param [properties] Properties to set * @returns VideoMessage instance */ public static create(properties?: waproto.Message.IVideoMessage): waproto.Message.VideoMessage; /** * Encodes the specified VideoMessage message. Does not implicitly {@link waproto.Message.VideoMessage.verify|verify} messages. * @param message VideoMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoMessage message, length delimited. Does not implicitly {@link waproto.Message.VideoMessage.verify|verify} messages. * @param message VideoMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IVideoMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.VideoMessage; /** * Decodes a VideoMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.VideoMessage; /** * Verifies a VideoMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.VideoMessage; /** * Creates a plain object from a VideoMessage message. Also converts values to other types if specified. * @param message VideoMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.VideoMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VideoMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace VideoMessage { /** VideoSourceType enum. */ enum VideoSourceType { USER_VIDEO = 0, AI_GENERATED = 1 } /** Attribution enum. */ enum Attribution { NONE = 0, GIPHY = 1, TENOR = 2, KLIPY = 3 } } /** Properties of a MusicMessage. */ interface IMusicMessage { /** MusicMessage embeddedMusic */ embeddedMusic?: (waproto.IEmbeddedMusic|null); /** MusicMessage songUri */ songUri?: (string|null); /** MusicMessage artworkUri */ artworkUri?: (string|null); /** MusicMessage style */ style?: (number|null); /** MusicMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a MusicMessage. */ class MusicMessage implements IMusicMessage { /** * Constructs a new MusicMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMusicMessage); /** MusicMessage embeddedMusic. */ public embeddedMusic?: (waproto.IEmbeddedMusic|null); /** MusicMessage songUri. */ public songUri?: (string|null); /** MusicMessage artworkUri. */ public artworkUri?: (string|null); /** MusicMessage style. */ public style?: (number|null); /** MusicMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new MusicMessage instance using the specified properties. * @param [properties] Properties to set * @returns MusicMessage instance */ public static create(properties?: waproto.Message.IMusicMessage): waproto.Message.MusicMessage; /** * Encodes the specified MusicMessage message. Does not implicitly {@link waproto.Message.MusicMessage.verify|verify} messages. * @param message MusicMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMusicMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MusicMessage message, length delimited. Does not implicitly {@link waproto.Message.MusicMessage.verify|verify} messages. * @param message MusicMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMusicMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MusicMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MusicMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MusicMessage; /** * Decodes a MusicMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MusicMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MusicMessage; /** * Verifies a MusicMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MusicMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MusicMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.MusicMessage; /** * Creates a plain object from a MusicMessage message. Also converts values to other types if specified. * @param message MusicMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MusicMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MusicMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MusicMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MusicMessage { /** MusicMessageStyle enum. */ enum MusicMessageStyle { UNKNOWN = 0, VINYL = 1 } } /** Properties of an AudioMessage. */ interface IAudioMessage { /** AudioMessage url */ url?: (string|null); /** AudioMessage mimetype */ mimetype?: (string|null); /** AudioMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** AudioMessage fileLength */ fileLength?: (number|Long|null); /** AudioMessage seconds */ seconds?: (number|null); /** AudioMessage ptt */ ptt?: (boolean|null); /** AudioMessage mediaKey */ mediaKey?: (Uint8Array|null); /** AudioMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** AudioMessage directPath */ directPath?: (string|null); /** AudioMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** AudioMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** AudioMessage streamingSidecar */ streamingSidecar?: (Uint8Array|null); /** AudioMessage waveform */ waveform?: (Uint8Array|null); /** AudioMessage backgroundArgb */ backgroundArgb?: (number|null); /** AudioMessage viewOnce */ viewOnce?: (boolean|null); /** AudioMessage accessibilityLabel */ accessibilityLabel?: (string|null); } /** Represents an AudioMessage. */ class AudioMessage implements IAudioMessage { /** * Constructs a new AudioMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IAudioMessage); /** AudioMessage url. */ public url?: (string|null); /** AudioMessage mimetype. */ public mimetype?: (string|null); /** AudioMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** AudioMessage fileLength. */ public fileLength?: (number|Long|null); /** AudioMessage seconds. */ public seconds?: (number|null); /** AudioMessage ptt. */ public ptt?: (boolean|null); /** AudioMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** AudioMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** AudioMessage directPath. */ public directPath?: (string|null); /** AudioMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** AudioMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** AudioMessage streamingSidecar. */ public streamingSidecar?: (Uint8Array|null); /** AudioMessage waveform. */ public waveform?: (Uint8Array|null); /** AudioMessage backgroundArgb. */ public backgroundArgb?: (number|null); /** AudioMessage viewOnce. */ public viewOnce?: (boolean|null); /** AudioMessage accessibilityLabel. */ public accessibilityLabel?: (string|null); /** * Creates a new AudioMessage instance using the specified properties. * @param [properties] Properties to set * @returns AudioMessage instance */ public static create(properties?: waproto.Message.IAudioMessage): waproto.Message.AudioMessage; /** * Encodes the specified AudioMessage message. Does not implicitly {@link waproto.Message.AudioMessage.verify|verify} messages. * @param message AudioMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AudioMessage message, length delimited. Does not implicitly {@link waproto.Message.AudioMessage.verify|verify} messages. * @param message AudioMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IAudioMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AudioMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AudioMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.AudioMessage; /** * Decodes an AudioMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AudioMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.AudioMessage; /** * Verifies an AudioMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AudioMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AudioMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.AudioMessage; /** * Creates a plain object from an AudioMessage message. Also converts values to other types if specified. * @param message AudioMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.AudioMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AudioMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AudioMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DocumentMessage. */ interface IDocumentMessage { /** DocumentMessage url */ url?: (string|null); /** DocumentMessage mimetype */ mimetype?: (string|null); /** DocumentMessage title */ title?: (string|null); /** DocumentMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** DocumentMessage fileLength */ fileLength?: (number|Long|null); /** DocumentMessage pageCount */ pageCount?: (number|null); /** DocumentMessage mediaKey */ mediaKey?: (Uint8Array|null); /** DocumentMessage fileName */ fileName?: (string|null); /** DocumentMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** DocumentMessage directPath */ directPath?: (string|null); /** DocumentMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** DocumentMessage contactVcard */ contactVcard?: (boolean|null); /** DocumentMessage thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** DocumentMessage thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** DocumentMessage thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** DocumentMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** DocumentMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** DocumentMessage thumbnailHeight */ thumbnailHeight?: (number|null); /** DocumentMessage thumbnailWidth */ thumbnailWidth?: (number|null); /** DocumentMessage caption */ caption?: (string|null); /** DocumentMessage accessibilityLabel */ accessibilityLabel?: (string|null); } /** Represents a DocumentMessage. */ class DocumentMessage implements IDocumentMessage { /** * Constructs a new DocumentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IDocumentMessage); /** DocumentMessage url. */ public url?: (string|null); /** DocumentMessage mimetype. */ public mimetype?: (string|null); /** DocumentMessage title. */ public title?: (string|null); /** DocumentMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** DocumentMessage fileLength. */ public fileLength?: (number|Long|null); /** DocumentMessage pageCount. */ public pageCount?: (number|null); /** DocumentMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** DocumentMessage fileName. */ public fileName?: (string|null); /** DocumentMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** DocumentMessage directPath. */ public directPath?: (string|null); /** DocumentMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** DocumentMessage contactVcard. */ public contactVcard?: (boolean|null); /** DocumentMessage thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** DocumentMessage thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** DocumentMessage thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** DocumentMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** DocumentMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** DocumentMessage thumbnailHeight. */ public thumbnailHeight?: (number|null); /** DocumentMessage thumbnailWidth. */ public thumbnailWidth?: (number|null); /** DocumentMessage caption. */ public caption?: (string|null); /** DocumentMessage accessibilityLabel. */ public accessibilityLabel?: (string|null); /** * Creates a new DocumentMessage instance using the specified properties. * @param [properties] Properties to set * @returns DocumentMessage instance */ public static create(properties?: waproto.Message.IDocumentMessage): waproto.Message.DocumentMessage; /** * Encodes the specified DocumentMessage message. Does not implicitly {@link waproto.Message.DocumentMessage.verify|verify} messages. * @param message DocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DocumentMessage message, length delimited. Does not implicitly {@link waproto.Message.DocumentMessage.verify|verify} messages. * @param message DocumentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IDocumentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DocumentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.DocumentMessage; /** * Decodes a DocumentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DocumentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.DocumentMessage; /** * Verifies a DocumentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DocumentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DocumentMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.DocumentMessage; /** * Creates a plain object from a DocumentMessage message. Also converts values to other types if specified. * @param message DocumentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.DocumentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DocumentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DocumentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExtendedTextMessage. */ interface IExtendedTextMessage { /** ExtendedTextMessage text */ text?: (string|null); /** ExtendedTextMessage matchedText */ matchedText?: (string|null); /** ExtendedTextMessage description */ description?: (string|null); /** ExtendedTextMessage title */ title?: (string|null); /** ExtendedTextMessage textArgb */ textArgb?: (number|null); /** ExtendedTextMessage backgroundArgb */ backgroundArgb?: (number|null); /** ExtendedTextMessage font */ font?: (waproto.Message.ExtendedTextMessage.FontType|null); /** ExtendedTextMessage previewType */ previewType?: (waproto.Message.ExtendedTextMessage.PreviewType|null); /** ExtendedTextMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** ExtendedTextMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ExtendedTextMessage doNotPlayInline */ doNotPlayInline?: (boolean|null); /** ExtendedTextMessage thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** ExtendedTextMessage thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** ExtendedTextMessage thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** ExtendedTextMessage mediaKey */ mediaKey?: (Uint8Array|null); /** ExtendedTextMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** ExtendedTextMessage thumbnailHeight */ thumbnailHeight?: (number|null); /** ExtendedTextMessage thumbnailWidth */ thumbnailWidth?: (number|null); /** ExtendedTextMessage inviteLinkGroupType */ inviteLinkGroupType?: (waproto.Message.ExtendedTextMessage.InviteLinkGroupType|null); /** ExtendedTextMessage inviteLinkParentGroupSubjectV2 */ inviteLinkParentGroupSubjectV2?: (string|null); /** ExtendedTextMessage inviteLinkParentGroupThumbnailV2 */ inviteLinkParentGroupThumbnailV2?: (Uint8Array|null); /** ExtendedTextMessage inviteLinkGroupTypeV2 */ inviteLinkGroupTypeV2?: (waproto.Message.ExtendedTextMessage.InviteLinkGroupType|null); /** ExtendedTextMessage viewOnce */ viewOnce?: (boolean|null); /** ExtendedTextMessage videoHeight */ videoHeight?: (number|null); /** ExtendedTextMessage videoWidth */ videoWidth?: (number|null); /** ExtendedTextMessage faviconMmsMetadata */ faviconMmsMetadata?: (waproto.Message.IMMSThumbnailMetadata|null); /** ExtendedTextMessage linkPreviewMetadata */ linkPreviewMetadata?: (waproto.Message.ILinkPreviewMetadata|null); /** ExtendedTextMessage paymentLinkMetadata */ paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null); /** ExtendedTextMessage endCardTiles */ endCardTiles?: (waproto.Message.IVideoEndCard[]|null); /** ExtendedTextMessage videoContentUrl */ videoContentUrl?: (string|null); /** ExtendedTextMessage musicMetadata */ musicMetadata?: (waproto.IEmbeddedMusic|null); /** ExtendedTextMessage paymentExtendedMetadata */ paymentExtendedMetadata?: (waproto.Message.IPaymentExtendedMetadata|null); } /** Represents an ExtendedTextMessage. */ class ExtendedTextMessage implements IExtendedTextMessage { /** * Constructs a new ExtendedTextMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IExtendedTextMessage); /** ExtendedTextMessage text. */ public text?: (string|null); /** ExtendedTextMessage matchedText. */ public matchedText?: (string|null); /** ExtendedTextMessage description. */ public description?: (string|null); /** ExtendedTextMessage title. */ public title?: (string|null); /** ExtendedTextMessage textArgb. */ public textArgb?: (number|null); /** ExtendedTextMessage backgroundArgb. */ public backgroundArgb?: (number|null); /** ExtendedTextMessage font. */ public font?: (waproto.Message.ExtendedTextMessage.FontType|null); /** ExtendedTextMessage previewType. */ public previewType?: (waproto.Message.ExtendedTextMessage.PreviewType|null); /** ExtendedTextMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** ExtendedTextMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ExtendedTextMessage doNotPlayInline. */ public doNotPlayInline?: (boolean|null); /** ExtendedTextMessage thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** ExtendedTextMessage thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** ExtendedTextMessage thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** ExtendedTextMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** ExtendedTextMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** ExtendedTextMessage thumbnailHeight. */ public thumbnailHeight?: (number|null); /** ExtendedTextMessage thumbnailWidth. */ public thumbnailWidth?: (number|null); /** ExtendedTextMessage inviteLinkGroupType. */ public inviteLinkGroupType?: (waproto.Message.ExtendedTextMessage.InviteLinkGroupType|null); /** ExtendedTextMessage inviteLinkParentGroupSubjectV2. */ public inviteLinkParentGroupSubjectV2?: (string|null); /** ExtendedTextMessage inviteLinkParentGroupThumbnailV2. */ public inviteLinkParentGroupThumbnailV2?: (Uint8Array|null); /** ExtendedTextMessage inviteLinkGroupTypeV2. */ public inviteLinkGroupTypeV2?: (waproto.Message.ExtendedTextMessage.InviteLinkGroupType|null); /** ExtendedTextMessage viewOnce. */ public viewOnce?: (boolean|null); /** ExtendedTextMessage videoHeight. */ public videoHeight?: (number|null); /** ExtendedTextMessage videoWidth. */ public videoWidth?: (number|null); /** ExtendedTextMessage faviconMmsMetadata. */ public faviconMmsMetadata?: (waproto.Message.IMMSThumbnailMetadata|null); /** ExtendedTextMessage linkPreviewMetadata. */ public linkPreviewMetadata?: (waproto.Message.ILinkPreviewMetadata|null); /** ExtendedTextMessage paymentLinkMetadata. */ public paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null); /** ExtendedTextMessage endCardTiles. */ public endCardTiles: waproto.Message.IVideoEndCard[]; /** ExtendedTextMessage videoContentUrl. */ public videoContentUrl?: (string|null); /** ExtendedTextMessage musicMetadata. */ public musicMetadata?: (waproto.IEmbeddedMusic|null); /** ExtendedTextMessage paymentExtendedMetadata. */ public paymentExtendedMetadata?: (waproto.Message.IPaymentExtendedMetadata|null); /** * Creates a new ExtendedTextMessage instance using the specified properties. * @param [properties] Properties to set * @returns ExtendedTextMessage instance */ public static create(properties?: waproto.Message.IExtendedTextMessage): waproto.Message.ExtendedTextMessage; /** * Encodes the specified ExtendedTextMessage message. Does not implicitly {@link waproto.Message.ExtendedTextMessage.verify|verify} messages. * @param message ExtendedTextMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtendedTextMessage message, length delimited. Does not implicitly {@link waproto.Message.ExtendedTextMessage.verify|verify} messages. * @param message ExtendedTextMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IExtendedTextMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtendedTextMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExtendedTextMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ExtendedTextMessage; /** * Decodes an ExtendedTextMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExtendedTextMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ExtendedTextMessage; /** * Verifies an ExtendedTextMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtendedTextMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtendedTextMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ExtendedTextMessage; /** * Creates a plain object from an ExtendedTextMessage message. Also converts values to other types if specified. * @param message ExtendedTextMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ExtendedTextMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtendedTextMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExtendedTextMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ExtendedTextMessage { /** InviteLinkGroupType enum. */ enum InviteLinkGroupType { DEFAULT = 0, PARENT = 1, SUB = 2, DEFAULT_SUB = 3 } /** PreviewType enum. */ enum PreviewType { NONE = 0, VIDEO = 1, PLACEHOLDER = 4, IMAGE = 5, PAYMENT_LINKS = 6, PROFILE = 7 } /** FontType enum. */ enum FontType { SYSTEM = 0, SYSTEM_TEXT = 1, FB_SCRIPT = 2, SYSTEM_BOLD = 6, MORNINGBREEZE_REGULAR = 7, CALISTOGA_REGULAR = 8, EXO2_EXTRABOLD = 9, COURIERPRIME_BOLD = 10 } } /** Properties of a LinkPreviewMetadata. */ interface ILinkPreviewMetadata { /** LinkPreviewMetadata paymentLinkMetadata */ paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null); /** LinkPreviewMetadata urlMetadata */ urlMetadata?: (waproto.Message.IURLMetadata|null); /** LinkPreviewMetadata fbExperimentId */ fbExperimentId?: (number|null); /** LinkPreviewMetadata linkMediaDuration */ linkMediaDuration?: (number|null); /** LinkPreviewMetadata socialMediaPostType */ socialMediaPostType?: (waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null); /** LinkPreviewMetadata linkInlineVideoMuted */ linkInlineVideoMuted?: (boolean|null); /** LinkPreviewMetadata videoContentUrl */ videoContentUrl?: (string|null); /** LinkPreviewMetadata musicMetadata */ musicMetadata?: (waproto.IEmbeddedMusic|null); /** LinkPreviewMetadata videoContentCaption */ videoContentCaption?: (string|null); } /** Represents a LinkPreviewMetadata. */ class LinkPreviewMetadata implements ILinkPreviewMetadata { /** * Constructs a new LinkPreviewMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ILinkPreviewMetadata); /** LinkPreviewMetadata paymentLinkMetadata. */ public paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null); /** LinkPreviewMetadata urlMetadata. */ public urlMetadata?: (waproto.Message.IURLMetadata|null); /** LinkPreviewMetadata fbExperimentId. */ public fbExperimentId?: (number|null); /** LinkPreviewMetadata linkMediaDuration. */ public linkMediaDuration?: (number|null); /** LinkPreviewMetadata socialMediaPostType. */ public socialMediaPostType?: (waproto.Message.LinkPreviewMetadata.SocialMediaPostType|null); /** LinkPreviewMetadata linkInlineVideoMuted. */ public linkInlineVideoMuted?: (boolean|null); /** LinkPreviewMetadata videoContentUrl. */ public videoContentUrl?: (string|null); /** LinkPreviewMetadata musicMetadata. */ public musicMetadata?: (waproto.IEmbeddedMusic|null); /** LinkPreviewMetadata videoContentCaption. */ public videoContentCaption?: (string|null); /** * Creates a new LinkPreviewMetadata instance using the specified properties. * @param [properties] Properties to set * @returns LinkPreviewMetadata instance */ public static create(properties?: waproto.Message.ILinkPreviewMetadata): waproto.Message.LinkPreviewMetadata; /** * Encodes the specified LinkPreviewMetadata message. Does not implicitly {@link waproto.Message.LinkPreviewMetadata.verify|verify} messages. * @param message LinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.LinkPreviewMetadata.verify|verify} messages. * @param message LinkPreviewMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LinkPreviewMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.LinkPreviewMetadata; /** * Decodes a LinkPreviewMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LinkPreviewMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.LinkPreviewMetadata; /** * Verifies a LinkPreviewMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LinkPreviewMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LinkPreviewMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.LinkPreviewMetadata; /** * Creates a plain object from a LinkPreviewMetadata message. Also converts values to other types if specified. * @param message LinkPreviewMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.LinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LinkPreviewMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LinkPreviewMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LinkPreviewMetadata { /** SocialMediaPostType enum. */ enum SocialMediaPostType { NONE = 0, REEL = 1, LIVE_VIDEO = 2, LONG_VIDEO = 3, SINGLE_IMAGE = 4, CAROUSEL = 5 } } /** Properties of a URLMetadata. */ interface IURLMetadata { /** URLMetadata fbExperimentId */ fbExperimentId?: (number|null); } /** Represents a URLMetadata. */ class URLMetadata implements IURLMetadata { /** * Constructs a new URLMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IURLMetadata); /** URLMetadata fbExperimentId. */ public fbExperimentId?: (number|null); /** * Creates a new URLMetadata instance using the specified properties. * @param [properties] Properties to set * @returns URLMetadata instance */ public static create(properties?: waproto.Message.IURLMetadata): waproto.Message.URLMetadata; /** * Encodes the specified URLMetadata message. Does not implicitly {@link waproto.Message.URLMetadata.verify|verify} messages. * @param message URLMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IURLMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified URLMetadata message, length delimited. Does not implicitly {@link waproto.Message.URLMetadata.verify|verify} messages. * @param message URLMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IURLMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a URLMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns URLMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.URLMetadata; /** * Decodes a URLMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns URLMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.URLMetadata; /** * Verifies a URLMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a URLMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns URLMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.URLMetadata; /** * Creates a plain object from a URLMetadata message. Also converts values to other types if specified. * @param message URLMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.URLMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this URLMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for URLMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentExtendedMetadata. */ interface IPaymentExtendedMetadata { /** PaymentExtendedMetadata type */ type?: (number|null); /** PaymentExtendedMetadata platform */ platform?: (string|null); /** PaymentExtendedMetadata messageParamsJson */ messageParamsJson?: (string|null); } /** Represents a PaymentExtendedMetadata. */ class PaymentExtendedMetadata implements IPaymentExtendedMetadata { /** * Constructs a new PaymentExtendedMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPaymentExtendedMetadata); /** PaymentExtendedMetadata type. */ public type?: (number|null); /** PaymentExtendedMetadata platform. */ public platform?: (string|null); /** PaymentExtendedMetadata messageParamsJson. */ public messageParamsJson?: (string|null); /** * Creates a new PaymentExtendedMetadata instance using the specified properties. * @param [properties] Properties to set * @returns PaymentExtendedMetadata instance */ public static create(properties?: waproto.Message.IPaymentExtendedMetadata): waproto.Message.PaymentExtendedMetadata; /** * Encodes the specified PaymentExtendedMetadata message. Does not implicitly {@link waproto.Message.PaymentExtendedMetadata.verify|verify} messages. * @param message PaymentExtendedMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPaymentExtendedMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentExtendedMetadata message, length delimited. Does not implicitly {@link waproto.Message.PaymentExtendedMetadata.verify|verify} messages. * @param message PaymentExtendedMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPaymentExtendedMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentExtendedMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentExtendedMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentExtendedMetadata; /** * Decodes a PaymentExtendedMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentExtendedMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentExtendedMetadata; /** * Verifies a PaymentExtendedMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentExtendedMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentExtendedMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentExtendedMetadata; /** * Creates a plain object from a PaymentExtendedMetadata message. Also converts values to other types if specified. * @param message PaymentExtendedMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentExtendedMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentExtendedMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentExtendedMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentLinkMetadata. */ interface IPaymentLinkMetadata { /** PaymentLinkMetadata button */ button?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkButton|null); /** PaymentLinkMetadata header */ header?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null); /** PaymentLinkMetadata provider */ provider?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider|null); } /** Represents a PaymentLinkMetadata. */ class PaymentLinkMetadata implements IPaymentLinkMetadata { /** * Constructs a new PaymentLinkMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IPaymentLinkMetadata); /** PaymentLinkMetadata button. */ public button?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkButton|null); /** PaymentLinkMetadata header. */ public header?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null); /** PaymentLinkMetadata provider. */ public provider?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider|null); /** * Creates a new PaymentLinkMetadata instance using the specified properties. * @param [properties] Properties to set * @returns PaymentLinkMetadata instance */ public static create(properties?: waproto.Message.IPaymentLinkMetadata): waproto.Message.PaymentLinkMetadata; /** * Encodes the specified PaymentLinkMetadata message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.verify|verify} messages. * @param message PaymentLinkMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentLinkMetadata message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.verify|verify} messages. * @param message PaymentLinkMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentLinkMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentLinkMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata; /** * Decodes a PaymentLinkMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentLinkMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata; /** * Verifies a PaymentLinkMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentLinkMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentLinkMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata; /** * Creates a plain object from a PaymentLinkMetadata message. Also converts values to other types if specified. * @param message PaymentLinkMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentLinkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentLinkMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentLinkMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentLinkMetadata { /** Properties of a PaymentLinkProvider. */ interface IPaymentLinkProvider { /** PaymentLinkProvider paramsJson */ paramsJson?: (string|null); } /** Represents a PaymentLinkProvider. */ class PaymentLinkProvider implements IPaymentLinkProvider { /** * Constructs a new PaymentLinkProvider. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider); /** PaymentLinkProvider paramsJson. */ public paramsJson?: (string|null); /** * Creates a new PaymentLinkProvider instance using the specified properties. * @param [properties] Properties to set * @returns PaymentLinkProvider instance */ public static create(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider): waproto.Message.PaymentLinkMetadata.PaymentLinkProvider; /** * Encodes the specified PaymentLinkProvider message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages. * @param message PaymentLinkProvider message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentLinkProvider message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages. * @param message PaymentLinkProvider message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentLinkProvider message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentLinkProvider * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata.PaymentLinkProvider; /** * Decodes a PaymentLinkProvider message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentLinkProvider * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata.PaymentLinkProvider; /** * Verifies a PaymentLinkProvider message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentLinkProvider message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentLinkProvider */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata.PaymentLinkProvider; /** * Creates a plain object from a PaymentLinkProvider message. Also converts values to other types if specified. * @param message PaymentLinkProvider * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentLinkMetadata.PaymentLinkProvider, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentLinkProvider to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentLinkProvider * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentLinkHeader. */ interface IPaymentLinkHeader { /** PaymentLinkHeader headerType */ headerType?: (waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType|null); } /** Represents a PaymentLinkHeader. */ class PaymentLinkHeader implements IPaymentLinkHeader { /** * Constructs a new PaymentLinkHeader. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader); /** PaymentLinkHeader headerType. */ public headerType?: (waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType|null); /** * Creates a new PaymentLinkHeader instance using the specified properties. * @param [properties] Properties to set * @returns PaymentLinkHeader instance */ public static create(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader; /** * Encodes the specified PaymentLinkHeader message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages. * @param message PaymentLinkHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentLinkHeader message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages. * @param message PaymentLinkHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentLinkHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentLinkHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader; /** * Decodes a PaymentLinkHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentLinkHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader; /** * Verifies a PaymentLinkHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentLinkHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentLinkHeader */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader; /** * Creates a plain object from a PaymentLinkHeader message. Also converts values to other types if specified. * @param message PaymentLinkHeader * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentLinkMetadata.PaymentLinkHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentLinkHeader to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentLinkHeader * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentLinkHeader { /** PaymentLinkHeaderType enum. */ enum PaymentLinkHeaderType { LINK_PREVIEW = 0, ORDER = 1 } } /** Properties of a PaymentLinkButton. */ interface IPaymentLinkButton { /** PaymentLinkButton displayText */ displayText?: (string|null); } /** Represents a PaymentLinkButton. */ class PaymentLinkButton implements IPaymentLinkButton { /** * Constructs a new PaymentLinkButton. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton); /** PaymentLinkButton displayText. */ public displayText?: (string|null); /** * Creates a new PaymentLinkButton instance using the specified properties. * @param [properties] Properties to set * @returns PaymentLinkButton instance */ public static create(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton): waproto.Message.PaymentLinkMetadata.PaymentLinkButton; /** * Encodes the specified PaymentLinkButton message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages. * @param message PaymentLinkButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentLinkButton message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages. * @param message PaymentLinkButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentLinkButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentLinkButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata.PaymentLinkButton; /** * Decodes a PaymentLinkButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentLinkButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata.PaymentLinkButton; /** * Verifies a PaymentLinkButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentLinkButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentLinkButton */ public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata.PaymentLinkButton; /** * Creates a plain object from a PaymentLinkButton message. Also converts values to other types if specified. * @param message PaymentLinkButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.PaymentLinkMetadata.PaymentLinkButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentLinkButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentLinkButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MMSThumbnailMetadata. */ interface IMMSThumbnailMetadata { /** MMSThumbnailMetadata thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** MMSThumbnailMetadata thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** MMSThumbnailMetadata thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** MMSThumbnailMetadata mediaKey */ mediaKey?: (Uint8Array|null); /** MMSThumbnailMetadata mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** MMSThumbnailMetadata thumbnailHeight */ thumbnailHeight?: (number|null); /** MMSThumbnailMetadata thumbnailWidth */ thumbnailWidth?: (number|null); } /** Represents a MMSThumbnailMetadata. */ class MMSThumbnailMetadata implements IMMSThumbnailMetadata { /** * Constructs a new MMSThumbnailMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IMMSThumbnailMetadata); /** MMSThumbnailMetadata thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** MMSThumbnailMetadata thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** MMSThumbnailMetadata thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** MMSThumbnailMetadata mediaKey. */ public mediaKey?: (Uint8Array|null); /** MMSThumbnailMetadata mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** MMSThumbnailMetadata thumbnailHeight. */ public thumbnailHeight?: (number|null); /** MMSThumbnailMetadata thumbnailWidth. */ public thumbnailWidth?: (number|null); /** * Creates a new MMSThumbnailMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MMSThumbnailMetadata instance */ public static create(properties?: waproto.Message.IMMSThumbnailMetadata): waproto.Message.MMSThumbnailMetadata; /** * Encodes the specified MMSThumbnailMetadata message. Does not implicitly {@link waproto.Message.MMSThumbnailMetadata.verify|verify} messages. * @param message MMSThumbnailMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MMSThumbnailMetadata message, length delimited. Does not implicitly {@link waproto.Message.MMSThumbnailMetadata.verify|verify} messages. * @param message MMSThumbnailMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MMSThumbnailMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MMSThumbnailMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MMSThumbnailMetadata; /** * Decodes a MMSThumbnailMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MMSThumbnailMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MMSThumbnailMetadata; /** * Verifies a MMSThumbnailMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MMSThumbnailMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MMSThumbnailMetadata */ public static fromObject(object: { [k: string]: any }): waproto.Message.MMSThumbnailMetadata; /** * Creates a plain object from a MMSThumbnailMetadata message. Also converts values to other types if specified. * @param message MMSThumbnailMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.MMSThumbnailMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MMSThumbnailMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MMSThumbnailMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocationMessage. */ interface ILocationMessage { /** LocationMessage degreesLatitude */ degreesLatitude?: (number|null); /** LocationMessage degreesLongitude */ degreesLongitude?: (number|null); /** LocationMessage name */ name?: (string|null); /** LocationMessage address */ address?: (string|null); /** LocationMessage url */ url?: (string|null); /** LocationMessage isLive */ isLive?: (boolean|null); /** LocationMessage accuracyInMeters */ accuracyInMeters?: (number|null); /** LocationMessage speedInMps */ speedInMps?: (number|null); /** LocationMessage degreesClockwiseFromMagneticNorth */ degreesClockwiseFromMagneticNorth?: (number|null); /** LocationMessage comment */ comment?: (string|null); /** LocationMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** LocationMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); } /** Represents a LocationMessage. */ class LocationMessage implements ILocationMessage { /** * Constructs a new LocationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ILocationMessage); /** LocationMessage degreesLatitude. */ public degreesLatitude?: (number|null); /** LocationMessage degreesLongitude. */ public degreesLongitude?: (number|null); /** LocationMessage name. */ public name?: (string|null); /** LocationMessage address. */ public address?: (string|null); /** LocationMessage url. */ public url?: (string|null); /** LocationMessage isLive. */ public isLive?: (boolean|null); /** LocationMessage accuracyInMeters. */ public accuracyInMeters?: (number|null); /** LocationMessage speedInMps. */ public speedInMps?: (number|null); /** LocationMessage degreesClockwiseFromMagneticNorth. */ public degreesClockwiseFromMagneticNorth?: (number|null); /** LocationMessage comment. */ public comment?: (string|null); /** LocationMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** LocationMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** * Creates a new LocationMessage instance using the specified properties. * @param [properties] Properties to set * @returns LocationMessage instance */ public static create(properties?: waproto.Message.ILocationMessage): waproto.Message.LocationMessage; /** * Encodes the specified LocationMessage message. Does not implicitly {@link waproto.Message.LocationMessage.verify|verify} messages. * @param message LocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocationMessage message, length delimited. Does not implicitly {@link waproto.Message.LocationMessage.verify|verify} messages. * @param message LocationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ILocationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.LocationMessage; /** * Decodes a LocationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.LocationMessage; /** * Verifies a LocationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.LocationMessage; /** * Creates a plain object from a LocationMessage message. Also converts values to other types if specified. * @param message LocationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.LocationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LocationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusNotificationMessage. */ interface IStatusNotificationMessage { /** StatusNotificationMessage responseMessageKey */ responseMessageKey?: (waproto.IMessageKey|null); /** StatusNotificationMessage originalMessageKey */ originalMessageKey?: (waproto.IMessageKey|null); /** StatusNotificationMessage type */ type?: (waproto.Message.StatusNotificationMessage.StatusNotificationType|null); } /** Represents a StatusNotificationMessage. */ class StatusNotificationMessage implements IStatusNotificationMessage { /** * Constructs a new StatusNotificationMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IStatusNotificationMessage); /** StatusNotificationMessage responseMessageKey. */ public responseMessageKey?: (waproto.IMessageKey|null); /** StatusNotificationMessage originalMessageKey. */ public originalMessageKey?: (waproto.IMessageKey|null); /** StatusNotificationMessage type. */ public type?: (waproto.Message.StatusNotificationMessage.StatusNotificationType|null); /** * Creates a new StatusNotificationMessage instance using the specified properties. * @param [properties] Properties to set * @returns StatusNotificationMessage instance */ public static create(properties?: waproto.Message.IStatusNotificationMessage): waproto.Message.StatusNotificationMessage; /** * Encodes the specified StatusNotificationMessage message. Does not implicitly {@link waproto.Message.StatusNotificationMessage.verify|verify} messages. * @param message StatusNotificationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IStatusNotificationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusNotificationMessage message, length delimited. Does not implicitly {@link waproto.Message.StatusNotificationMessage.verify|verify} messages. * @param message StatusNotificationMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IStatusNotificationMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusNotificationMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusNotificationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.StatusNotificationMessage; /** * Decodes a StatusNotificationMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusNotificationMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.StatusNotificationMessage; /** * Verifies a StatusNotificationMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusNotificationMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusNotificationMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.StatusNotificationMessage; /** * Creates a plain object from a StatusNotificationMessage message. Also converts values to other types if specified. * @param message StatusNotificationMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.StatusNotificationMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusNotificationMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusNotificationMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusNotificationMessage { /** StatusNotificationType enum. */ enum StatusNotificationType { UNKNOWN = 0, STATUS_ADD_YOURS = 1, STATUS_RESHARE = 2, STATUS_QUESTION_ANSWER_RESHARE = 3, STATUS_GROUP_STATUS_REPLY = 4 } } /** Properties of a ContactMessage. */ interface IContactMessage { /** ContactMessage displayName */ displayName?: (string|null); /** ContactMessage vcard */ vcard?: (string|null); /** ContactMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ContactMessage isSelfContact */ isSelfContact?: (boolean|null); } /** Represents a ContactMessage. */ class ContactMessage implements IContactMessage { /** * Constructs a new ContactMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IContactMessage); /** ContactMessage displayName. */ public displayName?: (string|null); /** ContactMessage vcard. */ public vcard?: (string|null); /** ContactMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ContactMessage isSelfContact. */ public isSelfContact?: (boolean|null); /** * Creates a new ContactMessage instance using the specified properties. * @param [properties] Properties to set * @returns ContactMessage instance */ public static create(properties?: waproto.Message.IContactMessage): waproto.Message.ContactMessage; /** * Encodes the specified ContactMessage message. Does not implicitly {@link waproto.Message.ContactMessage.verify|verify} messages. * @param message ContactMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactMessage message, length delimited. Does not implicitly {@link waproto.Message.ContactMessage.verify|verify} messages. * @param message ContactMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IContactMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ContactMessage; /** * Decodes a ContactMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ContactMessage; /** * Verifies a ContactMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ContactMessage; /** * Creates a plain object from a ContactMessage message. Also converts values to other types if specified. * @param message ContactMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ContactMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InvoiceMessage. */ interface IInvoiceMessage { /** InvoiceMessage note */ note?: (string|null); /** InvoiceMessage token */ token?: (string|null); /** InvoiceMessage attachmentType */ attachmentType?: (waproto.Message.InvoiceMessage.AttachmentType|null); /** InvoiceMessage attachmentMimetype */ attachmentMimetype?: (string|null); /** InvoiceMessage attachmentMediaKey */ attachmentMediaKey?: (Uint8Array|null); /** InvoiceMessage attachmentMediaKeyTimestamp */ attachmentMediaKeyTimestamp?: (number|Long|null); /** InvoiceMessage attachmentFileSha256 */ attachmentFileSha256?: (Uint8Array|null); /** InvoiceMessage attachmentFileEncSha256 */ attachmentFileEncSha256?: (Uint8Array|null); /** InvoiceMessage attachmentDirectPath */ attachmentDirectPath?: (string|null); /** InvoiceMessage attachmentJpegThumbnail */ attachmentJpegThumbnail?: (Uint8Array|null); } /** Represents an InvoiceMessage. */ class InvoiceMessage implements IInvoiceMessage { /** * Constructs a new InvoiceMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IInvoiceMessage); /** InvoiceMessage note. */ public note?: (string|null); /** InvoiceMessage token. */ public token?: (string|null); /** InvoiceMessage attachmentType. */ public attachmentType?: (waproto.Message.InvoiceMessage.AttachmentType|null); /** InvoiceMessage attachmentMimetype. */ public attachmentMimetype?: (string|null); /** InvoiceMessage attachmentMediaKey. */ public attachmentMediaKey?: (Uint8Array|null); /** InvoiceMessage attachmentMediaKeyTimestamp. */ public attachmentMediaKeyTimestamp?: (number|Long|null); /** InvoiceMessage attachmentFileSha256. */ public attachmentFileSha256?: (Uint8Array|null); /** InvoiceMessage attachmentFileEncSha256. */ public attachmentFileEncSha256?: (Uint8Array|null); /** InvoiceMessage attachmentDirectPath. */ public attachmentDirectPath?: (string|null); /** InvoiceMessage attachmentJpegThumbnail. */ public attachmentJpegThumbnail?: (Uint8Array|null); /** * Creates a new InvoiceMessage instance using the specified properties. * @param [properties] Properties to set * @returns InvoiceMessage instance */ public static create(properties?: waproto.Message.IInvoiceMessage): waproto.Message.InvoiceMessage; /** * Encodes the specified InvoiceMessage message. Does not implicitly {@link waproto.Message.InvoiceMessage.verify|verify} messages. * @param message InvoiceMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InvoiceMessage message, length delimited. Does not implicitly {@link waproto.Message.InvoiceMessage.verify|verify} messages. * @param message InvoiceMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IInvoiceMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InvoiceMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InvoiceMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.InvoiceMessage; /** * Decodes an InvoiceMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InvoiceMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.InvoiceMessage; /** * Verifies an InvoiceMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InvoiceMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InvoiceMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.InvoiceMessage; /** * Creates a plain object from an InvoiceMessage message. Also converts values to other types if specified. * @param message InvoiceMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.InvoiceMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InvoiceMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InvoiceMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InvoiceMessage { /** AttachmentType enum. */ enum AttachmentType { IMAGE = 0, PDF = 1 } } /** Properties of an ImageMessage. */ interface IImageMessage { /** ImageMessage url */ url?: (string|null); /** ImageMessage mimetype */ mimetype?: (string|null); /** ImageMessage caption */ caption?: (string|null); /** ImageMessage fileSha256 */ fileSha256?: (Uint8Array|null); /** ImageMessage fileLength */ fileLength?: (number|Long|null); /** ImageMessage height */ height?: (number|null); /** ImageMessage width */ width?: (number|null); /** ImageMessage mediaKey */ mediaKey?: (Uint8Array|null); /** ImageMessage fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** ImageMessage interactiveAnnotations */ interactiveAnnotations?: (waproto.IInteractiveAnnotation[]|null); /** ImageMessage directPath */ directPath?: (string|null); /** ImageMessage mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** ImageMessage jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** ImageMessage contextInfo */ contextInfo?: (waproto.IContextInfo|null); /** ImageMessage firstScanSidecar */ firstScanSidecar?: (Uint8Array|null); /** ImageMessage firstScanLength */ firstScanLength?: (number|null); /** ImageMessage experimentGroupId */ experimentGroupId?: (number|null); /** ImageMessage scansSidecar */ scansSidecar?: (Uint8Array|null); /** ImageMessage scanLengths */ scanLengths?: (number[]|null); /** ImageMessage midQualityFileSha256 */ midQualityFileSha256?: (Uint8Array|null); /** ImageMessage midQualityFileEncSha256 */ midQualityFileEncSha256?: (Uint8Array|null); /** ImageMessage viewOnce */ viewOnce?: (boolean|null); /** ImageMessage thumbnailDirectPath */ thumbnailDirectPath?: (string|null); /** ImageMessage thumbnailSha256 */ thumbnailSha256?: (Uint8Array|null); /** ImageMessage thumbnailEncSha256 */ thumbnailEncSha256?: (Uint8Array|null); /** ImageMessage staticUrl */ staticUrl?: (string|null); /** ImageMessage annotations */ annotations?: (waproto.IInteractiveAnnotation[]|null); /** ImageMessage imageSourceType */ imageSourceType?: (waproto.Message.ImageMessage.ImageSourceType|null); /** ImageMessage accessibilityLabel */ accessibilityLabel?: (string|null); /** ImageMessage qrUrl */ qrUrl?: (string|null); } /** Represents an ImageMessage. */ class ImageMessage implements IImageMessage { /** * Constructs a new ImageMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IImageMessage); /** ImageMessage url. */ public url?: (string|null); /** ImageMessage mimetype. */ public mimetype?: (string|null); /** ImageMessage caption. */ public caption?: (string|null); /** ImageMessage fileSha256. */ public fileSha256?: (Uint8Array|null); /** ImageMessage fileLength. */ public fileLength?: (number|Long|null); /** ImageMessage height. */ public height?: (number|null); /** ImageMessage width. */ public width?: (number|null); /** ImageMessage mediaKey. */ public mediaKey?: (Uint8Array|null); /** ImageMessage fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** ImageMessage interactiveAnnotations. */ public interactiveAnnotations: waproto.IInteractiveAnnotation[]; /** ImageMessage directPath. */ public directPath?: (string|null); /** ImageMessage mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** ImageMessage jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** ImageMessage contextInfo. */ public contextInfo?: (waproto.IContextInfo|null); /** ImageMessage firstScanSidecar. */ public firstScanSidecar?: (Uint8Array|null); /** ImageMessage firstScanLength. */ public firstScanLength?: (number|null); /** ImageMessage experimentGroupId. */ public experimentGroupId?: (number|null); /** ImageMessage scansSidecar. */ public scansSidecar?: (Uint8Array|null); /** ImageMessage scanLengths. */ public scanLengths: number[]; /** ImageMessage midQualityFileSha256. */ public midQualityFileSha256?: (Uint8Array|null); /** ImageMessage midQualityFileEncSha256. */ public midQualityFileEncSha256?: (Uint8Array|null); /** ImageMessage viewOnce. */ public viewOnce?: (boolean|null); /** ImageMessage thumbnailDirectPath. */ public thumbnailDirectPath?: (string|null); /** ImageMessage thumbnailSha256. */ public thumbnailSha256?: (Uint8Array|null); /** ImageMessage thumbnailEncSha256. */ public thumbnailEncSha256?: (Uint8Array|null); /** ImageMessage staticUrl. */ public staticUrl?: (string|null); /** ImageMessage annotations. */ public annotations: waproto.IInteractiveAnnotation[]; /** ImageMessage imageSourceType. */ public imageSourceType?: (waproto.Message.ImageMessage.ImageSourceType|null); /** ImageMessage accessibilityLabel. */ public accessibilityLabel?: (string|null); /** ImageMessage qrUrl. */ public qrUrl?: (string|null); /** * Creates a new ImageMessage instance using the specified properties. * @param [properties] Properties to set * @returns ImageMessage instance */ public static create(properties?: waproto.Message.IImageMessage): waproto.Message.ImageMessage; /** * Encodes the specified ImageMessage message. Does not implicitly {@link waproto.Message.ImageMessage.verify|verify} messages. * @param message ImageMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ImageMessage message, length delimited. Does not implicitly {@link waproto.Message.ImageMessage.verify|verify} messages. * @param message ImageMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IImageMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ImageMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ImageMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ImageMessage; /** * Decodes an ImageMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ImageMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ImageMessage; /** * Verifies an ImageMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ImageMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ImageMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.ImageMessage; /** * Creates a plain object from an ImageMessage message. Also converts values to other types if specified. * @param message ImageMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.ImageMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ImageMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ImageMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ImageMessage { /** ImageSourceType enum. */ enum ImageSourceType { USER_IMAGE = 0, AI_GENERATED = 1, AI_MODIFIED = 2, RASTERIZED_TEXT_STATUS = 3 } } /** Properties of a RootSecretDistributeMessage. */ interface IRootSecretDistributeMessage { /** RootSecretDistributeMessage chatJid */ chatJid?: (string|null); } /** Represents a RootSecretDistributeMessage. */ class RootSecretDistributeMessage implements IRootSecretDistributeMessage { /** * Constructs a new RootSecretDistributeMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IRootSecretDistributeMessage); /** RootSecretDistributeMessage chatJid. */ public chatJid?: (string|null); /** * Creates a new RootSecretDistributeMessage instance using the specified properties. * @param [properties] Properties to set * @returns RootSecretDistributeMessage instance */ public static create(properties?: waproto.Message.IRootSecretDistributeMessage): waproto.Message.RootSecretDistributeMessage; /** * Encodes the specified RootSecretDistributeMessage message. Does not implicitly {@link waproto.Message.RootSecretDistributeMessage.verify|verify} messages. * @param message RootSecretDistributeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IRootSecretDistributeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RootSecretDistributeMessage message, length delimited. Does not implicitly {@link waproto.Message.RootSecretDistributeMessage.verify|verify} messages. * @param message RootSecretDistributeMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IRootSecretDistributeMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RootSecretDistributeMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RootSecretDistributeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.RootSecretDistributeMessage; /** * Decodes a RootSecretDistributeMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RootSecretDistributeMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.RootSecretDistributeMessage; /** * Verifies a RootSecretDistributeMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RootSecretDistributeMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RootSecretDistributeMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.RootSecretDistributeMessage; /** * Creates a plain object from a RootSecretDistributeMessage message. Also converts values to other types if specified. * @param message RootSecretDistributeMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.RootSecretDistributeMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RootSecretDistributeMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RootSecretDistributeMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderKeyDistributionMessage. */ interface ISenderKeyDistributionMessage { /** SenderKeyDistributionMessage groupId */ groupId?: (string|null); /** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage */ axolotlSenderKeyDistributionMessage?: (Uint8Array|null); } /** Represents a SenderKeyDistributionMessage. */ class SenderKeyDistributionMessage implements ISenderKeyDistributionMessage { /** * Constructs a new SenderKeyDistributionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.ISenderKeyDistributionMessage); /** SenderKeyDistributionMessage groupId. */ public groupId?: (string|null); /** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage. */ public axolotlSenderKeyDistributionMessage?: (Uint8Array|null); /** * Creates a new SenderKeyDistributionMessage instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyDistributionMessage instance */ public static create(properties?: waproto.Message.ISenderKeyDistributionMessage): waproto.Message.SenderKeyDistributionMessage; /** * Encodes the specified SenderKeyDistributionMessage message. Does not implicitly {@link waproto.Message.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyDistributionMessage message, length delimited. Does not implicitly {@link waproto.Message.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.SenderKeyDistributionMessage; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.SenderKeyDistributionMessage; /** * Verifies a SenderKeyDistributionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyDistributionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyDistributionMessage */ public static fromObject(object: { [k: string]: any }): waproto.Message.SenderKeyDistributionMessage; /** * Creates a plain object from a SenderKeyDistributionMessage message. Also converts values to other types if specified. * @param message SenderKeyDistributionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.SenderKeyDistributionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyDistributionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyDistributionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VideoEndCard. */ interface IVideoEndCard { /** VideoEndCard username */ username?: (string|null); /** VideoEndCard caption */ caption?: (string|null); /** VideoEndCard thumbnailImageUrl */ thumbnailImageUrl?: (string|null); /** VideoEndCard profilePictureUrl */ profilePictureUrl?: (string|null); } /** Represents a VideoEndCard. */ class VideoEndCard implements IVideoEndCard { /** * Constructs a new VideoEndCard. * @param [properties] Properties to set */ constructor(properties?: waproto.Message.IVideoEndCard); /** VideoEndCard username. */ public username?: (string|null); /** VideoEndCard caption. */ public caption?: (string|null); /** VideoEndCard thumbnailImageUrl. */ public thumbnailImageUrl?: (string|null); /** VideoEndCard profilePictureUrl. */ public profilePictureUrl?: (string|null); /** * Creates a new VideoEndCard instance using the specified properties. * @param [properties] Properties to set * @returns VideoEndCard instance */ public static create(properties?: waproto.Message.IVideoEndCard): waproto.Message.VideoEndCard; /** * Encodes the specified VideoEndCard message. Does not implicitly {@link waproto.Message.VideoEndCard.verify|verify} messages. * @param message VideoEndCard message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.Message.IVideoEndCard, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoEndCard message, length delimited. Does not implicitly {@link waproto.Message.VideoEndCard.verify|verify} messages. * @param message VideoEndCard message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.Message.IVideoEndCard, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoEndCard message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoEndCard * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.VideoEndCard; /** * Decodes a VideoEndCard message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoEndCard * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.VideoEndCard; /** * Verifies a VideoEndCard message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoEndCard message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoEndCard */ public static fromObject(object: { [k: string]: any }): waproto.Message.VideoEndCard; /** * Creates a plain object from a VideoEndCard message. Also converts values to other types if specified. * @param message VideoEndCard * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Message.VideoEndCard, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoEndCard to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VideoEndCard * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MessageAddOn. */ interface IMessageAddOn { /** MessageAddOn messageAddOnType */ messageAddOnType?: (waproto.MessageAddOn.MessageAddOnType|null); /** MessageAddOn messageAddOn */ messageAddOn?: (waproto.IMessage|null); /** MessageAddOn senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** MessageAddOn serverTimestampMs */ serverTimestampMs?: (number|Long|null); /** MessageAddOn status */ status?: (waproto.WebMessageInfo.Status|null); /** MessageAddOn addOnContextInfo */ addOnContextInfo?: (waproto.IMessageAddOnContextInfo|null); /** MessageAddOn messageAddOnKey */ messageAddOnKey?: (waproto.IMessageKey|null); /** MessageAddOn legacyMessage */ legacyMessage?: (waproto.ILegacyMessage|null); } /** Represents a MessageAddOn. */ class MessageAddOn implements IMessageAddOn { /** * Constructs a new MessageAddOn. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageAddOn); /** MessageAddOn messageAddOnType. */ public messageAddOnType?: (waproto.MessageAddOn.MessageAddOnType|null); /** MessageAddOn messageAddOn. */ public messageAddOn?: (waproto.IMessage|null); /** MessageAddOn senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** MessageAddOn serverTimestampMs. */ public serverTimestampMs?: (number|Long|null); /** MessageAddOn status. */ public status?: (waproto.WebMessageInfo.Status|null); /** MessageAddOn addOnContextInfo. */ public addOnContextInfo?: (waproto.IMessageAddOnContextInfo|null); /** MessageAddOn messageAddOnKey. */ public messageAddOnKey?: (waproto.IMessageKey|null); /** MessageAddOn legacyMessage. */ public legacyMessage?: (waproto.ILegacyMessage|null); /** * Creates a new MessageAddOn instance using the specified properties. * @param [properties] Properties to set * @returns MessageAddOn instance */ public static create(properties?: waproto.IMessageAddOn): waproto.MessageAddOn; /** * Encodes the specified MessageAddOn message. Does not implicitly {@link waproto.MessageAddOn.verify|verify} messages. * @param message MessageAddOn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageAddOn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageAddOn message, length delimited. Does not implicitly {@link waproto.MessageAddOn.verify|verify} messages. * @param message MessageAddOn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageAddOn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageAddOn message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageAddOn * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageAddOn; /** * Decodes a MessageAddOn message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageAddOn * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageAddOn; /** * Verifies a MessageAddOn message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageAddOn message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageAddOn */ public static fromObject(object: { [k: string]: any }): waproto.MessageAddOn; /** * Creates a plain object from a MessageAddOn message. Also converts values to other types if specified. * @param message MessageAddOn * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageAddOn, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageAddOn to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageAddOn * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessageAddOn { /** MessageAddOnType enum. */ enum MessageAddOnType { UNDEFINED = 0, REACTION = 1, EVENT_RESPONSE = 2, POLL_UPDATE = 3, PIN_IN_CHAT = 4 } } /** Properties of a MessageAddOnContextInfo. */ interface IMessageAddOnContextInfo { /** MessageAddOnContextInfo messageAddOnDurationInSecs */ messageAddOnDurationInSecs?: (number|null); /** MessageAddOnContextInfo messageAddOnExpiryType */ messageAddOnExpiryType?: (waproto.MessageContextInfo.MessageAddonExpiryType|null); } /** Represents a MessageAddOnContextInfo. */ class MessageAddOnContextInfo implements IMessageAddOnContextInfo { /** * Constructs a new MessageAddOnContextInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageAddOnContextInfo); /** MessageAddOnContextInfo messageAddOnDurationInSecs. */ public messageAddOnDurationInSecs?: (number|null); /** MessageAddOnContextInfo messageAddOnExpiryType. */ public messageAddOnExpiryType?: (waproto.MessageContextInfo.MessageAddonExpiryType|null); /** * Creates a new MessageAddOnContextInfo instance using the specified properties. * @param [properties] Properties to set * @returns MessageAddOnContextInfo instance */ public static create(properties?: waproto.IMessageAddOnContextInfo): waproto.MessageAddOnContextInfo; /** * Encodes the specified MessageAddOnContextInfo message. Does not implicitly {@link waproto.MessageAddOnContextInfo.verify|verify} messages. * @param message MessageAddOnContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageAddOnContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageAddOnContextInfo message, length delimited. Does not implicitly {@link waproto.MessageAddOnContextInfo.verify|verify} messages. * @param message MessageAddOnContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageAddOnContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageAddOnContextInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageAddOnContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageAddOnContextInfo; /** * Decodes a MessageAddOnContextInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageAddOnContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageAddOnContextInfo; /** * Verifies a MessageAddOnContextInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageAddOnContextInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageAddOnContextInfo */ public static fromObject(object: { [k: string]: any }): waproto.MessageAddOnContextInfo; /** * Creates a plain object from a MessageAddOnContextInfo message. Also converts values to other types if specified. * @param message MessageAddOnContextInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageAddOnContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageAddOnContextInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageAddOnContextInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageApplication. */ interface IMessageApplication { /** MessageApplication payload */ payload?: (waproto.MessageApplication.IPayload|null); /** MessageApplication metadata */ metadata?: (waproto.MessageApplication.IMetadata|null); } /** Represents a MessageApplication. */ class MessageApplication implements IMessageApplication { /** * Constructs a new MessageApplication. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageApplication); /** MessageApplication payload. */ public payload?: (waproto.MessageApplication.IPayload|null); /** MessageApplication metadata. */ public metadata?: (waproto.MessageApplication.IMetadata|null); /** * Creates a new MessageApplication instance using the specified properties. * @param [properties] Properties to set * @returns MessageApplication instance */ public static create(properties?: waproto.IMessageApplication): waproto.MessageApplication; /** * Encodes the specified MessageApplication message. Does not implicitly {@link waproto.MessageApplication.verify|verify} messages. * @param message MessageApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageApplication message, length delimited. Does not implicitly {@link waproto.MessageApplication.verify|verify} messages. * @param message MessageApplication message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageApplication, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageApplication message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageApplication * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication; /** * Decodes a MessageApplication message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageApplication * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication; /** * Verifies a MessageApplication message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageApplication message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageApplication */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication; /** * Creates a plain object from a MessageApplication message. Also converts values to other types if specified. * @param message MessageApplication * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageApplication to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageApplication * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessageApplication { /** Properties of a Metadata. */ interface IMetadata { /** Metadata forwardingScore */ forwardingScore?: (number|null); /** Metadata isForwarded */ isForwarded?: (boolean|null); /** Metadata businessMetadata */ businessMetadata?: (waproto.ISubProtocol|null); /** Metadata frankingKey */ frankingKey?: (Uint8Array|null); /** Metadata frankingVersion */ frankingVersion?: (number|null); /** Metadata quotedMessage */ quotedMessage?: (waproto.MessageApplication.Metadata.IQuotedMessage|null); /** Metadata threadType */ threadType?: (waproto.MESSAGE_APPLICATION_METADATA_THREAD_TYPE|null); /** Metadata readonlyMetadataDataclass */ readonlyMetadataDataclass?: (string|null); /** Metadata groupId */ groupId?: (string|null); /** Metadata groupSize */ groupSize?: (number|null); /** Metadata groupIndex */ groupIndex?: (number|null); /** Metadata botResponseId */ botResponseId?: (string|null); /** Metadata collapsibleId */ collapsibleId?: (string|null); /** Metadata secondaryOtid */ secondaryOtid?: (string|null); /** Metadata chatEphemeralSetting */ chatEphemeralSetting?: (waproto.MessageApplication.IEphemeralSetting|null); /** Metadata ephemeralSettingList */ ephemeralSettingList?: (waproto.MessageApplication.Metadata.IEphemeralSettingMap|null); /** Metadata ephemeralSharedSecret */ ephemeralSharedSecret?: (Uint8Array|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.IMetadata); /** Metadata forwardingScore. */ public forwardingScore?: (number|null); /** Metadata isForwarded. */ public isForwarded?: (boolean|null); /** Metadata businessMetadata. */ public businessMetadata?: (waproto.ISubProtocol|null); /** Metadata frankingKey. */ public frankingKey?: (Uint8Array|null); /** Metadata frankingVersion. */ public frankingVersion?: (number|null); /** Metadata quotedMessage. */ public quotedMessage?: (waproto.MessageApplication.Metadata.IQuotedMessage|null); /** Metadata threadType. */ public threadType?: (waproto.MESSAGE_APPLICATION_METADATA_THREAD_TYPE|null); /** Metadata readonlyMetadataDataclass. */ public readonlyMetadataDataclass?: (string|null); /** Metadata groupId. */ public groupId?: (string|null); /** Metadata groupSize. */ public groupSize?: (number|null); /** Metadata groupIndex. */ public groupIndex?: (number|null); /** Metadata botResponseId. */ public botResponseId?: (string|null); /** Metadata collapsibleId. */ public collapsibleId?: (string|null); /** Metadata secondaryOtid. */ public secondaryOtid?: (string|null); /** Metadata chatEphemeralSetting. */ public chatEphemeralSetting?: (waproto.MessageApplication.IEphemeralSetting|null); /** Metadata ephemeralSettingList. */ public ephemeralSettingList?: (waproto.MessageApplication.Metadata.IEphemeralSettingMap|null); /** Metadata ephemeralSharedSecret. */ public ephemeralSharedSecret?: (Uint8Array|null); /** Metadata ephemeral. */ public ephemeral?: ("chatEphemeralSetting"|"ephemeralSettingList"|"ephemeralSharedSecret"); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.MessageApplication.IMetadata): waproto.MessageApplication.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.MessageApplication.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.MessageApplication.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Metadata { /** Properties of a QuotedMessage. */ interface IQuotedMessage { /** QuotedMessage stanzaId */ stanzaId?: (string|null); /** QuotedMessage remoteJid */ remoteJid?: (string|null); /** QuotedMessage participant */ participant?: (string|null); /** QuotedMessage payload */ payload?: (waproto.MessageApplication.IPayload|null); } /** Represents a QuotedMessage. */ class QuotedMessage implements IQuotedMessage { /** * Constructs a new QuotedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.Metadata.IQuotedMessage); /** QuotedMessage stanzaId. */ public stanzaId?: (string|null); /** QuotedMessage remoteJid. */ public remoteJid?: (string|null); /** QuotedMessage participant. */ public participant?: (string|null); /** QuotedMessage payload. */ public payload?: (waproto.MessageApplication.IPayload|null); /** * Creates a new QuotedMessage instance using the specified properties. * @param [properties] Properties to set * @returns QuotedMessage instance */ public static create(properties?: waproto.MessageApplication.Metadata.IQuotedMessage): waproto.MessageApplication.Metadata.QuotedMessage; /** * Encodes the specified QuotedMessage message. Does not implicitly {@link waproto.MessageApplication.Metadata.QuotedMessage.verify|verify} messages. * @param message QuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.Metadata.IQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuotedMessage message, length delimited. Does not implicitly {@link waproto.MessageApplication.Metadata.QuotedMessage.verify|verify} messages. * @param message QuotedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.Metadata.IQuotedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuotedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Metadata.QuotedMessage; /** * Decodes a QuotedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuotedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Metadata.QuotedMessage; /** * Verifies a QuotedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuotedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuotedMessage */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Metadata.QuotedMessage; /** * Creates a plain object from a QuotedMessage message. Also converts values to other types if specified. * @param message QuotedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Metadata.QuotedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuotedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuotedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EphemeralSettingMap. */ interface IEphemeralSettingMap { /** EphemeralSettingMap chatJid */ chatJid?: (string|null); /** EphemeralSettingMap ephemeralSetting */ ephemeralSetting?: (waproto.MessageApplication.IEphemeralSetting|null); } /** Represents an EphemeralSettingMap. */ class EphemeralSettingMap implements IEphemeralSettingMap { /** * Constructs a new EphemeralSettingMap. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.Metadata.IEphemeralSettingMap); /** EphemeralSettingMap chatJid. */ public chatJid?: (string|null); /** EphemeralSettingMap ephemeralSetting. */ public ephemeralSetting?: (waproto.MessageApplication.IEphemeralSetting|null); /** * Creates a new EphemeralSettingMap instance using the specified properties. * @param [properties] Properties to set * @returns EphemeralSettingMap instance */ public static create(properties?: waproto.MessageApplication.Metadata.IEphemeralSettingMap): waproto.MessageApplication.Metadata.EphemeralSettingMap; /** * Encodes the specified EphemeralSettingMap message. Does not implicitly {@link waproto.MessageApplication.Metadata.EphemeralSettingMap.verify|verify} messages. * @param message EphemeralSettingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.Metadata.IEphemeralSettingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EphemeralSettingMap message, length delimited. Does not implicitly {@link waproto.MessageApplication.Metadata.EphemeralSettingMap.verify|verify} messages. * @param message EphemeralSettingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.Metadata.IEphemeralSettingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EphemeralSettingMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EphemeralSettingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Metadata.EphemeralSettingMap; /** * Decodes an EphemeralSettingMap message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EphemeralSettingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Metadata.EphemeralSettingMap; /** * Verifies an EphemeralSettingMap message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EphemeralSettingMap message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EphemeralSettingMap */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Metadata.EphemeralSettingMap; /** * Creates a plain object from an EphemeralSettingMap message. Also converts values to other types if specified. * @param message EphemeralSettingMap * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Metadata.EphemeralSettingMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EphemeralSettingMap to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EphemeralSettingMap * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Payload. */ interface IPayload { /** Payload coreContent */ coreContent?: (waproto.MessageApplication.IContent|null); /** Payload signal */ signal?: (waproto.MessageApplication.ISignal|null); /** Payload applicationData */ applicationData?: (waproto.MessageApplication.IApplicationData|null); /** Payload subProtocol */ subProtocol?: (waproto.MessageApplication.ISubProtocolPayload|null); } /** Represents a Payload. */ class Payload implements IPayload { /** * Constructs a new Payload. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.IPayload); /** Payload coreContent. */ public coreContent?: (waproto.MessageApplication.IContent|null); /** Payload signal. */ public signal?: (waproto.MessageApplication.ISignal|null); /** Payload applicationData. */ public applicationData?: (waproto.MessageApplication.IApplicationData|null); /** Payload subProtocol. */ public subProtocol?: (waproto.MessageApplication.ISubProtocolPayload|null); /** Payload content. */ public content?: ("coreContent"|"signal"|"applicationData"|"subProtocol"); /** * Creates a new Payload instance using the specified properties. * @param [properties] Properties to set * @returns Payload instance */ public static create(properties?: waproto.MessageApplication.IPayload): waproto.MessageApplication.Payload; /** * Encodes the specified Payload message. Does not implicitly {@link waproto.MessageApplication.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Payload message, length delimited. Does not implicitly {@link waproto.MessageApplication.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Payload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Payload; /** * Decodes a Payload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Payload; /** * Verifies a Payload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Payload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Payload */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Payload; /** * Creates a plain object from a Payload message. Also converts values to other types if specified. * @param message Payload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Payload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Payload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Payload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubProtocolPayload. */ interface ISubProtocolPayload { /** SubProtocolPayload futureProof */ futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); /** SubProtocolPayload consumerMessage */ consumerMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload businessMessage */ businessMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload paymentMessage */ paymentMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload multiDevice */ multiDevice?: (waproto.ISubProtocol|null); /** SubProtocolPayload voip */ voip?: (waproto.ISubProtocol|null); /** SubProtocolPayload armadillo */ armadillo?: (waproto.ISubProtocol|null); } /** Represents a SubProtocolPayload. */ class SubProtocolPayload implements ISubProtocolPayload { /** * Constructs a new SubProtocolPayload. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.ISubProtocolPayload); /** SubProtocolPayload futureProof. */ public futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); /** SubProtocolPayload consumerMessage. */ public consumerMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload businessMessage. */ public businessMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload paymentMessage. */ public paymentMessage?: (waproto.ISubProtocol|null); /** SubProtocolPayload multiDevice. */ public multiDevice?: (waproto.ISubProtocol|null); /** SubProtocolPayload voip. */ public voip?: (waproto.ISubProtocol|null); /** SubProtocolPayload armadillo. */ public armadillo?: (waproto.ISubProtocol|null); /** SubProtocolPayload subProtocol. */ public subProtocol?: ("consumerMessage"|"businessMessage"|"paymentMessage"|"multiDevice"|"voip"|"armadillo"); /** * Creates a new SubProtocolPayload instance using the specified properties. * @param [properties] Properties to set * @returns SubProtocolPayload instance */ public static create(properties?: waproto.MessageApplication.ISubProtocolPayload): waproto.MessageApplication.SubProtocolPayload; /** * Encodes the specified SubProtocolPayload message. Does not implicitly {@link waproto.MessageApplication.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubProtocolPayload message, length delimited. Does not implicitly {@link waproto.MessageApplication.SubProtocolPayload.verify|verify} messages. * @param message SubProtocolPayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.ISubProtocolPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubProtocolPayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.SubProtocolPayload; /** * Decodes a SubProtocolPayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubProtocolPayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.SubProtocolPayload; /** * Verifies a SubProtocolPayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubProtocolPayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubProtocolPayload */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.SubProtocolPayload; /** * Creates a plain object from a SubProtocolPayload message. Also converts values to other types if specified. * @param message SubProtocolPayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.SubProtocolPayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubProtocolPayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubProtocolPayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationData. */ interface IApplicationData { } /** Represents an ApplicationData. */ class ApplicationData implements IApplicationData { /** * Constructs a new ApplicationData. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.IApplicationData); /** * Creates a new ApplicationData instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationData instance */ public static create(properties?: waproto.MessageApplication.IApplicationData): waproto.MessageApplication.ApplicationData; /** * Encodes the specified ApplicationData message. Does not implicitly {@link waproto.MessageApplication.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationData message, length delimited. Does not implicitly {@link waproto.MessageApplication.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.ApplicationData; /** * Decodes an ApplicationData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.ApplicationData; /** * Verifies an ApplicationData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationData */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.ApplicationData; /** * Creates a plain object from an ApplicationData message. Also converts values to other types if specified. * @param message ApplicationData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.ApplicationData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApplicationData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Signal. */ interface ISignal { } /** Represents a Signal. */ class Signal implements ISignal { /** * Constructs a new Signal. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.ISignal); /** * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set * @returns Signal instance */ public static create(properties?: waproto.MessageApplication.ISignal): waproto.MessageApplication.Signal; /** * Encodes the specified Signal message. Does not implicitly {@link waproto.MessageApplication.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Signal message, length delimited. Does not implicitly {@link waproto.MessageApplication.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Signal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Signal; /** * Decodes a Signal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Signal; /** * Verifies a Signal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Signal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Signal */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Signal; /** * Creates a plain object from a Signal message. Also converts values to other types if specified. * @param message Signal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Signal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Signal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Signal * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Content. */ interface IContent { } /** Represents a Content. */ class Content implements IContent { /** * Constructs a new Content. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.IContent); /** * Creates a new Content instance using the specified properties. * @param [properties] Properties to set * @returns Content instance */ public static create(properties?: waproto.MessageApplication.IContent): waproto.MessageApplication.Content; /** * Encodes the specified Content message. Does not implicitly {@link waproto.MessageApplication.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Content message, length delimited. Does not implicitly {@link waproto.MessageApplication.Content.verify|verify} messages. * @param message Content message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.IContent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Content message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.Content; /** * Decodes a Content message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Content * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.Content; /** * Verifies a Content message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Content message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Content */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.Content; /** * Creates a plain object from a Content message. Also converts values to other types if specified. * @param message Content * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.Content, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Content to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Content * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EphemeralSetting. */ interface IEphemeralSetting { /** EphemeralSetting ephemeralExpiration */ ephemeralExpiration?: (number|null); /** EphemeralSetting ephemeralSettingTimestamp */ ephemeralSettingTimestamp?: (number|Long|null); /** EphemeralSetting isEphemeralSettingReset */ isEphemeralSettingReset?: (boolean|null); /** EphemeralSetting ephemeralityType */ ephemeralityType?: (waproto.MESSAGE_APPLICATION_EPHEMERAL_SETTING_EPHEMERALITY_TYPE|null); } /** Represents an EphemeralSetting. */ class EphemeralSetting implements IEphemeralSetting { /** * Constructs a new EphemeralSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageApplication.IEphemeralSetting); /** EphemeralSetting ephemeralExpiration. */ public ephemeralExpiration?: (number|null); /** EphemeralSetting ephemeralSettingTimestamp. */ public ephemeralSettingTimestamp?: (number|Long|null); /** EphemeralSetting isEphemeralSettingReset. */ public isEphemeralSettingReset?: (boolean|null); /** EphemeralSetting ephemeralityType. */ public ephemeralityType?: (waproto.MESSAGE_APPLICATION_EPHEMERAL_SETTING_EPHEMERALITY_TYPE|null); /** * Creates a new EphemeralSetting instance using the specified properties. * @param [properties] Properties to set * @returns EphemeralSetting instance */ public static create(properties?: waproto.MessageApplication.IEphemeralSetting): waproto.MessageApplication.EphemeralSetting; /** * Encodes the specified EphemeralSetting message. Does not implicitly {@link waproto.MessageApplication.EphemeralSetting.verify|verify} messages. * @param message EphemeralSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageApplication.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EphemeralSetting message, length delimited. Does not implicitly {@link waproto.MessageApplication.EphemeralSetting.verify|verify} messages. * @param message EphemeralSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageApplication.IEphemeralSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EphemeralSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EphemeralSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageApplication.EphemeralSetting; /** * Decodes an EphemeralSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EphemeralSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageApplication.EphemeralSetting; /** * Verifies an EphemeralSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EphemeralSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EphemeralSetting */ public static fromObject(object: { [k: string]: any }): waproto.MessageApplication.EphemeralSetting; /** * Creates a plain object from an EphemeralSetting message. Also converts values to other types if specified. * @param message EphemeralSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageApplication.EphemeralSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EphemeralSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EphemeralSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MessageAssociation. */ interface IMessageAssociation { /** MessageAssociation associationType */ associationType?: (waproto.MessageAssociation.AssociationType|null); /** MessageAssociation parentMessageKey */ parentMessageKey?: (waproto.IMessageKey|null); /** MessageAssociation messageIndex */ messageIndex?: (number|null); } /** Represents a MessageAssociation. */ class MessageAssociation implements IMessageAssociation { /** * Constructs a new MessageAssociation. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageAssociation); /** MessageAssociation associationType. */ public associationType?: (waproto.MessageAssociation.AssociationType|null); /** MessageAssociation parentMessageKey. */ public parentMessageKey?: (waproto.IMessageKey|null); /** MessageAssociation messageIndex. */ public messageIndex?: (number|null); /** * Creates a new MessageAssociation instance using the specified properties. * @param [properties] Properties to set * @returns MessageAssociation instance */ public static create(properties?: waproto.IMessageAssociation): waproto.MessageAssociation; /** * Encodes the specified MessageAssociation message. Does not implicitly {@link waproto.MessageAssociation.verify|verify} messages. * @param message MessageAssociation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageAssociation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageAssociation message, length delimited. Does not implicitly {@link waproto.MessageAssociation.verify|verify} messages. * @param message MessageAssociation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageAssociation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageAssociation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageAssociation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageAssociation; /** * Decodes a MessageAssociation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageAssociation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageAssociation; /** * Verifies a MessageAssociation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageAssociation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageAssociation */ public static fromObject(object: { [k: string]: any }): waproto.MessageAssociation; /** * Creates a plain object from a MessageAssociation message. Also converts values to other types if specified. * @param message MessageAssociation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageAssociation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageAssociation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageAssociation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessageAssociation { /** AssociationType enum. */ enum AssociationType { UNKNOWN = 0, MEDIA_ALBUM = 1, BOT_PLUGIN = 2, EVENT_COVER_IMAGE = 3, STATUS_POLL = 4, HD_VIDEO_DUAL_UPLOAD = 5, STATUS_EXTERNAL_RESHARE = 6, MEDIA_POLL = 7, STATUS_ADD_YOURS = 8, STATUS_NOTIFICATION = 9, HD_IMAGE_DUAL_UPLOAD = 10, STICKER_ANNOTATION = 11, MOTION_PHOTO = 12, STATUS_LINK_ACTION = 13, VIEW_ALL_REPLIES = 14, STATUS_ADD_YOURS_AI_IMAGINE = 15, STATUS_QUESTION = 16, STATUS_ADD_YOURS_DIWALI = 17, STATUS_REACTION = 18, HEVC_VIDEO_DUAL_UPLOAD = 19, POLL_ADD_OPTION = 20 } } /** Properties of a MessageContextInfo. */ interface IMessageContextInfo { /** MessageContextInfo deviceListMetadata */ deviceListMetadata?: (waproto.IDeviceListMetadata|null); /** MessageContextInfo deviceListMetadataVersion */ deviceListMetadataVersion?: (number|null); /** MessageContextInfo messageSecret */ messageSecret?: (Uint8Array|null); /** MessageContextInfo paddingBytes */ paddingBytes?: (Uint8Array|null); /** MessageContextInfo messageAddOnDurationInSecs */ messageAddOnDurationInSecs?: (number|null); /** MessageContextInfo botMessageSecret */ botMessageSecret?: (Uint8Array|null); /** MessageContextInfo botMetadata */ botMetadata?: (waproto.IBotMetadata|null); /** MessageContextInfo reportingTokenVersion */ reportingTokenVersion?: (number|null); /** MessageContextInfo messageAddOnExpiryType */ messageAddOnExpiryType?: (waproto.MessageContextInfo.MessageAddonExpiryType|null); /** MessageContextInfo messageAssociation */ messageAssociation?: (waproto.IMessageAssociation|null); /** MessageContextInfo capiCreatedGroup */ capiCreatedGroup?: (boolean|null); /** MessageContextInfo supportPayload */ supportPayload?: (string|null); /** MessageContextInfo limitSharing */ limitSharing?: (waproto.ILimitSharing|null); /** MessageContextInfo limitSharingV2 */ limitSharingV2?: (waproto.ILimitSharing|null); /** MessageContextInfo threadId */ threadId?: (waproto.IThreadID[]|null); /** MessageContextInfo weblinkRenderConfig */ weblinkRenderConfig?: (waproto.WebLinkRenderConfig|null); /** MessageContextInfo teeBotMetadata */ teeBotMetadata?: (Uint8Array|null); /** MessageContextInfo accountEncryptionAttestation */ accountEncryptionAttestation?: (waproto.INonE2EEAttestation|null); /** MessageContextInfo associatedPrimaryIdentityKey */ associatedPrimaryIdentityKey?: (Uint8Array|null); /** MessageContextInfo teeContextAnchorMessageId */ teeContextAnchorMessageId?: (string|null); /** MessageContextInfo acp2Setting */ acp2Setting?: (waproto.IACP2Setting|null); } /** Represents a MessageContextInfo. */ class MessageContextInfo implements IMessageContextInfo { /** * Constructs a new MessageContextInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageContextInfo); /** MessageContextInfo deviceListMetadata. */ public deviceListMetadata?: (waproto.IDeviceListMetadata|null); /** MessageContextInfo deviceListMetadataVersion. */ public deviceListMetadataVersion?: (number|null); /** MessageContextInfo messageSecret. */ public messageSecret?: (Uint8Array|null); /** MessageContextInfo paddingBytes. */ public paddingBytes?: (Uint8Array|null); /** MessageContextInfo messageAddOnDurationInSecs. */ public messageAddOnDurationInSecs?: (number|null); /** MessageContextInfo botMessageSecret. */ public botMessageSecret?: (Uint8Array|null); /** MessageContextInfo botMetadata. */ public botMetadata?: (waproto.IBotMetadata|null); /** MessageContextInfo reportingTokenVersion. */ public reportingTokenVersion?: (number|null); /** MessageContextInfo messageAddOnExpiryType. */ public messageAddOnExpiryType?: (waproto.MessageContextInfo.MessageAddonExpiryType|null); /** MessageContextInfo messageAssociation. */ public messageAssociation?: (waproto.IMessageAssociation|null); /** MessageContextInfo capiCreatedGroup. */ public capiCreatedGroup?: (boolean|null); /** MessageContextInfo supportPayload. */ public supportPayload?: (string|null); /** MessageContextInfo limitSharing. */ public limitSharing?: (waproto.ILimitSharing|null); /** MessageContextInfo limitSharingV2. */ public limitSharingV2?: (waproto.ILimitSharing|null); /** MessageContextInfo threadId. */ public threadId: waproto.IThreadID[]; /** MessageContextInfo weblinkRenderConfig. */ public weblinkRenderConfig?: (waproto.WebLinkRenderConfig|null); /** MessageContextInfo teeBotMetadata. */ public teeBotMetadata?: (Uint8Array|null); /** MessageContextInfo accountEncryptionAttestation. */ public accountEncryptionAttestation?: (waproto.INonE2EEAttestation|null); /** MessageContextInfo associatedPrimaryIdentityKey. */ public associatedPrimaryIdentityKey?: (Uint8Array|null); /** MessageContextInfo teeContextAnchorMessageId. */ public teeContextAnchorMessageId?: (string|null); /** MessageContextInfo acp2Setting. */ public acp2Setting?: (waproto.IACP2Setting|null); /** * Creates a new MessageContextInfo instance using the specified properties. * @param [properties] Properties to set * @returns MessageContextInfo instance */ public static create(properties?: waproto.IMessageContextInfo): waproto.MessageContextInfo; /** * Encodes the specified MessageContextInfo message. Does not implicitly {@link waproto.MessageContextInfo.verify|verify} messages. * @param message MessageContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageContextInfo message, length delimited. Does not implicitly {@link waproto.MessageContextInfo.verify|verify} messages. * @param message MessageContextInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageContextInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageContextInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageContextInfo; /** * Decodes a MessageContextInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageContextInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageContextInfo; /** * Verifies a MessageContextInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageContextInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageContextInfo */ public static fromObject(object: { [k: string]: any }): waproto.MessageContextInfo; /** * Creates a plain object from a MessageContextInfo message. Also converts values to other types if specified. * @param message MessageContextInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageContextInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageContextInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageContextInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessageContextInfo { /** MessageAddonExpiryType enum. */ enum MessageAddonExpiryType { STATIC = 1, DEPENDENT_ON_PARENT = 2 } } /** Properties of a MessageKey. */ interface IMessageKey { /** MessageKey remoteJid */ remoteJid?: (string|null); /** MessageKey fromMe */ fromMe?: (boolean|null); /** MessageKey id */ id?: (string|null); /** MessageKey participant */ participant?: (string|null); } /** Represents a MessageKey. */ class MessageKey implements IMessageKey { /** * Constructs a new MessageKey. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageKey); /** MessageKey remoteJid. */ public remoteJid?: (string|null); /** MessageKey fromMe. */ public fromMe?: (boolean|null); /** MessageKey id. */ public id?: (string|null); /** MessageKey participant. */ public participant?: (string|null); /** * Creates a new MessageKey instance using the specified properties. * @param [properties] Properties to set * @returns MessageKey instance */ public static create(properties?: waproto.IMessageKey): waproto.MessageKey; /** * Encodes the specified MessageKey message. Does not implicitly {@link waproto.MessageKey.verify|verify} messages. * @param message MessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageKey message, length delimited. Does not implicitly {@link waproto.MessageKey.verify|verify} messages. * @param message MessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageKey; /** * Decodes a MessageKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageKey; /** * Verifies a MessageKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageKey */ public static fromObject(object: { [k: string]: any }): waproto.MessageKey; /** * Creates a plain object from a MessageKey message. Also converts values to other types if specified. * @param message MessageKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageSecretMessage. */ interface IMessageSecretMessage { /** MessageSecretMessage version */ version?: (number|null); /** MessageSecretMessage encIv */ encIv?: (Uint8Array|null); /** MessageSecretMessage encPayload */ encPayload?: (Uint8Array|null); } /** Represents a MessageSecretMessage. */ class MessageSecretMessage implements IMessageSecretMessage { /** * Constructs a new MessageSecretMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageSecretMessage); /** MessageSecretMessage version. */ public version?: (number|null); /** MessageSecretMessage encIv. */ public encIv?: (Uint8Array|null); /** MessageSecretMessage encPayload. */ public encPayload?: (Uint8Array|null); /** * Creates a new MessageSecretMessage instance using the specified properties. * @param [properties] Properties to set * @returns MessageSecretMessage instance */ public static create(properties?: waproto.IMessageSecretMessage): waproto.MessageSecretMessage; /** * Encodes the specified MessageSecretMessage message. Does not implicitly {@link waproto.MessageSecretMessage.verify|verify} messages. * @param message MessageSecretMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageSecretMessage message, length delimited. Does not implicitly {@link waproto.MessageSecretMessage.verify|verify} messages. * @param message MessageSecretMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageSecretMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageSecretMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageSecretMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageSecretMessage; /** * Decodes a MessageSecretMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageSecretMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageSecretMessage; /** * Verifies a MessageSecretMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageSecretMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageSecretMessage */ public static fromObject(object: { [k: string]: any }): waproto.MessageSecretMessage; /** * Creates a plain object from a MessageSecretMessage message. Also converts values to other types if specified. * @param message MessageSecretMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageSecretMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageSecretMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageSecretMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageText. */ interface IMessageText { /** MessageText text */ text?: (string|null); /** MessageText mentionedJid */ mentionedJid?: (string[]|null); /** MessageText commands */ commands?: (waproto.ICommand[]|null); /** MessageText mentions */ mentions?: (waproto.IMention[]|null); } /** Represents a MessageText. */ class MessageText implements IMessageText { /** * Constructs a new MessageText. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageText); /** MessageText text. */ public text?: (string|null); /** MessageText mentionedJid. */ public mentionedJid: string[]; /** MessageText commands. */ public commands: waproto.ICommand[]; /** MessageText mentions. */ public mentions: waproto.IMention[]; /** * Creates a new MessageText instance using the specified properties. * @param [properties] Properties to set * @returns MessageText instance */ public static create(properties?: waproto.IMessageText): waproto.MessageText; /** * Encodes the specified MessageText message. Does not implicitly {@link waproto.MessageText.verify|verify} messages. * @param message MessageText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageText message, length delimited. Does not implicitly {@link waproto.MessageText.verify|verify} messages. * @param message MessageText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageText message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageText; /** * Decodes a MessageText message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageText; /** * Verifies a MessageText message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageText message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageText */ public static fromObject(object: { [k: string]: any }): waproto.MessageText; /** * Creates a plain object from a MessageText message. Also converts values to other types if specified. * @param message MessageText * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageText, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageText to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageText * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessageTransport. */ interface IMessageTransport { /** MessageTransport payload */ payload?: (waproto.MessageTransport.IPayload|null); /** MessageTransport protocol */ protocol?: (waproto.MessageTransport.IProtocol|null); } /** Represents a MessageTransport. */ class MessageTransport implements IMessageTransport { /** * Constructs a new MessageTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessageTransport); /** MessageTransport payload. */ public payload?: (waproto.MessageTransport.IPayload|null); /** MessageTransport protocol. */ public protocol?: (waproto.MessageTransport.IProtocol|null); /** * Creates a new MessageTransport instance using the specified properties. * @param [properties] Properties to set * @returns MessageTransport instance */ public static create(properties?: waproto.IMessageTransport): waproto.MessageTransport; /** * Encodes the specified MessageTransport message. Does not implicitly {@link waproto.MessageTransport.verify|verify} messages. * @param message MessageTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessageTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageTransport message, length delimited. Does not implicitly {@link waproto.MessageTransport.verify|verify} messages. * @param message MessageTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessageTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport; /** * Decodes a MessageTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport; /** * Verifies a MessageTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageTransport */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport; /** * Creates a plain object from a MessageTransport message. Also converts values to other types if specified. * @param message MessageTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessageTransport { /** Properties of a Payload. */ interface IPayload { /** Payload applicationPayload */ applicationPayload?: (waproto.ISubProtocol|null); /** Payload futureProof */ futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); } /** Represents a Payload. */ class Payload implements IPayload { /** * Constructs a new Payload. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.IPayload); /** Payload applicationPayload. */ public applicationPayload?: (waproto.ISubProtocol|null); /** Payload futureProof. */ public futureProof?: (waproto.FUTURE_PROOF_BEHAVIOR|null); /** * Creates a new Payload instance using the specified properties. * @param [properties] Properties to set * @returns Payload instance */ public static create(properties?: waproto.MessageTransport.IPayload): waproto.MessageTransport.Payload; /** * Encodes the specified Payload message. Does not implicitly {@link waproto.MessageTransport.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Payload message, length delimited. Does not implicitly {@link waproto.MessageTransport.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Payload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Payload; /** * Decodes a Payload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Payload; /** * Verifies a Payload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Payload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Payload */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Payload; /** * Creates a plain object from a Payload message. Also converts values to other types if specified. * @param message Payload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Payload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Payload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Payload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Protocol. */ interface IProtocol { /** Protocol integral */ integral?: (waproto.MessageTransport.Protocol.IIntegral|null); /** Protocol ancillary */ ancillary?: (waproto.MessageTransport.Protocol.IAncillary|null); } /** Represents a Protocol. */ class Protocol implements IProtocol { /** * Constructs a new Protocol. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.IProtocol); /** Protocol integral. */ public integral?: (waproto.MessageTransport.Protocol.IIntegral|null); /** Protocol ancillary. */ public ancillary?: (waproto.MessageTransport.Protocol.IAncillary|null); /** * Creates a new Protocol instance using the specified properties. * @param [properties] Properties to set * @returns Protocol instance */ public static create(properties?: waproto.MessageTransport.IProtocol): waproto.MessageTransport.Protocol; /** * Encodes the specified Protocol message. Does not implicitly {@link waproto.MessageTransport.Protocol.verify|verify} messages. * @param message Protocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.IProtocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Protocol message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.verify|verify} messages. * @param message Protocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.IProtocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Protocol message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Protocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol; /** * Decodes a Protocol message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Protocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol; /** * Verifies a Protocol message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Protocol message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Protocol */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol; /** * Creates a plain object from a Protocol message. Also converts values to other types if specified. * @param message Protocol * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Protocol to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Protocol * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Protocol { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary skdm */ skdm?: (waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage|null); /** Ancillary deviceListMetadata */ deviceListMetadata?: (waproto.IDeviceListMetadata|null); /** Ancillary icdc */ icdc?: (waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices|null); /** Ancillary backupDirective */ backupDirective?: (waproto.MessageTransport.Protocol.Ancillary.IBackupDirective|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.IAncillary); /** Ancillary skdm. */ public skdm?: (waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage|null); /** Ancillary deviceListMetadata. */ public deviceListMetadata?: (waproto.IDeviceListMetadata|null); /** Ancillary icdc. */ public icdc?: (waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices|null); /** Ancillary backupDirective. */ public backupDirective?: (waproto.MessageTransport.Protocol.Ancillary.IBackupDirective|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.MessageTransport.Protocol.IAncillary): waproto.MessageTransport.Protocol.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Ancillary { /** Properties of a BackupDirective. */ interface IBackupDirective { /** BackupDirective messageId */ messageId?: (string|null); /** BackupDirective actionType */ actionType?: (waproto.MESSAGE_TRANSPORT_PROTOCOL_ANCILLARY_BACKUP_DIRECTIVE_ACTION_TYPE|null); /** BackupDirective supplementalKey */ supplementalKey?: (string|null); } /** Represents a BackupDirective. */ class BackupDirective implements IBackupDirective { /** * Constructs a new BackupDirective. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.Ancillary.IBackupDirective); /** BackupDirective messageId. */ public messageId?: (string|null); /** BackupDirective actionType. */ public actionType?: (waproto.MESSAGE_TRANSPORT_PROTOCOL_ANCILLARY_BACKUP_DIRECTIVE_ACTION_TYPE|null); /** BackupDirective supplementalKey. */ public supplementalKey?: (string|null); /** * Creates a new BackupDirective instance using the specified properties. * @param [properties] Properties to set * @returns BackupDirective instance */ public static create(properties?: waproto.MessageTransport.Protocol.Ancillary.IBackupDirective): waproto.MessageTransport.Protocol.Ancillary.BackupDirective; /** * Encodes the specified BackupDirective message. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.BackupDirective.verify|verify} messages. * @param message BackupDirective message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.Ancillary.IBackupDirective, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BackupDirective message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.BackupDirective.verify|verify} messages. * @param message BackupDirective message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.Ancillary.IBackupDirective, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BackupDirective message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BackupDirective * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Ancillary.BackupDirective; /** * Decodes a BackupDirective message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BackupDirective * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Ancillary.BackupDirective; /** * Verifies a BackupDirective message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BackupDirective message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BackupDirective */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Ancillary.BackupDirective; /** * Creates a plain object from a BackupDirective message. Also converts values to other types if specified. * @param message BackupDirective * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Ancillary.BackupDirective, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BackupDirective to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BackupDirective * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ICDCParticipantDevices. */ interface IICDCParticipantDevices { /** ICDCParticipantDevices senderIdentity */ senderIdentity?: (waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription|null); /** ICDCParticipantDevices recipientIdentities */ recipientIdentities?: (waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription[]|null); /** ICDCParticipantDevices recipientUserJids */ recipientUserJids?: (string[]|null); } /** Represents a ICDCParticipantDevices. */ class ICDCParticipantDevices implements IICDCParticipantDevices { /** * Constructs a new ICDCParticipantDevices. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices); /** ICDCParticipantDevices senderIdentity. */ public senderIdentity?: (waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription|null); /** ICDCParticipantDevices recipientIdentities. */ public recipientIdentities: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription[]; /** ICDCParticipantDevices recipientUserJids. */ public recipientUserJids: string[]; /** * Creates a new ICDCParticipantDevices instance using the specified properties. * @param [properties] Properties to set * @returns ICDCParticipantDevices instance */ public static create(properties?: waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices; /** * Encodes the specified ICDCParticipantDevices message. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.verify|verify} messages. * @param message ICDCParticipantDevices message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ICDCParticipantDevices message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.verify|verify} messages. * @param message ICDCParticipantDevices message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.Ancillary.IICDCParticipantDevices, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ICDCParticipantDevices message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ICDCParticipantDevices * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices; /** * Decodes a ICDCParticipantDevices message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ICDCParticipantDevices * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices; /** * Verifies a ICDCParticipantDevices message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ICDCParticipantDevices message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ICDCParticipantDevices */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices; /** * Creates a plain object from a ICDCParticipantDevices message. Also converts values to other types if specified. * @param message ICDCParticipantDevices * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ICDCParticipantDevices to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ICDCParticipantDevices * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ICDCParticipantDevices { /** Properties of a ICDCIdentityListDescription. */ interface IICDCIdentityListDescription { /** ICDCIdentityListDescription seq */ seq?: (number|null); /** ICDCIdentityListDescription signingDevice */ signingDevice?: (Uint8Array|null); /** ICDCIdentityListDescription unknownDevices */ unknownDevices?: (Uint8Array[]|null); /** ICDCIdentityListDescription unknownDeviceIds */ unknownDeviceIds?: (number[]|null); } /** Represents a ICDCIdentityListDescription. */ class ICDCIdentityListDescription implements IICDCIdentityListDescription { /** * Constructs a new ICDCIdentityListDescription. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription); /** ICDCIdentityListDescription seq. */ public seq?: (number|null); /** ICDCIdentityListDescription signingDevice. */ public signingDevice?: (Uint8Array|null); /** ICDCIdentityListDescription unknownDevices. */ public unknownDevices: Uint8Array[]; /** ICDCIdentityListDescription unknownDeviceIds. */ public unknownDeviceIds: number[]; /** * Creates a new ICDCIdentityListDescription instance using the specified properties. * @param [properties] Properties to set * @returns ICDCIdentityListDescription instance */ public static create(properties?: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription; /** * Encodes the specified ICDCIdentityListDescription message. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription.verify|verify} messages. * @param message ICDCIdentityListDescription message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ICDCIdentityListDescription message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription.verify|verify} messages. * @param message ICDCIdentityListDescription message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.IICDCIdentityListDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ICDCIdentityListDescription message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ICDCIdentityListDescription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription; /** * Decodes a ICDCIdentityListDescription message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ICDCIdentityListDescription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription; /** * Verifies a ICDCIdentityListDescription message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ICDCIdentityListDescription message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ICDCIdentityListDescription */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription; /** * Creates a plain object from a ICDCIdentityListDescription message. Also converts values to other types if specified. * @param message ICDCIdentityListDescription * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ICDCIdentityListDescription to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ICDCIdentityListDescription * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SenderKeyDistributionMessage. */ interface ISenderKeyDistributionMessage { /** SenderKeyDistributionMessage groupId */ groupId?: (string|null); /** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage */ axolotlSenderKeyDistributionMessage?: (Uint8Array|null); } /** Represents a SenderKeyDistributionMessage. */ class SenderKeyDistributionMessage implements ISenderKeyDistributionMessage { /** * Constructs a new SenderKeyDistributionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage); /** SenderKeyDistributionMessage groupId. */ public groupId?: (string|null); /** SenderKeyDistributionMessage axolotlSenderKeyDistributionMessage. */ public axolotlSenderKeyDistributionMessage?: (Uint8Array|null); /** * Creates a new SenderKeyDistributionMessage instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyDistributionMessage instance */ public static create(properties?: waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage): waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage; /** * Encodes the specified SenderKeyDistributionMessage message. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyDistributionMessage message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.Ancillary.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage; /** * Verifies a SenderKeyDistributionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyDistributionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyDistributionMessage */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage; /** * Creates a plain object from a SenderKeyDistributionMessage message. Also converts values to other types if specified. * @param message SenderKeyDistributionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyDistributionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyDistributionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an Integral. */ interface IIntegral { /** Integral padding */ padding?: (Uint8Array|null); /** Integral dsm */ dsm?: (waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.IIntegral); /** Integral padding. */ public padding?: (Uint8Array|null); /** Integral dsm. */ public dsm?: (waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.MessageTransport.Protocol.IIntegral): waproto.MessageTransport.Protocol.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.MessageTransport.Protocol.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Integral { /** Properties of a DeviceSentMessage. */ interface IDeviceSentMessage { /** DeviceSentMessage destinationJid */ destinationJid?: (string|null); /** DeviceSentMessage phash */ phash?: (string|null); } /** Represents a DeviceSentMessage. */ class DeviceSentMessage implements IDeviceSentMessage { /** * Constructs a new DeviceSentMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage); /** DeviceSentMessage destinationJid. */ public destinationJid?: (string|null); /** DeviceSentMessage phash. */ public phash?: (string|null); /** * Creates a new DeviceSentMessage instance using the specified properties. * @param [properties] Properties to set * @returns DeviceSentMessage instance */ public static create(properties?: waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage): waproto.MessageTransport.Protocol.Integral.DeviceSentMessage; /** * Encodes the specified DeviceSentMessage message. Does not implicitly {@link waproto.MessageTransport.Protocol.Integral.DeviceSentMessage.verify|verify} messages. * @param message DeviceSentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceSentMessage message, length delimited. Does not implicitly {@link waproto.MessageTransport.Protocol.Integral.DeviceSentMessage.verify|verify} messages. * @param message DeviceSentMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MessageTransport.Protocol.Integral.IDeviceSentMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceSentMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceSentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessageTransport.Protocol.Integral.DeviceSentMessage; /** * Decodes a DeviceSentMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceSentMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessageTransport.Protocol.Integral.DeviceSentMessage; /** * Verifies a DeviceSentMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceSentMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceSentMessage */ public static fromObject(object: { [k: string]: any }): waproto.MessageTransport.Protocol.Integral.DeviceSentMessage; /** * Creates a plain object from a DeviceSentMessage message. Also converts values to other types if specified. * @param message DeviceSentMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessageTransport.Protocol.Integral.DeviceSentMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceSentMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceSentMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } } /** Properties of a MessagesTableSchemaProto. */ interface IMessagesTableSchemaProto { /** MessagesTableSchemaProto type */ type?: (string|null); /** MessagesTableSchemaProto ts */ ts?: (number|Long|null); /** MessagesTableSchemaProto externalId */ externalId?: (string|null); /** MessagesTableSchemaProto msgId */ msgId?: (string|null); /** MessagesTableSchemaProto author */ author?: (string|null); /** MessagesTableSchemaProto ack */ ack?: (number|null); /** MessagesTableSchemaProto resendCount */ resendCount?: (number|null); /** MessagesTableSchemaProto msgContent */ msgContent?: (waproto.IMsgContentProto|null); /** MessagesTableSchemaProto altIndex */ altIndex?: (string|null); /** MessagesTableSchemaProto forwardingScore */ forwardingScore?: (number|null); /** MessagesTableSchemaProto quote */ quote?: (waproto.IDbQuotedMsgProto|null); /** MessagesTableSchemaProto messageExpirationTs */ messageExpirationTs?: (number|Long|null); /** MessagesTableSchemaProto ephemeralSetting */ ephemeralSetting?: (waproto.IEphemeralSettingProto|null); /** MessagesTableSchemaProto revokedExternalId */ revokedExternalId?: (string|null); /** MessagesTableSchemaProto isForwarded */ isForwarded?: (boolean|null); /** MessagesTableSchemaProto originalTs */ originalTs?: (number|Long|null); /** MessagesTableSchemaProto sortOrderMs */ sortOrderMs?: (number|Long|null); /** MessagesTableSchemaProto reportingMeta */ reportingMeta?: (waproto.IReportingMetaProto|null); /** MessagesTableSchemaProto messageDeleteTs */ messageDeleteTs?: (number|Long|null); /** MessagesTableSchemaProto ephemeralCounterStarted */ ephemeralCounterStarted?: (boolean|null); /** MessagesTableSchemaProto quoteExternalId */ quoteExternalId?: (string|null); /** MessagesTableSchemaProto unsendMsgContentDeleteTs */ unsendMsgContentDeleteTs?: (number|Long|null); /** MessagesTableSchemaProto rowId */ rowId?: (number|null); /** MessagesTableSchemaProto thread */ thread?: (number|null); /** MessagesTableSchemaProto mediaId */ mediaId?: (number|null); /** MessagesTableSchemaProto ephemeralMsgDisappeared */ ephemeralMsgDisappeared?: (boolean|null); /** MessagesTableSchemaProto threadJid */ threadJid?: (string|null); /** MessagesTableSchemaProto xmaId */ xmaId?: (number|null); /** MessagesTableSchemaProto specialTextSize */ specialTextSize?: (number|null); /** MessagesTableSchemaProto xmaMessageType */ xmaMessageType?: (number|null); /** MessagesTableSchemaProto isExpiredXmaMsg */ isExpiredXmaMsg?: (boolean|null); /** MessagesTableSchemaProto ravenEphemeralType */ ravenEphemeralType?: (number|null); /** MessagesTableSchemaProto ravenEphemeralMediaState */ ravenEphemeralMediaState?: (number|null); /** MessagesTableSchemaProto editCount */ editCount?: (number|null); /** MessagesTableSchemaProto groupId */ groupId?: (string|null); /** MessagesTableSchemaProto groupIndex */ groupIndex?: (number|Long|null); /** MessagesTableSchemaProto groupSize */ groupSize?: (number|Long|null); /** MessagesTableSchemaProto receiverFetchId */ receiverFetchId?: (string|null); /** MessagesTableSchemaProto source */ source?: (string|null); /** MessagesTableSchemaProto quoteExpirationTs */ quoteExpirationTs?: (number|Long|null); /** MessagesTableSchemaProto applicationErrorCode */ applicationErrorCode?: (number|null); /** MessagesTableSchemaProto hdType */ hdType?: (number|null); /** MessagesTableSchemaProto pollStanzaId */ pollStanzaId?: (string|null); /** MessagesTableSchemaProto collapsibleId */ collapsibleId?: (string|null); /** MessagesTableSchemaProto isCollapsed */ isCollapsed?: (boolean|null); } /** Represents a MessagesTableSchemaProto. */ class MessagesTableSchemaProto implements IMessagesTableSchemaProto { /** * Constructs a new MessagesTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessagesTableSchemaProto); /** MessagesTableSchemaProto type. */ public type?: (string|null); /** MessagesTableSchemaProto ts. */ public ts?: (number|Long|null); /** MessagesTableSchemaProto externalId. */ public externalId?: (string|null); /** MessagesTableSchemaProto msgId. */ public msgId?: (string|null); /** MessagesTableSchemaProto author. */ public author?: (string|null); /** MessagesTableSchemaProto ack. */ public ack?: (number|null); /** MessagesTableSchemaProto resendCount. */ public resendCount?: (number|null); /** MessagesTableSchemaProto msgContent. */ public msgContent?: (waproto.IMsgContentProto|null); /** MessagesTableSchemaProto altIndex. */ public altIndex?: (string|null); /** MessagesTableSchemaProto forwardingScore. */ public forwardingScore?: (number|null); /** MessagesTableSchemaProto quote. */ public quote?: (waproto.IDbQuotedMsgProto|null); /** MessagesTableSchemaProto messageExpirationTs. */ public messageExpirationTs?: (number|Long|null); /** MessagesTableSchemaProto ephemeralSetting. */ public ephemeralSetting?: (waproto.IEphemeralSettingProto|null); /** MessagesTableSchemaProto revokedExternalId. */ public revokedExternalId?: (string|null); /** MessagesTableSchemaProto isForwarded. */ public isForwarded?: (boolean|null); /** MessagesTableSchemaProto originalTs. */ public originalTs?: (number|Long|null); /** MessagesTableSchemaProto sortOrderMs. */ public sortOrderMs?: (number|Long|null); /** MessagesTableSchemaProto reportingMeta. */ public reportingMeta?: (waproto.IReportingMetaProto|null); /** MessagesTableSchemaProto messageDeleteTs. */ public messageDeleteTs?: (number|Long|null); /** MessagesTableSchemaProto ephemeralCounterStarted. */ public ephemeralCounterStarted?: (boolean|null); /** MessagesTableSchemaProto quoteExternalId. */ public quoteExternalId?: (string|null); /** MessagesTableSchemaProto unsendMsgContentDeleteTs. */ public unsendMsgContentDeleteTs?: (number|Long|null); /** MessagesTableSchemaProto rowId. */ public rowId?: (number|null); /** MessagesTableSchemaProto thread. */ public thread?: (number|null); /** MessagesTableSchemaProto mediaId. */ public mediaId?: (number|null); /** MessagesTableSchemaProto ephemeralMsgDisappeared. */ public ephemeralMsgDisappeared?: (boolean|null); /** MessagesTableSchemaProto threadJid. */ public threadJid?: (string|null); /** MessagesTableSchemaProto xmaId. */ public xmaId?: (number|null); /** MessagesTableSchemaProto specialTextSize. */ public specialTextSize?: (number|null); /** MessagesTableSchemaProto xmaMessageType. */ public xmaMessageType?: (number|null); /** MessagesTableSchemaProto isExpiredXmaMsg. */ public isExpiredXmaMsg?: (boolean|null); /** MessagesTableSchemaProto ravenEphemeralType. */ public ravenEphemeralType?: (number|null); /** MessagesTableSchemaProto ravenEphemeralMediaState. */ public ravenEphemeralMediaState?: (number|null); /** MessagesTableSchemaProto editCount. */ public editCount?: (number|null); /** MessagesTableSchemaProto groupId. */ public groupId?: (string|null); /** MessagesTableSchemaProto groupIndex. */ public groupIndex?: (number|Long|null); /** MessagesTableSchemaProto groupSize. */ public groupSize?: (number|Long|null); /** MessagesTableSchemaProto receiverFetchId. */ public receiverFetchId?: (string|null); /** MessagesTableSchemaProto source. */ public source?: (string|null); /** MessagesTableSchemaProto quoteExpirationTs. */ public quoteExpirationTs?: (number|Long|null); /** MessagesTableSchemaProto applicationErrorCode. */ public applicationErrorCode?: (number|null); /** MessagesTableSchemaProto hdType. */ public hdType?: (number|null); /** MessagesTableSchemaProto pollStanzaId. */ public pollStanzaId?: (string|null); /** MessagesTableSchemaProto collapsibleId. */ public collapsibleId?: (string|null); /** MessagesTableSchemaProto isCollapsed. */ public isCollapsed?: (boolean|null); /** * Creates a new MessagesTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns MessagesTableSchemaProto instance */ public static create(properties?: waproto.IMessagesTableSchemaProto): waproto.MessagesTableSchemaProto; /** * Encodes the specified MessagesTableSchemaProto message. Does not implicitly {@link waproto.MessagesTableSchemaProto.verify|verify} messages. * @param message MessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessagesTableSchemaProto message, length delimited. Does not implicitly {@link waproto.MessagesTableSchemaProto.verify|verify} messages. * @param message MessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessagesTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessagesTableSchemaProto; /** * Decodes a MessagesTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessagesTableSchemaProto; /** * Verifies a MessagesTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessagesTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessagesTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.MessagesTableSchemaProto; /** * Creates a plain object from a MessagesTableSchemaProto message. Also converts values to other types if specified. * @param message MessagesTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessagesTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessagesTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessagesTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MessagingMailboxPublicData. */ interface IMessagingMailboxPublicData { /** MessagingMailboxPublicData epochHead */ epochHead?: (Uint8Array|null); /** MessagingMailboxPublicData deviceRosterHash */ deviceRosterHash?: (Uint8Array|null); /** MessagingMailboxPublicData sequenceNumber */ sequenceNumber?: (number|Long|null); /** MessagingMailboxPublicData sigPk */ sigPk?: (Uint8Array|null); /** MessagingMailboxPublicData encPk */ encPk?: (Uint8Array|null); /** MessagingMailboxPublicData authPk */ authPk?: (Uint8Array|null); } /** Represents a MessagingMailboxPublicData. */ class MessagingMailboxPublicData implements IMessagingMailboxPublicData { /** * Constructs a new MessagingMailboxPublicData. * @param [properties] Properties to set */ constructor(properties?: waproto.IMessagingMailboxPublicData); /** MessagingMailboxPublicData epochHead. */ public epochHead?: (Uint8Array|null); /** MessagingMailboxPublicData deviceRosterHash. */ public deviceRosterHash?: (Uint8Array|null); /** MessagingMailboxPublicData sequenceNumber. */ public sequenceNumber?: (number|Long|null); /** MessagingMailboxPublicData sigPk. */ public sigPk?: (Uint8Array|null); /** MessagingMailboxPublicData encPk. */ public encPk?: (Uint8Array|null); /** MessagingMailboxPublicData authPk. */ public authPk?: (Uint8Array|null); /** * Creates a new MessagingMailboxPublicData instance using the specified properties. * @param [properties] Properties to set * @returns MessagingMailboxPublicData instance */ public static create(properties?: waproto.IMessagingMailboxPublicData): waproto.MessagingMailboxPublicData; /** * Encodes the specified MessagingMailboxPublicData message. Does not implicitly {@link waproto.MessagingMailboxPublicData.verify|verify} messages. * @param message MessagingMailboxPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMessagingMailboxPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessagingMailboxPublicData message, length delimited. Does not implicitly {@link waproto.MessagingMailboxPublicData.verify|verify} messages. * @param message MessagingMailboxPublicData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMessagingMailboxPublicData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessagingMailboxPublicData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessagingMailboxPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MessagingMailboxPublicData; /** * Decodes a MessagingMailboxPublicData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessagingMailboxPublicData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MessagingMailboxPublicData; /** * Verifies a MessagingMailboxPublicData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessagingMailboxPublicData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessagingMailboxPublicData */ public static fromObject(object: { [k: string]: any }): waproto.MessagingMailboxPublicData; /** * Creates a plain object from a MessagingMailboxPublicData message. Also converts values to other types if specified. * @param message MessagingMailboxPublicData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MessagingMailboxPublicData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessagingMailboxPublicData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessagingMailboxPublicData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncActionProto. */ interface IMetaSyncActionProto { /** MetaSyncActionProto chatAction */ chatAction?: (waproto.IMetaSyncChatActionProto|null); /** MetaSyncActionProto messageAction */ messageAction?: (waproto.IMetaSyncMessageActionProto|null); } /** Represents a MetaSyncActionProto. */ class MetaSyncActionProto implements IMetaSyncActionProto { /** * Constructs a new MetaSyncActionProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncActionProto); /** MetaSyncActionProto chatAction. */ public chatAction?: (waproto.IMetaSyncChatActionProto|null); /** MetaSyncActionProto messageAction. */ public messageAction?: (waproto.IMetaSyncMessageActionProto|null); /** MetaSyncActionProto action. */ public action?: ("chatAction"|"messageAction"); /** * Creates a new MetaSyncActionProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncActionProto instance */ public static create(properties?: waproto.IMetaSyncActionProto): waproto.MetaSyncActionProto; /** * Encodes the specified MetaSyncActionProto message. Does not implicitly {@link waproto.MetaSyncActionProto.verify|verify} messages. * @param message MetaSyncActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncActionProto message, length delimited. Does not implicitly {@link waproto.MetaSyncActionProto.verify|verify} messages. * @param message MetaSyncActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncActionProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncActionProto; /** * Decodes a MetaSyncActionProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncActionProto; /** * Verifies a MetaSyncActionProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncActionProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncActionProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncActionProto; /** * Creates a plain object from a MetaSyncActionProto message. Also converts values to other types if specified. * @param message MetaSyncActionProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncActionProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncActionProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncActionProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncAppDataProto. */ interface IMetaSyncAppDataProto { /** MetaSyncAppDataProto actions */ actions?: (waproto.IMetaSyncActionProto[]|null); } /** Represents a MetaSyncAppDataProto. */ class MetaSyncAppDataProto implements IMetaSyncAppDataProto { /** * Constructs a new MetaSyncAppDataProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncAppDataProto); /** MetaSyncAppDataProto actions. */ public actions: waproto.IMetaSyncActionProto[]; /** * Creates a new MetaSyncAppDataProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncAppDataProto instance */ public static create(properties?: waproto.IMetaSyncAppDataProto): waproto.MetaSyncAppDataProto; /** * Encodes the specified MetaSyncAppDataProto message. Does not implicitly {@link waproto.MetaSyncAppDataProto.verify|verify} messages. * @param message MetaSyncAppDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncAppDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncAppDataProto message, length delimited. Does not implicitly {@link waproto.MetaSyncAppDataProto.verify|verify} messages. * @param message MetaSyncAppDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncAppDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncAppDataProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncAppDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncAppDataProto; /** * Decodes a MetaSyncAppDataProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncAppDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncAppDataProto; /** * Verifies a MetaSyncAppDataProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncAppDataProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncAppDataProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncAppDataProto; /** * Creates a plain object from a MetaSyncAppDataProto message. Also converts values to other types if specified. * @param message MetaSyncAppDataProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncAppDataProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncAppDataProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncAppDataProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncChatActionProto. */ interface IMetaSyncChatActionProto { /** MetaSyncChatActionProto type */ type?: (string|null); /** MetaSyncChatActionProto chatJid */ chatJid?: (string|null); /** MetaSyncChatActionProto archived */ archived?: (boolean|null); /** MetaSyncChatActionProto ts */ ts?: (number|Long|null); /** MetaSyncChatActionProto messageRange */ messageRange?: (waproto.IMetaSyncMessageRangeProto|null); /** MetaSyncChatActionProto read */ read?: (boolean|null); } /** Represents a MetaSyncChatActionProto. */ class MetaSyncChatActionProto implements IMetaSyncChatActionProto { /** * Constructs a new MetaSyncChatActionProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncChatActionProto); /** MetaSyncChatActionProto type. */ public type?: (string|null); /** MetaSyncChatActionProto chatJid. */ public chatJid?: (string|null); /** MetaSyncChatActionProto archived. */ public archived?: (boolean|null); /** MetaSyncChatActionProto ts. */ public ts?: (number|Long|null); /** MetaSyncChatActionProto messageRange. */ public messageRange?: (waproto.IMetaSyncMessageRangeProto|null); /** MetaSyncChatActionProto read. */ public read?: (boolean|null); /** * Creates a new MetaSyncChatActionProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncChatActionProto instance */ public static create(properties?: waproto.IMetaSyncChatActionProto): waproto.MetaSyncChatActionProto; /** * Encodes the specified MetaSyncChatActionProto message. Does not implicitly {@link waproto.MetaSyncChatActionProto.verify|verify} messages. * @param message MetaSyncChatActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncChatActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncChatActionProto message, length delimited. Does not implicitly {@link waproto.MetaSyncChatActionProto.verify|verify} messages. * @param message MetaSyncChatActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncChatActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncChatActionProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncChatActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncChatActionProto; /** * Decodes a MetaSyncChatActionProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncChatActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncChatActionProto; /** * Verifies a MetaSyncChatActionProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncChatActionProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncChatActionProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncChatActionProto; /** * Creates a plain object from a MetaSyncChatActionProto message. Also converts values to other types if specified. * @param message MetaSyncChatActionProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncChatActionProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncChatActionProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncChatActionProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncMessageActionProto. */ interface IMetaSyncMessageActionProto { /** MetaSyncMessageActionProto type */ type?: (string|null); /** MetaSyncMessageActionProto protocolMsgId */ protocolMsgId?: (waproto.IProtocolMsgId|null); } /** Represents a MetaSyncMessageActionProto. */ class MetaSyncMessageActionProto implements IMetaSyncMessageActionProto { /** * Constructs a new MetaSyncMessageActionProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncMessageActionProto); /** MetaSyncMessageActionProto type. */ public type?: (string|null); /** MetaSyncMessageActionProto protocolMsgId. */ public protocolMsgId?: (waproto.IProtocolMsgId|null); /** * Creates a new MetaSyncMessageActionProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncMessageActionProto instance */ public static create(properties?: waproto.IMetaSyncMessageActionProto): waproto.MetaSyncMessageActionProto; /** * Encodes the specified MetaSyncMessageActionProto message. Does not implicitly {@link waproto.MetaSyncMessageActionProto.verify|verify} messages. * @param message MetaSyncMessageActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncMessageActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncMessageActionProto message, length delimited. Does not implicitly {@link waproto.MetaSyncMessageActionProto.verify|verify} messages. * @param message MetaSyncMessageActionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncMessageActionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncMessageActionProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncMessageActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncMessageActionProto; /** * Decodes a MetaSyncMessageActionProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncMessageActionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncMessageActionProto; /** * Verifies a MetaSyncMessageActionProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncMessageActionProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncMessageActionProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncMessageActionProto; /** * Creates a plain object from a MetaSyncMessageActionProto message. Also converts values to other types if specified. * @param message MetaSyncMessageActionProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncMessageActionProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncMessageActionProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncMessageActionProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncMessageKeyProto. */ interface IMetaSyncMessageKeyProto { /** MetaSyncMessageKeyProto fromMe */ fromMe?: (boolean|null); /** MetaSyncMessageKeyProto id */ id?: (string|null); } /** Represents a MetaSyncMessageKeyProto. */ class MetaSyncMessageKeyProto implements IMetaSyncMessageKeyProto { /** * Constructs a new MetaSyncMessageKeyProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncMessageKeyProto); /** MetaSyncMessageKeyProto fromMe. */ public fromMe?: (boolean|null); /** MetaSyncMessageKeyProto id. */ public id?: (string|null); /** * Creates a new MetaSyncMessageKeyProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncMessageKeyProto instance */ public static create(properties?: waproto.IMetaSyncMessageKeyProto): waproto.MetaSyncMessageKeyProto; /** * Encodes the specified MetaSyncMessageKeyProto message. Does not implicitly {@link waproto.MetaSyncMessageKeyProto.verify|verify} messages. * @param message MetaSyncMessageKeyProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncMessageKeyProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncMessageKeyProto message, length delimited. Does not implicitly {@link waproto.MetaSyncMessageKeyProto.verify|verify} messages. * @param message MetaSyncMessageKeyProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncMessageKeyProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncMessageKeyProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncMessageKeyProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncMessageKeyProto; /** * Decodes a MetaSyncMessageKeyProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncMessageKeyProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncMessageKeyProto; /** * Verifies a MetaSyncMessageKeyProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncMessageKeyProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncMessageKeyProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncMessageKeyProto; /** * Creates a plain object from a MetaSyncMessageKeyProto message. Also converts values to other types if specified. * @param message MetaSyncMessageKeyProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncMessageKeyProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncMessageKeyProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncMessageKeyProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncMessageProto. */ interface IMetaSyncMessageProto { /** MetaSyncMessageProto key */ key?: (waproto.IMetaSyncMessageKeyProto|null); /** MetaSyncMessageProto ts */ ts?: (number|Long|null); } /** Represents a MetaSyncMessageProto. */ class MetaSyncMessageProto implements IMetaSyncMessageProto { /** * Constructs a new MetaSyncMessageProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncMessageProto); /** MetaSyncMessageProto key. */ public key?: (waproto.IMetaSyncMessageKeyProto|null); /** MetaSyncMessageProto ts. */ public ts?: (number|Long|null); /** * Creates a new MetaSyncMessageProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncMessageProto instance */ public static create(properties?: waproto.IMetaSyncMessageProto): waproto.MetaSyncMessageProto; /** * Encodes the specified MetaSyncMessageProto message. Does not implicitly {@link waproto.MetaSyncMessageProto.verify|verify} messages. * @param message MetaSyncMessageProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncMessageProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncMessageProto message, length delimited. Does not implicitly {@link waproto.MetaSyncMessageProto.verify|verify} messages. * @param message MetaSyncMessageProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncMessageProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncMessageProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncMessageProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncMessageProto; /** * Decodes a MetaSyncMessageProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncMessageProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncMessageProto; /** * Verifies a MetaSyncMessageProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncMessageProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncMessageProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncMessageProto; /** * Creates a plain object from a MetaSyncMessageProto message. Also converts values to other types if specified. * @param message MetaSyncMessageProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncMessageProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncMessageProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncMessageProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MetaSyncMessageRangeProto. */ interface IMetaSyncMessageRangeProto { /** MetaSyncMessageRangeProto lastMessageTimestamp */ lastMessageTimestamp?: (number|Long|null); /** MetaSyncMessageRangeProto lastSystemMessageTimestamp */ lastSystemMessageTimestamp?: (number|Long|null); /** MetaSyncMessageRangeProto messages */ messages?: (waproto.IMetaSyncMessageProto[]|null); } /** Represents a MetaSyncMessageRangeProto. */ class MetaSyncMessageRangeProto implements IMetaSyncMessageRangeProto { /** * Constructs a new MetaSyncMessageRangeProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetaSyncMessageRangeProto); /** MetaSyncMessageRangeProto lastMessageTimestamp. */ public lastMessageTimestamp?: (number|Long|null); /** MetaSyncMessageRangeProto lastSystemMessageTimestamp. */ public lastSystemMessageTimestamp?: (number|Long|null); /** MetaSyncMessageRangeProto messages. */ public messages: waproto.IMetaSyncMessageProto[]; /** * Creates a new MetaSyncMessageRangeProto instance using the specified properties. * @param [properties] Properties to set * @returns MetaSyncMessageRangeProto instance */ public static create(properties?: waproto.IMetaSyncMessageRangeProto): waproto.MetaSyncMessageRangeProto; /** * Encodes the specified MetaSyncMessageRangeProto message. Does not implicitly {@link waproto.MetaSyncMessageRangeProto.verify|verify} messages. * @param message MetaSyncMessageRangeProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetaSyncMessageRangeProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MetaSyncMessageRangeProto message, length delimited. Does not implicitly {@link waproto.MetaSyncMessageRangeProto.verify|verify} messages. * @param message MetaSyncMessageRangeProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetaSyncMessageRangeProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MetaSyncMessageRangeProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MetaSyncMessageRangeProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MetaSyncMessageRangeProto; /** * Decodes a MetaSyncMessageRangeProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MetaSyncMessageRangeProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MetaSyncMessageRangeProto; /** * Verifies a MetaSyncMessageRangeProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MetaSyncMessageRangeProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MetaSyncMessageRangeProto */ public static fromObject(object: { [k: string]: any }): waproto.MetaSyncMessageRangeProto; /** * Creates a plain object from a MetaSyncMessageRangeProto message. Also converts values to other types if specified. * @param message MetaSyncMessageRangeProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MetaSyncMessageRangeProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MetaSyncMessageRangeProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MetaSyncMessageRangeProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Metadata. */ interface IMetadata { /** Metadata senderId */ senderId?: (string|null); /** Metadata messageId */ messageId?: (string|null); /** Metadata timestampMs */ timestampMs?: (number|Long|null); /** Metadata frankingMetadata */ frankingMetadata?: (waproto.IFrankingMetadata|null); /** Metadata payloadVersion */ payloadVersion?: (number|null); /** Metadata futureProofBehavior */ futureProofBehavior?: (number|null); /** Metadata threadTypeTag */ threadTypeTag?: (number|null); /** Metadata clientTimestampMs */ clientTimestampMs?: (number|Long|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IMetadata); /** Metadata senderId. */ public senderId?: (string|null); /** Metadata messageId. */ public messageId?: (string|null); /** Metadata timestampMs. */ public timestampMs?: (number|Long|null); /** Metadata frankingMetadata. */ public frankingMetadata?: (waproto.IFrankingMetadata|null); /** Metadata payloadVersion. */ public payloadVersion?: (number|null); /** Metadata futureProofBehavior. */ public futureProofBehavior?: (number|null); /** Metadata threadTypeTag. */ public threadTypeTag?: (number|null); /** Metadata clientTimestampMs. */ public clientTimestampMs?: (number|Long|null); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.IMetadata): waproto.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MiTransportAdminMessage. */ interface IMiTransportAdminMessage { /** MiTransportAdminMessage skipBumpThread */ skipBumpThread?: (boolean|null); /** MiTransportAdminMessage skipSnippetUpdate */ skipSnippetUpdate?: (boolean|null); /** MiTransportAdminMessage readonlyMetadataDataclass */ readonlyMetadataDataclass?: (string|null); /** MiTransportAdminMessage chatThemeChanged */ chatThemeChanged?: (waproto.MiTransportAdminMessage.IChatThemeChanged|null); /** MiTransportAdminMessage nicknameChanged */ nicknameChanged?: (waproto.MiTransportAdminMessage.INicknameChanged|null); /** MiTransportAdminMessage groupParticipantChanged */ groupParticipantChanged?: (waproto.MiTransportAdminMessage.IGroupParticipantChanged|null); /** MiTransportAdminMessage groupAdminChanged */ groupAdminChanged?: (waproto.MiTransportAdminMessage.IGroupAdminChanged|null); /** MiTransportAdminMessage groupNameChanged */ groupNameChanged?: (waproto.MiTransportAdminMessage.IGroupNameChanged|null); /** MiTransportAdminMessage groupMembershipAddModeChanged */ groupMembershipAddModeChanged?: (waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged|null); /** MiTransportAdminMessage messagePinned */ messagePinned?: (waproto.MiTransportAdminMessage.IMessagePinned|null); /** MiTransportAdminMessage groupImageChanged */ groupImageChanged?: (waproto.MiTransportAdminMessage.IGroupImageChanged|null); /** MiTransportAdminMessage quickReactionChanged */ quickReactionChanged?: (waproto.MiTransportAdminMessage.IQuickReactionChanged|null); /** MiTransportAdminMessage linkCta */ linkCta?: (waproto.MiTransportAdminMessage.ILinkCta|null); /** MiTransportAdminMessage iconChanged */ iconChanged?: (waproto.MiTransportAdminMessage.IIconChanged|null); /** MiTransportAdminMessage disappearingSettingChanged */ disappearingSettingChanged?: (waproto.MiTransportAdminMessage.IDisappearingSettingChanged|null); /** MiTransportAdminMessage limitSharingChanged */ limitSharingChanged?: (waproto.MiTransportAdminMessage.ILimitSharingChanged|null); /** MiTransportAdminMessage xmatDisappearingSetting */ xmatDisappearingSetting?: (waproto.MiTransportAdminMessage.IXmatDisappearingSetting|null); /** MiTransportAdminMessage xmatFriendRequestConfirmedEncrypted */ xmatFriendRequestConfirmedEncrypted?: (waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted|null); /** MiTransportAdminMessage xmatInstantGameEncryptedDynamicCustomUpdate */ xmatInstantGameEncryptedDynamicCustomUpdate?: (waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate|null); /** MiTransportAdminMessage xmatLinkCta */ xmatLinkCta?: (waproto.MiTransportAdminMessage.IXmatLinkCTA|null); /** MiTransportAdminMessage xmatMagicWords */ xmatMagicWords?: (waproto.MiTransportAdminMessage.IXmatMagicWords|null); /** MiTransportAdminMessage xmatMessagingLimitSharing */ xmatMessagingLimitSharing?: (waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing|null); /** MiTransportAdminMessage xmatMessengerQrCodeScanned */ xmatMessengerQrCodeScanned?: (waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumAddition */ xmatMessengerSharedAlbumAddition?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumContentRemoval */ xmatMessengerSharedAlbumContentRemoval?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumDeletion */ xmatMessengerSharedAlbumDeletion?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumRename */ xmatMessengerSharedAlbumRename?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename|null); /** MiTransportAdminMessage xmatMessengerSharedAlbum */ xmatMessengerSharedAlbum?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum|null); /** MiTransportAdminMessage xmatThemeColor */ xmatThemeColor?: (waproto.MiTransportAdminMessage.IXmatThemeColor|null); /** MiTransportAdminMessage xmatThreadIcon */ xmatThreadIcon?: (waproto.MiTransportAdminMessage.IXmatThreadIcon|null); /** MiTransportAdminMessage xmatThreadNickname */ xmatThreadNickname?: (waproto.MiTransportAdminMessage.IXmatThreadNickname|null); /** MiTransportAdminMessage xmatThreadQuickReaction */ xmatThreadQuickReaction?: (waproto.MiTransportAdminMessage.IXmatThreadQuickReaction|null); /** MiTransportAdminMessage xmatUpdatePayments */ xmatUpdatePayments?: (waproto.MiTransportAdminMessage.IXmatUpdatePayments|null); /** MiTransportAdminMessage xmatPinMessageV2 */ xmatPinMessageV2?: (waproto.MiTransportAdminMessage.IXmatPinMessageV2|null); /** MiTransportAdminMessage xmatUnpinMessageV2 */ xmatUnpinMessageV2?: (waproto.MiTransportAdminMessage.IXmatUnpinMessageV2|null); /** MiTransportAdminMessage xmatGenaiTaskAdd */ xmatGenaiTaskAdd?: (waproto.MiTransportAdminMessage.IXmatGenAITaskAdd|null); /** MiTransportAdminMessage xmatAddParticipants */ xmatAddParticipants?: (waproto.MiTransportAdminMessage.IXmatAddParticipants|null); /** MiTransportAdminMessage xmatRemoveParticipant */ xmatRemoveParticipant?: (waproto.MiTransportAdminMessage.IXmatRemoveParticipant|null); /** MiTransportAdminMessage xmatChangeThreadAdmins */ xmatChangeThreadAdmins?: (waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins|null); /** MiTransportAdminMessage xmatChangeThreadName */ xmatChangeThreadName?: (waproto.MiTransportAdminMessage.IXmatChangeThreadName|null); /** MiTransportAdminMessage xmatGroupThreadCreated */ xmatGroupThreadCreated?: (waproto.MiTransportAdminMessage.IXmatGroupThreadCreated|null); /** MiTransportAdminMessage xmatSetParticipantUpdateMode */ xmatSetParticipantUpdateMode?: (waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode|null); /** MiTransportAdminMessage xmatMessengerMessageReminderSet */ xmatMessengerMessageReminderSet?: (waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet|null); /** MiTransportAdminMessage xmatMessengerMessageReminderTriggered */ xmatMessengerMessageReminderTriggered?: (waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered|null); } /** Represents a MiTransportAdminMessage. */ class MiTransportAdminMessage implements IMiTransportAdminMessage { /** * Constructs a new MiTransportAdminMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IMiTransportAdminMessage); /** MiTransportAdminMessage skipBumpThread. */ public skipBumpThread?: (boolean|null); /** MiTransportAdminMessage skipSnippetUpdate. */ public skipSnippetUpdate?: (boolean|null); /** MiTransportAdminMessage readonlyMetadataDataclass. */ public readonlyMetadataDataclass?: (string|null); /** MiTransportAdminMessage chatThemeChanged. */ public chatThemeChanged?: (waproto.MiTransportAdminMessage.IChatThemeChanged|null); /** MiTransportAdminMessage nicknameChanged. */ public nicknameChanged?: (waproto.MiTransportAdminMessage.INicknameChanged|null); /** MiTransportAdminMessage groupParticipantChanged. */ public groupParticipantChanged?: (waproto.MiTransportAdminMessage.IGroupParticipantChanged|null); /** MiTransportAdminMessage groupAdminChanged. */ public groupAdminChanged?: (waproto.MiTransportAdminMessage.IGroupAdminChanged|null); /** MiTransportAdminMessage groupNameChanged. */ public groupNameChanged?: (waproto.MiTransportAdminMessage.IGroupNameChanged|null); /** MiTransportAdminMessage groupMembershipAddModeChanged. */ public groupMembershipAddModeChanged?: (waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged|null); /** MiTransportAdminMessage messagePinned. */ public messagePinned?: (waproto.MiTransportAdminMessage.IMessagePinned|null); /** MiTransportAdminMessage groupImageChanged. */ public groupImageChanged?: (waproto.MiTransportAdminMessage.IGroupImageChanged|null); /** MiTransportAdminMessage quickReactionChanged. */ public quickReactionChanged?: (waproto.MiTransportAdminMessage.IQuickReactionChanged|null); /** MiTransportAdminMessage linkCta. */ public linkCta?: (waproto.MiTransportAdminMessage.ILinkCta|null); /** MiTransportAdminMessage iconChanged. */ public iconChanged?: (waproto.MiTransportAdminMessage.IIconChanged|null); /** MiTransportAdminMessage disappearingSettingChanged. */ public disappearingSettingChanged?: (waproto.MiTransportAdminMessage.IDisappearingSettingChanged|null); /** MiTransportAdminMessage limitSharingChanged. */ public limitSharingChanged?: (waproto.MiTransportAdminMessage.ILimitSharingChanged|null); /** MiTransportAdminMessage xmatDisappearingSetting. */ public xmatDisappearingSetting?: (waproto.MiTransportAdminMessage.IXmatDisappearingSetting|null); /** MiTransportAdminMessage xmatFriendRequestConfirmedEncrypted. */ public xmatFriendRequestConfirmedEncrypted?: (waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted|null); /** MiTransportAdminMessage xmatInstantGameEncryptedDynamicCustomUpdate. */ public xmatInstantGameEncryptedDynamicCustomUpdate?: (waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate|null); /** MiTransportAdminMessage xmatLinkCta. */ public xmatLinkCta?: (waproto.MiTransportAdminMessage.IXmatLinkCTA|null); /** MiTransportAdminMessage xmatMagicWords. */ public xmatMagicWords?: (waproto.MiTransportAdminMessage.IXmatMagicWords|null); /** MiTransportAdminMessage xmatMessagingLimitSharing. */ public xmatMessagingLimitSharing?: (waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing|null); /** MiTransportAdminMessage xmatMessengerQrCodeScanned. */ public xmatMessengerQrCodeScanned?: (waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumAddition. */ public xmatMessengerSharedAlbumAddition?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumContentRemoval. */ public xmatMessengerSharedAlbumContentRemoval?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumDeletion. */ public xmatMessengerSharedAlbumDeletion?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion|null); /** MiTransportAdminMessage xmatMessengerSharedAlbumRename. */ public xmatMessengerSharedAlbumRename?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename|null); /** MiTransportAdminMessage xmatMessengerSharedAlbum. */ public xmatMessengerSharedAlbum?: (waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum|null); /** MiTransportAdminMessage xmatThemeColor. */ public xmatThemeColor?: (waproto.MiTransportAdminMessage.IXmatThemeColor|null); /** MiTransportAdminMessage xmatThreadIcon. */ public xmatThreadIcon?: (waproto.MiTransportAdminMessage.IXmatThreadIcon|null); /** MiTransportAdminMessage xmatThreadNickname. */ public xmatThreadNickname?: (waproto.MiTransportAdminMessage.IXmatThreadNickname|null); /** MiTransportAdminMessage xmatThreadQuickReaction. */ public xmatThreadQuickReaction?: (waproto.MiTransportAdminMessage.IXmatThreadQuickReaction|null); /** MiTransportAdminMessage xmatUpdatePayments. */ public xmatUpdatePayments?: (waproto.MiTransportAdminMessage.IXmatUpdatePayments|null); /** MiTransportAdminMessage xmatPinMessageV2. */ public xmatPinMessageV2?: (waproto.MiTransportAdminMessage.IXmatPinMessageV2|null); /** MiTransportAdminMessage xmatUnpinMessageV2. */ public xmatUnpinMessageV2?: (waproto.MiTransportAdminMessage.IXmatUnpinMessageV2|null); /** MiTransportAdminMessage xmatGenaiTaskAdd. */ public xmatGenaiTaskAdd?: (waproto.MiTransportAdminMessage.IXmatGenAITaskAdd|null); /** MiTransportAdminMessage xmatAddParticipants. */ public xmatAddParticipants?: (waproto.MiTransportAdminMessage.IXmatAddParticipants|null); /** MiTransportAdminMessage xmatRemoveParticipant. */ public xmatRemoveParticipant?: (waproto.MiTransportAdminMessage.IXmatRemoveParticipant|null); /** MiTransportAdminMessage xmatChangeThreadAdmins. */ public xmatChangeThreadAdmins?: (waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins|null); /** MiTransportAdminMessage xmatChangeThreadName. */ public xmatChangeThreadName?: (waproto.MiTransportAdminMessage.IXmatChangeThreadName|null); /** MiTransportAdminMessage xmatGroupThreadCreated. */ public xmatGroupThreadCreated?: (waproto.MiTransportAdminMessage.IXmatGroupThreadCreated|null); /** MiTransportAdminMessage xmatSetParticipantUpdateMode. */ public xmatSetParticipantUpdateMode?: (waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode|null); /** MiTransportAdminMessage xmatMessengerMessageReminderSet. */ public xmatMessengerMessageReminderSet?: (waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet|null); /** MiTransportAdminMessage xmatMessengerMessageReminderTriggered. */ public xmatMessengerMessageReminderTriggered?: (waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered|null); /** MiTransportAdminMessage content. */ public content?: ("chatThemeChanged"|"nicknameChanged"|"groupParticipantChanged"|"groupAdminChanged"|"groupNameChanged"|"groupMembershipAddModeChanged"|"messagePinned"|"groupImageChanged"|"quickReactionChanged"|"linkCta"|"iconChanged"|"disappearingSettingChanged"|"limitSharingChanged"|"xmatDisappearingSetting"|"xmatFriendRequestConfirmedEncrypted"|"xmatInstantGameEncryptedDynamicCustomUpdate"|"xmatLinkCta"|"xmatMagicWords"|"xmatMessagingLimitSharing"|"xmatMessengerQrCodeScanned"|"xmatMessengerSharedAlbumAddition"|"xmatMessengerSharedAlbumContentRemoval"|"xmatMessengerSharedAlbumDeletion"|"xmatMessengerSharedAlbumRename"|"xmatMessengerSharedAlbum"|"xmatThemeColor"|"xmatThreadIcon"|"xmatThreadNickname"|"xmatThreadQuickReaction"|"xmatUpdatePayments"|"xmatPinMessageV2"|"xmatUnpinMessageV2"|"xmatGenaiTaskAdd"|"xmatAddParticipants"|"xmatRemoveParticipant"|"xmatChangeThreadAdmins"|"xmatChangeThreadName"|"xmatGroupThreadCreated"|"xmatSetParticipantUpdateMode"|"xmatMessengerMessageReminderSet"|"xmatMessengerMessageReminderTriggered"); /** * Creates a new MiTransportAdminMessage instance using the specified properties. * @param [properties] Properties to set * @returns MiTransportAdminMessage instance */ public static create(properties?: waproto.IMiTransportAdminMessage): waproto.MiTransportAdminMessage; /** * Encodes the specified MiTransportAdminMessage message. Does not implicitly {@link waproto.MiTransportAdminMessage.verify|verify} messages. * @param message MiTransportAdminMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMiTransportAdminMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MiTransportAdminMessage message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.verify|verify} messages. * @param message MiTransportAdminMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMiTransportAdminMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MiTransportAdminMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MiTransportAdminMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage; /** * Decodes a MiTransportAdminMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MiTransportAdminMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage; /** * Verifies a MiTransportAdminMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MiTransportAdminMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MiTransportAdminMessage */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage; /** * Creates a plain object from a MiTransportAdminMessage message. Also converts values to other types if specified. * @param message MiTransportAdminMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MiTransportAdminMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MiTransportAdminMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MiTransportAdminMessage { /** Properties of a XmatMessengerMessageReminderTriggered. */ interface IXmatMessengerMessageReminderTriggered { /** XmatMessengerMessageReminderTriggered offlineThreadingId */ offlineThreadingId?: (number|Long|null); /** XmatMessengerMessageReminderTriggered scheduledTime */ scheduledTime?: (number|Long|null); } /** Represents a XmatMessengerMessageReminderTriggered. */ class XmatMessengerMessageReminderTriggered implements IXmatMessengerMessageReminderTriggered { /** * Constructs a new XmatMessengerMessageReminderTriggered. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered); /** XmatMessengerMessageReminderTriggered offlineThreadingId. */ public offlineThreadingId?: (number|Long|null); /** XmatMessengerMessageReminderTriggered scheduledTime. */ public scheduledTime?: (number|Long|null); /** * Creates a new XmatMessengerMessageReminderTriggered instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerMessageReminderTriggered instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered; /** * Encodes the specified XmatMessengerMessageReminderTriggered message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered.verify|verify} messages. * @param message XmatMessengerMessageReminderTriggered message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerMessageReminderTriggered message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered.verify|verify} messages. * @param message XmatMessengerMessageReminderTriggered message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderTriggered, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerMessageReminderTriggered message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerMessageReminderTriggered * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered; /** * Decodes a XmatMessengerMessageReminderTriggered message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerMessageReminderTriggered * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered; /** * Verifies a XmatMessengerMessageReminderTriggered message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerMessageReminderTriggered message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerMessageReminderTriggered */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered; /** * Creates a plain object from a XmatMessengerMessageReminderTriggered message. Also converts values to other types if specified. * @param message XmatMessengerMessageReminderTriggered * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerMessageReminderTriggered, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerMessageReminderTriggered to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerMessageReminderTriggered * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerMessageReminderSet. */ interface IXmatMessengerMessageReminderSet { /** XmatMessengerMessageReminderSet offlineThreadingId */ offlineThreadingId?: (number|Long|null); /** XmatMessengerMessageReminderSet scheduledTime */ scheduledTime?: (number|Long|null); } /** Represents a XmatMessengerMessageReminderSet. */ class XmatMessengerMessageReminderSet implements IXmatMessengerMessageReminderSet { /** * Constructs a new XmatMessengerMessageReminderSet. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet); /** XmatMessengerMessageReminderSet offlineThreadingId. */ public offlineThreadingId?: (number|Long|null); /** XmatMessengerMessageReminderSet scheduledTime. */ public scheduledTime?: (number|Long|null); /** * Creates a new XmatMessengerMessageReminderSet instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerMessageReminderSet instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet; /** * Encodes the specified XmatMessengerMessageReminderSet message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet.verify|verify} messages. * @param message XmatMessengerMessageReminderSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerMessageReminderSet message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet.verify|verify} messages. * @param message XmatMessengerMessageReminderSet message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerMessageReminderSet, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerMessageReminderSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerMessageReminderSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet; /** * Decodes a XmatMessengerMessageReminderSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerMessageReminderSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet; /** * Verifies a XmatMessengerMessageReminderSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerMessageReminderSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerMessageReminderSet */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet; /** * Creates a plain object from a XmatMessengerMessageReminderSet message. Also converts values to other types if specified. * @param message XmatMessengerMessageReminderSet * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerMessageReminderSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerMessageReminderSet to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerMessageReminderSet * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatSetParticipantUpdateMode. */ interface IXmatSetParticipantUpdateMode { /** XmatSetParticipantUpdateMode participantUpdateMode */ participantUpdateMode?: (string|null); /** XmatSetParticipantUpdateMode setterId */ setterId?: (number|Long|null); /** XmatSetParticipantUpdateMode transportThreadFbid */ transportThreadFbid?: (number|Long|null); } /** Represents a XmatSetParticipantUpdateMode. */ class XmatSetParticipantUpdateMode implements IXmatSetParticipantUpdateMode { /** * Constructs a new XmatSetParticipantUpdateMode. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode); /** XmatSetParticipantUpdateMode participantUpdateMode. */ public participantUpdateMode?: (string|null); /** XmatSetParticipantUpdateMode setterId. */ public setterId?: (number|Long|null); /** XmatSetParticipantUpdateMode transportThreadFbid. */ public transportThreadFbid?: (number|Long|null); /** * Creates a new XmatSetParticipantUpdateMode instance using the specified properties. * @param [properties] Properties to set * @returns XmatSetParticipantUpdateMode instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode): waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode; /** * Encodes the specified XmatSetParticipantUpdateMode message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode.verify|verify} messages. * @param message XmatSetParticipantUpdateMode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatSetParticipantUpdateMode message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode.verify|verify} messages. * @param message XmatSetParticipantUpdateMode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatSetParticipantUpdateMode, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatSetParticipantUpdateMode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatSetParticipantUpdateMode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode; /** * Decodes a XmatSetParticipantUpdateMode message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatSetParticipantUpdateMode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode; /** * Verifies a XmatSetParticipantUpdateMode message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatSetParticipantUpdateMode message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatSetParticipantUpdateMode */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode; /** * Creates a plain object from a XmatSetParticipantUpdateMode message. Also converts values to other types if specified. * @param message XmatSetParticipantUpdateMode * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatSetParticipantUpdateMode, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatSetParticipantUpdateMode to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatSetParticipantUpdateMode * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatGroupThreadCreated. */ interface IXmatGroupThreadCreated { /** XmatGroupThreadCreated threadSubtype */ threadSubtype?: (string|null); } /** Represents a XmatGroupThreadCreated. */ class XmatGroupThreadCreated implements IXmatGroupThreadCreated { /** * Constructs a new XmatGroupThreadCreated. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatGroupThreadCreated); /** XmatGroupThreadCreated threadSubtype. */ public threadSubtype?: (string|null); /** * Creates a new XmatGroupThreadCreated instance using the specified properties. * @param [properties] Properties to set * @returns XmatGroupThreadCreated instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatGroupThreadCreated): waproto.MiTransportAdminMessage.XmatGroupThreadCreated; /** * Encodes the specified XmatGroupThreadCreated message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatGroupThreadCreated.verify|verify} messages. * @param message XmatGroupThreadCreated message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatGroupThreadCreated, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatGroupThreadCreated message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatGroupThreadCreated.verify|verify} messages. * @param message XmatGroupThreadCreated message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatGroupThreadCreated, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatGroupThreadCreated message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatGroupThreadCreated * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatGroupThreadCreated; /** * Decodes a XmatGroupThreadCreated message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatGroupThreadCreated * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatGroupThreadCreated; /** * Verifies a XmatGroupThreadCreated message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatGroupThreadCreated message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatGroupThreadCreated */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatGroupThreadCreated; /** * Creates a plain object from a XmatGroupThreadCreated message. Also converts values to other types if specified. * @param message XmatGroupThreadCreated * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatGroupThreadCreated, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatGroupThreadCreated to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatGroupThreadCreated * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatChangeThreadName. */ interface IXmatChangeThreadName { /** XmatChangeThreadName newThreadName */ newThreadName?: (string|null); } /** Represents a XmatChangeThreadName. */ class XmatChangeThreadName implements IXmatChangeThreadName { /** * Constructs a new XmatChangeThreadName. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatChangeThreadName); /** XmatChangeThreadName newThreadName. */ public newThreadName?: (string|null); /** * Creates a new XmatChangeThreadName instance using the specified properties. * @param [properties] Properties to set * @returns XmatChangeThreadName instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatChangeThreadName): waproto.MiTransportAdminMessage.XmatChangeThreadName; /** * Encodes the specified XmatChangeThreadName message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatChangeThreadName.verify|verify} messages. * @param message XmatChangeThreadName message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatChangeThreadName, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatChangeThreadName message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatChangeThreadName.verify|verify} messages. * @param message XmatChangeThreadName message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatChangeThreadName, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatChangeThreadName message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatChangeThreadName * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatChangeThreadName; /** * Decodes a XmatChangeThreadName message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatChangeThreadName * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatChangeThreadName; /** * Verifies a XmatChangeThreadName message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatChangeThreadName message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatChangeThreadName */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatChangeThreadName; /** * Creates a plain object from a XmatChangeThreadName message. Also converts values to other types if specified. * @param message XmatChangeThreadName * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatChangeThreadName, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatChangeThreadName to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatChangeThreadName * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatChangeThreadAdmins. */ interface IXmatChangeThreadAdmins { /** XmatChangeThreadAdmins adminEvent */ adminEvent?: (string|null); /** XmatChangeThreadAdmins targetId */ targetId?: (number|Long|null); /** XmatChangeThreadAdmins threadCategory */ threadCategory?: (string|null); /** XmatChangeThreadAdmins adminType */ adminType?: (string|null); } /** Represents a XmatChangeThreadAdmins. */ class XmatChangeThreadAdmins implements IXmatChangeThreadAdmins { /** * Constructs a new XmatChangeThreadAdmins. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins); /** XmatChangeThreadAdmins adminEvent. */ public adminEvent?: (string|null); /** XmatChangeThreadAdmins targetId. */ public targetId?: (number|Long|null); /** XmatChangeThreadAdmins threadCategory. */ public threadCategory?: (string|null); /** XmatChangeThreadAdmins adminType. */ public adminType?: (string|null); /** * Creates a new XmatChangeThreadAdmins instance using the specified properties. * @param [properties] Properties to set * @returns XmatChangeThreadAdmins instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins): waproto.MiTransportAdminMessage.XmatChangeThreadAdmins; /** * Encodes the specified XmatChangeThreadAdmins message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatChangeThreadAdmins.verify|verify} messages. * @param message XmatChangeThreadAdmins message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatChangeThreadAdmins message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatChangeThreadAdmins.verify|verify} messages. * @param message XmatChangeThreadAdmins message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatChangeThreadAdmins, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatChangeThreadAdmins message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatChangeThreadAdmins * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatChangeThreadAdmins; /** * Decodes a XmatChangeThreadAdmins message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatChangeThreadAdmins * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatChangeThreadAdmins; /** * Verifies a XmatChangeThreadAdmins message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatChangeThreadAdmins message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatChangeThreadAdmins */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatChangeThreadAdmins; /** * Creates a plain object from a XmatChangeThreadAdmins message. Also converts values to other types if specified. * @param message XmatChangeThreadAdmins * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatChangeThreadAdmins, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatChangeThreadAdmins to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatChangeThreadAdmins * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatRemoveParticipant. */ interface IXmatRemoveParticipant { /** XmatRemoveParticipant removedParticipantFbid */ removedParticipantFbid?: (number|Long|null); } /** Represents a XmatRemoveParticipant. */ class XmatRemoveParticipant implements IXmatRemoveParticipant { /** * Constructs a new XmatRemoveParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatRemoveParticipant); /** XmatRemoveParticipant removedParticipantFbid. */ public removedParticipantFbid?: (number|Long|null); /** * Creates a new XmatRemoveParticipant instance using the specified properties. * @param [properties] Properties to set * @returns XmatRemoveParticipant instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatRemoveParticipant): waproto.MiTransportAdminMessage.XmatRemoveParticipant; /** * Encodes the specified XmatRemoveParticipant message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatRemoveParticipant.verify|verify} messages. * @param message XmatRemoveParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatRemoveParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatRemoveParticipant message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatRemoveParticipant.verify|verify} messages. * @param message XmatRemoveParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatRemoveParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatRemoveParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatRemoveParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatRemoveParticipant; /** * Decodes a XmatRemoveParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatRemoveParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatRemoveParticipant; /** * Verifies a XmatRemoveParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatRemoveParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatRemoveParticipant */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatRemoveParticipant; /** * Creates a plain object from a XmatRemoveParticipant message. Also converts values to other types if specified. * @param message XmatRemoveParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatRemoveParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatRemoveParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatRemoveParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatAddParticipants. */ interface IXmatAddParticipants { /** XmatAddParticipants participantsAdded */ participantsAdded?: ((number|Long)[]|null); /** XmatAddParticipants addedThroughJoinRequests */ addedThroughJoinRequests?: (boolean|null); } /** Represents a XmatAddParticipants. */ class XmatAddParticipants implements IXmatAddParticipants { /** * Constructs a new XmatAddParticipants. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatAddParticipants); /** XmatAddParticipants participantsAdded. */ public participantsAdded: (number|Long)[]; /** XmatAddParticipants addedThroughJoinRequests. */ public addedThroughJoinRequests?: (boolean|null); /** * Creates a new XmatAddParticipants instance using the specified properties. * @param [properties] Properties to set * @returns XmatAddParticipants instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatAddParticipants): waproto.MiTransportAdminMessage.XmatAddParticipants; /** * Encodes the specified XmatAddParticipants message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatAddParticipants.verify|verify} messages. * @param message XmatAddParticipants message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatAddParticipants, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatAddParticipants message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatAddParticipants.verify|verify} messages. * @param message XmatAddParticipants message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatAddParticipants, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatAddParticipants message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatAddParticipants * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatAddParticipants; /** * Decodes a XmatAddParticipants message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatAddParticipants * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatAddParticipants; /** * Verifies a XmatAddParticipants message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatAddParticipants message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatAddParticipants */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatAddParticipants; /** * Creates a plain object from a XmatAddParticipants message. Also converts values to other types if specified. * @param message XmatAddParticipants * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatAddParticipants, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatAddParticipants to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatAddParticipants * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatGenAITaskAdd. */ interface IXmatGenAITaskAdd { /** XmatGenAITaskAdd taskId */ taskId?: (number|Long|null); } /** Represents a XmatGenAITaskAdd. */ class XmatGenAITaskAdd implements IXmatGenAITaskAdd { /** * Constructs a new XmatGenAITaskAdd. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatGenAITaskAdd); /** XmatGenAITaskAdd taskId. */ public taskId?: (number|Long|null); /** * Creates a new XmatGenAITaskAdd instance using the specified properties. * @param [properties] Properties to set * @returns XmatGenAITaskAdd instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatGenAITaskAdd): waproto.MiTransportAdminMessage.XmatGenAITaskAdd; /** * Encodes the specified XmatGenAITaskAdd message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatGenAITaskAdd.verify|verify} messages. * @param message XmatGenAITaskAdd message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatGenAITaskAdd, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatGenAITaskAdd message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatGenAITaskAdd.verify|verify} messages. * @param message XmatGenAITaskAdd message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatGenAITaskAdd, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatGenAITaskAdd message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatGenAITaskAdd * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatGenAITaskAdd; /** * Decodes a XmatGenAITaskAdd message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatGenAITaskAdd * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatGenAITaskAdd; /** * Verifies a XmatGenAITaskAdd message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatGenAITaskAdd message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatGenAITaskAdd */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatGenAITaskAdd; /** * Creates a plain object from a XmatGenAITaskAdd message. Also converts values to other types if specified. * @param message XmatGenAITaskAdd * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatGenAITaskAdd, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatGenAITaskAdd to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatGenAITaskAdd * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatUnpinMessageV2. */ interface IXmatUnpinMessageV2 { /** XmatUnpinMessageV2 pinnedMessageId */ pinnedMessageId?: (string|null); } /** Represents a XmatUnpinMessageV2. */ class XmatUnpinMessageV2 implements IXmatUnpinMessageV2 { /** * Constructs a new XmatUnpinMessageV2. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatUnpinMessageV2); /** XmatUnpinMessageV2 pinnedMessageId. */ public pinnedMessageId?: (string|null); /** * Creates a new XmatUnpinMessageV2 instance using the specified properties. * @param [properties] Properties to set * @returns XmatUnpinMessageV2 instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatUnpinMessageV2): waproto.MiTransportAdminMessage.XmatUnpinMessageV2; /** * Encodes the specified XmatUnpinMessageV2 message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatUnpinMessageV2.verify|verify} messages. * @param message XmatUnpinMessageV2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatUnpinMessageV2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatUnpinMessageV2 message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatUnpinMessageV2.verify|verify} messages. * @param message XmatUnpinMessageV2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatUnpinMessageV2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatUnpinMessageV2 message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatUnpinMessageV2 * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatUnpinMessageV2; /** * Decodes a XmatUnpinMessageV2 message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatUnpinMessageV2 * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatUnpinMessageV2; /** * Verifies a XmatUnpinMessageV2 message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatUnpinMessageV2 message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatUnpinMessageV2 */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatUnpinMessageV2; /** * Creates a plain object from a XmatUnpinMessageV2 message. Also converts values to other types if specified. * @param message XmatUnpinMessageV2 * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatUnpinMessageV2, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatUnpinMessageV2 to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatUnpinMessageV2 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatPinMessageV2. */ interface IXmatPinMessageV2 { /** XmatPinMessageV2 pinnedMessageId */ pinnedMessageId?: (string|null); } /** Represents a XmatPinMessageV2. */ class XmatPinMessageV2 implements IXmatPinMessageV2 { /** * Constructs a new XmatPinMessageV2. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatPinMessageV2); /** XmatPinMessageV2 pinnedMessageId. */ public pinnedMessageId?: (string|null); /** * Creates a new XmatPinMessageV2 instance using the specified properties. * @param [properties] Properties to set * @returns XmatPinMessageV2 instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatPinMessageV2): waproto.MiTransportAdminMessage.XmatPinMessageV2; /** * Encodes the specified XmatPinMessageV2 message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatPinMessageV2.verify|verify} messages. * @param message XmatPinMessageV2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatPinMessageV2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatPinMessageV2 message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatPinMessageV2.verify|verify} messages. * @param message XmatPinMessageV2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatPinMessageV2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatPinMessageV2 message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatPinMessageV2 * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatPinMessageV2; /** * Decodes a XmatPinMessageV2 message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatPinMessageV2 * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatPinMessageV2; /** * Verifies a XmatPinMessageV2 message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatPinMessageV2 message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatPinMessageV2 */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatPinMessageV2; /** * Creates a plain object from a XmatPinMessageV2 message. Also converts values to other types if specified. * @param message XmatPinMessageV2 * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatPinMessageV2, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatPinMessageV2 to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatPinMessageV2 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatUpdatePayments. */ interface IXmatUpdatePayments { /** XmatUpdatePayments receiverName */ receiverName?: (string|null); /** XmatUpdatePayments senderName */ senderName?: (string|null); /** XmatUpdatePayments amount */ amount?: (number|null); /** XmatUpdatePayments transactionId */ transactionId?: (number|Long|null); /** XmatUpdatePayments transactionStatus */ transactionStatus?: (number|null); } /** Represents a XmatUpdatePayments. */ class XmatUpdatePayments implements IXmatUpdatePayments { /** * Constructs a new XmatUpdatePayments. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatUpdatePayments); /** XmatUpdatePayments receiverName. */ public receiverName?: (string|null); /** XmatUpdatePayments senderName. */ public senderName?: (string|null); /** XmatUpdatePayments amount. */ public amount?: (number|null); /** XmatUpdatePayments transactionId. */ public transactionId?: (number|Long|null); /** XmatUpdatePayments transactionStatus. */ public transactionStatus?: (number|null); /** * Creates a new XmatUpdatePayments instance using the specified properties. * @param [properties] Properties to set * @returns XmatUpdatePayments instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatUpdatePayments): waproto.MiTransportAdminMessage.XmatUpdatePayments; /** * Encodes the specified XmatUpdatePayments message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatUpdatePayments.verify|verify} messages. * @param message XmatUpdatePayments message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatUpdatePayments, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatUpdatePayments message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatUpdatePayments.verify|verify} messages. * @param message XmatUpdatePayments message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatUpdatePayments, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatUpdatePayments message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatUpdatePayments * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatUpdatePayments; /** * Decodes a XmatUpdatePayments message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatUpdatePayments * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatUpdatePayments; /** * Verifies a XmatUpdatePayments message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatUpdatePayments message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatUpdatePayments */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatUpdatePayments; /** * Creates a plain object from a XmatUpdatePayments message. Also converts values to other types if specified. * @param message XmatUpdatePayments * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatUpdatePayments, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatUpdatePayments to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatUpdatePayments * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatThreadQuickReaction. */ interface IXmatThreadQuickReaction { /** XmatThreadQuickReaction threadQuickReactionEmoji */ threadQuickReactionEmoji?: (string|null); /** XmatThreadQuickReaction threadQuickReactionInstructionKeyId */ threadQuickReactionInstructionKeyId?: (string|null); } /** Represents a XmatThreadQuickReaction. */ class XmatThreadQuickReaction implements IXmatThreadQuickReaction { /** * Constructs a new XmatThreadQuickReaction. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatThreadQuickReaction); /** XmatThreadQuickReaction threadQuickReactionEmoji. */ public threadQuickReactionEmoji?: (string|null); /** XmatThreadQuickReaction threadQuickReactionInstructionKeyId. */ public threadQuickReactionInstructionKeyId?: (string|null); /** * Creates a new XmatThreadQuickReaction instance using the specified properties. * @param [properties] Properties to set * @returns XmatThreadQuickReaction instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatThreadQuickReaction): waproto.MiTransportAdminMessage.XmatThreadQuickReaction; /** * Encodes the specified XmatThreadQuickReaction message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadQuickReaction.verify|verify} messages. * @param message XmatThreadQuickReaction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatThreadQuickReaction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatThreadQuickReaction message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadQuickReaction.verify|verify} messages. * @param message XmatThreadQuickReaction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatThreadQuickReaction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatThreadQuickReaction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatThreadQuickReaction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatThreadQuickReaction; /** * Decodes a XmatThreadQuickReaction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatThreadQuickReaction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatThreadQuickReaction; /** * Verifies a XmatThreadQuickReaction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatThreadQuickReaction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatThreadQuickReaction */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatThreadQuickReaction; /** * Creates a plain object from a XmatThreadQuickReaction message. Also converts values to other types if specified. * @param message XmatThreadQuickReaction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatThreadQuickReaction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatThreadQuickReaction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatThreadQuickReaction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatThreadNickname. */ interface IXmatThreadNickname { /** XmatThreadNickname participantId */ participantId?: (number|Long|null); /** XmatThreadNickname nickname */ nickname?: (string|null); } /** Represents a XmatThreadNickname. */ class XmatThreadNickname implements IXmatThreadNickname { /** * Constructs a new XmatThreadNickname. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatThreadNickname); /** XmatThreadNickname participantId. */ public participantId?: (number|Long|null); /** XmatThreadNickname nickname. */ public nickname?: (string|null); /** * Creates a new XmatThreadNickname instance using the specified properties. * @param [properties] Properties to set * @returns XmatThreadNickname instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatThreadNickname): waproto.MiTransportAdminMessage.XmatThreadNickname; /** * Encodes the specified XmatThreadNickname message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadNickname.verify|verify} messages. * @param message XmatThreadNickname message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatThreadNickname, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatThreadNickname message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadNickname.verify|verify} messages. * @param message XmatThreadNickname message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatThreadNickname, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatThreadNickname message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatThreadNickname * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatThreadNickname; /** * Decodes a XmatThreadNickname message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatThreadNickname * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatThreadNickname; /** * Verifies a XmatThreadNickname message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatThreadNickname message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatThreadNickname */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatThreadNickname; /** * Creates a plain object from a XmatThreadNickname message. Also converts values to other types if specified. * @param message XmatThreadNickname * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatThreadNickname, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatThreadNickname to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatThreadNickname * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatThreadIcon. */ interface IXmatThreadIcon { /** XmatThreadIcon threadIcon */ threadIcon?: (string|null); } /** Represents a XmatThreadIcon. */ class XmatThreadIcon implements IXmatThreadIcon { /** * Constructs a new XmatThreadIcon. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatThreadIcon); /** XmatThreadIcon threadIcon. */ public threadIcon?: (string|null); /** * Creates a new XmatThreadIcon instance using the specified properties. * @param [properties] Properties to set * @returns XmatThreadIcon instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatThreadIcon): waproto.MiTransportAdminMessage.XmatThreadIcon; /** * Encodes the specified XmatThreadIcon message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadIcon.verify|verify} messages. * @param message XmatThreadIcon message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatThreadIcon, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatThreadIcon message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThreadIcon.verify|verify} messages. * @param message XmatThreadIcon message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatThreadIcon, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatThreadIcon message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatThreadIcon * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatThreadIcon; /** * Decodes a XmatThreadIcon message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatThreadIcon * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatThreadIcon; /** * Verifies a XmatThreadIcon message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatThreadIcon message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatThreadIcon */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatThreadIcon; /** * Creates a plain object from a XmatThreadIcon message. Also converts values to other types if specified. * @param message XmatThreadIcon * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatThreadIcon, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatThreadIcon to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatThreadIcon * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatThemeColor. */ interface IXmatThemeColor { /** XmatThemeColor themeId */ themeId?: (string|null); /** XmatThemeColor themeColor */ themeColor?: (string|null); /** XmatThemeColor gradient */ gradient?: (string[]|null); /** XmatThemeColor shouldShowIcon */ shouldShowIcon?: (boolean|null); /** XmatThemeColor themeType */ themeType?: (number|null); /** XmatThemeColor accessibilityLabel */ accessibilityLabel?: (string|null); /** XmatThemeColor themeNameWithSubtitle */ themeNameWithSubtitle?: (string|null); /** XmatThemeColor themeEmoji */ themeEmoji?: (string|null); } /** Represents a XmatThemeColor. */ class XmatThemeColor implements IXmatThemeColor { /** * Constructs a new XmatThemeColor. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatThemeColor); /** XmatThemeColor themeId. */ public themeId?: (string|null); /** XmatThemeColor themeColor. */ public themeColor?: (string|null); /** XmatThemeColor gradient. */ public gradient: string[]; /** XmatThemeColor shouldShowIcon. */ public shouldShowIcon?: (boolean|null); /** XmatThemeColor themeType. */ public themeType?: (number|null); /** XmatThemeColor accessibilityLabel. */ public accessibilityLabel?: (string|null); /** XmatThemeColor themeNameWithSubtitle. */ public themeNameWithSubtitle?: (string|null); /** XmatThemeColor themeEmoji. */ public themeEmoji?: (string|null); /** * Creates a new XmatThemeColor instance using the specified properties. * @param [properties] Properties to set * @returns XmatThemeColor instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatThemeColor): waproto.MiTransportAdminMessage.XmatThemeColor; /** * Encodes the specified XmatThemeColor message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThemeColor.verify|verify} messages. * @param message XmatThemeColor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatThemeColor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatThemeColor message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatThemeColor.verify|verify} messages. * @param message XmatThemeColor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatThemeColor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatThemeColor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatThemeColor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatThemeColor; /** * Decodes a XmatThemeColor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatThemeColor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatThemeColor; /** * Verifies a XmatThemeColor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatThemeColor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatThemeColor */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatThemeColor; /** * Creates a plain object from a XmatThemeColor message. Also converts values to other types if specified. * @param message XmatThemeColor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatThemeColor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatThemeColor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatThemeColor * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerSharedAlbum. */ interface IXmatMessengerSharedAlbum { /** XmatMessengerSharedAlbum xmaDataclass */ xmaDataclass?: (string|null); } /** Represents a XmatMessengerSharedAlbum. */ class XmatMessengerSharedAlbum implements IXmatMessengerSharedAlbum { /** * Constructs a new XmatMessengerSharedAlbum. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum); /** XmatMessengerSharedAlbum xmaDataclass. */ public xmaDataclass?: (string|null); /** * Creates a new XmatMessengerSharedAlbum instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerSharedAlbum instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum; /** * Encodes the specified XmatMessengerSharedAlbum message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum.verify|verify} messages. * @param message XmatMessengerSharedAlbum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerSharedAlbum message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum.verify|verify} messages. * @param message XmatMessengerSharedAlbum message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbum, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerSharedAlbum message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerSharedAlbum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum; /** * Decodes a XmatMessengerSharedAlbum message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerSharedAlbum * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum; /** * Verifies a XmatMessengerSharedAlbum message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerSharedAlbum message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerSharedAlbum */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum; /** * Creates a plain object from a XmatMessengerSharedAlbum message. Also converts values to other types if specified. * @param message XmatMessengerSharedAlbum * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbum, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerSharedAlbum to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerSharedAlbum * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerSharedAlbumRename. */ interface IXmatMessengerSharedAlbumRename { /** XmatMessengerSharedAlbumRename sharedAlbumId */ sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumRename oldAlbumTitle */ oldAlbumTitle?: (string|null); /** XmatMessengerSharedAlbumRename newAlbumTitle */ newAlbumTitle?: (string|null); } /** Represents a XmatMessengerSharedAlbumRename. */ class XmatMessengerSharedAlbumRename implements IXmatMessengerSharedAlbumRename { /** * Constructs a new XmatMessengerSharedAlbumRename. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename); /** XmatMessengerSharedAlbumRename sharedAlbumId. */ public sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumRename oldAlbumTitle. */ public oldAlbumTitle?: (string|null); /** XmatMessengerSharedAlbumRename newAlbumTitle. */ public newAlbumTitle?: (string|null); /** * Creates a new XmatMessengerSharedAlbumRename instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerSharedAlbumRename instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename; /** * Encodes the specified XmatMessengerSharedAlbumRename message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename.verify|verify} messages. * @param message XmatMessengerSharedAlbumRename message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerSharedAlbumRename message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename.verify|verify} messages. * @param message XmatMessengerSharedAlbumRename message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumRename, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerSharedAlbumRename message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerSharedAlbumRename * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename; /** * Decodes a XmatMessengerSharedAlbumRename message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerSharedAlbumRename * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename; /** * Verifies a XmatMessengerSharedAlbumRename message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerSharedAlbumRename message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerSharedAlbumRename */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename; /** * Creates a plain object from a XmatMessengerSharedAlbumRename message. Also converts values to other types if specified. * @param message XmatMessengerSharedAlbumRename * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumRename, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerSharedAlbumRename to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerSharedAlbumRename * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerSharedAlbumDeletion. */ interface IXmatMessengerSharedAlbumDeletion { /** XmatMessengerSharedAlbumDeletion sharedAlbumId */ sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumDeletion albumTitle */ albumTitle?: (string|null); } /** Represents a XmatMessengerSharedAlbumDeletion. */ class XmatMessengerSharedAlbumDeletion implements IXmatMessengerSharedAlbumDeletion { /** * Constructs a new XmatMessengerSharedAlbumDeletion. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion); /** XmatMessengerSharedAlbumDeletion sharedAlbumId. */ public sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumDeletion albumTitle. */ public albumTitle?: (string|null); /** * Creates a new XmatMessengerSharedAlbumDeletion instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerSharedAlbumDeletion instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion; /** * Encodes the specified XmatMessengerSharedAlbumDeletion message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion.verify|verify} messages. * @param message XmatMessengerSharedAlbumDeletion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerSharedAlbumDeletion message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion.verify|verify} messages. * @param message XmatMessengerSharedAlbumDeletion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumDeletion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerSharedAlbumDeletion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerSharedAlbumDeletion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion; /** * Decodes a XmatMessengerSharedAlbumDeletion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerSharedAlbumDeletion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion; /** * Verifies a XmatMessengerSharedAlbumDeletion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerSharedAlbumDeletion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerSharedAlbumDeletion */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion; /** * Creates a plain object from a XmatMessengerSharedAlbumDeletion message. Also converts values to other types if specified. * @param message XmatMessengerSharedAlbumDeletion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumDeletion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerSharedAlbumDeletion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerSharedAlbumDeletion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerSharedAlbumContentRemoval. */ interface IXmatMessengerSharedAlbumContentRemoval { /** XmatMessengerSharedAlbumContentRemoval sharedAlbumId */ sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumContentRemoval removedContentMap */ removedContentMap?: (waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple[]|null); /** XmatMessengerSharedAlbumContentRemoval removedContentCount */ removedContentCount?: (number|Long|null); /** XmatMessengerSharedAlbumContentRemoval albumTitle */ albumTitle?: (string|null); } /** Represents a XmatMessengerSharedAlbumContentRemoval. */ class XmatMessengerSharedAlbumContentRemoval implements IXmatMessengerSharedAlbumContentRemoval { /** * Constructs a new XmatMessengerSharedAlbumContentRemoval. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval); /** XmatMessengerSharedAlbumContentRemoval sharedAlbumId. */ public sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumContentRemoval removedContentMap. */ public removedContentMap: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple[]; /** XmatMessengerSharedAlbumContentRemoval removedContentCount. */ public removedContentCount?: (number|Long|null); /** XmatMessengerSharedAlbumContentRemoval albumTitle. */ public albumTitle?: (string|null); /** * Creates a new XmatMessengerSharedAlbumContentRemoval instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerSharedAlbumContentRemoval instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval; /** * Encodes the specified XmatMessengerSharedAlbumContentRemoval message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.verify|verify} messages. * @param message XmatMessengerSharedAlbumContentRemoval message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerSharedAlbumContentRemoval message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.verify|verify} messages. * @param message XmatMessengerSharedAlbumContentRemoval message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumContentRemoval, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerSharedAlbumContentRemoval message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerSharedAlbumContentRemoval * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval; /** * Decodes a XmatMessengerSharedAlbumContentRemoval message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerSharedAlbumContentRemoval * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval; /** * Verifies a XmatMessengerSharedAlbumContentRemoval message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerSharedAlbumContentRemoval message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerSharedAlbumContentRemoval */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval; /** * Creates a plain object from a XmatMessengerSharedAlbumContentRemoval message. Also converts values to other types if specified. * @param message XmatMessengerSharedAlbumContentRemoval * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerSharedAlbumContentRemoval to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerSharedAlbumContentRemoval * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace XmatMessengerSharedAlbumContentRemoval { /** Properties of a RemovedContentTuple. */ interface IRemovedContentTuple { /** RemovedContentTuple key */ key?: (number|Long|null); /** RemovedContentTuple value */ value?: (string|null); } /** Represents a RemovedContentTuple. */ class RemovedContentTuple implements IRemovedContentTuple { /** * Constructs a new RemovedContentTuple. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple); /** RemovedContentTuple key. */ public key?: (number|Long|null); /** RemovedContentTuple value. */ public value?: (string|null); /** * Creates a new RemovedContentTuple instance using the specified properties. * @param [properties] Properties to set * @returns RemovedContentTuple instance */ public static create(properties?: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple; /** * Encodes the specified RemovedContentTuple message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple.verify|verify} messages. * @param message RemovedContentTuple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RemovedContentTuple message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple.verify|verify} messages. * @param message RemovedContentTuple message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.IRemovedContentTuple, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RemovedContentTuple message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RemovedContentTuple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple; /** * Decodes a RemovedContentTuple message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RemovedContentTuple * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple; /** * Verifies a RemovedContentTuple message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RemovedContentTuple message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RemovedContentTuple */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple; /** * Creates a plain object from a RemovedContentTuple message. Also converts values to other types if specified. * @param message RemovedContentTuple * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumContentRemoval.RemovedContentTuple, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RemovedContentTuple to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RemovedContentTuple * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a XmatMessengerSharedAlbumAddition. */ interface IXmatMessengerSharedAlbumAddition { /** XmatMessengerSharedAlbumAddition sharedAlbumId */ sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumAddition albumTitle */ albumTitle?: (string|null); /** XmatMessengerSharedAlbumAddition numOfAttachments */ numOfAttachments?: (number|Long|null); /** XmatMessengerSharedAlbumAddition isAlbumCreation */ isAlbumCreation?: (boolean|null); } /** Represents a XmatMessengerSharedAlbumAddition. */ class XmatMessengerSharedAlbumAddition implements IXmatMessengerSharedAlbumAddition { /** * Constructs a new XmatMessengerSharedAlbumAddition. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition); /** XmatMessengerSharedAlbumAddition sharedAlbumId. */ public sharedAlbumId?: (number|Long|null); /** XmatMessengerSharedAlbumAddition albumTitle. */ public albumTitle?: (string|null); /** XmatMessengerSharedAlbumAddition numOfAttachments. */ public numOfAttachments?: (number|Long|null); /** XmatMessengerSharedAlbumAddition isAlbumCreation. */ public isAlbumCreation?: (boolean|null); /** * Creates a new XmatMessengerSharedAlbumAddition instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerSharedAlbumAddition instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition; /** * Encodes the specified XmatMessengerSharedAlbumAddition message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition.verify|verify} messages. * @param message XmatMessengerSharedAlbumAddition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerSharedAlbumAddition message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition.verify|verify} messages. * @param message XmatMessengerSharedAlbumAddition message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerSharedAlbumAddition, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerSharedAlbumAddition message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerSharedAlbumAddition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition; /** * Decodes a XmatMessengerSharedAlbumAddition message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerSharedAlbumAddition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition; /** * Verifies a XmatMessengerSharedAlbumAddition message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerSharedAlbumAddition message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerSharedAlbumAddition */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition; /** * Creates a plain object from a XmatMessengerSharedAlbumAddition message. Also converts values to other types if specified. * @param message XmatMessengerSharedAlbumAddition * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerSharedAlbumAddition, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerSharedAlbumAddition to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerSharedAlbumAddition * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessengerQRCodeScanned. */ interface IXmatMessengerQRCodeScanned { /** XmatMessengerQRCodeScanned receiverName */ receiverName?: (string|null); /** XmatMessengerQRCodeScanned senderName */ senderName?: (string|null); } /** Represents a XmatMessengerQRCodeScanned. */ class XmatMessengerQRCodeScanned implements IXmatMessengerQRCodeScanned { /** * Constructs a new XmatMessengerQRCodeScanned. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned); /** XmatMessengerQRCodeScanned receiverName. */ public receiverName?: (string|null); /** XmatMessengerQRCodeScanned senderName. */ public senderName?: (string|null); /** * Creates a new XmatMessengerQRCodeScanned instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessengerQRCodeScanned instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned): waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned; /** * Encodes the specified XmatMessengerQRCodeScanned message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned.verify|verify} messages. * @param message XmatMessengerQRCodeScanned message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessengerQRCodeScanned message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned.verify|verify} messages. * @param message XmatMessengerQRCodeScanned message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessengerQRCodeScanned, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessengerQRCodeScanned message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessengerQRCodeScanned * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned; /** * Decodes a XmatMessengerQRCodeScanned message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessengerQRCodeScanned * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned; /** * Verifies a XmatMessengerQRCodeScanned message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessengerQRCodeScanned message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessengerQRCodeScanned */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned; /** * Creates a plain object from a XmatMessengerQRCodeScanned message. Also converts values to other types if specified. * @param message XmatMessengerQRCodeScanned * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessengerQRCodeScanned, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessengerQRCodeScanned to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessengerQRCodeScanned * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMessagingLimitSharing. */ interface IXmatMessagingLimitSharing { /** XmatMessagingLimitSharing senderName */ senderName?: (string|null); /** XmatMessagingLimitSharing senderId */ senderId?: (string|null); /** XmatMessagingLimitSharing limitSharingType */ limitSharingType?: (string|null); } /** Represents a XmatMessagingLimitSharing. */ class XmatMessagingLimitSharing implements IXmatMessagingLimitSharing { /** * Constructs a new XmatMessagingLimitSharing. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing); /** XmatMessagingLimitSharing senderName. */ public senderName?: (string|null); /** XmatMessagingLimitSharing senderId. */ public senderId?: (string|null); /** XmatMessagingLimitSharing limitSharingType. */ public limitSharingType?: (string|null); /** * Creates a new XmatMessagingLimitSharing instance using the specified properties. * @param [properties] Properties to set * @returns XmatMessagingLimitSharing instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing): waproto.MiTransportAdminMessage.XmatMessagingLimitSharing; /** * Encodes the specified XmatMessagingLimitSharing message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessagingLimitSharing.verify|verify} messages. * @param message XmatMessagingLimitSharing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMessagingLimitSharing message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMessagingLimitSharing.verify|verify} messages. * @param message XmatMessagingLimitSharing message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMessagingLimitSharing, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMessagingLimitSharing message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMessagingLimitSharing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMessagingLimitSharing; /** * Decodes a XmatMessagingLimitSharing message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMessagingLimitSharing * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMessagingLimitSharing; /** * Verifies a XmatMessagingLimitSharing message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMessagingLimitSharing message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMessagingLimitSharing */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMessagingLimitSharing; /** * Creates a plain object from a XmatMessagingLimitSharing message. Also converts values to other types if specified. * @param message XmatMessagingLimitSharing * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMessagingLimitSharing, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMessagingLimitSharing to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMessagingLimitSharing * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatMagicWords. */ interface IXmatMagicWords { /** XmatMagicWords newMagicWordCount */ newMagicWordCount?: (number|Long|null); /** XmatMagicWords removedMagicWordCount */ removedMagicWordCount?: (number|Long|null); /** XmatMagicWords magicWord */ magicWord?: (string|null); /** XmatMagicWords emojiEffect */ emojiEffect?: (string|null); /** XmatMagicWords isAllEdited */ isAllEdited?: (boolean|null); /** XmatMagicWords themeName */ themeName?: (string|null); } /** Represents a XmatMagicWords. */ class XmatMagicWords implements IXmatMagicWords { /** * Constructs a new XmatMagicWords. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatMagicWords); /** XmatMagicWords newMagicWordCount. */ public newMagicWordCount?: (number|Long|null); /** XmatMagicWords removedMagicWordCount. */ public removedMagicWordCount?: (number|Long|null); /** XmatMagicWords magicWord. */ public magicWord?: (string|null); /** XmatMagicWords emojiEffect. */ public emojiEffect?: (string|null); /** XmatMagicWords isAllEdited. */ public isAllEdited?: (boolean|null); /** XmatMagicWords themeName. */ public themeName?: (string|null); /** * Creates a new XmatMagicWords instance using the specified properties. * @param [properties] Properties to set * @returns XmatMagicWords instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatMagicWords): waproto.MiTransportAdminMessage.XmatMagicWords; /** * Encodes the specified XmatMagicWords message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMagicWords.verify|verify} messages. * @param message XmatMagicWords message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatMagicWords, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatMagicWords message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatMagicWords.verify|verify} messages. * @param message XmatMagicWords message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatMagicWords, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatMagicWords message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatMagicWords * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatMagicWords; /** * Decodes a XmatMagicWords message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatMagicWords * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatMagicWords; /** * Verifies a XmatMagicWords message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatMagicWords message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatMagicWords */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatMagicWords; /** * Creates a plain object from a XmatMagicWords message. Also converts values to other types if specified. * @param message XmatMagicWords * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatMagicWords, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatMagicWords to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatMagicWords * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatLinkCTA. */ interface IXmatLinkCTA { /** XmatLinkCTA linkCtaXmatPrimaryText */ linkCtaXmatPrimaryText?: (string|null); /** XmatLinkCTA linkCtaXmatCtaText */ linkCtaXmatCtaText?: (string|null); /** XmatLinkCTA linkCtaXmatCtaUrl */ linkCtaXmatCtaUrl?: (string|null); /** XmatLinkCTA linkCtaXmatCtaIosUrl */ linkCtaXmatCtaIosUrl?: (string|null); /** XmatLinkCTA androidUri */ androidUri?: (string|null); /** XmatLinkCTA asyncUrl */ asyncUrl?: (string|null); /** XmatLinkCTA wwwIsAsyncUrl */ wwwIsAsyncUrl?: (boolean|null); /** XmatLinkCTA msiteEnabled */ msiteEnabled?: (boolean|null); /** XmatLinkCTA hideUriInFallback */ hideUriInFallback?: (boolean|null); /** XmatLinkCTA showConfirmationDialog */ showConfirmationDialog?: (boolean|null); /** XmatLinkCTA graphPayload */ graphPayload?: (string|null); /** XmatLinkCTA identifierName */ identifierName?: (string|null); /** XmatLinkCTA threadId */ threadId?: (string|null); /** XmatLinkCTA hideCtaInFallback */ hideCtaInFallback?: (boolean|null); /** XmatLinkCTA ctxAdConversationStarterInfo */ ctxAdConversationStarterInfo?: (string|null); /** XmatLinkCTA fbmUri */ fbmUri?: (string|null); /** XmatLinkCTA initiatorUserId */ initiatorUserId?: (string|null); } /** Represents a XmatLinkCTA. */ class XmatLinkCTA implements IXmatLinkCTA { /** * Constructs a new XmatLinkCTA. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatLinkCTA); /** XmatLinkCTA linkCtaXmatPrimaryText. */ public linkCtaXmatPrimaryText?: (string|null); /** XmatLinkCTA linkCtaXmatCtaText. */ public linkCtaXmatCtaText?: (string|null); /** XmatLinkCTA linkCtaXmatCtaUrl. */ public linkCtaXmatCtaUrl?: (string|null); /** XmatLinkCTA linkCtaXmatCtaIosUrl. */ public linkCtaXmatCtaIosUrl?: (string|null); /** XmatLinkCTA androidUri. */ public androidUri?: (string|null); /** XmatLinkCTA asyncUrl. */ public asyncUrl?: (string|null); /** XmatLinkCTA wwwIsAsyncUrl. */ public wwwIsAsyncUrl?: (boolean|null); /** XmatLinkCTA msiteEnabled. */ public msiteEnabled?: (boolean|null); /** XmatLinkCTA hideUriInFallback. */ public hideUriInFallback?: (boolean|null); /** XmatLinkCTA showConfirmationDialog. */ public showConfirmationDialog?: (boolean|null); /** XmatLinkCTA graphPayload. */ public graphPayload?: (string|null); /** XmatLinkCTA identifierName. */ public identifierName?: (string|null); /** XmatLinkCTA threadId. */ public threadId?: (string|null); /** XmatLinkCTA hideCtaInFallback. */ public hideCtaInFallback?: (boolean|null); /** XmatLinkCTA ctxAdConversationStarterInfo. */ public ctxAdConversationStarterInfo?: (string|null); /** XmatLinkCTA fbmUri. */ public fbmUri?: (string|null); /** XmatLinkCTA initiatorUserId. */ public initiatorUserId?: (string|null); /** * Creates a new XmatLinkCTA instance using the specified properties. * @param [properties] Properties to set * @returns XmatLinkCTA instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatLinkCTA): waproto.MiTransportAdminMessage.XmatLinkCTA; /** * Encodes the specified XmatLinkCTA message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatLinkCTA.verify|verify} messages. * @param message XmatLinkCTA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatLinkCTA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatLinkCTA message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatLinkCTA.verify|verify} messages. * @param message XmatLinkCTA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatLinkCTA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatLinkCTA message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatLinkCTA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatLinkCTA; /** * Decodes a XmatLinkCTA message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatLinkCTA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatLinkCTA; /** * Verifies a XmatLinkCTA message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatLinkCTA message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatLinkCTA */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatLinkCTA; /** * Creates a plain object from a XmatLinkCTA message. Also converts values to other types if specified. * @param message XmatLinkCTA * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatLinkCTA, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatLinkCTA to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatLinkCTA * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatInstantGameEncryptedDynamicCustomUpdate. */ interface IXmatInstantGameEncryptedDynamicCustomUpdate { /** XmatInstantGameEncryptedDynamicCustomUpdate senderName */ senderName?: (string|null); /** XmatInstantGameEncryptedDynamicCustomUpdate muteManagementAdminTextType */ muteManagementAdminTextType?: (string|null); /** XmatInstantGameEncryptedDynamicCustomUpdate gameName */ gameName?: (string|null); } /** Represents a XmatInstantGameEncryptedDynamicCustomUpdate. */ class XmatInstantGameEncryptedDynamicCustomUpdate implements IXmatInstantGameEncryptedDynamicCustomUpdate { /** * Constructs a new XmatInstantGameEncryptedDynamicCustomUpdate. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate); /** XmatInstantGameEncryptedDynamicCustomUpdate senderName. */ public senderName?: (string|null); /** XmatInstantGameEncryptedDynamicCustomUpdate muteManagementAdminTextType. */ public muteManagementAdminTextType?: (string|null); /** XmatInstantGameEncryptedDynamicCustomUpdate gameName. */ public gameName?: (string|null); /** * Creates a new XmatInstantGameEncryptedDynamicCustomUpdate instance using the specified properties. * @param [properties] Properties to set * @returns XmatInstantGameEncryptedDynamicCustomUpdate instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate): waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate; /** * Encodes the specified XmatInstantGameEncryptedDynamicCustomUpdate message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate.verify|verify} messages. * @param message XmatInstantGameEncryptedDynamicCustomUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatInstantGameEncryptedDynamicCustomUpdate message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate.verify|verify} messages. * @param message XmatInstantGameEncryptedDynamicCustomUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatInstantGameEncryptedDynamicCustomUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatInstantGameEncryptedDynamicCustomUpdate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatInstantGameEncryptedDynamicCustomUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate; /** * Decodes a XmatInstantGameEncryptedDynamicCustomUpdate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatInstantGameEncryptedDynamicCustomUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate; /** * Verifies a XmatInstantGameEncryptedDynamicCustomUpdate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatInstantGameEncryptedDynamicCustomUpdate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatInstantGameEncryptedDynamicCustomUpdate */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate; /** * Creates a plain object from a XmatInstantGameEncryptedDynamicCustomUpdate message. Also converts values to other types if specified. * @param message XmatInstantGameEncryptedDynamicCustomUpdate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatInstantGameEncryptedDynamicCustomUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatInstantGameEncryptedDynamicCustomUpdate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatInstantGameEncryptedDynamicCustomUpdate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatFriendRequestConfirmedEncrypted. */ interface IXmatFriendRequestConfirmedEncrypted { /** XmatFriendRequestConfirmedEncrypted otherUserName */ otherUserName?: (string|null); /** XmatFriendRequestConfirmedEncrypted isTurnOnCohort */ isTurnOnCohort?: (string|null); /** XmatFriendRequestConfirmedEncrypted userWhoAcceptedFriendRequest */ userWhoAcceptedFriendRequest?: (string|null); } /** Represents a XmatFriendRequestConfirmedEncrypted. */ class XmatFriendRequestConfirmedEncrypted implements IXmatFriendRequestConfirmedEncrypted { /** * Constructs a new XmatFriendRequestConfirmedEncrypted. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted); /** XmatFriendRequestConfirmedEncrypted otherUserName. */ public otherUserName?: (string|null); /** XmatFriendRequestConfirmedEncrypted isTurnOnCohort. */ public isTurnOnCohort?: (string|null); /** XmatFriendRequestConfirmedEncrypted userWhoAcceptedFriendRequest. */ public userWhoAcceptedFriendRequest?: (string|null); /** * Creates a new XmatFriendRequestConfirmedEncrypted instance using the specified properties. * @param [properties] Properties to set * @returns XmatFriendRequestConfirmedEncrypted instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted): waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted; /** * Encodes the specified XmatFriendRequestConfirmedEncrypted message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted.verify|verify} messages. * @param message XmatFriendRequestConfirmedEncrypted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatFriendRequestConfirmedEncrypted message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted.verify|verify} messages. * @param message XmatFriendRequestConfirmedEncrypted message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatFriendRequestConfirmedEncrypted, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatFriendRequestConfirmedEncrypted message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatFriendRequestConfirmedEncrypted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted; /** * Decodes a XmatFriendRequestConfirmedEncrypted message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatFriendRequestConfirmedEncrypted * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted; /** * Verifies a XmatFriendRequestConfirmedEncrypted message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatFriendRequestConfirmedEncrypted message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatFriendRequestConfirmedEncrypted */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted; /** * Creates a plain object from a XmatFriendRequestConfirmedEncrypted message. Also converts values to other types if specified. * @param message XmatFriendRequestConfirmedEncrypted * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatFriendRequestConfirmedEncrypted, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatFriendRequestConfirmedEncrypted to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatFriendRequestConfirmedEncrypted * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XmatDisappearingSetting. */ interface IXmatDisappearingSetting { /** XmatDisappearingSetting disappearingSettingTime */ disappearingSettingTime?: (number|Long|null); /** XmatDisappearingSetting oldDisappearingSettingTime */ oldDisappearingSettingTime?: (number|Long|null); /** XmatDisappearingSetting disappearingSettingActorFbid */ disappearingSettingActorFbid?: (number|Long|null); /** XmatDisappearingSetting newEphemeralityType */ newEphemeralityType?: (number|Long|null); /** XmatDisappearingSetting oldEphemeralityType */ oldEphemeralityType?: (number|Long|null); } /** Represents a XmatDisappearingSetting. */ class XmatDisappearingSetting implements IXmatDisappearingSetting { /** * Constructs a new XmatDisappearingSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IXmatDisappearingSetting); /** XmatDisappearingSetting disappearingSettingTime. */ public disappearingSettingTime?: (number|Long|null); /** XmatDisappearingSetting oldDisappearingSettingTime. */ public oldDisappearingSettingTime?: (number|Long|null); /** XmatDisappearingSetting disappearingSettingActorFbid. */ public disappearingSettingActorFbid?: (number|Long|null); /** XmatDisappearingSetting newEphemeralityType. */ public newEphemeralityType?: (number|Long|null); /** XmatDisappearingSetting oldEphemeralityType. */ public oldEphemeralityType?: (number|Long|null); /** * Creates a new XmatDisappearingSetting instance using the specified properties. * @param [properties] Properties to set * @returns XmatDisappearingSetting instance */ public static create(properties?: waproto.MiTransportAdminMessage.IXmatDisappearingSetting): waproto.MiTransportAdminMessage.XmatDisappearingSetting; /** * Encodes the specified XmatDisappearingSetting message. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatDisappearingSetting.verify|verify} messages. * @param message XmatDisappearingSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IXmatDisappearingSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XmatDisappearingSetting message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.XmatDisappearingSetting.verify|verify} messages. * @param message XmatDisappearingSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IXmatDisappearingSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XmatDisappearingSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XmatDisappearingSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.XmatDisappearingSetting; /** * Decodes a XmatDisappearingSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XmatDisappearingSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.XmatDisappearingSetting; /** * Verifies a XmatDisappearingSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XmatDisappearingSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XmatDisappearingSetting */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.XmatDisappearingSetting; /** * Creates a plain object from a XmatDisappearingSetting message. Also converts values to other types if specified. * @param message XmatDisappearingSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.XmatDisappearingSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XmatDisappearingSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XmatDisappearingSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LimitSharingChanged. */ interface ILimitSharingChanged { /** LimitSharingChanged sharingType */ sharingType?: (waproto.MiTransportAdminMessage.LimitSharingChanged.SharingType|null); } /** Represents a LimitSharingChanged. */ class LimitSharingChanged implements ILimitSharingChanged { /** * Constructs a new LimitSharingChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.ILimitSharingChanged); /** LimitSharingChanged sharingType. */ public sharingType?: (waproto.MiTransportAdminMessage.LimitSharingChanged.SharingType|null); /** * Creates a new LimitSharingChanged instance using the specified properties. * @param [properties] Properties to set * @returns LimitSharingChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.ILimitSharingChanged): waproto.MiTransportAdminMessage.LimitSharingChanged; /** * Encodes the specified LimitSharingChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.LimitSharingChanged.verify|verify} messages. * @param message LimitSharingChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.ILimitSharingChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LimitSharingChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.LimitSharingChanged.verify|verify} messages. * @param message LimitSharingChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.ILimitSharingChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LimitSharingChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LimitSharingChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.LimitSharingChanged; /** * Decodes a LimitSharingChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LimitSharingChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.LimitSharingChanged; /** * Verifies a LimitSharingChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LimitSharingChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LimitSharingChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.LimitSharingChanged; /** * Creates a plain object from a LimitSharingChanged message. Also converts values to other types if specified. * @param message LimitSharingChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.LimitSharingChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LimitSharingChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LimitSharingChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LimitSharingChanged { /** SharingType enum. */ enum SharingType { UNSET = 0, DISABLED = 1, ENABLED = 2 } } /** Properties of a DisappearingSettingChanged. */ interface IDisappearingSettingChanged { /** DisappearingSettingChanged disappearingSettingDurationSeconds */ disappearingSettingDurationSeconds?: (number|null); /** DisappearingSettingChanged oldDisappearingSettingDurationSeconds */ oldDisappearingSettingDurationSeconds?: (number|null); } /** Represents a DisappearingSettingChanged. */ class DisappearingSettingChanged implements IDisappearingSettingChanged { /** * Constructs a new DisappearingSettingChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IDisappearingSettingChanged); /** DisappearingSettingChanged disappearingSettingDurationSeconds. */ public disappearingSettingDurationSeconds?: (number|null); /** DisappearingSettingChanged oldDisappearingSettingDurationSeconds. */ public oldDisappearingSettingDurationSeconds?: (number|null); /** * Creates a new DisappearingSettingChanged instance using the specified properties. * @param [properties] Properties to set * @returns DisappearingSettingChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IDisappearingSettingChanged): waproto.MiTransportAdminMessage.DisappearingSettingChanged; /** * Encodes the specified DisappearingSettingChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.DisappearingSettingChanged.verify|verify} messages. * @param message DisappearingSettingChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IDisappearingSettingChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DisappearingSettingChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.DisappearingSettingChanged.verify|verify} messages. * @param message DisappearingSettingChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IDisappearingSettingChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DisappearingSettingChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DisappearingSettingChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.DisappearingSettingChanged; /** * Decodes a DisappearingSettingChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DisappearingSettingChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.DisappearingSettingChanged; /** * Verifies a DisappearingSettingChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DisappearingSettingChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DisappearingSettingChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.DisappearingSettingChanged; /** * Creates a plain object from a DisappearingSettingChanged message. Also converts values to other types if specified. * @param message DisappearingSettingChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.DisappearingSettingChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DisappearingSettingChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DisappearingSettingChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an IconChanged. */ interface IIconChanged { /** IconChanged threadIcon */ threadIcon?: (string|null); } /** Represents an IconChanged. */ class IconChanged implements IIconChanged { /** * Constructs a new IconChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IIconChanged); /** IconChanged threadIcon. */ public threadIcon?: (string|null); /** * Creates a new IconChanged instance using the specified properties. * @param [properties] Properties to set * @returns IconChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IIconChanged): waproto.MiTransportAdminMessage.IconChanged; /** * Encodes the specified IconChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.IconChanged.verify|verify} messages. * @param message IconChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IIconChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IconChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.IconChanged.verify|verify} messages. * @param message IconChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IIconChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IconChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IconChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.IconChanged; /** * Decodes an IconChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IconChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.IconChanged; /** * Verifies an IconChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IconChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IconChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.IconChanged; /** * Creates a plain object from an IconChanged message. Also converts values to other types if specified. * @param message IconChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.IconChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IconChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IconChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LinkCta. */ interface ILinkCta { /** LinkCta ukOsaAdminText */ ukOsaAdminText?: (waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText|null); } /** Represents a LinkCta. */ class LinkCta implements ILinkCta { /** * Constructs a new LinkCta. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.ILinkCta); /** LinkCta ukOsaAdminText. */ public ukOsaAdminText?: (waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText|null); /** LinkCta content. */ public content?: "ukOsaAdminText"; /** * Creates a new LinkCta instance using the specified properties. * @param [properties] Properties to set * @returns LinkCta instance */ public static create(properties?: waproto.MiTransportAdminMessage.ILinkCta): waproto.MiTransportAdminMessage.LinkCta; /** * Encodes the specified LinkCta message. Does not implicitly {@link waproto.MiTransportAdminMessage.LinkCta.verify|verify} messages. * @param message LinkCta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.ILinkCta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LinkCta message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.LinkCta.verify|verify} messages. * @param message LinkCta message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.ILinkCta, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LinkCta message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LinkCta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.LinkCta; /** * Decodes a LinkCta message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LinkCta * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.LinkCta; /** * Verifies a LinkCta message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LinkCta message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LinkCta */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.LinkCta; /** * Creates a plain object from a LinkCta message. Also converts values to other types if specified. * @param message LinkCta * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.LinkCta, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LinkCta to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LinkCta * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LinkCta { /** Properties of an UkOsaAdminText. */ interface IUkOsaAdminText { /** UkOsaAdminText initiatorUserId */ initiatorUserId?: (string|null); } /** Represents an UkOsaAdminText. */ class UkOsaAdminText implements IUkOsaAdminText { /** * Constructs a new UkOsaAdminText. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText); /** UkOsaAdminText initiatorUserId. */ public initiatorUserId?: (string|null); /** * Creates a new UkOsaAdminText instance using the specified properties. * @param [properties] Properties to set * @returns UkOsaAdminText instance */ public static create(properties?: waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText): waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText; /** * Encodes the specified UkOsaAdminText message. Does not implicitly {@link waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText.verify|verify} messages. * @param message UkOsaAdminText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UkOsaAdminText message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText.verify|verify} messages. * @param message UkOsaAdminText message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.LinkCta.IUkOsaAdminText, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UkOsaAdminText message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UkOsaAdminText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText; /** * Decodes an UkOsaAdminText message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UkOsaAdminText * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText; /** * Verifies an UkOsaAdminText message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UkOsaAdminText message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UkOsaAdminText */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText; /** * Creates a plain object from an UkOsaAdminText message. Also converts values to other types if specified. * @param message UkOsaAdminText * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.LinkCta.UkOsaAdminText, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UkOsaAdminText to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UkOsaAdminText * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a QuickReactionChanged. */ interface IQuickReactionChanged { /** QuickReactionChanged emojiName */ emojiName?: (string|null); } /** Represents a QuickReactionChanged. */ class QuickReactionChanged implements IQuickReactionChanged { /** * Constructs a new QuickReactionChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IQuickReactionChanged); /** QuickReactionChanged emojiName. */ public emojiName?: (string|null); /** * Creates a new QuickReactionChanged instance using the specified properties. * @param [properties] Properties to set * @returns QuickReactionChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IQuickReactionChanged): waproto.MiTransportAdminMessage.QuickReactionChanged; /** * Encodes the specified QuickReactionChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.QuickReactionChanged.verify|verify} messages. * @param message QuickReactionChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IQuickReactionChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuickReactionChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.QuickReactionChanged.verify|verify} messages. * @param message QuickReactionChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IQuickReactionChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuickReactionChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuickReactionChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.QuickReactionChanged; /** * Decodes a QuickReactionChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuickReactionChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.QuickReactionChanged; /** * Verifies a QuickReactionChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuickReactionChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuickReactionChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.QuickReactionChanged; /** * Creates a plain object from a QuickReactionChanged message. Also converts values to other types if specified. * @param message QuickReactionChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.QuickReactionChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuickReactionChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuickReactionChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupImageChanged. */ interface IGroupImageChanged { /** GroupImageChanged action */ action?: (waproto.MiTransportAdminMessage.GroupImageChanged.Action|null); } /** Represents a GroupImageChanged. */ class GroupImageChanged implements IGroupImageChanged { /** * Constructs a new GroupImageChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IGroupImageChanged); /** GroupImageChanged action. */ public action?: (waproto.MiTransportAdminMessage.GroupImageChanged.Action|null); /** * Creates a new GroupImageChanged instance using the specified properties. * @param [properties] Properties to set * @returns GroupImageChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IGroupImageChanged): waproto.MiTransportAdminMessage.GroupImageChanged; /** * Encodes the specified GroupImageChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupImageChanged.verify|verify} messages. * @param message GroupImageChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IGroupImageChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupImageChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupImageChanged.verify|verify} messages. * @param message GroupImageChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IGroupImageChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupImageChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupImageChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.GroupImageChanged; /** * Decodes a GroupImageChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupImageChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.GroupImageChanged; /** * Verifies a GroupImageChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupImageChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupImageChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.GroupImageChanged; /** * Creates a plain object from a GroupImageChanged message. Also converts values to other types if specified. * @param message GroupImageChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.GroupImageChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupImageChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupImageChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupImageChanged { /** Action enum. */ enum Action { UNSET = 0, CHANGED = 1, REMOVED = 2 } } /** Properties of a MessagePinned. */ interface IMessagePinned { /** MessagePinned action */ action?: (waproto.MiTransportAdminMessage.MessagePinned.Action|null); } /** Represents a MessagePinned. */ class MessagePinned implements IMessagePinned { /** * Constructs a new MessagePinned. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IMessagePinned); /** MessagePinned action. */ public action?: (waproto.MiTransportAdminMessage.MessagePinned.Action|null); /** * Creates a new MessagePinned instance using the specified properties. * @param [properties] Properties to set * @returns MessagePinned instance */ public static create(properties?: waproto.MiTransportAdminMessage.IMessagePinned): waproto.MiTransportAdminMessage.MessagePinned; /** * Encodes the specified MessagePinned message. Does not implicitly {@link waproto.MiTransportAdminMessage.MessagePinned.verify|verify} messages. * @param message MessagePinned message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IMessagePinned, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessagePinned message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.MessagePinned.verify|verify} messages. * @param message MessagePinned message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IMessagePinned, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessagePinned message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessagePinned * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.MessagePinned; /** * Decodes a MessagePinned message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessagePinned * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.MessagePinned; /** * Verifies a MessagePinned message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessagePinned message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessagePinned */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.MessagePinned; /** * Creates a plain object from a MessagePinned message. Also converts values to other types if specified. * @param message MessagePinned * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.MessagePinned, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessagePinned to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessagePinned * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MessagePinned { /** Action enum. */ enum Action { UNSET = 0, PINNED = 1, UNPINNED = 2 } } /** Properties of a GroupMembershipAddModeChanged. */ interface IGroupMembershipAddModeChanged { /** GroupMembershipAddModeChanged mode */ mode?: (waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged.Mode|null); } /** Represents a GroupMembershipAddModeChanged. */ class GroupMembershipAddModeChanged implements IGroupMembershipAddModeChanged { /** * Constructs a new GroupMembershipAddModeChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged); /** GroupMembershipAddModeChanged mode. */ public mode?: (waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged.Mode|null); /** * Creates a new GroupMembershipAddModeChanged instance using the specified properties. * @param [properties] Properties to set * @returns GroupMembershipAddModeChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged): waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged; /** * Encodes the specified GroupMembershipAddModeChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged.verify|verify} messages. * @param message GroupMembershipAddModeChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupMembershipAddModeChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged.verify|verify} messages. * @param message GroupMembershipAddModeChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IGroupMembershipAddModeChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupMembershipAddModeChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupMembershipAddModeChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged; /** * Decodes a GroupMembershipAddModeChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupMembershipAddModeChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged; /** * Verifies a GroupMembershipAddModeChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupMembershipAddModeChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupMembershipAddModeChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged; /** * Creates a plain object from a GroupMembershipAddModeChanged message. Also converts values to other types if specified. * @param message GroupMembershipAddModeChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.GroupMembershipAddModeChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupMembershipAddModeChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupMembershipAddModeChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupMembershipAddModeChanged { /** Mode enum. */ enum Mode { UNSET = 0, ALL_MEMBERS = 1, ADMINS_ONLY = 2 } } /** Properties of a GroupNameChanged. */ interface IGroupNameChanged { /** GroupNameChanged groupName */ groupName?: (string|null); } /** Represents a GroupNameChanged. */ class GroupNameChanged implements IGroupNameChanged { /** * Constructs a new GroupNameChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IGroupNameChanged); /** GroupNameChanged groupName. */ public groupName?: (string|null); /** * Creates a new GroupNameChanged instance using the specified properties. * @param [properties] Properties to set * @returns GroupNameChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IGroupNameChanged): waproto.MiTransportAdminMessage.GroupNameChanged; /** * Encodes the specified GroupNameChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupNameChanged.verify|verify} messages. * @param message GroupNameChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IGroupNameChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupNameChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupNameChanged.verify|verify} messages. * @param message GroupNameChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IGroupNameChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupNameChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupNameChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.GroupNameChanged; /** * Decodes a GroupNameChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupNameChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.GroupNameChanged; /** * Verifies a GroupNameChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupNameChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupNameChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.GroupNameChanged; /** * Creates a plain object from a GroupNameChanged message. Also converts values to other types if specified. * @param message GroupNameChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.GroupNameChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupNameChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupNameChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GroupAdminChanged. */ interface IGroupAdminChanged { /** GroupAdminChanged targetUserId */ targetUserId?: (string[]|null); /** GroupAdminChanged action */ action?: (waproto.MiTransportAdminMessage.GroupAdminChanged.Action|null); } /** Represents a GroupAdminChanged. */ class GroupAdminChanged implements IGroupAdminChanged { /** * Constructs a new GroupAdminChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IGroupAdminChanged); /** GroupAdminChanged targetUserId. */ public targetUserId: string[]; /** GroupAdminChanged action. */ public action?: (waproto.MiTransportAdminMessage.GroupAdminChanged.Action|null); /** * Creates a new GroupAdminChanged instance using the specified properties. * @param [properties] Properties to set * @returns GroupAdminChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IGroupAdminChanged): waproto.MiTransportAdminMessage.GroupAdminChanged; /** * Encodes the specified GroupAdminChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupAdminChanged.verify|verify} messages. * @param message GroupAdminChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IGroupAdminChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupAdminChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupAdminChanged.verify|verify} messages. * @param message GroupAdminChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IGroupAdminChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupAdminChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupAdminChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.GroupAdminChanged; /** * Decodes a GroupAdminChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupAdminChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.GroupAdminChanged; /** * Verifies a GroupAdminChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupAdminChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupAdminChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.GroupAdminChanged; /** * Creates a plain object from a GroupAdminChanged message. Also converts values to other types if specified. * @param message GroupAdminChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.GroupAdminChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupAdminChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupAdminChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupAdminChanged { /** Action enum. */ enum Action { UNSET = 0, ADDED = 1, REMOVED = 2 } } /** Properties of a GroupParticipantChanged. */ interface IGroupParticipantChanged { /** GroupParticipantChanged targetUserId */ targetUserId?: (string[]|null); /** GroupParticipantChanged action */ action?: (waproto.MiTransportAdminMessage.GroupParticipantChanged.Action|null); } /** Represents a GroupParticipantChanged. */ class GroupParticipantChanged implements IGroupParticipantChanged { /** * Constructs a new GroupParticipantChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IGroupParticipantChanged); /** GroupParticipantChanged targetUserId. */ public targetUserId: string[]; /** GroupParticipantChanged action. */ public action?: (waproto.MiTransportAdminMessage.GroupParticipantChanged.Action|null); /** * Creates a new GroupParticipantChanged instance using the specified properties. * @param [properties] Properties to set * @returns GroupParticipantChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IGroupParticipantChanged): waproto.MiTransportAdminMessage.GroupParticipantChanged; /** * Encodes the specified GroupParticipantChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupParticipantChanged.verify|verify} messages. * @param message GroupParticipantChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IGroupParticipantChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupParticipantChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.GroupParticipantChanged.verify|verify} messages. * @param message GroupParticipantChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IGroupParticipantChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupParticipantChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupParticipantChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.GroupParticipantChanged; /** * Decodes a GroupParticipantChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupParticipantChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.GroupParticipantChanged; /** * Verifies a GroupParticipantChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupParticipantChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupParticipantChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.GroupParticipantChanged; /** * Creates a plain object from a GroupParticipantChanged message. Also converts values to other types if specified. * @param message GroupParticipantChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.GroupParticipantChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupParticipantChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupParticipantChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupParticipantChanged { /** Action enum. */ enum Action { UNSET = 0, ADDED = 1, REMOVED = 2 } } /** Properties of a NicknameChanged. */ interface INicknameChanged { /** NicknameChanged targetUserId */ targetUserId?: (string|null); /** NicknameChanged nickname */ nickname?: (string|null); } /** Represents a NicknameChanged. */ class NicknameChanged implements INicknameChanged { /** * Constructs a new NicknameChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.INicknameChanged); /** NicknameChanged targetUserId. */ public targetUserId?: (string|null); /** NicknameChanged nickname. */ public nickname?: (string|null); /** * Creates a new NicknameChanged instance using the specified properties. * @param [properties] Properties to set * @returns NicknameChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.INicknameChanged): waproto.MiTransportAdminMessage.NicknameChanged; /** * Encodes the specified NicknameChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.NicknameChanged.verify|verify} messages. * @param message NicknameChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.INicknameChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NicknameChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.NicknameChanged.verify|verify} messages. * @param message NicknameChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.INicknameChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NicknameChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NicknameChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.NicknameChanged; /** * Decodes a NicknameChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NicknameChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.NicknameChanged; /** * Verifies a NicknameChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NicknameChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NicknameChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.NicknameChanged; /** * Creates a plain object from a NicknameChanged message. Also converts values to other types if specified. * @param message NicknameChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.NicknameChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NicknameChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NicknameChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatThemeChanged. */ interface IChatThemeChanged { /** ChatThemeChanged themeName */ themeName?: (string|null); /** ChatThemeChanged themeEmoji */ themeEmoji?: (string|null); /** ChatThemeChanged themeType */ themeType?: (number|null); } /** Represents a ChatThemeChanged. */ class ChatThemeChanged implements IChatThemeChanged { /** * Constructs a new ChatThemeChanged. * @param [properties] Properties to set */ constructor(properties?: waproto.MiTransportAdminMessage.IChatThemeChanged); /** ChatThemeChanged themeName. */ public themeName?: (string|null); /** ChatThemeChanged themeEmoji. */ public themeEmoji?: (string|null); /** ChatThemeChanged themeType. */ public themeType?: (number|null); /** * Creates a new ChatThemeChanged instance using the specified properties. * @param [properties] Properties to set * @returns ChatThemeChanged instance */ public static create(properties?: waproto.MiTransportAdminMessage.IChatThemeChanged): waproto.MiTransportAdminMessage.ChatThemeChanged; /** * Encodes the specified ChatThemeChanged message. Does not implicitly {@link waproto.MiTransportAdminMessage.ChatThemeChanged.verify|verify} messages. * @param message ChatThemeChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MiTransportAdminMessage.IChatThemeChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatThemeChanged message, length delimited. Does not implicitly {@link waproto.MiTransportAdminMessage.ChatThemeChanged.verify|verify} messages. * @param message ChatThemeChanged message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MiTransportAdminMessage.IChatThemeChanged, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatThemeChanged message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatThemeChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MiTransportAdminMessage.ChatThemeChanged; /** * Decodes a ChatThemeChanged message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatThemeChanged * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MiTransportAdminMessage.ChatThemeChanged; /** * Verifies a ChatThemeChanged message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatThemeChanged message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatThemeChanged */ public static fromObject(object: { [k: string]: any }): waproto.MiTransportAdminMessage.ChatThemeChanged; /** * Creates a plain object from a ChatThemeChanged message. Also converts values to other types if specified. * @param message ChatThemeChanged * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MiTransportAdminMessage.ChatThemeChanged, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatThemeChanged to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatThemeChanged * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MinosClientConfig. */ interface IMinosClientConfig { /** MinosClientConfig preferredMessageEncryptionVersion */ preferredMessageEncryptionVersion?: (number|null); /** MinosClientConfig preferredMekEncryptionVersion */ preferredMekEncryptionVersion?: (number|null); } /** Represents a MinosClientConfig. */ class MinosClientConfig implements IMinosClientConfig { /** * Constructs a new MinosClientConfig. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosClientConfig); /** MinosClientConfig preferredMessageEncryptionVersion. */ public preferredMessageEncryptionVersion?: (number|null); /** MinosClientConfig preferredMekEncryptionVersion. */ public preferredMekEncryptionVersion?: (number|null); /** * Creates a new MinosClientConfig instance using the specified properties. * @param [properties] Properties to set * @returns MinosClientConfig instance */ public static create(properties?: waproto.IMinosClientConfig): waproto.MinosClientConfig; /** * Encodes the specified MinosClientConfig message. Does not implicitly {@link waproto.MinosClientConfig.verify|verify} messages. * @param message MinosClientConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosClientConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosClientConfig message, length delimited. Does not implicitly {@link waproto.MinosClientConfig.verify|verify} messages. * @param message MinosClientConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosClientConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosClientConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosClientConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosClientConfig; /** * Decodes a MinosClientConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosClientConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosClientConfig; /** * Verifies a MinosClientConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosClientConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosClientConfig */ public static fromObject(object: { [k: string]: any }): waproto.MinosClientConfig; /** * Creates a plain object from a MinosClientConfig message. Also converts values to other types if specified. * @param message MinosClientConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosClientConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosClientConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosClientConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosCommand. */ interface IMinosCommand { /** MinosCommand encryptAndSignMessage */ encryptAndSignMessage?: (waproto.IMinosEncryptAndSignMessageInput|null); /** MinosCommand decryptAndVerifyMessage */ decryptAndVerifyMessage?: (waproto.IMinosDecryptAndVerifyMessageInput|null); /** MinosCommand generateMek */ generateMek?: (waproto.IGenerateMekInput|null); /** MinosCommand generateMekRosterHash */ generateMekRosterHash?: (waproto.IGenerateMekRosterHashInput|null); /** MinosCommand encryptMekForDistribution */ encryptMekForDistribution?: (waproto.IEncryptMekForDistributionInput|null); /** MinosCommand decryptMekForDistribution */ decryptMekForDistribution?: (waproto.IDecryptMekForDistributionInput|null); /** MinosCommand encryptMeksForDistributionFromTransportSender */ encryptMeksForDistributionFromTransportSender?: (waproto.IEncryptMeksForDistributionFromTransportSenderInput|null); /** MinosCommand decryptMekForDistributionFromTransportSender */ decryptMekForDistributionFromTransportSender?: (waproto.IDecryptMekForDistributionFromTransportSenderInput|null); /** MinosCommand wrapTransportSigningPublicKey */ wrapTransportSigningPublicKey?: (waproto.IWrapTransportSigningPublicKeyInput|null); /** MinosCommand wrapTransportSigningSecretKey */ wrapTransportSigningSecretKey?: (waproto.IWrapTransportSigningSecretKeyInput|null); /** MinosCommand deriveMailboxSigningKeypair */ deriveMailboxSigningKeypair?: (waproto.IDeriveMailboxSigningKeypairInput|null); /** MinosCommand deriveMailboxEncryptionKeypair */ deriveMailboxEncryptionKeypair?: (waproto.IDeriveMailboxEncryptionKeypairInput|null); /** MinosCommand deriveMailboxAuthKeypair */ deriveMailboxAuthKeypair?: (waproto.IDeriveMailboxAuthKeypairInput|null); /** MinosCommand deriveAttachmentAccessTokenSecret */ deriveAttachmentAccessTokenSecret?: (waproto.IDeriveAttachmentAccessTokenSecretInput|null); /** MinosCommand deriveAttachmentPrimaryKeySecret */ deriveAttachmentPrimaryKeySecret?: (waproto.IDeriveAttachmentPrimaryKeySecretInput|null); /** MinosCommand minosOpenInitialEpoch */ minosOpenInitialEpoch?: (waproto.IMinosOpenInitialEpochInput|null); /** MinosCommand minosOpenEpoch */ minosOpenEpoch?: (waproto.IMinosOpenEpochInput|null); /** MinosCommand minosValidateEpoch */ minosValidateEpoch?: (waproto.IMinosValidateEpochInput|null); /** MinosCommand minosVerifySingleEpoch */ minosVerifySingleEpoch?: (waproto.IMinosVerifySingleEpochInput|null); /** MinosCommand minosThreadIdFromOneToOneThread */ minosThreadIdFromOneToOneThread?: (waproto.IMinosThreadIdFromOneToOneThreadInput|null); /** MinosCommand minosThreadIdFromActThreadId */ minosThreadIdFromActThreadId?: (waproto.IMinosThreadIdFromActThreadIdInput|null); /** MinosCommand mandrakeOpenEpoch */ mandrakeOpenEpoch?: (waproto.IMandrakeOpenEpochInput|null); /** MinosCommand mandrakeEncryptMek */ mandrakeEncryptMek?: (waproto.IMandrakeEncryptMekInput|null); /** MinosCommand mandrakeDecryptMek */ mandrakeDecryptMek?: (waproto.IMandrakeDecryptMekInput|null); /** MinosCommand mandrakeOpenInitialEpoch */ mandrakeOpenInitialEpoch?: (waproto.IMandrakeOpenInitialEpochInput|null); /** MinosCommand mandrakeValidateNewMmkFromMailbox */ mandrakeValidateNewMmkFromMailbox?: (waproto.IMandrakeValidateNewMmkFromMailboxInput|null); /** MinosCommand mandrakeValidateNewMmkFromDetachedDevice */ mandrakeValidateNewMmkFromDetachedDevice?: (waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput|null); /** MinosCommand deriveMessagingMailboxKeypairs */ deriveMessagingMailboxKeypairs?: (waproto.IDeriveMessagingMailboxKeypairsInput|null); /** MinosCommand decryptSelfMmkDistribution */ decryptSelfMmkDistribution?: (waproto.IDecryptSelfMmkDistributionInput|null); } /** Represents a MinosCommand. */ class MinosCommand implements IMinosCommand { /** * Constructs a new MinosCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosCommand); /** MinosCommand encryptAndSignMessage. */ public encryptAndSignMessage?: (waproto.IMinosEncryptAndSignMessageInput|null); /** MinosCommand decryptAndVerifyMessage. */ public decryptAndVerifyMessage?: (waproto.IMinosDecryptAndVerifyMessageInput|null); /** MinosCommand generateMek. */ public generateMek?: (waproto.IGenerateMekInput|null); /** MinosCommand generateMekRosterHash. */ public generateMekRosterHash?: (waproto.IGenerateMekRosterHashInput|null); /** MinosCommand encryptMekForDistribution. */ public encryptMekForDistribution?: (waproto.IEncryptMekForDistributionInput|null); /** MinosCommand decryptMekForDistribution. */ public decryptMekForDistribution?: (waproto.IDecryptMekForDistributionInput|null); /** MinosCommand encryptMeksForDistributionFromTransportSender. */ public encryptMeksForDistributionFromTransportSender?: (waproto.IEncryptMeksForDistributionFromTransportSenderInput|null); /** MinosCommand decryptMekForDistributionFromTransportSender. */ public decryptMekForDistributionFromTransportSender?: (waproto.IDecryptMekForDistributionFromTransportSenderInput|null); /** MinosCommand wrapTransportSigningPublicKey. */ public wrapTransportSigningPublicKey?: (waproto.IWrapTransportSigningPublicKeyInput|null); /** MinosCommand wrapTransportSigningSecretKey. */ public wrapTransportSigningSecretKey?: (waproto.IWrapTransportSigningSecretKeyInput|null); /** MinosCommand deriveMailboxSigningKeypair. */ public deriveMailboxSigningKeypair?: (waproto.IDeriveMailboxSigningKeypairInput|null); /** MinosCommand deriveMailboxEncryptionKeypair. */ public deriveMailboxEncryptionKeypair?: (waproto.IDeriveMailboxEncryptionKeypairInput|null); /** MinosCommand deriveMailboxAuthKeypair. */ public deriveMailboxAuthKeypair?: (waproto.IDeriveMailboxAuthKeypairInput|null); /** MinosCommand deriveAttachmentAccessTokenSecret. */ public deriveAttachmentAccessTokenSecret?: (waproto.IDeriveAttachmentAccessTokenSecretInput|null); /** MinosCommand deriveAttachmentPrimaryKeySecret. */ public deriveAttachmentPrimaryKeySecret?: (waproto.IDeriveAttachmentPrimaryKeySecretInput|null); /** MinosCommand minosOpenInitialEpoch. */ public minosOpenInitialEpoch?: (waproto.IMinosOpenInitialEpochInput|null); /** MinosCommand minosOpenEpoch. */ public minosOpenEpoch?: (waproto.IMinosOpenEpochInput|null); /** MinosCommand minosValidateEpoch. */ public minosValidateEpoch?: (waproto.IMinosValidateEpochInput|null); /** MinosCommand minosVerifySingleEpoch. */ public minosVerifySingleEpoch?: (waproto.IMinosVerifySingleEpochInput|null); /** MinosCommand minosThreadIdFromOneToOneThread. */ public minosThreadIdFromOneToOneThread?: (waproto.IMinosThreadIdFromOneToOneThreadInput|null); /** MinosCommand minosThreadIdFromActThreadId. */ public minosThreadIdFromActThreadId?: (waproto.IMinosThreadIdFromActThreadIdInput|null); /** MinosCommand mandrakeOpenEpoch. */ public mandrakeOpenEpoch?: (waproto.IMandrakeOpenEpochInput|null); /** MinosCommand mandrakeEncryptMek. */ public mandrakeEncryptMek?: (waproto.IMandrakeEncryptMekInput|null); /** MinosCommand mandrakeDecryptMek. */ public mandrakeDecryptMek?: (waproto.IMandrakeDecryptMekInput|null); /** MinosCommand mandrakeOpenInitialEpoch. */ public mandrakeOpenInitialEpoch?: (waproto.IMandrakeOpenInitialEpochInput|null); /** MinosCommand mandrakeValidateNewMmkFromMailbox. */ public mandrakeValidateNewMmkFromMailbox?: (waproto.IMandrakeValidateNewMmkFromMailboxInput|null); /** MinosCommand mandrakeValidateNewMmkFromDetachedDevice. */ public mandrakeValidateNewMmkFromDetachedDevice?: (waproto.IMandrakeValidateNewMmkFromDetachedDeviceInput|null); /** MinosCommand deriveMessagingMailboxKeypairs. */ public deriveMessagingMailboxKeypairs?: (waproto.IDeriveMessagingMailboxKeypairsInput|null); /** MinosCommand decryptSelfMmkDistribution. */ public decryptSelfMmkDistribution?: (waproto.IDecryptSelfMmkDistributionInput|null); /** MinosCommand commandInput. */ public commandInput?: ("encryptAndSignMessage"|"decryptAndVerifyMessage"|"generateMek"|"generateMekRosterHash"|"encryptMekForDistribution"|"decryptMekForDistribution"|"encryptMeksForDistributionFromTransportSender"|"decryptMekForDistributionFromTransportSender"|"wrapTransportSigningPublicKey"|"wrapTransportSigningSecretKey"|"deriveMailboxSigningKeypair"|"deriveMailboxEncryptionKeypair"|"deriveMailboxAuthKeypair"|"deriveAttachmentAccessTokenSecret"|"deriveAttachmentPrimaryKeySecret"|"minosOpenInitialEpoch"|"minosOpenEpoch"|"minosValidateEpoch"|"minosVerifySingleEpoch"|"minosThreadIdFromOneToOneThread"|"minosThreadIdFromActThreadId"|"mandrakeOpenEpoch"|"mandrakeEncryptMek"|"mandrakeDecryptMek"|"mandrakeOpenInitialEpoch"|"mandrakeValidateNewMmkFromMailbox"|"mandrakeValidateNewMmkFromDetachedDevice"|"deriveMessagingMailboxKeypairs"|"decryptSelfMmkDistribution"); /** * Creates a new MinosCommand instance using the specified properties. * @param [properties] Properties to set * @returns MinosCommand instance */ public static create(properties?: waproto.IMinosCommand): waproto.MinosCommand; /** * Encodes the specified MinosCommand message. Does not implicitly {@link waproto.MinosCommand.verify|verify} messages. * @param message MinosCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosCommand message, length delimited. Does not implicitly {@link waproto.MinosCommand.verify|verify} messages. * @param message MinosCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosCommand; /** * Decodes a MinosCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosCommand; /** * Verifies a MinosCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosCommand */ public static fromObject(object: { [k: string]: any }): waproto.MinosCommand; /** * Creates a plain object from a MinosCommand message. Also converts values to other types if specified. * @param message MinosCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosDecryptAndVerifyMessageInput. */ interface IMinosDecryptAndVerifyMessageInput { /** MinosDecryptAndVerifyMessageInput transportSigningPk */ transportSigningPk?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput mek */ mek?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput encryptedMessageCiphertext */ encryptedMessageCiphertext?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput encryptedMessageSignature */ encryptedMessageSignature?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput metadata */ metadata?: (waproto.IMinosMessageMetadata|null); /** MinosDecryptAndVerifyMessageInput messageEncryptionVersion */ messageEncryptionVersion?: (number|null); /** MinosDecryptAndVerifyMessageInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents a MinosDecryptAndVerifyMessageInput. */ class MinosDecryptAndVerifyMessageInput implements IMinosDecryptAndVerifyMessageInput { /** * Constructs a new MinosDecryptAndVerifyMessageInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosDecryptAndVerifyMessageInput); /** MinosDecryptAndVerifyMessageInput transportSigningPk. */ public transportSigningPk?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput mek. */ public mek?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput encryptedMessageCiphertext. */ public encryptedMessageCiphertext?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput encryptedMessageSignature. */ public encryptedMessageSignature?: (Uint8Array|null); /** MinosDecryptAndVerifyMessageInput metadata. */ public metadata?: (waproto.IMinosMessageMetadata|null); /** MinosDecryptAndVerifyMessageInput messageEncryptionVersion. */ public messageEncryptionVersion?: (number|null); /** MinosDecryptAndVerifyMessageInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new MinosDecryptAndVerifyMessageInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosDecryptAndVerifyMessageInput instance */ public static create(properties?: waproto.IMinosDecryptAndVerifyMessageInput): waproto.MinosDecryptAndVerifyMessageInput; /** * Encodes the specified MinosDecryptAndVerifyMessageInput message. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageInput.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosDecryptAndVerifyMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosDecryptAndVerifyMessageInput message, length delimited. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageInput.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosDecryptAndVerifyMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosDecryptAndVerifyMessageInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosDecryptAndVerifyMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosDecryptAndVerifyMessageInput; /** * Decodes a MinosDecryptAndVerifyMessageInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosDecryptAndVerifyMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosDecryptAndVerifyMessageInput; /** * Verifies a MinosDecryptAndVerifyMessageInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosDecryptAndVerifyMessageInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosDecryptAndVerifyMessageInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosDecryptAndVerifyMessageInput; /** * Creates a plain object from a MinosDecryptAndVerifyMessageInput message. Also converts values to other types if specified. * @param message MinosDecryptAndVerifyMessageInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosDecryptAndVerifyMessageInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosDecryptAndVerifyMessageInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosDecryptAndVerifyMessageInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosDecryptAndVerifyMessageResult. */ interface IMinosDecryptAndVerifyMessageResult { /** MinosDecryptAndVerifyMessageResult success */ success?: (waproto.IMinosDecryptAndVerifyMessageSuccess|null); /** MinosDecryptAndVerifyMessageResult errorMessage */ errorMessage?: (string|null); } /** Represents a MinosDecryptAndVerifyMessageResult. */ class MinosDecryptAndVerifyMessageResult implements IMinosDecryptAndVerifyMessageResult { /** * Constructs a new MinosDecryptAndVerifyMessageResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosDecryptAndVerifyMessageResult); /** MinosDecryptAndVerifyMessageResult success. */ public success?: (waproto.IMinosDecryptAndVerifyMessageSuccess|null); /** MinosDecryptAndVerifyMessageResult errorMessage. */ public errorMessage?: (string|null); /** MinosDecryptAndVerifyMessageResult result. */ public result?: ("success"|"errorMessage"); /** * Creates a new MinosDecryptAndVerifyMessageResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosDecryptAndVerifyMessageResult instance */ public static create(properties?: waproto.IMinosDecryptAndVerifyMessageResult): waproto.MinosDecryptAndVerifyMessageResult; /** * Encodes the specified MinosDecryptAndVerifyMessageResult message. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageResult.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosDecryptAndVerifyMessageResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosDecryptAndVerifyMessageResult message, length delimited. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageResult.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosDecryptAndVerifyMessageResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosDecryptAndVerifyMessageResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosDecryptAndVerifyMessageResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosDecryptAndVerifyMessageResult; /** * Decodes a MinosDecryptAndVerifyMessageResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosDecryptAndVerifyMessageResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosDecryptAndVerifyMessageResult; /** * Verifies a MinosDecryptAndVerifyMessageResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosDecryptAndVerifyMessageResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosDecryptAndVerifyMessageResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosDecryptAndVerifyMessageResult; /** * Creates a plain object from a MinosDecryptAndVerifyMessageResult message. Also converts values to other types if specified. * @param message MinosDecryptAndVerifyMessageResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosDecryptAndVerifyMessageResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosDecryptAndVerifyMessageResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosDecryptAndVerifyMessageResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosDecryptAndVerifyMessageSuccess. */ interface IMinosDecryptAndVerifyMessageSuccess { /** MinosDecryptAndVerifyMessageSuccess plaintext */ plaintext?: (Uint8Array|null); } /** Represents a MinosDecryptAndVerifyMessageSuccess. */ class MinosDecryptAndVerifyMessageSuccess implements IMinosDecryptAndVerifyMessageSuccess { /** * Constructs a new MinosDecryptAndVerifyMessageSuccess. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosDecryptAndVerifyMessageSuccess); /** MinosDecryptAndVerifyMessageSuccess plaintext. */ public plaintext?: (Uint8Array|null); /** * Creates a new MinosDecryptAndVerifyMessageSuccess instance using the specified properties. * @param [properties] Properties to set * @returns MinosDecryptAndVerifyMessageSuccess instance */ public static create(properties?: waproto.IMinosDecryptAndVerifyMessageSuccess): waproto.MinosDecryptAndVerifyMessageSuccess; /** * Encodes the specified MinosDecryptAndVerifyMessageSuccess message. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageSuccess.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosDecryptAndVerifyMessageSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosDecryptAndVerifyMessageSuccess message, length delimited. Does not implicitly {@link waproto.MinosDecryptAndVerifyMessageSuccess.verify|verify} messages. * @param message MinosDecryptAndVerifyMessageSuccess message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosDecryptAndVerifyMessageSuccess, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosDecryptAndVerifyMessageSuccess message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosDecryptAndVerifyMessageSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosDecryptAndVerifyMessageSuccess; /** * Decodes a MinosDecryptAndVerifyMessageSuccess message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosDecryptAndVerifyMessageSuccess * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosDecryptAndVerifyMessageSuccess; /** * Verifies a MinosDecryptAndVerifyMessageSuccess message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosDecryptAndVerifyMessageSuccess message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosDecryptAndVerifyMessageSuccess */ public static fromObject(object: { [k: string]: any }): waproto.MinosDecryptAndVerifyMessageSuccess; /** * Creates a plain object from a MinosDecryptAndVerifyMessageSuccess message. Also converts values to other types if specified. * @param message MinosDecryptAndVerifyMessageSuccess * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosDecryptAndVerifyMessageSuccess, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosDecryptAndVerifyMessageSuccess to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosDecryptAndVerifyMessageSuccess * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosEncryptAndSignMessageInput. */ interface IMinosEncryptAndSignMessageInput { /** MinosEncryptAndSignMessageInput transportSigningSk */ transportSigningSk?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput mek */ mek?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput plaintext */ plaintext?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput metadata */ metadata?: (waproto.IMinosMessageMetadata|null); /** MinosEncryptAndSignMessageInput transportSigningPk */ transportSigningPk?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput conf */ conf?: (waproto.IMinosClientConfig|null); } /** Represents a MinosEncryptAndSignMessageInput. */ class MinosEncryptAndSignMessageInput implements IMinosEncryptAndSignMessageInput { /** * Constructs a new MinosEncryptAndSignMessageInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosEncryptAndSignMessageInput); /** MinosEncryptAndSignMessageInput transportSigningSk. */ public transportSigningSk?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput mek. */ public mek?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput plaintext. */ public plaintext?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput metadata. */ public metadata?: (waproto.IMinosMessageMetadata|null); /** MinosEncryptAndSignMessageInput transportSigningPk. */ public transportSigningPk?: (Uint8Array|null); /** MinosEncryptAndSignMessageInput conf. */ public conf?: (waproto.IMinosClientConfig|null); /** * Creates a new MinosEncryptAndSignMessageInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosEncryptAndSignMessageInput instance */ public static create(properties?: waproto.IMinosEncryptAndSignMessageInput): waproto.MinosEncryptAndSignMessageInput; /** * Encodes the specified MinosEncryptAndSignMessageInput message. Does not implicitly {@link waproto.MinosEncryptAndSignMessageInput.verify|verify} messages. * @param message MinosEncryptAndSignMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosEncryptAndSignMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosEncryptAndSignMessageInput message, length delimited. Does not implicitly {@link waproto.MinosEncryptAndSignMessageInput.verify|verify} messages. * @param message MinosEncryptAndSignMessageInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosEncryptAndSignMessageInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosEncryptAndSignMessageInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosEncryptAndSignMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosEncryptAndSignMessageInput; /** * Decodes a MinosEncryptAndSignMessageInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosEncryptAndSignMessageInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosEncryptAndSignMessageInput; /** * Verifies a MinosEncryptAndSignMessageInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosEncryptAndSignMessageInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosEncryptAndSignMessageInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosEncryptAndSignMessageInput; /** * Creates a plain object from a MinosEncryptAndSignMessageInput message. Also converts values to other types if specified. * @param message MinosEncryptAndSignMessageInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosEncryptAndSignMessageInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosEncryptAndSignMessageInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosEncryptAndSignMessageInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosEncryptAndSignMessageResult. */ interface IMinosEncryptAndSignMessageResult { /** MinosEncryptAndSignMessageResult ciphertext */ ciphertext?: (Uint8Array|null); /** MinosEncryptAndSignMessageResult signature */ signature?: (Uint8Array|null); /** MinosEncryptAndSignMessageResult version */ version?: (number|null); } /** Represents a MinosEncryptAndSignMessageResult. */ class MinosEncryptAndSignMessageResult implements IMinosEncryptAndSignMessageResult { /** * Constructs a new MinosEncryptAndSignMessageResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosEncryptAndSignMessageResult); /** MinosEncryptAndSignMessageResult ciphertext. */ public ciphertext?: (Uint8Array|null); /** MinosEncryptAndSignMessageResult signature. */ public signature?: (Uint8Array|null); /** MinosEncryptAndSignMessageResult version. */ public version?: (number|null); /** * Creates a new MinosEncryptAndSignMessageResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosEncryptAndSignMessageResult instance */ public static create(properties?: waproto.IMinosEncryptAndSignMessageResult): waproto.MinosEncryptAndSignMessageResult; /** * Encodes the specified MinosEncryptAndSignMessageResult message. Does not implicitly {@link waproto.MinosEncryptAndSignMessageResult.verify|verify} messages. * @param message MinosEncryptAndSignMessageResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosEncryptAndSignMessageResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosEncryptAndSignMessageResult message, length delimited. Does not implicitly {@link waproto.MinosEncryptAndSignMessageResult.verify|verify} messages. * @param message MinosEncryptAndSignMessageResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosEncryptAndSignMessageResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosEncryptAndSignMessageResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosEncryptAndSignMessageResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosEncryptAndSignMessageResult; /** * Decodes a MinosEncryptAndSignMessageResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosEncryptAndSignMessageResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosEncryptAndSignMessageResult; /** * Verifies a MinosEncryptAndSignMessageResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosEncryptAndSignMessageResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosEncryptAndSignMessageResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosEncryptAndSignMessageResult; /** * Creates a plain object from a MinosEncryptAndSignMessageResult message. Also converts values to other types if specified. * @param message MinosEncryptAndSignMessageResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosEncryptAndSignMessageResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosEncryptAndSignMessageResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosEncryptAndSignMessageResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosMessageMetadata. */ interface IMinosMessageMetadata { /** MinosMessageMetadata mekId */ mekId?: (Uint8Array|null); /** MinosMessageMetadata timestamp */ timestamp?: (number|Long|null); /** MinosMessageMetadata messageId */ messageId?: (string|null); /** MinosMessageMetadata threadId */ threadId?: (Uint8Array|null); } /** Represents a MinosMessageMetadata. */ class MinosMessageMetadata implements IMinosMessageMetadata { /** * Constructs a new MinosMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosMessageMetadata); /** MinosMessageMetadata mekId. */ public mekId?: (Uint8Array|null); /** MinosMessageMetadata timestamp. */ public timestamp?: (number|Long|null); /** MinosMessageMetadata messageId. */ public messageId?: (string|null); /** MinosMessageMetadata threadId. */ public threadId?: (Uint8Array|null); /** * Creates a new MinosMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns MinosMessageMetadata instance */ public static create(properties?: waproto.IMinosMessageMetadata): waproto.MinosMessageMetadata; /** * Encodes the specified MinosMessageMetadata message. Does not implicitly {@link waproto.MinosMessageMetadata.verify|verify} messages. * @param message MinosMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosMessageMetadata message, length delimited. Does not implicitly {@link waproto.MinosMessageMetadata.verify|verify} messages. * @param message MinosMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosMessageMetadata; /** * Decodes a MinosMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosMessageMetadata; /** * Verifies a MinosMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.MinosMessageMetadata; /** * Creates a plain object from a MinosMessageMetadata message. Also converts values to other types if specified. * @param message MinosMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosOpenEpochInput. */ interface IMinosOpenEpochInput { /** MinosOpenEpochInput userFbid */ userFbid?: (string|null); /** MinosOpenEpochInput epochNumber */ epochNumber?: (number|Long|null); /** MinosOpenEpochInput exportRootKey */ exportRootKey?: (Uint8Array|null); /** MinosOpenEpochInput previousExportRootKey */ previousExportRootKey?: (Uint8Array|null); /** MinosOpenEpochInput previousEpochNumber */ previousEpochNumber?: (number|Long|null); /** MinosOpenEpochInput previousEpochHead */ previousEpochHead?: (Uint8Array|null); } /** Represents a MinosOpenEpochInput. */ class MinosOpenEpochInput implements IMinosOpenEpochInput { /** * Constructs a new MinosOpenEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosOpenEpochInput); /** MinosOpenEpochInput userFbid. */ public userFbid?: (string|null); /** MinosOpenEpochInput epochNumber. */ public epochNumber?: (number|Long|null); /** MinosOpenEpochInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** MinosOpenEpochInput previousExportRootKey. */ public previousExportRootKey?: (Uint8Array|null); /** MinosOpenEpochInput previousEpochNumber. */ public previousEpochNumber?: (number|Long|null); /** MinosOpenEpochInput previousEpochHead. */ public previousEpochHead?: (Uint8Array|null); /** * Creates a new MinosOpenEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosOpenEpochInput instance */ public static create(properties?: waproto.IMinosOpenEpochInput): waproto.MinosOpenEpochInput; /** * Encodes the specified MinosOpenEpochInput message. Does not implicitly {@link waproto.MinosOpenEpochInput.verify|verify} messages. * @param message MinosOpenEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosOpenEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosOpenEpochInput message, length delimited. Does not implicitly {@link waproto.MinosOpenEpochInput.verify|verify} messages. * @param message MinosOpenEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosOpenEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosOpenEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosOpenEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosOpenEpochInput; /** * Decodes a MinosOpenEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosOpenEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosOpenEpochInput; /** * Verifies a MinosOpenEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosOpenEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosOpenEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosOpenEpochInput; /** * Creates a plain object from a MinosOpenEpochInput message. Also converts values to other types if specified. * @param message MinosOpenEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosOpenEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosOpenEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosOpenEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosOpenEpochResult. */ interface IMinosOpenEpochResult { /** MinosOpenEpochResult minosSignedEpoch */ minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); } /** Represents a MinosOpenEpochResult. */ class MinosOpenEpochResult implements IMinosOpenEpochResult { /** * Constructs a new MinosOpenEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosOpenEpochResult); /** MinosOpenEpochResult minosSignedEpoch. */ public minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); /** * Creates a new MinosOpenEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosOpenEpochResult instance */ public static create(properties?: waproto.IMinosOpenEpochResult): waproto.MinosOpenEpochResult; /** * Encodes the specified MinosOpenEpochResult message. Does not implicitly {@link waproto.MinosOpenEpochResult.verify|verify} messages. * @param message MinosOpenEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosOpenEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosOpenEpochResult message, length delimited. Does not implicitly {@link waproto.MinosOpenEpochResult.verify|verify} messages. * @param message MinosOpenEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosOpenEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosOpenEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosOpenEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosOpenEpochResult; /** * Decodes a MinosOpenEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosOpenEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosOpenEpochResult; /** * Verifies a MinosOpenEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosOpenEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosOpenEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosOpenEpochResult; /** * Creates a plain object from a MinosOpenEpochResult message. Also converts values to other types if specified. * @param message MinosOpenEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosOpenEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosOpenEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosOpenEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosOpenInitialEpochInput. */ interface IMinosOpenInitialEpochInput { /** MinosOpenInitialEpochInput userFbid */ userFbid?: (string|null); /** MinosOpenInitialEpochInput epochNumber */ epochNumber?: (number|Long|null); /** MinosOpenInitialEpochInput exportRootKey */ exportRootKey?: (Uint8Array|null); } /** Represents a MinosOpenInitialEpochInput. */ class MinosOpenInitialEpochInput implements IMinosOpenInitialEpochInput { /** * Constructs a new MinosOpenInitialEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosOpenInitialEpochInput); /** MinosOpenInitialEpochInput userFbid. */ public userFbid?: (string|null); /** MinosOpenInitialEpochInput epochNumber. */ public epochNumber?: (number|Long|null); /** MinosOpenInitialEpochInput exportRootKey. */ public exportRootKey?: (Uint8Array|null); /** * Creates a new MinosOpenInitialEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosOpenInitialEpochInput instance */ public static create(properties?: waproto.IMinosOpenInitialEpochInput): waproto.MinosOpenInitialEpochInput; /** * Encodes the specified MinosOpenInitialEpochInput message. Does not implicitly {@link waproto.MinosOpenInitialEpochInput.verify|verify} messages. * @param message MinosOpenInitialEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosOpenInitialEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosOpenInitialEpochInput message, length delimited. Does not implicitly {@link waproto.MinosOpenInitialEpochInput.verify|verify} messages. * @param message MinosOpenInitialEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosOpenInitialEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosOpenInitialEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosOpenInitialEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosOpenInitialEpochInput; /** * Decodes a MinosOpenInitialEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosOpenInitialEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosOpenInitialEpochInput; /** * Verifies a MinosOpenInitialEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosOpenInitialEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosOpenInitialEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosOpenInitialEpochInput; /** * Creates a plain object from a MinosOpenInitialEpochInput message. Also converts values to other types if specified. * @param message MinosOpenInitialEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosOpenInitialEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosOpenInitialEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosOpenInitialEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosOpenInitialEpochResult. */ interface IMinosOpenInitialEpochResult { /** MinosOpenInitialEpochResult minosSignedEpoch */ minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); } /** Represents a MinosOpenInitialEpochResult. */ class MinosOpenInitialEpochResult implements IMinosOpenInitialEpochResult { /** * Constructs a new MinosOpenInitialEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosOpenInitialEpochResult); /** MinosOpenInitialEpochResult minosSignedEpoch. */ public minosSignedEpoch?: (waproto.IMinosSignedEpoch|null); /** * Creates a new MinosOpenInitialEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosOpenInitialEpochResult instance */ public static create(properties?: waproto.IMinosOpenInitialEpochResult): waproto.MinosOpenInitialEpochResult; /** * Encodes the specified MinosOpenInitialEpochResult message. Does not implicitly {@link waproto.MinosOpenInitialEpochResult.verify|verify} messages. * @param message MinosOpenInitialEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosOpenInitialEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosOpenInitialEpochResult message, length delimited. Does not implicitly {@link waproto.MinosOpenInitialEpochResult.verify|verify} messages. * @param message MinosOpenInitialEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosOpenInitialEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosOpenInitialEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosOpenInitialEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosOpenInitialEpochResult; /** * Decodes a MinosOpenInitialEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosOpenInitialEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosOpenInitialEpochResult; /** * Verifies a MinosOpenInitialEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosOpenInitialEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosOpenInitialEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosOpenInitialEpochResult; /** * Creates a plain object from a MinosOpenInitialEpochResult message. Also converts values to other types if specified. * @param message MinosOpenInitialEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosOpenInitialEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosOpenInitialEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosOpenInitialEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosSignedEpoch. */ interface IMinosSignedEpoch { /** MinosSignedEpoch epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); /** MinosSignedEpoch signatures */ signatures?: (waproto.IEpochSignatures|null); /** MinosSignedEpoch epochHead */ epochHead?: (Uint8Array|null); } /** Represents a MinosSignedEpoch. */ class MinosSignedEpoch implements IMinosSignedEpoch { /** * Constructs a new MinosSignedEpoch. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosSignedEpoch); /** MinosSignedEpoch epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** MinosSignedEpoch signatures. */ public signatures?: (waproto.IEpochSignatures|null); /** MinosSignedEpoch epochHead. */ public epochHead?: (Uint8Array|null); /** * Creates a new MinosSignedEpoch instance using the specified properties. * @param [properties] Properties to set * @returns MinosSignedEpoch instance */ public static create(properties?: waproto.IMinosSignedEpoch): waproto.MinosSignedEpoch; /** * Encodes the specified MinosSignedEpoch message. Does not implicitly {@link waproto.MinosSignedEpoch.verify|verify} messages. * @param message MinosSignedEpoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosSignedEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosSignedEpoch message, length delimited. Does not implicitly {@link waproto.MinosSignedEpoch.verify|verify} messages. * @param message MinosSignedEpoch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosSignedEpoch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosSignedEpoch message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosSignedEpoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosSignedEpoch; /** * Decodes a MinosSignedEpoch message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosSignedEpoch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosSignedEpoch; /** * Verifies a MinosSignedEpoch message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosSignedEpoch message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosSignedEpoch */ public static fromObject(object: { [k: string]: any }): waproto.MinosSignedEpoch; /** * Creates a plain object from a MinosSignedEpoch message. Also converts values to other types if specified. * @param message MinosSignedEpoch * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosSignedEpoch, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosSignedEpoch to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosSignedEpoch * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosThreadIdFromActThreadIdInput. */ interface IMinosThreadIdFromActThreadIdInput { /** MinosThreadIdFromActThreadIdInput actThreadId */ actThreadId?: (string|null); } /** Represents a MinosThreadIdFromActThreadIdInput. */ class MinosThreadIdFromActThreadIdInput implements IMinosThreadIdFromActThreadIdInput { /** * Constructs a new MinosThreadIdFromActThreadIdInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosThreadIdFromActThreadIdInput); /** MinosThreadIdFromActThreadIdInput actThreadId. */ public actThreadId?: (string|null); /** * Creates a new MinosThreadIdFromActThreadIdInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosThreadIdFromActThreadIdInput instance */ public static create(properties?: waproto.IMinosThreadIdFromActThreadIdInput): waproto.MinosThreadIdFromActThreadIdInput; /** * Encodes the specified MinosThreadIdFromActThreadIdInput message. Does not implicitly {@link waproto.MinosThreadIdFromActThreadIdInput.verify|verify} messages. * @param message MinosThreadIdFromActThreadIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosThreadIdFromActThreadIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosThreadIdFromActThreadIdInput message, length delimited. Does not implicitly {@link waproto.MinosThreadIdFromActThreadIdInput.verify|verify} messages. * @param message MinosThreadIdFromActThreadIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosThreadIdFromActThreadIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosThreadIdFromActThreadIdInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosThreadIdFromActThreadIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosThreadIdFromActThreadIdInput; /** * Decodes a MinosThreadIdFromActThreadIdInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosThreadIdFromActThreadIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosThreadIdFromActThreadIdInput; /** * Verifies a MinosThreadIdFromActThreadIdInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosThreadIdFromActThreadIdInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosThreadIdFromActThreadIdInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosThreadIdFromActThreadIdInput; /** * Creates a plain object from a MinosThreadIdFromActThreadIdInput message. Also converts values to other types if specified. * @param message MinosThreadIdFromActThreadIdInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosThreadIdFromActThreadIdInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosThreadIdFromActThreadIdInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosThreadIdFromActThreadIdInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosThreadIdFromActThreadIdResult. */ interface IMinosThreadIdFromActThreadIdResult { /** MinosThreadIdFromActThreadIdResult threadId */ threadId?: (Uint8Array|null); } /** Represents a MinosThreadIdFromActThreadIdResult. */ class MinosThreadIdFromActThreadIdResult implements IMinosThreadIdFromActThreadIdResult { /** * Constructs a new MinosThreadIdFromActThreadIdResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosThreadIdFromActThreadIdResult); /** MinosThreadIdFromActThreadIdResult threadId. */ public threadId?: (Uint8Array|null); /** * Creates a new MinosThreadIdFromActThreadIdResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosThreadIdFromActThreadIdResult instance */ public static create(properties?: waproto.IMinosThreadIdFromActThreadIdResult): waproto.MinosThreadIdFromActThreadIdResult; /** * Encodes the specified MinosThreadIdFromActThreadIdResult message. Does not implicitly {@link waproto.MinosThreadIdFromActThreadIdResult.verify|verify} messages. * @param message MinosThreadIdFromActThreadIdResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosThreadIdFromActThreadIdResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosThreadIdFromActThreadIdResult message, length delimited. Does not implicitly {@link waproto.MinosThreadIdFromActThreadIdResult.verify|verify} messages. * @param message MinosThreadIdFromActThreadIdResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosThreadIdFromActThreadIdResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosThreadIdFromActThreadIdResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosThreadIdFromActThreadIdResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosThreadIdFromActThreadIdResult; /** * Decodes a MinosThreadIdFromActThreadIdResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosThreadIdFromActThreadIdResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosThreadIdFromActThreadIdResult; /** * Verifies a MinosThreadIdFromActThreadIdResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosThreadIdFromActThreadIdResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosThreadIdFromActThreadIdResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosThreadIdFromActThreadIdResult; /** * Creates a plain object from a MinosThreadIdFromActThreadIdResult message. Also converts values to other types if specified. * @param message MinosThreadIdFromActThreadIdResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosThreadIdFromActThreadIdResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosThreadIdFromActThreadIdResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosThreadIdFromActThreadIdResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosThreadIdFromOneToOneThreadInput. */ interface IMinosThreadIdFromOneToOneThreadInput { /** MinosThreadIdFromOneToOneThreadInput actThreadId */ actThreadId?: (string|null); /** MinosThreadIdFromOneToOneThreadInput selfFbid */ selfFbid?: (string|null); } /** Represents a MinosThreadIdFromOneToOneThreadInput. */ class MinosThreadIdFromOneToOneThreadInput implements IMinosThreadIdFromOneToOneThreadInput { /** * Constructs a new MinosThreadIdFromOneToOneThreadInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosThreadIdFromOneToOneThreadInput); /** MinosThreadIdFromOneToOneThreadInput actThreadId. */ public actThreadId?: (string|null); /** MinosThreadIdFromOneToOneThreadInput selfFbid. */ public selfFbid?: (string|null); /** * Creates a new MinosThreadIdFromOneToOneThreadInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosThreadIdFromOneToOneThreadInput instance */ public static create(properties?: waproto.IMinosThreadIdFromOneToOneThreadInput): waproto.MinosThreadIdFromOneToOneThreadInput; /** * Encodes the specified MinosThreadIdFromOneToOneThreadInput message. Does not implicitly {@link waproto.MinosThreadIdFromOneToOneThreadInput.verify|verify} messages. * @param message MinosThreadIdFromOneToOneThreadInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosThreadIdFromOneToOneThreadInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosThreadIdFromOneToOneThreadInput message, length delimited. Does not implicitly {@link waproto.MinosThreadIdFromOneToOneThreadInput.verify|verify} messages. * @param message MinosThreadIdFromOneToOneThreadInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosThreadIdFromOneToOneThreadInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosThreadIdFromOneToOneThreadInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosThreadIdFromOneToOneThreadInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosThreadIdFromOneToOneThreadInput; /** * Decodes a MinosThreadIdFromOneToOneThreadInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosThreadIdFromOneToOneThreadInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosThreadIdFromOneToOneThreadInput; /** * Verifies a MinosThreadIdFromOneToOneThreadInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosThreadIdFromOneToOneThreadInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosThreadIdFromOneToOneThreadInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosThreadIdFromOneToOneThreadInput; /** * Creates a plain object from a MinosThreadIdFromOneToOneThreadInput message. Also converts values to other types if specified. * @param message MinosThreadIdFromOneToOneThreadInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosThreadIdFromOneToOneThreadInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosThreadIdFromOneToOneThreadInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosThreadIdFromOneToOneThreadInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosThreadIdFromOneToOneThreadResult. */ interface IMinosThreadIdFromOneToOneThreadResult { /** MinosThreadIdFromOneToOneThreadResult threadId */ threadId?: (Uint8Array|null); } /** Represents a MinosThreadIdFromOneToOneThreadResult. */ class MinosThreadIdFromOneToOneThreadResult implements IMinosThreadIdFromOneToOneThreadResult { /** * Constructs a new MinosThreadIdFromOneToOneThreadResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosThreadIdFromOneToOneThreadResult); /** MinosThreadIdFromOneToOneThreadResult threadId. */ public threadId?: (Uint8Array|null); /** * Creates a new MinosThreadIdFromOneToOneThreadResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosThreadIdFromOneToOneThreadResult instance */ public static create(properties?: waproto.IMinosThreadIdFromOneToOneThreadResult): waproto.MinosThreadIdFromOneToOneThreadResult; /** * Encodes the specified MinosThreadIdFromOneToOneThreadResult message. Does not implicitly {@link waproto.MinosThreadIdFromOneToOneThreadResult.verify|verify} messages. * @param message MinosThreadIdFromOneToOneThreadResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosThreadIdFromOneToOneThreadResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosThreadIdFromOneToOneThreadResult message, length delimited. Does not implicitly {@link waproto.MinosThreadIdFromOneToOneThreadResult.verify|verify} messages. * @param message MinosThreadIdFromOneToOneThreadResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosThreadIdFromOneToOneThreadResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosThreadIdFromOneToOneThreadResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosThreadIdFromOneToOneThreadResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosThreadIdFromOneToOneThreadResult; /** * Decodes a MinosThreadIdFromOneToOneThreadResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosThreadIdFromOneToOneThreadResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosThreadIdFromOneToOneThreadResult; /** * Verifies a MinosThreadIdFromOneToOneThreadResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosThreadIdFromOneToOneThreadResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosThreadIdFromOneToOneThreadResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosThreadIdFromOneToOneThreadResult; /** * Creates a plain object from a MinosThreadIdFromOneToOneThreadResult message. Also converts values to other types if specified. * @param message MinosThreadIdFromOneToOneThreadResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosThreadIdFromOneToOneThreadResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosThreadIdFromOneToOneThreadResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosThreadIdFromOneToOneThreadResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosValidateEpochInput. */ interface IMinosValidateEpochInput { /** MinosValidateEpochInput epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); /** MinosValidateEpochInput previousEpochPublicData */ previousEpochPublicData?: (waproto.IEpochPublicData|null); /** MinosValidateEpochInput signatures */ signatures?: (waproto.IEpochSignatures|null); } /** Represents a MinosValidateEpochInput. */ class MinosValidateEpochInput implements IMinosValidateEpochInput { /** * Constructs a new MinosValidateEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosValidateEpochInput); /** MinosValidateEpochInput epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** MinosValidateEpochInput previousEpochPublicData. */ public previousEpochPublicData?: (waproto.IEpochPublicData|null); /** MinosValidateEpochInput signatures. */ public signatures?: (waproto.IEpochSignatures|null); /** * Creates a new MinosValidateEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosValidateEpochInput instance */ public static create(properties?: waproto.IMinosValidateEpochInput): waproto.MinosValidateEpochInput; /** * Encodes the specified MinosValidateEpochInput message. Does not implicitly {@link waproto.MinosValidateEpochInput.verify|verify} messages. * @param message MinosValidateEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosValidateEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosValidateEpochInput message, length delimited. Does not implicitly {@link waproto.MinosValidateEpochInput.verify|verify} messages. * @param message MinosValidateEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosValidateEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosValidateEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosValidateEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosValidateEpochInput; /** * Decodes a MinosValidateEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosValidateEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosValidateEpochInput; /** * Verifies a MinosValidateEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosValidateEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosValidateEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosValidateEpochInput; /** * Creates a plain object from a MinosValidateEpochInput message. Also converts values to other types if specified. * @param message MinosValidateEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosValidateEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosValidateEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosValidateEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosValidateEpochResult. */ interface IMinosValidateEpochResult { /** MinosValidateEpochResult valid */ valid?: (boolean|null); /** MinosValidateEpochResult errorMessage */ errorMessage?: (string|null); } /** Represents a MinosValidateEpochResult. */ class MinosValidateEpochResult implements IMinosValidateEpochResult { /** * Constructs a new MinosValidateEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosValidateEpochResult); /** MinosValidateEpochResult valid. */ public valid?: (boolean|null); /** MinosValidateEpochResult errorMessage. */ public errorMessage?: (string|null); /** MinosValidateEpochResult result. */ public result?: ("valid"|"errorMessage"); /** * Creates a new MinosValidateEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosValidateEpochResult instance */ public static create(properties?: waproto.IMinosValidateEpochResult): waproto.MinosValidateEpochResult; /** * Encodes the specified MinosValidateEpochResult message. Does not implicitly {@link waproto.MinosValidateEpochResult.verify|verify} messages. * @param message MinosValidateEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosValidateEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosValidateEpochResult message, length delimited. Does not implicitly {@link waproto.MinosValidateEpochResult.verify|verify} messages. * @param message MinosValidateEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosValidateEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosValidateEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosValidateEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosValidateEpochResult; /** * Decodes a MinosValidateEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosValidateEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosValidateEpochResult; /** * Verifies a MinosValidateEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosValidateEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosValidateEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosValidateEpochResult; /** * Creates a plain object from a MinosValidateEpochResult message. Also converts values to other types if specified. * @param message MinosValidateEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosValidateEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosValidateEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosValidateEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosVerifySingleEpochInput. */ interface IMinosVerifySingleEpochInput { /** MinosVerifySingleEpochInput epochPublicData */ epochPublicData?: (waproto.IEpochPublicData|null); /** MinosVerifySingleEpochInput signature */ signature?: (Uint8Array|null); } /** Represents a MinosVerifySingleEpochInput. */ class MinosVerifySingleEpochInput implements IMinosVerifySingleEpochInput { /** * Constructs a new MinosVerifySingleEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosVerifySingleEpochInput); /** MinosVerifySingleEpochInput epochPublicData. */ public epochPublicData?: (waproto.IEpochPublicData|null); /** MinosVerifySingleEpochInput signature. */ public signature?: (Uint8Array|null); /** * Creates a new MinosVerifySingleEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns MinosVerifySingleEpochInput instance */ public static create(properties?: waproto.IMinosVerifySingleEpochInput): waproto.MinosVerifySingleEpochInput; /** * Encodes the specified MinosVerifySingleEpochInput message. Does not implicitly {@link waproto.MinosVerifySingleEpochInput.verify|verify} messages. * @param message MinosVerifySingleEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosVerifySingleEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosVerifySingleEpochInput message, length delimited. Does not implicitly {@link waproto.MinosVerifySingleEpochInput.verify|verify} messages. * @param message MinosVerifySingleEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosVerifySingleEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosVerifySingleEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosVerifySingleEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosVerifySingleEpochInput; /** * Decodes a MinosVerifySingleEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosVerifySingleEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosVerifySingleEpochInput; /** * Verifies a MinosVerifySingleEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosVerifySingleEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosVerifySingleEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.MinosVerifySingleEpochInput; /** * Creates a plain object from a MinosVerifySingleEpochInput message. Also converts values to other types if specified. * @param message MinosVerifySingleEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosVerifySingleEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosVerifySingleEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosVerifySingleEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MinosVerifySingleEpochResult. */ interface IMinosVerifySingleEpochResult { /** MinosVerifySingleEpochResult valid */ valid?: (boolean|null); } /** Represents a MinosVerifySingleEpochResult. */ class MinosVerifySingleEpochResult implements IMinosVerifySingleEpochResult { /** * Constructs a new MinosVerifySingleEpochResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IMinosVerifySingleEpochResult); /** MinosVerifySingleEpochResult valid. */ public valid?: (boolean|null); /** * Creates a new MinosVerifySingleEpochResult instance using the specified properties. * @param [properties] Properties to set * @returns MinosVerifySingleEpochResult instance */ public static create(properties?: waproto.IMinosVerifySingleEpochResult): waproto.MinosVerifySingleEpochResult; /** * Encodes the specified MinosVerifySingleEpochResult message. Does not implicitly {@link waproto.MinosVerifySingleEpochResult.verify|verify} messages. * @param message MinosVerifySingleEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMinosVerifySingleEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MinosVerifySingleEpochResult message, length delimited. Does not implicitly {@link waproto.MinosVerifySingleEpochResult.verify|verify} messages. * @param message MinosVerifySingleEpochResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMinosVerifySingleEpochResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MinosVerifySingleEpochResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MinosVerifySingleEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MinosVerifySingleEpochResult; /** * Decodes a MinosVerifySingleEpochResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MinosVerifySingleEpochResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MinosVerifySingleEpochResult; /** * Verifies a MinosVerifySingleEpochResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MinosVerifySingleEpochResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MinosVerifySingleEpochResult */ public static fromObject(object: { [k: string]: any }): waproto.MinosVerifySingleEpochResult; /** * Creates a plain object from a MinosVerifySingleEpochResult message. Also converts values to other types if specified. * @param message MinosVerifySingleEpochResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MinosVerifySingleEpochResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MinosVerifySingleEpochResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MinosVerifySingleEpochResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MissingKeysTableSchemaProto. */ interface IMissingKeysTableSchemaProto { /** MissingKeysTableSchemaProto keyHex */ keyHex?: (string|null); /** MissingKeysTableSchemaProto keyId */ keyId?: (Uint8Array|null); /** MissingKeysTableSchemaProto timestamp */ timestamp?: (number|Long|null); /** MissingKeysTableSchemaProto deviceResponses */ deviceResponses?: (waproto.IDeviceResponse[]|null); } /** Represents a MissingKeysTableSchemaProto. */ class MissingKeysTableSchemaProto implements IMissingKeysTableSchemaProto { /** * Constructs a new MissingKeysTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMissingKeysTableSchemaProto); /** MissingKeysTableSchemaProto keyHex. */ public keyHex?: (string|null); /** MissingKeysTableSchemaProto keyId. */ public keyId?: (Uint8Array|null); /** MissingKeysTableSchemaProto timestamp. */ public timestamp?: (number|Long|null); /** MissingKeysTableSchemaProto deviceResponses. */ public deviceResponses: waproto.IDeviceResponse[]; /** * Creates a new MissingKeysTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns MissingKeysTableSchemaProto instance */ public static create(properties?: waproto.IMissingKeysTableSchemaProto): waproto.MissingKeysTableSchemaProto; /** * Encodes the specified MissingKeysTableSchemaProto message. Does not implicitly {@link waproto.MissingKeysTableSchemaProto.verify|verify} messages. * @param message MissingKeysTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMissingKeysTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MissingKeysTableSchemaProto message, length delimited. Does not implicitly {@link waproto.MissingKeysTableSchemaProto.verify|verify} messages. * @param message MissingKeysTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMissingKeysTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MissingKeysTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MissingKeysTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MissingKeysTableSchemaProto; /** * Decodes a MissingKeysTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MissingKeysTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MissingKeysTableSchemaProto; /** * Verifies a MissingKeysTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MissingKeysTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MissingKeysTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.MissingKeysTableSchemaProto; /** * Creates a plain object from a MissingKeysTableSchemaProto message. Also converts values to other types if specified. * @param message MissingKeysTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MissingKeysTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MissingKeysTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MissingKeysTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkDistribution. */ interface IMmkDistribution { /** MmkDistribution toDetachedDevices */ toDetachedDevices?: (waproto.IMmkDistributionToDetachedDevice[]|null); /** MmkDistribution toMailbox */ toMailbox?: (waproto.IMmkDistributionToMailbox|null); /** MmkDistribution version */ version?: (number|Long|null); } /** Represents a MmkDistribution. */ class MmkDistribution implements IMmkDistribution { /** * Constructs a new MmkDistribution. * @param [properties] Properties to set */ constructor(properties?: waproto.IMmkDistribution); /** MmkDistribution toDetachedDevices. */ public toDetachedDevices: waproto.IMmkDistributionToDetachedDevice[]; /** MmkDistribution toMailbox. */ public toMailbox?: (waproto.IMmkDistributionToMailbox|null); /** MmkDistribution version. */ public version?: (number|Long|null); /** * Creates a new MmkDistribution instance using the specified properties. * @param [properties] Properties to set * @returns MmkDistribution instance */ public static create(properties?: waproto.IMmkDistribution): waproto.MmkDistribution; /** * Encodes the specified MmkDistribution message. Does not implicitly {@link waproto.MmkDistribution.verify|verify} messages. * @param message MmkDistribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMmkDistribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkDistribution message, length delimited. Does not implicitly {@link waproto.MmkDistribution.verify|verify} messages. * @param message MmkDistribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMmkDistribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkDistribution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkDistribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MmkDistribution; /** * Decodes a MmkDistribution message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkDistribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MmkDistribution; /** * Verifies a MmkDistribution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkDistribution message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkDistribution */ public static fromObject(object: { [k: string]: any }): waproto.MmkDistribution; /** * Creates a plain object from a MmkDistribution message. Also converts values to other types if specified. * @param message MmkDistribution * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MmkDistribution, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkDistribution to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkDistribution * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkDistributionToDetachedDevice. */ interface IMmkDistributionToDetachedDevice { /** MmkDistributionToDetachedDevice encryptedMmk */ encryptedMmk?: (Uint8Array|null); /** MmkDistributionToDetachedDevice recipDeviceHash */ recipDeviceHash?: (Uint8Array|null); } /** Represents a MmkDistributionToDetachedDevice. */ class MmkDistributionToDetachedDevice implements IMmkDistributionToDetachedDevice { /** * Constructs a new MmkDistributionToDetachedDevice. * @param [properties] Properties to set */ constructor(properties?: waproto.IMmkDistributionToDetachedDevice); /** MmkDistributionToDetachedDevice encryptedMmk. */ public encryptedMmk?: (Uint8Array|null); /** MmkDistributionToDetachedDevice recipDeviceHash. */ public recipDeviceHash?: (Uint8Array|null); /** * Creates a new MmkDistributionToDetachedDevice instance using the specified properties. * @param [properties] Properties to set * @returns MmkDistributionToDetachedDevice instance */ public static create(properties?: waproto.IMmkDistributionToDetachedDevice): waproto.MmkDistributionToDetachedDevice; /** * Encodes the specified MmkDistributionToDetachedDevice message. Does not implicitly {@link waproto.MmkDistributionToDetachedDevice.verify|verify} messages. * @param message MmkDistributionToDetachedDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMmkDistributionToDetachedDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkDistributionToDetachedDevice message, length delimited. Does not implicitly {@link waproto.MmkDistributionToDetachedDevice.verify|verify} messages. * @param message MmkDistributionToDetachedDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMmkDistributionToDetachedDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkDistributionToDetachedDevice message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkDistributionToDetachedDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MmkDistributionToDetachedDevice; /** * Decodes a MmkDistributionToDetachedDevice message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkDistributionToDetachedDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MmkDistributionToDetachedDevice; /** * Verifies a MmkDistributionToDetachedDevice message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkDistributionToDetachedDevice message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkDistributionToDetachedDevice */ public static fromObject(object: { [k: string]: any }): waproto.MmkDistributionToDetachedDevice; /** * Creates a plain object from a MmkDistributionToDetachedDevice message. Also converts values to other types if specified. * @param message MmkDistributionToDetachedDevice * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MmkDistributionToDetachedDevice, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkDistributionToDetachedDevice to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkDistributionToDetachedDevice * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkDistributionToMailbox. */ interface IMmkDistributionToMailbox { /** MmkDistributionToMailbox encryptedMmk */ encryptedMmk?: (Uint8Array|null); /** MmkDistributionToMailbox recipMailboxHeadHash */ recipMailboxHeadHash?: (Uint8Array|null); } /** Represents a MmkDistributionToMailbox. */ class MmkDistributionToMailbox implements IMmkDistributionToMailbox { /** * Constructs a new MmkDistributionToMailbox. * @param [properties] Properties to set */ constructor(properties?: waproto.IMmkDistributionToMailbox); /** MmkDistributionToMailbox encryptedMmk. */ public encryptedMmk?: (Uint8Array|null); /** MmkDistributionToMailbox recipMailboxHeadHash. */ public recipMailboxHeadHash?: (Uint8Array|null); /** * Creates a new MmkDistributionToMailbox instance using the specified properties. * @param [properties] Properties to set * @returns MmkDistributionToMailbox instance */ public static create(properties?: waproto.IMmkDistributionToMailbox): waproto.MmkDistributionToMailbox; /** * Encodes the specified MmkDistributionToMailbox message. Does not implicitly {@link waproto.MmkDistributionToMailbox.verify|verify} messages. * @param message MmkDistributionToMailbox message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMmkDistributionToMailbox, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkDistributionToMailbox message, length delimited. Does not implicitly {@link waproto.MmkDistributionToMailbox.verify|verify} messages. * @param message MmkDistributionToMailbox message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMmkDistributionToMailbox, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkDistributionToMailbox message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkDistributionToMailbox * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MmkDistributionToMailbox; /** * Decodes a MmkDistributionToMailbox message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkDistributionToMailbox * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MmkDistributionToMailbox; /** * Verifies a MmkDistributionToMailbox message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkDistributionToMailbox message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkDistributionToMailbox */ public static fromObject(object: { [k: string]: any }): waproto.MmkDistributionToMailbox; /** * Creates a plain object from a MmkDistributionToMailbox message. Also converts values to other types if specified. * @param message MmkDistributionToMailbox * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MmkDistributionToMailbox, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkDistributionToMailbox to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkDistributionToMailbox * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MmkFromDetachedDevice. */ interface IMmkFromDetachedDevice { /** MmkFromDetachedDevice mmk */ mmk?: (waproto.IMessagingMailboxPublicData|null); /** MmkFromDetachedDevice fromDetachedDevice */ fromDetachedDevice?: (waproto.IDetachedDevicePublicData|null); /** MmkFromDetachedDevice membershipProof */ membershipProof?: (waproto.IMerkleMembershipProof|null); } /** Represents a MmkFromDetachedDevice. */ class MmkFromDetachedDevice implements IMmkFromDetachedDevice { /** * Constructs a new MmkFromDetachedDevice. * @param [properties] Properties to set */ constructor(properties?: waproto.IMmkFromDetachedDevice); /** MmkFromDetachedDevice mmk. */ public mmk?: (waproto.IMessagingMailboxPublicData|null); /** MmkFromDetachedDevice fromDetachedDevice. */ public fromDetachedDevice?: (waproto.IDetachedDevicePublicData|null); /** MmkFromDetachedDevice membershipProof. */ public membershipProof?: (waproto.IMerkleMembershipProof|null); /** * Creates a new MmkFromDetachedDevice instance using the specified properties. * @param [properties] Properties to set * @returns MmkFromDetachedDevice instance */ public static create(properties?: waproto.IMmkFromDetachedDevice): waproto.MmkFromDetachedDevice; /** * Encodes the specified MmkFromDetachedDevice message. Does not implicitly {@link waproto.MmkFromDetachedDevice.verify|verify} messages. * @param message MmkFromDetachedDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMmkFromDetachedDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MmkFromDetachedDevice message, length delimited. Does not implicitly {@link waproto.MmkFromDetachedDevice.verify|verify} messages. * @param message MmkFromDetachedDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMmkFromDetachedDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MmkFromDetachedDevice message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MmkFromDetachedDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MmkFromDetachedDevice; /** * Decodes a MmkFromDetachedDevice message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MmkFromDetachedDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MmkFromDetachedDevice; /** * Verifies a MmkFromDetachedDevice message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MmkFromDetachedDevice message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MmkFromDetachedDevice */ public static fromObject(object: { [k: string]: any }): waproto.MmkFromDetachedDevice; /** * Creates a plain object from a MmkFromDetachedDevice message. Also converts values to other types if specified. * @param message MmkFromDetachedDevice * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MmkFromDetachedDevice, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MmkFromDetachedDevice to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MmkFromDetachedDevice * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Money. */ interface IMoney { /** Money value */ value?: (number|Long|null); /** Money offset */ offset?: (number|null); /** Money currencyCode */ currencyCode?: (string|null); } /** Represents a Money. */ class Money implements IMoney { /** * Constructs a new Money. * @param [properties] Properties to set */ constructor(properties?: waproto.IMoney); /** Money value. */ public value?: (number|Long|null); /** Money offset. */ public offset?: (number|null); /** Money currencyCode. */ public currencyCode?: (string|null); /** * Creates a new Money instance using the specified properties. * @param [properties] Properties to set * @returns Money instance */ public static create(properties?: waproto.IMoney): waproto.Money; /** * Encodes the specified Money message. Does not implicitly {@link waproto.Money.verify|verify} messages. * @param message Money message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMoney, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Money message, length delimited. Does not implicitly {@link waproto.Money.verify|verify} messages. * @param message Money message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMoney, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Money message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Money * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Money; /** * Decodes a Money message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Money * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Money; /** * Verifies a Money message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Money message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Money */ public static fromObject(object: { [k: string]: any }): waproto.Money; /** * Creates a plain object from a Money message. Also converts values to other types if specified. * @param message Money * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Money, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Money to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Money * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MsgContentCommandProto. */ interface IMsgContentCommandProto { /** MsgContentCommandProto commandType */ commandType?: (number|null); /** MsgContentCommandProto offset */ offset?: (number|null); /** MsgContentCommandProto length */ length?: (number|null); /** MsgContentCommandProto validationToken */ validationToken?: (string|null); } /** Represents a MsgContentCommandProto. */ class MsgContentCommandProto implements IMsgContentCommandProto { /** * Constructs a new MsgContentCommandProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMsgContentCommandProto); /** MsgContentCommandProto commandType. */ public commandType?: (number|null); /** MsgContentCommandProto offset. */ public offset?: (number|null); /** MsgContentCommandProto length. */ public length?: (number|null); /** MsgContentCommandProto validationToken. */ public validationToken?: (string|null); /** * Creates a new MsgContentCommandProto instance using the specified properties. * @param [properties] Properties to set * @returns MsgContentCommandProto instance */ public static create(properties?: waproto.IMsgContentCommandProto): waproto.MsgContentCommandProto; /** * Encodes the specified MsgContentCommandProto message. Does not implicitly {@link waproto.MsgContentCommandProto.verify|verify} messages. * @param message MsgContentCommandProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMsgContentCommandProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgContentCommandProto message, length delimited. Does not implicitly {@link waproto.MsgContentCommandProto.verify|verify} messages. * @param message MsgContentCommandProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMsgContentCommandProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgContentCommandProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgContentCommandProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgContentCommandProto; /** * Decodes a MsgContentCommandProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgContentCommandProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgContentCommandProto; /** * Verifies a MsgContentCommandProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgContentCommandProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgContentCommandProto */ public static fromObject(object: { [k: string]: any }): waproto.MsgContentCommandProto; /** * Creates a plain object from a MsgContentCommandProto message. Also converts values to other types if specified. * @param message MsgContentCommandProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgContentCommandProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgContentCommandProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgContentCommandProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MsgContentProto. */ interface IMsgContentProto { /** MsgContentProto content */ content?: (string|null); /** MsgContentProto adminMsgContent */ adminMsgContent?: (string[]|null); /** MsgContentProto adminType */ adminType?: (string|null); /** MsgContentProto obsoleteExpiration */ obsoleteExpiration?: (number|null); /** MsgContentProto obsoleteTs */ obsoleteTs?: (number|Long|null); /** MsgContentProto subtype */ subtype?: (string|null); /** MsgContentProto protobuf */ protobuf?: (Uint8Array|null); /** MsgContentProto screenshotActionType */ screenshotActionType?: (number|null); /** MsgContentProto authorName */ authorName?: (string|null); /** MsgContentProto version */ version?: (number|null); /** MsgContentProto mentionedJids */ mentionedJids?: (string[]|null); /** MsgContentProto commands */ commands?: (waproto.IMsgContentCommandProto[]|null); } /** Represents a MsgContentProto. */ class MsgContentProto implements IMsgContentProto { /** * Constructs a new MsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IMsgContentProto); /** MsgContentProto content. */ public content?: (string|null); /** MsgContentProto adminMsgContent. */ public adminMsgContent: string[]; /** MsgContentProto adminType. */ public adminType?: (string|null); /** MsgContentProto obsoleteExpiration. */ public obsoleteExpiration?: (number|null); /** MsgContentProto obsoleteTs. */ public obsoleteTs?: (number|Long|null); /** MsgContentProto subtype. */ public subtype?: (string|null); /** MsgContentProto protobuf. */ public protobuf?: (Uint8Array|null); /** MsgContentProto screenshotActionType. */ public screenshotActionType?: (number|null); /** MsgContentProto authorName. */ public authorName?: (string|null); /** MsgContentProto version. */ public version?: (number|null); /** MsgContentProto mentionedJids. */ public mentionedJids: string[]; /** MsgContentProto commands. */ public commands: waproto.IMsgContentCommandProto[]; /** * Creates a new MsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns MsgContentProto instance */ public static create(properties?: waproto.IMsgContentProto): waproto.MsgContentProto; /** * Encodes the specified MsgContentProto message. Does not implicitly {@link waproto.MsgContentProto.verify|verify} messages. * @param message MsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgContentProto message, length delimited. Does not implicitly {@link waproto.MsgContentProto.verify|verify} messages. * @param message MsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgContentProto; /** * Decodes a MsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgContentProto; /** * Verifies a MsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.MsgContentProto; /** * Creates a plain object from a MsgContentProto message. Also converts values to other types if specified. * @param message MsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MsgOpaqueData. */ interface IMsgOpaqueData { /** MsgOpaqueData body */ body?: (string|null); /** MsgOpaqueData caption */ caption?: (string|null); /** MsgOpaqueData lng */ lng?: (number|null); /** MsgOpaqueData isLive */ isLive?: (boolean|null); /** MsgOpaqueData lat */ lat?: (number|null); /** MsgOpaqueData paymentAmount1000 */ paymentAmount1000?: (number|null); /** MsgOpaqueData paymentNoteMsgBody */ paymentNoteMsgBody?: (string|null); /** MsgOpaqueData matchedText */ matchedText?: (string|null); /** MsgOpaqueData title */ title?: (string|null); /** MsgOpaqueData description */ description?: (string|null); /** MsgOpaqueData futureproofBuffer */ futureproofBuffer?: (Uint8Array|null); /** MsgOpaqueData clientUrl */ clientUrl?: (string|null); /** MsgOpaqueData loc */ loc?: (string|null); /** MsgOpaqueData pollName */ pollName?: (string|null); /** MsgOpaqueData pollOptions */ pollOptions?: (waproto.MsgOpaqueData.IPollOption[]|null); /** MsgOpaqueData pollSelectableOptionsCount */ pollSelectableOptionsCount?: (number|null); /** MsgOpaqueData messageSecret */ messageSecret?: (Uint8Array|null); /** MsgOpaqueData senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** MsgOpaqueData pollUpdateParentKey */ pollUpdateParentKey?: (string|null); /** MsgOpaqueData encPollVote */ encPollVote?: (waproto.IPollEncValue|null); /** MsgOpaqueData encReactionTargetMessageKey */ encReactionTargetMessageKey?: (string|null); /** MsgOpaqueData encReactionEncPayload */ encReactionEncPayload?: (Uint8Array|null); /** MsgOpaqueData encReactionEncIv */ encReactionEncIv?: (Uint8Array|null); /** MsgOpaqueData isSentCagPollCreation */ isSentCagPollCreation?: (boolean|null); /** MsgOpaqueData botMessageSecret */ botMessageSecret?: (Uint8Array|null); /** MsgOpaqueData targetMessageKey */ targetMessageKey?: (string|null); /** MsgOpaqueData encPayload */ encPayload?: (Uint8Array|null); /** MsgOpaqueData encIv */ encIv?: (Uint8Array|null); /** MsgOpaqueData eventName */ eventName?: (string|null); /** MsgOpaqueData isEventCanceled */ isEventCanceled?: (boolean|null); /** MsgOpaqueData eventDescription */ eventDescription?: (string|null); /** MsgOpaqueData eventJoinLink */ eventJoinLink?: (string|null); /** MsgOpaqueData eventStartTime */ eventStartTime?: (number|Long|null); /** MsgOpaqueData eventLocation */ eventLocation?: (waproto.MsgOpaqueData.IEventLocation|null); /** MsgOpaqueData eventEndTime */ eventEndTime?: (number|Long|null); /** MsgOpaqueData pollVotesSnapshot */ pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null); /** MsgOpaqueData pollContentType */ pollContentType?: (waproto.MsgOpaqueData.PollContentType|null); /** MsgOpaqueData plainProtobufBytes */ plainProtobufBytes?: (Uint8Array|null); /** MsgOpaqueData eventIsScheduledCall */ eventIsScheduledCall?: (boolean|null); /** MsgOpaqueData eventExtraGuestsAllowed */ eventExtraGuestsAllowed?: (boolean|null); /** MsgOpaqueData pollType */ pollType?: (waproto.MsgOpaqueData.PollType|null); /** MsgOpaqueData correctOptionIndex */ correctOptionIndex?: (number|null); /** MsgOpaqueData quarantineExtractedText */ quarantineExtractedText?: (string|null); /** MsgOpaqueData pollEndTime */ pollEndTime?: (number|Long|null); /** MsgOpaqueData pollHideVoterNames */ pollHideVoterNames?: (boolean|null); /** MsgOpaqueData originalSelfAuthor */ originalSelfAuthor?: (string|null); /** MsgOpaqueData pollAllowAddOption */ pollAllowAddOption?: (boolean|null); /** MsgOpaqueData sharableEventInviteId */ sharableEventInviteId?: (string|null); /** MsgOpaqueData sharableEventInviteTitle */ sharableEventInviteTitle?: (string|null); /** MsgOpaqueData sharableEventInviteStartTime */ sharableEventInviteStartTime?: (number|Long|null); /** MsgOpaqueData sharableEventInviteEndTime */ sharableEventInviteEndTime?: (number|Long|null); /** MsgOpaqueData sharableEventInviteCaption */ sharableEventInviteCaption?: (string|null); /** MsgOpaqueData sharableEventInviteIsCanceled */ sharableEventInviteIsCanceled?: (boolean|null); /** MsgOpaqueData sharableEventInviteJpegThumbnail */ sharableEventInviteJpegThumbnail?: (Uint8Array|null); /** MsgOpaqueData sharableEventInviteCallLink */ sharableEventInviteCallLink?: (string|null); /** MsgOpaqueData mediaPngThumbnail */ mediaPngThumbnail?: (string|null); /** MsgOpaqueData qrUrl */ qrUrl?: (string|null); } /** Represents a MsgOpaqueData. */ class MsgOpaqueData implements IMsgOpaqueData { /** * Constructs a new MsgOpaqueData. * @param [properties] Properties to set */ constructor(properties?: waproto.IMsgOpaqueData); /** MsgOpaqueData body. */ public body?: (string|null); /** MsgOpaqueData caption. */ public caption?: (string|null); /** MsgOpaqueData lng. */ public lng?: (number|null); /** MsgOpaqueData isLive. */ public isLive?: (boolean|null); /** MsgOpaqueData lat. */ public lat?: (number|null); /** MsgOpaqueData paymentAmount1000. */ public paymentAmount1000?: (number|null); /** MsgOpaqueData paymentNoteMsgBody. */ public paymentNoteMsgBody?: (string|null); /** MsgOpaqueData matchedText. */ public matchedText?: (string|null); /** MsgOpaqueData title. */ public title?: (string|null); /** MsgOpaqueData description. */ public description?: (string|null); /** MsgOpaqueData futureproofBuffer. */ public futureproofBuffer?: (Uint8Array|null); /** MsgOpaqueData clientUrl. */ public clientUrl?: (string|null); /** MsgOpaqueData loc. */ public loc?: (string|null); /** MsgOpaqueData pollName. */ public pollName?: (string|null); /** MsgOpaqueData pollOptions. */ public pollOptions: waproto.MsgOpaqueData.IPollOption[]; /** MsgOpaqueData pollSelectableOptionsCount. */ public pollSelectableOptionsCount?: (number|null); /** MsgOpaqueData messageSecret. */ public messageSecret?: (Uint8Array|null); /** MsgOpaqueData senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** MsgOpaqueData pollUpdateParentKey. */ public pollUpdateParentKey?: (string|null); /** MsgOpaqueData encPollVote. */ public encPollVote?: (waproto.IPollEncValue|null); /** MsgOpaqueData encReactionTargetMessageKey. */ public encReactionTargetMessageKey?: (string|null); /** MsgOpaqueData encReactionEncPayload. */ public encReactionEncPayload?: (Uint8Array|null); /** MsgOpaqueData encReactionEncIv. */ public encReactionEncIv?: (Uint8Array|null); /** MsgOpaqueData isSentCagPollCreation. */ public isSentCagPollCreation?: (boolean|null); /** MsgOpaqueData botMessageSecret. */ public botMessageSecret?: (Uint8Array|null); /** MsgOpaqueData targetMessageKey. */ public targetMessageKey?: (string|null); /** MsgOpaqueData encPayload. */ public encPayload?: (Uint8Array|null); /** MsgOpaqueData encIv. */ public encIv?: (Uint8Array|null); /** MsgOpaqueData eventName. */ public eventName?: (string|null); /** MsgOpaqueData isEventCanceled. */ public isEventCanceled?: (boolean|null); /** MsgOpaqueData eventDescription. */ public eventDescription?: (string|null); /** MsgOpaqueData eventJoinLink. */ public eventJoinLink?: (string|null); /** MsgOpaqueData eventStartTime. */ public eventStartTime?: (number|Long|null); /** MsgOpaqueData eventLocation. */ public eventLocation?: (waproto.MsgOpaqueData.IEventLocation|null); /** MsgOpaqueData eventEndTime. */ public eventEndTime?: (number|Long|null); /** MsgOpaqueData pollVotesSnapshot. */ public pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null); /** MsgOpaqueData pollContentType. */ public pollContentType?: (waproto.MsgOpaqueData.PollContentType|null); /** MsgOpaqueData plainProtobufBytes. */ public plainProtobufBytes?: (Uint8Array|null); /** MsgOpaqueData eventIsScheduledCall. */ public eventIsScheduledCall?: (boolean|null); /** MsgOpaqueData eventExtraGuestsAllowed. */ public eventExtraGuestsAllowed?: (boolean|null); /** MsgOpaqueData pollType. */ public pollType?: (waproto.MsgOpaqueData.PollType|null); /** MsgOpaqueData correctOptionIndex. */ public correctOptionIndex?: (number|null); /** MsgOpaqueData quarantineExtractedText. */ public quarantineExtractedText?: (string|null); /** MsgOpaqueData pollEndTime. */ public pollEndTime?: (number|Long|null); /** MsgOpaqueData pollHideVoterNames. */ public pollHideVoterNames?: (boolean|null); /** MsgOpaqueData originalSelfAuthor. */ public originalSelfAuthor?: (string|null); /** MsgOpaqueData pollAllowAddOption. */ public pollAllowAddOption?: (boolean|null); /** MsgOpaqueData sharableEventInviteId. */ public sharableEventInviteId?: (string|null); /** MsgOpaqueData sharableEventInviteTitle. */ public sharableEventInviteTitle?: (string|null); /** MsgOpaqueData sharableEventInviteStartTime. */ public sharableEventInviteStartTime?: (number|Long|null); /** MsgOpaqueData sharableEventInviteEndTime. */ public sharableEventInviteEndTime?: (number|Long|null); /** MsgOpaqueData sharableEventInviteCaption. */ public sharableEventInviteCaption?: (string|null); /** MsgOpaqueData sharableEventInviteIsCanceled. */ public sharableEventInviteIsCanceled?: (boolean|null); /** MsgOpaqueData sharableEventInviteJpegThumbnail. */ public sharableEventInviteJpegThumbnail?: (Uint8Array|null); /** MsgOpaqueData sharableEventInviteCallLink. */ public sharableEventInviteCallLink?: (string|null); /** MsgOpaqueData mediaPngThumbnail. */ public mediaPngThumbnail?: (string|null); /** MsgOpaqueData qrUrl. */ public qrUrl?: (string|null); /** * Creates a new MsgOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns MsgOpaqueData instance */ public static create(properties?: waproto.IMsgOpaqueData): waproto.MsgOpaqueData; /** * Encodes the specified MsgOpaqueData message. Does not implicitly {@link waproto.MsgOpaqueData.verify|verify} messages. * @param message MsgOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.verify|verify} messages. * @param message MsgOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMsgOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData; /** * Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData; /** * Verifies a MsgOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgOpaqueData */ public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData; /** * Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified. * @param message MsgOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MsgOpaqueData { /** PollType enum. */ enum PollType { POLL = 0, QUIZ = 1 } /** PollContentType enum. */ enum PollContentType { UNKNOWN = 0, TEXT = 1, IMAGE = 2 } /** Properties of an EventLocation. */ interface IEventLocation { /** EventLocation degreesLatitude */ degreesLatitude?: (number|null); /** EventLocation degreesLongitude */ degreesLongitude?: (number|null); /** EventLocation name */ name?: (string|null); /** EventLocation address */ address?: (string|null); /** EventLocation url */ url?: (string|null); /** EventLocation jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); } /** Represents an EventLocation. */ class EventLocation implements IEventLocation { /** * Constructs a new EventLocation. * @param [properties] Properties to set */ constructor(properties?: waproto.MsgOpaqueData.IEventLocation); /** EventLocation degreesLatitude. */ public degreesLatitude?: (number|null); /** EventLocation degreesLongitude. */ public degreesLongitude?: (number|null); /** EventLocation name. */ public name?: (string|null); /** EventLocation address. */ public address?: (string|null); /** EventLocation url. */ public url?: (string|null); /** EventLocation jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** * Creates a new EventLocation instance using the specified properties. * @param [properties] Properties to set * @returns EventLocation instance */ public static create(properties?: waproto.MsgOpaqueData.IEventLocation): waproto.MsgOpaqueData.EventLocation; /** * Encodes the specified EventLocation message. Does not implicitly {@link waproto.MsgOpaqueData.EventLocation.verify|verify} messages. * @param message EventLocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MsgOpaqueData.IEventLocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EventLocation message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.EventLocation.verify|verify} messages. * @param message EventLocation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MsgOpaqueData.IEventLocation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EventLocation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns EventLocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.EventLocation; /** * Decodes an EventLocation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns EventLocation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.EventLocation; /** * Verifies an EventLocation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an EventLocation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EventLocation */ public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.EventLocation; /** * Creates a plain object from an EventLocation message. Also converts values to other types if specified. * @param message EventLocation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgOpaqueData.EventLocation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EventLocation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for EventLocation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVotesSnapshot. */ interface IPollVotesSnapshot { /** PollVotesSnapshot pollVotes */ pollVotes?: (waproto.MsgOpaqueData.IPollVoteSnapshot[]|null); } /** Represents a PollVotesSnapshot. */ class PollVotesSnapshot implements IPollVotesSnapshot { /** * Constructs a new PollVotesSnapshot. * @param [properties] Properties to set */ constructor(properties?: waproto.MsgOpaqueData.IPollVotesSnapshot); /** PollVotesSnapshot pollVotes. */ public pollVotes: waproto.MsgOpaqueData.IPollVoteSnapshot[]; /** * Creates a new PollVotesSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns PollVotesSnapshot instance */ public static create(properties?: waproto.MsgOpaqueData.IPollVotesSnapshot): waproto.MsgOpaqueData.PollVotesSnapshot; /** * Encodes the specified PollVotesSnapshot message. Does not implicitly {@link waproto.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages. * @param message PollVotesSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVotesSnapshot message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.PollVotesSnapshot.verify|verify} messages. * @param message PollVotesSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MsgOpaqueData.IPollVotesSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVotesSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVotesSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.PollVotesSnapshot; /** * Decodes a PollVotesSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVotesSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.PollVotesSnapshot; /** * Verifies a PollVotesSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVotesSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVotesSnapshot */ public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.PollVotesSnapshot; /** * Creates a plain object from a PollVotesSnapshot message. Also converts values to other types if specified. * @param message PollVotesSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgOpaqueData.PollVotesSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVotesSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVotesSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollVoteSnapshot. */ interface IPollVoteSnapshot { /** PollVoteSnapshot option */ option?: (waproto.MsgOpaqueData.IPollOption|null); /** PollVoteSnapshot optionVoteCount */ optionVoteCount?: (number|null); } /** Represents a PollVoteSnapshot. */ class PollVoteSnapshot implements IPollVoteSnapshot { /** * Constructs a new PollVoteSnapshot. * @param [properties] Properties to set */ constructor(properties?: waproto.MsgOpaqueData.IPollVoteSnapshot); /** PollVoteSnapshot option. */ public option?: (waproto.MsgOpaqueData.IPollOption|null); /** PollVoteSnapshot optionVoteCount. */ public optionVoteCount?: (number|null); /** * Creates a new PollVoteSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns PollVoteSnapshot instance */ public static create(properties?: waproto.MsgOpaqueData.IPollVoteSnapshot): waproto.MsgOpaqueData.PollVoteSnapshot; /** * Encodes the specified PollVoteSnapshot message. Does not implicitly {@link waproto.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages. * @param message PollVoteSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollVoteSnapshot message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.PollVoteSnapshot.verify|verify} messages. * @param message PollVoteSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MsgOpaqueData.IPollVoteSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollVoteSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollVoteSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.PollVoteSnapshot; /** * Decodes a PollVoteSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollVoteSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.PollVoteSnapshot; /** * Verifies a PollVoteSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollVoteSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollVoteSnapshot */ public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.PollVoteSnapshot; /** * Creates a plain object from a PollVoteSnapshot message. Also converts values to other types if specified. * @param message PollVoteSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgOpaqueData.PollVoteSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollVoteSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollVoteSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollOption. */ interface IPollOption { /** PollOption name */ name?: (string|null); /** PollOption hash */ hash?: (string|null); /** PollOption addOptionMsgKey */ addOptionMsgKey?: (string|null); } /** Represents a PollOption. */ class PollOption implements IPollOption { /** * Constructs a new PollOption. * @param [properties] Properties to set */ constructor(properties?: waproto.MsgOpaqueData.IPollOption); /** PollOption name. */ public name?: (string|null); /** PollOption hash. */ public hash?: (string|null); /** PollOption addOptionMsgKey. */ public addOptionMsgKey?: (string|null); /** * Creates a new PollOption instance using the specified properties. * @param [properties] Properties to set * @returns PollOption instance */ public static create(properties?: waproto.MsgOpaqueData.IPollOption): waproto.MsgOpaqueData.PollOption; /** * Encodes the specified PollOption message. Does not implicitly {@link waproto.MsgOpaqueData.PollOption.verify|verify} messages. * @param message PollOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MsgOpaqueData.IPollOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollOption message, length delimited. Does not implicitly {@link waproto.MsgOpaqueData.PollOption.verify|verify} messages. * @param message PollOption message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MsgOpaqueData.IPollOption, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollOption message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgOpaqueData.PollOption; /** * Decodes a PollOption message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgOpaqueData.PollOption; /** * Verifies a PollOption message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollOption message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollOption */ public static fromObject(object: { [k: string]: any }): waproto.MsgOpaqueData.PollOption; /** * Creates a plain object from a PollOption message. Also converts values to other types if specified. * @param message PollOption * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgOpaqueData.PollOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollOption to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollOption * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a MsgRowOpaqueData. */ interface IMsgRowOpaqueData { /** MsgRowOpaqueData currentMsg */ currentMsg?: (waproto.IMsgOpaqueData|null); /** MsgRowOpaqueData quotedMsg */ quotedMsg?: (waproto.IMsgOpaqueData|null); } /** Represents a MsgRowOpaqueData. */ class MsgRowOpaqueData implements IMsgRowOpaqueData { /** * Constructs a new MsgRowOpaqueData. * @param [properties] Properties to set */ constructor(properties?: waproto.IMsgRowOpaqueData); /** MsgRowOpaqueData currentMsg. */ public currentMsg?: (waproto.IMsgOpaqueData|null); /** MsgRowOpaqueData quotedMsg. */ public quotedMsg?: (waproto.IMsgOpaqueData|null); /** * Creates a new MsgRowOpaqueData instance using the specified properties. * @param [properties] Properties to set * @returns MsgRowOpaqueData instance */ public static create(properties?: waproto.IMsgRowOpaqueData): waproto.MsgRowOpaqueData; /** * Encodes the specified MsgRowOpaqueData message. Does not implicitly {@link waproto.MsgRowOpaqueData.verify|verify} messages. * @param message MsgRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MsgRowOpaqueData message, length delimited. Does not implicitly {@link waproto.MsgRowOpaqueData.verify|verify} messages. * @param message MsgRowOpaqueData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMsgRowOpaqueData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MsgRowOpaqueData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MsgRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MsgRowOpaqueData; /** * Decodes a MsgRowOpaqueData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MsgRowOpaqueData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MsgRowOpaqueData; /** * Verifies a MsgRowOpaqueData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MsgRowOpaqueData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MsgRowOpaqueData */ public static fromObject(object: { [k: string]: any }): waproto.MsgRowOpaqueData; /** * Creates a plain object from a MsgRowOpaqueData message. Also converts values to other types if specified. * @param message MsgRowOpaqueData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MsgRowOpaqueData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MsgRowOpaqueData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MsgRowOpaqueData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MultiDevice. */ interface IMultiDevice { /** MultiDevice payload */ payload?: (waproto.MultiDevice.IPayload|null); /** MultiDevice metadata */ metadata?: (waproto.MultiDevice.IMetadata|null); } /** Represents a MultiDevice. */ class MultiDevice implements IMultiDevice { /** * Constructs a new MultiDevice. * @param [properties] Properties to set */ constructor(properties?: waproto.IMultiDevice); /** MultiDevice payload. */ public payload?: (waproto.MultiDevice.IPayload|null); /** MultiDevice metadata. */ public metadata?: (waproto.MultiDevice.IMetadata|null); /** * Creates a new MultiDevice instance using the specified properties. * @param [properties] Properties to set * @returns MultiDevice instance */ public static create(properties?: waproto.IMultiDevice): waproto.MultiDevice; /** * Encodes the specified MultiDevice message. Does not implicitly {@link waproto.MultiDevice.verify|verify} messages. * @param message MultiDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IMultiDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MultiDevice message, length delimited. Does not implicitly {@link waproto.MultiDevice.verify|verify} messages. * @param message MultiDevice message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IMultiDevice, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MultiDevice message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MultiDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice; /** * Decodes a MultiDevice message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MultiDevice * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice; /** * Verifies a MultiDevice message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MultiDevice message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MultiDevice */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice; /** * Creates a plain object from a MultiDevice message. Also converts values to other types if specified. * @param message MultiDevice * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MultiDevice to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MultiDevice * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MultiDevice { /** Properties of a Metadata. */ interface IMetadata { } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.IMetadata); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.MultiDevice.IMetadata): waproto.MultiDevice.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.MultiDevice.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.MultiDevice.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Payload. */ interface IPayload { /** Payload applicationData */ applicationData?: (waproto.MultiDevice.IApplicationData|null); /** Payload signal */ signal?: (waproto.MultiDevice.ISignal|null); } /** Represents a Payload. */ class Payload implements IPayload { /** * Constructs a new Payload. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.IPayload); /** Payload applicationData. */ public applicationData?: (waproto.MultiDevice.IApplicationData|null); /** Payload signal. */ public signal?: (waproto.MultiDevice.ISignal|null); /** Payload payload. */ public payload?: ("applicationData"|"signal"); /** * Creates a new Payload instance using the specified properties. * @param [properties] Properties to set * @returns Payload instance */ public static create(properties?: waproto.MultiDevice.IPayload): waproto.MultiDevice.Payload; /** * Encodes the specified Payload message. Does not implicitly {@link waproto.MultiDevice.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Payload message, length delimited. Does not implicitly {@link waproto.MultiDevice.Payload.verify|verify} messages. * @param message Payload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.IPayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Payload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.Payload; /** * Decodes a Payload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Payload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.Payload; /** * Verifies a Payload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Payload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Payload */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.Payload; /** * Creates a plain object from a Payload message. Also converts values to other types if specified. * @param message Payload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.Payload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Payload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Payload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ApplicationData. */ interface IApplicationData { /** ApplicationData appStateSyncKeyShare */ appStateSyncKeyShare?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage|null); /** ApplicationData appStateSyncKeyRequest */ appStateSyncKeyRequest?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage|null); } /** Represents an ApplicationData. */ class ApplicationData implements IApplicationData { /** * Constructs a new ApplicationData. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.IApplicationData); /** ApplicationData appStateSyncKeyShare. */ public appStateSyncKeyShare?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage|null); /** ApplicationData appStateSyncKeyRequest. */ public appStateSyncKeyRequest?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage|null); /** ApplicationData applicationData. */ public applicationData?: ("appStateSyncKeyShare"|"appStateSyncKeyRequest"); /** * Creates a new ApplicationData instance using the specified properties. * @param [properties] Properties to set * @returns ApplicationData instance */ public static create(properties?: waproto.MultiDevice.IApplicationData): waproto.MultiDevice.ApplicationData; /** * Encodes the specified ApplicationData message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ApplicationData message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.verify|verify} messages. * @param message ApplicationData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.IApplicationData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ApplicationData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData; /** * Decodes an ApplicationData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ApplicationData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData; /** * Verifies an ApplicationData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ApplicationData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ApplicationData */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData; /** * Creates a plain object from an ApplicationData message. Also converts values to other types if specified. * @param message ApplicationData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ApplicationData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ApplicationData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ApplicationData { /** Properties of an AppStateSyncKeyRequestMessage. */ interface IAppStateSyncKeyRequestMessage { /** AppStateSyncKeyRequestMessage keyIds */ keyIds?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId[]|null); } /** Represents an AppStateSyncKeyRequestMessage. */ class AppStateSyncKeyRequestMessage implements IAppStateSyncKeyRequestMessage { /** * Constructs a new AppStateSyncKeyRequestMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage); /** AppStateSyncKeyRequestMessage keyIds. */ public keyIds: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId[]; /** * Creates a new AppStateSyncKeyRequestMessage instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyRequestMessage instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage): waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage; /** * Encodes the specified AppStateSyncKeyRequestMessage message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage.verify|verify} messages. * @param message AppStateSyncKeyRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyRequestMessage message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage.verify|verify} messages. * @param message AppStateSyncKeyRequestMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyRequestMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyRequestMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage; /** * Decodes an AppStateSyncKeyRequestMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyRequestMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage; /** * Verifies an AppStateSyncKeyRequestMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyRequestMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyRequestMessage */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage; /** * Creates a plain object from an AppStateSyncKeyRequestMessage message. Also converts values to other types if specified. * @param message AppStateSyncKeyRequestMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyRequestMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyRequestMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKeyShareMessage. */ interface IAppStateSyncKeyShareMessage { /** AppStateSyncKeyShareMessage keys */ keys?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKey[]|null); } /** Represents an AppStateSyncKeyShareMessage. */ class AppStateSyncKeyShareMessage implements IAppStateSyncKeyShareMessage { /** * Constructs a new AppStateSyncKeyShareMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage); /** AppStateSyncKeyShareMessage keys. */ public keys: waproto.MultiDevice.ApplicationData.IAppStateSyncKey[]; /** * Creates a new AppStateSyncKeyShareMessage instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyShareMessage instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage): waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage; /** * Encodes the specified AppStateSyncKeyShareMessage message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage.verify|verify} messages. * @param message AppStateSyncKeyShareMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyShareMessage message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage.verify|verify} messages. * @param message AppStateSyncKeyShareMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyShareMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyShareMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyShareMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage; /** * Decodes an AppStateSyncKeyShareMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyShareMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage; /** * Verifies an AppStateSyncKeyShareMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyShareMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyShareMessage */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage; /** * Creates a plain object from an AppStateSyncKeyShareMessage message. Also converts values to other types if specified. * @param message AppStateSyncKeyShareMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyShareMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyShareMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AppStateSyncKey. */ interface IAppStateSyncKey { /** AppStateSyncKey keyId */ keyId?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId|null); /** AppStateSyncKey keyData */ keyData?: (waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData|null); } /** Represents an AppStateSyncKey. */ class AppStateSyncKey implements IAppStateSyncKey { /** * Constructs a new AppStateSyncKey. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKey); /** AppStateSyncKey keyId. */ public keyId?: (waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId|null); /** AppStateSyncKey keyData. */ public keyData?: (waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData|null); /** * Creates a new AppStateSyncKey instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKey instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKey): waproto.MultiDevice.ApplicationData.AppStateSyncKey; /** * Encodes the specified AppStateSyncKey message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.verify|verify} messages. * @param message AppStateSyncKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKey message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.verify|verify} messages. * @param message AppStateSyncKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKey; /** * Decodes an AppStateSyncKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKey; /** * Verifies an AppStateSyncKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKey */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKey; /** * Creates a plain object from an AppStateSyncKey message. Also converts values to other types if specified. * @param message AppStateSyncKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AppStateSyncKey { /** Properties of an AppStateSyncKeyData. */ interface IAppStateSyncKeyData { /** AppStateSyncKeyData keyData */ keyData?: (Uint8Array|null); /** AppStateSyncKeyData fingerprint */ fingerprint?: (waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint|null); /** AppStateSyncKeyData timestamp */ timestamp?: (number|Long|null); } /** Represents an AppStateSyncKeyData. */ class AppStateSyncKeyData implements IAppStateSyncKeyData { /** * Constructs a new AppStateSyncKeyData. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData); /** AppStateSyncKeyData keyData. */ public keyData?: (Uint8Array|null); /** AppStateSyncKeyData fingerprint. */ public fingerprint?: (waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint|null); /** AppStateSyncKeyData timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new AppStateSyncKeyData instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyData instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData; /** * Encodes the specified AppStateSyncKeyData message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.verify|verify} messages. * @param message AppStateSyncKeyData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyData message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.verify|verify} messages. * @param message AppStateSyncKeyData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.IAppStateSyncKeyData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData; /** * Decodes an AppStateSyncKeyData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData; /** * Verifies an AppStateSyncKeyData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyData */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData; /** * Creates a plain object from an AppStateSyncKeyData message. Also converts values to other types if specified. * @param message AppStateSyncKeyData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AppStateSyncKeyData { /** Properties of an AppStateSyncKeyFingerprint. */ interface IAppStateSyncKeyFingerprint { /** AppStateSyncKeyFingerprint rawId */ rawId?: (number|null); /** AppStateSyncKeyFingerprint currentIndex */ currentIndex?: (number|null); /** AppStateSyncKeyFingerprint deviceIndexes */ deviceIndexes?: (number[]|null); } /** Represents an AppStateSyncKeyFingerprint. */ class AppStateSyncKeyFingerprint implements IAppStateSyncKeyFingerprint { /** * Constructs a new AppStateSyncKeyFingerprint. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint); /** AppStateSyncKeyFingerprint rawId. */ public rawId?: (number|null); /** AppStateSyncKeyFingerprint currentIndex. */ public currentIndex?: (number|null); /** AppStateSyncKeyFingerprint deviceIndexes. */ public deviceIndexes: number[]; /** * Creates a new AppStateSyncKeyFingerprint instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyFingerprint instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint; /** * Encodes the specified AppStateSyncKeyFingerprint message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint.verify|verify} messages. * @param message AppStateSyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyFingerprint message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint.verify|verify} messages. * @param message AppStateSyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.IAppStateSyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint; /** * Decodes an AppStateSyncKeyFingerprint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint; /** * Verifies an AppStateSyncKeyFingerprint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyFingerprint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyFingerprint */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint; /** * Creates a plain object from an AppStateSyncKeyFingerprint message. Also converts values to other types if specified. * @param message AppStateSyncKeyFingerprint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyFingerprint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyFingerprint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an AppStateSyncKeyId. */ interface IAppStateSyncKeyId { /** AppStateSyncKeyId keyId */ keyId?: (Uint8Array|null); } /** Represents an AppStateSyncKeyId. */ class AppStateSyncKeyId implements IAppStateSyncKeyId { /** * Constructs a new AppStateSyncKeyId. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId); /** AppStateSyncKeyId keyId. */ public keyId?: (Uint8Array|null); /** * Creates a new AppStateSyncKeyId instance using the specified properties. * @param [properties] Properties to set * @returns AppStateSyncKeyId instance */ public static create(properties?: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId): waproto.MultiDevice.ApplicationData.AppStateSyncKeyId; /** * Encodes the specified AppStateSyncKeyId message. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyId.verify|verify} messages. * @param message AppStateSyncKeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AppStateSyncKeyId message, length delimited. Does not implicitly {@link waproto.MultiDevice.ApplicationData.AppStateSyncKeyId.verify|verify} messages. * @param message AppStateSyncKeyId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ApplicationData.IAppStateSyncKeyId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AppStateSyncKeyId message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AppStateSyncKeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.ApplicationData.AppStateSyncKeyId; /** * Decodes an AppStateSyncKeyId message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AppStateSyncKeyId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.ApplicationData.AppStateSyncKeyId; /** * Verifies an AppStateSyncKeyId message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AppStateSyncKeyId message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AppStateSyncKeyId */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.ApplicationData.AppStateSyncKeyId; /** * Creates a plain object from an AppStateSyncKeyId message. Also converts values to other types if specified. * @param message AppStateSyncKeyId * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.ApplicationData.AppStateSyncKeyId, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AppStateSyncKeyId to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AppStateSyncKeyId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a Signal. */ interface ISignal { } /** Represents a Signal. */ class Signal implements ISignal { /** * Constructs a new Signal. * @param [properties] Properties to set */ constructor(properties?: waproto.MultiDevice.ISignal); /** * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set * @returns Signal instance */ public static create(properties?: waproto.MultiDevice.ISignal): waproto.MultiDevice.Signal; /** * Encodes the specified Signal message. Does not implicitly {@link waproto.MultiDevice.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.MultiDevice.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Signal message, length delimited. Does not implicitly {@link waproto.MultiDevice.Signal.verify|verify} messages. * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.MultiDevice.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Signal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.MultiDevice.Signal; /** * Decodes a Signal message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.MultiDevice.Signal; /** * Verifies a Signal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Signal message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Signal */ public static fromObject(object: { [k: string]: any }): waproto.MultiDevice.Signal; /** * Creates a plain object from a Signal message. Also converts values to other types if specified. * @param message Signal * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.MultiDevice.Signal, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Signal to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Signal * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a NoiseCertificate. */ interface INoiseCertificate { /** NoiseCertificate details */ details?: (Uint8Array|null); /** NoiseCertificate signature */ signature?: (Uint8Array|null); } /** Represents a NoiseCertificate. */ class NoiseCertificate implements INoiseCertificate { /** * Constructs a new NoiseCertificate. * @param [properties] Properties to set */ constructor(properties?: waproto.INoiseCertificate); /** NoiseCertificate details. */ public details?: (Uint8Array|null); /** NoiseCertificate signature. */ public signature?: (Uint8Array|null); /** * Creates a new NoiseCertificate instance using the specified properties. * @param [properties] Properties to set * @returns NoiseCertificate instance */ public static create(properties?: waproto.INoiseCertificate): waproto.NoiseCertificate; /** * Encodes the specified NoiseCertificate message. Does not implicitly {@link waproto.NoiseCertificate.verify|verify} messages. * @param message NoiseCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NoiseCertificate message, length delimited. Does not implicitly {@link waproto.NoiseCertificate.verify|verify} messages. * @param message NoiseCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.INoiseCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NoiseCertificate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NoiseCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.NoiseCertificate; /** * Decodes a NoiseCertificate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NoiseCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.NoiseCertificate; /** * Verifies a NoiseCertificate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NoiseCertificate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NoiseCertificate */ public static fromObject(object: { [k: string]: any }): waproto.NoiseCertificate; /** * Creates a plain object from a NoiseCertificate message. Also converts values to other types if specified. * @param message NoiseCertificate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.NoiseCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NoiseCertificate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NoiseCertificate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NoiseCertificate { /** Properties of a Details. */ interface IDetails { /** Details serial */ serial?: (number|null); /** Details issuer */ issuer?: (string|null); /** Details expires */ expires?: (number|Long|null); /** Details subject */ subject?: (string|null); /** Details key */ key?: (Uint8Array|null); } /** Represents a Details. */ class Details implements IDetails { /** * Constructs a new Details. * @param [properties] Properties to set */ constructor(properties?: waproto.NoiseCertificate.IDetails); /** Details serial. */ public serial?: (number|null); /** Details issuer. */ public issuer?: (string|null); /** Details expires. */ public expires?: (number|Long|null); /** Details subject. */ public subject?: (string|null); /** Details key. */ public key?: (Uint8Array|null); /** * Creates a new Details instance using the specified properties. * @param [properties] Properties to set * @returns Details instance */ public static create(properties?: waproto.NoiseCertificate.IDetails): waproto.NoiseCertificate.Details; /** * Encodes the specified Details message. Does not implicitly {@link waproto.NoiseCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.NoiseCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Details message, length delimited. Does not implicitly {@link waproto.NoiseCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.NoiseCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Details message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.NoiseCertificate.Details; /** * Decodes a Details message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.NoiseCertificate.Details; /** * Verifies a Details message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Details message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Details */ public static fromObject(object: { [k: string]: any }): waproto.NoiseCertificate.Details; /** * Creates a plain object from a Details message. Also converts values to other types if specified. * @param message Details * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.NoiseCertificate.Details, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Details to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Details * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a NonE2EEAttestation. */ interface INonE2EEAttestation { /** NonE2EEAttestation accountType */ accountType?: (waproto.NonE2EEAttestation.AccountType|null); } /** Represents a NonE2EEAttestation. */ class NonE2EEAttestation implements INonE2EEAttestation { /** * Constructs a new NonE2EEAttestation. * @param [properties] Properties to set */ constructor(properties?: waproto.INonE2EEAttestation); /** NonE2EEAttestation accountType. */ public accountType?: (waproto.NonE2EEAttestation.AccountType|null); /** * Creates a new NonE2EEAttestation instance using the specified properties. * @param [properties] Properties to set * @returns NonE2EEAttestation instance */ public static create(properties?: waproto.INonE2EEAttestation): waproto.NonE2EEAttestation; /** * Encodes the specified NonE2EEAttestation message. Does not implicitly {@link waproto.NonE2EEAttestation.verify|verify} messages. * @param message NonE2EEAttestation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.INonE2EEAttestation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NonE2EEAttestation message, length delimited. Does not implicitly {@link waproto.NonE2EEAttestation.verify|verify} messages. * @param message NonE2EEAttestation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.INonE2EEAttestation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NonE2EEAttestation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NonE2EEAttestation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.NonE2EEAttestation; /** * Decodes a NonE2EEAttestation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NonE2EEAttestation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.NonE2EEAttestation; /** * Verifies a NonE2EEAttestation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NonE2EEAttestation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NonE2EEAttestation */ public static fromObject(object: { [k: string]: any }): waproto.NonE2EEAttestation; /** * Creates a plain object from a NonE2EEAttestation message. Also converts values to other types if specified. * @param message NonE2EEAttestation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.NonE2EEAttestation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NonE2EEAttestation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NonE2EEAttestation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NonE2EEAttestation { /** AccountType enum. */ enum AccountType { E2EE = 0, HYBRID_E2EE = 1, NON_E2EE = 2 } } /** Properties of a NotificationMessageInfo. */ interface INotificationMessageInfo { /** NotificationMessageInfo key */ key?: (waproto.IMessageKey|null); /** NotificationMessageInfo message */ message?: (waproto.IMessage|null); /** NotificationMessageInfo messageTimestamp */ messageTimestamp?: (number|Long|null); /** NotificationMessageInfo participant */ participant?: (string|null); } /** Represents a NotificationMessageInfo. */ class NotificationMessageInfo implements INotificationMessageInfo { /** * Constructs a new NotificationMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.INotificationMessageInfo); /** NotificationMessageInfo key. */ public key?: (waproto.IMessageKey|null); /** NotificationMessageInfo message. */ public message?: (waproto.IMessage|null); /** NotificationMessageInfo messageTimestamp. */ public messageTimestamp?: (number|Long|null); /** NotificationMessageInfo participant. */ public participant?: (string|null); /** * Creates a new NotificationMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns NotificationMessageInfo instance */ public static create(properties?: waproto.INotificationMessageInfo): waproto.NotificationMessageInfo; /** * Encodes the specified NotificationMessageInfo message. Does not implicitly {@link waproto.NotificationMessageInfo.verify|verify} messages. * @param message NotificationMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.INotificationMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NotificationMessageInfo message, length delimited. Does not implicitly {@link waproto.NotificationMessageInfo.verify|verify} messages. * @param message NotificationMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.INotificationMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NotificationMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NotificationMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.NotificationMessageInfo; /** * Decodes a NotificationMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NotificationMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.NotificationMessageInfo; /** * Verifies a NotificationMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NotificationMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NotificationMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.NotificationMessageInfo; /** * Creates a plain object from a NotificationMessageInfo message. Also converts values to other types if specified. * @param message NotificationMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.NotificationMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NotificationMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NotificationMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NotificationSettings. */ interface INotificationSettings { /** NotificationSettings messageVibrate */ messageVibrate?: (string|null); /** NotificationSettings messagePopup */ messagePopup?: (string|null); /** NotificationSettings messageLight */ messageLight?: (string|null); /** NotificationSettings lowPriorityNotifications */ lowPriorityNotifications?: (boolean|null); /** NotificationSettings reactionsMuted */ reactionsMuted?: (boolean|null); /** NotificationSettings callVibrate */ callVibrate?: (string|null); } /** Represents a NotificationSettings. */ class NotificationSettings implements INotificationSettings { /** * Constructs a new NotificationSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.INotificationSettings); /** NotificationSettings messageVibrate. */ public messageVibrate?: (string|null); /** NotificationSettings messagePopup. */ public messagePopup?: (string|null); /** NotificationSettings messageLight. */ public messageLight?: (string|null); /** NotificationSettings lowPriorityNotifications. */ public lowPriorityNotifications?: (boolean|null); /** NotificationSettings reactionsMuted. */ public reactionsMuted?: (boolean|null); /** NotificationSettings callVibrate. */ public callVibrate?: (string|null); /** * Creates a new NotificationSettings instance using the specified properties. * @param [properties] Properties to set * @returns NotificationSettings instance */ public static create(properties?: waproto.INotificationSettings): waproto.NotificationSettings; /** * Encodes the specified NotificationSettings message. Does not implicitly {@link waproto.NotificationSettings.verify|verify} messages. * @param message NotificationSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.INotificationSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NotificationSettings message, length delimited. Does not implicitly {@link waproto.NotificationSettings.verify|verify} messages. * @param message NotificationSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.INotificationSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NotificationSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NotificationSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.NotificationSettings; /** * Decodes a NotificationSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NotificationSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.NotificationSettings; /** * Verifies a NotificationSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NotificationSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NotificationSettings */ public static fromObject(object: { [k: string]: any }): waproto.NotificationSettings; /** * Creates a plain object from a NotificationSettings message. Also converts values to other types if specified. * @param message NotificationSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.NotificationSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NotificationSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NotificationSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OrfThreadIdInput. */ interface IOrfThreadIdInput { /** OrfThreadIdInput orfClientState */ orfClientState?: (Uint8Array|null); /** OrfThreadIdInput threadId */ threadId?: (string|null); } /** Represents an OrfThreadIdInput. */ class OrfThreadIdInput implements IOrfThreadIdInput { /** * Constructs a new OrfThreadIdInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IOrfThreadIdInput); /** OrfThreadIdInput orfClientState. */ public orfClientState?: (Uint8Array|null); /** OrfThreadIdInput threadId. */ public threadId?: (string|null); /** * Creates a new OrfThreadIdInput instance using the specified properties. * @param [properties] Properties to set * @returns OrfThreadIdInput instance */ public static create(properties?: waproto.IOrfThreadIdInput): waproto.OrfThreadIdInput; /** * Encodes the specified OrfThreadIdInput message. Does not implicitly {@link waproto.OrfThreadIdInput.verify|verify} messages. * @param message OrfThreadIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IOrfThreadIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OrfThreadIdInput message, length delimited. Does not implicitly {@link waproto.OrfThreadIdInput.verify|verify} messages. * @param message OrfThreadIdInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IOrfThreadIdInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OrfThreadIdInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OrfThreadIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.OrfThreadIdInput; /** * Decodes an OrfThreadIdInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OrfThreadIdInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.OrfThreadIdInput; /** * Verifies an OrfThreadIdInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OrfThreadIdInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OrfThreadIdInput */ public static fromObject(object: { [k: string]: any }): waproto.OrfThreadIdInput; /** * Creates a plain object from an OrfThreadIdInput message. Also converts values to other types if specified. * @param message OrfThreadIdInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.OrfThreadIdInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OrfThreadIdInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OrfThreadIdInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OrfThreadIdOutput. */ interface IOrfThreadIdOutput { /** OrfThreadIdOutput orfThreadId */ orfThreadId?: (Uint8Array|null); /** OrfThreadIdOutput error */ error?: (string|null); } /** Represents an OrfThreadIdOutput. */ class OrfThreadIdOutput implements IOrfThreadIdOutput { /** * Constructs a new OrfThreadIdOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IOrfThreadIdOutput); /** OrfThreadIdOutput orfThreadId. */ public orfThreadId?: (Uint8Array|null); /** OrfThreadIdOutput error. */ public error?: (string|null); /** * Creates a new OrfThreadIdOutput instance using the specified properties. * @param [properties] Properties to set * @returns OrfThreadIdOutput instance */ public static create(properties?: waproto.IOrfThreadIdOutput): waproto.OrfThreadIdOutput; /** * Encodes the specified OrfThreadIdOutput message. Does not implicitly {@link waproto.OrfThreadIdOutput.verify|verify} messages. * @param message OrfThreadIdOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IOrfThreadIdOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OrfThreadIdOutput message, length delimited. Does not implicitly {@link waproto.OrfThreadIdOutput.verify|verify} messages. * @param message OrfThreadIdOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IOrfThreadIdOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OrfThreadIdOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OrfThreadIdOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.OrfThreadIdOutput; /** * Decodes an OrfThreadIdOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OrfThreadIdOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.OrfThreadIdOutput; /** * Verifies an OrfThreadIdOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OrfThreadIdOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OrfThreadIdOutput */ public static fromObject(object: { [k: string]: any }): waproto.OrfThreadIdOutput; /** * Creates a plain object from an OrfThreadIdOutput message. Also converts values to other types if specified. * @param message OrfThreadIdOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.OrfThreadIdOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OrfThreadIdOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OrfThreadIdOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PairingRequest. */ interface IPairingRequest { /** PairingRequest companionPublicKey */ companionPublicKey?: (Uint8Array|null); /** PairingRequest companionIdentityKey */ companionIdentityKey?: (Uint8Array|null); /** PairingRequest advSecret */ advSecret?: (Uint8Array|null); } /** Represents a PairingRequest. */ class PairingRequest implements IPairingRequest { /** * Constructs a new PairingRequest. * @param [properties] Properties to set */ constructor(properties?: waproto.IPairingRequest); /** PairingRequest companionPublicKey. */ public companionPublicKey?: (Uint8Array|null); /** PairingRequest companionIdentityKey. */ public companionIdentityKey?: (Uint8Array|null); /** PairingRequest advSecret. */ public advSecret?: (Uint8Array|null); /** * Creates a new PairingRequest instance using the specified properties. * @param [properties] Properties to set * @returns PairingRequest instance */ public static create(properties?: waproto.IPairingRequest): waproto.PairingRequest; /** * Encodes the specified PairingRequest message. Does not implicitly {@link waproto.PairingRequest.verify|verify} messages. * @param message PairingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PairingRequest message, length delimited. Does not implicitly {@link waproto.PairingRequest.verify|verify} messages. * @param message PairingRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PairingRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PairingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PairingRequest; /** * Decodes a PairingRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PairingRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PairingRequest; /** * Verifies a PairingRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PairingRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PairingRequest */ public static fromObject(object: { [k: string]: any }): waproto.PairingRequest; /** * Creates a plain object from a PairingRequest message. Also converts values to other types if specified. * @param message PairingRequest * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PairingRequest to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PairingRequest * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ParticipantsTableSchemaProto. */ interface IParticipantsTableSchemaProto { /** ParticipantsTableSchemaProto id */ id?: (string|null); /** ParticipantsTableSchemaProto userJid */ userJid?: (string|null); /** ParticipantsTableSchemaProto deliveredWatermarkTs */ deliveredWatermarkTs?: (number|Long|null); /** ParticipantsTableSchemaProto lastReadWatermarkTs */ lastReadWatermarkTs?: (number|Long|null); /** ParticipantsTableSchemaProto type */ type?: (string|null); /** ParticipantsTableSchemaProto addressable */ addressable?: (boolean|null); /** ParticipantsTableSchemaProto lastReadActionTs */ lastReadActionTs?: (number|Long|null); /** ParticipantsTableSchemaProto threadId */ threadId?: (number|null); /** ParticipantsTableSchemaProto threadJid */ threadJid?: (string|null); } /** Represents a ParticipantsTableSchemaProto. */ class ParticipantsTableSchemaProto implements IParticipantsTableSchemaProto { /** * Constructs a new ParticipantsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IParticipantsTableSchemaProto); /** ParticipantsTableSchemaProto id. */ public id?: (string|null); /** ParticipantsTableSchemaProto userJid. */ public userJid?: (string|null); /** ParticipantsTableSchemaProto deliveredWatermarkTs. */ public deliveredWatermarkTs?: (number|Long|null); /** ParticipantsTableSchemaProto lastReadWatermarkTs. */ public lastReadWatermarkTs?: (number|Long|null); /** ParticipantsTableSchemaProto type. */ public type?: (string|null); /** ParticipantsTableSchemaProto addressable. */ public addressable?: (boolean|null); /** ParticipantsTableSchemaProto lastReadActionTs. */ public lastReadActionTs?: (number|Long|null); /** ParticipantsTableSchemaProto threadId. */ public threadId?: (number|null); /** ParticipantsTableSchemaProto threadJid. */ public threadJid?: (string|null); /** * Creates a new ParticipantsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ParticipantsTableSchemaProto instance */ public static create(properties?: waproto.IParticipantsTableSchemaProto): waproto.ParticipantsTableSchemaProto; /** * Encodes the specified ParticipantsTableSchemaProto message. Does not implicitly {@link waproto.ParticipantsTableSchemaProto.verify|verify} messages. * @param message ParticipantsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IParticipantsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ParticipantsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ParticipantsTableSchemaProto.verify|verify} messages. * @param message ParticipantsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IParticipantsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ParticipantsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ParticipantsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ParticipantsTableSchemaProto; /** * Decodes a ParticipantsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ParticipantsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ParticipantsTableSchemaProto; /** * Verifies a ParticipantsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ParticipantsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ParticipantsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ParticipantsTableSchemaProto; /** * Creates a plain object from a ParticipantsTableSchemaProto message. Also converts values to other types if specified. * @param message ParticipantsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ParticipantsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ParticipantsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ParticipantsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PastParticipant. */ interface IPastParticipant { /** PastParticipant userJid */ userJid?: (string|null); /** PastParticipant leaveReason */ leaveReason?: (waproto.PastParticipant.LeaveReason|null); /** PastParticipant leaveTs */ leaveTs?: (number|Long|null); } /** Represents a PastParticipant. */ class PastParticipant implements IPastParticipant { /** * Constructs a new PastParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.IPastParticipant); /** PastParticipant userJid. */ public userJid?: (string|null); /** PastParticipant leaveReason. */ public leaveReason?: (waproto.PastParticipant.LeaveReason|null); /** PastParticipant leaveTs. */ public leaveTs?: (number|Long|null); /** * Creates a new PastParticipant instance using the specified properties. * @param [properties] Properties to set * @returns PastParticipant instance */ public static create(properties?: waproto.IPastParticipant): waproto.PastParticipant; /** * Encodes the specified PastParticipant message. Does not implicitly {@link waproto.PastParticipant.verify|verify} messages. * @param message PastParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPastParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PastParticipant message, length delimited. Does not implicitly {@link waproto.PastParticipant.verify|verify} messages. * @param message PastParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPastParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PastParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PastParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PastParticipant; /** * Decodes a PastParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PastParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PastParticipant; /** * Verifies a PastParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PastParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PastParticipant */ public static fromObject(object: { [k: string]: any }): waproto.PastParticipant; /** * Creates a plain object from a PastParticipant message. Also converts values to other types if specified. * @param message PastParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PastParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PastParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PastParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PastParticipant { /** LeaveReason enum. */ enum LeaveReason { LEFT = 0, REMOVED = 1 } } /** Properties of a PastParticipants. */ interface IPastParticipants { /** PastParticipants groupJid */ groupJid?: (string|null); /** PastParticipants pastParticipants */ pastParticipants?: (waproto.IPastParticipant[]|null); } /** Represents a PastParticipants. */ class PastParticipants implements IPastParticipants { /** * Constructs a new PastParticipants. * @param [properties] Properties to set */ constructor(properties?: waproto.IPastParticipants); /** PastParticipants groupJid. */ public groupJid?: (string|null); /** PastParticipants pastParticipants. */ public pastParticipants: waproto.IPastParticipant[]; /** * Creates a new PastParticipants instance using the specified properties. * @param [properties] Properties to set * @returns PastParticipants instance */ public static create(properties?: waproto.IPastParticipants): waproto.PastParticipants; /** * Encodes the specified PastParticipants message. Does not implicitly {@link waproto.PastParticipants.verify|verify} messages. * @param message PastParticipants message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPastParticipants, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PastParticipants message, length delimited. Does not implicitly {@link waproto.PastParticipants.verify|verify} messages. * @param message PastParticipants message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPastParticipants, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PastParticipants message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PastParticipants * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PastParticipants; /** * Decodes a PastParticipants message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PastParticipants * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PastParticipants; /** * Verifies a PastParticipants message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PastParticipants message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PastParticipants */ public static fromObject(object: { [k: string]: any }): waproto.PastParticipants; /** * Creates a plain object from a PastParticipants message. Also converts values to other types if specified. * @param message PastParticipants * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PastParticipants, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PastParticipants to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PastParticipants * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PatchDebugData. */ interface IPatchDebugData { /** PatchDebugData currentLthash */ currentLthash?: (Uint8Array|null); /** PatchDebugData newLthash */ newLthash?: (Uint8Array|null); /** PatchDebugData patchVersion */ patchVersion?: (Uint8Array|null); /** PatchDebugData collectionName */ collectionName?: (Uint8Array|null); /** PatchDebugData firstFourBytesFromAHashOfSnapshotMacKey */ firstFourBytesFromAHashOfSnapshotMacKey?: (Uint8Array|null); /** PatchDebugData newLthashSubtract */ newLthashSubtract?: (Uint8Array|null); /** PatchDebugData numberAdd */ numberAdd?: (number|null); /** PatchDebugData numberRemove */ numberRemove?: (number|null); /** PatchDebugData numberOverride */ numberOverride?: (number|null); /** PatchDebugData senderPlatform */ senderPlatform?: (waproto.PatchDebugData.Platform|null); /** PatchDebugData isSenderPrimary */ isSenderPrimary?: (boolean|null); } /** Represents a PatchDebugData. */ class PatchDebugData implements IPatchDebugData { /** * Constructs a new PatchDebugData. * @param [properties] Properties to set */ constructor(properties?: waproto.IPatchDebugData); /** PatchDebugData currentLthash. */ public currentLthash?: (Uint8Array|null); /** PatchDebugData newLthash. */ public newLthash?: (Uint8Array|null); /** PatchDebugData patchVersion. */ public patchVersion?: (Uint8Array|null); /** PatchDebugData collectionName. */ public collectionName?: (Uint8Array|null); /** PatchDebugData firstFourBytesFromAHashOfSnapshotMacKey. */ public firstFourBytesFromAHashOfSnapshotMacKey?: (Uint8Array|null); /** PatchDebugData newLthashSubtract. */ public newLthashSubtract?: (Uint8Array|null); /** PatchDebugData numberAdd. */ public numberAdd?: (number|null); /** PatchDebugData numberRemove. */ public numberRemove?: (number|null); /** PatchDebugData numberOverride. */ public numberOverride?: (number|null); /** PatchDebugData senderPlatform. */ public senderPlatform?: (waproto.PatchDebugData.Platform|null); /** PatchDebugData isSenderPrimary. */ public isSenderPrimary?: (boolean|null); /** * Creates a new PatchDebugData instance using the specified properties. * @param [properties] Properties to set * @returns PatchDebugData instance */ public static create(properties?: waproto.IPatchDebugData): waproto.PatchDebugData; /** * Encodes the specified PatchDebugData message. Does not implicitly {@link waproto.PatchDebugData.verify|verify} messages. * @param message PatchDebugData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPatchDebugData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PatchDebugData message, length delimited. Does not implicitly {@link waproto.PatchDebugData.verify|verify} messages. * @param message PatchDebugData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPatchDebugData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PatchDebugData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PatchDebugData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PatchDebugData; /** * Decodes a PatchDebugData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PatchDebugData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PatchDebugData; /** * Verifies a PatchDebugData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PatchDebugData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PatchDebugData */ public static fromObject(object: { [k: string]: any }): waproto.PatchDebugData; /** * Creates a plain object from a PatchDebugData message. Also converts values to other types if specified. * @param message PatchDebugData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PatchDebugData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PatchDebugData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PatchDebugData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PatchDebugData { /** Platform enum. */ enum Platform { ANDROID = 0, SMBA = 1, IPHONE = 2, SMBI = 3, WEB = 4, UWP = 5, DARWIN = 6, IPAD = 7, WEAROS = 8, WASG = 9, WEARM = 10, CAPI = 11 } } /** Properties of a PaymentBackground. */ interface IPaymentBackground { /** PaymentBackground id */ id?: (string|null); /** PaymentBackground fileLength */ fileLength?: (number|Long|null); /** PaymentBackground width */ width?: (number|null); /** PaymentBackground height */ height?: (number|null); /** PaymentBackground mimetype */ mimetype?: (string|null); /** PaymentBackground placeholderArgb */ placeholderArgb?: (number|null); /** PaymentBackground textArgb */ textArgb?: (number|null); /** PaymentBackground subtextArgb */ subtextArgb?: (number|null); /** PaymentBackground mediaData */ mediaData?: (waproto.PaymentBackground.IMediaData|null); /** PaymentBackground type */ type?: (waproto.PaymentBackground.Type|null); } /** Represents a PaymentBackground. */ class PaymentBackground implements IPaymentBackground { /** * Constructs a new PaymentBackground. * @param [properties] Properties to set */ constructor(properties?: waproto.IPaymentBackground); /** PaymentBackground id. */ public id?: (string|null); /** PaymentBackground fileLength. */ public fileLength?: (number|Long|null); /** PaymentBackground width. */ public width?: (number|null); /** PaymentBackground height. */ public height?: (number|null); /** PaymentBackground mimetype. */ public mimetype?: (string|null); /** PaymentBackground placeholderArgb. */ public placeholderArgb?: (number|null); /** PaymentBackground textArgb. */ public textArgb?: (number|null); /** PaymentBackground subtextArgb. */ public subtextArgb?: (number|null); /** PaymentBackground mediaData. */ public mediaData?: (waproto.PaymentBackground.IMediaData|null); /** PaymentBackground type. */ public type?: (waproto.PaymentBackground.Type|null); /** * Creates a new PaymentBackground instance using the specified properties. * @param [properties] Properties to set * @returns PaymentBackground instance */ public static create(properties?: waproto.IPaymentBackground): waproto.PaymentBackground; /** * Encodes the specified PaymentBackground message. Does not implicitly {@link waproto.PaymentBackground.verify|verify} messages. * @param message PaymentBackground message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentBackground message, length delimited. Does not implicitly {@link waproto.PaymentBackground.verify|verify} messages. * @param message PaymentBackground message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPaymentBackground, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentBackground message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentBackground * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PaymentBackground; /** * Decodes a PaymentBackground message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentBackground * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PaymentBackground; /** * Verifies a PaymentBackground message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentBackground message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentBackground */ public static fromObject(object: { [k: string]: any }): waproto.PaymentBackground; /** * Creates a plain object from a PaymentBackground message. Also converts values to other types if specified. * @param message PaymentBackground * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PaymentBackground, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentBackground to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentBackground * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentBackground { /** Type enum. */ enum Type { UNKNOWN = 0, DEFAULT = 1 } /** Properties of a MediaData. */ interface IMediaData { /** MediaData mediaKey */ mediaKey?: (Uint8Array|null); /** MediaData mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** MediaData fileSha256 */ fileSha256?: (Uint8Array|null); /** MediaData fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** MediaData directPath */ directPath?: (string|null); } /** Represents a MediaData. */ class MediaData implements IMediaData { /** * Constructs a new MediaData. * @param [properties] Properties to set */ constructor(properties?: waproto.PaymentBackground.IMediaData); /** MediaData mediaKey. */ public mediaKey?: (Uint8Array|null); /** MediaData mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** MediaData fileSha256. */ public fileSha256?: (Uint8Array|null); /** MediaData fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** MediaData directPath. */ public directPath?: (string|null); /** * Creates a new MediaData instance using the specified properties. * @param [properties] Properties to set * @returns MediaData instance */ public static create(properties?: waproto.PaymentBackground.IMediaData): waproto.PaymentBackground.MediaData; /** * Encodes the specified MediaData message. Does not implicitly {@link waproto.PaymentBackground.MediaData.verify|verify} messages. * @param message MediaData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.PaymentBackground.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MediaData message, length delimited. Does not implicitly {@link waproto.PaymentBackground.MediaData.verify|verify} messages. * @param message MediaData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.PaymentBackground.IMediaData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MediaData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MediaData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PaymentBackground.MediaData; /** * Decodes a MediaData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MediaData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PaymentBackground.MediaData; /** * Verifies a MediaData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MediaData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MediaData */ public static fromObject(object: { [k: string]: any }): waproto.PaymentBackground.MediaData; /** * Creates a plain object from a MediaData message. Also converts values to other types if specified. * @param message MediaData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PaymentBackground.MediaData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MediaData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MediaData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a PaymentInfo. */ interface IPaymentInfo { /** PaymentInfo currencyDeprecated */ currencyDeprecated?: (waproto.PaymentInfo.Currency|null); /** PaymentInfo amount1000 */ amount1000?: (number|Long|null); /** PaymentInfo receiverJid */ receiverJid?: (string|null); /** PaymentInfo status */ status?: (waproto.PaymentInfo.Status|null); /** PaymentInfo transactionTimestamp */ transactionTimestamp?: (number|Long|null); /** PaymentInfo requestMessageKey */ requestMessageKey?: (waproto.IMessageKey|null); /** PaymentInfo expiryTimestamp */ expiryTimestamp?: (number|Long|null); /** PaymentInfo futureproofed */ futureproofed?: (boolean|null); /** PaymentInfo currency */ currency?: (string|null); /** PaymentInfo txnStatus */ txnStatus?: (waproto.PaymentInfo.TxnStatus|null); /** PaymentInfo useNoviFiatFormat */ useNoviFiatFormat?: (boolean|null); /** PaymentInfo primaryAmount */ primaryAmount?: (waproto.IMoney|null); /** PaymentInfo exchangeAmount */ exchangeAmount?: (waproto.IMoney|null); } /** Represents a PaymentInfo. */ class PaymentInfo implements IPaymentInfo { /** * Constructs a new PaymentInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IPaymentInfo); /** PaymentInfo currencyDeprecated. */ public currencyDeprecated?: (waproto.PaymentInfo.Currency|null); /** PaymentInfo amount1000. */ public amount1000?: (number|Long|null); /** PaymentInfo receiverJid. */ public receiverJid?: (string|null); /** PaymentInfo status. */ public status?: (waproto.PaymentInfo.Status|null); /** PaymentInfo transactionTimestamp. */ public transactionTimestamp?: (number|Long|null); /** PaymentInfo requestMessageKey. */ public requestMessageKey?: (waproto.IMessageKey|null); /** PaymentInfo expiryTimestamp. */ public expiryTimestamp?: (number|Long|null); /** PaymentInfo futureproofed. */ public futureproofed?: (boolean|null); /** PaymentInfo currency. */ public currency?: (string|null); /** PaymentInfo txnStatus. */ public txnStatus?: (waproto.PaymentInfo.TxnStatus|null); /** PaymentInfo useNoviFiatFormat. */ public useNoviFiatFormat?: (boolean|null); /** PaymentInfo primaryAmount. */ public primaryAmount?: (waproto.IMoney|null); /** PaymentInfo exchangeAmount. */ public exchangeAmount?: (waproto.IMoney|null); /** * Creates a new PaymentInfo instance using the specified properties. * @param [properties] Properties to set * @returns PaymentInfo instance */ public static create(properties?: waproto.IPaymentInfo): waproto.PaymentInfo; /** * Encodes the specified PaymentInfo message. Does not implicitly {@link waproto.PaymentInfo.verify|verify} messages. * @param message PaymentInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPaymentInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentInfo message, length delimited. Does not implicitly {@link waproto.PaymentInfo.verify|verify} messages. * @param message PaymentInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPaymentInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PaymentInfo; /** * Decodes a PaymentInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PaymentInfo; /** * Verifies a PaymentInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentInfo */ public static fromObject(object: { [k: string]: any }): waproto.PaymentInfo; /** * Creates a plain object from a PaymentInfo message. Also converts values to other types if specified. * @param message PaymentInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PaymentInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentInfo { /** TxnStatus enum. */ enum TxnStatus { UNKNOWN = 0, PENDING_SETUP = 1, PENDING_RECEIVER_SETUP = 2, INIT = 3, SUCCESS = 4, COMPLETED = 5, FAILED = 6, FAILED_RISK = 7, FAILED_PROCESSING = 8, FAILED_RECEIVER_PROCESSING = 9, FAILED_DA = 10, FAILED_DA_FINAL = 11, REFUNDED_TXN = 12, REFUND_FAILED = 13, REFUND_FAILED_PROCESSING = 14, REFUND_FAILED_DA = 15, EXPIRED_TXN = 16, AUTH_CANCELED = 17, AUTH_CANCEL_FAILED_PROCESSING = 18, AUTH_CANCEL_FAILED = 19, COLLECT_INIT = 20, COLLECT_SUCCESS = 21, COLLECT_FAILED = 22, COLLECT_FAILED_RISK = 23, COLLECT_REJECTED = 24, COLLECT_EXPIRED = 25, COLLECT_CANCELED = 26, COLLECT_CANCELLING = 27, IN_REVIEW = 28, REVERSAL_SUCCESS = 29, REVERSAL_PENDING = 30, REFUND_PENDING = 31 } /** Status enum. */ enum Status { UNKNOWN_STATUS = 0, PROCESSING = 1, SENT = 2, NEED_TO_ACCEPT = 3, COMPLETE = 4, COULD_NOT_COMPLETE = 5, REFUNDED = 6, EXPIRED = 7, REJECTED = 8, CANCELLED = 9, WAITING_FOR_PAYER = 10, WAITING = 11 } /** Currency enum. */ enum Currency { UNKNOWN_CURRENCY = 0, INR = 1 } } /** Properties of a PendingMutationsTableSchemaProto. */ interface IPendingMutationsTableSchemaProto { /** PendingMutationsTableSchemaProto id */ id?: (number|null); /** PendingMutationsTableSchemaProto collection */ collection?: (string|null); /** PendingMutationsTableSchemaProto index */ index?: (string|null); /** PendingMutationsTableSchemaProto binarySyncAction */ binarySyncAction?: (Uint8Array|null); /** PendingMutationsTableSchemaProto version */ version?: (number|null); /** PendingMutationsTableSchemaProto operation */ operation?: (waproto.SYNCD_MUTATION_SYNCD_OPERATION|null); /** PendingMutationsTableSchemaProto timestamp */ timestamp?: (number|Long|null); /** PendingMutationsTableSchemaProto action */ action?: (string|null); } /** Represents a PendingMutationsTableSchemaProto. */ class PendingMutationsTableSchemaProto implements IPendingMutationsTableSchemaProto { /** * Constructs a new PendingMutationsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPendingMutationsTableSchemaProto); /** PendingMutationsTableSchemaProto id. */ public id?: (number|null); /** PendingMutationsTableSchemaProto collection. */ public collection?: (string|null); /** PendingMutationsTableSchemaProto index. */ public index?: (string|null); /** PendingMutationsTableSchemaProto binarySyncAction. */ public binarySyncAction?: (Uint8Array|null); /** PendingMutationsTableSchemaProto version. */ public version?: (number|null); /** PendingMutationsTableSchemaProto operation. */ public operation?: (waproto.SYNCD_MUTATION_SYNCD_OPERATION|null); /** PendingMutationsTableSchemaProto timestamp. */ public timestamp?: (number|Long|null); /** PendingMutationsTableSchemaProto action. */ public action?: (string|null); /** * Creates a new PendingMutationsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns PendingMutationsTableSchemaProto instance */ public static create(properties?: waproto.IPendingMutationsTableSchemaProto): waproto.PendingMutationsTableSchemaProto; /** * Encodes the specified PendingMutationsTableSchemaProto message. Does not implicitly {@link waproto.PendingMutationsTableSchemaProto.verify|verify} messages. * @param message PendingMutationsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPendingMutationsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PendingMutationsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.PendingMutationsTableSchemaProto.verify|verify} messages. * @param message PendingMutationsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPendingMutationsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PendingMutationsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PendingMutationsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PendingMutationsTableSchemaProto; /** * Decodes a PendingMutationsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PendingMutationsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PendingMutationsTableSchemaProto; /** * Verifies a PendingMutationsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PendingMutationsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PendingMutationsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.PendingMutationsTableSchemaProto; /** * Creates a plain object from a PendingMutationsTableSchemaProto message. Also converts values to other types if specified. * @param message PendingMutationsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PendingMutationsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PendingMutationsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PendingMutationsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PendingReceiptsTableSchemaProto. */ interface IPendingReceiptsTableSchemaProto { /** PendingReceiptsTableSchemaProto pendingReceiptId */ pendingReceiptId?: (string|null); /** PendingReceiptsTableSchemaProto thread */ thread?: (string|null); /** PendingReceiptsTableSchemaProto externalId */ externalId?: (string|null); /** PendingReceiptsTableSchemaProto author */ author?: (string|null); /** PendingReceiptsTableSchemaProto deliveryReceipts */ deliveryReceipts?: (waproto.IReceipts[]|null); /** PendingReceiptsTableSchemaProto readReceipts */ readReceipts?: (waproto.IReceipts[]|null); } /** Represents a PendingReceiptsTableSchemaProto. */ class PendingReceiptsTableSchemaProto implements IPendingReceiptsTableSchemaProto { /** * Constructs a new PendingReceiptsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPendingReceiptsTableSchemaProto); /** PendingReceiptsTableSchemaProto pendingReceiptId. */ public pendingReceiptId?: (string|null); /** PendingReceiptsTableSchemaProto thread. */ public thread?: (string|null); /** PendingReceiptsTableSchemaProto externalId. */ public externalId?: (string|null); /** PendingReceiptsTableSchemaProto author. */ public author?: (string|null); /** PendingReceiptsTableSchemaProto deliveryReceipts. */ public deliveryReceipts: waproto.IReceipts[]; /** PendingReceiptsTableSchemaProto readReceipts. */ public readReceipts: waproto.IReceipts[]; /** * Creates a new PendingReceiptsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns PendingReceiptsTableSchemaProto instance */ public static create(properties?: waproto.IPendingReceiptsTableSchemaProto): waproto.PendingReceiptsTableSchemaProto; /** * Encodes the specified PendingReceiptsTableSchemaProto message. Does not implicitly {@link waproto.PendingReceiptsTableSchemaProto.verify|verify} messages. * @param message PendingReceiptsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPendingReceiptsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PendingReceiptsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.PendingReceiptsTableSchemaProto.verify|verify} messages. * @param message PendingReceiptsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPendingReceiptsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PendingReceiptsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PendingReceiptsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PendingReceiptsTableSchemaProto; /** * Decodes a PendingReceiptsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PendingReceiptsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PendingReceiptsTableSchemaProto; /** * Verifies a PendingReceiptsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PendingReceiptsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PendingReceiptsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.PendingReceiptsTableSchemaProto; /** * Creates a plain object from a PendingReceiptsTableSchemaProto message. Also converts values to other types if specified. * @param message PendingReceiptsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PendingReceiptsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PendingReceiptsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PendingReceiptsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PersonalSenderKeyStatusTableSchemaProto. */ interface IPersonalSenderKeyStatusTableSchemaProto { /** PersonalSenderKeyStatusTableSchemaProto groupJid */ groupJid?: (string|null); /** PersonalSenderKeyStatusTableSchemaProto senderKeyId */ senderKeyId?: (number|null); /** PersonalSenderKeyStatusTableSchemaProto rotateSenderKey */ rotateSenderKey?: (boolean|null); /** PersonalSenderKeyStatusTableSchemaProto senderKeyTs */ senderKeyTs?: (number|Long|null); /** PersonalSenderKeyStatusTableSchemaProto hasSenderKey */ hasSenderKey?: (string[]|null); } /** Represents a PersonalSenderKeyStatusTableSchemaProto. */ class PersonalSenderKeyStatusTableSchemaProto implements IPersonalSenderKeyStatusTableSchemaProto { /** * Constructs a new PersonalSenderKeyStatusTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPersonalSenderKeyStatusTableSchemaProto); /** PersonalSenderKeyStatusTableSchemaProto groupJid. */ public groupJid?: (string|null); /** PersonalSenderKeyStatusTableSchemaProto senderKeyId. */ public senderKeyId?: (number|null); /** PersonalSenderKeyStatusTableSchemaProto rotateSenderKey. */ public rotateSenderKey?: (boolean|null); /** PersonalSenderKeyStatusTableSchemaProto senderKeyTs. */ public senderKeyTs?: (number|Long|null); /** PersonalSenderKeyStatusTableSchemaProto hasSenderKey. */ public hasSenderKey: string[]; /** * Creates a new PersonalSenderKeyStatusTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns PersonalSenderKeyStatusTableSchemaProto instance */ public static create(properties?: waproto.IPersonalSenderKeyStatusTableSchemaProto): waproto.PersonalSenderKeyStatusTableSchemaProto; /** * Encodes the specified PersonalSenderKeyStatusTableSchemaProto message. Does not implicitly {@link waproto.PersonalSenderKeyStatusTableSchemaProto.verify|verify} messages. * @param message PersonalSenderKeyStatusTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPersonalSenderKeyStatusTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PersonalSenderKeyStatusTableSchemaProto message, length delimited. Does not implicitly {@link waproto.PersonalSenderKeyStatusTableSchemaProto.verify|verify} messages. * @param message PersonalSenderKeyStatusTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPersonalSenderKeyStatusTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PersonalSenderKeyStatusTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PersonalSenderKeyStatusTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PersonalSenderKeyStatusTableSchemaProto; /** * Decodes a PersonalSenderKeyStatusTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PersonalSenderKeyStatusTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PersonalSenderKeyStatusTableSchemaProto; /** * Verifies a PersonalSenderKeyStatusTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PersonalSenderKeyStatusTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PersonalSenderKeyStatusTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.PersonalSenderKeyStatusTableSchemaProto; /** * Creates a plain object from a PersonalSenderKeyStatusTableSchemaProto message. Also converts values to other types if specified. * @param message PersonalSenderKeyStatusTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PersonalSenderKeyStatusTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PersonalSenderKeyStatusTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PersonalSenderKeyStatusTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PhoneNumberToLIDMapping. */ interface IPhoneNumberToLIDMapping { /** PhoneNumberToLIDMapping pnJid */ pnJid?: (string|null); /** PhoneNumberToLIDMapping lidJid */ lidJid?: (string|null); } /** Represents a PhoneNumberToLIDMapping. */ class PhoneNumberToLIDMapping implements IPhoneNumberToLIDMapping { /** * Constructs a new PhoneNumberToLIDMapping. * @param [properties] Properties to set */ constructor(properties?: waproto.IPhoneNumberToLIDMapping); /** PhoneNumberToLIDMapping pnJid. */ public pnJid?: (string|null); /** PhoneNumberToLIDMapping lidJid. */ public lidJid?: (string|null); /** * Creates a new PhoneNumberToLIDMapping instance using the specified properties. * @param [properties] Properties to set * @returns PhoneNumberToLIDMapping instance */ public static create(properties?: waproto.IPhoneNumberToLIDMapping): waproto.PhoneNumberToLIDMapping; /** * Encodes the specified PhoneNumberToLIDMapping message. Does not implicitly {@link waproto.PhoneNumberToLIDMapping.verify|verify} messages. * @param message PhoneNumberToLIDMapping message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPhoneNumberToLIDMapping, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PhoneNumberToLIDMapping message, length delimited. Does not implicitly {@link waproto.PhoneNumberToLIDMapping.verify|verify} messages. * @param message PhoneNumberToLIDMapping message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPhoneNumberToLIDMapping, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PhoneNumberToLIDMapping message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PhoneNumberToLIDMapping * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PhoneNumberToLIDMapping; /** * Decodes a PhoneNumberToLIDMapping message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PhoneNumberToLIDMapping * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PhoneNumberToLIDMapping; /** * Verifies a PhoneNumberToLIDMapping message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PhoneNumberToLIDMapping message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PhoneNumberToLIDMapping */ public static fromObject(object: { [k: string]: any }): waproto.PhoneNumberToLIDMapping; /** * Creates a plain object from a PhoneNumberToLIDMapping message. Also converts values to other types if specified. * @param message PhoneNumberToLIDMapping * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PhoneNumberToLIDMapping, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PhoneNumberToLIDMapping to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PhoneNumberToLIDMapping * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PhotoChange. */ interface IPhotoChange { /** PhotoChange oldPhoto */ oldPhoto?: (Uint8Array|null); /** PhotoChange newPhoto */ newPhoto?: (Uint8Array|null); /** PhotoChange newPhotoId */ newPhotoId?: (number|null); } /** Represents a PhotoChange. */ class PhotoChange implements IPhotoChange { /** * Constructs a new PhotoChange. * @param [properties] Properties to set */ constructor(properties?: waproto.IPhotoChange); /** PhotoChange oldPhoto. */ public oldPhoto?: (Uint8Array|null); /** PhotoChange newPhoto. */ public newPhoto?: (Uint8Array|null); /** PhotoChange newPhotoId. */ public newPhotoId?: (number|null); /** * Creates a new PhotoChange instance using the specified properties. * @param [properties] Properties to set * @returns PhotoChange instance */ public static create(properties?: waproto.IPhotoChange): waproto.PhotoChange; /** * Encodes the specified PhotoChange message. Does not implicitly {@link waproto.PhotoChange.verify|verify} messages. * @param message PhotoChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPhotoChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PhotoChange message, length delimited. Does not implicitly {@link waproto.PhotoChange.verify|verify} messages. * @param message PhotoChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPhotoChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PhotoChange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PhotoChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PhotoChange; /** * Decodes a PhotoChange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PhotoChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PhotoChange; /** * Verifies a PhotoChange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PhotoChange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PhotoChange */ public static fromObject(object: { [k: string]: any }): waproto.PhotoChange; /** * Creates a plain object from a PhotoChange message. Also converts values to other types if specified. * @param message PhotoChange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PhotoChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PhotoChange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PhotoChange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PinInChat. */ interface IPinInChat { /** PinInChat type */ type?: (waproto.PinInChat.Type|null); /** PinInChat key */ key?: (waproto.IMessageKey|null); /** PinInChat senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** PinInChat serverTimestampMs */ serverTimestampMs?: (number|Long|null); /** PinInChat messageAddOnContextInfo */ messageAddOnContextInfo?: (waproto.IMessageAddOnContextInfo|null); } /** Represents a PinInChat. */ class PinInChat implements IPinInChat { /** * Constructs a new PinInChat. * @param [properties] Properties to set */ constructor(properties?: waproto.IPinInChat); /** PinInChat type. */ public type?: (waproto.PinInChat.Type|null); /** PinInChat key. */ public key?: (waproto.IMessageKey|null); /** PinInChat senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** PinInChat serverTimestampMs. */ public serverTimestampMs?: (number|Long|null); /** PinInChat messageAddOnContextInfo. */ public messageAddOnContextInfo?: (waproto.IMessageAddOnContextInfo|null); /** * Creates a new PinInChat instance using the specified properties. * @param [properties] Properties to set * @returns PinInChat instance */ public static create(properties?: waproto.IPinInChat): waproto.PinInChat; /** * Encodes the specified PinInChat message. Does not implicitly {@link waproto.PinInChat.verify|verify} messages. * @param message PinInChat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPinInChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PinInChat message, length delimited. Does not implicitly {@link waproto.PinInChat.verify|verify} messages. * @param message PinInChat message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPinInChat, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PinInChat message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PinInChat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PinInChat; /** * Decodes a PinInChat message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PinInChat * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PinInChat; /** * Verifies a PinInChat message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PinInChat message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PinInChat */ public static fromObject(object: { [k: string]: any }): waproto.PinInChat; /** * Creates a plain object from a PinInChat message. Also converts values to other types if specified. * @param message PinInChat * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PinInChat, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PinInChat to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PinInChat * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PinInChat { /** Type enum. */ enum Type { UNKNOWN_TYPE = 0, PIN_FOR_ALL = 1, UNPIN_FOR_ALL = 2 } } /** Properties of a Point. */ interface IPoint { /** Point xDeprecated */ xDeprecated?: (number|null); /** Point yDeprecated */ yDeprecated?: (number|null); /** Point x */ x?: (number|null); /** Point y */ y?: (number|null); } /** Represents a Point. */ class Point implements IPoint { /** * Constructs a new Point. * @param [properties] Properties to set */ constructor(properties?: waproto.IPoint); /** Point xDeprecated. */ public xDeprecated?: (number|null); /** Point yDeprecated. */ public yDeprecated?: (number|null); /** Point x. */ public x?: (number|null); /** Point y. */ public y?: (number|null); /** * Creates a new Point instance using the specified properties. * @param [properties] Properties to set * @returns Point instance */ public static create(properties?: waproto.IPoint): waproto.Point; /** * Encodes the specified Point message. Does not implicitly {@link waproto.Point.verify|verify} messages. * @param message Point message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPoint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Point message, length delimited. Does not implicitly {@link waproto.Point.verify|verify} messages. * @param message Point message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPoint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Point message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Point * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Point; /** * Decodes a Point message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Point * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Point; /** * Verifies a Point message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Point message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Point */ public static fromObject(object: { [k: string]: any }): waproto.Point; /** * Creates a plain object from a Point message. Also converts values to other types if specified. * @param message Point * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Point, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Point to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Point * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollAdditionalMetadata. */ interface IPollAdditionalMetadata { /** PollAdditionalMetadata pollInvalidated */ pollInvalidated?: (boolean|null); /** PollAdditionalMetadata pollNameHashHistory */ pollNameHashHistory?: (waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry[]|null); } /** Represents a PollAdditionalMetadata. */ class PollAdditionalMetadata implements IPollAdditionalMetadata { /** * Constructs a new PollAdditionalMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollAdditionalMetadata); /** PollAdditionalMetadata pollInvalidated. */ public pollInvalidated?: (boolean|null); /** PollAdditionalMetadata pollNameHashHistory. */ public pollNameHashHistory: waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry[]; /** * Creates a new PollAdditionalMetadata instance using the specified properties. * @param [properties] Properties to set * @returns PollAdditionalMetadata instance */ public static create(properties?: waproto.IPollAdditionalMetadata): waproto.PollAdditionalMetadata; /** * Encodes the specified PollAdditionalMetadata message. Does not implicitly {@link waproto.PollAdditionalMetadata.verify|verify} messages. * @param message PollAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollAdditionalMetadata message, length delimited. Does not implicitly {@link waproto.PollAdditionalMetadata.verify|verify} messages. * @param message PollAdditionalMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollAdditionalMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollAdditionalMetadata; /** * Decodes a PollAdditionalMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollAdditionalMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollAdditionalMetadata; /** * Verifies a PollAdditionalMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollAdditionalMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollAdditionalMetadata */ public static fromObject(object: { [k: string]: any }): waproto.PollAdditionalMetadata; /** * Creates a plain object from a PollAdditionalMetadata message. Also converts values to other types if specified. * @param message PollAdditionalMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollAdditionalMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollAdditionalMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollAdditionalMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PollAdditionalMetadata { /** Properties of a PollNameHashHistoryEntry. */ interface IPollNameHashHistoryEntry { /** PollNameHashHistoryEntry editStanzaId */ editStanzaId?: (string|null); /** PollNameHashHistoryEntry pollNameHash */ pollNameHash?: (Uint8Array|null); } /** Represents a PollNameHashHistoryEntry. */ class PollNameHashHistoryEntry implements IPollNameHashHistoryEntry { /** * Constructs a new PollNameHashHistoryEntry. * @param [properties] Properties to set */ constructor(properties?: waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry); /** PollNameHashHistoryEntry editStanzaId. */ public editStanzaId?: (string|null); /** PollNameHashHistoryEntry pollNameHash. */ public pollNameHash?: (Uint8Array|null); /** * Creates a new PollNameHashHistoryEntry instance using the specified properties. * @param [properties] Properties to set * @returns PollNameHashHistoryEntry instance */ public static create(properties?: waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry): waproto.PollAdditionalMetadata.PollNameHashHistoryEntry; /** * Encodes the specified PollNameHashHistoryEntry message. Does not implicitly {@link waproto.PollAdditionalMetadata.PollNameHashHistoryEntry.verify|verify} messages. * @param message PollNameHashHistoryEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollNameHashHistoryEntry message, length delimited. Does not implicitly {@link waproto.PollAdditionalMetadata.PollNameHashHistoryEntry.verify|verify} messages. * @param message PollNameHashHistoryEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.PollAdditionalMetadata.IPollNameHashHistoryEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollNameHashHistoryEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollNameHashHistoryEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollAdditionalMetadata.PollNameHashHistoryEntry; /** * Decodes a PollNameHashHistoryEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollNameHashHistoryEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollAdditionalMetadata.PollNameHashHistoryEntry; /** * Verifies a PollNameHashHistoryEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollNameHashHistoryEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollNameHashHistoryEntry */ public static fromObject(object: { [k: string]: any }): waproto.PollAdditionalMetadata.PollNameHashHistoryEntry; /** * Creates a plain object from a PollNameHashHistoryEntry message. Also converts values to other types if specified. * @param message PollNameHashHistoryEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollAdditionalMetadata.PollNameHashHistoryEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollNameHashHistoryEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollNameHashHistoryEntry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a PollEncValue. */ interface IPollEncValue { /** PollEncValue encPayload */ encPayload?: (Uint8Array|null); /** PollEncValue encIv */ encIv?: (Uint8Array|null); } /** Represents a PollEncValue. */ class PollEncValue implements IPollEncValue { /** * Constructs a new PollEncValue. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollEncValue); /** PollEncValue encPayload. */ public encPayload?: (Uint8Array|null); /** PollEncValue encIv. */ public encIv?: (Uint8Array|null); /** * Creates a new PollEncValue instance using the specified properties. * @param [properties] Properties to set * @returns PollEncValue instance */ public static create(properties?: waproto.IPollEncValue): waproto.PollEncValue; /** * Encodes the specified PollEncValue message. Does not implicitly {@link waproto.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollEncValue message, length delimited. Does not implicitly {@link waproto.PollEncValue.verify|verify} messages. * @param message PollEncValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollEncValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollEncValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollEncValue; /** * Decodes a PollEncValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollEncValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollEncValue; /** * Verifies a PollEncValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollEncValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollEncValue */ public static fromObject(object: { [k: string]: any }): waproto.PollEncValue; /** * Creates a plain object from a PollEncValue message. Also converts values to other types if specified. * @param message PollEncValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollEncValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollEncValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollEncValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollOptionProto. */ interface IPollOptionProto { /** PollOptionProto optionText */ optionText?: (string|null); /** PollOptionProto voteAuthors */ voteAuthors?: (string[]|null); } /** Represents a PollOptionProto. */ class PollOptionProto implements IPollOptionProto { /** * Constructs a new PollOptionProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollOptionProto); /** PollOptionProto optionText. */ public optionText?: (string|null); /** PollOptionProto voteAuthors. */ public voteAuthors: string[]; /** * Creates a new PollOptionProto instance using the specified properties. * @param [properties] Properties to set * @returns PollOptionProto instance */ public static create(properties?: waproto.IPollOptionProto): waproto.PollOptionProto; /** * Encodes the specified PollOptionProto message. Does not implicitly {@link waproto.PollOptionProto.verify|verify} messages. * @param message PollOptionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollOptionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollOptionProto message, length delimited. Does not implicitly {@link waproto.PollOptionProto.verify|verify} messages. * @param message PollOptionProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollOptionProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollOptionProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollOptionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollOptionProto; /** * Decodes a PollOptionProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollOptionProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollOptionProto; /** * Verifies a PollOptionProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollOptionProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollOptionProto */ public static fromObject(object: { [k: string]: any }): waproto.PollOptionProto; /** * Creates a plain object from a PollOptionProto message. Also converts values to other types if specified. * @param message PollOptionProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollOptionProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollOptionProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollOptionProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollOptionsProto. */ interface IPollOptionsProto { /** PollOptionsProto pollOptionHash */ pollOptionHash?: (string|null); /** PollOptionsProto pollOption */ pollOption?: (waproto.IPollOptionProto|null); } /** Represents a PollOptionsProto. */ class PollOptionsProto implements IPollOptionsProto { /** * Constructs a new PollOptionsProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollOptionsProto); /** PollOptionsProto pollOptionHash. */ public pollOptionHash?: (string|null); /** PollOptionsProto pollOption. */ public pollOption?: (waproto.IPollOptionProto|null); /** * Creates a new PollOptionsProto instance using the specified properties. * @param [properties] Properties to set * @returns PollOptionsProto instance */ public static create(properties?: waproto.IPollOptionsProto): waproto.PollOptionsProto; /** * Encodes the specified PollOptionsProto message. Does not implicitly {@link waproto.PollOptionsProto.verify|verify} messages. * @param message PollOptionsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollOptionsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollOptionsProto message, length delimited. Does not implicitly {@link waproto.PollOptionsProto.verify|verify} messages. * @param message PollOptionsProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollOptionsProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollOptionsProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollOptionsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollOptionsProto; /** * Decodes a PollOptionsProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollOptionsProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollOptionsProto; /** * Verifies a PollOptionsProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollOptionsProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollOptionsProto */ public static fromObject(object: { [k: string]: any }): waproto.PollOptionsProto; /** * Creates a plain object from a PollOptionsProto message. Also converts values to other types if specified. * @param message PollOptionsProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollOptionsProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollOptionsProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollOptionsProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollTableSchemaProto. */ interface IPollTableSchemaProto { /** PollTableSchemaProto chatJid */ chatJid?: (string|null); /** PollTableSchemaProto encKey */ encKey?: (Uint8Array|null); /** PollTableSchemaProto pollAuthor */ pollAuthor?: (string|null); /** PollTableSchemaProto pollStanzaId */ pollStanzaId?: (string|null); /** PollTableSchemaProto pollOptions */ pollOptions?: (waproto.IPollOptionsProto[]|null); /** PollTableSchemaProto pollParticipantCount */ pollParticipantCount?: (number|null); /** PollTableSchemaProto pollState */ pollState?: (waproto.POLL_STATE|null); /** PollTableSchemaProto selectableOptionsCount */ selectableOptionsCount?: (number|null); /** PollTableSchemaProto title */ title?: (string|null); /** PollTableSchemaProto latestSenderTimestampsMs */ latestSenderTimestampsMs?: (waproto.ILatestSenderTimestampsMsProto[]|null); } /** Represents a PollTableSchemaProto. */ class PollTableSchemaProto implements IPollTableSchemaProto { /** * Constructs a new PollTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollTableSchemaProto); /** PollTableSchemaProto chatJid. */ public chatJid?: (string|null); /** PollTableSchemaProto encKey. */ public encKey?: (Uint8Array|null); /** PollTableSchemaProto pollAuthor. */ public pollAuthor?: (string|null); /** PollTableSchemaProto pollStanzaId. */ public pollStanzaId?: (string|null); /** PollTableSchemaProto pollOptions. */ public pollOptions: waproto.IPollOptionsProto[]; /** PollTableSchemaProto pollParticipantCount. */ public pollParticipantCount?: (number|null); /** PollTableSchemaProto pollState. */ public pollState?: (waproto.POLL_STATE|null); /** PollTableSchemaProto selectableOptionsCount. */ public selectableOptionsCount?: (number|null); /** PollTableSchemaProto title. */ public title?: (string|null); /** PollTableSchemaProto latestSenderTimestampsMs. */ public latestSenderTimestampsMs: waproto.ILatestSenderTimestampsMsProto[]; /** * Creates a new PollTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns PollTableSchemaProto instance */ public static create(properties?: waproto.IPollTableSchemaProto): waproto.PollTableSchemaProto; /** * Encodes the specified PollTableSchemaProto message. Does not implicitly {@link waproto.PollTableSchemaProto.verify|verify} messages. * @param message PollTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollTableSchemaProto message, length delimited. Does not implicitly {@link waproto.PollTableSchemaProto.verify|verify} messages. * @param message PollTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollTableSchemaProto; /** * Decodes a PollTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollTableSchemaProto; /** * Verifies a PollTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.PollTableSchemaProto; /** * Creates a plain object from a PollTableSchemaProto message. Also converts values to other types if specified. * @param message PollTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PollUpdate. */ interface IPollUpdate { /** PollUpdate pollUpdateMessageKey */ pollUpdateMessageKey?: (waproto.IMessageKey|null); /** PollUpdate vote */ vote?: (waproto.Message.IPollVoteMessage|null); /** PollUpdate senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** PollUpdate serverTimestampMs */ serverTimestampMs?: (number|Long|null); /** PollUpdate unread */ unread?: (boolean|null); /** PollUpdate metadata */ metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); } /** Represents a PollUpdate. */ class PollUpdate implements IPollUpdate { /** * Constructs a new PollUpdate. * @param [properties] Properties to set */ constructor(properties?: waproto.IPollUpdate); /** PollUpdate pollUpdateMessageKey. */ public pollUpdateMessageKey?: (waproto.IMessageKey|null); /** PollUpdate vote. */ public vote?: (waproto.Message.IPollVoteMessage|null); /** PollUpdate senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** PollUpdate serverTimestampMs. */ public serverTimestampMs?: (number|Long|null); /** PollUpdate unread. */ public unread?: (boolean|null); /** PollUpdate metadata. */ public metadata?: (waproto.Message.IPollUpdateMessageMetadata|null); /** * Creates a new PollUpdate instance using the specified properties. * @param [properties] Properties to set * @returns PollUpdate instance */ public static create(properties?: waproto.IPollUpdate): waproto.PollUpdate; /** * Encodes the specified PollUpdate message. Does not implicitly {@link waproto.PollUpdate.verify|verify} messages. * @param message PollUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPollUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollUpdate message, length delimited. Does not implicitly {@link waproto.PollUpdate.verify|verify} messages. * @param message PollUpdate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPollUpdate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollUpdate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PollUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PollUpdate; /** * Decodes a PollUpdate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PollUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PollUpdate; /** * Verifies a PollUpdate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollUpdate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollUpdate */ public static fromObject(object: { [k: string]: any }): waproto.PollUpdate; /** * Creates a plain object from a PollUpdate message. Also converts values to other types if specified. * @param message PollUpdate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PollUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollUpdate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PollUpdate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PreKeyRecordStructure. */ interface IPreKeyRecordStructure { /** PreKeyRecordStructure id */ id?: (number|null); /** PreKeyRecordStructure publicKey */ publicKey?: (Uint8Array|null); /** PreKeyRecordStructure privateKey */ privateKey?: (Uint8Array|null); } /** Represents a PreKeyRecordStructure. */ class PreKeyRecordStructure implements IPreKeyRecordStructure { /** * Constructs a new PreKeyRecordStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.IPreKeyRecordStructure); /** PreKeyRecordStructure id. */ public id?: (number|null); /** PreKeyRecordStructure publicKey. */ public publicKey?: (Uint8Array|null); /** PreKeyRecordStructure privateKey. */ public privateKey?: (Uint8Array|null); /** * Creates a new PreKeyRecordStructure instance using the specified properties. * @param [properties] Properties to set * @returns PreKeyRecordStructure instance */ public static create(properties?: waproto.IPreKeyRecordStructure): waproto.PreKeyRecordStructure; /** * Encodes the specified PreKeyRecordStructure message. Does not implicitly {@link waproto.PreKeyRecordStructure.verify|verify} messages. * @param message PreKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPreKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PreKeyRecordStructure message, length delimited. Does not implicitly {@link waproto.PreKeyRecordStructure.verify|verify} messages. * @param message PreKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPreKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PreKeyRecordStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PreKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PreKeyRecordStructure; /** * Decodes a PreKeyRecordStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PreKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PreKeyRecordStructure; /** * Verifies a PreKeyRecordStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PreKeyRecordStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PreKeyRecordStructure */ public static fromObject(object: { [k: string]: any }): waproto.PreKeyRecordStructure; /** * Creates a plain object from a PreKeyRecordStructure message. Also converts values to other types if specified. * @param message PreKeyRecordStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PreKeyRecordStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PreKeyRecordStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PreKeyRecordStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PreKeySignalMessage. */ interface IPreKeySignalMessage { /** PreKeySignalMessage preKeyId */ preKeyId?: (number|null); /** PreKeySignalMessage baseKey */ baseKey?: (Uint8Array|null); /** PreKeySignalMessage identityKey */ identityKey?: (Uint8Array|null); /** PreKeySignalMessage message */ message?: (Uint8Array|null); /** PreKeySignalMessage registrationId */ registrationId?: (number|null); /** PreKeySignalMessage signedPreKeyId */ signedPreKeyId?: (number|null); /** PreKeySignalMessage kyberPreKeyId */ kyberPreKeyId?: (number|null); /** PreKeySignalMessage kyberCiphertext */ kyberCiphertext?: (Uint8Array|null); } /** Represents a PreKeySignalMessage. */ class PreKeySignalMessage implements IPreKeySignalMessage { /** * Constructs a new PreKeySignalMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IPreKeySignalMessage); /** PreKeySignalMessage preKeyId. */ public preKeyId?: (number|null); /** PreKeySignalMessage baseKey. */ public baseKey?: (Uint8Array|null); /** PreKeySignalMessage identityKey. */ public identityKey?: (Uint8Array|null); /** PreKeySignalMessage message. */ public message?: (Uint8Array|null); /** PreKeySignalMessage registrationId. */ public registrationId?: (number|null); /** PreKeySignalMessage signedPreKeyId. */ public signedPreKeyId?: (number|null); /** PreKeySignalMessage kyberPreKeyId. */ public kyberPreKeyId?: (number|null); /** PreKeySignalMessage kyberCiphertext. */ public kyberCiphertext?: (Uint8Array|null); /** * Creates a new PreKeySignalMessage instance using the specified properties. * @param [properties] Properties to set * @returns PreKeySignalMessage instance */ public static create(properties?: waproto.IPreKeySignalMessage): waproto.PreKeySignalMessage; /** * Encodes the specified PreKeySignalMessage message. Does not implicitly {@link waproto.PreKeySignalMessage.verify|verify} messages. * @param message PreKeySignalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPreKeySignalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PreKeySignalMessage message, length delimited. Does not implicitly {@link waproto.PreKeySignalMessage.verify|verify} messages. * @param message PreKeySignalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPreKeySignalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PreKeySignalMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PreKeySignalMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PreKeySignalMessage; /** * Decodes a PreKeySignalMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PreKeySignalMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PreKeySignalMessage; /** * Verifies a PreKeySignalMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PreKeySignalMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PreKeySignalMessage */ public static fromObject(object: { [k: string]: any }): waproto.PreKeySignalMessage; /** * Creates a plain object from a PreKeySignalMessage message. Also converts values to other types if specified. * @param message PreKeySignalMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PreKeySignalMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PreKeySignalMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PreKeySignalMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PremiumMessageInfo. */ interface IPremiumMessageInfo { /** PremiumMessageInfo serverCampaignId */ serverCampaignId?: (string|null); } /** Represents a PremiumMessageInfo. */ class PremiumMessageInfo implements IPremiumMessageInfo { /** * Constructs a new PremiumMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IPremiumMessageInfo); /** PremiumMessageInfo serverCampaignId. */ public serverCampaignId?: (string|null); /** * Creates a new PremiumMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns PremiumMessageInfo instance */ public static create(properties?: waproto.IPremiumMessageInfo): waproto.PremiumMessageInfo; /** * Encodes the specified PremiumMessageInfo message. Does not implicitly {@link waproto.PremiumMessageInfo.verify|verify} messages. * @param message PremiumMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPremiumMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PremiumMessageInfo message, length delimited. Does not implicitly {@link waproto.PremiumMessageInfo.verify|verify} messages. * @param message PremiumMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPremiumMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PremiumMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PremiumMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PremiumMessageInfo; /** * Decodes a PremiumMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PremiumMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PremiumMessageInfo; /** * Verifies a PremiumMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PremiumMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PremiumMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.PremiumMessageInfo; /** * Creates a plain object from a PremiumMessageInfo message. Also converts values to other types if specified. * @param message PremiumMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PremiumMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PremiumMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PremiumMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrepareAddDeviceInput. */ interface IPrepareAddDeviceInput { /** PrepareAddDeviceInput recoveryCode */ recoveryCode?: (string|null); /** PrepareAddDeviceInput userId */ userId?: (number|Long|null); /** PrepareAddDeviceInput encryptedSecretValuesJson */ encryptedSecretValuesJson?: (string|null); /** PrepareAddDeviceInput virtualDeviceBaseEpochId */ virtualDeviceBaseEpochId?: (number|Long|null); /** PrepareAddDeviceInput activeEpochId */ activeEpochId?: (number|Long|null); } /** Represents a PrepareAddDeviceInput. */ class PrepareAddDeviceInput implements IPrepareAddDeviceInput { /** * Constructs a new PrepareAddDeviceInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IPrepareAddDeviceInput); /** PrepareAddDeviceInput recoveryCode. */ public recoveryCode?: (string|null); /** PrepareAddDeviceInput userId. */ public userId?: (number|Long|null); /** PrepareAddDeviceInput encryptedSecretValuesJson. */ public encryptedSecretValuesJson?: (string|null); /** PrepareAddDeviceInput virtualDeviceBaseEpochId. */ public virtualDeviceBaseEpochId?: (number|Long|null); /** PrepareAddDeviceInput activeEpochId. */ public activeEpochId?: (number|Long|null); /** * Creates a new PrepareAddDeviceInput instance using the specified properties. * @param [properties] Properties to set * @returns PrepareAddDeviceInput instance */ public static create(properties?: waproto.IPrepareAddDeviceInput): waproto.PrepareAddDeviceInput; /** * Encodes the specified PrepareAddDeviceInput message. Does not implicitly {@link waproto.PrepareAddDeviceInput.verify|verify} messages. * @param message PrepareAddDeviceInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPrepareAddDeviceInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrepareAddDeviceInput message, length delimited. Does not implicitly {@link waproto.PrepareAddDeviceInput.verify|verify} messages. * @param message PrepareAddDeviceInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPrepareAddDeviceInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrepareAddDeviceInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrepareAddDeviceInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PrepareAddDeviceInput; /** * Decodes a PrepareAddDeviceInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrepareAddDeviceInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PrepareAddDeviceInput; /** * Verifies a PrepareAddDeviceInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrepareAddDeviceInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrepareAddDeviceInput */ public static fromObject(object: { [k: string]: any }): waproto.PrepareAddDeviceInput; /** * Creates a plain object from a PrepareAddDeviceInput message. Also converts values to other types if specified. * @param message PrepareAddDeviceInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PrepareAddDeviceInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrepareAddDeviceInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrepareAddDeviceInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrepareAddDeviceOutput. */ interface IPrepareAddDeviceOutput { /** PrepareAddDeviceOutput deviceKeys */ deviceKeys?: (waproto.IAddDeviceKeysOutput|null); /** PrepareAddDeviceOutput currentEpoch */ currentEpoch?: (waproto.IAddDeviceEpochOutput|null); /** PrepareAddDeviceOutput mailboxRootSalt */ mailboxRootSalt?: (Uint8Array|null); /** PrepareAddDeviceOutput orfRotationToken */ orfRotationToken?: (Uint8Array|null); /** PrepareAddDeviceOutput deviceEpochHmac */ deviceEpochHmac?: (Uint8Array|null); /** PrepareAddDeviceOutput epochRootKeyFingerprint */ epochRootKeyFingerprint?: (Uint8Array|null); /** PrepareAddDeviceOutput supportedEncryptionVersions */ supportedEncryptionVersions?: (number[]|null); /** PrepareAddDeviceOutput encryptionVersionSignature */ encryptionVersionSignature?: (Uint8Array|null); /** PrepareAddDeviceOutput clientVersion */ clientVersion?: (number|null); /** PrepareAddDeviceOutput error */ error?: (string|null); } /** Represents a PrepareAddDeviceOutput. */ class PrepareAddDeviceOutput implements IPrepareAddDeviceOutput { /** * Constructs a new PrepareAddDeviceOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IPrepareAddDeviceOutput); /** PrepareAddDeviceOutput deviceKeys. */ public deviceKeys?: (waproto.IAddDeviceKeysOutput|null); /** PrepareAddDeviceOutput currentEpoch. */ public currentEpoch?: (waproto.IAddDeviceEpochOutput|null); /** PrepareAddDeviceOutput mailboxRootSalt. */ public mailboxRootSalt?: (Uint8Array|null); /** PrepareAddDeviceOutput orfRotationToken. */ public orfRotationToken?: (Uint8Array|null); /** PrepareAddDeviceOutput deviceEpochHmac. */ public deviceEpochHmac?: (Uint8Array|null); /** PrepareAddDeviceOutput epochRootKeyFingerprint. */ public epochRootKeyFingerprint?: (Uint8Array|null); /** PrepareAddDeviceOutput supportedEncryptionVersions. */ public supportedEncryptionVersions: number[]; /** PrepareAddDeviceOutput encryptionVersionSignature. */ public encryptionVersionSignature?: (Uint8Array|null); /** PrepareAddDeviceOutput clientVersion. */ public clientVersion?: (number|null); /** PrepareAddDeviceOutput error. */ public error?: (string|null); /** * Creates a new PrepareAddDeviceOutput instance using the specified properties. * @param [properties] Properties to set * @returns PrepareAddDeviceOutput instance */ public static create(properties?: waproto.IPrepareAddDeviceOutput): waproto.PrepareAddDeviceOutput; /** * Encodes the specified PrepareAddDeviceOutput message. Does not implicitly {@link waproto.PrepareAddDeviceOutput.verify|verify} messages. * @param message PrepareAddDeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPrepareAddDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrepareAddDeviceOutput message, length delimited. Does not implicitly {@link waproto.PrepareAddDeviceOutput.verify|verify} messages. * @param message PrepareAddDeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPrepareAddDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrepareAddDeviceOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrepareAddDeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PrepareAddDeviceOutput; /** * Decodes a PrepareAddDeviceOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrepareAddDeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PrepareAddDeviceOutput; /** * Verifies a PrepareAddDeviceOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrepareAddDeviceOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrepareAddDeviceOutput */ public static fromObject(object: { [k: string]: any }): waproto.PrepareAddDeviceOutput; /** * Creates a plain object from a PrepareAddDeviceOutput message. Also converts values to other types if specified. * @param message PrepareAddDeviceOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PrepareAddDeviceOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrepareAddDeviceOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrepareAddDeviceOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrimaryEphemeralIdentity. */ interface IPrimaryEphemeralIdentity { /** PrimaryEphemeralIdentity publicKey */ publicKey?: (Uint8Array|null); /** PrimaryEphemeralIdentity nonce */ nonce?: (Uint8Array|null); } /** Represents a PrimaryEphemeralIdentity. */ class PrimaryEphemeralIdentity implements IPrimaryEphemeralIdentity { /** * Constructs a new PrimaryEphemeralIdentity. * @param [properties] Properties to set */ constructor(properties?: waproto.IPrimaryEphemeralIdentity); /** PrimaryEphemeralIdentity publicKey. */ public publicKey?: (Uint8Array|null); /** PrimaryEphemeralIdentity nonce. */ public nonce?: (Uint8Array|null); /** * Creates a new PrimaryEphemeralIdentity instance using the specified properties. * @param [properties] Properties to set * @returns PrimaryEphemeralIdentity instance */ public static create(properties?: waproto.IPrimaryEphemeralIdentity): waproto.PrimaryEphemeralIdentity; /** * Encodes the specified PrimaryEphemeralIdentity message. Does not implicitly {@link waproto.PrimaryEphemeralIdentity.verify|verify} messages. * @param message PrimaryEphemeralIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrimaryEphemeralIdentity message, length delimited. Does not implicitly {@link waproto.PrimaryEphemeralIdentity.verify|verify} messages. * @param message PrimaryEphemeralIdentity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrimaryEphemeralIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PrimaryEphemeralIdentity; /** * Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrimaryEphemeralIdentity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PrimaryEphemeralIdentity; /** * Verifies a PrimaryEphemeralIdentity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrimaryEphemeralIdentity message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrimaryEphemeralIdentity */ public static fromObject(object: { [k: string]: any }): waproto.PrimaryEphemeralIdentity; /** * Creates a plain object from a PrimaryEphemeralIdentity message. Also converts values to other types if specified. * @param message PrimaryEphemeralIdentity * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.PrimaryEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrimaryEphemeralIdentity to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrimaryEphemeralIdentity * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProcessedVideo. */ interface IProcessedVideo { /** ProcessedVideo directPath */ directPath?: (string|null); /** ProcessedVideo fileSha256 */ fileSha256?: (Uint8Array|null); /** ProcessedVideo height */ height?: (number|null); /** ProcessedVideo width */ width?: (number|null); /** ProcessedVideo fileLength */ fileLength?: (number|Long|null); /** ProcessedVideo bitrate */ bitrate?: (number|null); /** ProcessedVideo quality */ quality?: (waproto.ProcessedVideo.VideoQuality|null); /** ProcessedVideo capabilities */ capabilities?: (string[]|null); } /** Represents a ProcessedVideo. */ class ProcessedVideo implements IProcessedVideo { /** * Constructs a new ProcessedVideo. * @param [properties] Properties to set */ constructor(properties?: waproto.IProcessedVideo); /** ProcessedVideo directPath. */ public directPath?: (string|null); /** ProcessedVideo fileSha256. */ public fileSha256?: (Uint8Array|null); /** ProcessedVideo height. */ public height?: (number|null); /** ProcessedVideo width. */ public width?: (number|null); /** ProcessedVideo fileLength. */ public fileLength?: (number|Long|null); /** ProcessedVideo bitrate. */ public bitrate?: (number|null); /** ProcessedVideo quality. */ public quality?: (waproto.ProcessedVideo.VideoQuality|null); /** ProcessedVideo capabilities. */ public capabilities: string[]; /** * Creates a new ProcessedVideo instance using the specified properties. * @param [properties] Properties to set * @returns ProcessedVideo instance */ public static create(properties?: waproto.IProcessedVideo): waproto.ProcessedVideo; /** * Encodes the specified ProcessedVideo message. Does not implicitly {@link waproto.ProcessedVideo.verify|verify} messages. * @param message ProcessedVideo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IProcessedVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProcessedVideo message, length delimited. Does not implicitly {@link waproto.ProcessedVideo.verify|verify} messages. * @param message ProcessedVideo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IProcessedVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProcessedVideo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProcessedVideo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ProcessedVideo; /** * Decodes a ProcessedVideo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProcessedVideo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ProcessedVideo; /** * Verifies a ProcessedVideo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProcessedVideo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProcessedVideo */ public static fromObject(object: { [k: string]: any }): waproto.ProcessedVideo; /** * Creates a plain object from a ProcessedVideo message. Also converts values to other types if specified. * @param message ProcessedVideo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ProcessedVideo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProcessedVideo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProcessedVideo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ProcessedVideo { /** VideoQuality enum. */ enum VideoQuality { UNDEFINED = 0, LOW = 1, MID = 2, HIGH = 3 } } /** Properties of a ProloguePayload. */ interface IProloguePayload { /** ProloguePayload companionEphemeralIdentity */ companionEphemeralIdentity?: (Uint8Array|null); /** ProloguePayload commitment */ commitment?: (waproto.ICompanionCommitment|null); } /** Represents a ProloguePayload. */ class ProloguePayload implements IProloguePayload { /** * Constructs a new ProloguePayload. * @param [properties] Properties to set */ constructor(properties?: waproto.IProloguePayload); /** ProloguePayload companionEphemeralIdentity. */ public companionEphemeralIdentity?: (Uint8Array|null); /** ProloguePayload commitment. */ public commitment?: (waproto.ICompanionCommitment|null); /** * Creates a new ProloguePayload instance using the specified properties. * @param [properties] Properties to set * @returns ProloguePayload instance */ public static create(properties?: waproto.IProloguePayload): waproto.ProloguePayload; /** * Encodes the specified ProloguePayload message. Does not implicitly {@link waproto.ProloguePayload.verify|verify} messages. * @param message ProloguePayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProloguePayload message, length delimited. Does not implicitly {@link waproto.ProloguePayload.verify|verify} messages. * @param message ProloguePayload message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProloguePayload message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProloguePayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ProloguePayload; /** * Decodes a ProloguePayload message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProloguePayload * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ProloguePayload; /** * Verifies a ProloguePayload message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProloguePayload message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProloguePayload */ public static fromObject(object: { [k: string]: any }): waproto.ProloguePayload; /** * Creates a plain object from a ProloguePayload message. Also converts values to other types if specified. * @param message ProloguePayload * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ProloguePayload, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProloguePayload to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProloguePayload * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ProtocolMsgId. */ interface IProtocolMsgId { /** ProtocolMsgId externalId */ externalId?: (string|null); /** ProtocolMsgId author */ author?: (string|null); /** ProtocolMsgId chat */ chat?: (string|null); } /** Represents a ProtocolMsgId. */ class ProtocolMsgId implements IProtocolMsgId { /** * Constructs a new ProtocolMsgId. * @param [properties] Properties to set */ constructor(properties?: waproto.IProtocolMsgId); /** ProtocolMsgId externalId. */ public externalId?: (string|null); /** ProtocolMsgId author. */ public author?: (string|null); /** ProtocolMsgId chat. */ public chat?: (string|null); /** * Creates a new ProtocolMsgId instance using the specified properties. * @param [properties] Properties to set * @returns ProtocolMsgId instance */ public static create(properties?: waproto.IProtocolMsgId): waproto.ProtocolMsgId; /** * Encodes the specified ProtocolMsgId message. Does not implicitly {@link waproto.ProtocolMsgId.verify|verify} messages. * @param message ProtocolMsgId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IProtocolMsgId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ProtocolMsgId message, length delimited. Does not implicitly {@link waproto.ProtocolMsgId.verify|verify} messages. * @param message ProtocolMsgId message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IProtocolMsgId, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ProtocolMsgId message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ProtocolMsgId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ProtocolMsgId; /** * Decodes a ProtocolMsgId message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ProtocolMsgId * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ProtocolMsgId; /** * Verifies a ProtocolMsgId message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ProtocolMsgId message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ProtocolMsgId */ public static fromObject(object: { [k: string]: any }): waproto.ProtocolMsgId; /** * Creates a plain object from a ProtocolMsgId message. Also converts values to other types if specified. * @param message ProtocolMsgId * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ProtocolMsgId, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ProtocolMsgId to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ProtocolMsgId * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Pushname. */ interface IPushname { /** Pushname id */ id?: (string|null); /** Pushname pushname */ pushname?: (string|null); } /** Represents a Pushname. */ class Pushname implements IPushname { /** * Constructs a new Pushname. * @param [properties] Properties to set */ constructor(properties?: waproto.IPushname); /** Pushname id. */ public id?: (string|null); /** Pushname pushname. */ public pushname?: (string|null); /** * Creates a new Pushname instance using the specified properties. * @param [properties] Properties to set * @returns Pushname instance */ public static create(properties?: waproto.IPushname): waproto.Pushname; /** * Encodes the specified Pushname message. Does not implicitly {@link waproto.Pushname.verify|verify} messages. * @param message Pushname message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IPushname, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Pushname message, length delimited. Does not implicitly {@link waproto.Pushname.verify|verify} messages. * @param message Pushname message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IPushname, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Pushname message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Pushname * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Pushname; /** * Decodes a Pushname message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Pushname * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Pushname; /** * Verifies a Pushname message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Pushname message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Pushname */ public static fromObject(object: { [k: string]: any }): waproto.Pushname; /** * Creates a plain object from a Pushname message. Also converts values to other types if specified. * @param message Pushname * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Pushname, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Pushname to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Pushname * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QP. */ interface IQP { } /** Represents a QP. */ class QP implements IQP { /** * Constructs a new QP. * @param [properties] Properties to set */ constructor(properties?: waproto.IQP); /** * Creates a new QP instance using the specified properties. * @param [properties] Properties to set * @returns QP instance */ public static create(properties?: waproto.IQP): waproto.QP; /** * Encodes the specified QP message. Does not implicitly {@link waproto.QP.verify|verify} messages. * @param message QP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IQP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QP message, length delimited. Does not implicitly {@link waproto.QP.verify|verify} messages. * @param message QP message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IQP, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QP message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QP; /** * Decodes a QP message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QP * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QP; /** * Verifies a QP message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QP message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QP */ public static fromObject(object: { [k: string]: any }): waproto.QP; /** * Creates a plain object from a QP message. Also converts values to other types if specified. * @param message QP * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QP, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QP to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QP * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace QP { /** FilterResult enum. */ enum FilterResult { TRUE = 1, FALSE = 2, UNKNOWN = 3 } /** FilterClientNotSupportedConfig enum. */ enum FilterClientNotSupportedConfig { PASS_BY_DEFAULT = 1, FAIL_BY_DEFAULT = 2 } /** ClauseType enum. */ enum ClauseType { AND = 1, OR = 2, NOR = 3 } /** Properties of a FilterClause. */ interface IFilterClause { /** FilterClause clauseType */ clauseType?: (waproto.QP.ClauseType|null); /** FilterClause clauses */ clauses?: (waproto.QP.IFilterClause[]|null); /** FilterClause filters */ filters?: (waproto.QP.IFilter[]|null); } /** Represents a FilterClause. */ class FilterClause implements IFilterClause { /** * Constructs a new FilterClause. * @param [properties] Properties to set */ constructor(properties?: waproto.QP.IFilterClause); /** FilterClause clauseType. */ public clauseType?: (waproto.QP.ClauseType|null); /** FilterClause clauses. */ public clauses: waproto.QP.IFilterClause[]; /** FilterClause filters. */ public filters: waproto.QP.IFilter[]; /** * Creates a new FilterClause instance using the specified properties. * @param [properties] Properties to set * @returns FilterClause instance */ public static create(properties?: waproto.QP.IFilterClause): waproto.QP.FilterClause; /** * Encodes the specified FilterClause message. Does not implicitly {@link waproto.QP.FilterClause.verify|verify} messages. * @param message FilterClause message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.QP.IFilterClause, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FilterClause message, length delimited. Does not implicitly {@link waproto.QP.FilterClause.verify|verify} messages. * @param message FilterClause message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.QP.IFilterClause, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FilterClause message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FilterClause * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QP.FilterClause; /** * Decodes a FilterClause message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FilterClause * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QP.FilterClause; /** * Verifies a FilterClause message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FilterClause message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FilterClause */ public static fromObject(object: { [k: string]: any }): waproto.QP.FilterClause; /** * Creates a plain object from a FilterClause message. Also converts values to other types if specified. * @param message FilterClause * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QP.FilterClause, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FilterClause to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FilterClause * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Filter. */ interface IFilter { /** Filter filterName */ filterName?: (string|null); /** Filter parameters */ parameters?: (waproto.QP.IFilterParameters[]|null); /** Filter filterResult */ filterResult?: (waproto.QP.FilterResult|null); /** Filter clientNotSupportedConfig */ clientNotSupportedConfig?: (waproto.QP.FilterClientNotSupportedConfig|null); } /** Represents a Filter. */ class Filter implements IFilter { /** * Constructs a new Filter. * @param [properties] Properties to set */ constructor(properties?: waproto.QP.IFilter); /** Filter filterName. */ public filterName?: (string|null); /** Filter parameters. */ public parameters: waproto.QP.IFilterParameters[]; /** Filter filterResult. */ public filterResult?: (waproto.QP.FilterResult|null); /** Filter clientNotSupportedConfig. */ public clientNotSupportedConfig?: (waproto.QP.FilterClientNotSupportedConfig|null); /** * Creates a new Filter instance using the specified properties. * @param [properties] Properties to set * @returns Filter instance */ public static create(properties?: waproto.QP.IFilter): waproto.QP.Filter; /** * Encodes the specified Filter message. Does not implicitly {@link waproto.QP.Filter.verify|verify} messages. * @param message Filter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.QP.IFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Filter message, length delimited. Does not implicitly {@link waproto.QP.Filter.verify|verify} messages. * @param message Filter message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.QP.IFilter, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Filter message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Filter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QP.Filter; /** * Decodes a Filter message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Filter * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QP.Filter; /** * Verifies a Filter message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Filter message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Filter */ public static fromObject(object: { [k: string]: any }): waproto.QP.Filter; /** * Creates a plain object from a Filter message. Also converts values to other types if specified. * @param message Filter * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QP.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Filter to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Filter * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FilterParameters. */ interface IFilterParameters { /** FilterParameters key */ key?: (string|null); /** FilterParameters value */ value?: (string|null); } /** Represents a FilterParameters. */ class FilterParameters implements IFilterParameters { /** * Constructs a new FilterParameters. * @param [properties] Properties to set */ constructor(properties?: waproto.QP.IFilterParameters); /** FilterParameters key. */ public key?: (string|null); /** FilterParameters value. */ public value?: (string|null); /** * Creates a new FilterParameters instance using the specified properties. * @param [properties] Properties to set * @returns FilterParameters instance */ public static create(properties?: waproto.QP.IFilterParameters): waproto.QP.FilterParameters; /** * Encodes the specified FilterParameters message. Does not implicitly {@link waproto.QP.FilterParameters.verify|verify} messages. * @param message FilterParameters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.QP.IFilterParameters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FilterParameters message, length delimited. Does not implicitly {@link waproto.QP.FilterParameters.verify|verify} messages. * @param message FilterParameters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.QP.IFilterParameters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FilterParameters message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FilterParameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QP.FilterParameters; /** * Decodes a FilterParameters message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FilterParameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QP.FilterParameters; /** * Verifies a FilterParameters message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FilterParameters message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FilterParameters */ public static fromObject(object: { [k: string]: any }): waproto.QP.FilterParameters; /** * Creates a plain object from a FilterParameters message. Also converts values to other types if specified. * @param message FilterParameters * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QP.FilterParameters, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FilterParameters to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FilterParameters * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a QuarantinedMessage. */ interface IQuarantinedMessage { /** QuarantinedMessage originalData */ originalData?: (Uint8Array|null); /** QuarantinedMessage extractedText */ extractedText?: (string|null); } /** Represents a QuarantinedMessage. */ class QuarantinedMessage implements IQuarantinedMessage { /** * Constructs a new QuarantinedMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IQuarantinedMessage); /** QuarantinedMessage originalData. */ public originalData?: (Uint8Array|null); /** QuarantinedMessage extractedText. */ public extractedText?: (string|null); /** * Creates a new QuarantinedMessage instance using the specified properties. * @param [properties] Properties to set * @returns QuarantinedMessage instance */ public static create(properties?: waproto.IQuarantinedMessage): waproto.QuarantinedMessage; /** * Encodes the specified QuarantinedMessage message. Does not implicitly {@link waproto.QuarantinedMessage.verify|verify} messages. * @param message QuarantinedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IQuarantinedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuarantinedMessage message, length delimited. Does not implicitly {@link waproto.QuarantinedMessage.verify|verify} messages. * @param message QuarantinedMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IQuarantinedMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuarantinedMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuarantinedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QuarantinedMessage; /** * Decodes a QuarantinedMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuarantinedMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QuarantinedMessage; /** * Verifies a QuarantinedMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuarantinedMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuarantinedMessage */ public static fromObject(object: { [k: string]: any }): waproto.QuarantinedMessage; /** * Creates a plain object from a QuarantinedMessage message. Also converts values to other types if specified. * @param message QuarantinedMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QuarantinedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuarantinedMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuarantinedMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuotedDbMediaProto. */ interface IQuotedDbMediaProto { /** QuotedDbMediaProto mediaType */ mediaType?: (string|null); /** QuotedDbMediaProto plaintextHash */ plaintextHash?: (string|null); /** QuotedDbMediaProto size */ size?: (number|null); /** QuotedDbMediaProto ts */ ts?: (number|Long|null); /** QuotedDbMediaProto mediaEntry */ mediaEntry?: (Uint8Array|null); /** QuotedDbMediaProto validatedVideoInfo */ validatedVideoInfo?: (waproto.IVideoMsgContentProto|null); /** QuotedDbMediaProto validatedImageInfo */ validatedImageInfo?: (waproto.IImageMsgContentProto|null); /** QuotedDbMediaProto validatedAudioInfo */ validatedAudioInfo?: (waproto.IAudioMsgContentProto|null); /** QuotedDbMediaProto validatedDocumentFileInfo */ validatedDocumentFileInfo?: (waproto.IDocumentFileMsgContentProto|null); } /** Represents a QuotedDbMediaProto. */ class QuotedDbMediaProto implements IQuotedDbMediaProto { /** * Constructs a new QuotedDbMediaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IQuotedDbMediaProto); /** QuotedDbMediaProto mediaType. */ public mediaType?: (string|null); /** QuotedDbMediaProto plaintextHash. */ public plaintextHash?: (string|null); /** QuotedDbMediaProto size. */ public size?: (number|null); /** QuotedDbMediaProto ts. */ public ts?: (number|Long|null); /** QuotedDbMediaProto mediaEntry. */ public mediaEntry?: (Uint8Array|null); /** QuotedDbMediaProto validatedVideoInfo. */ public validatedVideoInfo?: (waproto.IVideoMsgContentProto|null); /** QuotedDbMediaProto validatedImageInfo. */ public validatedImageInfo?: (waproto.IImageMsgContentProto|null); /** QuotedDbMediaProto validatedAudioInfo. */ public validatedAudioInfo?: (waproto.IAudioMsgContentProto|null); /** QuotedDbMediaProto validatedDocumentFileInfo. */ public validatedDocumentFileInfo?: (waproto.IDocumentFileMsgContentProto|null); /** * Creates a new QuotedDbMediaProto instance using the specified properties. * @param [properties] Properties to set * @returns QuotedDbMediaProto instance */ public static create(properties?: waproto.IQuotedDbMediaProto): waproto.QuotedDbMediaProto; /** * Encodes the specified QuotedDbMediaProto message. Does not implicitly {@link waproto.QuotedDbMediaProto.verify|verify} messages. * @param message QuotedDbMediaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IQuotedDbMediaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuotedDbMediaProto message, length delimited. Does not implicitly {@link waproto.QuotedDbMediaProto.verify|verify} messages. * @param message QuotedDbMediaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IQuotedDbMediaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuotedDbMediaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuotedDbMediaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.QuotedDbMediaProto; /** * Decodes a QuotedDbMediaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuotedDbMediaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.QuotedDbMediaProto; /** * Verifies a QuotedDbMediaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuotedDbMediaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuotedDbMediaProto */ public static fromObject(object: { [k: string]: any }): waproto.QuotedDbMediaProto; /** * Creates a plain object from a QuotedDbMediaProto message. Also converts values to other types if specified. * @param message QuotedDbMediaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.QuotedDbMediaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuotedDbMediaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuotedDbMediaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Reaction. */ interface IReaction { /** Reaction key */ key?: (waproto.IMessageKey|null); /** Reaction text */ text?: (string|null); /** Reaction groupingKey */ groupingKey?: (string|null); /** Reaction senderTimestampMs */ senderTimestampMs?: (number|Long|null); /** Reaction unread */ unread?: (boolean|null); } /** Represents a Reaction. */ class Reaction implements IReaction { /** * Constructs a new Reaction. * @param [properties] Properties to set */ constructor(properties?: waproto.IReaction); /** Reaction key. */ public key?: (waproto.IMessageKey|null); /** Reaction text. */ public text?: (string|null); /** Reaction groupingKey. */ public groupingKey?: (string|null); /** Reaction senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** Reaction unread. */ public unread?: (boolean|null); /** * Creates a new Reaction instance using the specified properties. * @param [properties] Properties to set * @returns Reaction instance */ public static create(properties?: waproto.IReaction): waproto.Reaction; /** * Encodes the specified Reaction message. Does not implicitly {@link waproto.Reaction.verify|verify} messages. * @param message Reaction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReaction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Reaction message, length delimited. Does not implicitly {@link waproto.Reaction.verify|verify} messages. * @param message Reaction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReaction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Reaction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Reaction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Reaction; /** * Decodes a Reaction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Reaction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Reaction; /** * Verifies a Reaction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Reaction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Reaction */ public static fromObject(object: { [k: string]: any }): waproto.Reaction; /** * Creates a plain object from a Reaction message. Also converts values to other types if specified. * @param message Reaction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Reaction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Reaction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Reaction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReactionsTableSchemaProto. */ interface IReactionsTableSchemaProto { /** ReactionsTableSchemaProto ack */ ack?: (number|null); /** ReactionsTableSchemaProto author */ author?: (string|null); /** ReactionsTableSchemaProto externalId */ externalId?: (string|null); /** ReactionsTableSchemaProto reactionId */ reactionId?: (string|null); /** ReactionsTableSchemaProto reactToExternalId */ reactToExternalId?: (string|null); /** ReactionsTableSchemaProto reactToAuthor */ reactToAuthor?: (string|null); /** ReactionsTableSchemaProto reactToMsgId */ reactToMsgId?: (string|null); /** ReactionsTableSchemaProto threadJid */ threadJid?: (string|null); /** ReactionsTableSchemaProto reaction */ reaction?: (string|null); /** ReactionsTableSchemaProto groupingKey */ groupingKey?: (string|null); /** ReactionsTableSchemaProto ts */ ts?: (number|Long|null); /** ReactionsTableSchemaProto rowId */ rowId?: (number|null); /** ReactionsTableSchemaProto senderTimestampMs */ senderTimestampMs?: (number|Long|null); } /** Represents a ReactionsTableSchemaProto. */ class ReactionsTableSchemaProto implements IReactionsTableSchemaProto { /** * Constructs a new ReactionsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IReactionsTableSchemaProto); /** ReactionsTableSchemaProto ack. */ public ack?: (number|null); /** ReactionsTableSchemaProto author. */ public author?: (string|null); /** ReactionsTableSchemaProto externalId. */ public externalId?: (string|null); /** ReactionsTableSchemaProto reactionId. */ public reactionId?: (string|null); /** ReactionsTableSchemaProto reactToExternalId. */ public reactToExternalId?: (string|null); /** ReactionsTableSchemaProto reactToAuthor. */ public reactToAuthor?: (string|null); /** ReactionsTableSchemaProto reactToMsgId. */ public reactToMsgId?: (string|null); /** ReactionsTableSchemaProto threadJid. */ public threadJid?: (string|null); /** ReactionsTableSchemaProto reaction. */ public reaction?: (string|null); /** ReactionsTableSchemaProto groupingKey. */ public groupingKey?: (string|null); /** ReactionsTableSchemaProto ts. */ public ts?: (number|Long|null); /** ReactionsTableSchemaProto rowId. */ public rowId?: (number|null); /** ReactionsTableSchemaProto senderTimestampMs. */ public senderTimestampMs?: (number|Long|null); /** * Creates a new ReactionsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ReactionsTableSchemaProto instance */ public static create(properties?: waproto.IReactionsTableSchemaProto): waproto.ReactionsTableSchemaProto; /** * Encodes the specified ReactionsTableSchemaProto message. Does not implicitly {@link waproto.ReactionsTableSchemaProto.verify|verify} messages. * @param message ReactionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReactionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReactionsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ReactionsTableSchemaProto.verify|verify} messages. * @param message ReactionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReactionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReactionsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReactionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ReactionsTableSchemaProto; /** * Decodes a ReactionsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReactionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ReactionsTableSchemaProto; /** * Verifies a ReactionsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReactionsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReactionsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ReactionsTableSchemaProto; /** * Creates a plain object from a ReactionsTableSchemaProto message. Also converts values to other types if specified. * @param message ReactionsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ReactionsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReactionsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReactionsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Receipts. */ interface IReceipts { /** Receipts device */ device?: (string|null); /** Receipts ts */ ts?: (number|Long|null); } /** Represents a Receipts. */ class Receipts implements IReceipts { /** * Constructs a new Receipts. * @param [properties] Properties to set */ constructor(properties?: waproto.IReceipts); /** Receipts device. */ public device?: (string|null); /** Receipts ts. */ public ts?: (number|Long|null); /** * Creates a new Receipts instance using the specified properties. * @param [properties] Properties to set * @returns Receipts instance */ public static create(properties?: waproto.IReceipts): waproto.Receipts; /** * Encodes the specified Receipts message. Does not implicitly {@link waproto.Receipts.verify|verify} messages. * @param message Receipts message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReceipts, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Receipts message, length delimited. Does not implicitly {@link waproto.Receipts.verify|verify} messages. * @param message Receipts message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReceipts, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Receipts message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Receipts * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Receipts; /** * Decodes a Receipts message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Receipts * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Receipts; /** * Verifies a Receipts message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Receipts message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Receipts */ public static fromObject(object: { [k: string]: any }): waproto.Receipts; /** * Creates a plain object from a Receipts message. Also converts values to other types if specified. * @param message Receipts * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Receipts, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Receipts to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Receipts * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReceiptsTableSchemaProto. */ interface IReceiptsTableSchemaProto { /** ReceiptsTableSchemaProto msgId */ msgId?: (string|null); /** ReceiptsTableSchemaProto statusTsPerUser */ statusTsPerUser?: (waproto.IStatusTsPerUserProto[]|null); /** ReceiptsTableSchemaProto permittedIdentitiesPerDevice */ permittedIdentitiesPerDevice?: (waproto.IIdentitiesPerDeviceProto[]|null); /** ReceiptsTableSchemaProto recipientDevices */ recipientDevices?: (string[]|null); /** ReceiptsTableSchemaProto retryCountsPerDevice */ retryCountsPerDevice?: (waproto.IRetryCountPerDeviceProto[]|null); /** ReceiptsTableSchemaProto waMsgId */ waMsgId?: (string|null); } /** Represents a ReceiptsTableSchemaProto. */ class ReceiptsTableSchemaProto implements IReceiptsTableSchemaProto { /** * Constructs a new ReceiptsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IReceiptsTableSchemaProto); /** ReceiptsTableSchemaProto msgId. */ public msgId?: (string|null); /** ReceiptsTableSchemaProto statusTsPerUser. */ public statusTsPerUser: waproto.IStatusTsPerUserProto[]; /** ReceiptsTableSchemaProto permittedIdentitiesPerDevice. */ public permittedIdentitiesPerDevice: waproto.IIdentitiesPerDeviceProto[]; /** ReceiptsTableSchemaProto recipientDevices. */ public recipientDevices: string[]; /** ReceiptsTableSchemaProto retryCountsPerDevice. */ public retryCountsPerDevice: waproto.IRetryCountPerDeviceProto[]; /** ReceiptsTableSchemaProto waMsgId. */ public waMsgId?: (string|null); /** * Creates a new ReceiptsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ReceiptsTableSchemaProto instance */ public static create(properties?: waproto.IReceiptsTableSchemaProto): waproto.ReceiptsTableSchemaProto; /** * Encodes the specified ReceiptsTableSchemaProto message. Does not implicitly {@link waproto.ReceiptsTableSchemaProto.verify|verify} messages. * @param message ReceiptsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReceiptsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReceiptsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ReceiptsTableSchemaProto.verify|verify} messages. * @param message ReceiptsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReceiptsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReceiptsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReceiptsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ReceiptsTableSchemaProto; /** * Decodes a ReceiptsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReceiptsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ReceiptsTableSchemaProto; /** * Verifies a ReceiptsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReceiptsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReceiptsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ReceiptsTableSchemaProto; /** * Creates a plain object from a ReceiptsTableSchemaProto message. Also converts values to other types if specified. * @param message ReceiptsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ReceiptsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReceiptsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReceiptsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReceiverFetchInfoTableSchemaProto. */ interface IReceiverFetchInfoTableSchemaProto { /** ReceiverFetchInfoTableSchemaProto mimetype */ mimetype?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewHeight */ previewHeight?: (number|null); /** ReceiverFetchInfoTableSchemaProto previewWidth */ previewWidth?: (number|null); /** ReceiverFetchInfoTableSchemaProto receiverFetchId */ receiverFetchId?: (string|null); /** ReceiverFetchInfoTableSchemaProto type */ type?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewUrl */ previewUrl?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewUrlExpirationTimestampMs */ previewUrlExpirationTimestampMs?: (number|Long|null); /** ReceiverFetchInfoTableSchemaProto accessibilitySummaryText */ accessibilitySummaryText?: (string|null); } /** Represents a ReceiverFetchInfoTableSchemaProto. */ class ReceiverFetchInfoTableSchemaProto implements IReceiverFetchInfoTableSchemaProto { /** * Constructs a new ReceiverFetchInfoTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IReceiverFetchInfoTableSchemaProto); /** ReceiverFetchInfoTableSchemaProto mimetype. */ public mimetype?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewHeight. */ public previewHeight?: (number|null); /** ReceiverFetchInfoTableSchemaProto previewWidth. */ public previewWidth?: (number|null); /** ReceiverFetchInfoTableSchemaProto receiverFetchId. */ public receiverFetchId?: (string|null); /** ReceiverFetchInfoTableSchemaProto type. */ public type?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewUrl. */ public previewUrl?: (string|null); /** ReceiverFetchInfoTableSchemaProto previewUrlExpirationTimestampMs. */ public previewUrlExpirationTimestampMs?: (number|Long|null); /** ReceiverFetchInfoTableSchemaProto accessibilitySummaryText. */ public accessibilitySummaryText?: (string|null); /** * Creates a new ReceiverFetchInfoTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ReceiverFetchInfoTableSchemaProto instance */ public static create(properties?: waproto.IReceiverFetchInfoTableSchemaProto): waproto.ReceiverFetchInfoTableSchemaProto; /** * Encodes the specified ReceiverFetchInfoTableSchemaProto message. Does not implicitly {@link waproto.ReceiverFetchInfoTableSchemaProto.verify|verify} messages. * @param message ReceiverFetchInfoTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReceiverFetchInfoTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReceiverFetchInfoTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ReceiverFetchInfoTableSchemaProto.verify|verify} messages. * @param message ReceiverFetchInfoTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReceiverFetchInfoTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReceiverFetchInfoTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReceiverFetchInfoTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ReceiverFetchInfoTableSchemaProto; /** * Decodes a ReceiverFetchInfoTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReceiverFetchInfoTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ReceiverFetchInfoTableSchemaProto; /** * Verifies a ReceiverFetchInfoTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReceiverFetchInfoTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReceiverFetchInfoTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ReceiverFetchInfoTableSchemaProto; /** * Creates a plain object from a ReceiverFetchInfoTableSchemaProto message. Also converts values to other types if specified. * @param message ReceiverFetchInfoTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ReceiverFetchInfoTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReceiverFetchInfoTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReceiverFetchInfoTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RecentEmojiWeight. */ interface IRecentEmojiWeight { /** RecentEmojiWeight emoji */ emoji?: (string|null); /** RecentEmojiWeight weight */ weight?: (number|null); } /** Represents a RecentEmojiWeight. */ class RecentEmojiWeight implements IRecentEmojiWeight { /** * Constructs a new RecentEmojiWeight. * @param [properties] Properties to set */ constructor(properties?: waproto.IRecentEmojiWeight); /** RecentEmojiWeight emoji. */ public emoji?: (string|null); /** RecentEmojiWeight weight. */ public weight?: (number|null); /** * Creates a new RecentEmojiWeight instance using the specified properties. * @param [properties] Properties to set * @returns RecentEmojiWeight instance */ public static create(properties?: waproto.IRecentEmojiWeight): waproto.RecentEmojiWeight; /** * Encodes the specified RecentEmojiWeight message. Does not implicitly {@link waproto.RecentEmojiWeight.verify|verify} messages. * @param message RecentEmojiWeight message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRecentEmojiWeight, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RecentEmojiWeight message, length delimited. Does not implicitly {@link waproto.RecentEmojiWeight.verify|verify} messages. * @param message RecentEmojiWeight message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRecentEmojiWeight, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RecentEmojiWeight message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RecentEmojiWeight * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RecentEmojiWeight; /** * Decodes a RecentEmojiWeight message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RecentEmojiWeight * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RecentEmojiWeight; /** * Verifies a RecentEmojiWeight message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RecentEmojiWeight message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RecentEmojiWeight */ public static fromObject(object: { [k: string]: any }): waproto.RecentEmojiWeight; /** * Creates a plain object from a RecentEmojiWeight message. Also converts values to other types if specified. * @param message RecentEmojiWeight * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RecentEmojiWeight, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RecentEmojiWeight to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RecentEmojiWeight * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RecordStructure. */ interface IRecordStructure { /** RecordStructure currentSession */ currentSession?: (waproto.ISessionStructure|null); /** RecordStructure previousSessions */ previousSessions?: (waproto.ISessionStructure[]|null); } /** Represents a RecordStructure. */ class RecordStructure implements IRecordStructure { /** * Constructs a new RecordStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.IRecordStructure); /** RecordStructure currentSession. */ public currentSession?: (waproto.ISessionStructure|null); /** RecordStructure previousSessions. */ public previousSessions: waproto.ISessionStructure[]; /** * Creates a new RecordStructure instance using the specified properties. * @param [properties] Properties to set * @returns RecordStructure instance */ public static create(properties?: waproto.IRecordStructure): waproto.RecordStructure; /** * Encodes the specified RecordStructure message. Does not implicitly {@link waproto.RecordStructure.verify|verify} messages. * @param message RecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RecordStructure message, length delimited. Does not implicitly {@link waproto.RecordStructure.verify|verify} messages. * @param message RecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RecordStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RecordStructure; /** * Decodes a RecordStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RecordStructure; /** * Verifies a RecordStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RecordStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RecordStructure */ public static fromObject(object: { [k: string]: any }): waproto.RecordStructure; /** * Creates a plain object from a RecordStructure message. Also converts values to other types if specified. * @param message RecordStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RecordStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RecordStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RecordStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Reportable. */ interface IReportable { /** Reportable minVersion */ minVersion?: (number|null); /** Reportable maxVersion */ maxVersion?: (number|null); /** Reportable notReportableMinVersion */ notReportableMinVersion?: (number|null); /** Reportable never */ never?: (boolean|null); } /** Represents a Reportable. */ class Reportable implements IReportable { /** * Constructs a new Reportable. * @param [properties] Properties to set */ constructor(properties?: waproto.IReportable); /** Reportable minVersion. */ public minVersion?: (number|null); /** Reportable maxVersion. */ public maxVersion?: (number|null); /** Reportable notReportableMinVersion. */ public notReportableMinVersion?: (number|null); /** Reportable never. */ public never?: (boolean|null); /** * Creates a new Reportable instance using the specified properties. * @param [properties] Properties to set * @returns Reportable instance */ public static create(properties?: waproto.IReportable): waproto.Reportable; /** * Encodes the specified Reportable message. Does not implicitly {@link waproto.Reportable.verify|verify} messages. * @param message Reportable message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReportable, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Reportable message, length delimited. Does not implicitly {@link waproto.Reportable.verify|verify} messages. * @param message Reportable message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReportable, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Reportable message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Reportable * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Reportable; /** * Decodes a Reportable message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Reportable * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Reportable; /** * Verifies a Reportable message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Reportable message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Reportable */ public static fromObject(object: { [k: string]: any }): waproto.Reportable; /** * Creates a plain object from a Reportable message. Also converts values to other types if specified. * @param message Reportable * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Reportable, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Reportable to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Reportable * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReportingMetaProto. */ interface IReportingMetaProto { /** ReportingMetaProto frankingTag */ frankingTag?: (Uint8Array|null); /** ReportingMetaProto frankingVersion */ frankingVersion?: (number|null); /** ReportingMetaProto reportingContent */ reportingContent?: (Uint8Array|null); /** ReportingMetaProto reportingTag */ reportingTag?: (Uint8Array|null); /** ReportingMetaProto frankingKey */ frankingKey?: (Uint8Array|null); } /** Represents a ReportingMetaProto. */ class ReportingMetaProto implements IReportingMetaProto { /** * Constructs a new ReportingMetaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IReportingMetaProto); /** ReportingMetaProto frankingTag. */ public frankingTag?: (Uint8Array|null); /** ReportingMetaProto frankingVersion. */ public frankingVersion?: (number|null); /** ReportingMetaProto reportingContent. */ public reportingContent?: (Uint8Array|null); /** ReportingMetaProto reportingTag. */ public reportingTag?: (Uint8Array|null); /** ReportingMetaProto frankingKey. */ public frankingKey?: (Uint8Array|null); /** * Creates a new ReportingMetaProto instance using the specified properties. * @param [properties] Properties to set * @returns ReportingMetaProto instance */ public static create(properties?: waproto.IReportingMetaProto): waproto.ReportingMetaProto; /** * Encodes the specified ReportingMetaProto message. Does not implicitly {@link waproto.ReportingMetaProto.verify|verify} messages. * @param message ReportingMetaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReportingMetaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReportingMetaProto message, length delimited. Does not implicitly {@link waproto.ReportingMetaProto.verify|verify} messages. * @param message ReportingMetaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReportingMetaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReportingMetaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReportingMetaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ReportingMetaProto; /** * Decodes a ReportingMetaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReportingMetaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ReportingMetaProto; /** * Verifies a ReportingMetaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReportingMetaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReportingMetaProto */ public static fromObject(object: { [k: string]: any }): waproto.ReportingMetaProto; /** * Creates a plain object from a ReportingMetaProto message. Also converts values to other types if specified. * @param message ReportingMetaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ReportingMetaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReportingMetaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReportingMetaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReportingTokenInfo. */ interface IReportingTokenInfo { /** ReportingTokenInfo reportingTag */ reportingTag?: (Uint8Array|null); /** ReportingTokenInfo reportingTagTimestamp */ reportingTagTimestamp?: (number|Long|null); } /** Represents a ReportingTokenInfo. */ class ReportingTokenInfo implements IReportingTokenInfo { /** * Constructs a new ReportingTokenInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IReportingTokenInfo); /** ReportingTokenInfo reportingTag. */ public reportingTag?: (Uint8Array|null); /** ReportingTokenInfo reportingTagTimestamp. */ public reportingTagTimestamp?: (number|Long|null); /** * Creates a new ReportingTokenInfo instance using the specified properties. * @param [properties] Properties to set * @returns ReportingTokenInfo instance */ public static create(properties?: waproto.IReportingTokenInfo): waproto.ReportingTokenInfo; /** * Encodes the specified ReportingTokenInfo message. Does not implicitly {@link waproto.ReportingTokenInfo.verify|verify} messages. * @param message ReportingTokenInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IReportingTokenInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReportingTokenInfo message, length delimited. Does not implicitly {@link waproto.ReportingTokenInfo.verify|verify} messages. * @param message ReportingTokenInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IReportingTokenInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReportingTokenInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ReportingTokenInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ReportingTokenInfo; /** * Decodes a ReportingTokenInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ReportingTokenInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ReportingTokenInfo; /** * Verifies a ReportingTokenInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReportingTokenInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReportingTokenInfo */ public static fromObject(object: { [k: string]: any }): waproto.ReportingTokenInfo; /** * Creates a plain object from a ReportingTokenInfo message. Also converts values to other types if specified. * @param message ReportingTokenInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ReportingTokenInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReportingTokenInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ReportingTokenInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RetryCountPerDeviceProto. */ interface IRetryCountPerDeviceProto { /** RetryCountPerDeviceProto deviceJid */ deviceJid?: (string|null); /** RetryCountPerDeviceProto count */ count?: (number|null); } /** Represents a RetryCountPerDeviceProto. */ class RetryCountPerDeviceProto implements IRetryCountPerDeviceProto { /** * Constructs a new RetryCountPerDeviceProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IRetryCountPerDeviceProto); /** RetryCountPerDeviceProto deviceJid. */ public deviceJid?: (string|null); /** RetryCountPerDeviceProto count. */ public count?: (number|null); /** * Creates a new RetryCountPerDeviceProto instance using the specified properties. * @param [properties] Properties to set * @returns RetryCountPerDeviceProto instance */ public static create(properties?: waproto.IRetryCountPerDeviceProto): waproto.RetryCountPerDeviceProto; /** * Encodes the specified RetryCountPerDeviceProto message. Does not implicitly {@link waproto.RetryCountPerDeviceProto.verify|verify} messages. * @param message RetryCountPerDeviceProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRetryCountPerDeviceProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RetryCountPerDeviceProto message, length delimited. Does not implicitly {@link waproto.RetryCountPerDeviceProto.verify|verify} messages. * @param message RetryCountPerDeviceProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRetryCountPerDeviceProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RetryCountPerDeviceProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RetryCountPerDeviceProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RetryCountPerDeviceProto; /** * Decodes a RetryCountPerDeviceProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RetryCountPerDeviceProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RetryCountPerDeviceProto; /** * Verifies a RetryCountPerDeviceProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RetryCountPerDeviceProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RetryCountPerDeviceProto */ public static fromObject(object: { [k: string]: any }): waproto.RetryCountPerDeviceProto; /** * Creates a plain object from a RetryCountPerDeviceProto message. Also converts values to other types if specified. * @param message RetryCountPerDeviceProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RetryCountPerDeviceProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RetryCountPerDeviceProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RetryCountPerDeviceProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RotateEpochInput. */ interface IRotateEpochInput { /** RotateEpochInput currentEpochRootKey */ currentEpochRootKey?: (Uint8Array|null); /** RotateEpochInput currentEpochAnonId */ currentEpochAnonId?: (Uint8Array|null); /** RotateEpochInput currentEpochFbid */ currentEpochFbid?: (number|Long|null); /** RotateEpochInput epochStorageAuthPrivateKey */ epochStorageAuthPrivateKey?: (Uint8Array|null); /** RotateEpochInput members */ members?: (waproto.IRotateEpochMemberInput[]|null); } /** Represents a RotateEpochInput. */ class RotateEpochInput implements IRotateEpochInput { /** * Constructs a new RotateEpochInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IRotateEpochInput); /** RotateEpochInput currentEpochRootKey. */ public currentEpochRootKey?: (Uint8Array|null); /** RotateEpochInput currentEpochAnonId. */ public currentEpochAnonId?: (Uint8Array|null); /** RotateEpochInput currentEpochFbid. */ public currentEpochFbid?: (number|Long|null); /** RotateEpochInput epochStorageAuthPrivateKey. */ public epochStorageAuthPrivateKey?: (Uint8Array|null); /** RotateEpochInput members. */ public members: waproto.IRotateEpochMemberInput[]; /** * Creates a new RotateEpochInput instance using the specified properties. * @param [properties] Properties to set * @returns RotateEpochInput instance */ public static create(properties?: waproto.IRotateEpochInput): waproto.RotateEpochInput; /** * Encodes the specified RotateEpochInput message. Does not implicitly {@link waproto.RotateEpochInput.verify|verify} messages. * @param message RotateEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRotateEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RotateEpochInput message, length delimited. Does not implicitly {@link waproto.RotateEpochInput.verify|verify} messages. * @param message RotateEpochInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRotateEpochInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RotateEpochInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RotateEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RotateEpochInput; /** * Decodes a RotateEpochInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RotateEpochInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RotateEpochInput; /** * Verifies a RotateEpochInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RotateEpochInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RotateEpochInput */ public static fromObject(object: { [k: string]: any }): waproto.RotateEpochInput; /** * Creates a plain object from a RotateEpochInput message. Also converts values to other types if specified. * @param message RotateEpochInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RotateEpochInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RotateEpochInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RotateEpochInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RotateEpochMemberEdge. */ interface IRotateEpochMemberEdge { /** RotateEpochMemberEdge deviceId */ deviceId?: (number|Long|null); /** RotateEpochMemberEdge encryptedEpochKey */ encryptedEpochKey?: (Uint8Array|null); /** RotateEpochMemberEdge deviceEpochHmac */ deviceEpochHmac?: (Uint8Array|null); } /** Represents a RotateEpochMemberEdge. */ class RotateEpochMemberEdge implements IRotateEpochMemberEdge { /** * Constructs a new RotateEpochMemberEdge. * @param [properties] Properties to set */ constructor(properties?: waproto.IRotateEpochMemberEdge); /** RotateEpochMemberEdge deviceId. */ public deviceId?: (number|Long|null); /** RotateEpochMemberEdge encryptedEpochKey. */ public encryptedEpochKey?: (Uint8Array|null); /** RotateEpochMemberEdge deviceEpochHmac. */ public deviceEpochHmac?: (Uint8Array|null); /** * Creates a new RotateEpochMemberEdge instance using the specified properties. * @param [properties] Properties to set * @returns RotateEpochMemberEdge instance */ public static create(properties?: waproto.IRotateEpochMemberEdge): waproto.RotateEpochMemberEdge; /** * Encodes the specified RotateEpochMemberEdge message. Does not implicitly {@link waproto.RotateEpochMemberEdge.verify|verify} messages. * @param message RotateEpochMemberEdge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRotateEpochMemberEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RotateEpochMemberEdge message, length delimited. Does not implicitly {@link waproto.RotateEpochMemberEdge.verify|verify} messages. * @param message RotateEpochMemberEdge message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRotateEpochMemberEdge, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RotateEpochMemberEdge message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RotateEpochMemberEdge * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RotateEpochMemberEdge; /** * Decodes a RotateEpochMemberEdge message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RotateEpochMemberEdge * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RotateEpochMemberEdge; /** * Verifies a RotateEpochMemberEdge message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RotateEpochMemberEdge message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RotateEpochMemberEdge */ public static fromObject(object: { [k: string]: any }): waproto.RotateEpochMemberEdge; /** * Creates a plain object from a RotateEpochMemberEdge message. Also converts values to other types if specified. * @param message RotateEpochMemberEdge * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RotateEpochMemberEdge, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RotateEpochMemberEdge to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RotateEpochMemberEdge * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RotateEpochMemberInput. */ interface IRotateEpochMemberInput { /** RotateEpochMemberInput deviceId */ deviceId?: (number|Long|null); /** RotateEpochMemberInput epochStoragePublicKey */ epochStoragePublicKey?: (Uint8Array|null); /** RotateEpochMemberInput devicePublicKey */ devicePublicKey?: (Uint8Array|null); /** RotateEpochMemberInput prevDeviceEpochHmac */ prevDeviceEpochHmac?: (Uint8Array|null); /** RotateEpochMemberInput epochStoragePublicKeySig */ epochStoragePublicKeySig?: (Uint8Array|null); } /** Represents a RotateEpochMemberInput. */ class RotateEpochMemberInput implements IRotateEpochMemberInput { /** * Constructs a new RotateEpochMemberInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IRotateEpochMemberInput); /** RotateEpochMemberInput deviceId. */ public deviceId?: (number|Long|null); /** RotateEpochMemberInput epochStoragePublicKey. */ public epochStoragePublicKey?: (Uint8Array|null); /** RotateEpochMemberInput devicePublicKey. */ public devicePublicKey?: (Uint8Array|null); /** RotateEpochMemberInput prevDeviceEpochHmac. */ public prevDeviceEpochHmac?: (Uint8Array|null); /** RotateEpochMemberInput epochStoragePublicKeySig. */ public epochStoragePublicKeySig?: (Uint8Array|null); /** * Creates a new RotateEpochMemberInput instance using the specified properties. * @param [properties] Properties to set * @returns RotateEpochMemberInput instance */ public static create(properties?: waproto.IRotateEpochMemberInput): waproto.RotateEpochMemberInput; /** * Encodes the specified RotateEpochMemberInput message. Does not implicitly {@link waproto.RotateEpochMemberInput.verify|verify} messages. * @param message RotateEpochMemberInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRotateEpochMemberInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RotateEpochMemberInput message, length delimited. Does not implicitly {@link waproto.RotateEpochMemberInput.verify|verify} messages. * @param message RotateEpochMemberInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRotateEpochMemberInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RotateEpochMemberInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RotateEpochMemberInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RotateEpochMemberInput; /** * Decodes a RotateEpochMemberInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RotateEpochMemberInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RotateEpochMemberInput; /** * Verifies a RotateEpochMemberInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RotateEpochMemberInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RotateEpochMemberInput */ public static fromObject(object: { [k: string]: any }): waproto.RotateEpochMemberInput; /** * Creates a plain object from a RotateEpochMemberInput message. Also converts values to other types if specified. * @param message RotateEpochMemberInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RotateEpochMemberInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RotateEpochMemberInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RotateEpochMemberInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RotateEpochOutput. */ interface IRotateEpochOutput { /** RotateEpochOutput newEpochRootKey */ newEpochRootKey?: (Uint8Array|null); /** RotateEpochOutput newEpochAnonId */ newEpochAnonId?: (number|Long|null); /** RotateEpochOutput epochAnonId */ epochAnonId?: (Uint8Array|null); /** RotateEpochOutput backwardEdge */ backwardEdge?: (waproto.IBackwardEdge|null); /** RotateEpochOutput memberEdges */ memberEdges?: (waproto.IRotateEpochMemberEdge[]|null); /** RotateEpochOutput epochRootKeyFingerprint */ epochRootKeyFingerprint?: (Uint8Array|null); /** RotateEpochOutput error */ error?: (string|null); } /** Represents a RotateEpochOutput. */ class RotateEpochOutput implements IRotateEpochOutput { /** * Constructs a new RotateEpochOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IRotateEpochOutput); /** RotateEpochOutput newEpochRootKey. */ public newEpochRootKey?: (Uint8Array|null); /** RotateEpochOutput newEpochAnonId. */ public newEpochAnonId?: (number|Long|null); /** RotateEpochOutput epochAnonId. */ public epochAnonId?: (Uint8Array|null); /** RotateEpochOutput backwardEdge. */ public backwardEdge?: (waproto.IBackwardEdge|null); /** RotateEpochOutput memberEdges. */ public memberEdges: waproto.IRotateEpochMemberEdge[]; /** RotateEpochOutput epochRootKeyFingerprint. */ public epochRootKeyFingerprint?: (Uint8Array|null); /** RotateEpochOutput error. */ public error?: (string|null); /** * Creates a new RotateEpochOutput instance using the specified properties. * @param [properties] Properties to set * @returns RotateEpochOutput instance */ public static create(properties?: waproto.IRotateEpochOutput): waproto.RotateEpochOutput; /** * Encodes the specified RotateEpochOutput message. Does not implicitly {@link waproto.RotateEpochOutput.verify|verify} messages. * @param message RotateEpochOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRotateEpochOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RotateEpochOutput message, length delimited. Does not implicitly {@link waproto.RotateEpochOutput.verify|verify} messages. * @param message RotateEpochOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRotateEpochOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RotateEpochOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RotateEpochOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RotateEpochOutput; /** * Decodes a RotateEpochOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RotateEpochOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RotateEpochOutput; /** * Verifies a RotateEpochOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RotateEpochOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RotateEpochOutput */ public static fromObject(object: { [k: string]: any }): waproto.RotateEpochOutput; /** * Creates a plain object from a RotateEpochOutput message. Also converts values to other types if specified. * @param message RotateEpochOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RotateEpochOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RotateEpochOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RotateEpochOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RoutingInfo. */ interface IRoutingInfo { /** RoutingInfo regionId */ regionId?: (number[]|null); /** RoutingInfo clusterId */ clusterId?: (number[]|null); /** RoutingInfo taskId */ taskId?: (number|null); /** RoutingInfo debug */ debug?: (boolean|null); /** RoutingInfo tcpBbr */ tcpBbr?: (boolean|null); /** RoutingInfo tcpKeepalive */ tcpKeepalive?: (boolean|null); } /** Represents a RoutingInfo. */ class RoutingInfo implements IRoutingInfo { /** * Constructs a new RoutingInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IRoutingInfo); /** RoutingInfo regionId. */ public regionId: number[]; /** RoutingInfo clusterId. */ public clusterId: number[]; /** RoutingInfo taskId. */ public taskId?: (number|null); /** RoutingInfo debug. */ public debug?: (boolean|null); /** RoutingInfo tcpBbr. */ public tcpBbr?: (boolean|null); /** RoutingInfo tcpKeepalive. */ public tcpKeepalive?: (boolean|null); /** * Creates a new RoutingInfo instance using the specified properties. * @param [properties] Properties to set * @returns RoutingInfo instance */ public static create(properties?: waproto.IRoutingInfo): waproto.RoutingInfo; /** * Encodes the specified RoutingInfo message. Does not implicitly {@link waproto.RoutingInfo.verify|verify} messages. * @param message RoutingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IRoutingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RoutingInfo message, length delimited. Does not implicitly {@link waproto.RoutingInfo.verify|verify} messages. * @param message RoutingInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IRoutingInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RoutingInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RoutingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.RoutingInfo; /** * Decodes a RoutingInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RoutingInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.RoutingInfo; /** * Verifies a RoutingInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RoutingInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RoutingInfo */ public static fromObject(object: { [k: string]: any }): waproto.RoutingInfo; /** * Creates a plain object from a RoutingInfo message. Also converts values to other types if specified. * @param message RoutingInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.RoutingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RoutingInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RoutingInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ScheduledMessageMetadata. */ interface IScheduledMessageMetadata { /** ScheduledMessageMetadata revealKeyId */ revealKeyId?: (string|null); /** ScheduledMessageMetadata revealKey */ revealKey?: (Uint8Array|null); /** ScheduledMessageMetadata scheduledTime */ scheduledTime?: (number|Long|null); } /** Represents a ScheduledMessageMetadata. */ class ScheduledMessageMetadata implements IScheduledMessageMetadata { /** * Constructs a new ScheduledMessageMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IScheduledMessageMetadata); /** ScheduledMessageMetadata revealKeyId. */ public revealKeyId?: (string|null); /** ScheduledMessageMetadata revealKey. */ public revealKey?: (Uint8Array|null); /** ScheduledMessageMetadata scheduledTime. */ public scheduledTime?: (number|Long|null); /** * Creates a new ScheduledMessageMetadata instance using the specified properties. * @param [properties] Properties to set * @returns ScheduledMessageMetadata instance */ public static create(properties?: waproto.IScheduledMessageMetadata): waproto.ScheduledMessageMetadata; /** * Encodes the specified ScheduledMessageMetadata message. Does not implicitly {@link waproto.ScheduledMessageMetadata.verify|verify} messages. * @param message ScheduledMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IScheduledMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ScheduledMessageMetadata message, length delimited. Does not implicitly {@link waproto.ScheduledMessageMetadata.verify|verify} messages. * @param message ScheduledMessageMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IScheduledMessageMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ScheduledMessageMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ScheduledMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ScheduledMessageMetadata; /** * Decodes a ScheduledMessageMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ScheduledMessageMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ScheduledMessageMetadata; /** * Verifies a ScheduledMessageMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ScheduledMessageMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ScheduledMessageMetadata */ public static fromObject(object: { [k: string]: any }): waproto.ScheduledMessageMetadata; /** * Creates a plain object from a ScheduledMessageMetadata message. Also converts values to other types if specified. * @param message ScheduledMessageMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ScheduledMessageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ScheduledMessageMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ScheduledMessageMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderKeyDistributionMessage. */ interface ISenderKeyDistributionMessage { /** SenderKeyDistributionMessage id */ id?: (number|null); /** SenderKeyDistributionMessage iteration */ iteration?: (number|null); /** SenderKeyDistributionMessage chainKey */ chainKey?: (Uint8Array|null); /** SenderKeyDistributionMessage signingKey */ signingKey?: (Uint8Array|null); } /** Represents a SenderKeyDistributionMessage. */ class SenderKeyDistributionMessage implements ISenderKeyDistributionMessage { /** * Constructs a new SenderKeyDistributionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ISenderKeyDistributionMessage); /** SenderKeyDistributionMessage id. */ public id?: (number|null); /** SenderKeyDistributionMessage iteration. */ public iteration?: (number|null); /** SenderKeyDistributionMessage chainKey. */ public chainKey?: (Uint8Array|null); /** SenderKeyDistributionMessage signingKey. */ public signingKey?: (Uint8Array|null); /** * Creates a new SenderKeyDistributionMessage instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyDistributionMessage instance */ public static create(properties?: waproto.ISenderKeyDistributionMessage): waproto.SenderKeyDistributionMessage; /** * Encodes the specified SenderKeyDistributionMessage message. Does not implicitly {@link waproto.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyDistributionMessage message, length delimited. Does not implicitly {@link waproto.SenderKeyDistributionMessage.verify|verify} messages. * @param message SenderKeyDistributionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISenderKeyDistributionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyDistributionMessage; /** * Decodes a SenderKeyDistributionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyDistributionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyDistributionMessage; /** * Verifies a SenderKeyDistributionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyDistributionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyDistributionMessage */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyDistributionMessage; /** * Creates a plain object from a SenderKeyDistributionMessage message. Also converts values to other types if specified. * @param message SenderKeyDistributionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyDistributionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyDistributionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyDistributionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderKeyMessage. */ interface ISenderKeyMessage { /** SenderKeyMessage id */ id?: (number|null); /** SenderKeyMessage iteration */ iteration?: (number|null); /** SenderKeyMessage ciphertext */ ciphertext?: (Uint8Array|null); } /** Represents a SenderKeyMessage. */ class SenderKeyMessage implements ISenderKeyMessage { /** * Constructs a new SenderKeyMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ISenderKeyMessage); /** SenderKeyMessage id. */ public id?: (number|null); /** SenderKeyMessage iteration. */ public iteration?: (number|null); /** SenderKeyMessage ciphertext. */ public ciphertext?: (Uint8Array|null); /** * Creates a new SenderKeyMessage instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyMessage instance */ public static create(properties?: waproto.ISenderKeyMessage): waproto.SenderKeyMessage; /** * Encodes the specified SenderKeyMessage message. Does not implicitly {@link waproto.SenderKeyMessage.verify|verify} messages. * @param message SenderKeyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISenderKeyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyMessage message, length delimited. Does not implicitly {@link waproto.SenderKeyMessage.verify|verify} messages. * @param message SenderKeyMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISenderKeyMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyMessage; /** * Decodes a SenderKeyMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyMessage; /** * Verifies a SenderKeyMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyMessage */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyMessage; /** * Creates a plain object from a SenderKeyMessage message. Also converts values to other types if specified. * @param message SenderKeyMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderKeyRecordStructure. */ interface ISenderKeyRecordStructure { /** SenderKeyRecordStructure senderKeyStates */ senderKeyStates?: (waproto.ISenderKeyStateStructure[]|null); } /** Represents a SenderKeyRecordStructure. */ class SenderKeyRecordStructure implements ISenderKeyRecordStructure { /** * Constructs a new SenderKeyRecordStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.ISenderKeyRecordStructure); /** SenderKeyRecordStructure senderKeyStates. */ public senderKeyStates: waproto.ISenderKeyStateStructure[]; /** * Creates a new SenderKeyRecordStructure instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyRecordStructure instance */ public static create(properties?: waproto.ISenderKeyRecordStructure): waproto.SenderKeyRecordStructure; /** * Encodes the specified SenderKeyRecordStructure message. Does not implicitly {@link waproto.SenderKeyRecordStructure.verify|verify} messages. * @param message SenderKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISenderKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyRecordStructure message, length delimited. Does not implicitly {@link waproto.SenderKeyRecordStructure.verify|verify} messages. * @param message SenderKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISenderKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyRecordStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyRecordStructure; /** * Decodes a SenderKeyRecordStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyRecordStructure; /** * Verifies a SenderKeyRecordStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyRecordStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyRecordStructure */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyRecordStructure; /** * Creates a plain object from a SenderKeyRecordStructure message. Also converts values to other types if specified. * @param message SenderKeyRecordStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyRecordStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyRecordStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyRecordStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderKeyStateStructure. */ interface ISenderKeyStateStructure { /** SenderKeyStateStructure senderKeyId */ senderKeyId?: (number|null); /** SenderKeyStateStructure senderChainKey */ senderChainKey?: (waproto.SenderKeyStateStructure.ISenderChainKey|null); /** SenderKeyStateStructure senderSigningKey */ senderSigningKey?: (waproto.SenderKeyStateStructure.ISenderSigningKey|null); /** SenderKeyStateStructure senderMessageKeys */ senderMessageKeys?: (waproto.SenderKeyStateStructure.ISenderMessageKey[]|null); } /** Represents a SenderKeyStateStructure. */ class SenderKeyStateStructure implements ISenderKeyStateStructure { /** * Constructs a new SenderKeyStateStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.ISenderKeyStateStructure); /** SenderKeyStateStructure senderKeyId. */ public senderKeyId?: (number|null); /** SenderKeyStateStructure senderChainKey. */ public senderChainKey?: (waproto.SenderKeyStateStructure.ISenderChainKey|null); /** SenderKeyStateStructure senderSigningKey. */ public senderSigningKey?: (waproto.SenderKeyStateStructure.ISenderSigningKey|null); /** SenderKeyStateStructure senderMessageKeys. */ public senderMessageKeys: waproto.SenderKeyStateStructure.ISenderMessageKey[]; /** * Creates a new SenderKeyStateStructure instance using the specified properties. * @param [properties] Properties to set * @returns SenderKeyStateStructure instance */ public static create(properties?: waproto.ISenderKeyStateStructure): waproto.SenderKeyStateStructure; /** * Encodes the specified SenderKeyStateStructure message. Does not implicitly {@link waproto.SenderKeyStateStructure.verify|verify} messages. * @param message SenderKeyStateStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISenderKeyStateStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderKeyStateStructure message, length delimited. Does not implicitly {@link waproto.SenderKeyStateStructure.verify|verify} messages. * @param message SenderKeyStateStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISenderKeyStateStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderKeyStateStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderKeyStateStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyStateStructure; /** * Decodes a SenderKeyStateStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderKeyStateStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyStateStructure; /** * Verifies a SenderKeyStateStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderKeyStateStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderKeyStateStructure */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyStateStructure; /** * Creates a plain object from a SenderKeyStateStructure message. Also converts values to other types if specified. * @param message SenderKeyStateStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyStateStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderKeyStateStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderKeyStateStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SenderKeyStateStructure { /** Properties of a SenderSigningKey. */ interface ISenderSigningKey { /** SenderSigningKey public */ "public"?: (Uint8Array|null); /** SenderSigningKey private */ "private"?: (Uint8Array|null); } /** Represents a SenderSigningKey. */ class SenderSigningKey implements ISenderSigningKey { /** * Constructs a new SenderSigningKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SenderKeyStateStructure.ISenderSigningKey); /** SenderSigningKey public. */ public public?: (Uint8Array|null); /** SenderSigningKey private. */ public private?: (Uint8Array|null); /** * Creates a new SenderSigningKey instance using the specified properties. * @param [properties] Properties to set * @returns SenderSigningKey instance */ public static create(properties?: waproto.SenderKeyStateStructure.ISenderSigningKey): waproto.SenderKeyStateStructure.SenderSigningKey; /** * Encodes the specified SenderSigningKey message. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderSigningKey.verify|verify} messages. * @param message SenderSigningKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SenderKeyStateStructure.ISenderSigningKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderSigningKey message, length delimited. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderSigningKey.verify|verify} messages. * @param message SenderSigningKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SenderKeyStateStructure.ISenderSigningKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderSigningKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderSigningKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyStateStructure.SenderSigningKey; /** * Decodes a SenderSigningKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderSigningKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyStateStructure.SenderSigningKey; /** * Verifies a SenderSigningKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderSigningKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderSigningKey */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyStateStructure.SenderSigningKey; /** * Creates a plain object from a SenderSigningKey message. Also converts values to other types if specified. * @param message SenderSigningKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyStateStructure.SenderSigningKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderSigningKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderSigningKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderMessageKey. */ interface ISenderMessageKey { /** SenderMessageKey iteration */ iteration?: (number|null); /** SenderMessageKey seed */ seed?: (Uint8Array|null); } /** Represents a SenderMessageKey. */ class SenderMessageKey implements ISenderMessageKey { /** * Constructs a new SenderMessageKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SenderKeyStateStructure.ISenderMessageKey); /** SenderMessageKey iteration. */ public iteration?: (number|null); /** SenderMessageKey seed. */ public seed?: (Uint8Array|null); /** * Creates a new SenderMessageKey instance using the specified properties. * @param [properties] Properties to set * @returns SenderMessageKey instance */ public static create(properties?: waproto.SenderKeyStateStructure.ISenderMessageKey): waproto.SenderKeyStateStructure.SenderMessageKey; /** * Encodes the specified SenderMessageKey message. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderMessageKey.verify|verify} messages. * @param message SenderMessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SenderKeyStateStructure.ISenderMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderMessageKey message, length delimited. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderMessageKey.verify|verify} messages. * @param message SenderMessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SenderKeyStateStructure.ISenderMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderMessageKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderMessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyStateStructure.SenderMessageKey; /** * Decodes a SenderMessageKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderMessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyStateStructure.SenderMessageKey; /** * Verifies a SenderMessageKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderMessageKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderMessageKey */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyStateStructure.SenderMessageKey; /** * Creates a plain object from a SenderMessageKey message. Also converts values to other types if specified. * @param message SenderMessageKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyStateStructure.SenderMessageKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderMessageKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderMessageKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SenderChainKey. */ interface ISenderChainKey { /** SenderChainKey iteration */ iteration?: (number|null); /** SenderChainKey seed */ seed?: (Uint8Array|null); } /** Represents a SenderChainKey. */ class SenderChainKey implements ISenderChainKey { /** * Constructs a new SenderChainKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SenderKeyStateStructure.ISenderChainKey); /** SenderChainKey iteration. */ public iteration?: (number|null); /** SenderChainKey seed. */ public seed?: (Uint8Array|null); /** * Creates a new SenderChainKey instance using the specified properties. * @param [properties] Properties to set * @returns SenderChainKey instance */ public static create(properties?: waproto.SenderKeyStateStructure.ISenderChainKey): waproto.SenderKeyStateStructure.SenderChainKey; /** * Encodes the specified SenderChainKey message. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderChainKey.verify|verify} messages. * @param message SenderChainKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SenderKeyStateStructure.ISenderChainKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SenderChainKey message, length delimited. Does not implicitly {@link waproto.SenderKeyStateStructure.SenderChainKey.verify|verify} messages. * @param message SenderChainKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SenderKeyStateStructure.ISenderChainKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SenderChainKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SenderChainKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SenderKeyStateStructure.SenderChainKey; /** * Decodes a SenderChainKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SenderChainKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SenderKeyStateStructure.SenderChainKey; /** * Verifies a SenderChainKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SenderChainKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SenderChainKey */ public static fromObject(object: { [k: string]: any }): waproto.SenderKeyStateStructure.SenderChainKey; /** * Creates a plain object from a SenderChainKey message. Also converts values to other types if specified. * @param message SenderChainKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SenderKeyStateStructure.SenderChainKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SenderChainKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SenderChainKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ServerErrorReceipt. */ interface IServerErrorReceipt { /** ServerErrorReceipt stanzaId */ stanzaId?: (string|null); } /** Represents a ServerErrorReceipt. */ class ServerErrorReceipt implements IServerErrorReceipt { /** * Constructs a new ServerErrorReceipt. * @param [properties] Properties to set */ constructor(properties?: waproto.IServerErrorReceipt); /** ServerErrorReceipt stanzaId. */ public stanzaId?: (string|null); /** * Creates a new ServerErrorReceipt instance using the specified properties. * @param [properties] Properties to set * @returns ServerErrorReceipt instance */ public static create(properties?: waproto.IServerErrorReceipt): waproto.ServerErrorReceipt; /** * Encodes the specified ServerErrorReceipt message. Does not implicitly {@link waproto.ServerErrorReceipt.verify|verify} messages. * @param message ServerErrorReceipt message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServerErrorReceipt message, length delimited. Does not implicitly {@link waproto.ServerErrorReceipt.verify|verify} messages. * @param message ServerErrorReceipt message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IServerErrorReceipt, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServerErrorReceipt message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServerErrorReceipt * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ServerErrorReceipt; /** * Decodes a ServerErrorReceipt message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServerErrorReceipt * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ServerErrorReceipt; /** * Verifies a ServerErrorReceipt message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServerErrorReceipt message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServerErrorReceipt */ public static fromObject(object: { [k: string]: any }): waproto.ServerErrorReceipt; /** * Creates a plain object from a ServerErrorReceipt message. Also converts values to other types if specified. * @param message ServerErrorReceipt * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ServerErrorReceipt, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServerErrorReceipt to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServerErrorReceipt * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SessionStructure. */ interface ISessionStructure { /** SessionStructure sessionVersion */ sessionVersion?: (number|null); /** SessionStructure localIdentityPublic */ localIdentityPublic?: (Uint8Array|null); /** SessionStructure remoteIdentityPublic */ remoteIdentityPublic?: (Uint8Array|null); /** SessionStructure rootKey */ rootKey?: (Uint8Array|null); /** SessionStructure previousCounter */ previousCounter?: (number|null); /** SessionStructure senderChain */ senderChain?: (waproto.SessionStructure.IChain|null); /** SessionStructure receiverChains */ receiverChains?: (waproto.SessionStructure.IChain[]|null); /** SessionStructure pendingKeyExchange */ pendingKeyExchange?: (waproto.SessionStructure.IPendingKeyExchange|null); /** SessionStructure pendingPreKey */ pendingPreKey?: (waproto.SessionStructure.IPendingPreKey|null); /** SessionStructure remoteRegistrationId */ remoteRegistrationId?: (number|null); /** SessionStructure localRegistrationId */ localRegistrationId?: (number|null); /** SessionStructure needsRefresh */ needsRefresh?: (boolean|null); /** SessionStructure aliceBaseKey */ aliceBaseKey?: (Uint8Array|null); } /** Represents a SessionStructure. */ class SessionStructure implements ISessionStructure { /** * Constructs a new SessionStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.ISessionStructure); /** SessionStructure sessionVersion. */ public sessionVersion?: (number|null); /** SessionStructure localIdentityPublic. */ public localIdentityPublic?: (Uint8Array|null); /** SessionStructure remoteIdentityPublic. */ public remoteIdentityPublic?: (Uint8Array|null); /** SessionStructure rootKey. */ public rootKey?: (Uint8Array|null); /** SessionStructure previousCounter. */ public previousCounter?: (number|null); /** SessionStructure senderChain. */ public senderChain?: (waproto.SessionStructure.IChain|null); /** SessionStructure receiverChains. */ public receiverChains: waproto.SessionStructure.IChain[]; /** SessionStructure pendingKeyExchange. */ public pendingKeyExchange?: (waproto.SessionStructure.IPendingKeyExchange|null); /** SessionStructure pendingPreKey. */ public pendingPreKey?: (waproto.SessionStructure.IPendingPreKey|null); /** SessionStructure remoteRegistrationId. */ public remoteRegistrationId?: (number|null); /** SessionStructure localRegistrationId. */ public localRegistrationId?: (number|null); /** SessionStructure needsRefresh. */ public needsRefresh?: (boolean|null); /** SessionStructure aliceBaseKey. */ public aliceBaseKey?: (Uint8Array|null); /** * Creates a new SessionStructure instance using the specified properties. * @param [properties] Properties to set * @returns SessionStructure instance */ public static create(properties?: waproto.ISessionStructure): waproto.SessionStructure; /** * Encodes the specified SessionStructure message. Does not implicitly {@link waproto.SessionStructure.verify|verify} messages. * @param message SessionStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISessionStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SessionStructure message, length delimited. Does not implicitly {@link waproto.SessionStructure.verify|verify} messages. * @param message SessionStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISessionStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SessionStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SessionStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure; /** * Decodes a SessionStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SessionStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure; /** * Verifies a SessionStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SessionStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SessionStructure */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure; /** * Creates a plain object from a SessionStructure message. Also converts values to other types if specified. * @param message SessionStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SessionStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SessionStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SessionStructure { /** Properties of a PendingPreKey. */ interface IPendingPreKey { /** PendingPreKey preKeyId */ preKeyId?: (number|null); /** PendingPreKey baseKey */ baseKey?: (Uint8Array|null); /** PendingPreKey signedPreKeyId */ signedPreKeyId?: (number|null); /** PendingPreKey kyberPreKeyId */ kyberPreKeyId?: (number|null); /** PendingPreKey kyberCiphertext */ kyberCiphertext?: (Uint8Array|null); } /** Represents a PendingPreKey. */ class PendingPreKey implements IPendingPreKey { /** * Constructs a new PendingPreKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SessionStructure.IPendingPreKey); /** PendingPreKey preKeyId. */ public preKeyId?: (number|null); /** PendingPreKey baseKey. */ public baseKey?: (Uint8Array|null); /** PendingPreKey signedPreKeyId. */ public signedPreKeyId?: (number|null); /** PendingPreKey kyberPreKeyId. */ public kyberPreKeyId?: (number|null); /** PendingPreKey kyberCiphertext. */ public kyberCiphertext?: (Uint8Array|null); /** * Creates a new PendingPreKey instance using the specified properties. * @param [properties] Properties to set * @returns PendingPreKey instance */ public static create(properties?: waproto.SessionStructure.IPendingPreKey): waproto.SessionStructure.PendingPreKey; /** * Encodes the specified PendingPreKey message. Does not implicitly {@link waproto.SessionStructure.PendingPreKey.verify|verify} messages. * @param message PendingPreKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SessionStructure.IPendingPreKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PendingPreKey message, length delimited. Does not implicitly {@link waproto.SessionStructure.PendingPreKey.verify|verify} messages. * @param message PendingPreKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SessionStructure.IPendingPreKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PendingPreKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PendingPreKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure.PendingPreKey; /** * Decodes a PendingPreKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PendingPreKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure.PendingPreKey; /** * Verifies a PendingPreKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PendingPreKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PendingPreKey */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure.PendingPreKey; /** * Creates a plain object from a PendingPreKey message. Also converts values to other types if specified. * @param message PendingPreKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure.PendingPreKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PendingPreKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PendingPreKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PendingKeyExchange. */ interface IPendingKeyExchange { /** PendingKeyExchange sequence */ sequence?: (number|null); /** PendingKeyExchange localBaseKey */ localBaseKey?: (Uint8Array|null); /** PendingKeyExchange localBaseKeyPrivate */ localBaseKeyPrivate?: (Uint8Array|null); /** PendingKeyExchange localRatchetKey */ localRatchetKey?: (Uint8Array|null); /** PendingKeyExchange localRatchetKeyPrivate */ localRatchetKeyPrivate?: (Uint8Array|null); /** PendingKeyExchange localIdentityKey */ localIdentityKey?: (Uint8Array|null); /** PendingKeyExchange localIdentityKeyPrivate */ localIdentityKeyPrivate?: (Uint8Array|null); } /** Represents a PendingKeyExchange. */ class PendingKeyExchange implements IPendingKeyExchange { /** * Constructs a new PendingKeyExchange. * @param [properties] Properties to set */ constructor(properties?: waproto.SessionStructure.IPendingKeyExchange); /** PendingKeyExchange sequence. */ public sequence?: (number|null); /** PendingKeyExchange localBaseKey. */ public localBaseKey?: (Uint8Array|null); /** PendingKeyExchange localBaseKeyPrivate. */ public localBaseKeyPrivate?: (Uint8Array|null); /** PendingKeyExchange localRatchetKey. */ public localRatchetKey?: (Uint8Array|null); /** PendingKeyExchange localRatchetKeyPrivate. */ public localRatchetKeyPrivate?: (Uint8Array|null); /** PendingKeyExchange localIdentityKey. */ public localIdentityKey?: (Uint8Array|null); /** PendingKeyExchange localIdentityKeyPrivate. */ public localIdentityKeyPrivate?: (Uint8Array|null); /** * Creates a new PendingKeyExchange instance using the specified properties. * @param [properties] Properties to set * @returns PendingKeyExchange instance */ public static create(properties?: waproto.SessionStructure.IPendingKeyExchange): waproto.SessionStructure.PendingKeyExchange; /** * Encodes the specified PendingKeyExchange message. Does not implicitly {@link waproto.SessionStructure.PendingKeyExchange.verify|verify} messages. * @param message PendingKeyExchange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SessionStructure.IPendingKeyExchange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PendingKeyExchange message, length delimited. Does not implicitly {@link waproto.SessionStructure.PendingKeyExchange.verify|verify} messages. * @param message PendingKeyExchange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SessionStructure.IPendingKeyExchange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PendingKeyExchange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PendingKeyExchange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure.PendingKeyExchange; /** * Decodes a PendingKeyExchange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PendingKeyExchange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure.PendingKeyExchange; /** * Verifies a PendingKeyExchange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PendingKeyExchange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PendingKeyExchange */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure.PendingKeyExchange; /** * Creates a plain object from a PendingKeyExchange message. Also converts values to other types if specified. * @param message PendingKeyExchange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure.PendingKeyExchange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PendingKeyExchange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PendingKeyExchange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Chain. */ interface IChain { /** Chain senderRatchetKey */ senderRatchetKey?: (Uint8Array|null); /** Chain senderRatchetKeyPrivate */ senderRatchetKeyPrivate?: (Uint8Array|null); /** Chain chainKey */ chainKey?: (waproto.SessionStructure.Chain.IChainKey|null); /** Chain messageKeys */ messageKeys?: (waproto.SessionStructure.Chain.IMessageKey[]|null); } /** Represents a Chain. */ class Chain implements IChain { /** * Constructs a new Chain. * @param [properties] Properties to set */ constructor(properties?: waproto.SessionStructure.IChain); /** Chain senderRatchetKey. */ public senderRatchetKey?: (Uint8Array|null); /** Chain senderRatchetKeyPrivate. */ public senderRatchetKeyPrivate?: (Uint8Array|null); /** Chain chainKey. */ public chainKey?: (waproto.SessionStructure.Chain.IChainKey|null); /** Chain messageKeys. */ public messageKeys: waproto.SessionStructure.Chain.IMessageKey[]; /** * Creates a new Chain instance using the specified properties. * @param [properties] Properties to set * @returns Chain instance */ public static create(properties?: waproto.SessionStructure.IChain): waproto.SessionStructure.Chain; /** * Encodes the specified Chain message. Does not implicitly {@link waproto.SessionStructure.Chain.verify|verify} messages. * @param message Chain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SessionStructure.IChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Chain message, length delimited. Does not implicitly {@link waproto.SessionStructure.Chain.verify|verify} messages. * @param message Chain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SessionStructure.IChain, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Chain message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Chain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure.Chain; /** * Decodes a Chain message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Chain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure.Chain; /** * Verifies a Chain message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Chain message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Chain */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure.Chain; /** * Creates a plain object from a Chain message. Also converts values to other types if specified. * @param message Chain * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure.Chain, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Chain to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Chain * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Chain { /** Properties of a MessageKey. */ interface IMessageKey { /** MessageKey index */ index?: (number|null); /** MessageKey cipherKey */ cipherKey?: (Uint8Array|null); /** MessageKey macKey */ macKey?: (Uint8Array|null); /** MessageKey iv */ iv?: (Uint8Array|null); } /** Represents a MessageKey. */ class MessageKey implements IMessageKey { /** * Constructs a new MessageKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SessionStructure.Chain.IMessageKey); /** MessageKey index. */ public index?: (number|null); /** MessageKey cipherKey. */ public cipherKey?: (Uint8Array|null); /** MessageKey macKey. */ public macKey?: (Uint8Array|null); /** MessageKey iv. */ public iv?: (Uint8Array|null); /** * Creates a new MessageKey instance using the specified properties. * @param [properties] Properties to set * @returns MessageKey instance */ public static create(properties?: waproto.SessionStructure.Chain.IMessageKey): waproto.SessionStructure.Chain.MessageKey; /** * Encodes the specified MessageKey message. Does not implicitly {@link waproto.SessionStructure.Chain.MessageKey.verify|verify} messages. * @param message MessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SessionStructure.Chain.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageKey message, length delimited. Does not implicitly {@link waproto.SessionStructure.Chain.MessageKey.verify|verify} messages. * @param message MessageKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SessionStructure.Chain.IMessageKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure.Chain.MessageKey; /** * Decodes a MessageKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MessageKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure.Chain.MessageKey; /** * Verifies a MessageKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageKey */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure.Chain.MessageKey; /** * Creates a plain object from a MessageKey message. Also converts values to other types if specified. * @param message MessageKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure.Chain.MessageKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MessageKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChainKey. */ interface IChainKey { /** ChainKey index */ index?: (number|null); /** ChainKey key */ key?: (Uint8Array|null); } /** Represents a ChainKey. */ class ChainKey implements IChainKey { /** * Constructs a new ChainKey. * @param [properties] Properties to set */ constructor(properties?: waproto.SessionStructure.Chain.IChainKey); /** ChainKey index. */ public index?: (number|null); /** ChainKey key. */ public key?: (Uint8Array|null); /** * Creates a new ChainKey instance using the specified properties. * @param [properties] Properties to set * @returns ChainKey instance */ public static create(properties?: waproto.SessionStructure.Chain.IChainKey): waproto.SessionStructure.Chain.ChainKey; /** * Encodes the specified ChainKey message. Does not implicitly {@link waproto.SessionStructure.Chain.ChainKey.verify|verify} messages. * @param message ChainKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SessionStructure.Chain.IChainKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChainKey message, length delimited. Does not implicitly {@link waproto.SessionStructure.Chain.ChainKey.verify|verify} messages. * @param message ChainKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SessionStructure.Chain.IChainKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChainKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChainKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionStructure.Chain.ChainKey; /** * Decodes a ChainKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChainKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionStructure.Chain.ChainKey; /** * Verifies a ChainKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChainKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChainKey */ public static fromObject(object: { [k: string]: any }): waproto.SessionStructure.Chain.ChainKey; /** * Creates a plain object from a ChainKey message. Also converts values to other types if specified. * @param message ChainKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionStructure.Chain.ChainKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChainKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChainKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a SessionTransparencyMetadata. */ interface ISessionTransparencyMetadata { /** SessionTransparencyMetadata disclaimerText */ disclaimerText?: (string|null); /** SessionTransparencyMetadata hcaId */ hcaId?: (string|null); /** SessionTransparencyMetadata sessionTransparencyType */ sessionTransparencyType?: (waproto.SessionTransparencyType|null); } /** Represents a SessionTransparencyMetadata. */ class SessionTransparencyMetadata implements ISessionTransparencyMetadata { /** * Constructs a new SessionTransparencyMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.ISessionTransparencyMetadata); /** SessionTransparencyMetadata disclaimerText. */ public disclaimerText?: (string|null); /** SessionTransparencyMetadata hcaId. */ public hcaId?: (string|null); /** SessionTransparencyMetadata sessionTransparencyType. */ public sessionTransparencyType?: (waproto.SessionTransparencyType|null); /** * Creates a new SessionTransparencyMetadata instance using the specified properties. * @param [properties] Properties to set * @returns SessionTransparencyMetadata instance */ public static create(properties?: waproto.ISessionTransparencyMetadata): waproto.SessionTransparencyMetadata; /** * Encodes the specified SessionTransparencyMetadata message. Does not implicitly {@link waproto.SessionTransparencyMetadata.verify|verify} messages. * @param message SessionTransparencyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISessionTransparencyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SessionTransparencyMetadata message, length delimited. Does not implicitly {@link waproto.SessionTransparencyMetadata.verify|verify} messages. * @param message SessionTransparencyMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISessionTransparencyMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SessionTransparencyMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SessionTransparencyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SessionTransparencyMetadata; /** * Decodes a SessionTransparencyMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SessionTransparencyMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SessionTransparencyMetadata; /** * Verifies a SessionTransparencyMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SessionTransparencyMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SessionTransparencyMetadata */ public static fromObject(object: { [k: string]: any }): waproto.SessionTransparencyMetadata; /** * Creates a plain object from a SessionTransparencyMetadata message. Also converts values to other types if specified. * @param message SessionTransparencyMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SessionTransparencyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SessionTransparencyMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SessionTransparencyMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SignalMessage. */ interface ISignalMessage { /** SignalMessage ratchetKey */ ratchetKey?: (Uint8Array|null); /** SignalMessage counter */ counter?: (number|null); /** SignalMessage previousCounter */ previousCounter?: (number|null); /** SignalMessage ciphertext */ ciphertext?: (Uint8Array|null); } /** Represents a SignalMessage. */ class SignalMessage implements ISignalMessage { /** * Constructs a new SignalMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.ISignalMessage); /** SignalMessage ratchetKey. */ public ratchetKey?: (Uint8Array|null); /** SignalMessage counter. */ public counter?: (number|null); /** SignalMessage previousCounter. */ public previousCounter?: (number|null); /** SignalMessage ciphertext. */ public ciphertext?: (Uint8Array|null); /** * Creates a new SignalMessage instance using the specified properties. * @param [properties] Properties to set * @returns SignalMessage instance */ public static create(properties?: waproto.ISignalMessage): waproto.SignalMessage; /** * Encodes the specified SignalMessage message. Does not implicitly {@link waproto.SignalMessage.verify|verify} messages. * @param message SignalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISignalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignalMessage message, length delimited. Does not implicitly {@link waproto.SignalMessage.verify|verify} messages. * @param message SignalMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISignalMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignalMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignalMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SignalMessage; /** * Decodes a SignalMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignalMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SignalMessage; /** * Verifies a SignalMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignalMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignalMessage */ public static fromObject(object: { [k: string]: any }): waproto.SignalMessage; /** * Creates a plain object from a SignalMessage message. Also converts values to other types if specified. * @param message SignalMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SignalMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignalMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SignalMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SignedMmkDistributionFromMailbox. */ interface ISignedMmkDistributionFromMailbox { /** SignedMmkDistributionFromMailbox mmkDistribution */ mmkDistribution?: (waproto.IMmkDistribution|null); /** SignedMmkDistributionFromMailbox signature */ signature?: (Uint8Array|null); /** SignedMmkDistributionFromMailbox fromMailbox */ fromMailbox?: (waproto.IMessagingMailboxPublicData|null); } /** Represents a SignedMmkDistributionFromMailbox. */ class SignedMmkDistributionFromMailbox implements ISignedMmkDistributionFromMailbox { /** * Constructs a new SignedMmkDistributionFromMailbox. * @param [properties] Properties to set */ constructor(properties?: waproto.ISignedMmkDistributionFromMailbox); /** SignedMmkDistributionFromMailbox mmkDistribution. */ public mmkDistribution?: (waproto.IMmkDistribution|null); /** SignedMmkDistributionFromMailbox signature. */ public signature?: (Uint8Array|null); /** SignedMmkDistributionFromMailbox fromMailbox. */ public fromMailbox?: (waproto.IMessagingMailboxPublicData|null); /** * Creates a new SignedMmkDistributionFromMailbox instance using the specified properties. * @param [properties] Properties to set * @returns SignedMmkDistributionFromMailbox instance */ public static create(properties?: waproto.ISignedMmkDistributionFromMailbox): waproto.SignedMmkDistributionFromMailbox; /** * Encodes the specified SignedMmkDistributionFromMailbox message. Does not implicitly {@link waproto.SignedMmkDistributionFromMailbox.verify|verify} messages. * @param message SignedMmkDistributionFromMailbox message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISignedMmkDistributionFromMailbox, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignedMmkDistributionFromMailbox message, length delimited. Does not implicitly {@link waproto.SignedMmkDistributionFromMailbox.verify|verify} messages. * @param message SignedMmkDistributionFromMailbox message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISignedMmkDistributionFromMailbox, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignedMmkDistributionFromMailbox message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignedMmkDistributionFromMailbox * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SignedMmkDistributionFromMailbox; /** * Decodes a SignedMmkDistributionFromMailbox message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignedMmkDistributionFromMailbox * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SignedMmkDistributionFromMailbox; /** * Verifies a SignedMmkDistributionFromMailbox message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignedMmkDistributionFromMailbox message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignedMmkDistributionFromMailbox */ public static fromObject(object: { [k: string]: any }): waproto.SignedMmkDistributionFromMailbox; /** * Creates a plain object from a SignedMmkDistributionFromMailbox message. Also converts values to other types if specified. * @param message SignedMmkDistributionFromMailbox * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SignedMmkDistributionFromMailbox, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignedMmkDistributionFromMailbox to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SignedMmkDistributionFromMailbox * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SignedPreKeyRecordStructure. */ interface ISignedPreKeyRecordStructure { /** SignedPreKeyRecordStructure id */ id?: (number|null); /** SignedPreKeyRecordStructure publicKey */ publicKey?: (Uint8Array|null); /** SignedPreKeyRecordStructure privateKey */ privateKey?: (Uint8Array|null); /** SignedPreKeyRecordStructure signature */ signature?: (Uint8Array|null); /** SignedPreKeyRecordStructure timestamp */ timestamp?: (number|Long|null); } /** Represents a SignedPreKeyRecordStructure. */ class SignedPreKeyRecordStructure implements ISignedPreKeyRecordStructure { /** * Constructs a new SignedPreKeyRecordStructure. * @param [properties] Properties to set */ constructor(properties?: waproto.ISignedPreKeyRecordStructure); /** SignedPreKeyRecordStructure id. */ public id?: (number|null); /** SignedPreKeyRecordStructure publicKey. */ public publicKey?: (Uint8Array|null); /** SignedPreKeyRecordStructure privateKey. */ public privateKey?: (Uint8Array|null); /** SignedPreKeyRecordStructure signature. */ public signature?: (Uint8Array|null); /** SignedPreKeyRecordStructure timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new SignedPreKeyRecordStructure instance using the specified properties. * @param [properties] Properties to set * @returns SignedPreKeyRecordStructure instance */ public static create(properties?: waproto.ISignedPreKeyRecordStructure): waproto.SignedPreKeyRecordStructure; /** * Encodes the specified SignedPreKeyRecordStructure message. Does not implicitly {@link waproto.SignedPreKeyRecordStructure.verify|verify} messages. * @param message SignedPreKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISignedPreKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignedPreKeyRecordStructure message, length delimited. Does not implicitly {@link waproto.SignedPreKeyRecordStructure.verify|verify} messages. * @param message SignedPreKeyRecordStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISignedPreKeyRecordStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignedPreKeyRecordStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignedPreKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SignedPreKeyRecordStructure; /** * Decodes a SignedPreKeyRecordStructure message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignedPreKeyRecordStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SignedPreKeyRecordStructure; /** * Verifies a SignedPreKeyRecordStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignedPreKeyRecordStructure message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignedPreKeyRecordStructure */ public static fromObject(object: { [k: string]: any }): waproto.SignedPreKeyRecordStructure; /** * Creates a plain object from a SignedPreKeyRecordStructure message. Also converts values to other types if specified. * @param message SignedPreKeyRecordStructure * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SignedPreKeyRecordStructure, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignedPreKeyRecordStructure to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SignedPreKeyRecordStructure * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusAttribution. */ interface IStatusAttribution { /** StatusAttribution type */ type?: (waproto.StatusAttribution.Type|null); /** StatusAttribution actionUrl */ actionUrl?: (string|null); /** StatusAttribution statusReshare */ statusReshare?: (waproto.StatusAttribution.IStatusReshare|null); /** StatusAttribution externalShare */ externalShare?: (waproto.StatusAttribution.IExternalShare|null); /** StatusAttribution music */ music?: (waproto.StatusAttribution.IMusic|null); /** StatusAttribution groupStatus */ groupStatus?: (waproto.StatusAttribution.IGroupStatus|null); /** StatusAttribution rlAttribution */ rlAttribution?: (waproto.StatusAttribution.IRLAttribution|null); /** StatusAttribution aiCreatedAttribution */ aiCreatedAttribution?: (waproto.StatusAttribution.IAiCreatedAttribution|null); } /** Represents a StatusAttribution. */ class StatusAttribution implements IStatusAttribution { /** * Constructs a new StatusAttribution. * @param [properties] Properties to set */ constructor(properties?: waproto.IStatusAttribution); /** StatusAttribution type. */ public type?: (waproto.StatusAttribution.Type|null); /** StatusAttribution actionUrl. */ public actionUrl?: (string|null); /** StatusAttribution statusReshare. */ public statusReshare?: (waproto.StatusAttribution.IStatusReshare|null); /** StatusAttribution externalShare. */ public externalShare?: (waproto.StatusAttribution.IExternalShare|null); /** StatusAttribution music. */ public music?: (waproto.StatusAttribution.IMusic|null); /** StatusAttribution groupStatus. */ public groupStatus?: (waproto.StatusAttribution.IGroupStatus|null); /** StatusAttribution rlAttribution. */ public rlAttribution?: (waproto.StatusAttribution.IRLAttribution|null); /** StatusAttribution aiCreatedAttribution. */ public aiCreatedAttribution?: (waproto.StatusAttribution.IAiCreatedAttribution|null); /** StatusAttribution attributionData. */ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus"|"rlAttribution"|"aiCreatedAttribution"); /** * Creates a new StatusAttribution instance using the specified properties. * @param [properties] Properties to set * @returns StatusAttribution instance */ public static create(properties?: waproto.IStatusAttribution): waproto.StatusAttribution; /** * Encodes the specified StatusAttribution message. Does not implicitly {@link waproto.StatusAttribution.verify|verify} messages. * @param message StatusAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusAttribution message, length delimited. Does not implicitly {@link waproto.StatusAttribution.verify|verify} messages. * @param message StatusAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusAttribution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution; /** * Decodes a StatusAttribution message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution; /** * Verifies a StatusAttribution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusAttribution message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusAttribution */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution; /** * Creates a plain object from a StatusAttribution message. Also converts values to other types if specified. * @param message StatusAttribution * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusAttribution to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusAttribution * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusAttribution { /** Type enum. */ enum Type { UNKNOWN = 0, RESHARE = 1, EXTERNAL_SHARE = 2, MUSIC = 3, STATUS_MENTION = 4, GROUP_STATUS = 5, RL_ATTRIBUTION = 6, AI_CREATED = 7, LAYOUTS = 8, NEWSLETTER_STATUS = 9, STATUS_CLOSE_SHARING = 10, PAID_PARTNERSHIP = 11, USERNAME_STATUS = 12 } /** Properties of an AiCreatedAttribution. */ interface IAiCreatedAttribution { /** AiCreatedAttribution source */ source?: (waproto.StatusAttribution.AiCreatedAttribution.Source|null); } /** Represents an AiCreatedAttribution. */ class AiCreatedAttribution implements IAiCreatedAttribution { /** * Constructs a new AiCreatedAttribution. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IAiCreatedAttribution); /** AiCreatedAttribution source. */ public source?: (waproto.StatusAttribution.AiCreatedAttribution.Source|null); /** * Creates a new AiCreatedAttribution instance using the specified properties. * @param [properties] Properties to set * @returns AiCreatedAttribution instance */ public static create(properties?: waproto.StatusAttribution.IAiCreatedAttribution): waproto.StatusAttribution.AiCreatedAttribution; /** * Encodes the specified AiCreatedAttribution message. Does not implicitly {@link waproto.StatusAttribution.AiCreatedAttribution.verify|verify} messages. * @param message AiCreatedAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IAiCreatedAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AiCreatedAttribution message, length delimited. Does not implicitly {@link waproto.StatusAttribution.AiCreatedAttribution.verify|verify} messages. * @param message AiCreatedAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IAiCreatedAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AiCreatedAttribution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AiCreatedAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.AiCreatedAttribution; /** * Decodes an AiCreatedAttribution message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AiCreatedAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.AiCreatedAttribution; /** * Verifies an AiCreatedAttribution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AiCreatedAttribution message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AiCreatedAttribution */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.AiCreatedAttribution; /** * Creates a plain object from an AiCreatedAttribution message. Also converts values to other types if specified. * @param message AiCreatedAttribution * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.AiCreatedAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AiCreatedAttribution to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AiCreatedAttribution * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AiCreatedAttribution { /** Source enum. */ enum Source { UNKNOWN = 0, STATUS_MIMICRY = 1 } } /** Properties of a RLAttribution. */ interface IRLAttribution { /** RLAttribution source */ source?: (waproto.StatusAttribution.RLAttribution.Source|null); } /** Represents a RLAttribution. */ class RLAttribution implements IRLAttribution { /** * Constructs a new RLAttribution. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IRLAttribution); /** RLAttribution source. */ public source?: (waproto.StatusAttribution.RLAttribution.Source|null); /** * Creates a new RLAttribution instance using the specified properties. * @param [properties] Properties to set * @returns RLAttribution instance */ public static create(properties?: waproto.StatusAttribution.IRLAttribution): waproto.StatusAttribution.RLAttribution; /** * Encodes the specified RLAttribution message. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages. * @param message RLAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IRLAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RLAttribution message, length delimited. Does not implicitly {@link waproto.StatusAttribution.RLAttribution.verify|verify} messages. * @param message RLAttribution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IRLAttribution, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RLAttribution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RLAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.RLAttribution; /** * Decodes a RLAttribution message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RLAttribution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.RLAttribution; /** * Verifies a RLAttribution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RLAttribution message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RLAttribution */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.RLAttribution; /** * Creates a plain object from a RLAttribution message. Also converts values to other types if specified. * @param message RLAttribution * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.RLAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RLAttribution to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RLAttribution * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RLAttribution { /** Source enum. */ enum Source { UNKNOWN = 0, RAY_BAN_META_GLASSES = 1, OAKLEY_META_GLASSES = 2, HYPERNOVA_GLASSES = 3 } } /** Properties of a GroupStatus. */ interface IGroupStatus { /** GroupStatus authorJid */ authorJid?: (string|null); } /** Represents a GroupStatus. */ class GroupStatus implements IGroupStatus { /** * Constructs a new GroupStatus. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IGroupStatus); /** GroupStatus authorJid. */ public authorJid?: (string|null); /** * Creates a new GroupStatus instance using the specified properties. * @param [properties] Properties to set * @returns GroupStatus instance */ public static create(properties?: waproto.StatusAttribution.IGroupStatus): waproto.StatusAttribution.GroupStatus; /** * Encodes the specified GroupStatus message. Does not implicitly {@link waproto.StatusAttribution.GroupStatus.verify|verify} messages. * @param message GroupStatus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link waproto.StatusAttribution.GroupStatus.verify|verify} messages. * @param message GroupStatus message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupStatus message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupStatus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.GroupStatus; /** * Decodes a GroupStatus message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupStatus * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.GroupStatus; /** * Verifies a GroupStatus message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupStatus */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.GroupStatus; /** * Creates a plain object from a GroupStatus message. Also converts values to other types if specified. * @param message GroupStatus * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupStatus to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupStatus * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Music. */ interface IMusic { /** Music authorName */ authorName?: (string|null); /** Music songId */ songId?: (string|null); /** Music title */ title?: (string|null); /** Music author */ author?: (string|null); /** Music artistAttribution */ artistAttribution?: (string|null); /** Music isExplicit */ isExplicit?: (boolean|null); } /** Represents a Music. */ class Music implements IMusic { /** * Constructs a new Music. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IMusic); /** Music authorName. */ public authorName?: (string|null); /** Music songId. */ public songId?: (string|null); /** Music title. */ public title?: (string|null); /** Music author. */ public author?: (string|null); /** Music artistAttribution. */ public artistAttribution?: (string|null); /** Music isExplicit. */ public isExplicit?: (boolean|null); /** * Creates a new Music instance using the specified properties. * @param [properties] Properties to set * @returns Music instance */ public static create(properties?: waproto.StatusAttribution.IMusic): waproto.StatusAttribution.Music; /** * Encodes the specified Music message. Does not implicitly {@link waproto.StatusAttribution.Music.verify|verify} messages. * @param message Music message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Music message, length delimited. Does not implicitly {@link waproto.StatusAttribution.Music.verify|verify} messages. * @param message Music message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Music message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Music * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.Music; /** * Decodes a Music message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Music * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.Music; /** * Verifies a Music message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Music message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Music */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.Music; /** * Creates a plain object from a Music message. Also converts values to other types if specified. * @param message Music * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.Music, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Music to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Music * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExternalShare. */ interface IExternalShare { /** ExternalShare actionUrl */ actionUrl?: (string|null); /** ExternalShare source */ source?: (waproto.StatusAttribution.ExternalShare.Source|null); /** ExternalShare duration */ duration?: (number|null); /** ExternalShare actionFallbackUrl */ actionFallbackUrl?: (string|null); } /** Represents an ExternalShare. */ class ExternalShare implements IExternalShare { /** * Constructs a new ExternalShare. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IExternalShare); /** ExternalShare actionUrl. */ public actionUrl?: (string|null); /** ExternalShare source. */ public source?: (waproto.StatusAttribution.ExternalShare.Source|null); /** ExternalShare duration. */ public duration?: (number|null); /** ExternalShare actionFallbackUrl. */ public actionFallbackUrl?: (string|null); /** * Creates a new ExternalShare instance using the specified properties. * @param [properties] Properties to set * @returns ExternalShare instance */ public static create(properties?: waproto.StatusAttribution.IExternalShare): waproto.StatusAttribution.ExternalShare; /** * Encodes the specified ExternalShare message. Does not implicitly {@link waproto.StatusAttribution.ExternalShare.verify|verify} messages. * @param message ExternalShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExternalShare message, length delimited. Does not implicitly {@link waproto.StatusAttribution.ExternalShare.verify|verify} messages. * @param message ExternalShare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExternalShare message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExternalShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.ExternalShare; /** * Decodes an ExternalShare message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExternalShare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.ExternalShare; /** * Verifies an ExternalShare message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExternalShare message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExternalShare */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.ExternalShare; /** * Creates a plain object from an ExternalShare message. Also converts values to other types if specified. * @param message ExternalShare * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.ExternalShare, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExternalShare to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExternalShare * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ExternalShare { /** Source enum. */ enum Source { UNKNOWN = 0, INSTAGRAM = 1, FACEBOOK = 2, MESSENGER = 3, SPOTIFY = 4, YOUTUBE = 5, PINTEREST = 6, THREADS = 7, APPLE_MUSIC = 8, SHARECHAT = 9, GOOGLE_PHOTOS = 10, SOUNDCLOUD = 11, SHAZAM = 12, PICSART = 13 } } /** Properties of a StatusReshare. */ interface IStatusReshare { /** StatusReshare source */ source?: (waproto.StatusAttribution.StatusReshare.Source|null); /** StatusReshare metadata */ metadata?: (waproto.StatusAttribution.StatusReshare.IMetadata|null); } /** Represents a StatusReshare. */ class StatusReshare implements IStatusReshare { /** * Constructs a new StatusReshare. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.IStatusReshare); /** StatusReshare source. */ public source?: (waproto.StatusAttribution.StatusReshare.Source|null); /** StatusReshare metadata. */ public metadata?: (waproto.StatusAttribution.StatusReshare.IMetadata|null); /** * Creates a new StatusReshare instance using the specified properties. * @param [properties] Properties to set * @returns StatusReshare instance */ public static create(properties?: waproto.StatusAttribution.IStatusReshare): waproto.StatusAttribution.StatusReshare; /** * Encodes the specified StatusReshare message. Does not implicitly {@link waproto.StatusAttribution.StatusReshare.verify|verify} messages. * @param message StatusReshare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusReshare message, length delimited. Does not implicitly {@link waproto.StatusAttribution.StatusReshare.verify|verify} messages. * @param message StatusReshare message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusReshare message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusReshare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.StatusReshare; /** * Decodes a StatusReshare message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusReshare * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.StatusReshare; /** * Verifies a StatusReshare message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusReshare message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusReshare */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.StatusReshare; /** * Creates a plain object from a StatusReshare message. Also converts values to other types if specified. * @param message StatusReshare * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.StatusReshare, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusReshare to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusReshare * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusReshare { /** Source enum. */ enum Source { UNKNOWN = 0, INTERNAL_RESHARE = 1, MENTION_RESHARE = 2, CHANNEL_RESHARE = 3, FORWARD = 4 } /** Properties of a Metadata. */ interface IMetadata { /** Metadata duration */ duration?: (number|null); /** Metadata channelJid */ channelJid?: (string|null); /** Metadata channelMessageId */ channelMessageId?: (number|null); /** Metadata hasMultipleReshares */ hasMultipleReshares?: (boolean|null); } /** Represents a Metadata. */ class Metadata implements IMetadata { /** * Constructs a new Metadata. * @param [properties] Properties to set */ constructor(properties?: waproto.StatusAttribution.StatusReshare.IMetadata); /** Metadata duration. */ public duration?: (number|null); /** Metadata channelJid. */ public channelJid?: (string|null); /** Metadata channelMessageId. */ public channelMessageId?: (number|null); /** Metadata hasMultipleReshares. */ public hasMultipleReshares?: (boolean|null); /** * Creates a new Metadata instance using the specified properties. * @param [properties] Properties to set * @returns Metadata instance */ public static create(properties?: waproto.StatusAttribution.StatusReshare.IMetadata): waproto.StatusAttribution.StatusReshare.Metadata; /** * Encodes the specified Metadata message. Does not implicitly {@link waproto.StatusAttribution.StatusReshare.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Metadata message, length delimited. Does not implicitly {@link waproto.StatusAttribution.StatusReshare.Metadata.verify|verify} messages. * @param message Metadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Metadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusAttribution.StatusReshare.Metadata; /** * Decodes a Metadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Metadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusAttribution.StatusReshare.Metadata; /** * Verifies a Metadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Metadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Metadata */ public static fromObject(object: { [k: string]: any }): waproto.StatusAttribution.StatusReshare.Metadata; /** * Creates a plain object from a Metadata message. Also converts values to other types if specified. * @param message Metadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusAttribution.StatusReshare.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Metadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Metadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a StatusMentionMessage. */ interface IStatusMentionMessage { /** StatusMentionMessage quotedStatus */ quotedStatus?: (waproto.IMessage|null); } /** Represents a StatusMentionMessage. */ class StatusMentionMessage implements IStatusMentionMessage { /** * Constructs a new StatusMentionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.IStatusMentionMessage); /** StatusMentionMessage quotedStatus. */ public quotedStatus?: (waproto.IMessage|null); /** * Creates a new StatusMentionMessage instance using the specified properties. * @param [properties] Properties to set * @returns StatusMentionMessage instance */ public static create(properties?: waproto.IStatusMentionMessage): waproto.StatusMentionMessage; /** * Encodes the specified StatusMentionMessage message. Does not implicitly {@link waproto.StatusMentionMessage.verify|verify} messages. * @param message StatusMentionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStatusMentionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusMentionMessage message, length delimited. Does not implicitly {@link waproto.StatusMentionMessage.verify|verify} messages. * @param message StatusMentionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStatusMentionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusMentionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusMentionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusMentionMessage; /** * Decodes a StatusMentionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusMentionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusMentionMessage; /** * Verifies a StatusMentionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusMentionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusMentionMessage */ public static fromObject(object: { [k: string]: any }): waproto.StatusMentionMessage; /** * Creates a plain object from a StatusMentionMessage message. Also converts values to other types if specified. * @param message StatusMentionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusMentionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusMentionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusMentionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusPSA. */ interface IStatusPSA { /** StatusPSA campaignId */ campaignId?: (number|Long|null); /** StatusPSA campaignExpirationTimestamp */ campaignExpirationTimestamp?: (number|Long|null); } /** Represents a StatusPSA. */ class StatusPSA implements IStatusPSA { /** * Constructs a new StatusPSA. * @param [properties] Properties to set */ constructor(properties?: waproto.IStatusPSA); /** StatusPSA campaignId. */ public campaignId?: (number|Long|null); /** StatusPSA campaignExpirationTimestamp. */ public campaignExpirationTimestamp?: (number|Long|null); /** * Creates a new StatusPSA instance using the specified properties. * @param [properties] Properties to set * @returns StatusPSA instance */ public static create(properties?: waproto.IStatusPSA): waproto.StatusPSA; /** * Encodes the specified StatusPSA message. Does not implicitly {@link waproto.StatusPSA.verify|verify} messages. * @param message StatusPSA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStatusPSA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusPSA message, length delimited. Does not implicitly {@link waproto.StatusPSA.verify|verify} messages. * @param message StatusPSA message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStatusPSA, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusPSA message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusPSA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusPSA; /** * Decodes a StatusPSA message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusPSA * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusPSA; /** * Verifies a StatusPSA message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusPSA message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusPSA */ public static fromObject(object: { [k: string]: any }): waproto.StatusPSA; /** * Creates a plain object from a StatusPSA message. Also converts values to other types if specified. * @param message StatusPSA * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusPSA, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusPSA to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusPSA * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusTsPerUserProto. */ interface IStatusTsPerUserProto { /** StatusTsPerUserProto userJid */ userJid?: (string|null); /** StatusTsPerUserProto dbUserStatusTs */ dbUserStatusTs?: (waproto.IDbUserStatusTsProto|null); } /** Represents a StatusTsPerUserProto. */ class StatusTsPerUserProto implements IStatusTsPerUserProto { /** * Constructs a new StatusTsPerUserProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IStatusTsPerUserProto); /** StatusTsPerUserProto userJid. */ public userJid?: (string|null); /** StatusTsPerUserProto dbUserStatusTs. */ public dbUserStatusTs?: (waproto.IDbUserStatusTsProto|null); /** * Creates a new StatusTsPerUserProto instance using the specified properties. * @param [properties] Properties to set * @returns StatusTsPerUserProto instance */ public static create(properties?: waproto.IStatusTsPerUserProto): waproto.StatusTsPerUserProto; /** * Encodes the specified StatusTsPerUserProto message. Does not implicitly {@link waproto.StatusTsPerUserProto.verify|verify} messages. * @param message StatusTsPerUserProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStatusTsPerUserProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusTsPerUserProto message, length delimited. Does not implicitly {@link waproto.StatusTsPerUserProto.verify|verify} messages. * @param message StatusTsPerUserProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStatusTsPerUserProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusTsPerUserProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusTsPerUserProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StatusTsPerUserProto; /** * Decodes a StatusTsPerUserProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusTsPerUserProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StatusTsPerUserProto; /** * Verifies a StatusTsPerUserProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusTsPerUserProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusTsPerUserProto */ public static fromObject(object: { [k: string]: any }): waproto.StatusTsPerUserProto; /** * Creates a plain object from a StatusTsPerUserProto message. Also converts values to other types if specified. * @param message StatusTsPerUserProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StatusTsPerUserProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusTsPerUserProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusTsPerUserProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StickerMetadata. */ interface IStickerMetadata { /** StickerMetadata url */ url?: (string|null); /** StickerMetadata fileSha256 */ fileSha256?: (Uint8Array|null); /** StickerMetadata fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** StickerMetadata mediaKey */ mediaKey?: (Uint8Array|null); /** StickerMetadata mimetype */ mimetype?: (string|null); /** StickerMetadata height */ height?: (number|null); /** StickerMetadata width */ width?: (number|null); /** StickerMetadata directPath */ directPath?: (string|null); /** StickerMetadata fileLength */ fileLength?: (number|Long|null); /** StickerMetadata weight */ weight?: (number|null); /** StickerMetadata lastStickerSentTs */ lastStickerSentTs?: (number|Long|null); /** StickerMetadata isLottie */ isLottie?: (boolean|null); /** StickerMetadata imageHash */ imageHash?: (string|null); /** StickerMetadata isAvatarSticker */ isAvatarSticker?: (boolean|null); } /** Represents a StickerMetadata. */ class StickerMetadata implements IStickerMetadata { /** * Constructs a new StickerMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.IStickerMetadata); /** StickerMetadata url. */ public url?: (string|null); /** StickerMetadata fileSha256. */ public fileSha256?: (Uint8Array|null); /** StickerMetadata fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** StickerMetadata mediaKey. */ public mediaKey?: (Uint8Array|null); /** StickerMetadata mimetype. */ public mimetype?: (string|null); /** StickerMetadata height. */ public height?: (number|null); /** StickerMetadata width. */ public width?: (number|null); /** StickerMetadata directPath. */ public directPath?: (string|null); /** StickerMetadata fileLength. */ public fileLength?: (number|Long|null); /** StickerMetadata weight. */ public weight?: (number|null); /** StickerMetadata lastStickerSentTs. */ public lastStickerSentTs?: (number|Long|null); /** StickerMetadata isLottie. */ public isLottie?: (boolean|null); /** StickerMetadata imageHash. */ public imageHash?: (string|null); /** StickerMetadata isAvatarSticker. */ public isAvatarSticker?: (boolean|null); /** * Creates a new StickerMetadata instance using the specified properties. * @param [properties] Properties to set * @returns StickerMetadata instance */ public static create(properties?: waproto.IStickerMetadata): waproto.StickerMetadata; /** * Encodes the specified StickerMetadata message. Does not implicitly {@link waproto.StickerMetadata.verify|verify} messages. * @param message StickerMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerMetadata message, length delimited. Does not implicitly {@link waproto.StickerMetadata.verify|verify} messages. * @param message StickerMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStickerMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StickerMetadata; /** * Decodes a StickerMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StickerMetadata; /** * Verifies a StickerMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerMetadata */ public static fromObject(object: { [k: string]: any }): waproto.StickerMetadata; /** * Creates a plain object from a StickerMetadata message. Also converts values to other types if specified. * @param message StickerMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StickerMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StickerTransport. */ interface IStickerTransport { /** StickerTransport integral */ integral?: (waproto.StickerTransport.IIntegral|null); /** StickerTransport ancillary */ ancillary?: (waproto.StickerTransport.IAncillary|null); } /** Represents a StickerTransport. */ class StickerTransport implements IStickerTransport { /** * Constructs a new StickerTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IStickerTransport); /** StickerTransport integral. */ public integral?: (waproto.StickerTransport.IIntegral|null); /** StickerTransport ancillary. */ public ancillary?: (waproto.StickerTransport.IAncillary|null); /** * Creates a new StickerTransport instance using the specified properties. * @param [properties] Properties to set * @returns StickerTransport instance */ public static create(properties?: waproto.IStickerTransport): waproto.StickerTransport; /** * Encodes the specified StickerTransport message. Does not implicitly {@link waproto.StickerTransport.verify|verify} messages. * @param message StickerTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IStickerTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerTransport message, length delimited. Does not implicitly {@link waproto.StickerTransport.verify|verify} messages. * @param message StickerTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IStickerTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StickerTransport; /** * Decodes a StickerTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StickerTransport; /** * Verifies a StickerTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerTransport */ public static fromObject(object: { [k: string]: any }): waproto.StickerTransport; /** * Creates a plain object from a StickerTransport message. Also converts values to other types if specified. * @param message StickerTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StickerTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StickerTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary pageCount */ pageCount?: (number|null); /** Ancillary height */ height?: (number|null); /** Ancillary width */ width?: (number|null); /** Ancillary firstFrameLength */ firstFrameLength?: (number|null); /** Ancillary firstFrameSidecar */ firstFrameSidecar?: (Uint8Array|null); /** Ancillary mustacheText */ mustacheText?: (string|null); /** Ancillary isThirdParty */ isThirdParty?: (boolean|null); /** Ancillary receiverFetchId */ receiverFetchId?: (string|null); /** Ancillary accessibilityLabel */ accessibilityLabel?: (string|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.StickerTransport.IAncillary); /** Ancillary pageCount. */ public pageCount?: (number|null); /** Ancillary height. */ public height?: (number|null); /** Ancillary width. */ public width?: (number|null); /** Ancillary firstFrameLength. */ public firstFrameLength?: (number|null); /** Ancillary firstFrameSidecar. */ public firstFrameSidecar?: (Uint8Array|null); /** Ancillary mustacheText. */ public mustacheText?: (string|null); /** Ancillary isThirdParty. */ public isThirdParty?: (boolean|null); /** Ancillary receiverFetchId. */ public receiverFetchId?: (string|null); /** Ancillary accessibilityLabel. */ public accessibilityLabel?: (string|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.StickerTransport.IAncillary): waproto.StickerTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.StickerTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StickerTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.StickerTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StickerTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StickerTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StickerTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.StickerTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StickerTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Integral. */ interface IIntegral { /** Integral transport */ transport?: (waproto.IWAMediaTransport|null); /** Integral isAnimated */ isAnimated?: (boolean|null); /** Integral receiverFetchId */ receiverFetchId?: (string|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.StickerTransport.IIntegral); /** Integral transport. */ public transport?: (waproto.IWAMediaTransport|null); /** Integral isAnimated. */ public isAnimated?: (boolean|null); /** Integral receiverFetchId. */ public receiverFetchId?: (string|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.StickerTransport.IIntegral): waproto.StickerTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.StickerTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.StickerTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.StickerTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.StickerTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.StickerTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.StickerTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.StickerTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.StickerTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SubProtocol. */ interface ISubProtocol { /** SubProtocol payload */ payload?: (Uint8Array|null); /** SubProtocol version */ version?: (number|null); } /** Represents a SubProtocol. */ class SubProtocol implements ISubProtocol { /** * Constructs a new SubProtocol. * @param [properties] Properties to set */ constructor(properties?: waproto.ISubProtocol); /** SubProtocol payload. */ public payload?: (Uint8Array|null); /** SubProtocol version. */ public version?: (number|null); /** * Creates a new SubProtocol instance using the specified properties. * @param [properties] Properties to set * @returns SubProtocol instance */ public static create(properties?: waproto.ISubProtocol): waproto.SubProtocol; /** * Encodes the specified SubProtocol message. Does not implicitly {@link waproto.SubProtocol.verify|verify} messages. * @param message SubProtocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISubProtocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubProtocol message, length delimited. Does not implicitly {@link waproto.SubProtocol.verify|verify} messages. * @param message SubProtocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISubProtocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubProtocol message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubProtocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SubProtocol; /** * Decodes a SubProtocol message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubProtocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SubProtocol; /** * Verifies a SubProtocol message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubProtocol message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubProtocol */ public static fromObject(object: { [k: string]: any }): waproto.SubProtocol; /** * Creates a plain object from a SubProtocol message. Also converts values to other types if specified. * @param message SubProtocol * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SubProtocol, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubProtocol to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubProtocol * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Subprotocol. */ interface ISubprotocol { /** Subprotocol payload */ payload?: (Uint8Array|null); /** Subprotocol version */ version?: (number|null); } /** Represents a Subprotocol. */ class Subprotocol implements ISubprotocol { /** * Constructs a new Subprotocol. * @param [properties] Properties to set */ constructor(properties?: waproto.ISubprotocol); /** Subprotocol payload. */ public payload?: (Uint8Array|null); /** Subprotocol version. */ public version?: (number|null); /** * Creates a new Subprotocol instance using the specified properties. * @param [properties] Properties to set * @returns Subprotocol instance */ public static create(properties?: waproto.ISubprotocol): waproto.Subprotocol; /** * Encodes the specified Subprotocol message. Does not implicitly {@link waproto.Subprotocol.verify|verify} messages. * @param message Subprotocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISubprotocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Subprotocol message, length delimited. Does not implicitly {@link waproto.Subprotocol.verify|verify} messages. * @param message Subprotocol message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISubprotocol, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Subprotocol message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Subprotocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Subprotocol; /** * Decodes a Subprotocol message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Subprotocol * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Subprotocol; /** * Verifies a Subprotocol message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Subprotocol message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Subprotocol */ public static fromObject(object: { [k: string]: any }): waproto.Subprotocol; /** * Creates a plain object from a Subprotocol message. Also converts values to other types if specified. * @param message Subprotocol * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.Subprotocol, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Subprotocol to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Subprotocol * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncActionData. */ interface ISyncActionData { /** SyncActionData index */ index?: (Uint8Array|null); /** SyncActionData value */ value?: (waproto.ISyncActionValue|null); /** SyncActionData padding */ padding?: (Uint8Array|null); /** SyncActionData version */ version?: (number|null); } /** Represents a SyncActionData. */ class SyncActionData implements ISyncActionData { /** * Constructs a new SyncActionData. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncActionData); /** SyncActionData index. */ public index?: (Uint8Array|null); /** SyncActionData value. */ public value?: (waproto.ISyncActionValue|null); /** SyncActionData padding. */ public padding?: (Uint8Array|null); /** SyncActionData version. */ public version?: (number|null); /** * Creates a new SyncActionData instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionData instance */ public static create(properties?: waproto.ISyncActionData): waproto.SyncActionData; /** * Encodes the specified SyncActionData message. Does not implicitly {@link waproto.SyncActionData.verify|verify} messages. * @param message SyncActionData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncActionData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionData message, length delimited. Does not implicitly {@link waproto.SyncActionData.verify|verify} messages. * @param message SyncActionData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncActionData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionData; /** * Decodes a SyncActionData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionData; /** * Verifies a SyncActionData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionData */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionData; /** * Creates a plain object from a SyncActionData message. Also converts values to other types if specified. * @param message SyncActionData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncActionValue. */ interface ISyncActionValue { /** SyncActionValue timestamp */ timestamp?: (number|Long|null); /** SyncActionValue starAction */ starAction?: (waproto.SyncActionValue.IStarAction|null); /** SyncActionValue contactAction */ contactAction?: (waproto.SyncActionValue.IContactAction|null); /** SyncActionValue muteAction */ muteAction?: (waproto.SyncActionValue.IMuteAction|null); /** SyncActionValue pinAction */ pinAction?: (waproto.SyncActionValue.IPinAction|null); /** SyncActionValue pushNameSetting */ pushNameSetting?: (waproto.SyncActionValue.IPushNameSetting|null); /** SyncActionValue quickReplyAction */ quickReplyAction?: (waproto.SyncActionValue.IQuickReplyAction|null); /** SyncActionValue recentEmojiWeightsAction */ recentEmojiWeightsAction?: (waproto.SyncActionValue.IRecentEmojiWeightsAction|null); /** SyncActionValue labelEditAction */ labelEditAction?: (waproto.SyncActionValue.ILabelEditAction|null); /** SyncActionValue labelAssociationAction */ labelAssociationAction?: (waproto.SyncActionValue.ILabelAssociationAction|null); /** SyncActionValue localeSetting */ localeSetting?: (waproto.SyncActionValue.ILocaleSetting|null); /** SyncActionValue archiveChatAction */ archiveChatAction?: (waproto.SyncActionValue.IArchiveChatAction|null); /** SyncActionValue deleteMessageForMeAction */ deleteMessageForMeAction?: (waproto.SyncActionValue.IDeleteMessageForMeAction|null); /** SyncActionValue keyExpiration */ keyExpiration?: (waproto.SyncActionValue.IKeyExpiration|null); /** SyncActionValue markChatAsReadAction */ markChatAsReadAction?: (waproto.SyncActionValue.IMarkChatAsReadAction|null); /** SyncActionValue clearChatAction */ clearChatAction?: (waproto.SyncActionValue.IClearChatAction|null); /** SyncActionValue deleteChatAction */ deleteChatAction?: (waproto.SyncActionValue.IDeleteChatAction|null); /** SyncActionValue unarchiveChatsSetting */ unarchiveChatsSetting?: (waproto.SyncActionValue.IUnarchiveChatsSetting|null); /** SyncActionValue primaryFeature */ primaryFeature?: (waproto.SyncActionValue.IPrimaryFeature|null); /** SyncActionValue androidUnsupportedActions */ androidUnsupportedActions?: (waproto.SyncActionValue.IAndroidUnsupportedActions|null); /** SyncActionValue agentAction */ agentAction?: (waproto.SyncActionValue.IAgentAction|null); /** SyncActionValue subscriptionAction */ subscriptionAction?: (waproto.SyncActionValue.ISubscriptionAction|null); /** SyncActionValue userStatusMuteAction */ userStatusMuteAction?: (waproto.SyncActionValue.IUserStatusMuteAction|null); /** SyncActionValue timeFormatAction */ timeFormatAction?: (waproto.SyncActionValue.ITimeFormatAction|null); /** SyncActionValue nuxAction */ nuxAction?: (waproto.SyncActionValue.INuxAction|null); /** SyncActionValue primaryVersionAction */ primaryVersionAction?: (waproto.SyncActionValue.IPrimaryVersionAction|null); /** SyncActionValue stickerAction */ stickerAction?: (waproto.SyncActionValue.IStickerAction|null); /** SyncActionValue removeRecentStickerAction */ removeRecentStickerAction?: (waproto.SyncActionValue.IRemoveRecentStickerAction|null); /** SyncActionValue chatAssignment */ chatAssignment?: (waproto.SyncActionValue.IChatAssignmentAction|null); /** SyncActionValue chatAssignmentOpenedStatus */ chatAssignmentOpenedStatus?: (waproto.SyncActionValue.IChatAssignmentOpenedStatusAction|null); /** SyncActionValue pnForLidChatAction */ pnForLidChatAction?: (waproto.SyncActionValue.IPnForLidChatAction|null); /** SyncActionValue marketingMessageAction */ marketingMessageAction?: (waproto.SyncActionValue.IMarketingMessageAction|null); /** SyncActionValue marketingMessageBroadcastAction */ marketingMessageBroadcastAction?: (waproto.SyncActionValue.IMarketingMessageBroadcastAction|null); /** SyncActionValue externalWebBetaAction */ externalWebBetaAction?: (waproto.SyncActionValue.IExternalWebBetaAction|null); /** SyncActionValue privacySettingRelayAllCalls */ privacySettingRelayAllCalls?: (waproto.SyncActionValue.IPrivacySettingRelayAllCalls|null); /** SyncActionValue callLogAction */ callLogAction?: (waproto.SyncActionValue.ICallLogAction|null); /** SyncActionValue ugcBot */ ugcBot?: (waproto.SyncActionValue.IUGCBot|null); /** SyncActionValue statusPrivacy */ statusPrivacy?: (waproto.SyncActionValue.IStatusPrivacyAction|null); /** SyncActionValue botWelcomeRequestAction */ botWelcomeRequestAction?: (waproto.SyncActionValue.IBotWelcomeRequestAction|null); /** SyncActionValue deleteIndividualCallLog */ deleteIndividualCallLog?: (waproto.SyncActionValue.IDeleteIndividualCallLogAction|null); /** SyncActionValue labelReorderingAction */ labelReorderingAction?: (waproto.SyncActionValue.ILabelReorderingAction|null); /** SyncActionValue paymentInfoAction */ paymentInfoAction?: (waproto.SyncActionValue.IPaymentInfoAction|null); /** SyncActionValue customPaymentMethodsAction */ customPaymentMethodsAction?: (waproto.SyncActionValue.ICustomPaymentMethodsAction|null); /** SyncActionValue lockChatAction */ lockChatAction?: (waproto.SyncActionValue.ILockChatAction|null); /** SyncActionValue chatLockSettings */ chatLockSettings?: (waproto.IChatLockSettings|null); /** SyncActionValue wamoUserIdentifierAction */ wamoUserIdentifierAction?: (waproto.SyncActionValue.IWamoUserIdentifierAction|null); /** SyncActionValue privacySettingDisableLinkPreviewsAction */ privacySettingDisableLinkPreviewsAction?: (waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction|null); /** SyncActionValue deviceCapabilities */ deviceCapabilities?: (waproto.IDeviceCapabilities|null); /** SyncActionValue noteEditAction */ noteEditAction?: (waproto.SyncActionValue.INoteEditAction|null); /** SyncActionValue favoritesAction */ favoritesAction?: (waproto.SyncActionValue.IFavoritesAction|null); /** SyncActionValue merchantPaymentPartnerAction */ merchantPaymentPartnerAction?: (waproto.SyncActionValue.IMerchantPaymentPartnerAction|null); /** SyncActionValue waffleAccountLinkStateAction */ waffleAccountLinkStateAction?: (waproto.SyncActionValue.IWaffleAccountLinkStateAction|null); /** SyncActionValue usernameChatStartMode */ usernameChatStartMode?: (waproto.SyncActionValue.IUsernameChatStartModeAction|null); /** SyncActionValue notificationActivitySettingAction */ notificationActivitySettingAction?: (waproto.SyncActionValue.INotificationActivitySettingAction|null); /** SyncActionValue lidContactAction */ lidContactAction?: (waproto.SyncActionValue.ILidContactAction|null); /** SyncActionValue ctwaPerCustomerDataSharingAction */ ctwaPerCustomerDataSharingAction?: (waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction|null); /** SyncActionValue paymentTosAction */ paymentTosAction?: (waproto.SyncActionValue.IPaymentTosAction|null); /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction */ privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null); /** SyncActionValue detectedOutcomesStatusAction */ detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null); /** SyncActionValue maibaAiFeaturesControlAction */ maibaAiFeaturesControlAction?: (waproto.SyncActionValue.IMaibaAIFeaturesControlAction|null); /** SyncActionValue businessBroadcastListAction */ businessBroadcastListAction?: (waproto.SyncActionValue.IBusinessBroadcastListAction|null); /** SyncActionValue musicUserIdAction */ musicUserIdAction?: (waproto.SyncActionValue.IMusicUserIdAction|null); /** SyncActionValue statusPostOptInNotificationPreferencesAction */ statusPostOptInNotificationPreferencesAction?: (waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null); /** SyncActionValue avatarUpdatedAction */ avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null); /** SyncActionValue privateProcessingSettingAction */ privateProcessingSettingAction?: (waproto.SyncActionValue.IPrivateProcessingSettingAction|null); /** SyncActionValue newsletterSavedInterestsAction */ newsletterSavedInterestsAction?: (waproto.SyncActionValue.INewsletterSavedInterestsAction|null); /** SyncActionValue aiThreadRenameAction */ aiThreadRenameAction?: (waproto.SyncActionValue.IAiThreadRenameAction|null); /** SyncActionValue interactiveMessageAction */ interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null); /** SyncActionValue settingsSyncAction */ settingsSyncAction?: (waproto.SyncActionValue.ISettingsSyncAction|null); /** SyncActionValue outContactAction */ outContactAction?: (waproto.SyncActionValue.IOutContactAction|null); /** SyncActionValue nctSaltSyncAction */ nctSaltSyncAction?: (waproto.SyncActionValue.INctSaltSyncAction|null); /** SyncActionValue businessBroadcastCampaignAction */ businessBroadcastCampaignAction?: (waproto.SyncActionValue.IBusinessBroadcastCampaignAction|null); /** SyncActionValue businessBroadcastInsightsAction */ businessBroadcastInsightsAction?: (waproto.SyncActionValue.IBusinessBroadcastInsightsAction|null); /** SyncActionValue customerDataAction */ customerDataAction?: (waproto.SyncActionValue.ICustomerDataAction|null); /** SyncActionValue subscriptionsSyncV2Action */ subscriptionsSyncV2Action?: (waproto.SyncActionValue.ISubscriptionsSyncV2Action|null); /** SyncActionValue threadPinAction */ threadPinAction?: (waproto.SyncActionValue.IThreadPinAction|null); /** SyncActionValue autoOrganizeBusinessChatSetting */ autoOrganizeBusinessChatSetting?: (waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting|null); /** SyncActionValue bizAiSettingsNudgeAction */ bizAiSettingsNudgeAction?: (waproto.SyncActionValue.IBizAISettingsNudgeAction|null); /** SyncActionValue coexV2VersionAction */ coexV2VersionAction?: (waproto.SyncActionValue.ICoexV2VersionAction|null); /** SyncActionValue wasaRootSecretAction */ wasaRootSecretAction?: (waproto.SyncActionValue.IWASARootSecretAction|null); /** SyncActionValue bubbleLockMessageAction */ bubbleLockMessageAction?: (waproto.SyncActionValue.IBubbleLockMessageAction|null); /** SyncActionValue labelSublistAction */ labelSublistAction?: (waproto.SyncActionValue.ILabelSublistAction|null); /** SyncActionValue deviceCapabilitiesV2 */ deviceCapabilitiesV2?: (waproto.IDeviceCapabilities|null); /** SyncActionValue ctwaMessageReceivedAction */ ctwaMessageReceivedAction?: (waproto.SyncActionValue.ICtwaMessageReceivedAction|null); /** SyncActionValue sharedDeviceAllowlistAction */ sharedDeviceAllowlistAction?: (waproto.SyncActionValue.ISharedDeviceAllowlistAction|null); /** SyncActionValue contactManagerMetadataAction */ contactManagerMetadataAction?: (waproto.SyncActionValue.IContactManagerMetadataAction|null); /** SyncActionValue businessFolderActivationAction */ businessFolderActivationAction?: (waproto.SyncActionValue.IBusinessFolderActivationAction|null); /** SyncActionValue groupHistoryToggleAction */ groupHistoryToggleAction?: (waproto.SyncActionValue.IGroupHistoryToggleAction|null); } /** Represents a SyncActionValue. */ class SyncActionValue implements ISyncActionValue { /** * Constructs a new SyncActionValue. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncActionValue); /** SyncActionValue timestamp. */ public timestamp?: (number|Long|null); /** SyncActionValue starAction. */ public starAction?: (waproto.SyncActionValue.IStarAction|null); /** SyncActionValue contactAction. */ public contactAction?: (waproto.SyncActionValue.IContactAction|null); /** SyncActionValue muteAction. */ public muteAction?: (waproto.SyncActionValue.IMuteAction|null); /** SyncActionValue pinAction. */ public pinAction?: (waproto.SyncActionValue.IPinAction|null); /** SyncActionValue pushNameSetting. */ public pushNameSetting?: (waproto.SyncActionValue.IPushNameSetting|null); /** SyncActionValue quickReplyAction. */ public quickReplyAction?: (waproto.SyncActionValue.IQuickReplyAction|null); /** SyncActionValue recentEmojiWeightsAction. */ public recentEmojiWeightsAction?: (waproto.SyncActionValue.IRecentEmojiWeightsAction|null); /** SyncActionValue labelEditAction. */ public labelEditAction?: (waproto.SyncActionValue.ILabelEditAction|null); /** SyncActionValue labelAssociationAction. */ public labelAssociationAction?: (waproto.SyncActionValue.ILabelAssociationAction|null); /** SyncActionValue localeSetting. */ public localeSetting?: (waproto.SyncActionValue.ILocaleSetting|null); /** SyncActionValue archiveChatAction. */ public archiveChatAction?: (waproto.SyncActionValue.IArchiveChatAction|null); /** SyncActionValue deleteMessageForMeAction. */ public deleteMessageForMeAction?: (waproto.SyncActionValue.IDeleteMessageForMeAction|null); /** SyncActionValue keyExpiration. */ public keyExpiration?: (waproto.SyncActionValue.IKeyExpiration|null); /** SyncActionValue markChatAsReadAction. */ public markChatAsReadAction?: (waproto.SyncActionValue.IMarkChatAsReadAction|null); /** SyncActionValue clearChatAction. */ public clearChatAction?: (waproto.SyncActionValue.IClearChatAction|null); /** SyncActionValue deleteChatAction. */ public deleteChatAction?: (waproto.SyncActionValue.IDeleteChatAction|null); /** SyncActionValue unarchiveChatsSetting. */ public unarchiveChatsSetting?: (waproto.SyncActionValue.IUnarchiveChatsSetting|null); /** SyncActionValue primaryFeature. */ public primaryFeature?: (waproto.SyncActionValue.IPrimaryFeature|null); /** SyncActionValue androidUnsupportedActions. */ public androidUnsupportedActions?: (waproto.SyncActionValue.IAndroidUnsupportedActions|null); /** SyncActionValue agentAction. */ public agentAction?: (waproto.SyncActionValue.IAgentAction|null); /** SyncActionValue subscriptionAction. */ public subscriptionAction?: (waproto.SyncActionValue.ISubscriptionAction|null); /** SyncActionValue userStatusMuteAction. */ public userStatusMuteAction?: (waproto.SyncActionValue.IUserStatusMuteAction|null); /** SyncActionValue timeFormatAction. */ public timeFormatAction?: (waproto.SyncActionValue.ITimeFormatAction|null); /** SyncActionValue nuxAction. */ public nuxAction?: (waproto.SyncActionValue.INuxAction|null); /** SyncActionValue primaryVersionAction. */ public primaryVersionAction?: (waproto.SyncActionValue.IPrimaryVersionAction|null); /** SyncActionValue stickerAction. */ public stickerAction?: (waproto.SyncActionValue.IStickerAction|null); /** SyncActionValue removeRecentStickerAction. */ public removeRecentStickerAction?: (waproto.SyncActionValue.IRemoveRecentStickerAction|null); /** SyncActionValue chatAssignment. */ public chatAssignment?: (waproto.SyncActionValue.IChatAssignmentAction|null); /** SyncActionValue chatAssignmentOpenedStatus. */ public chatAssignmentOpenedStatus?: (waproto.SyncActionValue.IChatAssignmentOpenedStatusAction|null); /** SyncActionValue pnForLidChatAction. */ public pnForLidChatAction?: (waproto.SyncActionValue.IPnForLidChatAction|null); /** SyncActionValue marketingMessageAction. */ public marketingMessageAction?: (waproto.SyncActionValue.IMarketingMessageAction|null); /** SyncActionValue marketingMessageBroadcastAction. */ public marketingMessageBroadcastAction?: (waproto.SyncActionValue.IMarketingMessageBroadcastAction|null); /** SyncActionValue externalWebBetaAction. */ public externalWebBetaAction?: (waproto.SyncActionValue.IExternalWebBetaAction|null); /** SyncActionValue privacySettingRelayAllCalls. */ public privacySettingRelayAllCalls?: (waproto.SyncActionValue.IPrivacySettingRelayAllCalls|null); /** SyncActionValue callLogAction. */ public callLogAction?: (waproto.SyncActionValue.ICallLogAction|null); /** SyncActionValue ugcBot. */ public ugcBot?: (waproto.SyncActionValue.IUGCBot|null); /** SyncActionValue statusPrivacy. */ public statusPrivacy?: (waproto.SyncActionValue.IStatusPrivacyAction|null); /** SyncActionValue botWelcomeRequestAction. */ public botWelcomeRequestAction?: (waproto.SyncActionValue.IBotWelcomeRequestAction|null); /** SyncActionValue deleteIndividualCallLog. */ public deleteIndividualCallLog?: (waproto.SyncActionValue.IDeleteIndividualCallLogAction|null); /** SyncActionValue labelReorderingAction. */ public labelReorderingAction?: (waproto.SyncActionValue.ILabelReorderingAction|null); /** SyncActionValue paymentInfoAction. */ public paymentInfoAction?: (waproto.SyncActionValue.IPaymentInfoAction|null); /** SyncActionValue customPaymentMethodsAction. */ public customPaymentMethodsAction?: (waproto.SyncActionValue.ICustomPaymentMethodsAction|null); /** SyncActionValue lockChatAction. */ public lockChatAction?: (waproto.SyncActionValue.ILockChatAction|null); /** SyncActionValue chatLockSettings. */ public chatLockSettings?: (waproto.IChatLockSettings|null); /** SyncActionValue wamoUserIdentifierAction. */ public wamoUserIdentifierAction?: (waproto.SyncActionValue.IWamoUserIdentifierAction|null); /** SyncActionValue privacySettingDisableLinkPreviewsAction. */ public privacySettingDisableLinkPreviewsAction?: (waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction|null); /** SyncActionValue deviceCapabilities. */ public deviceCapabilities?: (waproto.IDeviceCapabilities|null); /** SyncActionValue noteEditAction. */ public noteEditAction?: (waproto.SyncActionValue.INoteEditAction|null); /** SyncActionValue favoritesAction. */ public favoritesAction?: (waproto.SyncActionValue.IFavoritesAction|null); /** SyncActionValue merchantPaymentPartnerAction. */ public merchantPaymentPartnerAction?: (waproto.SyncActionValue.IMerchantPaymentPartnerAction|null); /** SyncActionValue waffleAccountLinkStateAction. */ public waffleAccountLinkStateAction?: (waproto.SyncActionValue.IWaffleAccountLinkStateAction|null); /** SyncActionValue usernameChatStartMode. */ public usernameChatStartMode?: (waproto.SyncActionValue.IUsernameChatStartModeAction|null); /** SyncActionValue notificationActivitySettingAction. */ public notificationActivitySettingAction?: (waproto.SyncActionValue.INotificationActivitySettingAction|null); /** SyncActionValue lidContactAction. */ public lidContactAction?: (waproto.SyncActionValue.ILidContactAction|null); /** SyncActionValue ctwaPerCustomerDataSharingAction. */ public ctwaPerCustomerDataSharingAction?: (waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction|null); /** SyncActionValue paymentTosAction. */ public paymentTosAction?: (waproto.SyncActionValue.IPaymentTosAction|null); /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction. */ public privacySettingChannelsPersonalisedRecommendationAction?: (waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null); /** SyncActionValue detectedOutcomesStatusAction. */ public detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null); /** SyncActionValue maibaAiFeaturesControlAction. */ public maibaAiFeaturesControlAction?: (waproto.SyncActionValue.IMaibaAIFeaturesControlAction|null); /** SyncActionValue businessBroadcastListAction. */ public businessBroadcastListAction?: (waproto.SyncActionValue.IBusinessBroadcastListAction|null); /** SyncActionValue musicUserIdAction. */ public musicUserIdAction?: (waproto.SyncActionValue.IMusicUserIdAction|null); /** SyncActionValue statusPostOptInNotificationPreferencesAction. */ public statusPostOptInNotificationPreferencesAction?: (waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null); /** SyncActionValue avatarUpdatedAction. */ public avatarUpdatedAction?: (waproto.SyncActionValue.IAvatarUpdatedAction|null); /** SyncActionValue privateProcessingSettingAction. */ public privateProcessingSettingAction?: (waproto.SyncActionValue.IPrivateProcessingSettingAction|null); /** SyncActionValue newsletterSavedInterestsAction. */ public newsletterSavedInterestsAction?: (waproto.SyncActionValue.INewsletterSavedInterestsAction|null); /** SyncActionValue aiThreadRenameAction. */ public aiThreadRenameAction?: (waproto.SyncActionValue.IAiThreadRenameAction|null); /** SyncActionValue interactiveMessageAction. */ public interactiveMessageAction?: (waproto.SyncActionValue.IInteractiveMessageAction|null); /** SyncActionValue settingsSyncAction. */ public settingsSyncAction?: (waproto.SyncActionValue.ISettingsSyncAction|null); /** SyncActionValue outContactAction. */ public outContactAction?: (waproto.SyncActionValue.IOutContactAction|null); /** SyncActionValue nctSaltSyncAction. */ public nctSaltSyncAction?: (waproto.SyncActionValue.INctSaltSyncAction|null); /** SyncActionValue businessBroadcastCampaignAction. */ public businessBroadcastCampaignAction?: (waproto.SyncActionValue.IBusinessBroadcastCampaignAction|null); /** SyncActionValue businessBroadcastInsightsAction. */ public businessBroadcastInsightsAction?: (waproto.SyncActionValue.IBusinessBroadcastInsightsAction|null); /** SyncActionValue customerDataAction. */ public customerDataAction?: (waproto.SyncActionValue.ICustomerDataAction|null); /** SyncActionValue subscriptionsSyncV2Action. */ public subscriptionsSyncV2Action?: (waproto.SyncActionValue.ISubscriptionsSyncV2Action|null); /** SyncActionValue threadPinAction. */ public threadPinAction?: (waproto.SyncActionValue.IThreadPinAction|null); /** SyncActionValue autoOrganizeBusinessChatSetting. */ public autoOrganizeBusinessChatSetting?: (waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting|null); /** SyncActionValue bizAiSettingsNudgeAction. */ public bizAiSettingsNudgeAction?: (waproto.SyncActionValue.IBizAISettingsNudgeAction|null); /** SyncActionValue coexV2VersionAction. */ public coexV2VersionAction?: (waproto.SyncActionValue.ICoexV2VersionAction|null); /** SyncActionValue wasaRootSecretAction. */ public wasaRootSecretAction?: (waproto.SyncActionValue.IWASARootSecretAction|null); /** SyncActionValue bubbleLockMessageAction. */ public bubbleLockMessageAction?: (waproto.SyncActionValue.IBubbleLockMessageAction|null); /** SyncActionValue labelSublistAction. */ public labelSublistAction?: (waproto.SyncActionValue.ILabelSublistAction|null); /** SyncActionValue deviceCapabilitiesV2. */ public deviceCapabilitiesV2?: (waproto.IDeviceCapabilities|null); /** SyncActionValue ctwaMessageReceivedAction. */ public ctwaMessageReceivedAction?: (waproto.SyncActionValue.ICtwaMessageReceivedAction|null); /** SyncActionValue sharedDeviceAllowlistAction. */ public sharedDeviceAllowlistAction?: (waproto.SyncActionValue.ISharedDeviceAllowlistAction|null); /** SyncActionValue contactManagerMetadataAction. */ public contactManagerMetadataAction?: (waproto.SyncActionValue.IContactManagerMetadataAction|null); /** SyncActionValue businessFolderActivationAction. */ public businessFolderActivationAction?: (waproto.SyncActionValue.IBusinessFolderActivationAction|null); /** SyncActionValue groupHistoryToggleAction. */ public groupHistoryToggleAction?: (waproto.SyncActionValue.IGroupHistoryToggleAction|null); /** * Creates a new SyncActionValue instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionValue instance */ public static create(properties?: waproto.ISyncActionValue): waproto.SyncActionValue; /** * Encodes the specified SyncActionValue message. Does not implicitly {@link waproto.SyncActionValue.verify|verify} messages. * @param message SyncActionValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncActionValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionValue message, length delimited. Does not implicitly {@link waproto.SyncActionValue.verify|verify} messages. * @param message SyncActionValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncActionValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue; /** * Decodes a SyncActionValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue; /** * Verifies a SyncActionValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionValue */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue; /** * Creates a plain object from a SyncActionValue message. Also converts values to other types if specified. * @param message SyncActionValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SyncActionValue { /** BusinessBroadcastCampaignBBProStatus enum. */ enum BusinessBroadcastCampaignBBProStatus { BB_PRO_ACTIVE = 1, BB_PRO_COMPLETED = 2, BB_PRO_IN_DRAFT = 3, BB_PRO_IN_REVIEW = 4, BB_PRO_NOT_SENDING = 5, BB_PRO_OFF = 6, BB_PRO_REJECTED = 7, BB_PRO_SCHEDULED = 8, BB_PRO_SENDING_LIMITED = 9, BB_PRO_PROCESSING = 10 } /** BusinessBroadcastCampaignStatus enum. */ enum BusinessBroadcastCampaignStatus { DRAFT = 1, SCHEDULED = 2, PROCESSING = 3, FAILED = 4, SENT = 5 } /** Properties of a GroupHistoryToggleAction. */ interface IGroupHistoryToggleAction { /** GroupHistoryToggleAction groupHistoryToggleMode */ groupHistoryToggleMode?: (waproto.SyncActionValue.GroupHistoryToggleAction.GroupHistoryToggleMode|null); } /** Represents a GroupHistoryToggleAction. */ class GroupHistoryToggleAction implements IGroupHistoryToggleAction { /** * Constructs a new GroupHistoryToggleAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IGroupHistoryToggleAction); /** GroupHistoryToggleAction groupHistoryToggleMode. */ public groupHistoryToggleMode?: (waproto.SyncActionValue.GroupHistoryToggleAction.GroupHistoryToggleMode|null); /** * Creates a new GroupHistoryToggleAction instance using the specified properties. * @param [properties] Properties to set * @returns GroupHistoryToggleAction instance */ public static create(properties?: waproto.SyncActionValue.IGroupHistoryToggleAction): waproto.SyncActionValue.GroupHistoryToggleAction; /** * Encodes the specified GroupHistoryToggleAction message. Does not implicitly {@link waproto.SyncActionValue.GroupHistoryToggleAction.verify|verify} messages. * @param message GroupHistoryToggleAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IGroupHistoryToggleAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GroupHistoryToggleAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.GroupHistoryToggleAction.verify|verify} messages. * @param message GroupHistoryToggleAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IGroupHistoryToggleAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GroupHistoryToggleAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GroupHistoryToggleAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.GroupHistoryToggleAction; /** * Decodes a GroupHistoryToggleAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GroupHistoryToggleAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.GroupHistoryToggleAction; /** * Verifies a GroupHistoryToggleAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GroupHistoryToggleAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GroupHistoryToggleAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.GroupHistoryToggleAction; /** * Creates a plain object from a GroupHistoryToggleAction message. Also converts values to other types if specified. * @param message GroupHistoryToggleAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.GroupHistoryToggleAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GroupHistoryToggleAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GroupHistoryToggleAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GroupHistoryToggleAction { /** GroupHistoryToggleMode enum. */ enum GroupHistoryToggleMode { GROUP_HISTORY_TOGGLE_MODE_UNKNOWN = 0, GROUP_HISTORY_TOGGLE_MODE_ON = 1, GROUP_HISTORY_TOGGLE_MODE_OFF = 2 } } /** Properties of a BusinessFolderActivationAction. */ interface IBusinessFolderActivationAction { /** BusinessFolderActivationAction activated */ activated?: (boolean|null); } /** Represents a BusinessFolderActivationAction. */ class BusinessFolderActivationAction implements IBusinessFolderActivationAction { /** * Constructs a new BusinessFolderActivationAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBusinessFolderActivationAction); /** BusinessFolderActivationAction activated. */ public activated?: (boolean|null); /** * Creates a new BusinessFolderActivationAction instance using the specified properties. * @param [properties] Properties to set * @returns BusinessFolderActivationAction instance */ public static create(properties?: waproto.SyncActionValue.IBusinessFolderActivationAction): waproto.SyncActionValue.BusinessFolderActivationAction; /** * Encodes the specified BusinessFolderActivationAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderActivationAction.verify|verify} messages. * @param message BusinessFolderActivationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBusinessFolderActivationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessFolderActivationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderActivationAction.verify|verify} messages. * @param message BusinessFolderActivationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBusinessFolderActivationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessFolderActivationAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessFolderActivationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessFolderActivationAction; /** * Decodes a BusinessFolderActivationAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessFolderActivationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessFolderActivationAction; /** * Verifies a BusinessFolderActivationAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessFolderActivationAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessFolderActivationAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessFolderActivationAction; /** * Creates a plain object from a BusinessFolderActivationAction message. Also converts values to other types if specified. * @param message BusinessFolderActivationAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BusinessFolderActivationAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessFolderActivationAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessFolderActivationAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CtwaMessageReceivedAction. */ interface ICtwaMessageReceivedAction { /** CtwaMessageReceivedAction isCtwaMessageReceived */ isCtwaMessageReceived?: (boolean|null); } /** Represents a CtwaMessageReceivedAction. */ class CtwaMessageReceivedAction implements ICtwaMessageReceivedAction { /** * Constructs a new CtwaMessageReceivedAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICtwaMessageReceivedAction); /** CtwaMessageReceivedAction isCtwaMessageReceived. */ public isCtwaMessageReceived?: (boolean|null); /** * Creates a new CtwaMessageReceivedAction instance using the specified properties. * @param [properties] Properties to set * @returns CtwaMessageReceivedAction instance */ public static create(properties?: waproto.SyncActionValue.ICtwaMessageReceivedAction): waproto.SyncActionValue.CtwaMessageReceivedAction; /** * Encodes the specified CtwaMessageReceivedAction message. Does not implicitly {@link waproto.SyncActionValue.CtwaMessageReceivedAction.verify|verify} messages. * @param message CtwaMessageReceivedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICtwaMessageReceivedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CtwaMessageReceivedAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CtwaMessageReceivedAction.verify|verify} messages. * @param message CtwaMessageReceivedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICtwaMessageReceivedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CtwaMessageReceivedAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CtwaMessageReceivedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CtwaMessageReceivedAction; /** * Decodes a CtwaMessageReceivedAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CtwaMessageReceivedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CtwaMessageReceivedAction; /** * Verifies a CtwaMessageReceivedAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CtwaMessageReceivedAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CtwaMessageReceivedAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CtwaMessageReceivedAction; /** * Creates a plain object from a CtwaMessageReceivedAction message. Also converts values to other types if specified. * @param message CtwaMessageReceivedAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CtwaMessageReceivedAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CtwaMessageReceivedAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CtwaMessageReceivedAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WASARootSecretAction. */ interface IWASARootSecretAction { /** WASARootSecretAction secrets */ secrets?: (waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry[]|null); } /** Represents a WASARootSecretAction. */ class WASARootSecretAction implements IWASARootSecretAction { /** * Constructs a new WASARootSecretAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IWASARootSecretAction); /** WASARootSecretAction secrets. */ public secrets: waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry[]; /** * Creates a new WASARootSecretAction instance using the specified properties. * @param [properties] Properties to set * @returns WASARootSecretAction instance */ public static create(properties?: waproto.SyncActionValue.IWASARootSecretAction): waproto.SyncActionValue.WASARootSecretAction; /** * Encodes the specified WASARootSecretAction message. Does not implicitly {@link waproto.SyncActionValue.WASARootSecretAction.verify|verify} messages. * @param message WASARootSecretAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IWASARootSecretAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WASARootSecretAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.WASARootSecretAction.verify|verify} messages. * @param message WASARootSecretAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IWASARootSecretAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WASARootSecretAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WASARootSecretAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.WASARootSecretAction; /** * Decodes a WASARootSecretAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WASARootSecretAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.WASARootSecretAction; /** * Verifies a WASARootSecretAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WASARootSecretAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WASARootSecretAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.WASARootSecretAction; /** * Creates a plain object from a WASARootSecretAction message. Also converts values to other types if specified. * @param message WASARootSecretAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.WASARootSecretAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WASARootSecretAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WASARootSecretAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WASARootSecretAction { /** Properties of a RootSecretEntry. */ interface IRootSecretEntry { /** RootSecretEntry id */ id?: (string|null); /** RootSecretEntry rootSecret */ rootSecret?: (Uint8Array|null); /** RootSecretEntry epoch */ epoch?: (number|Long|null); /** RootSecretEntry status */ status?: (waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry.Status|null); } /** Represents a RootSecretEntry. */ class RootSecretEntry implements IRootSecretEntry { /** * Constructs a new RootSecretEntry. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry); /** RootSecretEntry id. */ public id?: (string|null); /** RootSecretEntry rootSecret. */ public rootSecret?: (Uint8Array|null); /** RootSecretEntry epoch. */ public epoch?: (number|Long|null); /** RootSecretEntry status. */ public status?: (waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry.Status|null); /** * Creates a new RootSecretEntry instance using the specified properties. * @param [properties] Properties to set * @returns RootSecretEntry instance */ public static create(properties?: waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry): waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry; /** * Encodes the specified RootSecretEntry message. Does not implicitly {@link waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry.verify|verify} messages. * @param message RootSecretEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RootSecretEntry message, length delimited. Does not implicitly {@link waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry.verify|verify} messages. * @param message RootSecretEntry message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.WASARootSecretAction.IRootSecretEntry, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RootSecretEntry message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RootSecretEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry; /** * Decodes a RootSecretEntry message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RootSecretEntry * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry; /** * Verifies a RootSecretEntry message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RootSecretEntry message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RootSecretEntry */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry; /** * Creates a plain object from a RootSecretEntry message. Also converts values to other types if specified. * @param message RootSecretEntry * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.WASARootSecretAction.RootSecretEntry, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RootSecretEntry to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RootSecretEntry * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace RootSecretEntry { /** Status enum. */ enum Status { INACTIVE = 0, ACTIVE = 1 } } } /** Properties of a CoexV2VersionAction. */ interface ICoexV2VersionAction { /** CoexV2VersionAction version */ version?: (number|Long|null); } /** Represents a CoexV2VersionAction. */ class CoexV2VersionAction implements ICoexV2VersionAction { /** * Constructs a new CoexV2VersionAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICoexV2VersionAction); /** CoexV2VersionAction version. */ public version?: (number|Long|null); /** * Creates a new CoexV2VersionAction instance using the specified properties. * @param [properties] Properties to set * @returns CoexV2VersionAction instance */ public static create(properties?: waproto.SyncActionValue.ICoexV2VersionAction): waproto.SyncActionValue.CoexV2VersionAction; /** * Encodes the specified CoexV2VersionAction message. Does not implicitly {@link waproto.SyncActionValue.CoexV2VersionAction.verify|verify} messages. * @param message CoexV2VersionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICoexV2VersionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CoexV2VersionAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CoexV2VersionAction.verify|verify} messages. * @param message CoexV2VersionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICoexV2VersionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CoexV2VersionAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CoexV2VersionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CoexV2VersionAction; /** * Decodes a CoexV2VersionAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CoexV2VersionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CoexV2VersionAction; /** * Verifies a CoexV2VersionAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CoexV2VersionAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CoexV2VersionAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CoexV2VersionAction; /** * Creates a plain object from a CoexV2VersionAction message. Also converts values to other types if specified. * @param message CoexV2VersionAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CoexV2VersionAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CoexV2VersionAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CoexV2VersionAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubscriptionsSyncV2Action. */ interface ISubscriptionsSyncV2Action { /** SubscriptionsSyncV2Action subscriptions */ subscriptions?: (waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo[]|null); /** SubscriptionsSyncV2Action paidFeature */ paidFeature?: (waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature[]|null); } /** Represents a SubscriptionsSyncV2Action. */ class SubscriptionsSyncV2Action implements ISubscriptionsSyncV2Action { /** * Constructs a new SubscriptionsSyncV2Action. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISubscriptionsSyncV2Action); /** SubscriptionsSyncV2Action subscriptions. */ public subscriptions: waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo[]; /** SubscriptionsSyncV2Action paidFeature. */ public paidFeature: waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature[]; /** * Creates a new SubscriptionsSyncV2Action instance using the specified properties. * @param [properties] Properties to set * @returns SubscriptionsSyncV2Action instance */ public static create(properties?: waproto.SyncActionValue.ISubscriptionsSyncV2Action): waproto.SyncActionValue.SubscriptionsSyncV2Action; /** * Encodes the specified SubscriptionsSyncV2Action message. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.verify|verify} messages. * @param message SubscriptionsSyncV2Action message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISubscriptionsSyncV2Action, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubscriptionsSyncV2Action message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.verify|verify} messages. * @param message SubscriptionsSyncV2Action message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISubscriptionsSyncV2Action, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubscriptionsSyncV2Action message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubscriptionsSyncV2Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SubscriptionsSyncV2Action; /** * Decodes a SubscriptionsSyncV2Action message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubscriptionsSyncV2Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SubscriptionsSyncV2Action; /** * Verifies a SubscriptionsSyncV2Action message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubscriptionsSyncV2Action message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubscriptionsSyncV2Action */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SubscriptionsSyncV2Action; /** * Creates a plain object from a SubscriptionsSyncV2Action message. Also converts values to other types if specified. * @param message SubscriptionsSyncV2Action * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SubscriptionsSyncV2Action, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubscriptionsSyncV2Action to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubscriptionsSyncV2Action * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SubscriptionsSyncV2Action { /** Properties of a PaidFeature. */ interface IPaidFeature { /** PaidFeature name */ name?: (string|null); /** PaidFeature enabled */ enabled?: (boolean|null); /** PaidFeature limit */ limit?: (number|null); /** PaidFeature expirationTime */ expirationTime?: (number|Long|null); } /** Represents a PaidFeature. */ class PaidFeature implements IPaidFeature { /** * Constructs a new PaidFeature. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature); /** PaidFeature name. */ public name?: (string|null); /** PaidFeature enabled. */ public enabled?: (boolean|null); /** PaidFeature limit. */ public limit?: (number|null); /** PaidFeature expirationTime. */ public expirationTime?: (number|Long|null); /** * Creates a new PaidFeature instance using the specified properties. * @param [properties] Properties to set * @returns PaidFeature instance */ public static create(properties?: waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature): waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature; /** * Encodes the specified PaidFeature message. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature.verify|verify} messages. * @param message PaidFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaidFeature message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature.verify|verify} messages. * @param message PaidFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.IPaidFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaidFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaidFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature; /** * Decodes a PaidFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaidFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature; /** * Verifies a PaidFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaidFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaidFeature */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature; /** * Creates a plain object from a PaidFeature message. Also converts values to other types if specified. * @param message PaidFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.PaidFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaidFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaidFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubscriptionInfo. */ interface ISubscriptionInfo { /** SubscriptionInfo id */ id?: (string|null); /** SubscriptionInfo tier */ tier?: (number|null); /** SubscriptionInfo status */ status?: (string|null); /** SubscriptionInfo startTime */ startTime?: (number|Long|null); /** SubscriptionInfo endTime */ endTime?: (number|Long|null); /** SubscriptionInfo isPlatformChanged */ isPlatformChanged?: (boolean|null); /** SubscriptionInfo source */ source?: (string|null); /** SubscriptionInfo creationTime */ creationTime?: (number|Long|null); } /** Represents a SubscriptionInfo. */ class SubscriptionInfo implements ISubscriptionInfo { /** * Constructs a new SubscriptionInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo); /** SubscriptionInfo id. */ public id?: (string|null); /** SubscriptionInfo tier. */ public tier?: (number|null); /** SubscriptionInfo status. */ public status?: (string|null); /** SubscriptionInfo startTime. */ public startTime?: (number|Long|null); /** SubscriptionInfo endTime. */ public endTime?: (number|Long|null); /** SubscriptionInfo isPlatformChanged. */ public isPlatformChanged?: (boolean|null); /** SubscriptionInfo source. */ public source?: (string|null); /** SubscriptionInfo creationTime. */ public creationTime?: (number|Long|null); /** * Creates a new SubscriptionInfo instance using the specified properties. * @param [properties] Properties to set * @returns SubscriptionInfo instance */ public static create(properties?: waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo): waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo; /** * Encodes the specified SubscriptionInfo message. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo.verify|verify} messages. * @param message SubscriptionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubscriptionInfo message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo.verify|verify} messages. * @param message SubscriptionInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.ISubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubscriptionInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubscriptionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo; /** * Decodes a SubscriptionInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubscriptionInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo; /** * Verifies a SubscriptionInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubscriptionInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubscriptionInfo */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo; /** * Creates a plain object from a SubscriptionInfo message. Also converts values to other types if specified. * @param message SubscriptionInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SubscriptionsSyncV2Action.SubscriptionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubscriptionInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubscriptionInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ContactManagerMetadataAction. */ interface IContactManagerMetadataAction { /** ContactManagerMetadataAction isHidden */ isHidden?: (boolean|null); } /** Represents a ContactManagerMetadataAction. */ class ContactManagerMetadataAction implements IContactManagerMetadataAction { /** * Constructs a new ContactManagerMetadataAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IContactManagerMetadataAction); /** ContactManagerMetadataAction isHidden. */ public isHidden?: (boolean|null); /** * Creates a new ContactManagerMetadataAction instance using the specified properties. * @param [properties] Properties to set * @returns ContactManagerMetadataAction instance */ public static create(properties?: waproto.SyncActionValue.IContactManagerMetadataAction): waproto.SyncActionValue.ContactManagerMetadataAction; /** * Encodes the specified ContactManagerMetadataAction message. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages. * @param message ContactManagerMetadataAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IContactManagerMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactManagerMetadataAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ContactManagerMetadataAction.verify|verify} messages. * @param message ContactManagerMetadataAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IContactManagerMetadataAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactManagerMetadataAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactManagerMetadataAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ContactManagerMetadataAction; /** * Decodes a ContactManagerMetadataAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactManagerMetadataAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ContactManagerMetadataAction; /** * Verifies a ContactManagerMetadataAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactManagerMetadataAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactManagerMetadataAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ContactManagerMetadataAction; /** * Creates a plain object from a ContactManagerMetadataAction message. Also converts values to other types if specified. * @param message ContactManagerMetadataAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ContactManagerMetadataAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactManagerMetadataAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactManagerMetadataAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomerDataAction. */ interface ICustomerDataAction { /** CustomerDataAction chatJid */ chatJid?: (string|null); /** CustomerDataAction contactType */ contactType?: (number|null); /** CustomerDataAction email */ email?: (string|null); /** CustomerDataAction altPhoneNumbers */ altPhoneNumbers?: (string|null); /** CustomerDataAction birthday */ birthday?: (number|Long|null); /** CustomerDataAction address */ address?: (string|null); /** CustomerDataAction acquisitionSource */ acquisitionSource?: (number|null); /** CustomerDataAction leadStage */ leadStage?: (number|null); /** CustomerDataAction lastOrder */ lastOrder?: (number|Long|null); /** CustomerDataAction createdAt */ createdAt?: (number|Long|null); /** CustomerDataAction modifiedAt */ modifiedAt?: (number|Long|null); } /** Represents a CustomerDataAction. */ class CustomerDataAction implements ICustomerDataAction { /** * Constructs a new CustomerDataAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICustomerDataAction); /** CustomerDataAction chatJid. */ public chatJid?: (string|null); /** CustomerDataAction contactType. */ public contactType?: (number|null); /** CustomerDataAction email. */ public email?: (string|null); /** CustomerDataAction altPhoneNumbers. */ public altPhoneNumbers?: (string|null); /** CustomerDataAction birthday. */ public birthday?: (number|Long|null); /** CustomerDataAction address. */ public address?: (string|null); /** CustomerDataAction acquisitionSource. */ public acquisitionSource?: (number|null); /** CustomerDataAction leadStage. */ public leadStage?: (number|null); /** CustomerDataAction lastOrder. */ public lastOrder?: (number|Long|null); /** CustomerDataAction createdAt. */ public createdAt?: (number|Long|null); /** CustomerDataAction modifiedAt. */ public modifiedAt?: (number|Long|null); /** * Creates a new CustomerDataAction instance using the specified properties. * @param [properties] Properties to set * @returns CustomerDataAction instance */ public static create(properties?: waproto.SyncActionValue.ICustomerDataAction): waproto.SyncActionValue.CustomerDataAction; /** * Encodes the specified CustomerDataAction message. Does not implicitly {@link waproto.SyncActionValue.CustomerDataAction.verify|verify} messages. * @param message CustomerDataAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICustomerDataAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomerDataAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CustomerDataAction.verify|verify} messages. * @param message CustomerDataAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICustomerDataAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomerDataAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomerDataAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CustomerDataAction; /** * Decodes a CustomerDataAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomerDataAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CustomerDataAction; /** * Verifies a CustomerDataAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomerDataAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomerDataAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CustomerDataAction; /** * Creates a plain object from a CustomerDataAction message. Also converts values to other types if specified. * @param message CustomerDataAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CustomerDataAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomerDataAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomerDataAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessBroadcastInsightsAction. */ interface IBusinessBroadcastInsightsAction { /** BusinessBroadcastInsightsAction recipientCount */ recipientCount?: (number|null); /** BusinessBroadcastInsightsAction deliveredCount */ deliveredCount?: (number|null); /** BusinessBroadcastInsightsAction readCount */ readCount?: (number|null); /** BusinessBroadcastInsightsAction repliedCount */ repliedCount?: (number|null); /** BusinessBroadcastInsightsAction quickReplyCount */ quickReplyCount?: (number|null); } /** Represents a BusinessBroadcastInsightsAction. */ class BusinessBroadcastInsightsAction implements IBusinessBroadcastInsightsAction { /** * Constructs a new BusinessBroadcastInsightsAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBusinessBroadcastInsightsAction); /** BusinessBroadcastInsightsAction recipientCount. */ public recipientCount?: (number|null); /** BusinessBroadcastInsightsAction deliveredCount. */ public deliveredCount?: (number|null); /** BusinessBroadcastInsightsAction readCount. */ public readCount?: (number|null); /** BusinessBroadcastInsightsAction repliedCount. */ public repliedCount?: (number|null); /** BusinessBroadcastInsightsAction quickReplyCount. */ public quickReplyCount?: (number|null); /** * Creates a new BusinessBroadcastInsightsAction instance using the specified properties. * @param [properties] Properties to set * @returns BusinessBroadcastInsightsAction instance */ public static create(properties?: waproto.SyncActionValue.IBusinessBroadcastInsightsAction): waproto.SyncActionValue.BusinessBroadcastInsightsAction; /** * Encodes the specified BusinessBroadcastInsightsAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastInsightsAction.verify|verify} messages. * @param message BusinessBroadcastInsightsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBusinessBroadcastInsightsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessBroadcastInsightsAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastInsightsAction.verify|verify} messages. * @param message BusinessBroadcastInsightsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBusinessBroadcastInsightsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessBroadcastInsightsAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessBroadcastInsightsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessBroadcastInsightsAction; /** * Decodes a BusinessBroadcastInsightsAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessBroadcastInsightsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessBroadcastInsightsAction; /** * Verifies a BusinessBroadcastInsightsAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessBroadcastInsightsAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessBroadcastInsightsAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessBroadcastInsightsAction; /** * Creates a plain object from a BusinessBroadcastInsightsAction message. Also converts values to other types if specified. * @param message BusinessBroadcastInsightsAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BusinessBroadcastInsightsAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessBroadcastInsightsAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessBroadcastInsightsAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SettingsSyncAction. */ interface ISettingsSyncAction { /** SettingsSyncAction startAtLogin */ startAtLogin?: (boolean|null); /** SettingsSyncAction minimizeToTray */ minimizeToTray?: (boolean|null); /** SettingsSyncAction language */ language?: (string|null); /** SettingsSyncAction replaceTextWithEmoji */ replaceTextWithEmoji?: (boolean|null); /** SettingsSyncAction bannerNotificationDisplayMode */ bannerNotificationDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null); /** SettingsSyncAction unreadCounterBadgeDisplayMode */ unreadCounterBadgeDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null); /** SettingsSyncAction isMessagesNotificationEnabled */ isMessagesNotificationEnabled?: (boolean|null); /** SettingsSyncAction isCallsNotificationEnabled */ isCallsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isReactionsNotificationEnabled */ isReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isStatusReactionsNotificationEnabled */ isStatusReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isTextPreviewForNotificationEnabled */ isTextPreviewForNotificationEnabled?: (boolean|null); /** SettingsSyncAction defaultNotificationToneId */ defaultNotificationToneId?: (number|null); /** SettingsSyncAction groupDefaultNotificationToneId */ groupDefaultNotificationToneId?: (number|null); /** SettingsSyncAction appTheme */ appTheme?: (number|null); /** SettingsSyncAction wallpaperId */ wallpaperId?: (number|null); /** SettingsSyncAction isDoodleWallpaperEnabled */ isDoodleWallpaperEnabled?: (boolean|null); /** SettingsSyncAction fontSize */ fontSize?: (number|null); /** SettingsSyncAction isPhotosAutodownloadEnabled */ isPhotosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isAudiosAutodownloadEnabled */ isAudiosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isVideosAutodownloadEnabled */ isVideosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isDocumentsAutodownloadEnabled */ isDocumentsAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction disableLinkPreviews */ disableLinkPreviews?: (boolean|null); /** SettingsSyncAction notificationToneId */ notificationToneId?: (number|null); /** SettingsSyncAction mediaUploadQuality */ mediaUploadQuality?: (waproto.SyncActionValue.SettingsSyncAction.MediaQualitySetting|null); /** SettingsSyncAction isSpellCheckEnabled */ isSpellCheckEnabled?: (boolean|null); /** SettingsSyncAction isEnterToSendEnabled */ isEnterToSendEnabled?: (boolean|null); /** SettingsSyncAction isGroupMessageNotificationEnabled */ isGroupMessageNotificationEnabled?: (boolean|null); /** SettingsSyncAction isGroupReactionsNotificationEnabled */ isGroupReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isStatusNotificationEnabled */ isStatusNotificationEnabled?: (boolean|null); /** SettingsSyncAction statusNotificationToneId */ statusNotificationToneId?: (number|null); /** SettingsSyncAction shouldPlaySoundForCallNotification */ shouldPlaySoundForCallNotification?: (boolean|null); /** SettingsSyncAction chatThemeId */ chatThemeId?: (string|null); /** SettingsSyncAction colorSchemeId */ colorSchemeId?: (string|null); /** SettingsSyncAction stockWallpaperImageId */ stockWallpaperImageId?: (string|null); } /** Represents a SettingsSyncAction. */ class SettingsSyncAction implements ISettingsSyncAction { /** * Constructs a new SettingsSyncAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISettingsSyncAction); /** SettingsSyncAction startAtLogin. */ public startAtLogin?: (boolean|null); /** SettingsSyncAction minimizeToTray. */ public minimizeToTray?: (boolean|null); /** SettingsSyncAction language. */ public language?: (string|null); /** SettingsSyncAction replaceTextWithEmoji. */ public replaceTextWithEmoji?: (boolean|null); /** SettingsSyncAction bannerNotificationDisplayMode. */ public bannerNotificationDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null); /** SettingsSyncAction unreadCounterBadgeDisplayMode. */ public unreadCounterBadgeDisplayMode?: (waproto.SyncActionValue.SettingsSyncAction.DisplayMode|null); /** SettingsSyncAction isMessagesNotificationEnabled. */ public isMessagesNotificationEnabled?: (boolean|null); /** SettingsSyncAction isCallsNotificationEnabled. */ public isCallsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isReactionsNotificationEnabled. */ public isReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isStatusReactionsNotificationEnabled. */ public isStatusReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isTextPreviewForNotificationEnabled. */ public isTextPreviewForNotificationEnabled?: (boolean|null); /** SettingsSyncAction defaultNotificationToneId. */ public defaultNotificationToneId?: (number|null); /** SettingsSyncAction groupDefaultNotificationToneId. */ public groupDefaultNotificationToneId?: (number|null); /** SettingsSyncAction appTheme. */ public appTheme?: (number|null); /** SettingsSyncAction wallpaperId. */ public wallpaperId?: (number|null); /** SettingsSyncAction isDoodleWallpaperEnabled. */ public isDoodleWallpaperEnabled?: (boolean|null); /** SettingsSyncAction fontSize. */ public fontSize?: (number|null); /** SettingsSyncAction isPhotosAutodownloadEnabled. */ public isPhotosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isAudiosAutodownloadEnabled. */ public isAudiosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isVideosAutodownloadEnabled. */ public isVideosAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction isDocumentsAutodownloadEnabled. */ public isDocumentsAutodownloadEnabled?: (boolean|null); /** SettingsSyncAction disableLinkPreviews. */ public disableLinkPreviews?: (boolean|null); /** SettingsSyncAction notificationToneId. */ public notificationToneId?: (number|null); /** SettingsSyncAction mediaUploadQuality. */ public mediaUploadQuality?: (waproto.SyncActionValue.SettingsSyncAction.MediaQualitySetting|null); /** SettingsSyncAction isSpellCheckEnabled. */ public isSpellCheckEnabled?: (boolean|null); /** SettingsSyncAction isEnterToSendEnabled. */ public isEnterToSendEnabled?: (boolean|null); /** SettingsSyncAction isGroupMessageNotificationEnabled. */ public isGroupMessageNotificationEnabled?: (boolean|null); /** SettingsSyncAction isGroupReactionsNotificationEnabled. */ public isGroupReactionsNotificationEnabled?: (boolean|null); /** SettingsSyncAction isStatusNotificationEnabled. */ public isStatusNotificationEnabled?: (boolean|null); /** SettingsSyncAction statusNotificationToneId. */ public statusNotificationToneId?: (number|null); /** SettingsSyncAction shouldPlaySoundForCallNotification. */ public shouldPlaySoundForCallNotification?: (boolean|null); /** SettingsSyncAction chatThemeId. */ public chatThemeId?: (string|null); /** SettingsSyncAction colorSchemeId. */ public colorSchemeId?: (string|null); /** SettingsSyncAction stockWallpaperImageId. */ public stockWallpaperImageId?: (string|null); /** * Creates a new SettingsSyncAction instance using the specified properties. * @param [properties] Properties to set * @returns SettingsSyncAction instance */ public static create(properties?: waproto.SyncActionValue.ISettingsSyncAction): waproto.SyncActionValue.SettingsSyncAction; /** * Encodes the specified SettingsSyncAction message. Does not implicitly {@link waproto.SyncActionValue.SettingsSyncAction.verify|verify} messages. * @param message SettingsSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SettingsSyncAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SettingsSyncAction.verify|verify} messages. * @param message SettingsSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISettingsSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SettingsSyncAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SettingsSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SettingsSyncAction; /** * Decodes a SettingsSyncAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SettingsSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SettingsSyncAction; /** * Verifies a SettingsSyncAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SettingsSyncAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SettingsSyncAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SettingsSyncAction; /** * Creates a plain object from a SettingsSyncAction message. Also converts values to other types if specified. * @param message SettingsSyncAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SettingsSyncAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SettingsSyncAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SettingsSyncAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SettingsSyncAction { /** MediaQualitySetting enum. */ enum MediaQualitySetting { MEDIA_QUALITY_UNKNOWN = 0, STANDARD = 1, HD = 2 } /** DisplayMode enum. */ enum DisplayMode { DISPLAY_MODE_UNKNOWN = 0, ALWAYS = 1, NEVER = 2, ONLY_WHEN_APP_IS_OPEN = 3 } /** SettingKey enum. */ enum SettingKey { SETTING_KEY_UNKNOWN = 0, START_AT_LOGIN = 1, MINIMIZE_TO_TRAY = 2, LANGUAGE = 3, REPLACE_TEXT_WITH_EMOJI = 4, BANNER_NOTIFICATION_DISPLAY_MODE = 5, UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6, IS_MESSAGES_NOTIFICATION_ENABLED = 7, IS_CALLS_NOTIFICATION_ENABLED = 8, IS_REACTIONS_NOTIFICATION_ENABLED = 9, IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10, IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11, DEFAULT_NOTIFICATION_TONE_ID = 12, GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13, APP_THEME = 14, WALLPAPER_ID = 15, IS_DOODLE_WALLPAPER_ENABLED = 16, FONT_SIZE = 17, IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18, IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19, IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20, IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21, DISABLE_LINK_PREVIEWS = 22, NOTIFICATION_TONE_ID = 23, MEDIA_UPLOAD_QUALITY = 24, IS_SPELL_CHECK_ENABLED = 25, IS_ENTER_TO_SEND_ENABLED = 26, IS_GROUP_MESSAGE_NOTIFICATION_ENABLED = 27, IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28, IS_STATUS_NOTIFICATION_ENABLED = 29, STATUS_NOTIFICATION_TONE_ID = 30, SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31, CHAT_THEME_ID = 32, COLOR_SCHEME_ID = 33, STOCK_WALLPAPER_IMAGE_ID = 34 } /** SettingPlatform enum. */ enum SettingPlatform { PLATFORM_UNKNOWN = 0, WEB = 1, HYBRID = 2, WINDOWS = 3, MAC = 4 } } /** Properties of an AutoOrganizeBusinessChatSetting. */ interface IAutoOrganizeBusinessChatSetting { /** AutoOrganizeBusinessChatSetting autoOrganize */ autoOrganize?: (boolean|null); } /** Represents an AutoOrganizeBusinessChatSetting. */ class AutoOrganizeBusinessChatSetting implements IAutoOrganizeBusinessChatSetting { /** * Constructs a new AutoOrganizeBusinessChatSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting); /** AutoOrganizeBusinessChatSetting autoOrganize. */ public autoOrganize?: (boolean|null); /** * Creates a new AutoOrganizeBusinessChatSetting instance using the specified properties. * @param [properties] Properties to set * @returns AutoOrganizeBusinessChatSetting instance */ public static create(properties?: waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting): waproto.SyncActionValue.AutoOrganizeBusinessChatSetting; /** * Encodes the specified AutoOrganizeBusinessChatSetting message. Does not implicitly {@link waproto.SyncActionValue.AutoOrganizeBusinessChatSetting.verify|verify} messages. * @param message AutoOrganizeBusinessChatSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AutoOrganizeBusinessChatSetting message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AutoOrganizeBusinessChatSetting.verify|verify} messages. * @param message AutoOrganizeBusinessChatSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IAutoOrganizeBusinessChatSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AutoOrganizeBusinessChatSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AutoOrganizeBusinessChatSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AutoOrganizeBusinessChatSetting; /** * Decodes an AutoOrganizeBusinessChatSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AutoOrganizeBusinessChatSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AutoOrganizeBusinessChatSetting; /** * Verifies an AutoOrganizeBusinessChatSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AutoOrganizeBusinessChatSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AutoOrganizeBusinessChatSetting */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AutoOrganizeBusinessChatSetting; /** * Creates a plain object from an AutoOrganizeBusinessChatSetting message. Also converts values to other types if specified. * @param message AutoOrganizeBusinessChatSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.AutoOrganizeBusinessChatSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AutoOrganizeBusinessChatSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AutoOrganizeBusinessChatSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NctSaltSyncAction. */ interface INctSaltSyncAction { /** NctSaltSyncAction salt */ salt?: (Uint8Array|null); } /** Represents a NctSaltSyncAction. */ class NctSaltSyncAction implements INctSaltSyncAction { /** * Constructs a new NctSaltSyncAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.INctSaltSyncAction); /** NctSaltSyncAction salt. */ public salt?: (Uint8Array|null); /** * Creates a new NctSaltSyncAction instance using the specified properties. * @param [properties] Properties to set * @returns NctSaltSyncAction instance */ public static create(properties?: waproto.SyncActionValue.INctSaltSyncAction): waproto.SyncActionValue.NctSaltSyncAction; /** * Encodes the specified NctSaltSyncAction message. Does not implicitly {@link waproto.SyncActionValue.NctSaltSyncAction.verify|verify} messages. * @param message NctSaltSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.INctSaltSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NctSaltSyncAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NctSaltSyncAction.verify|verify} messages. * @param message NctSaltSyncAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.INctSaltSyncAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NctSaltSyncAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NctSaltSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NctSaltSyncAction; /** * Decodes a NctSaltSyncAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NctSaltSyncAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NctSaltSyncAction; /** * Verifies a NctSaltSyncAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NctSaltSyncAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NctSaltSyncAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NctSaltSyncAction; /** * Creates a plain object from a NctSaltSyncAction message. Also converts values to other types if specified. * @param message NctSaltSyncAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.NctSaltSyncAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NctSaltSyncAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NctSaltSyncAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an InteractiveMessageAction. */ interface IInteractiveMessageAction { /** InteractiveMessageAction type */ type?: (waproto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode|null); /** InteractiveMessageAction agmId */ agmId?: (string|null); } /** Represents an InteractiveMessageAction. */ class InteractiveMessageAction implements IInteractiveMessageAction { /** * Constructs a new InteractiveMessageAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IInteractiveMessageAction); /** InteractiveMessageAction type. */ public type?: (waproto.SyncActionValue.InteractiveMessageAction.InteractiveMessageActionMode|null); /** InteractiveMessageAction agmId. */ public agmId?: (string|null); /** * Creates a new InteractiveMessageAction instance using the specified properties. * @param [properties] Properties to set * @returns InteractiveMessageAction instance */ public static create(properties?: waproto.SyncActionValue.IInteractiveMessageAction): waproto.SyncActionValue.InteractiveMessageAction; /** * Encodes the specified InteractiveMessageAction message. Does not implicitly {@link waproto.SyncActionValue.InteractiveMessageAction.verify|verify} messages. * @param message InteractiveMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified InteractiveMessageAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.InteractiveMessageAction.verify|verify} messages. * @param message InteractiveMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IInteractiveMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an InteractiveMessageAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns InteractiveMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.InteractiveMessageAction; /** * Decodes an InteractiveMessageAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns InteractiveMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.InteractiveMessageAction; /** * Verifies an InteractiveMessageAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an InteractiveMessageAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns InteractiveMessageAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.InteractiveMessageAction; /** * Creates a plain object from an InteractiveMessageAction message. Also converts values to other types if specified. * @param message InteractiveMessageAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.InteractiveMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this InteractiveMessageAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for InteractiveMessageAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace InteractiveMessageAction { /** InteractiveMessageActionMode enum. */ enum InteractiveMessageActionMode { DISABLE_CTA = 1 } } /** Properties of a ThreadPinAction. */ interface IThreadPinAction { /** ThreadPinAction pinned */ pinned?: (boolean|null); } /** Represents a ThreadPinAction. */ class ThreadPinAction implements IThreadPinAction { /** * Constructs a new ThreadPinAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IThreadPinAction); /** ThreadPinAction pinned. */ public pinned?: (boolean|null); /** * Creates a new ThreadPinAction instance using the specified properties. * @param [properties] Properties to set * @returns ThreadPinAction instance */ public static create(properties?: waproto.SyncActionValue.IThreadPinAction): waproto.SyncActionValue.ThreadPinAction; /** * Encodes the specified ThreadPinAction message. Does not implicitly {@link waproto.SyncActionValue.ThreadPinAction.verify|verify} messages. * @param message ThreadPinAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IThreadPinAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ThreadPinAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ThreadPinAction.verify|verify} messages. * @param message ThreadPinAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IThreadPinAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ThreadPinAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ThreadPinAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ThreadPinAction; /** * Decodes a ThreadPinAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ThreadPinAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ThreadPinAction; /** * Verifies a ThreadPinAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ThreadPinAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ThreadPinAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ThreadPinAction; /** * Creates a plain object from a ThreadPinAction message. Also converts values to other types if specified. * @param message ThreadPinAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ThreadPinAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ThreadPinAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ThreadPinAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AiThreadRenameAction. */ interface IAiThreadRenameAction { /** AiThreadRenameAction newTitle */ newTitle?: (string|null); } /** Represents an AiThreadRenameAction. */ class AiThreadRenameAction implements IAiThreadRenameAction { /** * Constructs a new AiThreadRenameAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IAiThreadRenameAction); /** AiThreadRenameAction newTitle. */ public newTitle?: (string|null); /** * Creates a new AiThreadRenameAction instance using the specified properties. * @param [properties] Properties to set * @returns AiThreadRenameAction instance */ public static create(properties?: waproto.SyncActionValue.IAiThreadRenameAction): waproto.SyncActionValue.AiThreadRenameAction; /** * Encodes the specified AiThreadRenameAction message. Does not implicitly {@link waproto.SyncActionValue.AiThreadRenameAction.verify|verify} messages. * @param message AiThreadRenameAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AiThreadRenameAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AiThreadRenameAction.verify|verify} messages. * @param message AiThreadRenameAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IAiThreadRenameAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AiThreadRenameAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AiThreadRenameAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AiThreadRenameAction; /** * Decodes an AiThreadRenameAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AiThreadRenameAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AiThreadRenameAction; /** * Verifies an AiThreadRenameAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AiThreadRenameAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AiThreadRenameAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AiThreadRenameAction; /** * Creates a plain object from an AiThreadRenameAction message. Also converts values to other types if specified. * @param message AiThreadRenameAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.AiThreadRenameAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AiThreadRenameAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AiThreadRenameAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrivateProcessingSettingAction. */ interface IPrivateProcessingSettingAction { /** PrivateProcessingSettingAction privateProcessingStatus */ privateProcessingStatus?: (waproto.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus|null); } /** Represents a PrivateProcessingSettingAction. */ class PrivateProcessingSettingAction implements IPrivateProcessingSettingAction { /** * Constructs a new PrivateProcessingSettingAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrivateProcessingSettingAction); /** PrivateProcessingSettingAction privateProcessingStatus. */ public privateProcessingStatus?: (waproto.SyncActionValue.PrivateProcessingSettingAction.PrivateProcessingStatus|null); /** * Creates a new PrivateProcessingSettingAction instance using the specified properties. * @param [properties] Properties to set * @returns PrivateProcessingSettingAction instance */ public static create(properties?: waproto.SyncActionValue.IPrivateProcessingSettingAction): waproto.SyncActionValue.PrivateProcessingSettingAction; /** * Encodes the specified PrivateProcessingSettingAction message. Does not implicitly {@link waproto.SyncActionValue.PrivateProcessingSettingAction.verify|verify} messages. * @param message PrivateProcessingSettingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrivateProcessingSettingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivateProcessingSettingAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrivateProcessingSettingAction.verify|verify} messages. * @param message PrivateProcessingSettingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrivateProcessingSettingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivateProcessingSettingAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivateProcessingSettingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrivateProcessingSettingAction; /** * Decodes a PrivateProcessingSettingAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivateProcessingSettingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrivateProcessingSettingAction; /** * Verifies a PrivateProcessingSettingAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivateProcessingSettingAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivateProcessingSettingAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrivateProcessingSettingAction; /** * Creates a plain object from a PrivateProcessingSettingAction message. Also converts values to other types if specified. * @param message PrivateProcessingSettingAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrivateProcessingSettingAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivateProcessingSettingAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrivateProcessingSettingAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PrivateProcessingSettingAction { /** PrivateProcessingStatus enum. */ enum PrivateProcessingStatus { UNDEFINED = 0, ENABLED = 1, DISABLED = 2 } } /** Properties of an AvatarUpdatedAction. */ interface IAvatarUpdatedAction { /** AvatarUpdatedAction eventType */ eventType?: (waproto.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null); /** AvatarUpdatedAction recentAvatarStickers */ recentAvatarStickers?: (waproto.SyncActionValue.IStickerAction[]|null); } /** Represents an AvatarUpdatedAction. */ class AvatarUpdatedAction implements IAvatarUpdatedAction { /** * Constructs a new AvatarUpdatedAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IAvatarUpdatedAction); /** AvatarUpdatedAction eventType. */ public eventType?: (waproto.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null); /** AvatarUpdatedAction recentAvatarStickers. */ public recentAvatarStickers: waproto.SyncActionValue.IStickerAction[]; /** * Creates a new AvatarUpdatedAction instance using the specified properties. * @param [properties] Properties to set * @returns AvatarUpdatedAction instance */ public static create(properties?: waproto.SyncActionValue.IAvatarUpdatedAction): waproto.SyncActionValue.AvatarUpdatedAction; /** * Encodes the specified AvatarUpdatedAction message. Does not implicitly {@link waproto.SyncActionValue.AvatarUpdatedAction.verify|verify} messages. * @param message AvatarUpdatedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AvatarUpdatedAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AvatarUpdatedAction.verify|verify} messages. * @param message AvatarUpdatedAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AvatarUpdatedAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AvatarUpdatedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AvatarUpdatedAction; /** * Decodes an AvatarUpdatedAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AvatarUpdatedAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AvatarUpdatedAction; /** * Verifies an AvatarUpdatedAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AvatarUpdatedAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AvatarUpdatedAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AvatarUpdatedAction; /** * Creates a plain object from an AvatarUpdatedAction message. Also converts values to other types if specified. * @param message AvatarUpdatedAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.AvatarUpdatedAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AvatarUpdatedAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AvatarUpdatedAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace AvatarUpdatedAction { /** AvatarEventType enum. */ enum AvatarEventType { UPDATED = 0, CREATED = 1, DELETED = 2 } } /** Properties of a StatusPostOptInNotificationPreferencesAction. */ interface IStatusPostOptInNotificationPreferencesAction { /** StatusPostOptInNotificationPreferencesAction enabled */ enabled?: (boolean|null); } /** Represents a StatusPostOptInNotificationPreferencesAction. */ class StatusPostOptInNotificationPreferencesAction implements IStatusPostOptInNotificationPreferencesAction { /** * Constructs a new StatusPostOptInNotificationPreferencesAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction); /** StatusPostOptInNotificationPreferencesAction enabled. */ public enabled?: (boolean|null); /** * Creates a new StatusPostOptInNotificationPreferencesAction instance using the specified properties. * @param [properties] Properties to set * @returns StatusPostOptInNotificationPreferencesAction instance */ public static create(properties?: waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction): waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction; /** * Encodes the specified StatusPostOptInNotificationPreferencesAction message. Does not implicitly {@link waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction.verify|verify} messages. * @param message StatusPostOptInNotificationPreferencesAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusPostOptInNotificationPreferencesAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction.verify|verify} messages. * @param message StatusPostOptInNotificationPreferencesAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IStatusPostOptInNotificationPreferencesAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusPostOptInNotificationPreferencesAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusPostOptInNotificationPreferencesAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction; /** * Decodes a StatusPostOptInNotificationPreferencesAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusPostOptInNotificationPreferencesAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction; /** * Verifies a StatusPostOptInNotificationPreferencesAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusPostOptInNotificationPreferencesAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusPostOptInNotificationPreferencesAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction; /** * Creates a plain object from a StatusPostOptInNotificationPreferencesAction message. Also converts values to other types if specified. * @param message StatusPostOptInNotificationPreferencesAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.StatusPostOptInNotificationPreferencesAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusPostOptInNotificationPreferencesAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusPostOptInNotificationPreferencesAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BizAISettingsNudgeAction. */ interface IBizAISettingsNudgeAction { /** BizAISettingsNudgeAction category */ category?: (waproto.SyncActionValue.BizAISettingsNudgeAction.BizAISettingsCategory|null); /** BizAISettingsNudgeAction version */ version?: (number|Long|null); /** BizAISettingsNudgeAction updatedAtMs */ updatedAtMs?: (number|Long|null); } /** Represents a BizAISettingsNudgeAction. */ class BizAISettingsNudgeAction implements IBizAISettingsNudgeAction { /** * Constructs a new BizAISettingsNudgeAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBizAISettingsNudgeAction); /** BizAISettingsNudgeAction category. */ public category?: (waproto.SyncActionValue.BizAISettingsNudgeAction.BizAISettingsCategory|null); /** BizAISettingsNudgeAction version. */ public version?: (number|Long|null); /** BizAISettingsNudgeAction updatedAtMs. */ public updatedAtMs?: (number|Long|null); /** * Creates a new BizAISettingsNudgeAction instance using the specified properties. * @param [properties] Properties to set * @returns BizAISettingsNudgeAction instance */ public static create(properties?: waproto.SyncActionValue.IBizAISettingsNudgeAction): waproto.SyncActionValue.BizAISettingsNudgeAction; /** * Encodes the specified BizAISettingsNudgeAction message. Does not implicitly {@link waproto.SyncActionValue.BizAISettingsNudgeAction.verify|verify} messages. * @param message BizAISettingsNudgeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBizAISettingsNudgeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BizAISettingsNudgeAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BizAISettingsNudgeAction.verify|verify} messages. * @param message BizAISettingsNudgeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBizAISettingsNudgeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BizAISettingsNudgeAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BizAISettingsNudgeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BizAISettingsNudgeAction; /** * Decodes a BizAISettingsNudgeAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BizAISettingsNudgeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BizAISettingsNudgeAction; /** * Verifies a BizAISettingsNudgeAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BizAISettingsNudgeAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BizAISettingsNudgeAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BizAISettingsNudgeAction; /** * Creates a plain object from a BizAISettingsNudgeAction message. Also converts values to other types if specified. * @param message BizAISettingsNudgeAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BizAISettingsNudgeAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BizAISettingsNudgeAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BizAISettingsNudgeAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace BizAISettingsNudgeAction { /** BizAISettingsCategory enum. */ enum BizAISettingsCategory { UNKNOWN = 0, INSTRUCTIONS = 1, RESPONSE_SETTINGS = 2, EXAMPLE_RESPONSES = 3, KNOWLEDGE = 4, LEAD_GEN = 5, HANDOFF_REMOVAL_TIMING = 6 } } /** Properties of a MaibaAIFeaturesControlAction. */ interface IMaibaAIFeaturesControlAction { /** MaibaAIFeaturesControlAction aiFeatureStatus */ aiFeatureStatus?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null); /** MaibaAIFeaturesControlAction aiReplyMode */ aiReplyMode?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIReplyMode|null); } /** Represents a MaibaAIFeaturesControlAction. */ class MaibaAIFeaturesControlAction implements IMaibaAIFeaturesControlAction { /** * Constructs a new MaibaAIFeaturesControlAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMaibaAIFeaturesControlAction); /** MaibaAIFeaturesControlAction aiFeatureStatus. */ public aiFeatureStatus?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null); /** MaibaAIFeaturesControlAction aiReplyMode. */ public aiReplyMode?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIReplyMode|null); /** * Creates a new MaibaAIFeaturesControlAction instance using the specified properties. * @param [properties] Properties to set * @returns MaibaAIFeaturesControlAction instance */ public static create(properties?: waproto.SyncActionValue.IMaibaAIFeaturesControlAction): waproto.SyncActionValue.MaibaAIFeaturesControlAction; /** * Encodes the specified MaibaAIFeaturesControlAction message. Does not implicitly {@link waproto.SyncActionValue.MaibaAIFeaturesControlAction.verify|verify} messages. * @param message MaibaAIFeaturesControlAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMaibaAIFeaturesControlAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MaibaAIFeaturesControlAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MaibaAIFeaturesControlAction.verify|verify} messages. * @param message MaibaAIFeaturesControlAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMaibaAIFeaturesControlAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MaibaAIFeaturesControlAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MaibaAIFeaturesControlAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MaibaAIFeaturesControlAction; /** * Decodes a MaibaAIFeaturesControlAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MaibaAIFeaturesControlAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MaibaAIFeaturesControlAction; /** * Verifies a MaibaAIFeaturesControlAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MaibaAIFeaturesControlAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MaibaAIFeaturesControlAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MaibaAIFeaturesControlAction; /** * Creates a plain object from a MaibaAIFeaturesControlAction message. Also converts values to other types if specified. * @param message MaibaAIFeaturesControlAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MaibaAIFeaturesControlAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MaibaAIFeaturesControlAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MaibaAIFeaturesControlAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MaibaAIFeaturesControlAction { /** MaibaAIReplyMode enum. */ enum MaibaAIReplyMode { MUTED = 0, AI_AGENT = 1, SUGGESTIONS = 2 } /** MaibaAIFeatureStatus enum. */ enum MaibaAIFeatureStatus { ENABLED = 0, ENABLED_HAS_LEARNING = 1, DISABLED = 2 } } /** Properties of a BroadcastListParticipant. */ interface IBroadcastListParticipant { /** BroadcastListParticipant lidJid */ lidJid?: (string|null); /** BroadcastListParticipant pnJid */ pnJid?: (string|null); } /** Represents a BroadcastListParticipant. */ class BroadcastListParticipant implements IBroadcastListParticipant { /** * Constructs a new BroadcastListParticipant. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBroadcastListParticipant); /** BroadcastListParticipant lidJid. */ public lidJid?: (string|null); /** BroadcastListParticipant pnJid. */ public pnJid?: (string|null); /** * Creates a new BroadcastListParticipant instance using the specified properties. * @param [properties] Properties to set * @returns BroadcastListParticipant instance */ public static create(properties?: waproto.SyncActionValue.IBroadcastListParticipant): waproto.SyncActionValue.BroadcastListParticipant; /** * Encodes the specified BroadcastListParticipant message. Does not implicitly {@link waproto.SyncActionValue.BroadcastListParticipant.verify|verify} messages. * @param message BroadcastListParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBroadcastListParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BroadcastListParticipant message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BroadcastListParticipant.verify|verify} messages. * @param message BroadcastListParticipant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBroadcastListParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BroadcastListParticipant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BroadcastListParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BroadcastListParticipant; /** * Decodes a BroadcastListParticipant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BroadcastListParticipant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BroadcastListParticipant; /** * Verifies a BroadcastListParticipant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BroadcastListParticipant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BroadcastListParticipant */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BroadcastListParticipant; /** * Creates a plain object from a BroadcastListParticipant message. Also converts values to other types if specified. * @param message BroadcastListParticipant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BroadcastListParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BroadcastListParticipant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BroadcastListParticipant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessBroadcastCampaignAction. */ interface IBusinessBroadcastCampaignAction { /** BusinessBroadcastCampaignAction deviceId */ deviceId?: (number|null); /** BusinessBroadcastCampaignAction adId */ adId?: (string|null); /** BusinessBroadcastCampaignAction name */ name?: (string|null); /** BusinessBroadcastCampaignAction msgId */ msgId?: (string|null); /** BusinessBroadcastCampaignAction broadcastJid */ broadcastJid?: (string|null); /** BusinessBroadcastCampaignAction reservedQuota */ reservedQuota?: (number|null); /** BusinessBroadcastCampaignAction scheduledTimestamp */ scheduledTimestamp?: (number|Long|null); /** BusinessBroadcastCampaignAction createTimestamp */ createTimestamp?: (number|Long|null); /** BusinessBroadcastCampaignAction status */ status?: (waproto.SyncActionValue.BusinessBroadcastCampaignStatus|null); /** BusinessBroadcastCampaignAction bbProStatus */ bbProStatus?: (waproto.SyncActionValue.BusinessBroadcastCampaignBBProStatus|null); /** BusinessBroadcastCampaignAction customAudienceFbid */ customAudienceFbid?: (string|null); } /** Represents a BusinessBroadcastCampaignAction. */ class BusinessBroadcastCampaignAction implements IBusinessBroadcastCampaignAction { /** * Constructs a new BusinessBroadcastCampaignAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBusinessBroadcastCampaignAction); /** BusinessBroadcastCampaignAction deviceId. */ public deviceId?: (number|null); /** BusinessBroadcastCampaignAction adId. */ public adId?: (string|null); /** BusinessBroadcastCampaignAction name. */ public name?: (string|null); /** BusinessBroadcastCampaignAction msgId. */ public msgId?: (string|null); /** BusinessBroadcastCampaignAction broadcastJid. */ public broadcastJid?: (string|null); /** BusinessBroadcastCampaignAction reservedQuota. */ public reservedQuota?: (number|null); /** BusinessBroadcastCampaignAction scheduledTimestamp. */ public scheduledTimestamp?: (number|Long|null); /** BusinessBroadcastCampaignAction createTimestamp. */ public createTimestamp?: (number|Long|null); /** BusinessBroadcastCampaignAction status. */ public status?: (waproto.SyncActionValue.BusinessBroadcastCampaignStatus|null); /** BusinessBroadcastCampaignAction bbProStatus. */ public bbProStatus?: (waproto.SyncActionValue.BusinessBroadcastCampaignBBProStatus|null); /** BusinessBroadcastCampaignAction customAudienceFbid. */ public customAudienceFbid?: (string|null); /** * Creates a new BusinessBroadcastCampaignAction instance using the specified properties. * @param [properties] Properties to set * @returns BusinessBroadcastCampaignAction instance */ public static create(properties?: waproto.SyncActionValue.IBusinessBroadcastCampaignAction): waproto.SyncActionValue.BusinessBroadcastCampaignAction; /** * Encodes the specified BusinessBroadcastCampaignAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastCampaignAction.verify|verify} messages. * @param message BusinessBroadcastCampaignAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBusinessBroadcastCampaignAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessBroadcastCampaignAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastCampaignAction.verify|verify} messages. * @param message BusinessBroadcastCampaignAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBusinessBroadcastCampaignAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessBroadcastCampaignAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessBroadcastCampaignAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessBroadcastCampaignAction; /** * Decodes a BusinessBroadcastCampaignAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessBroadcastCampaignAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessBroadcastCampaignAction; /** * Verifies a BusinessBroadcastCampaignAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessBroadcastCampaignAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessBroadcastCampaignAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessBroadcastCampaignAction; /** * Creates a plain object from a BusinessBroadcastCampaignAction message. Also converts values to other types if specified. * @param message BusinessBroadcastCampaignAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BusinessBroadcastCampaignAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessBroadcastCampaignAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessBroadcastCampaignAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessBroadcastListAction. */ interface IBusinessBroadcastListAction { /** BusinessBroadcastListAction deleted */ deleted?: (boolean|null); /** BusinessBroadcastListAction participants */ participants?: (waproto.SyncActionValue.IBroadcastListParticipant[]|null); /** BusinessBroadcastListAction listName */ listName?: (string|null); /** BusinessBroadcastListAction labelIds */ labelIds?: (string[]|null); /** BusinessBroadcastListAction audienceExpression */ audienceExpression?: (string|null); /** BusinessBroadcastListAction customAudienceFbid */ customAudienceFbid?: (string|null); } /** Represents a BusinessBroadcastListAction. */ class BusinessBroadcastListAction implements IBusinessBroadcastListAction { /** * Constructs a new BusinessBroadcastListAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBusinessBroadcastListAction); /** BusinessBroadcastListAction deleted. */ public deleted?: (boolean|null); /** BusinessBroadcastListAction participants. */ public participants: waproto.SyncActionValue.IBroadcastListParticipant[]; /** BusinessBroadcastListAction listName. */ public listName?: (string|null); /** BusinessBroadcastListAction labelIds. */ public labelIds: string[]; /** BusinessBroadcastListAction audienceExpression. */ public audienceExpression?: (string|null); /** BusinessBroadcastListAction customAudienceFbid. */ public customAudienceFbid?: (string|null); /** * Creates a new BusinessBroadcastListAction instance using the specified properties. * @param [properties] Properties to set * @returns BusinessBroadcastListAction instance */ public static create(properties?: waproto.SyncActionValue.IBusinessBroadcastListAction): waproto.SyncActionValue.BusinessBroadcastListAction; /** * Encodes the specified BusinessBroadcastListAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages. * @param message BusinessBroadcastListAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessBroadcastListAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages. * @param message BusinessBroadcastListAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessBroadcastListAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessBroadcastListAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessBroadcastListAction; /** * Decodes a BusinessBroadcastListAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessBroadcastListAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessBroadcastListAction; /** * Verifies a BusinessBroadcastListAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessBroadcastListAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessBroadcastListAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessBroadcastListAction; /** * Creates a plain object from a BusinessBroadcastListAction message. Also converts values to other types if specified. * @param message BusinessBroadcastListAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BusinessBroadcastListAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessBroadcastListAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessBroadcastListAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BusinessBroadcastAssociationAction. */ interface IBusinessBroadcastAssociationAction { /** BusinessBroadcastAssociationAction deleted */ deleted?: (boolean|null); } /** Represents a BusinessBroadcastAssociationAction. */ class BusinessBroadcastAssociationAction implements IBusinessBroadcastAssociationAction { /** * Constructs a new BusinessBroadcastAssociationAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBusinessBroadcastAssociationAction); /** BusinessBroadcastAssociationAction deleted. */ public deleted?: (boolean|null); /** * Creates a new BusinessBroadcastAssociationAction instance using the specified properties. * @param [properties] Properties to set * @returns BusinessBroadcastAssociationAction instance */ public static create(properties?: waproto.SyncActionValue.IBusinessBroadcastAssociationAction): waproto.SyncActionValue.BusinessBroadcastAssociationAction; /** * Encodes the specified BusinessBroadcastAssociationAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages. * @param message BusinessBroadcastAssociationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BusinessBroadcastAssociationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages. * @param message BusinessBroadcastAssociationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BusinessBroadcastAssociationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessBroadcastAssociationAction; /** * Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BusinessBroadcastAssociationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessBroadcastAssociationAction; /** * Verifies a BusinessBroadcastAssociationAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BusinessBroadcastAssociationAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BusinessBroadcastAssociationAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessBroadcastAssociationAction; /** * Creates a plain object from a BusinessBroadcastAssociationAction message. Also converts values to other types if specified. * @param message BusinessBroadcastAssociationAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BusinessBroadcastAssociationAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BusinessBroadcastAssociationAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BusinessBroadcastAssociationAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentTosAction. */ interface IPaymentTosAction { /** PaymentTosAction paymentNotice */ paymentNotice?: (waproto.SyncActionValue.PaymentTosAction.PaymentNotice|null); /** PaymentTosAction accepted */ accepted?: (boolean|null); } /** Represents a PaymentTosAction. */ class PaymentTosAction implements IPaymentTosAction { /** * Constructs a new PaymentTosAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPaymentTosAction); /** PaymentTosAction paymentNotice. */ public paymentNotice?: (waproto.SyncActionValue.PaymentTosAction.PaymentNotice|null); /** PaymentTosAction accepted. */ public accepted?: (boolean|null); /** * Creates a new PaymentTosAction instance using the specified properties. * @param [properties] Properties to set * @returns PaymentTosAction instance */ public static create(properties?: waproto.SyncActionValue.IPaymentTosAction): waproto.SyncActionValue.PaymentTosAction; /** * Encodes the specified PaymentTosAction message. Does not implicitly {@link waproto.SyncActionValue.PaymentTosAction.verify|verify} messages. * @param message PaymentTosAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPaymentTosAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentTosAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PaymentTosAction.verify|verify} messages. * @param message PaymentTosAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPaymentTosAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentTosAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentTosAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PaymentTosAction; /** * Decodes a PaymentTosAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentTosAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PaymentTosAction; /** * Verifies a PaymentTosAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentTosAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentTosAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PaymentTosAction; /** * Creates a plain object from a PaymentTosAction message. Also converts values to other types if specified. * @param message PaymentTosAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PaymentTosAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentTosAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentTosAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace PaymentTosAction { /** PaymentNotice enum. */ enum PaymentNotice { BR_PAY_PRIVACY_POLICY = 0 } } /** Properties of a CtwaPerCustomerDataSharingAction. */ interface ICtwaPerCustomerDataSharingAction { /** CtwaPerCustomerDataSharingAction isCtwaPerCustomerDataSharingEnabled */ isCtwaPerCustomerDataSharingEnabled?: (boolean|null); } /** Represents a CtwaPerCustomerDataSharingAction. */ class CtwaPerCustomerDataSharingAction implements ICtwaPerCustomerDataSharingAction { /** * Constructs a new CtwaPerCustomerDataSharingAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction); /** CtwaPerCustomerDataSharingAction isCtwaPerCustomerDataSharingEnabled. */ public isCtwaPerCustomerDataSharingEnabled?: (boolean|null); /** * Creates a new CtwaPerCustomerDataSharingAction instance using the specified properties. * @param [properties] Properties to set * @returns CtwaPerCustomerDataSharingAction instance */ public static create(properties?: waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction): waproto.SyncActionValue.CtwaPerCustomerDataSharingAction; /** * Encodes the specified CtwaPerCustomerDataSharingAction message. Does not implicitly {@link waproto.SyncActionValue.CtwaPerCustomerDataSharingAction.verify|verify} messages. * @param message CtwaPerCustomerDataSharingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CtwaPerCustomerDataSharingAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CtwaPerCustomerDataSharingAction.verify|verify} messages. * @param message CtwaPerCustomerDataSharingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICtwaPerCustomerDataSharingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CtwaPerCustomerDataSharingAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CtwaPerCustomerDataSharingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CtwaPerCustomerDataSharingAction; /** * Decodes a CtwaPerCustomerDataSharingAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CtwaPerCustomerDataSharingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CtwaPerCustomerDataSharingAction; /** * Verifies a CtwaPerCustomerDataSharingAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CtwaPerCustomerDataSharingAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CtwaPerCustomerDataSharingAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CtwaPerCustomerDataSharingAction; /** * Creates a plain object from a CtwaPerCustomerDataSharingAction message. Also converts values to other types if specified. * @param message CtwaPerCustomerDataSharingAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CtwaPerCustomerDataSharingAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CtwaPerCustomerDataSharingAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CtwaPerCustomerDataSharingAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OutContactAction. */ interface IOutContactAction { /** OutContactAction fullName */ fullName?: (string|null); /** OutContactAction firstName */ firstName?: (string|null); } /** Represents an OutContactAction. */ class OutContactAction implements IOutContactAction { /** * Constructs a new OutContactAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IOutContactAction); /** OutContactAction fullName. */ public fullName?: (string|null); /** OutContactAction firstName. */ public firstName?: (string|null); /** * Creates a new OutContactAction instance using the specified properties. * @param [properties] Properties to set * @returns OutContactAction instance */ public static create(properties?: waproto.SyncActionValue.IOutContactAction): waproto.SyncActionValue.OutContactAction; /** * Encodes the specified OutContactAction message. Does not implicitly {@link waproto.SyncActionValue.OutContactAction.verify|verify} messages. * @param message OutContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IOutContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OutContactAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.OutContactAction.verify|verify} messages. * @param message OutContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IOutContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an OutContactAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns OutContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.OutContactAction; /** * Decodes an OutContactAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns OutContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.OutContactAction; /** * Verifies an OutContactAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an OutContactAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OutContactAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.OutContactAction; /** * Creates a plain object from an OutContactAction message. Also converts values to other types if specified. * @param message OutContactAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.OutContactAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OutContactAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for OutContactAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LidContactAction. */ interface ILidContactAction { /** LidContactAction fullName */ fullName?: (string|null); /** LidContactAction firstName */ firstName?: (string|null); /** LidContactAction username */ username?: (string|null); } /** Represents a LidContactAction. */ class LidContactAction implements ILidContactAction { /** * Constructs a new LidContactAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILidContactAction); /** LidContactAction fullName. */ public fullName?: (string|null); /** LidContactAction firstName. */ public firstName?: (string|null); /** LidContactAction username. */ public username?: (string|null); /** * Creates a new LidContactAction instance using the specified properties. * @param [properties] Properties to set * @returns LidContactAction instance */ public static create(properties?: waproto.SyncActionValue.ILidContactAction): waproto.SyncActionValue.LidContactAction; /** * Encodes the specified LidContactAction message. Does not implicitly {@link waproto.SyncActionValue.LidContactAction.verify|verify} messages. * @param message LidContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILidContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LidContactAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LidContactAction.verify|verify} messages. * @param message LidContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILidContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LidContactAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LidContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LidContactAction; /** * Decodes a LidContactAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LidContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LidContactAction; /** * Verifies a LidContactAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LidContactAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LidContactAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LidContactAction; /** * Creates a plain object from a LidContactAction message. Also converts values to other types if specified. * @param message LidContactAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LidContactAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LidContactAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LidContactAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NotificationActivitySettingAction. */ interface INotificationActivitySettingAction { /** NotificationActivitySettingAction notificationActivitySetting */ notificationActivitySetting?: (waproto.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting|null); } /** Represents a NotificationActivitySettingAction. */ class NotificationActivitySettingAction implements INotificationActivitySettingAction { /** * Constructs a new NotificationActivitySettingAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.INotificationActivitySettingAction); /** NotificationActivitySettingAction notificationActivitySetting. */ public notificationActivitySetting?: (waproto.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting|null); /** * Creates a new NotificationActivitySettingAction instance using the specified properties. * @param [properties] Properties to set * @returns NotificationActivitySettingAction instance */ public static create(properties?: waproto.SyncActionValue.INotificationActivitySettingAction): waproto.SyncActionValue.NotificationActivitySettingAction; /** * Encodes the specified NotificationActivitySettingAction message. Does not implicitly {@link waproto.SyncActionValue.NotificationActivitySettingAction.verify|verify} messages. * @param message NotificationActivitySettingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.INotificationActivitySettingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NotificationActivitySettingAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NotificationActivitySettingAction.verify|verify} messages. * @param message NotificationActivitySettingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.INotificationActivitySettingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NotificationActivitySettingAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NotificationActivitySettingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NotificationActivitySettingAction; /** * Decodes a NotificationActivitySettingAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NotificationActivitySettingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NotificationActivitySettingAction; /** * Verifies a NotificationActivitySettingAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NotificationActivitySettingAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NotificationActivitySettingAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NotificationActivitySettingAction; /** * Creates a plain object from a NotificationActivitySettingAction message. Also converts values to other types if specified. * @param message NotificationActivitySettingAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.NotificationActivitySettingAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NotificationActivitySettingAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NotificationActivitySettingAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NotificationActivitySettingAction { /** NotificationActivitySetting enum. */ enum NotificationActivitySetting { DEFAULT_ALL_MESSAGES = 0, ALL_MESSAGES = 1, HIGHLIGHTS = 2, DEFAULT_HIGHLIGHTS = 3 } } /** Properties of a WaffleAccountLinkStateAction. */ interface IWaffleAccountLinkStateAction { /** WaffleAccountLinkStateAction linkState */ linkState?: (waproto.SyncActionValue.WaffleAccountLinkStateAction.AccountLinkState|null); } /** Represents a WaffleAccountLinkStateAction. */ class WaffleAccountLinkStateAction implements IWaffleAccountLinkStateAction { /** * Constructs a new WaffleAccountLinkStateAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IWaffleAccountLinkStateAction); /** WaffleAccountLinkStateAction linkState. */ public linkState?: (waproto.SyncActionValue.WaffleAccountLinkStateAction.AccountLinkState|null); /** * Creates a new WaffleAccountLinkStateAction instance using the specified properties. * @param [properties] Properties to set * @returns WaffleAccountLinkStateAction instance */ public static create(properties?: waproto.SyncActionValue.IWaffleAccountLinkStateAction): waproto.SyncActionValue.WaffleAccountLinkStateAction; /** * Encodes the specified WaffleAccountLinkStateAction message. Does not implicitly {@link waproto.SyncActionValue.WaffleAccountLinkStateAction.verify|verify} messages. * @param message WaffleAccountLinkStateAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IWaffleAccountLinkStateAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WaffleAccountLinkStateAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.WaffleAccountLinkStateAction.verify|verify} messages. * @param message WaffleAccountLinkStateAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IWaffleAccountLinkStateAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WaffleAccountLinkStateAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WaffleAccountLinkStateAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.WaffleAccountLinkStateAction; /** * Decodes a WaffleAccountLinkStateAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WaffleAccountLinkStateAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.WaffleAccountLinkStateAction; /** * Verifies a WaffleAccountLinkStateAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WaffleAccountLinkStateAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WaffleAccountLinkStateAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.WaffleAccountLinkStateAction; /** * Creates a plain object from a WaffleAccountLinkStateAction message. Also converts values to other types if specified. * @param message WaffleAccountLinkStateAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.WaffleAccountLinkStateAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WaffleAccountLinkStateAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WaffleAccountLinkStateAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WaffleAccountLinkStateAction { /** AccountLinkState enum. */ enum AccountLinkState { ACTIVE = 0, PAUSED = 1, UNLINKED = 2 } } /** Properties of a MerchantPaymentPartnerAction. */ interface IMerchantPaymentPartnerAction { /** MerchantPaymentPartnerAction status */ status?: (waproto.SyncActionValue.MerchantPaymentPartnerAction.Status|null); /** MerchantPaymentPartnerAction country */ country?: (string|null); /** MerchantPaymentPartnerAction gatewayName */ gatewayName?: (string|null); /** MerchantPaymentPartnerAction credentialId */ credentialId?: (string|null); } /** Represents a MerchantPaymentPartnerAction. */ class MerchantPaymentPartnerAction implements IMerchantPaymentPartnerAction { /** * Constructs a new MerchantPaymentPartnerAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMerchantPaymentPartnerAction); /** MerchantPaymentPartnerAction status. */ public status?: (waproto.SyncActionValue.MerchantPaymentPartnerAction.Status|null); /** MerchantPaymentPartnerAction country. */ public country?: (string|null); /** MerchantPaymentPartnerAction gatewayName. */ public gatewayName?: (string|null); /** MerchantPaymentPartnerAction credentialId. */ public credentialId?: (string|null); /** * Creates a new MerchantPaymentPartnerAction instance using the specified properties. * @param [properties] Properties to set * @returns MerchantPaymentPartnerAction instance */ public static create(properties?: waproto.SyncActionValue.IMerchantPaymentPartnerAction): waproto.SyncActionValue.MerchantPaymentPartnerAction; /** * Encodes the specified MerchantPaymentPartnerAction message. Does not implicitly {@link waproto.SyncActionValue.MerchantPaymentPartnerAction.verify|verify} messages. * @param message MerchantPaymentPartnerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMerchantPaymentPartnerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MerchantPaymentPartnerAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MerchantPaymentPartnerAction.verify|verify} messages. * @param message MerchantPaymentPartnerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMerchantPaymentPartnerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MerchantPaymentPartnerAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MerchantPaymentPartnerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MerchantPaymentPartnerAction; /** * Decodes a MerchantPaymentPartnerAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MerchantPaymentPartnerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MerchantPaymentPartnerAction; /** * Verifies a MerchantPaymentPartnerAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MerchantPaymentPartnerAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MerchantPaymentPartnerAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MerchantPaymentPartnerAction; /** * Creates a plain object from a MerchantPaymentPartnerAction message. Also converts values to other types if specified. * @param message MerchantPaymentPartnerAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MerchantPaymentPartnerAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MerchantPaymentPartnerAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MerchantPaymentPartnerAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MerchantPaymentPartnerAction { /** Status enum. */ enum Status { ACTIVE = 0, INACTIVE = 1 } } /** Properties of a FavoritesAction. */ interface IFavoritesAction { /** FavoritesAction favorites */ favorites?: (waproto.SyncActionValue.FavoritesAction.IFavorite[]|null); } /** Represents a FavoritesAction. */ class FavoritesAction implements IFavoritesAction { /** * Constructs a new FavoritesAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IFavoritesAction); /** FavoritesAction favorites. */ public favorites: waproto.SyncActionValue.FavoritesAction.IFavorite[]; /** * Creates a new FavoritesAction instance using the specified properties. * @param [properties] Properties to set * @returns FavoritesAction instance */ public static create(properties?: waproto.SyncActionValue.IFavoritesAction): waproto.SyncActionValue.FavoritesAction; /** * Encodes the specified FavoritesAction message. Does not implicitly {@link waproto.SyncActionValue.FavoritesAction.verify|verify} messages. * @param message FavoritesAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IFavoritesAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FavoritesAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.FavoritesAction.verify|verify} messages. * @param message FavoritesAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IFavoritesAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FavoritesAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns FavoritesAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.FavoritesAction; /** * Decodes a FavoritesAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns FavoritesAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.FavoritesAction; /** * Verifies a FavoritesAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a FavoritesAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FavoritesAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.FavoritesAction; /** * Creates a plain object from a FavoritesAction message. Also converts values to other types if specified. * @param message FavoritesAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.FavoritesAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FavoritesAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for FavoritesAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FavoritesAction { /** Properties of a Favorite. */ interface IFavorite { /** Favorite id */ id?: (string|null); } /** Represents a Favorite. */ class Favorite implements IFavorite { /** * Constructs a new Favorite. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.FavoritesAction.IFavorite); /** Favorite id. */ public id?: (string|null); /** * Creates a new Favorite instance using the specified properties. * @param [properties] Properties to set * @returns Favorite instance */ public static create(properties?: waproto.SyncActionValue.FavoritesAction.IFavorite): waproto.SyncActionValue.FavoritesAction.Favorite; /** * Encodes the specified Favorite message. Does not implicitly {@link waproto.SyncActionValue.FavoritesAction.Favorite.verify|verify} messages. * @param message Favorite message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.FavoritesAction.IFavorite, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Favorite message, length delimited. Does not implicitly {@link waproto.SyncActionValue.FavoritesAction.Favorite.verify|verify} messages. * @param message Favorite message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.FavoritesAction.IFavorite, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Favorite message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Favorite * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.FavoritesAction.Favorite; /** * Decodes a Favorite message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Favorite * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.FavoritesAction.Favorite; /** * Verifies a Favorite message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Favorite message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Favorite */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.FavoritesAction.Favorite; /** * Creates a plain object from a Favorite message. Also converts values to other types if specified. * @param message Favorite * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.FavoritesAction.Favorite, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Favorite to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Favorite * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a NoteEditAction. */ interface INoteEditAction { /** NoteEditAction type */ type?: (waproto.SyncActionValue.NoteEditAction.NoteType|null); /** NoteEditAction chatJid */ chatJid?: (string|null); /** NoteEditAction createdAt */ createdAt?: (number|Long|null); /** NoteEditAction deleted */ deleted?: (boolean|null); /** NoteEditAction unstructuredContent */ unstructuredContent?: (string|null); } /** Represents a NoteEditAction. */ class NoteEditAction implements INoteEditAction { /** * Constructs a new NoteEditAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.INoteEditAction); /** NoteEditAction type. */ public type?: (waproto.SyncActionValue.NoteEditAction.NoteType|null); /** NoteEditAction chatJid. */ public chatJid?: (string|null); /** NoteEditAction createdAt. */ public createdAt?: (number|Long|null); /** NoteEditAction deleted. */ public deleted?: (boolean|null); /** NoteEditAction unstructuredContent. */ public unstructuredContent?: (string|null); /** * Creates a new NoteEditAction instance using the specified properties. * @param [properties] Properties to set * @returns NoteEditAction instance */ public static create(properties?: waproto.SyncActionValue.INoteEditAction): waproto.SyncActionValue.NoteEditAction; /** * Encodes the specified NoteEditAction message. Does not implicitly {@link waproto.SyncActionValue.NoteEditAction.verify|verify} messages. * @param message NoteEditAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.INoteEditAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NoteEditAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NoteEditAction.verify|verify} messages. * @param message NoteEditAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.INoteEditAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NoteEditAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NoteEditAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NoteEditAction; /** * Decodes a NoteEditAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NoteEditAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NoteEditAction; /** * Verifies a NoteEditAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NoteEditAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NoteEditAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NoteEditAction; /** * Creates a plain object from a NoteEditAction message. Also converts values to other types if specified. * @param message NoteEditAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.NoteEditAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NoteEditAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NoteEditAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace NoteEditAction { /** NoteType enum. */ enum NoteType { UNSTRUCTURED = 1, STRUCTURED = 2 } } /** Properties of a PrivacySettingChannelsPersonalisedRecommendationAction. */ interface IPrivacySettingChannelsPersonalisedRecommendationAction { /** PrivacySettingChannelsPersonalisedRecommendationAction isUserOptedOut */ isUserOptedOut?: (boolean|null); } /** Represents a PrivacySettingChannelsPersonalisedRecommendationAction. */ class PrivacySettingChannelsPersonalisedRecommendationAction implements IPrivacySettingChannelsPersonalisedRecommendationAction { /** * Constructs a new PrivacySettingChannelsPersonalisedRecommendationAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction); /** PrivacySettingChannelsPersonalisedRecommendationAction isUserOptedOut. */ public isUserOptedOut?: (boolean|null); /** * Creates a new PrivacySettingChannelsPersonalisedRecommendationAction instance using the specified properties. * @param [properties] Properties to set * @returns PrivacySettingChannelsPersonalisedRecommendationAction instance */ public static create(properties?: waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction): waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction; /** * Encodes the specified PrivacySettingChannelsPersonalisedRecommendationAction message. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.verify|verify} messages. * @param message PrivacySettingChannelsPersonalisedRecommendationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivacySettingChannelsPersonalisedRecommendationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.verify|verify} messages. * @param message PrivacySettingChannelsPersonalisedRecommendationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivacySettingChannelsPersonalisedRecommendationAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivacySettingChannelsPersonalisedRecommendationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction; /** * Decodes a PrivacySettingChannelsPersonalisedRecommendationAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivacySettingChannelsPersonalisedRecommendationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction; /** * Verifies a PrivacySettingChannelsPersonalisedRecommendationAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivacySettingChannelsPersonalisedRecommendationAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivacySettingChannelsPersonalisedRecommendationAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction; /** * Creates a plain object from a PrivacySettingChannelsPersonalisedRecommendationAction message. Also converts values to other types if specified. * @param message PrivacySettingChannelsPersonalisedRecommendationAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivacySettingChannelsPersonalisedRecommendationAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrivacySettingChannelsPersonalisedRecommendationAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrivacySettingDisableLinkPreviewsAction. */ interface IPrivacySettingDisableLinkPreviewsAction { /** PrivacySettingDisableLinkPreviewsAction isPreviewsDisabled */ isPreviewsDisabled?: (boolean|null); } /** Represents a PrivacySettingDisableLinkPreviewsAction. */ class PrivacySettingDisableLinkPreviewsAction implements IPrivacySettingDisableLinkPreviewsAction { /** * Constructs a new PrivacySettingDisableLinkPreviewsAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction); /** PrivacySettingDisableLinkPreviewsAction isPreviewsDisabled. */ public isPreviewsDisabled?: (boolean|null); /** * Creates a new PrivacySettingDisableLinkPreviewsAction instance using the specified properties. * @param [properties] Properties to set * @returns PrivacySettingDisableLinkPreviewsAction instance */ public static create(properties?: waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction): waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction; /** * Encodes the specified PrivacySettingDisableLinkPreviewsAction message. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction.verify|verify} messages. * @param message PrivacySettingDisableLinkPreviewsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivacySettingDisableLinkPreviewsAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction.verify|verify} messages. * @param message PrivacySettingDisableLinkPreviewsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrivacySettingDisableLinkPreviewsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivacySettingDisableLinkPreviewsAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivacySettingDisableLinkPreviewsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction; /** * Decodes a PrivacySettingDisableLinkPreviewsAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivacySettingDisableLinkPreviewsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction; /** * Verifies a PrivacySettingDisableLinkPreviewsAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivacySettingDisableLinkPreviewsAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivacySettingDisableLinkPreviewsAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction; /** * Creates a plain object from a PrivacySettingDisableLinkPreviewsAction message. Also converts values to other types if specified. * @param message PrivacySettingDisableLinkPreviewsAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrivacySettingDisableLinkPreviewsAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivacySettingDisableLinkPreviewsAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrivacySettingDisableLinkPreviewsAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WamoUserIdentifierAction. */ interface IWamoUserIdentifierAction { /** WamoUserIdentifierAction identifier */ identifier?: (string|null); } /** Represents a WamoUserIdentifierAction. */ class WamoUserIdentifierAction implements IWamoUserIdentifierAction { /** * Constructs a new WamoUserIdentifierAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IWamoUserIdentifierAction); /** WamoUserIdentifierAction identifier. */ public identifier?: (string|null); /** * Creates a new WamoUserIdentifierAction instance using the specified properties. * @param [properties] Properties to set * @returns WamoUserIdentifierAction instance */ public static create(properties?: waproto.SyncActionValue.IWamoUserIdentifierAction): waproto.SyncActionValue.WamoUserIdentifierAction; /** * Encodes the specified WamoUserIdentifierAction message. Does not implicitly {@link waproto.SyncActionValue.WamoUserIdentifierAction.verify|verify} messages. * @param message WamoUserIdentifierAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IWamoUserIdentifierAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WamoUserIdentifierAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.WamoUserIdentifierAction.verify|verify} messages. * @param message WamoUserIdentifierAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IWamoUserIdentifierAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WamoUserIdentifierAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WamoUserIdentifierAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.WamoUserIdentifierAction; /** * Decodes a WamoUserIdentifierAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WamoUserIdentifierAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.WamoUserIdentifierAction; /** * Verifies a WamoUserIdentifierAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WamoUserIdentifierAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WamoUserIdentifierAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.WamoUserIdentifierAction; /** * Creates a plain object from a WamoUserIdentifierAction message. Also converts values to other types if specified. * @param message WamoUserIdentifierAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.WamoUserIdentifierAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WamoUserIdentifierAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WamoUserIdentifierAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BubbleLockMessageAction. */ interface IBubbleLockMessageAction { /** BubbleLockMessageAction locked */ locked?: (boolean|null); } /** Represents a BubbleLockMessageAction. */ class BubbleLockMessageAction implements IBubbleLockMessageAction { /** * Constructs a new BubbleLockMessageAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBubbleLockMessageAction); /** BubbleLockMessageAction locked. */ public locked?: (boolean|null); /** * Creates a new BubbleLockMessageAction instance using the specified properties. * @param [properties] Properties to set * @returns BubbleLockMessageAction instance */ public static create(properties?: waproto.SyncActionValue.IBubbleLockMessageAction): waproto.SyncActionValue.BubbleLockMessageAction; /** * Encodes the specified BubbleLockMessageAction message. Does not implicitly {@link waproto.SyncActionValue.BubbleLockMessageAction.verify|verify} messages. * @param message BubbleLockMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBubbleLockMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BubbleLockMessageAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BubbleLockMessageAction.verify|verify} messages. * @param message BubbleLockMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBubbleLockMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BubbleLockMessageAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BubbleLockMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BubbleLockMessageAction; /** * Decodes a BubbleLockMessageAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BubbleLockMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BubbleLockMessageAction; /** * Verifies a BubbleLockMessageAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BubbleLockMessageAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BubbleLockMessageAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BubbleLockMessageAction; /** * Creates a plain object from a BubbleLockMessageAction message. Also converts values to other types if specified. * @param message BubbleLockMessageAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BubbleLockMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BubbleLockMessageAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BubbleLockMessageAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LockChatAction. */ interface ILockChatAction { /** LockChatAction locked */ locked?: (boolean|null); } /** Represents a LockChatAction. */ class LockChatAction implements ILockChatAction { /** * Constructs a new LockChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILockChatAction); /** LockChatAction locked. */ public locked?: (boolean|null); /** * Creates a new LockChatAction instance using the specified properties. * @param [properties] Properties to set * @returns LockChatAction instance */ public static create(properties?: waproto.SyncActionValue.ILockChatAction): waproto.SyncActionValue.LockChatAction; /** * Encodes the specified LockChatAction message. Does not implicitly {@link waproto.SyncActionValue.LockChatAction.verify|verify} messages. * @param message LockChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILockChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LockChatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LockChatAction.verify|verify} messages. * @param message LockChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILockChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LockChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LockChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LockChatAction; /** * Decodes a LockChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LockChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LockChatAction; /** * Verifies a LockChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LockChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LockChatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LockChatAction; /** * Creates a plain object from a LockChatAction message. Also converts values to other types if specified. * @param message LockChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LockChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LockChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LockChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomPaymentMethodsAction. */ interface ICustomPaymentMethodsAction { /** CustomPaymentMethodsAction customPaymentMethods */ customPaymentMethods?: (waproto.SyncActionValue.ICustomPaymentMethod[]|null); } /** Represents a CustomPaymentMethodsAction. */ class CustomPaymentMethodsAction implements ICustomPaymentMethodsAction { /** * Constructs a new CustomPaymentMethodsAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICustomPaymentMethodsAction); /** CustomPaymentMethodsAction customPaymentMethods. */ public customPaymentMethods: waproto.SyncActionValue.ICustomPaymentMethod[]; /** * Creates a new CustomPaymentMethodsAction instance using the specified properties. * @param [properties] Properties to set * @returns CustomPaymentMethodsAction instance */ public static create(properties?: waproto.SyncActionValue.ICustomPaymentMethodsAction): waproto.SyncActionValue.CustomPaymentMethodsAction; /** * Encodes the specified CustomPaymentMethodsAction message. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethodsAction.verify|verify} messages. * @param message CustomPaymentMethodsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICustomPaymentMethodsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomPaymentMethodsAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethodsAction.verify|verify} messages. * @param message CustomPaymentMethodsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICustomPaymentMethodsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomPaymentMethodsAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomPaymentMethodsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CustomPaymentMethodsAction; /** * Decodes a CustomPaymentMethodsAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomPaymentMethodsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CustomPaymentMethodsAction; /** * Verifies a CustomPaymentMethodsAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomPaymentMethodsAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomPaymentMethodsAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CustomPaymentMethodsAction; /** * Creates a plain object from a CustomPaymentMethodsAction message. Also converts values to other types if specified. * @param message CustomPaymentMethodsAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CustomPaymentMethodsAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomPaymentMethodsAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomPaymentMethodsAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomPaymentMethod. */ interface ICustomPaymentMethod { /** CustomPaymentMethod credentialId */ credentialId?: (string|null); /** CustomPaymentMethod country */ country?: (string|null); /** CustomPaymentMethod type */ type?: (string|null); /** CustomPaymentMethod metadata */ metadata?: (waproto.SyncActionValue.ICustomPaymentMethodMetadata[]|null); } /** Represents a CustomPaymentMethod. */ class CustomPaymentMethod implements ICustomPaymentMethod { /** * Constructs a new CustomPaymentMethod. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICustomPaymentMethod); /** CustomPaymentMethod credentialId. */ public credentialId?: (string|null); /** CustomPaymentMethod country. */ public country?: (string|null); /** CustomPaymentMethod type. */ public type?: (string|null); /** CustomPaymentMethod metadata. */ public metadata: waproto.SyncActionValue.ICustomPaymentMethodMetadata[]; /** * Creates a new CustomPaymentMethod instance using the specified properties. * @param [properties] Properties to set * @returns CustomPaymentMethod instance */ public static create(properties?: waproto.SyncActionValue.ICustomPaymentMethod): waproto.SyncActionValue.CustomPaymentMethod; /** * Encodes the specified CustomPaymentMethod message. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethod.verify|verify} messages. * @param message CustomPaymentMethod message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICustomPaymentMethod, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomPaymentMethod message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethod.verify|verify} messages. * @param message CustomPaymentMethod message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICustomPaymentMethod, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomPaymentMethod message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomPaymentMethod * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CustomPaymentMethod; /** * Decodes a CustomPaymentMethod message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomPaymentMethod * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CustomPaymentMethod; /** * Verifies a CustomPaymentMethod message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomPaymentMethod message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomPaymentMethod */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CustomPaymentMethod; /** * Creates a plain object from a CustomPaymentMethod message. Also converts values to other types if specified. * @param message CustomPaymentMethod * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CustomPaymentMethod, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomPaymentMethod to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomPaymentMethod * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomPaymentMethodMetadata. */ interface ICustomPaymentMethodMetadata { /** CustomPaymentMethodMetadata key */ key?: (string|null); /** CustomPaymentMethodMetadata value */ value?: (string|null); } /** Represents a CustomPaymentMethodMetadata. */ class CustomPaymentMethodMetadata implements ICustomPaymentMethodMetadata { /** * Constructs a new CustomPaymentMethodMetadata. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICustomPaymentMethodMetadata); /** CustomPaymentMethodMetadata key. */ public key?: (string|null); /** CustomPaymentMethodMetadata value. */ public value?: (string|null); /** * Creates a new CustomPaymentMethodMetadata instance using the specified properties. * @param [properties] Properties to set * @returns CustomPaymentMethodMetadata instance */ public static create(properties?: waproto.SyncActionValue.ICustomPaymentMethodMetadata): waproto.SyncActionValue.CustomPaymentMethodMetadata; /** * Encodes the specified CustomPaymentMethodMetadata message. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethodMetadata.verify|verify} messages. * @param message CustomPaymentMethodMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICustomPaymentMethodMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomPaymentMethodMetadata message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CustomPaymentMethodMetadata.verify|verify} messages. * @param message CustomPaymentMethodMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICustomPaymentMethodMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomPaymentMethodMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomPaymentMethodMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CustomPaymentMethodMetadata; /** * Decodes a CustomPaymentMethodMetadata message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomPaymentMethodMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CustomPaymentMethodMetadata; /** * Verifies a CustomPaymentMethodMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomPaymentMethodMetadata message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomPaymentMethodMetadata */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CustomPaymentMethodMetadata; /** * Creates a plain object from a CustomPaymentMethodMetadata message. Also converts values to other types if specified. * @param message CustomPaymentMethodMetadata * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CustomPaymentMethodMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomPaymentMethodMetadata to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomPaymentMethodMetadata * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PaymentInfoAction. */ interface IPaymentInfoAction { /** PaymentInfoAction cpi */ cpi?: (string|null); } /** Represents a PaymentInfoAction. */ class PaymentInfoAction implements IPaymentInfoAction { /** * Constructs a new PaymentInfoAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPaymentInfoAction); /** PaymentInfoAction cpi. */ public cpi?: (string|null); /** * Creates a new PaymentInfoAction instance using the specified properties. * @param [properties] Properties to set * @returns PaymentInfoAction instance */ public static create(properties?: waproto.SyncActionValue.IPaymentInfoAction): waproto.SyncActionValue.PaymentInfoAction; /** * Encodes the specified PaymentInfoAction message. Does not implicitly {@link waproto.SyncActionValue.PaymentInfoAction.verify|verify} messages. * @param message PaymentInfoAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPaymentInfoAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PaymentInfoAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PaymentInfoAction.verify|verify} messages. * @param message PaymentInfoAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPaymentInfoAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PaymentInfoAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PaymentInfoAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PaymentInfoAction; /** * Decodes a PaymentInfoAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PaymentInfoAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PaymentInfoAction; /** * Verifies a PaymentInfoAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PaymentInfoAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PaymentInfoAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PaymentInfoAction; /** * Creates a plain object from a PaymentInfoAction message. Also converts values to other types if specified. * @param message PaymentInfoAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PaymentInfoAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PaymentInfoAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PaymentInfoAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LabelReorderingAction. */ interface ILabelReorderingAction { /** LabelReorderingAction sortedLabelIds */ sortedLabelIds?: (number[]|null); } /** Represents a LabelReorderingAction. */ class LabelReorderingAction implements ILabelReorderingAction { /** * Constructs a new LabelReorderingAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILabelReorderingAction); /** LabelReorderingAction sortedLabelIds. */ public sortedLabelIds: number[]; /** * Creates a new LabelReorderingAction instance using the specified properties. * @param [properties] Properties to set * @returns LabelReorderingAction instance */ public static create(properties?: waproto.SyncActionValue.ILabelReorderingAction): waproto.SyncActionValue.LabelReorderingAction; /** * Encodes the specified LabelReorderingAction message. Does not implicitly {@link waproto.SyncActionValue.LabelReorderingAction.verify|verify} messages. * @param message LabelReorderingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILabelReorderingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LabelReorderingAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LabelReorderingAction.verify|verify} messages. * @param message LabelReorderingAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILabelReorderingAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LabelReorderingAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LabelReorderingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LabelReorderingAction; /** * Decodes a LabelReorderingAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LabelReorderingAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LabelReorderingAction; /** * Verifies a LabelReorderingAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LabelReorderingAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LabelReorderingAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LabelReorderingAction; /** * Creates a plain object from a LabelReorderingAction message. Also converts values to other types if specified. * @param message LabelReorderingAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LabelReorderingAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LabelReorderingAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LabelReorderingAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteIndividualCallLogAction. */ interface IDeleteIndividualCallLogAction { /** DeleteIndividualCallLogAction peerJid */ peerJid?: (string|null); /** DeleteIndividualCallLogAction isIncoming */ isIncoming?: (boolean|null); } /** Represents a DeleteIndividualCallLogAction. */ class DeleteIndividualCallLogAction implements IDeleteIndividualCallLogAction { /** * Constructs a new DeleteIndividualCallLogAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IDeleteIndividualCallLogAction); /** DeleteIndividualCallLogAction peerJid. */ public peerJid?: (string|null); /** DeleteIndividualCallLogAction isIncoming. */ public isIncoming?: (boolean|null); /** * Creates a new DeleteIndividualCallLogAction instance using the specified properties. * @param [properties] Properties to set * @returns DeleteIndividualCallLogAction instance */ public static create(properties?: waproto.SyncActionValue.IDeleteIndividualCallLogAction): waproto.SyncActionValue.DeleteIndividualCallLogAction; /** * Encodes the specified DeleteIndividualCallLogAction message. Does not implicitly {@link waproto.SyncActionValue.DeleteIndividualCallLogAction.verify|verify} messages. * @param message DeleteIndividualCallLogAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IDeleteIndividualCallLogAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteIndividualCallLogAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.DeleteIndividualCallLogAction.verify|verify} messages. * @param message DeleteIndividualCallLogAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IDeleteIndividualCallLogAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteIndividualCallLogAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteIndividualCallLogAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.DeleteIndividualCallLogAction; /** * Decodes a DeleteIndividualCallLogAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteIndividualCallLogAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.DeleteIndividualCallLogAction; /** * Verifies a DeleteIndividualCallLogAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteIndividualCallLogAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteIndividualCallLogAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.DeleteIndividualCallLogAction; /** * Creates a plain object from a DeleteIndividualCallLogAction message. Also converts values to other types if specified. * @param message DeleteIndividualCallLogAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.DeleteIndividualCallLogAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteIndividualCallLogAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteIndividualCallLogAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BotWelcomeRequestAction. */ interface IBotWelcomeRequestAction { /** BotWelcomeRequestAction isSent */ isSent?: (boolean|null); } /** Represents a BotWelcomeRequestAction. */ class BotWelcomeRequestAction implements IBotWelcomeRequestAction { /** * Constructs a new BotWelcomeRequestAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IBotWelcomeRequestAction); /** BotWelcomeRequestAction isSent. */ public isSent?: (boolean|null); /** * Creates a new BotWelcomeRequestAction instance using the specified properties. * @param [properties] Properties to set * @returns BotWelcomeRequestAction instance */ public static create(properties?: waproto.SyncActionValue.IBotWelcomeRequestAction): waproto.SyncActionValue.BotWelcomeRequestAction; /** * Encodes the specified BotWelcomeRequestAction message. Does not implicitly {@link waproto.SyncActionValue.BotWelcomeRequestAction.verify|verify} messages. * @param message BotWelcomeRequestAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IBotWelcomeRequestAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BotWelcomeRequestAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BotWelcomeRequestAction.verify|verify} messages. * @param message BotWelcomeRequestAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IBotWelcomeRequestAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BotWelcomeRequestAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BotWelcomeRequestAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BotWelcomeRequestAction; /** * Decodes a BotWelcomeRequestAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BotWelcomeRequestAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BotWelcomeRequestAction; /** * Verifies a BotWelcomeRequestAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BotWelcomeRequestAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BotWelcomeRequestAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BotWelcomeRequestAction; /** * Creates a plain object from a BotWelcomeRequestAction message. Also converts values to other types if specified. * @param message BotWelcomeRequestAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.BotWelcomeRequestAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BotWelcomeRequestAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BotWelcomeRequestAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NewsletterSavedInterestsAction. */ interface INewsletterSavedInterestsAction { /** NewsletterSavedInterestsAction newsletterSavedInterests */ newsletterSavedInterests?: (string|null); } /** Represents a NewsletterSavedInterestsAction. */ class NewsletterSavedInterestsAction implements INewsletterSavedInterestsAction { /** * Constructs a new NewsletterSavedInterestsAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.INewsletterSavedInterestsAction); /** NewsletterSavedInterestsAction newsletterSavedInterests. */ public newsletterSavedInterests?: (string|null); /** * Creates a new NewsletterSavedInterestsAction instance using the specified properties. * @param [properties] Properties to set * @returns NewsletterSavedInterestsAction instance */ public static create(properties?: waproto.SyncActionValue.INewsletterSavedInterestsAction): waproto.SyncActionValue.NewsletterSavedInterestsAction; /** * Encodes the specified NewsletterSavedInterestsAction message. Does not implicitly {@link waproto.SyncActionValue.NewsletterSavedInterestsAction.verify|verify} messages. * @param message NewsletterSavedInterestsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.INewsletterSavedInterestsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NewsletterSavedInterestsAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NewsletterSavedInterestsAction.verify|verify} messages. * @param message NewsletterSavedInterestsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.INewsletterSavedInterestsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NewsletterSavedInterestsAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NewsletterSavedInterestsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NewsletterSavedInterestsAction; /** * Decodes a NewsletterSavedInterestsAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NewsletterSavedInterestsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NewsletterSavedInterestsAction; /** * Verifies a NewsletterSavedInterestsAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NewsletterSavedInterestsAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NewsletterSavedInterestsAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NewsletterSavedInterestsAction; /** * Creates a plain object from a NewsletterSavedInterestsAction message. Also converts values to other types if specified. * @param message NewsletterSavedInterestsAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.NewsletterSavedInterestsAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NewsletterSavedInterestsAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NewsletterSavedInterestsAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MusicUserIdAction. */ interface IMusicUserIdAction { /** MusicUserIdAction musicUserId */ musicUserId?: (string|null); /** MusicUserIdAction musicUserIdMap */ musicUserIdMap?: ({ [k: string]: string }|null); } /** Represents a MusicUserIdAction. */ class MusicUserIdAction implements IMusicUserIdAction { /** * Constructs a new MusicUserIdAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMusicUserIdAction); /** MusicUserIdAction musicUserId. */ public musicUserId?: (string|null); /** MusicUserIdAction musicUserIdMap. */ public musicUserIdMap: { [k: string]: string }; /** * Creates a new MusicUserIdAction instance using the specified properties. * @param [properties] Properties to set * @returns MusicUserIdAction instance */ public static create(properties?: waproto.SyncActionValue.IMusicUserIdAction): waproto.SyncActionValue.MusicUserIdAction; /** * Encodes the specified MusicUserIdAction message. Does not implicitly {@link waproto.SyncActionValue.MusicUserIdAction.verify|verify} messages. * @param message MusicUserIdAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MusicUserIdAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MusicUserIdAction.verify|verify} messages. * @param message MusicUserIdAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MusicUserIdAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MusicUserIdAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MusicUserIdAction; /** * Decodes a MusicUserIdAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MusicUserIdAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MusicUserIdAction; /** * Verifies a MusicUserIdAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MusicUserIdAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MusicUserIdAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MusicUserIdAction; /** * Creates a plain object from a MusicUserIdAction message. Also converts values to other types if specified. * @param message MusicUserIdAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MusicUserIdAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MusicUserIdAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MusicUserIdAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StatusPrivacyAction. */ interface IStatusPrivacyAction { /** StatusPrivacyAction mode */ mode?: (waproto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode|null); /** StatusPrivacyAction userJid */ userJid?: (string[]|null); /** StatusPrivacyAction shareToFb */ shareToFb?: (boolean|null); /** StatusPrivacyAction shareToIg */ shareToIg?: (boolean|null); /** StatusPrivacyAction customLists */ customLists?: (waproto.SyncActionValue.StatusPrivacyAction.ICustomList[]|null); /** StatusPrivacyAction modes */ modes?: (waproto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode[]|null); } /** Represents a StatusPrivacyAction. */ class StatusPrivacyAction implements IStatusPrivacyAction { /** * Constructs a new StatusPrivacyAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IStatusPrivacyAction); /** StatusPrivacyAction mode. */ public mode?: (waproto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode|null); /** StatusPrivacyAction userJid. */ public userJid: string[]; /** StatusPrivacyAction shareToFb. */ public shareToFb?: (boolean|null); /** StatusPrivacyAction shareToIg. */ public shareToIg?: (boolean|null); /** StatusPrivacyAction customLists. */ public customLists: waproto.SyncActionValue.StatusPrivacyAction.ICustomList[]; /** StatusPrivacyAction modes. */ public modes: waproto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode[]; /** * Creates a new StatusPrivacyAction instance using the specified properties. * @param [properties] Properties to set * @returns StatusPrivacyAction instance */ public static create(properties?: waproto.SyncActionValue.IStatusPrivacyAction): waproto.SyncActionValue.StatusPrivacyAction; /** * Encodes the specified StatusPrivacyAction message. Does not implicitly {@link waproto.SyncActionValue.StatusPrivacyAction.verify|verify} messages. * @param message StatusPrivacyAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IStatusPrivacyAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StatusPrivacyAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.StatusPrivacyAction.verify|verify} messages. * @param message StatusPrivacyAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IStatusPrivacyAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StatusPrivacyAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StatusPrivacyAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.StatusPrivacyAction; /** * Decodes a StatusPrivacyAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StatusPrivacyAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.StatusPrivacyAction; /** * Verifies a StatusPrivacyAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StatusPrivacyAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StatusPrivacyAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.StatusPrivacyAction; /** * Creates a plain object from a StatusPrivacyAction message. Also converts values to other types if specified. * @param message StatusPrivacyAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.StatusPrivacyAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StatusPrivacyAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StatusPrivacyAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace StatusPrivacyAction { /** StatusDistributionMode enum. */ enum StatusDistributionMode { ALLOW_LIST = 0, DENY_LIST = 1, CONTACTS = 2, CLOSE_FRIENDS = 3, CUSTOM_LIST = 4 } /** Properties of a CustomList. */ interface ICustomList { /** CustomList listId */ listId?: (string|null); /** CustomList name */ name?: (string|null); /** CustomList emoji */ emoji?: (string|null); /** CustomList isSelected */ isSelected?: (boolean|null); /** CustomList userJid */ userJid?: (string[]|null); } /** Represents a CustomList. */ class CustomList implements ICustomList { /** * Constructs a new CustomList. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.StatusPrivacyAction.ICustomList); /** CustomList listId. */ public listId?: (string|null); /** CustomList name. */ public name?: (string|null); /** CustomList emoji. */ public emoji?: (string|null); /** CustomList isSelected. */ public isSelected?: (boolean|null); /** CustomList userJid. */ public userJid: string[]; /** * Creates a new CustomList instance using the specified properties. * @param [properties] Properties to set * @returns CustomList instance */ public static create(properties?: waproto.SyncActionValue.StatusPrivacyAction.ICustomList): waproto.SyncActionValue.StatusPrivacyAction.CustomList; /** * Encodes the specified CustomList message. Does not implicitly {@link waproto.SyncActionValue.StatusPrivacyAction.CustomList.verify|verify} messages. * @param message CustomList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.StatusPrivacyAction.ICustomList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CustomList message, length delimited. Does not implicitly {@link waproto.SyncActionValue.StatusPrivacyAction.CustomList.verify|verify} messages. * @param message CustomList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.StatusPrivacyAction.ICustomList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CustomList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CustomList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.StatusPrivacyAction.CustomList; /** * Decodes a CustomList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CustomList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.StatusPrivacyAction.CustomList; /** * Verifies a CustomList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CustomList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CustomList */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.StatusPrivacyAction.CustomList; /** * Creates a plain object from a CustomList message. Also converts values to other types if specified. * @param message CustomList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.StatusPrivacyAction.CustomList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CustomList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CustomList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a UGCBot. */ interface IUGCBot { /** UGCBot definition */ definition?: (Uint8Array|null); } /** Represents a UGCBot. */ class UGCBot implements IUGCBot { /** * Constructs a new UGCBot. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IUGCBot); /** UGCBot definition. */ public definition?: (Uint8Array|null); /** * Creates a new UGCBot instance using the specified properties. * @param [properties] Properties to set * @returns UGCBot instance */ public static create(properties?: waproto.SyncActionValue.IUGCBot): waproto.SyncActionValue.UGCBot; /** * Encodes the specified UGCBot message. Does not implicitly {@link waproto.SyncActionValue.UGCBot.verify|verify} messages. * @param message UGCBot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UGCBot message, length delimited. Does not implicitly {@link waproto.SyncActionValue.UGCBot.verify|verify} messages. * @param message UGCBot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IUGCBot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UGCBot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UGCBot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.UGCBot; /** * Decodes a UGCBot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UGCBot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.UGCBot; /** * Verifies a UGCBot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UGCBot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UGCBot */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.UGCBot; /** * Creates a plain object from a UGCBot message. Also converts values to other types if specified. * @param message UGCBot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.UGCBot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UGCBot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UGCBot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CallLogAction. */ interface ICallLogAction { /** CallLogAction callLogRecord */ callLogRecord?: (waproto.ICallLogRecord|null); } /** Represents a CallLogAction. */ class CallLogAction implements ICallLogAction { /** * Constructs a new CallLogAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ICallLogAction); /** CallLogAction callLogRecord. */ public callLogRecord?: (waproto.ICallLogRecord|null); /** * Creates a new CallLogAction instance using the specified properties. * @param [properties] Properties to set * @returns CallLogAction instance */ public static create(properties?: waproto.SyncActionValue.ICallLogAction): waproto.SyncActionValue.CallLogAction; /** * Encodes the specified CallLogAction message. Does not implicitly {@link waproto.SyncActionValue.CallLogAction.verify|verify} messages. * @param message CallLogAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ICallLogAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CallLogAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CallLogAction.verify|verify} messages. * @param message CallLogAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ICallLogAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallLogAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CallLogAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CallLogAction; /** * Decodes a CallLogAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CallLogAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CallLogAction; /** * Verifies a CallLogAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CallLogAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CallLogAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CallLogAction; /** * Creates a plain object from a CallLogAction message. Also converts values to other types if specified. * @param message CallLogAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.CallLogAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallLogAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CallLogAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrivacySettingRelayAllCalls. */ interface IPrivacySettingRelayAllCalls { /** PrivacySettingRelayAllCalls isEnabled */ isEnabled?: (boolean|null); } /** Represents a PrivacySettingRelayAllCalls. */ class PrivacySettingRelayAllCalls implements IPrivacySettingRelayAllCalls { /** * Constructs a new PrivacySettingRelayAllCalls. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrivacySettingRelayAllCalls); /** PrivacySettingRelayAllCalls isEnabled. */ public isEnabled?: (boolean|null); /** * Creates a new PrivacySettingRelayAllCalls instance using the specified properties. * @param [properties] Properties to set * @returns PrivacySettingRelayAllCalls instance */ public static create(properties?: waproto.SyncActionValue.IPrivacySettingRelayAllCalls): waproto.SyncActionValue.PrivacySettingRelayAllCalls; /** * Encodes the specified PrivacySettingRelayAllCalls message. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingRelayAllCalls.verify|verify} messages. * @param message PrivacySettingRelayAllCalls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrivacySettingRelayAllCalls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrivacySettingRelayAllCalls message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrivacySettingRelayAllCalls.verify|verify} messages. * @param message PrivacySettingRelayAllCalls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrivacySettingRelayAllCalls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrivacySettingRelayAllCalls message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrivacySettingRelayAllCalls * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrivacySettingRelayAllCalls; /** * Decodes a PrivacySettingRelayAllCalls message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrivacySettingRelayAllCalls * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrivacySettingRelayAllCalls; /** * Verifies a PrivacySettingRelayAllCalls message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrivacySettingRelayAllCalls message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrivacySettingRelayAllCalls */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrivacySettingRelayAllCalls; /** * Creates a plain object from a PrivacySettingRelayAllCalls message. Also converts values to other types if specified. * @param message PrivacySettingRelayAllCalls * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrivacySettingRelayAllCalls, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrivacySettingRelayAllCalls to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrivacySettingRelayAllCalls * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DetectedOutcomesStatusAction. */ interface IDetectedOutcomesStatusAction { /** DetectedOutcomesStatusAction isEnabled */ isEnabled?: (boolean|null); } /** Represents a DetectedOutcomesStatusAction. */ class DetectedOutcomesStatusAction implements IDetectedOutcomesStatusAction { /** * Constructs a new DetectedOutcomesStatusAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IDetectedOutcomesStatusAction); /** DetectedOutcomesStatusAction isEnabled. */ public isEnabled?: (boolean|null); /** * Creates a new DetectedOutcomesStatusAction instance using the specified properties. * @param [properties] Properties to set * @returns DetectedOutcomesStatusAction instance */ public static create(properties?: waproto.SyncActionValue.IDetectedOutcomesStatusAction): waproto.SyncActionValue.DetectedOutcomesStatusAction; /** * Encodes the specified DetectedOutcomesStatusAction message. Does not implicitly {@link waproto.SyncActionValue.DetectedOutcomesStatusAction.verify|verify} messages. * @param message DetectedOutcomesStatusAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IDetectedOutcomesStatusAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DetectedOutcomesStatusAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.DetectedOutcomesStatusAction.verify|verify} messages. * @param message DetectedOutcomesStatusAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IDetectedOutcomesStatusAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DetectedOutcomesStatusAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DetectedOutcomesStatusAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.DetectedOutcomesStatusAction; /** * Decodes a DetectedOutcomesStatusAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DetectedOutcomesStatusAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.DetectedOutcomesStatusAction; /** * Verifies a DetectedOutcomesStatusAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DetectedOutcomesStatusAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DetectedOutcomesStatusAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.DetectedOutcomesStatusAction; /** * Creates a plain object from a DetectedOutcomesStatusAction message. Also converts values to other types if specified. * @param message DetectedOutcomesStatusAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.DetectedOutcomesStatusAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DetectedOutcomesStatusAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DetectedOutcomesStatusAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ExternalWebBetaAction. */ interface IExternalWebBetaAction { /** ExternalWebBetaAction isOptIn */ isOptIn?: (boolean|null); } /** Represents an ExternalWebBetaAction. */ class ExternalWebBetaAction implements IExternalWebBetaAction { /** * Constructs a new ExternalWebBetaAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IExternalWebBetaAction); /** ExternalWebBetaAction isOptIn. */ public isOptIn?: (boolean|null); /** * Creates a new ExternalWebBetaAction instance using the specified properties. * @param [properties] Properties to set * @returns ExternalWebBetaAction instance */ public static create(properties?: waproto.SyncActionValue.IExternalWebBetaAction): waproto.SyncActionValue.ExternalWebBetaAction; /** * Encodes the specified ExternalWebBetaAction message. Does not implicitly {@link waproto.SyncActionValue.ExternalWebBetaAction.verify|verify} messages. * @param message ExternalWebBetaAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IExternalWebBetaAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExternalWebBetaAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ExternalWebBetaAction.verify|verify} messages. * @param message ExternalWebBetaAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IExternalWebBetaAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExternalWebBetaAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ExternalWebBetaAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ExternalWebBetaAction; /** * Decodes an ExternalWebBetaAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ExternalWebBetaAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ExternalWebBetaAction; /** * Verifies an ExternalWebBetaAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExternalWebBetaAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExternalWebBetaAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ExternalWebBetaAction; /** * Creates a plain object from an ExternalWebBetaAction message. Also converts values to other types if specified. * @param message ExternalWebBetaAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ExternalWebBetaAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExternalWebBetaAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ExternalWebBetaAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MarketingMessageBroadcastAction. */ interface IMarketingMessageBroadcastAction { /** MarketingMessageBroadcastAction repliedCount */ repliedCount?: (number|null); } /** Represents a MarketingMessageBroadcastAction. */ class MarketingMessageBroadcastAction implements IMarketingMessageBroadcastAction { /** * Constructs a new MarketingMessageBroadcastAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMarketingMessageBroadcastAction); /** MarketingMessageBroadcastAction repliedCount. */ public repliedCount?: (number|null); /** * Creates a new MarketingMessageBroadcastAction instance using the specified properties. * @param [properties] Properties to set * @returns MarketingMessageBroadcastAction instance */ public static create(properties?: waproto.SyncActionValue.IMarketingMessageBroadcastAction): waproto.SyncActionValue.MarketingMessageBroadcastAction; /** * Encodes the specified MarketingMessageBroadcastAction message. Does not implicitly {@link waproto.SyncActionValue.MarketingMessageBroadcastAction.verify|verify} messages. * @param message MarketingMessageBroadcastAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMarketingMessageBroadcastAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MarketingMessageBroadcastAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MarketingMessageBroadcastAction.verify|verify} messages. * @param message MarketingMessageBroadcastAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMarketingMessageBroadcastAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MarketingMessageBroadcastAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MarketingMessageBroadcastAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MarketingMessageBroadcastAction; /** * Decodes a MarketingMessageBroadcastAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MarketingMessageBroadcastAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MarketingMessageBroadcastAction; /** * Verifies a MarketingMessageBroadcastAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MarketingMessageBroadcastAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MarketingMessageBroadcastAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MarketingMessageBroadcastAction; /** * Creates a plain object from a MarketingMessageBroadcastAction message. Also converts values to other types if specified. * @param message MarketingMessageBroadcastAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MarketingMessageBroadcastAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MarketingMessageBroadcastAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MarketingMessageBroadcastAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MarketingMessageAction. */ interface IMarketingMessageAction { /** MarketingMessageAction name */ name?: (string|null); /** MarketingMessageAction message */ message?: (string|null); /** MarketingMessageAction type */ type?: (waproto.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType|null); /** MarketingMessageAction createdAt */ createdAt?: (number|Long|null); /** MarketingMessageAction lastSentAt */ lastSentAt?: (number|Long|null); /** MarketingMessageAction isDeleted */ isDeleted?: (boolean|null); /** MarketingMessageAction mediaId */ mediaId?: (string|null); } /** Represents a MarketingMessageAction. */ class MarketingMessageAction implements IMarketingMessageAction { /** * Constructs a new MarketingMessageAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMarketingMessageAction); /** MarketingMessageAction name. */ public name?: (string|null); /** MarketingMessageAction message. */ public message?: (string|null); /** MarketingMessageAction type. */ public type?: (waproto.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType|null); /** MarketingMessageAction createdAt. */ public createdAt?: (number|Long|null); /** MarketingMessageAction lastSentAt. */ public lastSentAt?: (number|Long|null); /** MarketingMessageAction isDeleted. */ public isDeleted?: (boolean|null); /** MarketingMessageAction mediaId. */ public mediaId?: (string|null); /** * Creates a new MarketingMessageAction instance using the specified properties. * @param [properties] Properties to set * @returns MarketingMessageAction instance */ public static create(properties?: waproto.SyncActionValue.IMarketingMessageAction): waproto.SyncActionValue.MarketingMessageAction; /** * Encodes the specified MarketingMessageAction message. Does not implicitly {@link waproto.SyncActionValue.MarketingMessageAction.verify|verify} messages. * @param message MarketingMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMarketingMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MarketingMessageAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MarketingMessageAction.verify|verify} messages. * @param message MarketingMessageAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMarketingMessageAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MarketingMessageAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MarketingMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MarketingMessageAction; /** * Decodes a MarketingMessageAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MarketingMessageAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MarketingMessageAction; /** * Verifies a MarketingMessageAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MarketingMessageAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MarketingMessageAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MarketingMessageAction; /** * Creates a plain object from a MarketingMessageAction message. Also converts values to other types if specified. * @param message MarketingMessageAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MarketingMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MarketingMessageAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MarketingMessageAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MarketingMessageAction { /** MarketingMessagePrototypeType enum. */ enum MarketingMessagePrototypeType { PERSONALIZED = 0 } } /** Properties of a UsernameChatStartModeAction. */ interface IUsernameChatStartModeAction { /** UsernameChatStartModeAction chatStartMode */ chatStartMode?: (waproto.SyncActionValue.UsernameChatStartModeAction.ChatStartMode|null); } /** Represents a UsernameChatStartModeAction. */ class UsernameChatStartModeAction implements IUsernameChatStartModeAction { /** * Constructs a new UsernameChatStartModeAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IUsernameChatStartModeAction); /** UsernameChatStartModeAction chatStartMode. */ public chatStartMode?: (waproto.SyncActionValue.UsernameChatStartModeAction.ChatStartMode|null); /** * Creates a new UsernameChatStartModeAction instance using the specified properties. * @param [properties] Properties to set * @returns UsernameChatStartModeAction instance */ public static create(properties?: waproto.SyncActionValue.IUsernameChatStartModeAction): waproto.SyncActionValue.UsernameChatStartModeAction; /** * Encodes the specified UsernameChatStartModeAction message. Does not implicitly {@link waproto.SyncActionValue.UsernameChatStartModeAction.verify|verify} messages. * @param message UsernameChatStartModeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IUsernameChatStartModeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UsernameChatStartModeAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.UsernameChatStartModeAction.verify|verify} messages. * @param message UsernameChatStartModeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IUsernameChatStartModeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UsernameChatStartModeAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UsernameChatStartModeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.UsernameChatStartModeAction; /** * Decodes a UsernameChatStartModeAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UsernameChatStartModeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.UsernameChatStartModeAction; /** * Verifies a UsernameChatStartModeAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UsernameChatStartModeAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UsernameChatStartModeAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.UsernameChatStartModeAction; /** * Creates a plain object from a UsernameChatStartModeAction message. Also converts values to other types if specified. * @param message UsernameChatStartModeAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.UsernameChatStartModeAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UsernameChatStartModeAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UsernameChatStartModeAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UsernameChatStartModeAction { /** ChatStartMode enum. */ enum ChatStartMode { LID = 1, PN = 2 } } /** Properties of a PnForLidChatAction. */ interface IPnForLidChatAction { /** PnForLidChatAction pnJid */ pnJid?: (string|null); } /** Represents a PnForLidChatAction. */ class PnForLidChatAction implements IPnForLidChatAction { /** * Constructs a new PnForLidChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPnForLidChatAction); /** PnForLidChatAction pnJid. */ public pnJid?: (string|null); /** * Creates a new PnForLidChatAction instance using the specified properties. * @param [properties] Properties to set * @returns PnForLidChatAction instance */ public static create(properties?: waproto.SyncActionValue.IPnForLidChatAction): waproto.SyncActionValue.PnForLidChatAction; /** * Encodes the specified PnForLidChatAction message. Does not implicitly {@link waproto.SyncActionValue.PnForLidChatAction.verify|verify} messages. * @param message PnForLidChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPnForLidChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PnForLidChatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PnForLidChatAction.verify|verify} messages. * @param message PnForLidChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPnForLidChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PnForLidChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PnForLidChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PnForLidChatAction; /** * Decodes a PnForLidChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PnForLidChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PnForLidChatAction; /** * Verifies a PnForLidChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PnForLidChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PnForLidChatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PnForLidChatAction; /** * Creates a plain object from a PnForLidChatAction message. Also converts values to other types if specified. * @param message PnForLidChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PnForLidChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PnForLidChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PnForLidChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatAssignmentOpenedStatusAction. */ interface IChatAssignmentOpenedStatusAction { /** ChatAssignmentOpenedStatusAction chatOpened */ chatOpened?: (boolean|null); } /** Represents a ChatAssignmentOpenedStatusAction. */ class ChatAssignmentOpenedStatusAction implements IChatAssignmentOpenedStatusAction { /** * Constructs a new ChatAssignmentOpenedStatusAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IChatAssignmentOpenedStatusAction); /** ChatAssignmentOpenedStatusAction chatOpened. */ public chatOpened?: (boolean|null); /** * Creates a new ChatAssignmentOpenedStatusAction instance using the specified properties. * @param [properties] Properties to set * @returns ChatAssignmentOpenedStatusAction instance */ public static create(properties?: waproto.SyncActionValue.IChatAssignmentOpenedStatusAction): waproto.SyncActionValue.ChatAssignmentOpenedStatusAction; /** * Encodes the specified ChatAssignmentOpenedStatusAction message. Does not implicitly {@link waproto.SyncActionValue.ChatAssignmentOpenedStatusAction.verify|verify} messages. * @param message ChatAssignmentOpenedStatusAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IChatAssignmentOpenedStatusAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatAssignmentOpenedStatusAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ChatAssignmentOpenedStatusAction.verify|verify} messages. * @param message ChatAssignmentOpenedStatusAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IChatAssignmentOpenedStatusAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatAssignmentOpenedStatusAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatAssignmentOpenedStatusAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ChatAssignmentOpenedStatusAction; /** * Decodes a ChatAssignmentOpenedStatusAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatAssignmentOpenedStatusAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ChatAssignmentOpenedStatusAction; /** * Verifies a ChatAssignmentOpenedStatusAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatAssignmentOpenedStatusAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatAssignmentOpenedStatusAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ChatAssignmentOpenedStatusAction; /** * Creates a plain object from a ChatAssignmentOpenedStatusAction message. Also converts values to other types if specified. * @param message ChatAssignmentOpenedStatusAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ChatAssignmentOpenedStatusAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatAssignmentOpenedStatusAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatAssignmentOpenedStatusAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ChatAssignmentAction. */ interface IChatAssignmentAction { /** ChatAssignmentAction deviceAgentId */ deviceAgentId?: (string|null); } /** Represents a ChatAssignmentAction. */ class ChatAssignmentAction implements IChatAssignmentAction { /** * Constructs a new ChatAssignmentAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IChatAssignmentAction); /** ChatAssignmentAction deviceAgentId. */ public deviceAgentId?: (string|null); /** * Creates a new ChatAssignmentAction instance using the specified properties. * @param [properties] Properties to set * @returns ChatAssignmentAction instance */ public static create(properties?: waproto.SyncActionValue.IChatAssignmentAction): waproto.SyncActionValue.ChatAssignmentAction; /** * Encodes the specified ChatAssignmentAction message. Does not implicitly {@link waproto.SyncActionValue.ChatAssignmentAction.verify|verify} messages. * @param message ChatAssignmentAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IChatAssignmentAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatAssignmentAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ChatAssignmentAction.verify|verify} messages. * @param message ChatAssignmentAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IChatAssignmentAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatAssignmentAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatAssignmentAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ChatAssignmentAction; /** * Decodes a ChatAssignmentAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatAssignmentAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ChatAssignmentAction; /** * Verifies a ChatAssignmentAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ChatAssignmentAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatAssignmentAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ChatAssignmentAction; /** * Creates a plain object from a ChatAssignmentAction message. Also converts values to other types if specified. * @param message ChatAssignmentAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ChatAssignmentAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatAssignmentAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatAssignmentAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StickerAction. */ interface IStickerAction { /** StickerAction url */ url?: (string|null); /** StickerAction fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** StickerAction mediaKey */ mediaKey?: (Uint8Array|null); /** StickerAction mimetype */ mimetype?: (string|null); /** StickerAction height */ height?: (number|null); /** StickerAction width */ width?: (number|null); /** StickerAction directPath */ directPath?: (string|null); /** StickerAction fileLength */ fileLength?: (number|Long|null); /** StickerAction isFavorite */ isFavorite?: (boolean|null); /** StickerAction deviceIdHint */ deviceIdHint?: (number|null); /** StickerAction isLottie */ isLottie?: (boolean|null); /** StickerAction imageHash */ imageHash?: (string|null); /** StickerAction isAvatarSticker */ isAvatarSticker?: (boolean|null); } /** Represents a StickerAction. */ class StickerAction implements IStickerAction { /** * Constructs a new StickerAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IStickerAction); /** StickerAction url. */ public url?: (string|null); /** StickerAction fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** StickerAction mediaKey. */ public mediaKey?: (Uint8Array|null); /** StickerAction mimetype. */ public mimetype?: (string|null); /** StickerAction height. */ public height?: (number|null); /** StickerAction width. */ public width?: (number|null); /** StickerAction directPath. */ public directPath?: (string|null); /** StickerAction fileLength. */ public fileLength?: (number|Long|null); /** StickerAction isFavorite. */ public isFavorite?: (boolean|null); /** StickerAction deviceIdHint. */ public deviceIdHint?: (number|null); /** StickerAction isLottie. */ public isLottie?: (boolean|null); /** StickerAction imageHash. */ public imageHash?: (string|null); /** StickerAction isAvatarSticker. */ public isAvatarSticker?: (boolean|null); /** * Creates a new StickerAction instance using the specified properties. * @param [properties] Properties to set * @returns StickerAction instance */ public static create(properties?: waproto.SyncActionValue.IStickerAction): waproto.SyncActionValue.StickerAction; /** * Encodes the specified StickerAction message. Does not implicitly {@link waproto.SyncActionValue.StickerAction.verify|verify} messages. * @param message StickerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IStickerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StickerAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.StickerAction.verify|verify} messages. * @param message StickerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IStickerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StickerAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StickerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.StickerAction; /** * Decodes a StickerAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StickerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.StickerAction; /** * Verifies a StickerAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StickerAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StickerAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.StickerAction; /** * Creates a plain object from a StickerAction message. Also converts values to other types if specified. * @param message StickerAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.StickerAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StickerAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StickerAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RemoveRecentStickerAction. */ interface IRemoveRecentStickerAction { /** RemoveRecentStickerAction lastStickerSentTs */ lastStickerSentTs?: (number|Long|null); } /** Represents a RemoveRecentStickerAction. */ class RemoveRecentStickerAction implements IRemoveRecentStickerAction { /** * Constructs a new RemoveRecentStickerAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IRemoveRecentStickerAction); /** RemoveRecentStickerAction lastStickerSentTs. */ public lastStickerSentTs?: (number|Long|null); /** * Creates a new RemoveRecentStickerAction instance using the specified properties. * @param [properties] Properties to set * @returns RemoveRecentStickerAction instance */ public static create(properties?: waproto.SyncActionValue.IRemoveRecentStickerAction): waproto.SyncActionValue.RemoveRecentStickerAction; /** * Encodes the specified RemoveRecentStickerAction message. Does not implicitly {@link waproto.SyncActionValue.RemoveRecentStickerAction.verify|verify} messages. * @param message RemoveRecentStickerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IRemoveRecentStickerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RemoveRecentStickerAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.RemoveRecentStickerAction.verify|verify} messages. * @param message RemoveRecentStickerAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IRemoveRecentStickerAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RemoveRecentStickerAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RemoveRecentStickerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.RemoveRecentStickerAction; /** * Decodes a RemoveRecentStickerAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RemoveRecentStickerAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.RemoveRecentStickerAction; /** * Verifies a RemoveRecentStickerAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RemoveRecentStickerAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RemoveRecentStickerAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.RemoveRecentStickerAction; /** * Creates a plain object from a RemoveRecentStickerAction message. Also converts values to other types if specified. * @param message RemoveRecentStickerAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.RemoveRecentStickerAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RemoveRecentStickerAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RemoveRecentStickerAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrimaryVersionAction. */ interface IPrimaryVersionAction { /** PrimaryVersionAction version */ version?: (string|null); } /** Represents a PrimaryVersionAction. */ class PrimaryVersionAction implements IPrimaryVersionAction { /** * Constructs a new PrimaryVersionAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrimaryVersionAction); /** PrimaryVersionAction version. */ public version?: (string|null); /** * Creates a new PrimaryVersionAction instance using the specified properties. * @param [properties] Properties to set * @returns PrimaryVersionAction instance */ public static create(properties?: waproto.SyncActionValue.IPrimaryVersionAction): waproto.SyncActionValue.PrimaryVersionAction; /** * Encodes the specified PrimaryVersionAction message. Does not implicitly {@link waproto.SyncActionValue.PrimaryVersionAction.verify|verify} messages. * @param message PrimaryVersionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrimaryVersionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrimaryVersionAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrimaryVersionAction.verify|verify} messages. * @param message PrimaryVersionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrimaryVersionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrimaryVersionAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrimaryVersionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrimaryVersionAction; /** * Decodes a PrimaryVersionAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrimaryVersionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrimaryVersionAction; /** * Verifies a PrimaryVersionAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrimaryVersionAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrimaryVersionAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrimaryVersionAction; /** * Creates a plain object from a PrimaryVersionAction message. Also converts values to other types if specified. * @param message PrimaryVersionAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrimaryVersionAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrimaryVersionAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrimaryVersionAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a NuxAction. */ interface INuxAction { /** NuxAction acknowledged */ acknowledged?: (boolean|null); } /** Represents a NuxAction. */ class NuxAction implements INuxAction { /** * Constructs a new NuxAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.INuxAction); /** NuxAction acknowledged. */ public acknowledged?: (boolean|null); /** * Creates a new NuxAction instance using the specified properties. * @param [properties] Properties to set * @returns NuxAction instance */ public static create(properties?: waproto.SyncActionValue.INuxAction): waproto.SyncActionValue.NuxAction; /** * Encodes the specified NuxAction message. Does not implicitly {@link waproto.SyncActionValue.NuxAction.verify|verify} messages. * @param message NuxAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.INuxAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified NuxAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NuxAction.verify|verify} messages. * @param message NuxAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.INuxAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a NuxAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns NuxAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NuxAction; /** * Decodes a NuxAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns NuxAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NuxAction; /** * Verifies a NuxAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a NuxAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns NuxAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NuxAction; /** * Creates a plain object from a NuxAction message. Also converts values to other types if specified. * @param message NuxAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.NuxAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this NuxAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for NuxAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TimeFormatAction. */ interface ITimeFormatAction { /** TimeFormatAction isTwentyFourHourFormatEnabled */ isTwentyFourHourFormatEnabled?: (boolean|null); } /** Represents a TimeFormatAction. */ class TimeFormatAction implements ITimeFormatAction { /** * Constructs a new TimeFormatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ITimeFormatAction); /** TimeFormatAction isTwentyFourHourFormatEnabled. */ public isTwentyFourHourFormatEnabled?: (boolean|null); /** * Creates a new TimeFormatAction instance using the specified properties. * @param [properties] Properties to set * @returns TimeFormatAction instance */ public static create(properties?: waproto.SyncActionValue.ITimeFormatAction): waproto.SyncActionValue.TimeFormatAction; /** * Encodes the specified TimeFormatAction message. Does not implicitly {@link waproto.SyncActionValue.TimeFormatAction.verify|verify} messages. * @param message TimeFormatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TimeFormatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.TimeFormatAction.verify|verify} messages. * @param message TimeFormatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ITimeFormatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TimeFormatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TimeFormatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.TimeFormatAction; /** * Decodes a TimeFormatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TimeFormatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.TimeFormatAction; /** * Verifies a TimeFormatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TimeFormatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TimeFormatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.TimeFormatAction; /** * Creates a plain object from a TimeFormatAction message. Also converts values to other types if specified. * @param message TimeFormatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.TimeFormatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TimeFormatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TimeFormatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UserStatusMuteAction. */ interface IUserStatusMuteAction { /** UserStatusMuteAction muted */ muted?: (boolean|null); } /** Represents a UserStatusMuteAction. */ class UserStatusMuteAction implements IUserStatusMuteAction { /** * Constructs a new UserStatusMuteAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IUserStatusMuteAction); /** UserStatusMuteAction muted. */ public muted?: (boolean|null); /** * Creates a new UserStatusMuteAction instance using the specified properties. * @param [properties] Properties to set * @returns UserStatusMuteAction instance */ public static create(properties?: waproto.SyncActionValue.IUserStatusMuteAction): waproto.SyncActionValue.UserStatusMuteAction; /** * Encodes the specified UserStatusMuteAction message. Does not implicitly {@link waproto.SyncActionValue.UserStatusMuteAction.verify|verify} messages. * @param message UserStatusMuteAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IUserStatusMuteAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserStatusMuteAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.UserStatusMuteAction.verify|verify} messages. * @param message UserStatusMuteAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IUserStatusMuteAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserStatusMuteAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserStatusMuteAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.UserStatusMuteAction; /** * Decodes a UserStatusMuteAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserStatusMuteAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.UserStatusMuteAction; /** * Verifies a UserStatusMuteAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserStatusMuteAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserStatusMuteAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.UserStatusMuteAction; /** * Creates a plain object from a UserStatusMuteAction message. Also converts values to other types if specified. * @param message UserStatusMuteAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.UserStatusMuteAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserStatusMuteAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UserStatusMuteAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SubscriptionAction. */ interface ISubscriptionAction { /** SubscriptionAction isDeactivated */ isDeactivated?: (boolean|null); /** SubscriptionAction isAutoRenewing */ isAutoRenewing?: (boolean|null); /** SubscriptionAction expirationDate */ expirationDate?: (number|Long|null); } /** Represents a SubscriptionAction. */ class SubscriptionAction implements ISubscriptionAction { /** * Constructs a new SubscriptionAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISubscriptionAction); /** SubscriptionAction isDeactivated. */ public isDeactivated?: (boolean|null); /** SubscriptionAction isAutoRenewing. */ public isAutoRenewing?: (boolean|null); /** SubscriptionAction expirationDate. */ public expirationDate?: (number|Long|null); /** * Creates a new SubscriptionAction instance using the specified properties. * @param [properties] Properties to set * @returns SubscriptionAction instance */ public static create(properties?: waproto.SyncActionValue.ISubscriptionAction): waproto.SyncActionValue.SubscriptionAction; /** * Encodes the specified SubscriptionAction message. Does not implicitly {@link waproto.SyncActionValue.SubscriptionAction.verify|verify} messages. * @param message SubscriptionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISubscriptionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubscriptionAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SubscriptionAction.verify|verify} messages. * @param message SubscriptionAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISubscriptionAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubscriptionAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SubscriptionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SubscriptionAction; /** * Decodes a SubscriptionAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SubscriptionAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SubscriptionAction; /** * Verifies a SubscriptionAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubscriptionAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubscriptionAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SubscriptionAction; /** * Creates a plain object from a SubscriptionAction message. Also converts values to other types if specified. * @param message SubscriptionAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SubscriptionAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubscriptionAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SubscriptionAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AgentAction. */ interface IAgentAction { /** AgentAction name */ name?: (string|null); /** AgentAction deviceId */ deviceId?: (number|null); /** AgentAction isDeleted */ isDeleted?: (boolean|null); } /** Represents an AgentAction. */ class AgentAction implements IAgentAction { /** * Constructs a new AgentAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IAgentAction); /** AgentAction name. */ public name?: (string|null); /** AgentAction deviceId. */ public deviceId?: (number|null); /** AgentAction isDeleted. */ public isDeleted?: (boolean|null); /** * Creates a new AgentAction instance using the specified properties. * @param [properties] Properties to set * @returns AgentAction instance */ public static create(properties?: waproto.SyncActionValue.IAgentAction): waproto.SyncActionValue.AgentAction; /** * Encodes the specified AgentAction message. Does not implicitly {@link waproto.SyncActionValue.AgentAction.verify|verify} messages. * @param message AgentAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IAgentAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AgentAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AgentAction.verify|verify} messages. * @param message AgentAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IAgentAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AgentAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AgentAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AgentAction; /** * Decodes an AgentAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AgentAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AgentAction; /** * Verifies an AgentAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AgentAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AgentAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AgentAction; /** * Creates a plain object from an AgentAction message. Also converts values to other types if specified. * @param message AgentAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.AgentAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AgentAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AgentAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AndroidUnsupportedActions. */ interface IAndroidUnsupportedActions { /** AndroidUnsupportedActions allowed */ allowed?: (boolean|null); } /** Represents an AndroidUnsupportedActions. */ class AndroidUnsupportedActions implements IAndroidUnsupportedActions { /** * Constructs a new AndroidUnsupportedActions. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IAndroidUnsupportedActions); /** AndroidUnsupportedActions allowed. */ public allowed?: (boolean|null); /** * Creates a new AndroidUnsupportedActions instance using the specified properties. * @param [properties] Properties to set * @returns AndroidUnsupportedActions instance */ public static create(properties?: waproto.SyncActionValue.IAndroidUnsupportedActions): waproto.SyncActionValue.AndroidUnsupportedActions; /** * Encodes the specified AndroidUnsupportedActions message. Does not implicitly {@link waproto.SyncActionValue.AndroidUnsupportedActions.verify|verify} messages. * @param message AndroidUnsupportedActions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IAndroidUnsupportedActions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AndroidUnsupportedActions message, length delimited. Does not implicitly {@link waproto.SyncActionValue.AndroidUnsupportedActions.verify|verify} messages. * @param message AndroidUnsupportedActions message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IAndroidUnsupportedActions, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AndroidUnsupportedActions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AndroidUnsupportedActions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.AndroidUnsupportedActions; /** * Decodes an AndroidUnsupportedActions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AndroidUnsupportedActions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.AndroidUnsupportedActions; /** * Verifies an AndroidUnsupportedActions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AndroidUnsupportedActions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AndroidUnsupportedActions */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.AndroidUnsupportedActions; /** * Creates a plain object from an AndroidUnsupportedActions message. Also converts values to other types if specified. * @param message AndroidUnsupportedActions * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.AndroidUnsupportedActions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AndroidUnsupportedActions to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AndroidUnsupportedActions * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PrimaryFeature. */ interface IPrimaryFeature { /** PrimaryFeature flags */ flags?: (string[]|null); } /** Represents a PrimaryFeature. */ class PrimaryFeature implements IPrimaryFeature { /** * Constructs a new PrimaryFeature. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPrimaryFeature); /** PrimaryFeature flags. */ public flags: string[]; /** * Creates a new PrimaryFeature instance using the specified properties. * @param [properties] Properties to set * @returns PrimaryFeature instance */ public static create(properties?: waproto.SyncActionValue.IPrimaryFeature): waproto.SyncActionValue.PrimaryFeature; /** * Encodes the specified PrimaryFeature message. Does not implicitly {@link waproto.SyncActionValue.PrimaryFeature.verify|verify} messages. * @param message PrimaryFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPrimaryFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PrimaryFeature message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PrimaryFeature.verify|verify} messages. * @param message PrimaryFeature message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPrimaryFeature, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PrimaryFeature message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PrimaryFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PrimaryFeature; /** * Decodes a PrimaryFeature message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PrimaryFeature * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PrimaryFeature; /** * Verifies a PrimaryFeature message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PrimaryFeature message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PrimaryFeature */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PrimaryFeature; /** * Creates a plain object from a PrimaryFeature message. Also converts values to other types if specified. * @param message PrimaryFeature * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PrimaryFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PrimaryFeature to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PrimaryFeature * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a KeyExpiration. */ interface IKeyExpiration { /** KeyExpiration expiredKeyEpoch */ expiredKeyEpoch?: (number|null); } /** Represents a KeyExpiration. */ class KeyExpiration implements IKeyExpiration { /** * Constructs a new KeyExpiration. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IKeyExpiration); /** KeyExpiration expiredKeyEpoch. */ public expiredKeyEpoch?: (number|null); /** * Creates a new KeyExpiration instance using the specified properties. * @param [properties] Properties to set * @returns KeyExpiration instance */ public static create(properties?: waproto.SyncActionValue.IKeyExpiration): waproto.SyncActionValue.KeyExpiration; /** * Encodes the specified KeyExpiration message. Does not implicitly {@link waproto.SyncActionValue.KeyExpiration.verify|verify} messages. * @param message KeyExpiration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IKeyExpiration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified KeyExpiration message, length delimited. Does not implicitly {@link waproto.SyncActionValue.KeyExpiration.verify|verify} messages. * @param message KeyExpiration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IKeyExpiration, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a KeyExpiration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns KeyExpiration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.KeyExpiration; /** * Decodes a KeyExpiration message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns KeyExpiration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.KeyExpiration; /** * Verifies a KeyExpiration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a KeyExpiration message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns KeyExpiration */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.KeyExpiration; /** * Creates a plain object from a KeyExpiration message. Also converts values to other types if specified. * @param message KeyExpiration * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.KeyExpiration, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this KeyExpiration to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for KeyExpiration * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncActionMessage. */ interface ISyncActionMessage { /** SyncActionMessage key */ key?: (waproto.IMessageKey|null); /** SyncActionMessage timestamp */ timestamp?: (number|Long|null); } /** Represents a SyncActionMessage. */ class SyncActionMessage implements ISyncActionMessage { /** * Constructs a new SyncActionMessage. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISyncActionMessage); /** SyncActionMessage key. */ public key?: (waproto.IMessageKey|null); /** SyncActionMessage timestamp. */ public timestamp?: (number|Long|null); /** * Creates a new SyncActionMessage instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionMessage instance */ public static create(properties?: waproto.SyncActionValue.ISyncActionMessage): waproto.SyncActionValue.SyncActionMessage; /** * Encodes the specified SyncActionMessage message. Does not implicitly {@link waproto.SyncActionValue.SyncActionMessage.verify|verify} messages. * @param message SyncActionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionMessage message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SyncActionMessage.verify|verify} messages. * @param message SyncActionMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISyncActionMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SyncActionMessage; /** * Decodes a SyncActionMessage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SyncActionMessage; /** * Verifies a SyncActionMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionMessage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionMessage */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SyncActionMessage; /** * Creates a plain object from a SyncActionMessage message. Also converts values to other types if specified. * @param message SyncActionMessage * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SyncActionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionMessage to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionMessage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncActionMessageRange. */ interface ISyncActionMessageRange { /** SyncActionMessageRange lastMessageTimestamp */ lastMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange lastSystemMessageTimestamp */ lastSystemMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange messages */ messages?: (waproto.SyncActionValue.ISyncActionMessage[]|null); } /** Represents a SyncActionMessageRange. */ class SyncActionMessageRange implements ISyncActionMessageRange { /** * Constructs a new SyncActionMessageRange. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISyncActionMessageRange); /** SyncActionMessageRange lastMessageTimestamp. */ public lastMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange lastSystemMessageTimestamp. */ public lastSystemMessageTimestamp?: (number|Long|null); /** SyncActionMessageRange messages. */ public messages: waproto.SyncActionValue.ISyncActionMessage[]; /** * Creates a new SyncActionMessageRange instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionMessageRange instance */ public static create(properties?: waproto.SyncActionValue.ISyncActionMessageRange): waproto.SyncActionValue.SyncActionMessageRange; /** * Encodes the specified SyncActionMessageRange message. Does not implicitly {@link waproto.SyncActionValue.SyncActionMessageRange.verify|verify} messages. * @param message SyncActionMessageRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionMessageRange message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SyncActionMessageRange.verify|verify} messages. * @param message SyncActionMessageRange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISyncActionMessageRange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionMessageRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionMessageRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SyncActionMessageRange; /** * Decodes a SyncActionMessageRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionMessageRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SyncActionMessageRange; /** * Verifies a SyncActionMessageRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionMessageRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionMessageRange */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SyncActionMessageRange; /** * Creates a plain object from a SyncActionMessageRange message. Also converts values to other types if specified. * @param message SyncActionMessageRange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SyncActionMessageRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionMessageRange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionMessageRange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UnarchiveChatsSetting. */ interface IUnarchiveChatsSetting { /** UnarchiveChatsSetting unarchiveChats */ unarchiveChats?: (boolean|null); } /** Represents an UnarchiveChatsSetting. */ class UnarchiveChatsSetting implements IUnarchiveChatsSetting { /** * Constructs a new UnarchiveChatsSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IUnarchiveChatsSetting); /** UnarchiveChatsSetting unarchiveChats. */ public unarchiveChats?: (boolean|null); /** * Creates a new UnarchiveChatsSetting instance using the specified properties. * @param [properties] Properties to set * @returns UnarchiveChatsSetting instance */ public static create(properties?: waproto.SyncActionValue.IUnarchiveChatsSetting): waproto.SyncActionValue.UnarchiveChatsSetting; /** * Encodes the specified UnarchiveChatsSetting message. Does not implicitly {@link waproto.SyncActionValue.UnarchiveChatsSetting.verify|verify} messages. * @param message UnarchiveChatsSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IUnarchiveChatsSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnarchiveChatsSetting message, length delimited. Does not implicitly {@link waproto.SyncActionValue.UnarchiveChatsSetting.verify|verify} messages. * @param message UnarchiveChatsSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IUnarchiveChatsSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnarchiveChatsSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnarchiveChatsSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.UnarchiveChatsSetting; /** * Decodes an UnarchiveChatsSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnarchiveChatsSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.UnarchiveChatsSetting; /** * Verifies an UnarchiveChatsSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnarchiveChatsSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnarchiveChatsSetting */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.UnarchiveChatsSetting; /** * Creates a plain object from an UnarchiveChatsSetting message. Also converts values to other types if specified. * @param message UnarchiveChatsSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.UnarchiveChatsSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnarchiveChatsSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnarchiveChatsSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteChatAction. */ interface IDeleteChatAction { /** DeleteChatAction messageRange */ messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); } /** Represents a DeleteChatAction. */ class DeleteChatAction implements IDeleteChatAction { /** * Constructs a new DeleteChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IDeleteChatAction); /** DeleteChatAction messageRange. */ public messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); /** * Creates a new DeleteChatAction instance using the specified properties. * @param [properties] Properties to set * @returns DeleteChatAction instance */ public static create(properties?: waproto.SyncActionValue.IDeleteChatAction): waproto.SyncActionValue.DeleteChatAction; /** * Encodes the specified DeleteChatAction message. Does not implicitly {@link waproto.SyncActionValue.DeleteChatAction.verify|verify} messages. * @param message DeleteChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IDeleteChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteChatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.DeleteChatAction.verify|verify} messages. * @param message DeleteChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IDeleteChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.DeleteChatAction; /** * Decodes a DeleteChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.DeleteChatAction; /** * Verifies a DeleteChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteChatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.DeleteChatAction; /** * Creates a plain object from a DeleteChatAction message. Also converts values to other types if specified. * @param message DeleteChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.DeleteChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClearChatAction. */ interface IClearChatAction { /** ClearChatAction messageRange */ messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); } /** Represents a ClearChatAction. */ class ClearChatAction implements IClearChatAction { /** * Constructs a new ClearChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IClearChatAction); /** ClearChatAction messageRange. */ public messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); /** * Creates a new ClearChatAction instance using the specified properties. * @param [properties] Properties to set * @returns ClearChatAction instance */ public static create(properties?: waproto.SyncActionValue.IClearChatAction): waproto.SyncActionValue.ClearChatAction; /** * Encodes the specified ClearChatAction message. Does not implicitly {@link waproto.SyncActionValue.ClearChatAction.verify|verify} messages. * @param message ClearChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IClearChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ClearChatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ClearChatAction.verify|verify} messages. * @param message ClearChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IClearChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ClearChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ClearChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ClearChatAction; /** * Decodes a ClearChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ClearChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ClearChatAction; /** * Verifies a ClearChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ClearChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ClearChatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ClearChatAction; /** * Creates a plain object from a ClearChatAction message. Also converts values to other types if specified. * @param message ClearChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ClearChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ClearChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ClearChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MarkChatAsReadAction. */ interface IMarkChatAsReadAction { /** MarkChatAsReadAction read */ read?: (boolean|null); /** MarkChatAsReadAction messageRange */ messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); } /** Represents a MarkChatAsReadAction. */ class MarkChatAsReadAction implements IMarkChatAsReadAction { /** * Constructs a new MarkChatAsReadAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMarkChatAsReadAction); /** MarkChatAsReadAction read. */ public read?: (boolean|null); /** MarkChatAsReadAction messageRange. */ public messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); /** * Creates a new MarkChatAsReadAction instance using the specified properties. * @param [properties] Properties to set * @returns MarkChatAsReadAction instance */ public static create(properties?: waproto.SyncActionValue.IMarkChatAsReadAction): waproto.SyncActionValue.MarkChatAsReadAction; /** * Encodes the specified MarkChatAsReadAction message. Does not implicitly {@link waproto.SyncActionValue.MarkChatAsReadAction.verify|verify} messages. * @param message MarkChatAsReadAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMarkChatAsReadAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MarkChatAsReadAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MarkChatAsReadAction.verify|verify} messages. * @param message MarkChatAsReadAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMarkChatAsReadAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MarkChatAsReadAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MarkChatAsReadAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MarkChatAsReadAction; /** * Decodes a MarkChatAsReadAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MarkChatAsReadAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MarkChatAsReadAction; /** * Verifies a MarkChatAsReadAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MarkChatAsReadAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MarkChatAsReadAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MarkChatAsReadAction; /** * Creates a plain object from a MarkChatAsReadAction message. Also converts values to other types if specified. * @param message MarkChatAsReadAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MarkChatAsReadAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MarkChatAsReadAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MarkChatAsReadAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteMessageForMeAction. */ interface IDeleteMessageForMeAction { /** DeleteMessageForMeAction deleteMedia */ deleteMedia?: (boolean|null); /** DeleteMessageForMeAction messageTimestamp */ messageTimestamp?: (number|Long|null); } /** Represents a DeleteMessageForMeAction. */ class DeleteMessageForMeAction implements IDeleteMessageForMeAction { /** * Constructs a new DeleteMessageForMeAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IDeleteMessageForMeAction); /** DeleteMessageForMeAction deleteMedia. */ public deleteMedia?: (boolean|null); /** DeleteMessageForMeAction messageTimestamp. */ public messageTimestamp?: (number|Long|null); /** * Creates a new DeleteMessageForMeAction instance using the specified properties. * @param [properties] Properties to set * @returns DeleteMessageForMeAction instance */ public static create(properties?: waproto.SyncActionValue.IDeleteMessageForMeAction): waproto.SyncActionValue.DeleteMessageForMeAction; /** * Encodes the specified DeleteMessageForMeAction message. Does not implicitly {@link waproto.SyncActionValue.DeleteMessageForMeAction.verify|verify} messages. * @param message DeleteMessageForMeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IDeleteMessageForMeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeleteMessageForMeAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.DeleteMessageForMeAction.verify|verify} messages. * @param message DeleteMessageForMeAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IDeleteMessageForMeAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeleteMessageForMeAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeleteMessageForMeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.DeleteMessageForMeAction; /** * Decodes a DeleteMessageForMeAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeleteMessageForMeAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.DeleteMessageForMeAction; /** * Verifies a DeleteMessageForMeAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeleteMessageForMeAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeleteMessageForMeAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.DeleteMessageForMeAction; /** * Creates a plain object from a DeleteMessageForMeAction message. Also converts values to other types if specified. * @param message DeleteMessageForMeAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.DeleteMessageForMeAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeleteMessageForMeAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeleteMessageForMeAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ArchiveChatAction. */ interface IArchiveChatAction { /** ArchiveChatAction archived */ archived?: (boolean|null); /** ArchiveChatAction messageRange */ messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); } /** Represents an ArchiveChatAction. */ class ArchiveChatAction implements IArchiveChatAction { /** * Constructs a new ArchiveChatAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IArchiveChatAction); /** ArchiveChatAction archived. */ public archived?: (boolean|null); /** ArchiveChatAction messageRange. */ public messageRange?: (waproto.SyncActionValue.ISyncActionMessageRange|null); /** * Creates a new ArchiveChatAction instance using the specified properties. * @param [properties] Properties to set * @returns ArchiveChatAction instance */ public static create(properties?: waproto.SyncActionValue.IArchiveChatAction): waproto.SyncActionValue.ArchiveChatAction; /** * Encodes the specified ArchiveChatAction message. Does not implicitly {@link waproto.SyncActionValue.ArchiveChatAction.verify|verify} messages. * @param message ArchiveChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IArchiveChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ArchiveChatAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ArchiveChatAction.verify|verify} messages. * @param message ArchiveChatAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IArchiveChatAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ArchiveChatAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ArchiveChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ArchiveChatAction; /** * Decodes an ArchiveChatAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ArchiveChatAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ArchiveChatAction; /** * Verifies an ArchiveChatAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ArchiveChatAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ArchiveChatAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ArchiveChatAction; /** * Creates a plain object from an ArchiveChatAction message. Also converts values to other types if specified. * @param message ArchiveChatAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ArchiveChatAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ArchiveChatAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ArchiveChatAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RecentEmojiWeightsAction. */ interface IRecentEmojiWeightsAction { /** RecentEmojiWeightsAction weights */ weights?: (waproto.IRecentEmojiWeight[]|null); } /** Represents a RecentEmojiWeightsAction. */ class RecentEmojiWeightsAction implements IRecentEmojiWeightsAction { /** * Constructs a new RecentEmojiWeightsAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IRecentEmojiWeightsAction); /** RecentEmojiWeightsAction weights. */ public weights: waproto.IRecentEmojiWeight[]; /** * Creates a new RecentEmojiWeightsAction instance using the specified properties. * @param [properties] Properties to set * @returns RecentEmojiWeightsAction instance */ public static create(properties?: waproto.SyncActionValue.IRecentEmojiWeightsAction): waproto.SyncActionValue.RecentEmojiWeightsAction; /** * Encodes the specified RecentEmojiWeightsAction message. Does not implicitly {@link waproto.SyncActionValue.RecentEmojiWeightsAction.verify|verify} messages. * @param message RecentEmojiWeightsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IRecentEmojiWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RecentEmojiWeightsAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.RecentEmojiWeightsAction.verify|verify} messages. * @param message RecentEmojiWeightsAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IRecentEmojiWeightsAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RecentEmojiWeightsAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns RecentEmojiWeightsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.RecentEmojiWeightsAction; /** * Decodes a RecentEmojiWeightsAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns RecentEmojiWeightsAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.RecentEmojiWeightsAction; /** * Verifies a RecentEmojiWeightsAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a RecentEmojiWeightsAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RecentEmojiWeightsAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.RecentEmojiWeightsAction; /** * Creates a plain object from a RecentEmojiWeightsAction message. Also converts values to other types if specified. * @param message RecentEmojiWeightsAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.RecentEmojiWeightsAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RecentEmojiWeightsAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for RecentEmojiWeightsAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LabelEditAction. */ interface ILabelEditAction { /** LabelEditAction name */ name?: (string|null); /** LabelEditAction color */ color?: (number|null); /** LabelEditAction predefinedId */ predefinedId?: (number|null); /** LabelEditAction deleted */ deleted?: (boolean|null); /** LabelEditAction orderIndex */ orderIndex?: (number|null); /** LabelEditAction isActive */ isActive?: (boolean|null); /** LabelEditAction type */ type?: (waproto.SyncActionValue.LabelEditAction.ListType|null); /** LabelEditAction isImmutable */ isImmutable?: (boolean|null); /** LabelEditAction muteEndTimeMs */ muteEndTimeMs?: (number|Long|null); } /** Represents a LabelEditAction. */ class LabelEditAction implements ILabelEditAction { /** * Constructs a new LabelEditAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILabelEditAction); /** LabelEditAction name. */ public name?: (string|null); /** LabelEditAction color. */ public color?: (number|null); /** LabelEditAction predefinedId. */ public predefinedId?: (number|null); /** LabelEditAction deleted. */ public deleted?: (boolean|null); /** LabelEditAction orderIndex. */ public orderIndex?: (number|null); /** LabelEditAction isActive. */ public isActive?: (boolean|null); /** LabelEditAction type. */ public type?: (waproto.SyncActionValue.LabelEditAction.ListType|null); /** LabelEditAction isImmutable. */ public isImmutable?: (boolean|null); /** LabelEditAction muteEndTimeMs. */ public muteEndTimeMs?: (number|Long|null); /** * Creates a new LabelEditAction instance using the specified properties. * @param [properties] Properties to set * @returns LabelEditAction instance */ public static create(properties?: waproto.SyncActionValue.ILabelEditAction): waproto.SyncActionValue.LabelEditAction; /** * Encodes the specified LabelEditAction message. Does not implicitly {@link waproto.SyncActionValue.LabelEditAction.verify|verify} messages. * @param message LabelEditAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILabelEditAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LabelEditAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LabelEditAction.verify|verify} messages. * @param message LabelEditAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILabelEditAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LabelEditAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LabelEditAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LabelEditAction; /** * Decodes a LabelEditAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LabelEditAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LabelEditAction; /** * Verifies a LabelEditAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LabelEditAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LabelEditAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LabelEditAction; /** * Creates a plain object from a LabelEditAction message. Also converts values to other types if specified. * @param message LabelEditAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LabelEditAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LabelEditAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LabelEditAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace LabelEditAction { /** ListType enum. */ enum ListType { NONE = 0, UNREAD = 1, GROUPS = 2, FAVORITES = 3, PREDEFINED = 4, CUSTOM = 5, COMMUNITY = 6, SERVER_ASSIGNED = 7, DRAFTED = 8, AI_HANDOFF = 9, CHANNELS = 10, AI_RESPONDING = 11, ARCHIVED = 12, LOCKED = 13, INVITES = 14, THIRD_PARTY = 15, LEAD = 16, MENTIONS_AND_REPLIES = 17, REQUESTS = 18, BUSINESS = 19 } } /** Properties of a LabelSublistAction. */ interface ILabelSublistAction { /** LabelSublistAction subListId */ subListId?: (number|null); } /** Represents a LabelSublistAction. */ class LabelSublistAction implements ILabelSublistAction { /** * Constructs a new LabelSublistAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILabelSublistAction); /** LabelSublistAction subListId. */ public subListId?: (number|null); /** * Creates a new LabelSublistAction instance using the specified properties. * @param [properties] Properties to set * @returns LabelSublistAction instance */ public static create(properties?: waproto.SyncActionValue.ILabelSublistAction): waproto.SyncActionValue.LabelSublistAction; /** * Encodes the specified LabelSublistAction message. Does not implicitly {@link waproto.SyncActionValue.LabelSublistAction.verify|verify} messages. * @param message LabelSublistAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILabelSublistAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LabelSublistAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LabelSublistAction.verify|verify} messages. * @param message LabelSublistAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILabelSublistAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LabelSublistAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LabelSublistAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LabelSublistAction; /** * Decodes a LabelSublistAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LabelSublistAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LabelSublistAction; /** * Verifies a LabelSublistAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LabelSublistAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LabelSublistAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LabelSublistAction; /** * Creates a plain object from a LabelSublistAction message. Also converts values to other types if specified. * @param message LabelSublistAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LabelSublistAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LabelSublistAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LabelSublistAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LabelAssociationAction. */ interface ILabelAssociationAction { /** LabelAssociationAction labeled */ labeled?: (boolean|null); /** LabelAssociationAction modelMetaData */ modelMetaData?: (string|null); } /** Represents a LabelAssociationAction. */ class LabelAssociationAction implements ILabelAssociationAction { /** * Constructs a new LabelAssociationAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILabelAssociationAction); /** LabelAssociationAction labeled. */ public labeled?: (boolean|null); /** LabelAssociationAction modelMetaData. */ public modelMetaData?: (string|null); /** * Creates a new LabelAssociationAction instance using the specified properties. * @param [properties] Properties to set * @returns LabelAssociationAction instance */ public static create(properties?: waproto.SyncActionValue.ILabelAssociationAction): waproto.SyncActionValue.LabelAssociationAction; /** * Encodes the specified LabelAssociationAction message. Does not implicitly {@link waproto.SyncActionValue.LabelAssociationAction.verify|verify} messages. * @param message LabelAssociationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILabelAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LabelAssociationAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LabelAssociationAction.verify|verify} messages. * @param message LabelAssociationAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILabelAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LabelAssociationAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LabelAssociationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LabelAssociationAction; /** * Decodes a LabelAssociationAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LabelAssociationAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LabelAssociationAction; /** * Verifies a LabelAssociationAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LabelAssociationAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LabelAssociationAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LabelAssociationAction; /** * Creates a plain object from a LabelAssociationAction message. Also converts values to other types if specified. * @param message LabelAssociationAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LabelAssociationAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LabelAssociationAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LabelAssociationAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuickReplyAction. */ interface IQuickReplyAction { /** QuickReplyAction shortcut */ shortcut?: (string|null); /** QuickReplyAction message */ message?: (string|null); /** QuickReplyAction keywords */ keywords?: (string[]|null); /** QuickReplyAction count */ count?: (number|null); /** QuickReplyAction deleted */ deleted?: (boolean|null); /** QuickReplyAction associatedLabelIds */ associatedLabelIds?: (string[]|null); } /** Represents a QuickReplyAction. */ class QuickReplyAction implements IQuickReplyAction { /** * Constructs a new QuickReplyAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IQuickReplyAction); /** QuickReplyAction shortcut. */ public shortcut?: (string|null); /** QuickReplyAction message. */ public message?: (string|null); /** QuickReplyAction keywords. */ public keywords: string[]; /** QuickReplyAction count. */ public count?: (number|null); /** QuickReplyAction deleted. */ public deleted?: (boolean|null); /** QuickReplyAction associatedLabelIds. */ public associatedLabelIds: string[]; /** * Creates a new QuickReplyAction instance using the specified properties. * @param [properties] Properties to set * @returns QuickReplyAction instance */ public static create(properties?: waproto.SyncActionValue.IQuickReplyAction): waproto.SyncActionValue.QuickReplyAction; /** * Encodes the specified QuickReplyAction message. Does not implicitly {@link waproto.SyncActionValue.QuickReplyAction.verify|verify} messages. * @param message QuickReplyAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IQuickReplyAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuickReplyAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.QuickReplyAction.verify|verify} messages. * @param message QuickReplyAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IQuickReplyAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuickReplyAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuickReplyAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.QuickReplyAction; /** * Decodes a QuickReplyAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuickReplyAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.QuickReplyAction; /** * Verifies a QuickReplyAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuickReplyAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuickReplyAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.QuickReplyAction; /** * Creates a plain object from a QuickReplyAction message. Also converts values to other types if specified. * @param message QuickReplyAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.QuickReplyAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuickReplyAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuickReplyAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LocaleSetting. */ interface ILocaleSetting { /** LocaleSetting locale */ locale?: (string|null); } /** Represents a LocaleSetting. */ class LocaleSetting implements ILocaleSetting { /** * Constructs a new LocaleSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ILocaleSetting); /** LocaleSetting locale. */ public locale?: (string|null); /** * Creates a new LocaleSetting instance using the specified properties. * @param [properties] Properties to set * @returns LocaleSetting instance */ public static create(properties?: waproto.SyncActionValue.ILocaleSetting): waproto.SyncActionValue.LocaleSetting; /** * Encodes the specified LocaleSetting message. Does not implicitly {@link waproto.SyncActionValue.LocaleSetting.verify|verify} messages. * @param message LocaleSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ILocaleSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LocaleSetting message, length delimited. Does not implicitly {@link waproto.SyncActionValue.LocaleSetting.verify|verify} messages. * @param message LocaleSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ILocaleSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LocaleSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LocaleSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.LocaleSetting; /** * Decodes a LocaleSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LocaleSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.LocaleSetting; /** * Verifies a LocaleSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a LocaleSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LocaleSetting */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.LocaleSetting; /** * Creates a plain object from a LocaleSetting message. Also converts values to other types if specified. * @param message LocaleSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.LocaleSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LocaleSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for LocaleSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PushNameSetting. */ interface IPushNameSetting { /** PushNameSetting name */ name?: (string|null); } /** Represents a PushNameSetting. */ class PushNameSetting implements IPushNameSetting { /** * Constructs a new PushNameSetting. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPushNameSetting); /** PushNameSetting name. */ public name?: (string|null); /** * Creates a new PushNameSetting instance using the specified properties. * @param [properties] Properties to set * @returns PushNameSetting instance */ public static create(properties?: waproto.SyncActionValue.IPushNameSetting): waproto.SyncActionValue.PushNameSetting; /** * Encodes the specified PushNameSetting message. Does not implicitly {@link waproto.SyncActionValue.PushNameSetting.verify|verify} messages. * @param message PushNameSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPushNameSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PushNameSetting message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PushNameSetting.verify|verify} messages. * @param message PushNameSetting message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPushNameSetting, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PushNameSetting message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PushNameSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PushNameSetting; /** * Decodes a PushNameSetting message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PushNameSetting * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PushNameSetting; /** * Verifies a PushNameSetting message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PushNameSetting message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PushNameSetting */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PushNameSetting; /** * Creates a plain object from a PushNameSetting message. Also converts values to other types if specified. * @param message PushNameSetting * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PushNameSetting, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PushNameSetting to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PushNameSetting * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PinAction. */ interface IPinAction { /** PinAction pinned */ pinned?: (boolean|null); } /** Represents a PinAction. */ class PinAction implements IPinAction { /** * Constructs a new PinAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IPinAction); /** PinAction pinned. */ public pinned?: (boolean|null); /** * Creates a new PinAction instance using the specified properties. * @param [properties] Properties to set * @returns PinAction instance */ public static create(properties?: waproto.SyncActionValue.IPinAction): waproto.SyncActionValue.PinAction; /** * Encodes the specified PinAction message. Does not implicitly {@link waproto.SyncActionValue.PinAction.verify|verify} messages. * @param message PinAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IPinAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PinAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.PinAction.verify|verify} messages. * @param message PinAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IPinAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PinAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PinAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.PinAction; /** * Decodes a PinAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PinAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.PinAction; /** * Verifies a PinAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PinAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PinAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.PinAction; /** * Creates a plain object from a PinAction message. Also converts values to other types if specified. * @param message PinAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.PinAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PinAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PinAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MuteAction. */ interface IMuteAction { /** MuteAction muted */ muted?: (boolean|null); /** MuteAction muteEndTimestamp */ muteEndTimestamp?: (number|Long|null); /** MuteAction autoMuted */ autoMuted?: (boolean|null); /** MuteAction muteEveryoneMentionEndTimestamp */ muteEveryoneMentionEndTimestamp?: (number|Long|null); } /** Represents a MuteAction. */ class MuteAction implements IMuteAction { /** * Constructs a new MuteAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IMuteAction); /** MuteAction muted. */ public muted?: (boolean|null); /** MuteAction muteEndTimestamp. */ public muteEndTimestamp?: (number|Long|null); /** MuteAction autoMuted. */ public autoMuted?: (boolean|null); /** MuteAction muteEveryoneMentionEndTimestamp. */ public muteEveryoneMentionEndTimestamp?: (number|Long|null); /** * Creates a new MuteAction instance using the specified properties. * @param [properties] Properties to set * @returns MuteAction instance */ public static create(properties?: waproto.SyncActionValue.IMuteAction): waproto.SyncActionValue.MuteAction; /** * Encodes the specified MuteAction message. Does not implicitly {@link waproto.SyncActionValue.MuteAction.verify|verify} messages. * @param message MuteAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IMuteAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MuteAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MuteAction.verify|verify} messages. * @param message MuteAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IMuteAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MuteAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MuteAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MuteAction; /** * Decodes a MuteAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MuteAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MuteAction; /** * Verifies a MuteAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a MuteAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MuteAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MuteAction; /** * Creates a plain object from a MuteAction message. Also converts values to other types if specified. * @param message MuteAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.MuteAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MuteAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for MuteAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SharedDeviceAllowlistAction. */ interface ISharedDeviceAllowlistAction { /** SharedDeviceAllowlistAction allowed */ allowed?: (boolean|null); } /** Represents a SharedDeviceAllowlistAction. */ class SharedDeviceAllowlistAction implements ISharedDeviceAllowlistAction { /** * Constructs a new SharedDeviceAllowlistAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.ISharedDeviceAllowlistAction); /** SharedDeviceAllowlistAction allowed. */ public allowed?: (boolean|null); /** * Creates a new SharedDeviceAllowlistAction instance using the specified properties. * @param [properties] Properties to set * @returns SharedDeviceAllowlistAction instance */ public static create(properties?: waproto.SyncActionValue.ISharedDeviceAllowlistAction): waproto.SyncActionValue.SharedDeviceAllowlistAction; /** * Encodes the specified SharedDeviceAllowlistAction message. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages. * @param message SharedDeviceAllowlistAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.ISharedDeviceAllowlistAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SharedDeviceAllowlistAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.SharedDeviceAllowlistAction.verify|verify} messages. * @param message SharedDeviceAllowlistAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.ISharedDeviceAllowlistAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SharedDeviceAllowlistAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.SharedDeviceAllowlistAction; /** * Decodes a SharedDeviceAllowlistAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SharedDeviceAllowlistAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.SharedDeviceAllowlistAction; /** * Verifies a SharedDeviceAllowlistAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SharedDeviceAllowlistAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SharedDeviceAllowlistAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.SharedDeviceAllowlistAction; /** * Creates a plain object from a SharedDeviceAllowlistAction message. Also converts values to other types if specified. * @param message SharedDeviceAllowlistAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.SharedDeviceAllowlistAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SharedDeviceAllowlistAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SharedDeviceAllowlistAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ContactAction. */ interface IContactAction { /** ContactAction fullName */ fullName?: (string|null); /** ContactAction firstName */ firstName?: (string|null); /** ContactAction lidJid */ lidJid?: (string|null); /** ContactAction saveOnPrimaryAddressbook */ saveOnPrimaryAddressbook?: (boolean|null); /** ContactAction pnJid */ pnJid?: (string|null); /** ContactAction username */ username?: (string|null); } /** Represents a ContactAction. */ class ContactAction implements IContactAction { /** * Constructs a new ContactAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IContactAction); /** ContactAction fullName. */ public fullName?: (string|null); /** ContactAction firstName. */ public firstName?: (string|null); /** ContactAction lidJid. */ public lidJid?: (string|null); /** ContactAction saveOnPrimaryAddressbook. */ public saveOnPrimaryAddressbook?: (boolean|null); /** ContactAction pnJid. */ public pnJid?: (string|null); /** ContactAction username. */ public username?: (string|null); /** * Creates a new ContactAction instance using the specified properties. * @param [properties] Properties to set * @returns ContactAction instance */ public static create(properties?: waproto.SyncActionValue.IContactAction): waproto.SyncActionValue.ContactAction; /** * Encodes the specified ContactAction message. Does not implicitly {@link waproto.SyncActionValue.ContactAction.verify|verify} messages. * @param message ContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ContactAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.ContactAction.verify|verify} messages. * @param message ContactAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IContactAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ContactAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.ContactAction; /** * Decodes a ContactAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ContactAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.ContactAction; /** * Verifies a ContactAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ContactAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ContactAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.ContactAction; /** * Creates a plain object from a ContactAction message. Also converts values to other types if specified. * @param message ContactAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.ContactAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ContactAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ContactAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StarAction. */ interface IStarAction { /** StarAction starred */ starred?: (boolean|null); } /** Represents a StarAction. */ class StarAction implements IStarAction { /** * Constructs a new StarAction. * @param [properties] Properties to set */ constructor(properties?: waproto.SyncActionValue.IStarAction); /** StarAction starred. */ public starred?: (boolean|null); /** * Creates a new StarAction instance using the specified properties. * @param [properties] Properties to set * @returns StarAction instance */ public static create(properties?: waproto.SyncActionValue.IStarAction): waproto.SyncActionValue.StarAction; /** * Encodes the specified StarAction message. Does not implicitly {@link waproto.SyncActionValue.StarAction.verify|verify} messages. * @param message StarAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.SyncActionValue.IStarAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StarAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.StarAction.verify|verify} messages. * @param message StarAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.SyncActionValue.IStarAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StarAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns StarAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.StarAction; /** * Decodes a StarAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns StarAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.StarAction; /** * Verifies a StarAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a StarAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StarAction */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.StarAction; /** * Creates a plain object from a StarAction message. Also converts values to other types if specified. * @param message StarAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionValue.StarAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StarAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for StarAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a SyncActionsTableSchemaProto. */ interface ISyncActionsTableSchemaProto { /** SyncActionsTableSchemaProto index */ index?: (string|null); /** SyncActionsTableSchemaProto binarySyncData */ binarySyncData?: (Uint8Array|null); /** SyncActionsTableSchemaProto actionState */ actionState?: (string|null); /** SyncActionsTableSchemaProto version */ version?: (number|null); /** SyncActionsTableSchemaProto keyId */ keyId?: (Uint8Array|null); /** SyncActionsTableSchemaProto modelId */ modelId?: (string|null); /** SyncActionsTableSchemaProto modelType */ modelType?: (string|null); /** SyncActionsTableSchemaProto indexMac */ indexMac?: (Uint8Array|null); /** SyncActionsTableSchemaProto valueMac */ valueMac?: (Uint8Array|null); /** SyncActionsTableSchemaProto collection */ collection?: (string|null); /** SyncActionsTableSchemaProto timestamp */ timestamp?: (number|Long|null); /** SyncActionsTableSchemaProto action */ action?: (string|null); } /** Represents a SyncActionsTableSchemaProto. */ class SyncActionsTableSchemaProto implements ISyncActionsTableSchemaProto { /** * Constructs a new SyncActionsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncActionsTableSchemaProto); /** SyncActionsTableSchemaProto index. */ public index?: (string|null); /** SyncActionsTableSchemaProto binarySyncData. */ public binarySyncData?: (Uint8Array|null); /** SyncActionsTableSchemaProto actionState. */ public actionState?: (string|null); /** SyncActionsTableSchemaProto version. */ public version?: (number|null); /** SyncActionsTableSchemaProto keyId. */ public keyId?: (Uint8Array|null); /** SyncActionsTableSchemaProto modelId. */ public modelId?: (string|null); /** SyncActionsTableSchemaProto modelType. */ public modelType?: (string|null); /** SyncActionsTableSchemaProto indexMac. */ public indexMac?: (Uint8Array|null); /** SyncActionsTableSchemaProto valueMac. */ public valueMac?: (Uint8Array|null); /** SyncActionsTableSchemaProto collection. */ public collection?: (string|null); /** SyncActionsTableSchemaProto timestamp. */ public timestamp?: (number|Long|null); /** SyncActionsTableSchemaProto action. */ public action?: (string|null); /** * Creates a new SyncActionsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns SyncActionsTableSchemaProto instance */ public static create(properties?: waproto.ISyncActionsTableSchemaProto): waproto.SyncActionsTableSchemaProto; /** * Encodes the specified SyncActionsTableSchemaProto message. Does not implicitly {@link waproto.SyncActionsTableSchemaProto.verify|verify} messages. * @param message SyncActionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncActionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncActionsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.SyncActionsTableSchemaProto.verify|verify} messages. * @param message SyncActionsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncActionsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncActionsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncActionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionsTableSchemaProto; /** * Decodes a SyncActionsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncActionsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionsTableSchemaProto; /** * Verifies a SyncActionsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncActionsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncActionsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.SyncActionsTableSchemaProto; /** * Creates a plain object from a SyncActionsTableSchemaProto message. Also converts values to other types if specified. * @param message SyncActionsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncActionsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncActionsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncActionsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncKeyDataProto. */ interface ISyncKeyDataProto { /** SyncKeyDataProto keyId */ keyId?: (Uint8Array|null); /** SyncKeyDataProto keyData */ keyData?: (Uint8Array|null); /** SyncKeyDataProto keyEpoch */ keyEpoch?: (number|null); /** SyncKeyDataProto timestamp */ timestamp?: (number|Long|null); /** SyncKeyDataProto fingerprint */ fingerprint?: (waproto.IFingerprintProto|null); } /** Represents a SyncKeyDataProto. */ class SyncKeyDataProto implements ISyncKeyDataProto { /** * Constructs a new SyncKeyDataProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncKeyDataProto); /** SyncKeyDataProto keyId. */ public keyId?: (Uint8Array|null); /** SyncKeyDataProto keyData. */ public keyData?: (Uint8Array|null); /** SyncKeyDataProto keyEpoch. */ public keyEpoch?: (number|null); /** SyncKeyDataProto timestamp. */ public timestamp?: (number|Long|null); /** SyncKeyDataProto fingerprint. */ public fingerprint?: (waproto.IFingerprintProto|null); /** * Creates a new SyncKeyDataProto instance using the specified properties. * @param [properties] Properties to set * @returns SyncKeyDataProto instance */ public static create(properties?: waproto.ISyncKeyDataProto): waproto.SyncKeyDataProto; /** * Encodes the specified SyncKeyDataProto message. Does not implicitly {@link waproto.SyncKeyDataProto.verify|verify} messages. * @param message SyncKeyDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncKeyDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncKeyDataProto message, length delimited. Does not implicitly {@link waproto.SyncKeyDataProto.verify|verify} messages. * @param message SyncKeyDataProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncKeyDataProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncKeyDataProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncKeyDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncKeyDataProto; /** * Decodes a SyncKeyDataProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncKeyDataProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncKeyDataProto; /** * Verifies a SyncKeyDataProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncKeyDataProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncKeyDataProto */ public static fromObject(object: { [k: string]: any }): waproto.SyncKeyDataProto; /** * Creates a plain object from a SyncKeyDataProto message. Also converts values to other types if specified. * @param message SyncKeyDataProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncKeyDataProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncKeyDataProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncKeyDataProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncKeyFingerprint. */ interface ISyncKeyFingerprint { /** SyncKeyFingerprint currentIndex */ currentIndex?: (number|null); /** SyncKeyFingerprint deviceIndexes */ deviceIndexes?: (number[]|null); /** SyncKeyFingerprint rawId */ rawId?: (number|Long|null); } /** Represents a SyncKeyFingerprint. */ class SyncKeyFingerprint implements ISyncKeyFingerprint { /** * Constructs a new SyncKeyFingerprint. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncKeyFingerprint); /** SyncKeyFingerprint currentIndex. */ public currentIndex?: (number|null); /** SyncKeyFingerprint deviceIndexes. */ public deviceIndexes: number[]; /** SyncKeyFingerprint rawId. */ public rawId?: (number|Long|null); /** * Creates a new SyncKeyFingerprint instance using the specified properties. * @param [properties] Properties to set * @returns SyncKeyFingerprint instance */ public static create(properties?: waproto.ISyncKeyFingerprint): waproto.SyncKeyFingerprint; /** * Encodes the specified SyncKeyFingerprint message. Does not implicitly {@link waproto.SyncKeyFingerprint.verify|verify} messages. * @param message SyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncKeyFingerprint message, length delimited. Does not implicitly {@link waproto.SyncKeyFingerprint.verify|verify} messages. * @param message SyncKeyFingerprint message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncKeyFingerprint, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncKeyFingerprint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncKeyFingerprint; /** * Decodes a SyncKeyFingerprint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncKeyFingerprint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncKeyFingerprint; /** * Verifies a SyncKeyFingerprint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncKeyFingerprint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncKeyFingerprint */ public static fromObject(object: { [k: string]: any }): waproto.SyncKeyFingerprint; /** * Creates a plain object from a SyncKeyFingerprint message. Also converts values to other types if specified. * @param message SyncKeyFingerprint * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncKeyFingerprint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncKeyFingerprint to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncKeyFingerprint * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncKeyRequestProto. */ interface ISyncKeyRequestProto { /** SyncKeyRequestProto keyIds */ keyIds?: (Uint8Array[]|null); } /** Represents a SyncKeyRequestProto. */ class SyncKeyRequestProto implements ISyncKeyRequestProto { /** * Constructs a new SyncKeyRequestProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncKeyRequestProto); /** SyncKeyRequestProto keyIds. */ public keyIds: Uint8Array[]; /** * Creates a new SyncKeyRequestProto instance using the specified properties. * @param [properties] Properties to set * @returns SyncKeyRequestProto instance */ public static create(properties?: waproto.ISyncKeyRequestProto): waproto.SyncKeyRequestProto; /** * Encodes the specified SyncKeyRequestProto message. Does not implicitly {@link waproto.SyncKeyRequestProto.verify|verify} messages. * @param message SyncKeyRequestProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncKeyRequestProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncKeyRequestProto message, length delimited. Does not implicitly {@link waproto.SyncKeyRequestProto.verify|verify} messages. * @param message SyncKeyRequestProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncKeyRequestProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncKeyRequestProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncKeyRequestProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncKeyRequestProto; /** * Decodes a SyncKeyRequestProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncKeyRequestProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncKeyRequestProto; /** * Verifies a SyncKeyRequestProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncKeyRequestProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncKeyRequestProto */ public static fromObject(object: { [k: string]: any }): waproto.SyncKeyRequestProto; /** * Creates a plain object from a SyncKeyRequestProto message. Also converts values to other types if specified. * @param message SyncKeyRequestProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncKeyRequestProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncKeyRequestProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncKeyRequestProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncKeyShareProto. */ interface ISyncKeyShareProto { /** SyncKeyShareProto keys */ keys?: (waproto.ISyncKeyDataProto[]|null); /** SyncKeyShareProto orphanKeys */ orphanKeys?: (Uint8Array[]|null); } /** Represents a SyncKeyShareProto. */ class SyncKeyShareProto implements ISyncKeyShareProto { /** * Constructs a new SyncKeyShareProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncKeyShareProto); /** SyncKeyShareProto keys. */ public keys: waproto.ISyncKeyDataProto[]; /** SyncKeyShareProto orphanKeys. */ public orphanKeys: Uint8Array[]; /** * Creates a new SyncKeyShareProto instance using the specified properties. * @param [properties] Properties to set * @returns SyncKeyShareProto instance */ public static create(properties?: waproto.ISyncKeyShareProto): waproto.SyncKeyShareProto; /** * Encodes the specified SyncKeyShareProto message. Does not implicitly {@link waproto.SyncKeyShareProto.verify|verify} messages. * @param message SyncKeyShareProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncKeyShareProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncKeyShareProto message, length delimited. Does not implicitly {@link waproto.SyncKeyShareProto.verify|verify} messages. * @param message SyncKeyShareProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncKeyShareProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncKeyShareProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncKeyShareProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncKeyShareProto; /** * Decodes a SyncKeyShareProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncKeyShareProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncKeyShareProto; /** * Verifies a SyncKeyShareProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncKeyShareProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncKeyShareProto */ public static fromObject(object: { [k: string]: any }): waproto.SyncKeyShareProto; /** * Creates a plain object from a SyncKeyShareProto message. Also converts values to other types if specified. * @param message SyncKeyShareProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncKeyShareProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncKeyShareProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncKeyShareProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncKeysTableSchemaProto. */ interface ISyncKeysTableSchemaProto { /** SyncKeysTableSchemaProto id */ id?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyId */ keyId?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyData */ keyData?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyEpoch */ keyEpoch?: (number|Long|null); /** SyncKeysTableSchemaProto timestamp */ timestamp?: (number|Long|null); /** SyncKeysTableSchemaProto fingerprint */ fingerprint?: (waproto.ISyncKeyFingerprint|null); } /** Represents a SyncKeysTableSchemaProto. */ class SyncKeysTableSchemaProto implements ISyncKeysTableSchemaProto { /** * Constructs a new SyncKeysTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncKeysTableSchemaProto); /** SyncKeysTableSchemaProto id. */ public id?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyId. */ public keyId?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyData. */ public keyData?: (Uint8Array|null); /** SyncKeysTableSchemaProto keyEpoch. */ public keyEpoch?: (number|Long|null); /** SyncKeysTableSchemaProto timestamp. */ public timestamp?: (number|Long|null); /** SyncKeysTableSchemaProto fingerprint. */ public fingerprint?: (waproto.ISyncKeyFingerprint|null); /** * Creates a new SyncKeysTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns SyncKeysTableSchemaProto instance */ public static create(properties?: waproto.ISyncKeysTableSchemaProto): waproto.SyncKeysTableSchemaProto; /** * Encodes the specified SyncKeysTableSchemaProto message. Does not implicitly {@link waproto.SyncKeysTableSchemaProto.verify|verify} messages. * @param message SyncKeysTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncKeysTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncKeysTableSchemaProto message, length delimited. Does not implicitly {@link waproto.SyncKeysTableSchemaProto.verify|verify} messages. * @param message SyncKeysTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncKeysTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncKeysTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncKeysTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncKeysTableSchemaProto; /** * Decodes a SyncKeysTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncKeysTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncKeysTableSchemaProto; /** * Verifies a SyncKeysTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncKeysTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncKeysTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.SyncKeysTableSchemaProto; /** * Creates a plain object from a SyncKeysTableSchemaProto message. Also converts values to other types if specified. * @param message SyncKeysTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncKeysTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncKeysTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncKeysTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdIndex. */ interface ISyncdIndex { /** SyncdIndex blob */ blob?: (Uint8Array|null); } /** Represents a SyncdIndex. */ class SyncdIndex implements ISyncdIndex { /** * Constructs a new SyncdIndex. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdIndex); /** SyncdIndex blob. */ public blob?: (Uint8Array|null); /** * Creates a new SyncdIndex instance using the specified properties. * @param [properties] Properties to set * @returns SyncdIndex instance */ public static create(properties?: waproto.ISyncdIndex): waproto.SyncdIndex; /** * Encodes the specified SyncdIndex message. Does not implicitly {@link waproto.SyncdIndex.verify|verify} messages. * @param message SyncdIndex message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdIndex, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdIndex message, length delimited. Does not implicitly {@link waproto.SyncdIndex.verify|verify} messages. * @param message SyncdIndex message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdIndex, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdIndex message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdIndex * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdIndex; /** * Decodes a SyncdIndex message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdIndex * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdIndex; /** * Verifies a SyncdIndex message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdIndex message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdIndex */ public static fromObject(object: { [k: string]: any }): waproto.SyncdIndex; /** * Creates a plain object from a SyncdIndex message. Also converts values to other types if specified. * @param message SyncdIndex * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdIndex, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdIndex to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdIndex * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdMutation. */ interface ISyncdMutation { /** SyncdMutation operation */ operation?: (waproto.SyncdMutation.SyncdOperation|null); /** SyncdMutation record */ record?: (waproto.ISyncdRecord|null); } /** Represents a SyncdMutation. */ class SyncdMutation implements ISyncdMutation { /** * Constructs a new SyncdMutation. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdMutation); /** SyncdMutation operation. */ public operation?: (waproto.SyncdMutation.SyncdOperation|null); /** SyncdMutation record. */ public record?: (waproto.ISyncdRecord|null); /** * Creates a new SyncdMutation instance using the specified properties. * @param [properties] Properties to set * @returns SyncdMutation instance */ public static create(properties?: waproto.ISyncdMutation): waproto.SyncdMutation; /** * Encodes the specified SyncdMutation message. Does not implicitly {@link waproto.SyncdMutation.verify|verify} messages. * @param message SyncdMutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdMutation message, length delimited. Does not implicitly {@link waproto.SyncdMutation.verify|verify} messages. * @param message SyncdMutation message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdMutation, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdMutation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdMutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdMutation; /** * Decodes a SyncdMutation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdMutation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdMutation; /** * Verifies a SyncdMutation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdMutation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdMutation */ public static fromObject(object: { [k: string]: any }): waproto.SyncdMutation; /** * Creates a plain object from a SyncdMutation message. Also converts values to other types if specified. * @param message SyncdMutation * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdMutation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdMutation to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdMutation * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SyncdMutation { /** SyncdOperation enum. */ enum SyncdOperation { SET = 0, REMOVE = 1 } } /** Properties of a SyncdMutations. */ interface ISyncdMutations { /** SyncdMutations mutations */ mutations?: (waproto.ISyncdMutation[]|null); } /** Represents a SyncdMutations. */ class SyncdMutations implements ISyncdMutations { /** * Constructs a new SyncdMutations. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdMutations); /** SyncdMutations mutations. */ public mutations: waproto.ISyncdMutation[]; /** * Creates a new SyncdMutations instance using the specified properties. * @param [properties] Properties to set * @returns SyncdMutations instance */ public static create(properties?: waproto.ISyncdMutations): waproto.SyncdMutations; /** * Encodes the specified SyncdMutations message. Does not implicitly {@link waproto.SyncdMutations.verify|verify} messages. * @param message SyncdMutations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdMutations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdMutations message, length delimited. Does not implicitly {@link waproto.SyncdMutations.verify|verify} messages. * @param message SyncdMutations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdMutations, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdMutations message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdMutations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdMutations; /** * Decodes a SyncdMutations message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdMutations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdMutations; /** * Verifies a SyncdMutations message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdMutations message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdMutations */ public static fromObject(object: { [k: string]: any }): waproto.SyncdMutations; /** * Creates a plain object from a SyncdMutations message. Also converts values to other types if specified. * @param message SyncdMutations * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdMutations, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdMutations to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdMutations * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdPatch. */ interface ISyncdPatch { /** SyncdPatch version */ version?: (waproto.ISyncdVersion|null); /** SyncdPatch mutations */ mutations?: (waproto.ISyncdMutation[]|null); /** SyncdPatch externalMutations */ externalMutations?: (waproto.IExternalBlobReference|null); /** SyncdPatch snapshotMac */ snapshotMac?: (Uint8Array|null); /** SyncdPatch patchMac */ patchMac?: (Uint8Array|null); /** SyncdPatch keyId */ keyId?: (waproto.IKeyId|null); /** SyncdPatch exitCode */ exitCode?: (waproto.IExitCode|null); /** SyncdPatch deviceIndex */ deviceIndex?: (number|null); /** SyncdPatch clientDebugData */ clientDebugData?: (Uint8Array|null); } /** Represents a SyncdPatch. */ class SyncdPatch implements ISyncdPatch { /** * Constructs a new SyncdPatch. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdPatch); /** SyncdPatch version. */ public version?: (waproto.ISyncdVersion|null); /** SyncdPatch mutations. */ public mutations: waproto.ISyncdMutation[]; /** SyncdPatch externalMutations. */ public externalMutations?: (waproto.IExternalBlobReference|null); /** SyncdPatch snapshotMac. */ public snapshotMac?: (Uint8Array|null); /** SyncdPatch patchMac. */ public patchMac?: (Uint8Array|null); /** SyncdPatch keyId. */ public keyId?: (waproto.IKeyId|null); /** SyncdPatch exitCode. */ public exitCode?: (waproto.IExitCode|null); /** SyncdPatch deviceIndex. */ public deviceIndex?: (number|null); /** SyncdPatch clientDebugData. */ public clientDebugData?: (Uint8Array|null); /** * Creates a new SyncdPatch instance using the specified properties. * @param [properties] Properties to set * @returns SyncdPatch instance */ public static create(properties?: waproto.ISyncdPatch): waproto.SyncdPatch; /** * Encodes the specified SyncdPatch message. Does not implicitly {@link waproto.SyncdPatch.verify|verify} messages. * @param message SyncdPatch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdPatch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdPatch message, length delimited. Does not implicitly {@link waproto.SyncdPatch.verify|verify} messages. * @param message SyncdPatch message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdPatch, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdPatch message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdPatch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdPatch; /** * Decodes a SyncdPatch message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdPatch * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdPatch; /** * Verifies a SyncdPatch message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdPatch message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdPatch */ public static fromObject(object: { [k: string]: any }): waproto.SyncdPatch; /** * Creates a plain object from a SyncdPatch message. Also converts values to other types if specified. * @param message SyncdPatch * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdPatch, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdPatch to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdPatch * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdPlainTextRecord. */ interface ISyncdPlainTextRecord { /** SyncdPlainTextRecord value */ value?: (waproto.ISyncActionData|null); /** SyncdPlainTextRecord keyId */ keyId?: (Uint8Array|null); /** SyncdPlainTextRecord mac */ mac?: (Uint8Array|null); } /** Represents a SyncdPlainTextRecord. */ class SyncdPlainTextRecord implements ISyncdPlainTextRecord { /** * Constructs a new SyncdPlainTextRecord. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdPlainTextRecord); /** SyncdPlainTextRecord value. */ public value?: (waproto.ISyncActionData|null); /** SyncdPlainTextRecord keyId. */ public keyId?: (Uint8Array|null); /** SyncdPlainTextRecord mac. */ public mac?: (Uint8Array|null); /** * Creates a new SyncdPlainTextRecord instance using the specified properties. * @param [properties] Properties to set * @returns SyncdPlainTextRecord instance */ public static create(properties?: waproto.ISyncdPlainTextRecord): waproto.SyncdPlainTextRecord; /** * Encodes the specified SyncdPlainTextRecord message. Does not implicitly {@link waproto.SyncdPlainTextRecord.verify|verify} messages. * @param message SyncdPlainTextRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdPlainTextRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdPlainTextRecord message, length delimited. Does not implicitly {@link waproto.SyncdPlainTextRecord.verify|verify} messages. * @param message SyncdPlainTextRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdPlainTextRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdPlainTextRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdPlainTextRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdPlainTextRecord; /** * Decodes a SyncdPlainTextRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdPlainTextRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdPlainTextRecord; /** * Verifies a SyncdPlainTextRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdPlainTextRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdPlainTextRecord */ public static fromObject(object: { [k: string]: any }): waproto.SyncdPlainTextRecord; /** * Creates a plain object from a SyncdPlainTextRecord message. Also converts values to other types if specified. * @param message SyncdPlainTextRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdPlainTextRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdPlainTextRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdPlainTextRecord * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdRecord. */ interface ISyncdRecord { /** SyncdRecord index */ index?: (waproto.ISyncdIndex|null); /** SyncdRecord value */ value?: (waproto.ISyncdValue|null); /** SyncdRecord keyId */ keyId?: (waproto.IKeyId|null); } /** Represents a SyncdRecord. */ class SyncdRecord implements ISyncdRecord { /** * Constructs a new SyncdRecord. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdRecord); /** SyncdRecord index. */ public index?: (waproto.ISyncdIndex|null); /** SyncdRecord value. */ public value?: (waproto.ISyncdValue|null); /** SyncdRecord keyId. */ public keyId?: (waproto.IKeyId|null); /** * Creates a new SyncdRecord instance using the specified properties. * @param [properties] Properties to set * @returns SyncdRecord instance */ public static create(properties?: waproto.ISyncdRecord): waproto.SyncdRecord; /** * Encodes the specified SyncdRecord message. Does not implicitly {@link waproto.SyncdRecord.verify|verify} messages. * @param message SyncdRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdRecord message, length delimited. Does not implicitly {@link waproto.SyncdRecord.verify|verify} messages. * @param message SyncdRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdRecord; /** * Decodes a SyncdRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdRecord; /** * Verifies a SyncdRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdRecord */ public static fromObject(object: { [k: string]: any }): waproto.SyncdRecord; /** * Creates a plain object from a SyncdRecord message. Also converts values to other types if specified. * @param message SyncdRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdRecord * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdSnapshot. */ interface ISyncdSnapshot { /** SyncdSnapshot version */ version?: (waproto.ISyncdVersion|null); /** SyncdSnapshot records */ records?: (waproto.ISyncdRecord[]|null); /** SyncdSnapshot mac */ mac?: (Uint8Array|null); /** SyncdSnapshot keyId */ keyId?: (waproto.IKeyId|null); } /** Represents a SyncdSnapshot. */ class SyncdSnapshot implements ISyncdSnapshot { /** * Constructs a new SyncdSnapshot. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdSnapshot); /** SyncdSnapshot version. */ public version?: (waproto.ISyncdVersion|null); /** SyncdSnapshot records. */ public records: waproto.ISyncdRecord[]; /** SyncdSnapshot mac. */ public mac?: (Uint8Array|null); /** SyncdSnapshot keyId. */ public keyId?: (waproto.IKeyId|null); /** * Creates a new SyncdSnapshot instance using the specified properties. * @param [properties] Properties to set * @returns SyncdSnapshot instance */ public static create(properties?: waproto.ISyncdSnapshot): waproto.SyncdSnapshot; /** * Encodes the specified SyncdSnapshot message. Does not implicitly {@link waproto.SyncdSnapshot.verify|verify} messages. * @param message SyncdSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdSnapshot message, length delimited. Does not implicitly {@link waproto.SyncdSnapshot.verify|verify} messages. * @param message SyncdSnapshot message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdSnapshot, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdSnapshot message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdSnapshot; /** * Decodes a SyncdSnapshot message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdSnapshot * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdSnapshot; /** * Verifies a SyncdSnapshot message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdSnapshot message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdSnapshot */ public static fromObject(object: { [k: string]: any }): waproto.SyncdSnapshot; /** * Creates a plain object from a SyncdSnapshot message. Also converts values to other types if specified. * @param message SyncdSnapshot * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdSnapshot to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdSnapshot * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdSnapshotRecovery. */ interface ISyncdSnapshotRecovery { /** SyncdSnapshotRecovery version */ version?: (waproto.ISyncdVersion|null); /** SyncdSnapshotRecovery collectionName */ collectionName?: (string|null); /** SyncdSnapshotRecovery mutationRecords */ mutationRecords?: (waproto.ISyncdPlainTextRecord[]|null); /** SyncdSnapshotRecovery collectionLthash */ collectionLthash?: (Uint8Array|null); } /** Represents a SyncdSnapshotRecovery. */ class SyncdSnapshotRecovery implements ISyncdSnapshotRecovery { /** * Constructs a new SyncdSnapshotRecovery. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdSnapshotRecovery); /** SyncdSnapshotRecovery version. */ public version?: (waproto.ISyncdVersion|null); /** SyncdSnapshotRecovery collectionName. */ public collectionName?: (string|null); /** SyncdSnapshotRecovery mutationRecords. */ public mutationRecords: waproto.ISyncdPlainTextRecord[]; /** SyncdSnapshotRecovery collectionLthash. */ public collectionLthash?: (Uint8Array|null); /** * Creates a new SyncdSnapshotRecovery instance using the specified properties. * @param [properties] Properties to set * @returns SyncdSnapshotRecovery instance */ public static create(properties?: waproto.ISyncdSnapshotRecovery): waproto.SyncdSnapshotRecovery; /** * Encodes the specified SyncdSnapshotRecovery message. Does not implicitly {@link waproto.SyncdSnapshotRecovery.verify|verify} messages. * @param message SyncdSnapshotRecovery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdSnapshotRecovery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdSnapshotRecovery message, length delimited. Does not implicitly {@link waproto.SyncdSnapshotRecovery.verify|verify} messages. * @param message SyncdSnapshotRecovery message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdSnapshotRecovery, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdSnapshotRecovery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdSnapshotRecovery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdSnapshotRecovery; /** * Decodes a SyncdSnapshotRecovery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdSnapshotRecovery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdSnapshotRecovery; /** * Verifies a SyncdSnapshotRecovery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdSnapshotRecovery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdSnapshotRecovery */ public static fromObject(object: { [k: string]: any }): waproto.SyncdSnapshotRecovery; /** * Creates a plain object from a SyncdSnapshotRecovery message. Also converts values to other types if specified. * @param message SyncdSnapshotRecovery * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdSnapshotRecovery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdSnapshotRecovery to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdSnapshotRecovery * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdValue. */ interface ISyncdValue { /** SyncdValue blob */ blob?: (Uint8Array|null); } /** Represents a SyncdValue. */ class SyncdValue implements ISyncdValue { /** * Constructs a new SyncdValue. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdValue); /** SyncdValue blob. */ public blob?: (Uint8Array|null); /** * Creates a new SyncdValue instance using the specified properties. * @param [properties] Properties to set * @returns SyncdValue instance */ public static create(properties?: waproto.ISyncdValue): waproto.SyncdValue; /** * Encodes the specified SyncdValue message. Does not implicitly {@link waproto.SyncdValue.verify|verify} messages. * @param message SyncdValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdValue message, length delimited. Does not implicitly {@link waproto.SyncdValue.verify|verify} messages. * @param message SyncdValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdValue; /** * Decodes a SyncdValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdValue; /** * Verifies a SyncdValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdValue */ public static fromObject(object: { [k: string]: any }): waproto.SyncdValue; /** * Creates a plain object from a SyncdValue message. Also converts values to other types if specified. * @param message SyncdValue * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdValue to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdValue * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SyncdVersion. */ interface ISyncdVersion { /** SyncdVersion version */ version?: (number|Long|null); } /** Represents a SyncdVersion. */ class SyncdVersion implements ISyncdVersion { /** * Constructs a new SyncdVersion. * @param [properties] Properties to set */ constructor(properties?: waproto.ISyncdVersion); /** SyncdVersion version. */ public version?: (number|Long|null); /** * Creates a new SyncdVersion instance using the specified properties. * @param [properties] Properties to set * @returns SyncdVersion instance */ public static create(properties?: waproto.ISyncdVersion): waproto.SyncdVersion; /** * Encodes the specified SyncdVersion message. Does not implicitly {@link waproto.SyncdVersion.verify|verify} messages. * @param message SyncdVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ISyncdVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SyncdVersion message, length delimited. Does not implicitly {@link waproto.SyncdVersion.verify|verify} messages. * @param message SyncdVersion message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ISyncdVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SyncdVersion message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SyncdVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncdVersion; /** * Decodes a SyncdVersion message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SyncdVersion * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncdVersion; /** * Verifies a SyncdVersion message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SyncdVersion message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SyncdVersion */ public static fromObject(object: { [k: string]: any }): waproto.SyncdVersion; /** * Creates a plain object from a SyncdVersion message. Also converts values to other types if specified. * @param message SyncdVersion * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.SyncdVersion, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SyncdVersion to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SyncdVersion * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TapLinkAction. */ interface ITapLinkAction { /** TapLinkAction title */ title?: (string|null); /** TapLinkAction tapUrl */ tapUrl?: (string|null); } /** Represents a TapLinkAction. */ class TapLinkAction implements ITapLinkAction { /** * Constructs a new TapLinkAction. * @param [properties] Properties to set */ constructor(properties?: waproto.ITapLinkAction); /** TapLinkAction title. */ public title?: (string|null); /** TapLinkAction tapUrl. */ public tapUrl?: (string|null); /** * Creates a new TapLinkAction instance using the specified properties. * @param [properties] Properties to set * @returns TapLinkAction instance */ public static create(properties?: waproto.ITapLinkAction): waproto.TapLinkAction; /** * Encodes the specified TapLinkAction message. Does not implicitly {@link waproto.TapLinkAction.verify|verify} messages. * @param message TapLinkAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TapLinkAction message, length delimited. Does not implicitly {@link waproto.TapLinkAction.verify|verify} messages. * @param message TapLinkAction message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ITapLinkAction, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TapLinkAction message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TapLinkAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TapLinkAction; /** * Decodes a TapLinkAction message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TapLinkAction * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TapLinkAction; /** * Verifies a TapLinkAction message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TapLinkAction message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TapLinkAction */ public static fromObject(object: { [k: string]: any }): waproto.TapLinkAction; /** * Creates a plain object from a TapLinkAction message. Also converts values to other types if specified. * @param message TapLinkAction * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TapLinkAction, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TapLinkAction to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TapLinkAction * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TasksTableSchemaProto. */ interface ITasksTableSchemaProto { /** TasksTableSchemaProto taskName */ taskName?: (string|null); /** TasksTableSchemaProto scheduledTime */ scheduledTime?: (number|Long|null); } /** Represents a TasksTableSchemaProto. */ class TasksTableSchemaProto implements ITasksTableSchemaProto { /** * Constructs a new TasksTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.ITasksTableSchemaProto); /** TasksTableSchemaProto taskName. */ public taskName?: (string|null); /** TasksTableSchemaProto scheduledTime. */ public scheduledTime?: (number|Long|null); /** * Creates a new TasksTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns TasksTableSchemaProto instance */ public static create(properties?: waproto.ITasksTableSchemaProto): waproto.TasksTableSchemaProto; /** * Encodes the specified TasksTableSchemaProto message. Does not implicitly {@link waproto.TasksTableSchemaProto.verify|verify} messages. * @param message TasksTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ITasksTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TasksTableSchemaProto message, length delimited. Does not implicitly {@link waproto.TasksTableSchemaProto.verify|verify} messages. * @param message TasksTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ITasksTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TasksTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TasksTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TasksTableSchemaProto; /** * Decodes a TasksTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TasksTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TasksTableSchemaProto; /** * Verifies a TasksTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TasksTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TasksTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.TasksTableSchemaProto; /** * Creates a plain object from a TasksTableSchemaProto message. Also converts values to other types if specified. * @param message TasksTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TasksTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TasksTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TasksTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TemplateButton. */ interface ITemplateButton { /** TemplateButton index */ index?: (number|null); /** TemplateButton quickReplyButton */ quickReplyButton?: (waproto.TemplateButton.IQuickReplyButton|null); /** TemplateButton urlButton */ urlButton?: (waproto.TemplateButton.IURLButton|null); /** TemplateButton callButton */ callButton?: (waproto.TemplateButton.ICallButton|null); } /** Represents a TemplateButton. */ class TemplateButton implements ITemplateButton { /** * Constructs a new TemplateButton. * @param [properties] Properties to set */ constructor(properties?: waproto.ITemplateButton); /** TemplateButton index. */ public index?: (number|null); /** TemplateButton quickReplyButton. */ public quickReplyButton?: (waproto.TemplateButton.IQuickReplyButton|null); /** TemplateButton urlButton. */ public urlButton?: (waproto.TemplateButton.IURLButton|null); /** TemplateButton callButton. */ public callButton?: (waproto.TemplateButton.ICallButton|null); /** TemplateButton button. */ public button?: ("quickReplyButton"|"urlButton"|"callButton"); /** * Creates a new TemplateButton instance using the specified properties. * @param [properties] Properties to set * @returns TemplateButton instance */ public static create(properties?: waproto.ITemplateButton): waproto.TemplateButton; /** * Encodes the specified TemplateButton message. Does not implicitly {@link waproto.TemplateButton.verify|verify} messages. * @param message TemplateButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TemplateButton message, length delimited. Does not implicitly {@link waproto.TemplateButton.verify|verify} messages. * @param message TemplateButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ITemplateButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TemplateButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TemplateButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TemplateButton; /** * Decodes a TemplateButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TemplateButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TemplateButton; /** * Verifies a TemplateButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TemplateButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TemplateButton */ public static fromObject(object: { [k: string]: any }): waproto.TemplateButton; /** * Creates a plain object from a TemplateButton message. Also converts values to other types if specified. * @param message TemplateButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TemplateButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TemplateButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TemplateButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TemplateButton { /** Properties of a CallButton. */ interface ICallButton { /** CallButton displayText */ displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** CallButton phoneNumber */ phoneNumber?: (waproto.Message.IHighlyStructuredMessage|null); } /** Represents a CallButton. */ class CallButton implements ICallButton { /** * Constructs a new CallButton. * @param [properties] Properties to set */ constructor(properties?: waproto.TemplateButton.ICallButton); /** CallButton displayText. */ public displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** CallButton phoneNumber. */ public phoneNumber?: (waproto.Message.IHighlyStructuredMessage|null); /** * Creates a new CallButton instance using the specified properties. * @param [properties] Properties to set * @returns CallButton instance */ public static create(properties?: waproto.TemplateButton.ICallButton): waproto.TemplateButton.CallButton; /** * Encodes the specified CallButton message. Does not implicitly {@link waproto.TemplateButton.CallButton.verify|verify} messages. * @param message CallButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TemplateButton.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CallButton message, length delimited. Does not implicitly {@link waproto.TemplateButton.CallButton.verify|verify} messages. * @param message CallButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TemplateButton.ICallButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CallButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CallButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TemplateButton.CallButton; /** * Decodes a CallButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CallButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TemplateButton.CallButton; /** * Verifies a CallButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a CallButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CallButton */ public static fromObject(object: { [k: string]: any }): waproto.TemplateButton.CallButton; /** * Creates a plain object from a CallButton message. Also converts values to other types if specified. * @param message CallButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TemplateButton.CallButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CallButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for CallButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a URLButton. */ interface IURLButton { /** URLButton displayText */ displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** URLButton url */ url?: (waproto.Message.IHighlyStructuredMessage|null); } /** Represents a URLButton. */ class URLButton implements IURLButton { /** * Constructs a new URLButton. * @param [properties] Properties to set */ constructor(properties?: waproto.TemplateButton.IURLButton); /** URLButton displayText. */ public displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** URLButton url. */ public url?: (waproto.Message.IHighlyStructuredMessage|null); /** * Creates a new URLButton instance using the specified properties. * @param [properties] Properties to set * @returns URLButton instance */ public static create(properties?: waproto.TemplateButton.IURLButton): waproto.TemplateButton.URLButton; /** * Encodes the specified URLButton message. Does not implicitly {@link waproto.TemplateButton.URLButton.verify|verify} messages. * @param message URLButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TemplateButton.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified URLButton message, length delimited. Does not implicitly {@link waproto.TemplateButton.URLButton.verify|verify} messages. * @param message URLButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TemplateButton.IURLButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a URLButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns URLButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TemplateButton.URLButton; /** * Decodes a URLButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns URLButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TemplateButton.URLButton; /** * Verifies a URLButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a URLButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns URLButton */ public static fromObject(object: { [k: string]: any }): waproto.TemplateButton.URLButton; /** * Creates a plain object from a URLButton message. Also converts values to other types if specified. * @param message URLButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TemplateButton.URLButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this URLButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for URLButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a QuickReplyButton. */ interface IQuickReplyButton { /** QuickReplyButton displayText */ displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** QuickReplyButton id */ id?: (string|null); } /** Represents a QuickReplyButton. */ class QuickReplyButton implements IQuickReplyButton { /** * Constructs a new QuickReplyButton. * @param [properties] Properties to set */ constructor(properties?: waproto.TemplateButton.IQuickReplyButton); /** QuickReplyButton displayText. */ public displayText?: (waproto.Message.IHighlyStructuredMessage|null); /** QuickReplyButton id. */ public id?: (string|null); /** * Creates a new QuickReplyButton instance using the specified properties. * @param [properties] Properties to set * @returns QuickReplyButton instance */ public static create(properties?: waproto.TemplateButton.IQuickReplyButton): waproto.TemplateButton.QuickReplyButton; /** * Encodes the specified QuickReplyButton message. Does not implicitly {@link waproto.TemplateButton.QuickReplyButton.verify|verify} messages. * @param message QuickReplyButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TemplateButton.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified QuickReplyButton message, length delimited. Does not implicitly {@link waproto.TemplateButton.QuickReplyButton.verify|verify} messages. * @param message QuickReplyButton message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TemplateButton.IQuickReplyButton, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a QuickReplyButton message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns QuickReplyButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TemplateButton.QuickReplyButton; /** * Decodes a QuickReplyButton message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns QuickReplyButton * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TemplateButton.QuickReplyButton; /** * Verifies a QuickReplyButton message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a QuickReplyButton message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns QuickReplyButton */ public static fromObject(object: { [k: string]: any }): waproto.TemplateButton.QuickReplyButton; /** * Creates a plain object from a QuickReplyButton message. Also converts values to other types if specified. * @param message QuickReplyButton * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TemplateButton.QuickReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this QuickReplyButton to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for QuickReplyButton * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a ThreadID. */ interface IThreadID { /** ThreadID threadType */ threadType?: (waproto.ThreadID.ThreadType|null); /** ThreadID threadKey */ threadKey?: (waproto.IMessageKey|null); } /** Represents a ThreadID. */ class ThreadID implements IThreadID { /** * Constructs a new ThreadID. * @param [properties] Properties to set */ constructor(properties?: waproto.IThreadID); /** ThreadID threadType. */ public threadType?: (waproto.ThreadID.ThreadType|null); /** ThreadID threadKey. */ public threadKey?: (waproto.IMessageKey|null); /** * Creates a new ThreadID instance using the specified properties. * @param [properties] Properties to set * @returns ThreadID instance */ public static create(properties?: waproto.IThreadID): waproto.ThreadID; /** * Encodes the specified ThreadID message. Does not implicitly {@link waproto.ThreadID.verify|verify} messages. * @param message ThreadID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ThreadID message, length delimited. Does not implicitly {@link waproto.ThreadID.verify|verify} messages. * @param message ThreadID message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ThreadID message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ThreadID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ThreadID; /** * Decodes a ThreadID message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ThreadID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ThreadID; /** * Verifies a ThreadID message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ThreadID message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ThreadID */ public static fromObject(object: { [k: string]: any }): waproto.ThreadID; /** * Creates a plain object from a ThreadID message. Also converts values to other types if specified. * @param message ThreadID * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ThreadID, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ThreadID to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ThreadID * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ThreadID { /** ThreadType enum. */ enum ThreadType { UNKNOWN = 0, VIEW_REPLIES = 1, AI_THREAD = 2 } } /** Properties of a ThreadsTableSchemaProto. */ interface IThreadsTableSchemaProto { /** ThreadsTableSchemaProto jid */ jid?: (string|null); /** ThreadsTableSchemaProto threadOrder */ threadOrder?: (string|null); /** ThreadsTableSchemaProto folder */ folder?: (number|null); /** ThreadsTableSchemaProto newestMsg */ newestMsg?: (string|null); /** ThreadsTableSchemaProto oldestMsg */ oldestMsg?: (string|null); /** ThreadsTableSchemaProto lastReadMsg */ lastReadMsg?: (string|null); /** ThreadsTableSchemaProto lastReadMsgReceiptSent */ lastReadMsgReceiptSent?: (string|null); /** ThreadsTableSchemaProto lastReadMsgTs */ lastReadMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto newestMsgTs */ newestMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto muteExpireTimeMs */ muteExpireTimeMs?: (number|Long|null); /** ThreadsTableSchemaProto muteCallsExpireTimeMs */ muteCallsExpireTimeMs?: (number|Long|null); /** ThreadsTableSchemaProto archived */ archived?: (boolean|null); /** ThreadsTableSchemaProto cannotReplyReason */ cannotReplyReason?: (string|null); /** ThreadsTableSchemaProto chatId */ chatId?: (number|null); /** ThreadsTableSchemaProto optimisticThreadKey */ optimisticThreadKey?: (string|null); /** ThreadsTableSchemaProto isMigratedLocally */ isMigratedLocally?: (boolean|null); /** ThreadsTableSchemaProto snippetMsg */ snippetMsg?: (string|null); /** ThreadsTableSchemaProto deduplicationKey */ deduplicationKey?: (string|null); /** ThreadsTableSchemaProto authoritativeThreadKey */ authoritativeThreadKey?: (string|null); /** ThreadsTableSchemaProto snippetMsgTs */ snippetMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto didInsertDualThreadCutoverAdminMsg */ didInsertDualThreadCutoverAdminMsg?: (boolean|null); /** ThreadsTableSchemaProto unbumpFromTs */ unbumpFromTs?: (number|Long|null); /** ThreadsTableSchemaProto unbumpToTs */ unbumpToTs?: (number|Long|null); } /** Represents a ThreadsTableSchemaProto. */ class ThreadsTableSchemaProto implements IThreadsTableSchemaProto { /** * Constructs a new ThreadsTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IThreadsTableSchemaProto); /** ThreadsTableSchemaProto jid. */ public jid?: (string|null); /** ThreadsTableSchemaProto threadOrder. */ public threadOrder?: (string|null); /** ThreadsTableSchemaProto folder. */ public folder?: (number|null); /** ThreadsTableSchemaProto newestMsg. */ public newestMsg?: (string|null); /** ThreadsTableSchemaProto oldestMsg. */ public oldestMsg?: (string|null); /** ThreadsTableSchemaProto lastReadMsg. */ public lastReadMsg?: (string|null); /** ThreadsTableSchemaProto lastReadMsgReceiptSent. */ public lastReadMsgReceiptSent?: (string|null); /** ThreadsTableSchemaProto lastReadMsgTs. */ public lastReadMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto newestMsgTs. */ public newestMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto muteExpireTimeMs. */ public muteExpireTimeMs?: (number|Long|null); /** ThreadsTableSchemaProto muteCallsExpireTimeMs. */ public muteCallsExpireTimeMs?: (number|Long|null); /** ThreadsTableSchemaProto archived. */ public archived?: (boolean|null); /** ThreadsTableSchemaProto cannotReplyReason. */ public cannotReplyReason?: (string|null); /** ThreadsTableSchemaProto chatId. */ public chatId?: (number|null); /** ThreadsTableSchemaProto optimisticThreadKey. */ public optimisticThreadKey?: (string|null); /** ThreadsTableSchemaProto isMigratedLocally. */ public isMigratedLocally?: (boolean|null); /** ThreadsTableSchemaProto snippetMsg. */ public snippetMsg?: (string|null); /** ThreadsTableSchemaProto deduplicationKey. */ public deduplicationKey?: (string|null); /** ThreadsTableSchemaProto authoritativeThreadKey. */ public authoritativeThreadKey?: (string|null); /** ThreadsTableSchemaProto snippetMsgTs. */ public snippetMsgTs?: (number|Long|null); /** ThreadsTableSchemaProto didInsertDualThreadCutoverAdminMsg. */ public didInsertDualThreadCutoverAdminMsg?: (boolean|null); /** ThreadsTableSchemaProto unbumpFromTs. */ public unbumpFromTs?: (number|Long|null); /** ThreadsTableSchemaProto unbumpToTs. */ public unbumpToTs?: (number|Long|null); /** * Creates a new ThreadsTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns ThreadsTableSchemaProto instance */ public static create(properties?: waproto.IThreadsTableSchemaProto): waproto.ThreadsTableSchemaProto; /** * Encodes the specified ThreadsTableSchemaProto message. Does not implicitly {@link waproto.ThreadsTableSchemaProto.verify|verify} messages. * @param message ThreadsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IThreadsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ThreadsTableSchemaProto message, length delimited. Does not implicitly {@link waproto.ThreadsTableSchemaProto.verify|verify} messages. * @param message ThreadsTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IThreadsTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ThreadsTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ThreadsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ThreadsTableSchemaProto; /** * Decodes a ThreadsTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ThreadsTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ThreadsTableSchemaProto; /** * Verifies a ThreadsTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ThreadsTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ThreadsTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.ThreadsTableSchemaProto; /** * Creates a plain object from a ThreadsTableSchemaProto message. Also converts values to other types if specified. * @param message ThreadsTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ThreadsTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ThreadsTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ThreadsTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TransportEvent. */ interface ITransportEvent { /** TransportEvent placeholder */ placeholder?: (waproto.TransportEvent.IPlaceholder|null); /** TransportEvent event */ event?: (waproto.TransportEvent.IEvent|null); } /** Represents a TransportEvent. */ class TransportEvent implements ITransportEvent { /** * Constructs a new TransportEvent. * @param [properties] Properties to set */ constructor(properties?: waproto.ITransportEvent); /** TransportEvent placeholder. */ public placeholder?: (waproto.TransportEvent.IPlaceholder|null); /** TransportEvent event. */ public event?: (waproto.TransportEvent.IEvent|null); /** TransportEvent content. */ public content?: ("placeholder"|"event"); /** * Creates a new TransportEvent instance using the specified properties. * @param [properties] Properties to set * @returns TransportEvent instance */ public static create(properties?: waproto.ITransportEvent): waproto.TransportEvent; /** * Encodes the specified TransportEvent message. Does not implicitly {@link waproto.TransportEvent.verify|verify} messages. * @param message TransportEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TransportEvent message, length delimited. Does not implicitly {@link waproto.TransportEvent.verify|verify} messages. * @param message TransportEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TransportEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TransportEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TransportEvent; /** * Decodes a TransportEvent message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TransportEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TransportEvent; /** * Verifies a TransportEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TransportEvent message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TransportEvent */ public static fromObject(object: { [k: string]: any }): waproto.TransportEvent; /** * Creates a plain object from a TransportEvent message. Also converts values to other types if specified. * @param message TransportEvent * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TransportEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TransportEvent to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TransportEvent * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TransportEvent { /** Properties of an Event. */ interface IEvent { /** Event deviceChange */ deviceChange?: (waproto.TransportEvent.Event.IDeviceChange|null); /** Event icdcAlert */ icdcAlert?: (waproto.TransportEvent.Event.IIcdcAlert|null); } /** Represents an Event. */ class Event implements IEvent { /** * Constructs a new Event. * @param [properties] Properties to set */ constructor(properties?: waproto.TransportEvent.IEvent); /** Event deviceChange. */ public deviceChange?: (waproto.TransportEvent.Event.IDeviceChange|null); /** Event icdcAlert. */ public icdcAlert?: (waproto.TransportEvent.Event.IIcdcAlert|null); /** Event event. */ public event?: ("deviceChange"|"icdcAlert"); /** * Creates a new Event instance using the specified properties. * @param [properties] Properties to set * @returns Event instance */ public static create(properties?: waproto.TransportEvent.IEvent): waproto.TransportEvent.Event; /** * Encodes the specified Event message. Does not implicitly {@link waproto.TransportEvent.Event.verify|verify} messages. * @param message Event message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TransportEvent.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Event message, length delimited. Does not implicitly {@link waproto.TransportEvent.Event.verify|verify} messages. * @param message Event message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TransportEvent.IEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Event message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Event * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TransportEvent.Event; /** * Decodes an Event message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Event * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TransportEvent.Event; /** * Verifies an Event message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Event message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Event */ public static fromObject(object: { [k: string]: any }): waproto.TransportEvent.Event; /** * Creates a plain object from an Event message. Also converts values to other types if specified. * @param message Event * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TransportEvent.Event, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Event to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Event * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Event { /** Properties of an IcdcAlert. */ interface IIcdcAlert { /** IcdcAlert type */ type?: (waproto.TransportEvent.Event.IcdcAlert.Type|null); } /** Represents an IcdcAlert. */ class IcdcAlert implements IIcdcAlert { /** * Constructs a new IcdcAlert. * @param [properties] Properties to set */ constructor(properties?: waproto.TransportEvent.Event.IIcdcAlert); /** IcdcAlert type. */ public type?: (waproto.TransportEvent.Event.IcdcAlert.Type|null); /** * Creates a new IcdcAlert instance using the specified properties. * @param [properties] Properties to set * @returns IcdcAlert instance */ public static create(properties?: waproto.TransportEvent.Event.IIcdcAlert): waproto.TransportEvent.Event.IcdcAlert; /** * Encodes the specified IcdcAlert message. Does not implicitly {@link waproto.TransportEvent.Event.IcdcAlert.verify|verify} messages. * @param message IcdcAlert message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TransportEvent.Event.IIcdcAlert, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IcdcAlert message, length delimited. Does not implicitly {@link waproto.TransportEvent.Event.IcdcAlert.verify|verify} messages. * @param message IcdcAlert message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TransportEvent.Event.IIcdcAlert, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IcdcAlert message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IcdcAlert * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TransportEvent.Event.IcdcAlert; /** * Decodes an IcdcAlert message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IcdcAlert * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TransportEvent.Event.IcdcAlert; /** * Verifies an IcdcAlert message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IcdcAlert message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IcdcAlert */ public static fromObject(object: { [k: string]: any }): waproto.TransportEvent.Event.IcdcAlert; /** * Creates a plain object from an IcdcAlert message. Also converts values to other types if specified. * @param message IcdcAlert * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TransportEvent.Event.IcdcAlert, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IcdcAlert to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IcdcAlert * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IcdcAlert { /** Type enum. */ enum Type { NONE = 0, DETECTED = 1, CLEARED = 2 } } /** Properties of a DeviceChange. */ interface IDeviceChange { /** DeviceChange type */ type?: (waproto.TransportEvent.Event.DeviceChange.Type|null); /** DeviceChange deviceName */ deviceName?: (string|null); /** DeviceChange devicePlatform */ devicePlatform?: (string|null); /** DeviceChange deviceModel */ deviceModel?: (string|null); } /** Represents a DeviceChange. */ class DeviceChange implements IDeviceChange { /** * Constructs a new DeviceChange. * @param [properties] Properties to set */ constructor(properties?: waproto.TransportEvent.Event.IDeviceChange); /** DeviceChange type. */ public type?: (waproto.TransportEvent.Event.DeviceChange.Type|null); /** DeviceChange deviceName. */ public deviceName?: (string|null); /** DeviceChange devicePlatform. */ public devicePlatform?: (string|null); /** DeviceChange deviceModel. */ public deviceModel?: (string|null); /** * Creates a new DeviceChange instance using the specified properties. * @param [properties] Properties to set * @returns DeviceChange instance */ public static create(properties?: waproto.TransportEvent.Event.IDeviceChange): waproto.TransportEvent.Event.DeviceChange; /** * Encodes the specified DeviceChange message. Does not implicitly {@link waproto.TransportEvent.Event.DeviceChange.verify|verify} messages. * @param message DeviceChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TransportEvent.Event.IDeviceChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DeviceChange message, length delimited. Does not implicitly {@link waproto.TransportEvent.Event.DeviceChange.verify|verify} messages. * @param message DeviceChange message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TransportEvent.Event.IDeviceChange, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DeviceChange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DeviceChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TransportEvent.Event.DeviceChange; /** * Decodes a DeviceChange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DeviceChange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TransportEvent.Event.DeviceChange; /** * Verifies a DeviceChange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DeviceChange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DeviceChange */ public static fromObject(object: { [k: string]: any }): waproto.TransportEvent.Event.DeviceChange; /** * Creates a plain object from a DeviceChange message. Also converts values to other types if specified. * @param message DeviceChange * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TransportEvent.Event.DeviceChange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DeviceChange to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DeviceChange * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DeviceChange { /** Type enum. */ enum Type { NONE = 0, ADDED = 1, REMOVED = 2, REPLACED = 3 } } } /** Properties of a Placeholder. */ interface IPlaceholder { /** Placeholder type */ type?: (waproto.TransportEvent.Placeholder.Type|null); } /** Represents a Placeholder. */ class Placeholder implements IPlaceholder { /** * Constructs a new Placeholder. * @param [properties] Properties to set */ constructor(properties?: waproto.TransportEvent.IPlaceholder); /** Placeholder type. */ public type?: (waproto.TransportEvent.Placeholder.Type|null); /** * Creates a new Placeholder instance using the specified properties. * @param [properties] Properties to set * @returns Placeholder instance */ public static create(properties?: waproto.TransportEvent.IPlaceholder): waproto.TransportEvent.Placeholder; /** * Encodes the specified Placeholder message. Does not implicitly {@link waproto.TransportEvent.Placeholder.verify|verify} messages. * @param message Placeholder message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.TransportEvent.IPlaceholder, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Placeholder message, length delimited. Does not implicitly {@link waproto.TransportEvent.Placeholder.verify|verify} messages. * @param message Placeholder message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.TransportEvent.IPlaceholder, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Placeholder message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Placeholder * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.TransportEvent.Placeholder; /** * Decodes a Placeholder message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Placeholder * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.TransportEvent.Placeholder; /** * Verifies a Placeholder message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Placeholder message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Placeholder */ public static fromObject(object: { [k: string]: any }): waproto.TransportEvent.Placeholder; /** * Creates a plain object from a Placeholder message. Also converts values to other types if specified. * @param message Placeholder * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.TransportEvent.Placeholder, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Placeholder to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Placeholder * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Placeholder { /** Type enum. */ enum Type { DECRYPTION_FAILURE = 1, UNAVAILABLE_MESSAGE = 2 } } } /** Properties of an UnCountedAssociatedMessageList. */ interface IUnCountedAssociatedMessageList { /** UnCountedAssociatedMessageList messages */ messages?: (waproto.IWebMessageInfo[]|null); /** UnCountedAssociatedMessageList parentMessage */ parentMessage?: (waproto.IMessageKey|null); /** UnCountedAssociatedMessageList associationType */ associationType?: (waproto.MessageAssociation.AssociationType|null); } /** Represents an UnCountedAssociatedMessageList. */ class UnCountedAssociatedMessageList implements IUnCountedAssociatedMessageList { /** * Constructs a new UnCountedAssociatedMessageList. * @param [properties] Properties to set */ constructor(properties?: waproto.IUnCountedAssociatedMessageList); /** UnCountedAssociatedMessageList messages. */ public messages: waproto.IWebMessageInfo[]; /** UnCountedAssociatedMessageList parentMessage. */ public parentMessage?: (waproto.IMessageKey|null); /** UnCountedAssociatedMessageList associationType. */ public associationType?: (waproto.MessageAssociation.AssociationType|null); /** * Creates a new UnCountedAssociatedMessageList instance using the specified properties. * @param [properties] Properties to set * @returns UnCountedAssociatedMessageList instance */ public static create(properties?: waproto.IUnCountedAssociatedMessageList): waproto.UnCountedAssociatedMessageList; /** * Encodes the specified UnCountedAssociatedMessageList message. Does not implicitly {@link waproto.UnCountedAssociatedMessageList.verify|verify} messages. * @param message UnCountedAssociatedMessageList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUnCountedAssociatedMessageList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnCountedAssociatedMessageList message, length delimited. Does not implicitly {@link waproto.UnCountedAssociatedMessageList.verify|verify} messages. * @param message UnCountedAssociatedMessageList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUnCountedAssociatedMessageList, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnCountedAssociatedMessageList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnCountedAssociatedMessageList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UnCountedAssociatedMessageList; /** * Decodes an UnCountedAssociatedMessageList message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnCountedAssociatedMessageList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UnCountedAssociatedMessageList; /** * Verifies an UnCountedAssociatedMessageList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnCountedAssociatedMessageList message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnCountedAssociatedMessageList */ public static fromObject(object: { [k: string]: any }): waproto.UnCountedAssociatedMessageList; /** * Creates a plain object from an UnCountedAssociatedMessageList message. Also converts values to other types if specified. * @param message UnCountedAssociatedMessageList * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UnCountedAssociatedMessageList, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnCountedAssociatedMessageList to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnCountedAssociatedMessageList * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UnCountedAssociatedMessageListWithMessageBytes. */ interface IUnCountedAssociatedMessageListWithMessageBytes { /** UnCountedAssociatedMessageListWithMessageBytes messages */ messages?: (waproto.IWebMessageInfoWithMessageBytes[]|null); /** UnCountedAssociatedMessageListWithMessageBytes parentMessage */ parentMessage?: (waproto.IMessageKey|null); } /** Represents an UnCountedAssociatedMessageListWithMessageBytes. */ class UnCountedAssociatedMessageListWithMessageBytes implements IUnCountedAssociatedMessageListWithMessageBytes { /** * Constructs a new UnCountedAssociatedMessageListWithMessageBytes. * @param [properties] Properties to set */ constructor(properties?: waproto.IUnCountedAssociatedMessageListWithMessageBytes); /** UnCountedAssociatedMessageListWithMessageBytes messages. */ public messages: waproto.IWebMessageInfoWithMessageBytes[]; /** UnCountedAssociatedMessageListWithMessageBytes parentMessage. */ public parentMessage?: (waproto.IMessageKey|null); /** * Creates a new UnCountedAssociatedMessageListWithMessageBytes instance using the specified properties. * @param [properties] Properties to set * @returns UnCountedAssociatedMessageListWithMessageBytes instance */ public static create(properties?: waproto.IUnCountedAssociatedMessageListWithMessageBytes): waproto.UnCountedAssociatedMessageListWithMessageBytes; /** * Encodes the specified UnCountedAssociatedMessageListWithMessageBytes message. Does not implicitly {@link waproto.UnCountedAssociatedMessageListWithMessageBytes.verify|verify} messages. * @param message UnCountedAssociatedMessageListWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUnCountedAssociatedMessageListWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnCountedAssociatedMessageListWithMessageBytes message, length delimited. Does not implicitly {@link waproto.UnCountedAssociatedMessageListWithMessageBytes.verify|verify} messages. * @param message UnCountedAssociatedMessageListWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUnCountedAssociatedMessageListWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnCountedAssociatedMessageListWithMessageBytes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnCountedAssociatedMessageListWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UnCountedAssociatedMessageListWithMessageBytes; /** * Decodes an UnCountedAssociatedMessageListWithMessageBytes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnCountedAssociatedMessageListWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UnCountedAssociatedMessageListWithMessageBytes; /** * Verifies an UnCountedAssociatedMessageListWithMessageBytes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnCountedAssociatedMessageListWithMessageBytes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnCountedAssociatedMessageListWithMessageBytes */ public static fromObject(object: { [k: string]: any }): waproto.UnCountedAssociatedMessageListWithMessageBytes; /** * Creates a plain object from an UnCountedAssociatedMessageListWithMessageBytes message. Also converts values to other types if specified. * @param message UnCountedAssociatedMessageListWithMessageBytes * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UnCountedAssociatedMessageListWithMessageBytes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnCountedAssociatedMessageListWithMessageBytes to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnCountedAssociatedMessageListWithMessageBytes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UnrenderedMessagesTableSchemaProto. */ interface IUnrenderedMessagesTableSchemaProto { /** UnrenderedMessagesTableSchemaProto type */ type?: (string|null); /** UnrenderedMessagesTableSchemaProto ts */ ts?: (number|Long|null); /** UnrenderedMessagesTableSchemaProto externalId */ externalId?: (string|null); /** UnrenderedMessagesTableSchemaProto msgId */ msgId?: (string|null); /** UnrenderedMessagesTableSchemaProto author */ author?: (string|null); /** UnrenderedMessagesTableSchemaProto ack */ ack?: (number|null); /** UnrenderedMessagesTableSchemaProto resendCount */ resendCount?: (number|null); /** UnrenderedMessagesTableSchemaProto ephemeralSetting */ ephemeralSetting?: (waproto.IEphemeralSettingProto|null); /** UnrenderedMessagesTableSchemaProto messageDeleteForMeTs */ messageDeleteForMeTs?: (number|Long|null); /** UnrenderedMessagesTableSchemaProto rowId */ rowId?: (number|null); /** UnrenderedMessagesTableSchemaProto thread */ thread?: (number|null); /** UnrenderedMessagesTableSchemaProto mediaId */ mediaId?: (number|null); /** UnrenderedMessagesTableSchemaProto msgContent */ msgContent?: (string|null); /** UnrenderedMessagesTableSchemaProto threadJid */ threadJid?: (string|null); /** UnrenderedMessagesTableSchemaProto reportingMeta */ reportingMeta?: (waproto.IReportingMetaProto|null); /** UnrenderedMessagesTableSchemaProto invitedParticipantUserJid */ invitedParticipantUserJid?: (string|null); /** UnrenderedMessagesTableSchemaProto groupName */ groupName?: (string|null); /** UnrenderedMessagesTableSchemaProto quote */ quote?: (waproto.IDbQuotedMsgProto|null); /** UnrenderedMessagesTableSchemaProto xmaMessageType */ xmaMessageType?: (number|null); /** UnrenderedMessagesTableSchemaProto sortOrderMs */ sortOrderMs?: (number|Long|null); } /** Represents an UnrenderedMessagesTableSchemaProto. */ class UnrenderedMessagesTableSchemaProto implements IUnrenderedMessagesTableSchemaProto { /** * Constructs a new UnrenderedMessagesTableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IUnrenderedMessagesTableSchemaProto); /** UnrenderedMessagesTableSchemaProto type. */ public type?: (string|null); /** UnrenderedMessagesTableSchemaProto ts. */ public ts?: (number|Long|null); /** UnrenderedMessagesTableSchemaProto externalId. */ public externalId?: (string|null); /** UnrenderedMessagesTableSchemaProto msgId. */ public msgId?: (string|null); /** UnrenderedMessagesTableSchemaProto author. */ public author?: (string|null); /** UnrenderedMessagesTableSchemaProto ack. */ public ack?: (number|null); /** UnrenderedMessagesTableSchemaProto resendCount. */ public resendCount?: (number|null); /** UnrenderedMessagesTableSchemaProto ephemeralSetting. */ public ephemeralSetting?: (waproto.IEphemeralSettingProto|null); /** UnrenderedMessagesTableSchemaProto messageDeleteForMeTs. */ public messageDeleteForMeTs?: (number|Long|null); /** UnrenderedMessagesTableSchemaProto rowId. */ public rowId?: (number|null); /** UnrenderedMessagesTableSchemaProto thread. */ public thread?: (number|null); /** UnrenderedMessagesTableSchemaProto mediaId. */ public mediaId?: (number|null); /** UnrenderedMessagesTableSchemaProto msgContent. */ public msgContent?: (string|null); /** UnrenderedMessagesTableSchemaProto threadJid. */ public threadJid?: (string|null); /** UnrenderedMessagesTableSchemaProto reportingMeta. */ public reportingMeta?: (waproto.IReportingMetaProto|null); /** UnrenderedMessagesTableSchemaProto invitedParticipantUserJid. */ public invitedParticipantUserJid?: (string|null); /** UnrenderedMessagesTableSchemaProto groupName. */ public groupName?: (string|null); /** UnrenderedMessagesTableSchemaProto quote. */ public quote?: (waproto.IDbQuotedMsgProto|null); /** UnrenderedMessagesTableSchemaProto xmaMessageType. */ public xmaMessageType?: (number|null); /** UnrenderedMessagesTableSchemaProto sortOrderMs. */ public sortOrderMs?: (number|Long|null); /** * Creates a new UnrenderedMessagesTableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns UnrenderedMessagesTableSchemaProto instance */ public static create(properties?: waproto.IUnrenderedMessagesTableSchemaProto): waproto.UnrenderedMessagesTableSchemaProto; /** * Encodes the specified UnrenderedMessagesTableSchemaProto message. Does not implicitly {@link waproto.UnrenderedMessagesTableSchemaProto.verify|verify} messages. * @param message UnrenderedMessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUnrenderedMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UnrenderedMessagesTableSchemaProto message, length delimited. Does not implicitly {@link waproto.UnrenderedMessagesTableSchemaProto.verify|verify} messages. * @param message UnrenderedMessagesTableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUnrenderedMessagesTableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UnrenderedMessagesTableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UnrenderedMessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UnrenderedMessagesTableSchemaProto; /** * Decodes an UnrenderedMessagesTableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UnrenderedMessagesTableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UnrenderedMessagesTableSchemaProto; /** * Verifies an UnrenderedMessagesTableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UnrenderedMessagesTableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UnrenderedMessagesTableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.UnrenderedMessagesTableSchemaProto; /** * Creates a plain object from an UnrenderedMessagesTableSchemaProto message. Also converts values to other types if specified. * @param message UnrenderedMessagesTableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UnrenderedMessagesTableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UnrenderedMessagesTableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UnrenderedMessagesTableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an UrlTrackingMap. */ interface IUrlTrackingMap { /** UrlTrackingMap urlTrackingMapElements */ urlTrackingMapElements?: (waproto.UrlTrackingMap.IUrlTrackingMapElement[]|null); } /** Represents an UrlTrackingMap. */ class UrlTrackingMap implements IUrlTrackingMap { /** * Constructs a new UrlTrackingMap. * @param [properties] Properties to set */ constructor(properties?: waproto.IUrlTrackingMap); /** UrlTrackingMap urlTrackingMapElements. */ public urlTrackingMapElements: waproto.UrlTrackingMap.IUrlTrackingMapElement[]; /** * Creates a new UrlTrackingMap instance using the specified properties. * @param [properties] Properties to set * @returns UrlTrackingMap instance */ public static create(properties?: waproto.IUrlTrackingMap): waproto.UrlTrackingMap; /** * Encodes the specified UrlTrackingMap message. Does not implicitly {@link waproto.UrlTrackingMap.verify|verify} messages. * @param message UrlTrackingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UrlTrackingMap message, length delimited. Does not implicitly {@link waproto.UrlTrackingMap.verify|verify} messages. * @param message UrlTrackingMap message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UrlTrackingMap message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UrlTrackingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UrlTrackingMap; /** * Decodes an UrlTrackingMap message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UrlTrackingMap * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UrlTrackingMap; /** * Verifies an UrlTrackingMap message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UrlTrackingMap message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UrlTrackingMap */ public static fromObject(object: { [k: string]: any }): waproto.UrlTrackingMap; /** * Creates a plain object from an UrlTrackingMap message. Also converts values to other types if specified. * @param message UrlTrackingMap * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UrlTrackingMap, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UrlTrackingMap to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UrlTrackingMap * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UrlTrackingMap { /** Properties of an UrlTrackingMapElement. */ interface IUrlTrackingMapElement { /** UrlTrackingMapElement originalUrl */ originalUrl?: (string|null); /** UrlTrackingMapElement unconsentedUsersUrl */ unconsentedUsersUrl?: (string|null); /** UrlTrackingMapElement consentedUsersUrl */ consentedUsersUrl?: (string|null); /** UrlTrackingMapElement cardIndex */ cardIndex?: (number|null); } /** Represents an UrlTrackingMapElement. */ class UrlTrackingMapElement implements IUrlTrackingMapElement { /** * Constructs a new UrlTrackingMapElement. * @param [properties] Properties to set */ constructor(properties?: waproto.UrlTrackingMap.IUrlTrackingMapElement); /** UrlTrackingMapElement originalUrl. */ public originalUrl?: (string|null); /** UrlTrackingMapElement unconsentedUsersUrl. */ public unconsentedUsersUrl?: (string|null); /** UrlTrackingMapElement consentedUsersUrl. */ public consentedUsersUrl?: (string|null); /** UrlTrackingMapElement cardIndex. */ public cardIndex?: (number|null); /** * Creates a new UrlTrackingMapElement instance using the specified properties. * @param [properties] Properties to set * @returns UrlTrackingMapElement instance */ public static create(properties?: waproto.UrlTrackingMap.IUrlTrackingMapElement): waproto.UrlTrackingMap.UrlTrackingMapElement; /** * Encodes the specified UrlTrackingMapElement message. Does not implicitly {@link waproto.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages. * @param message UrlTrackingMapElement message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UrlTrackingMapElement message, length delimited. Does not implicitly {@link waproto.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages. * @param message UrlTrackingMapElement message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UrlTrackingMapElement message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UrlTrackingMapElement * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UrlTrackingMap.UrlTrackingMapElement; /** * Decodes an UrlTrackingMapElement message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UrlTrackingMapElement * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UrlTrackingMap.UrlTrackingMapElement; /** * Verifies an UrlTrackingMapElement message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UrlTrackingMapElement message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UrlTrackingMapElement */ public static fromObject(object: { [k: string]: any }): waproto.UrlTrackingMap.UrlTrackingMapElement; /** * Creates a plain object from an UrlTrackingMapElement message. Also converts values to other types if specified. * @param message UrlTrackingMapElement * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UrlTrackingMap.UrlTrackingMapElement, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UrlTrackingMapElement to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UrlTrackingMapElement * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a UserPassword. */ interface IUserPassword { /** UserPassword encoding */ encoding?: (waproto.UserPassword.Encoding|null); /** UserPassword transformer */ transformer?: (waproto.UserPassword.Transformer|null); /** UserPassword transformerArg */ transformerArg?: (waproto.UserPassword.ITransformerArg[]|null); /** UserPassword transformedData */ transformedData?: (Uint8Array|null); } /** Represents a UserPassword. */ class UserPassword implements IUserPassword { /** * Constructs a new UserPassword. * @param [properties] Properties to set */ constructor(properties?: waproto.IUserPassword); /** UserPassword encoding. */ public encoding?: (waproto.UserPassword.Encoding|null); /** UserPassword transformer. */ public transformer?: (waproto.UserPassword.Transformer|null); /** UserPassword transformerArg. */ public transformerArg: waproto.UserPassword.ITransformerArg[]; /** UserPassword transformedData. */ public transformedData?: (Uint8Array|null); /** * Creates a new UserPassword instance using the specified properties. * @param [properties] Properties to set * @returns UserPassword instance */ public static create(properties?: waproto.IUserPassword): waproto.UserPassword; /** * Encodes the specified UserPassword message. Does not implicitly {@link waproto.UserPassword.verify|verify} messages. * @param message UserPassword message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUserPassword, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserPassword message, length delimited. Does not implicitly {@link waproto.UserPassword.verify|verify} messages. * @param message UserPassword message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUserPassword, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserPassword message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserPassword * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UserPassword; /** * Decodes a UserPassword message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserPassword * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UserPassword; /** * Verifies a UserPassword message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserPassword message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserPassword */ public static fromObject(object: { [k: string]: any }): waproto.UserPassword; /** * Creates a plain object from a UserPassword message. Also converts values to other types if specified. * @param message UserPassword * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UserPassword, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserPassword to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UserPassword * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UserPassword { /** Transformer enum. */ enum Transformer { NONE = 0, PBKDF2_HMAC_SHA512 = 1, PBKDF2_HMAC_SHA384 = 2 } /** Encoding enum. */ enum Encoding { UTF8 = 0, UTF8_BROKEN = 1 } /** Properties of a TransformerArg. */ interface ITransformerArg { /** TransformerArg key */ key?: (string|null); /** TransformerArg value */ value?: (waproto.UserPassword.TransformerArg.IValue|null); } /** Represents a TransformerArg. */ class TransformerArg implements ITransformerArg { /** * Constructs a new TransformerArg. * @param [properties] Properties to set */ constructor(properties?: waproto.UserPassword.ITransformerArg); /** TransformerArg key. */ public key?: (string|null); /** TransformerArg value. */ public value?: (waproto.UserPassword.TransformerArg.IValue|null); /** * Creates a new TransformerArg instance using the specified properties. * @param [properties] Properties to set * @returns TransformerArg instance */ public static create(properties?: waproto.UserPassword.ITransformerArg): waproto.UserPassword.TransformerArg; /** * Encodes the specified TransformerArg message. Does not implicitly {@link waproto.UserPassword.TransformerArg.verify|verify} messages. * @param message TransformerArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.UserPassword.ITransformerArg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TransformerArg message, length delimited. Does not implicitly {@link waproto.UserPassword.TransformerArg.verify|verify} messages. * @param message TransformerArg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.UserPassword.ITransformerArg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TransformerArg message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TransformerArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UserPassword.TransformerArg; /** * Decodes a TransformerArg message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TransformerArg * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UserPassword.TransformerArg; /** * Verifies a TransformerArg message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TransformerArg message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TransformerArg */ public static fromObject(object: { [k: string]: any }): waproto.UserPassword.TransformerArg; /** * Creates a plain object from a TransformerArg message. Also converts values to other types if specified. * @param message TransformerArg * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UserPassword.TransformerArg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TransformerArg to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TransformerArg * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TransformerArg { /** Properties of a Value. */ interface IValue { /** Value asBlob */ asBlob?: (Uint8Array|null); /** Value asUnsignedInteger */ asUnsignedInteger?: (number|null); } /** Represents a Value. */ class Value implements IValue { /** * Constructs a new Value. * @param [properties] Properties to set */ constructor(properties?: waproto.UserPassword.TransformerArg.IValue); /** Value asBlob. */ public asBlob?: (Uint8Array|null); /** Value asUnsignedInteger. */ public asUnsignedInteger?: (number|null); /** Value value. */ public value?: ("asBlob"|"asUnsignedInteger"); /** * Creates a new Value instance using the specified properties. * @param [properties] Properties to set * @returns Value instance */ public static create(properties?: waproto.UserPassword.TransformerArg.IValue): waproto.UserPassword.TransformerArg.Value; /** * Encodes the specified Value message. Does not implicitly {@link waproto.UserPassword.TransformerArg.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.UserPassword.TransformerArg.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Value message, length delimited. Does not implicitly {@link waproto.UserPassword.TransformerArg.Value.verify|verify} messages. * @param message Value message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.UserPassword.TransformerArg.IValue, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Value message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UserPassword.TransformerArg.Value; /** * Decodes a Value message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Value * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UserPassword.TransformerArg.Value; /** * Verifies a Value message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Value message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Value */ public static fromObject(object: { [k: string]: any }): waproto.UserPassword.TransformerArg.Value; /** * Creates a plain object from a Value message. Also converts values to other types if specified. * @param message Value * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UserPassword.TransformerArg.Value, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Value to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Value * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of a UserReceipt. */ interface IUserReceipt { /** UserReceipt userJid */ userJid?: (string|null); /** UserReceipt receiptTimestamp */ receiptTimestamp?: (number|Long|null); /** UserReceipt readTimestamp */ readTimestamp?: (number|Long|null); /** UserReceipt playedTimestamp */ playedTimestamp?: (number|Long|null); /** UserReceipt pendingDeviceJid */ pendingDeviceJid?: (string[]|null); /** UserReceipt deliveredDeviceJid */ deliveredDeviceJid?: (string[]|null); } /** Represents a UserReceipt. */ class UserReceipt implements IUserReceipt { /** * Constructs a new UserReceipt. * @param [properties] Properties to set */ constructor(properties?: waproto.IUserReceipt); /** UserReceipt userJid. */ public userJid?: (string|null); /** UserReceipt receiptTimestamp. */ public receiptTimestamp?: (number|Long|null); /** UserReceipt readTimestamp. */ public readTimestamp?: (number|Long|null); /** UserReceipt playedTimestamp. */ public playedTimestamp?: (number|Long|null); /** UserReceipt pendingDeviceJid. */ public pendingDeviceJid: string[]; /** UserReceipt deliveredDeviceJid. */ public deliveredDeviceJid: string[]; /** * Creates a new UserReceipt instance using the specified properties. * @param [properties] Properties to set * @returns UserReceipt instance */ public static create(properties?: waproto.IUserReceipt): waproto.UserReceipt; /** * Encodes the specified UserReceipt message. Does not implicitly {@link waproto.UserReceipt.verify|verify} messages. * @param message UserReceipt message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IUserReceipt, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UserReceipt message, length delimited. Does not implicitly {@link waproto.UserReceipt.verify|verify} messages. * @param message UserReceipt message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IUserReceipt, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a UserReceipt message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UserReceipt * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UserReceipt; /** * Decodes a UserReceipt message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UserReceipt * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UserReceipt; /** * Verifies a UserReceipt message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a UserReceipt message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UserReceipt */ public static fromObject(object: { [k: string]: any }): waproto.UserReceipt; /** * Creates a plain object from a UserReceipt message. Also converts values to other types if specified. * @param message UserReceipt * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.UserReceipt, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UserReceipt to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UserReceipt * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ValidatedResult. */ interface IValidatedResult { /** ValidatedResult validatedMimeType */ validatedMimeType?: (string|null); /** ValidatedResult videoStreamType */ videoStreamType?: (string|null); /** ValidatedResult videoCalculatedFps */ videoCalculatedFps?: (number|null); /** ValidatedResult videoNominalFps */ videoNominalFps?: (number|null); /** ValidatedResult videoWidth */ videoWidth?: (number|null); /** ValidatedResult videoHeight */ videoHeight?: (number|null); /** ValidatedResult videoDuration */ videoDuration?: (number|null); /** ValidatedResult videoAvgBitsPerSecond */ videoAvgBitsPerSecond?: (number|null); /** ValidatedResult audioStreamType */ audioStreamType?: (string|null); /** ValidatedResult audioSamplingRate */ audioSamplingRate?: (number|null); /** ValidatedResult audioNumberOfChannels */ audioNumberOfChannels?: (number|null); /** ValidatedResult audioAvgBitsPerSecond */ audioAvgBitsPerSecond?: (number|null); } /** Represents a ValidatedResult. */ class ValidatedResult implements IValidatedResult { /** * Constructs a new ValidatedResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IValidatedResult); /** ValidatedResult validatedMimeType. */ public validatedMimeType?: (string|null); /** ValidatedResult videoStreamType. */ public videoStreamType?: (string|null); /** ValidatedResult videoCalculatedFps. */ public videoCalculatedFps?: (number|null); /** ValidatedResult videoNominalFps. */ public videoNominalFps?: (number|null); /** ValidatedResult videoWidth. */ public videoWidth?: (number|null); /** ValidatedResult videoHeight. */ public videoHeight?: (number|null); /** ValidatedResult videoDuration. */ public videoDuration?: (number|null); /** ValidatedResult videoAvgBitsPerSecond. */ public videoAvgBitsPerSecond?: (number|null); /** ValidatedResult audioStreamType. */ public audioStreamType?: (string|null); /** ValidatedResult audioSamplingRate. */ public audioSamplingRate?: (number|null); /** ValidatedResult audioNumberOfChannels. */ public audioNumberOfChannels?: (number|null); /** ValidatedResult audioAvgBitsPerSecond. */ public audioAvgBitsPerSecond?: (number|null); /** * Creates a new ValidatedResult instance using the specified properties. * @param [properties] Properties to set * @returns ValidatedResult instance */ public static create(properties?: waproto.IValidatedResult): waproto.ValidatedResult; /** * Encodes the specified ValidatedResult message. Does not implicitly {@link waproto.ValidatedResult.verify|verify} messages. * @param message ValidatedResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IValidatedResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ValidatedResult message, length delimited. Does not implicitly {@link waproto.ValidatedResult.verify|verify} messages. * @param message ValidatedResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IValidatedResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ValidatedResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ValidatedResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ValidatedResult; /** * Decodes a ValidatedResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ValidatedResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ValidatedResult; /** * Verifies a ValidatedResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ValidatedResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ValidatedResult */ public static fromObject(object: { [k: string]: any }): waproto.ValidatedResult; /** * Creates a plain object from a ValidatedResult message. Also converts values to other types if specified. * @param message ValidatedResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.ValidatedResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ValidatedResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ValidatedResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifiedNameCertificate. */ interface IVerifiedNameCertificate { /** VerifiedNameCertificate details */ details?: (Uint8Array|null); /** VerifiedNameCertificate signature */ signature?: (Uint8Array|null); /** VerifiedNameCertificate serverSignature */ serverSignature?: (Uint8Array|null); } /** Represents a VerifiedNameCertificate. */ class VerifiedNameCertificate implements IVerifiedNameCertificate { /** * Constructs a new VerifiedNameCertificate. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifiedNameCertificate); /** VerifiedNameCertificate details. */ public details?: (Uint8Array|null); /** VerifiedNameCertificate signature. */ public signature?: (Uint8Array|null); /** VerifiedNameCertificate serverSignature. */ public serverSignature?: (Uint8Array|null); /** * Creates a new VerifiedNameCertificate instance using the specified properties. * @param [properties] Properties to set * @returns VerifiedNameCertificate instance */ public static create(properties?: waproto.IVerifiedNameCertificate): waproto.VerifiedNameCertificate; /** * Encodes the specified VerifiedNameCertificate message. Does not implicitly {@link waproto.VerifiedNameCertificate.verify|verify} messages. * @param message VerifiedNameCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifiedNameCertificate message, length delimited. Does not implicitly {@link waproto.VerifiedNameCertificate.verify|verify} messages. * @param message VerifiedNameCertificate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifiedNameCertificate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifiedNameCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifiedNameCertificate; /** * Decodes a VerifiedNameCertificate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifiedNameCertificate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifiedNameCertificate; /** * Verifies a VerifiedNameCertificate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifiedNameCertificate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifiedNameCertificate */ public static fromObject(object: { [k: string]: any }): waproto.VerifiedNameCertificate; /** * Creates a plain object from a VerifiedNameCertificate message. Also converts values to other types if specified. * @param message VerifiedNameCertificate * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifiedNameCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifiedNameCertificate to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifiedNameCertificate * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace VerifiedNameCertificate { /** Properties of a Details. */ interface IDetails { /** Details serial */ serial?: (number|Long|null); /** Details issuer */ issuer?: (string|null); /** Details verifiedName */ verifiedName?: (string|null); /** Details localizedNames */ localizedNames?: (waproto.ILocalizedName[]|null); /** Details issueTime */ issueTime?: (number|Long|null); } /** Represents a Details. */ class Details implements IDetails { /** * Constructs a new Details. * @param [properties] Properties to set */ constructor(properties?: waproto.VerifiedNameCertificate.IDetails); /** Details serial. */ public serial?: (number|Long|null); /** Details issuer. */ public issuer?: (string|null); /** Details verifiedName. */ public verifiedName?: (string|null); /** Details localizedNames. */ public localizedNames: waproto.ILocalizedName[]; /** Details issueTime. */ public issueTime?: (number|Long|null); /** * Creates a new Details instance using the specified properties. * @param [properties] Properties to set * @returns Details instance */ public static create(properties?: waproto.VerifiedNameCertificate.IDetails): waproto.VerifiedNameCertificate.Details; /** * Encodes the specified Details message. Does not implicitly {@link waproto.VerifiedNameCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.VerifiedNameCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Details message, length delimited. Does not implicitly {@link waproto.VerifiedNameCertificate.Details.verify|verify} messages. * @param message Details message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.VerifiedNameCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Details message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifiedNameCertificate.Details; /** * Decodes a Details message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Details * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifiedNameCertificate.Details; /** * Verifies a Details message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Details message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Details */ public static fromObject(object: { [k: string]: any }): waproto.VerifiedNameCertificate.Details; /** * Creates a plain object from a Details message. Also converts values to other types if specified. * @param message Details * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifiedNameCertificate.Details, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Details to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Details * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a VerifyKeyTransparencyForUserMandrakeCommand. */ interface IVerifyKeyTransparencyForUserMandrakeCommand { /** VerifyKeyTransparencyForUserMandrakeCommand lookupResponse */ lookupResponse?: (Uint8Array|null); /** VerifyKeyTransparencyForUserMandrakeCommand userFbid */ userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserMandrakeCommand auditorSignatureTtlSecs */ auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserMandrakeCommand requestedAuditorList */ requestedAuditorList?: (string[]|null); /** VerifyKeyTransparencyForUserMandrakeCommand isProductionBuild */ isProductionBuild?: (boolean|null); /** VerifyKeyTransparencyForUserMandrakeCommand localMailboxHead */ localMailboxHead?: (Uint8Array|null); } /** Represents a VerifyKeyTransparencyForUserMandrakeCommand. */ class VerifyKeyTransparencyForUserMandrakeCommand implements IVerifyKeyTransparencyForUserMandrakeCommand { /** * Constructs a new VerifyKeyTransparencyForUserMandrakeCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserMandrakeCommand); /** VerifyKeyTransparencyForUserMandrakeCommand lookupResponse. */ public lookupResponse?: (Uint8Array|null); /** VerifyKeyTransparencyForUserMandrakeCommand userFbid. */ public userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserMandrakeCommand auditorSignatureTtlSecs. */ public auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserMandrakeCommand requestedAuditorList. */ public requestedAuditorList: string[]; /** VerifyKeyTransparencyForUserMandrakeCommand isProductionBuild. */ public isProductionBuild?: (boolean|null); /** VerifyKeyTransparencyForUserMandrakeCommand localMailboxHead. */ public localMailboxHead?: (Uint8Array|null); /** * Creates a new VerifyKeyTransparencyForUserMandrakeCommand instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserMandrakeCommand instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserMandrakeCommand): waproto.VerifyKeyTransparencyForUserMandrakeCommand; /** * Encodes the specified VerifyKeyTransparencyForUserMandrakeCommand message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMandrakeCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMandrakeCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserMandrakeCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserMandrakeCommand message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMandrakeCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMandrakeCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserMandrakeCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserMandrakeCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserMandrakeCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserMandrakeCommand; /** * Decodes a VerifyKeyTransparencyForUserMandrakeCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserMandrakeCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserMandrakeCommand; /** * Verifies a VerifyKeyTransparencyForUserMandrakeCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserMandrakeCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserMandrakeCommand */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserMandrakeCommand; /** * Creates a plain object from a VerifyKeyTransparencyForUserMandrakeCommand message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserMandrakeCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserMandrakeCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserMandrakeCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserMandrakeCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifyKeyTransparencyForUserMandrakeResult. */ interface IVerifyKeyTransparencyForUserMandrakeResult { /** VerifyKeyTransparencyForUserMandrakeResult success */ success?: (boolean|null); /** VerifyKeyTransparencyForUserMandrakeResult error */ error?: (string|null); } /** Represents a VerifyKeyTransparencyForUserMandrakeResult. */ class VerifyKeyTransparencyForUserMandrakeResult implements IVerifyKeyTransparencyForUserMandrakeResult { /** * Constructs a new VerifyKeyTransparencyForUserMandrakeResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserMandrakeResult); /** VerifyKeyTransparencyForUserMandrakeResult success. */ public success?: (boolean|null); /** VerifyKeyTransparencyForUserMandrakeResult error. */ public error?: (string|null); /** * Creates a new VerifyKeyTransparencyForUserMandrakeResult instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserMandrakeResult instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserMandrakeResult): waproto.VerifyKeyTransparencyForUserMandrakeResult; /** * Encodes the specified VerifyKeyTransparencyForUserMandrakeResult message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMandrakeResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMandrakeResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserMandrakeResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserMandrakeResult message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMandrakeResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMandrakeResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserMandrakeResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserMandrakeResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserMandrakeResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserMandrakeResult; /** * Decodes a VerifyKeyTransparencyForUserMandrakeResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserMandrakeResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserMandrakeResult; /** * Verifies a VerifyKeyTransparencyForUserMandrakeResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserMandrakeResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserMandrakeResult */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserMandrakeResult; /** * Creates a plain object from a VerifyKeyTransparencyForUserMandrakeResult message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserMandrakeResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserMandrakeResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserMandrakeResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserMandrakeResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifyKeyTransparencyForUserMinosCommand. */ interface IVerifyKeyTransparencyForUserMinosCommand { /** VerifyKeyTransparencyForUserMinosCommand lookupResponse */ lookupResponse?: (Uint8Array|null); /** VerifyKeyTransparencyForUserMinosCommand userFbid */ userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserMinosCommand auditorSignatureTtlSecs */ auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserMinosCommand requestedAuditorList */ requestedAuditorList?: (string[]|null); /** VerifyKeyTransparencyForUserMinosCommand isProductionBuild */ isProductionBuild?: (boolean|null); /** VerifyKeyTransparencyForUserMinosCommand localEpochHead */ localEpochHead?: (Uint8Array|null); } /** Represents a VerifyKeyTransparencyForUserMinosCommand. */ class VerifyKeyTransparencyForUserMinosCommand implements IVerifyKeyTransparencyForUserMinosCommand { /** * Constructs a new VerifyKeyTransparencyForUserMinosCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserMinosCommand); /** VerifyKeyTransparencyForUserMinosCommand lookupResponse. */ public lookupResponse?: (Uint8Array|null); /** VerifyKeyTransparencyForUserMinosCommand userFbid. */ public userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserMinosCommand auditorSignatureTtlSecs. */ public auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserMinosCommand requestedAuditorList. */ public requestedAuditorList: string[]; /** VerifyKeyTransparencyForUserMinosCommand isProductionBuild. */ public isProductionBuild?: (boolean|null); /** VerifyKeyTransparencyForUserMinosCommand localEpochHead. */ public localEpochHead?: (Uint8Array|null); /** * Creates a new VerifyKeyTransparencyForUserMinosCommand instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserMinosCommand instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserMinosCommand): waproto.VerifyKeyTransparencyForUserMinosCommand; /** * Encodes the specified VerifyKeyTransparencyForUserMinosCommand message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMinosCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMinosCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserMinosCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserMinosCommand message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMinosCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMinosCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserMinosCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserMinosCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserMinosCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserMinosCommand; /** * Decodes a VerifyKeyTransparencyForUserMinosCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserMinosCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserMinosCommand; /** * Verifies a VerifyKeyTransparencyForUserMinosCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserMinosCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserMinosCommand */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserMinosCommand; /** * Creates a plain object from a VerifyKeyTransparencyForUserMinosCommand message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserMinosCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserMinosCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserMinosCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserMinosCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifyKeyTransparencyForUserMinosResult. */ interface IVerifyKeyTransparencyForUserMinosResult { /** VerifyKeyTransparencyForUserMinosResult success */ success?: (boolean|null); /** VerifyKeyTransparencyForUserMinosResult error */ error?: (string|null); } /** Represents a VerifyKeyTransparencyForUserMinosResult. */ class VerifyKeyTransparencyForUserMinosResult implements IVerifyKeyTransparencyForUserMinosResult { /** * Constructs a new VerifyKeyTransparencyForUserMinosResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserMinosResult); /** VerifyKeyTransparencyForUserMinosResult success. */ public success?: (boolean|null); /** VerifyKeyTransparencyForUserMinosResult error. */ public error?: (string|null); /** * Creates a new VerifyKeyTransparencyForUserMinosResult instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserMinosResult instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserMinosResult): waproto.VerifyKeyTransparencyForUserMinosResult; /** * Encodes the specified VerifyKeyTransparencyForUserMinosResult message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMinosResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMinosResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserMinosResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserMinosResult message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserMinosResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserMinosResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserMinosResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserMinosResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserMinosResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserMinosResult; /** * Decodes a VerifyKeyTransparencyForUserMinosResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserMinosResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserMinosResult; /** * Verifies a VerifyKeyTransparencyForUserMinosResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserMinosResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserMinosResult */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserMinosResult; /** * Creates a plain object from a VerifyKeyTransparencyForUserMinosResult message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserMinosResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserMinosResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserMinosResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserMinosResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifyKeyTransparencyForUserSignalCommand. */ interface IVerifyKeyTransparencyForUserSignalCommand { /** VerifyKeyTransparencyForUserSignalCommand rootHash */ rootHash?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand currentEpoch */ currentEpoch?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand userFbid */ userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand historyProof */ historyProof?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand metaSignature */ metaSignature?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflareSignature */ cloudflareSignature?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflareMessage */ cloudflareMessage?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflarePubKey */ cloudflarePubKey?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand auditorSignatureTtlSecs */ auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand localDeviceKeys */ localDeviceKeys?: ({ [k: string]: Uint8Array }|null); } /** Represents a VerifyKeyTransparencyForUserSignalCommand. */ class VerifyKeyTransparencyForUserSignalCommand implements IVerifyKeyTransparencyForUserSignalCommand { /** * Constructs a new VerifyKeyTransparencyForUserSignalCommand. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserSignalCommand); /** VerifyKeyTransparencyForUserSignalCommand rootHash. */ public rootHash?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand currentEpoch. */ public currentEpoch?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand userFbid. */ public userFbid?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand historyProof. */ public historyProof?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand metaSignature. */ public metaSignature?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflareSignature. */ public cloudflareSignature?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflareMessage. */ public cloudflareMessage?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand cloudflarePubKey. */ public cloudflarePubKey?: (Uint8Array|null); /** VerifyKeyTransparencyForUserSignalCommand auditorSignatureTtlSecs. */ public auditorSignatureTtlSecs?: (number|Long|null); /** VerifyKeyTransparencyForUserSignalCommand localDeviceKeys. */ public localDeviceKeys: { [k: string]: Uint8Array }; /** * Creates a new VerifyKeyTransparencyForUserSignalCommand instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserSignalCommand instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserSignalCommand): waproto.VerifyKeyTransparencyForUserSignalCommand; /** * Encodes the specified VerifyKeyTransparencyForUserSignalCommand message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserSignalCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserSignalCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserSignalCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserSignalCommand message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserSignalCommand.verify|verify} messages. * @param message VerifyKeyTransparencyForUserSignalCommand message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserSignalCommand, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserSignalCommand message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserSignalCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserSignalCommand; /** * Decodes a VerifyKeyTransparencyForUserSignalCommand message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserSignalCommand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserSignalCommand; /** * Verifies a VerifyKeyTransparencyForUserSignalCommand message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserSignalCommand message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserSignalCommand */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserSignalCommand; /** * Creates a plain object from a VerifyKeyTransparencyForUserSignalCommand message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserSignalCommand * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserSignalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserSignalCommand to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserSignalCommand * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VerifyKeyTransparencyForUserSignalResult. */ interface IVerifyKeyTransparencyForUserSignalResult { /** VerifyKeyTransparencyForUserSignalResult success */ success?: (boolean|null); /** VerifyKeyTransparencyForUserSignalResult error */ error?: (string|null); } /** Represents a VerifyKeyTransparencyForUserSignalResult. */ class VerifyKeyTransparencyForUserSignalResult implements IVerifyKeyTransparencyForUserSignalResult { /** * Constructs a new VerifyKeyTransparencyForUserSignalResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IVerifyKeyTransparencyForUserSignalResult); /** VerifyKeyTransparencyForUserSignalResult success. */ public success?: (boolean|null); /** VerifyKeyTransparencyForUserSignalResult error. */ public error?: (string|null); /** * Creates a new VerifyKeyTransparencyForUserSignalResult instance using the specified properties. * @param [properties] Properties to set * @returns VerifyKeyTransparencyForUserSignalResult instance */ public static create(properties?: waproto.IVerifyKeyTransparencyForUserSignalResult): waproto.VerifyKeyTransparencyForUserSignalResult; /** * Encodes the specified VerifyKeyTransparencyForUserSignalResult message. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserSignalResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserSignalResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVerifyKeyTransparencyForUserSignalResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VerifyKeyTransparencyForUserSignalResult message, length delimited. Does not implicitly {@link waproto.VerifyKeyTransparencyForUserSignalResult.verify|verify} messages. * @param message VerifyKeyTransparencyForUserSignalResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVerifyKeyTransparencyForUserSignalResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VerifyKeyTransparencyForUserSignalResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VerifyKeyTransparencyForUserSignalResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VerifyKeyTransparencyForUserSignalResult; /** * Decodes a VerifyKeyTransparencyForUserSignalResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VerifyKeyTransparencyForUserSignalResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VerifyKeyTransparencyForUserSignalResult; /** * Verifies a VerifyKeyTransparencyForUserSignalResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VerifyKeyTransparencyForUserSignalResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VerifyKeyTransparencyForUserSignalResult */ public static fromObject(object: { [k: string]: any }): waproto.VerifyKeyTransparencyForUserSignalResult; /** * Creates a plain object from a VerifyKeyTransparencyForUserSignalResult message. Also converts values to other types if specified. * @param message VerifyKeyTransparencyForUserSignalResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VerifyKeyTransparencyForUserSignalResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VerifyKeyTransparencyForUserSignalResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VerifyKeyTransparencyForUserSignalResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VideoMsgContentProto. */ interface IVideoMsgContentProto { /** VideoMsgContentProto duration */ duration?: (number|null); /** VideoMsgContentProto width */ width?: (number|null); /** VideoMsgContentProto height */ height?: (number|null); /** VideoMsgContentProto mimetype */ mimetype?: (string|null); /** VideoMsgContentProto jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** VideoMsgContentProto jpegThumbnailHeight */ jpegThumbnailHeight?: (number|null); /** VideoMsgContentProto jpegThumbnailWidth */ jpegThumbnailWidth?: (number|null); /** VideoMsgContentProto thumbnailPlaintextHash */ thumbnailPlaintextHash?: (string|null); /** VideoMsgContentProto gifPlayback */ gifPlayback?: (boolean|null); } /** Represents a VideoMsgContentProto. */ class VideoMsgContentProto implements IVideoMsgContentProto { /** * Constructs a new VideoMsgContentProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IVideoMsgContentProto); /** VideoMsgContentProto duration. */ public duration?: (number|null); /** VideoMsgContentProto width. */ public width?: (number|null); /** VideoMsgContentProto height. */ public height?: (number|null); /** VideoMsgContentProto mimetype. */ public mimetype?: (string|null); /** VideoMsgContentProto jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** VideoMsgContentProto jpegThumbnailHeight. */ public jpegThumbnailHeight?: (number|null); /** VideoMsgContentProto jpegThumbnailWidth. */ public jpegThumbnailWidth?: (number|null); /** VideoMsgContentProto thumbnailPlaintextHash. */ public thumbnailPlaintextHash?: (string|null); /** VideoMsgContentProto gifPlayback. */ public gifPlayback?: (boolean|null); /** * Creates a new VideoMsgContentProto instance using the specified properties. * @param [properties] Properties to set * @returns VideoMsgContentProto instance */ public static create(properties?: waproto.IVideoMsgContentProto): waproto.VideoMsgContentProto; /** * Encodes the specified VideoMsgContentProto message. Does not implicitly {@link waproto.VideoMsgContentProto.verify|verify} messages. * @param message VideoMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVideoMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoMsgContentProto message, length delimited. Does not implicitly {@link waproto.VideoMsgContentProto.verify|verify} messages. * @param message VideoMsgContentProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVideoMsgContentProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoMsgContentProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VideoMsgContentProto; /** * Decodes a VideoMsgContentProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoMsgContentProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VideoMsgContentProto; /** * Verifies a VideoMsgContentProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoMsgContentProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoMsgContentProto */ public static fromObject(object: { [k: string]: any }): waproto.VideoMsgContentProto; /** * Creates a plain object from a VideoMsgContentProto message. Also converts values to other types if specified. * @param message VideoMsgContentProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VideoMsgContentProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoMsgContentProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VideoMsgContentProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a VideoTransport. */ interface IVideoTransport { /** VideoTransport integral */ integral?: (waproto.VideoTransport.IIntegral|null); /** VideoTransport ancillary */ ancillary?: (waproto.VideoTransport.IAncillary|null); } /** Represents a VideoTransport. */ class VideoTransport implements IVideoTransport { /** * Constructs a new VideoTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IVideoTransport); /** VideoTransport integral. */ public integral?: (waproto.VideoTransport.IIntegral|null); /** VideoTransport ancillary. */ public ancillary?: (waproto.VideoTransport.IAncillary|null); /** * Creates a new VideoTransport instance using the specified properties. * @param [properties] Properties to set * @returns VideoTransport instance */ public static create(properties?: waproto.IVideoTransport): waproto.VideoTransport; /** * Encodes the specified VideoTransport message. Does not implicitly {@link waproto.VideoTransport.verify|verify} messages. * @param message VideoTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVideoTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VideoTransport message, length delimited. Does not implicitly {@link waproto.VideoTransport.verify|verify} messages. * @param message VideoTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVideoTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VideoTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VideoTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VideoTransport; /** * Decodes a VideoTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VideoTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VideoTransport; /** * Verifies a VideoTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VideoTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VideoTransport */ public static fromObject(object: { [k: string]: any }): waproto.VideoTransport; /** * Creates a plain object from a VideoTransport message. Also converts values to other types if specified. * @param message VideoTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VideoTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VideoTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VideoTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace VideoTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary seconds */ seconds?: (number|null); /** Ancillary caption */ caption?: (waproto.IMessageText|null); /** Ancillary gifPlayback */ gifPlayback?: (boolean|null); /** Ancillary height */ height?: (number|null); /** Ancillary width */ width?: (number|null); /** Ancillary sidecar */ sidecar?: (Uint8Array|null); /** Ancillary gifAttribution */ gifAttribution?: (waproto.VIDEO_TRANSPORT_ANCILLARY_ATTRIBUTION|null); /** Ancillary accessibilityLabel */ accessibilityLabel?: (string|null); /** Ancillary isHd */ isHd?: (boolean|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.VideoTransport.IAncillary); /** Ancillary seconds. */ public seconds?: (number|null); /** Ancillary caption. */ public caption?: (waproto.IMessageText|null); /** Ancillary gifPlayback. */ public gifPlayback?: (boolean|null); /** Ancillary height. */ public height?: (number|null); /** Ancillary width. */ public width?: (number|null); /** Ancillary sidecar. */ public sidecar?: (Uint8Array|null); /** Ancillary gifAttribution. */ public gifAttribution?: (waproto.VIDEO_TRANSPORT_ANCILLARY_ATTRIBUTION|null); /** Ancillary accessibilityLabel. */ public accessibilityLabel?: (string|null); /** Ancillary isHd. */ public isHd?: (boolean|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.VideoTransport.IAncillary): waproto.VideoTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.VideoTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.VideoTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.VideoTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.VideoTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VideoTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VideoTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.VideoTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VideoTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Integral. */ interface IIntegral { /** Integral transport */ transport?: (waproto.IWAMediaTransport|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.VideoTransport.IIntegral); /** Integral transport. */ public transport?: (waproto.IWAMediaTransport|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.VideoTransport.IIntegral): waproto.VideoTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.VideoTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.VideoTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.VideoTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.VideoTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VideoTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VideoTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.VideoTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VideoTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a VirtualDeviceOutput. */ interface IVirtualDeviceOutput { /** VirtualDeviceOutput vdId */ vdId?: (Uint8Array|null); /** VirtualDeviceOutput vdPublicKey */ vdPublicKey?: (Uint8Array|null); /** VirtualDeviceOutput vdEpochStoragePublicKey */ vdEpochStoragePublicKey?: (Uint8Array|null); /** VirtualDeviceOutput vdEpochStoragePublicKeySig */ vdEpochStoragePublicKeySig?: (Uint8Array|null); /** VirtualDeviceOutput ocmfRotationToken */ ocmfRotationToken?: (Uint8Array|null); /** VirtualDeviceOutput deviceEpochHmac */ deviceEpochHmac?: (Uint8Array|null); /** VirtualDeviceOutput encryptedSecretValues */ encryptedSecretValues?: (waproto.IEncryptedSecretValuesOutput|null); } /** Represents a VirtualDeviceOutput. */ class VirtualDeviceOutput implements IVirtualDeviceOutput { /** * Constructs a new VirtualDeviceOutput. * @param [properties] Properties to set */ constructor(properties?: waproto.IVirtualDeviceOutput); /** VirtualDeviceOutput vdId. */ public vdId?: (Uint8Array|null); /** VirtualDeviceOutput vdPublicKey. */ public vdPublicKey?: (Uint8Array|null); /** VirtualDeviceOutput vdEpochStoragePublicKey. */ public vdEpochStoragePublicKey?: (Uint8Array|null); /** VirtualDeviceOutput vdEpochStoragePublicKeySig. */ public vdEpochStoragePublicKeySig?: (Uint8Array|null); /** VirtualDeviceOutput ocmfRotationToken. */ public ocmfRotationToken?: (Uint8Array|null); /** VirtualDeviceOutput deviceEpochHmac. */ public deviceEpochHmac?: (Uint8Array|null); /** VirtualDeviceOutput encryptedSecretValues. */ public encryptedSecretValues?: (waproto.IEncryptedSecretValuesOutput|null); /** * Creates a new VirtualDeviceOutput instance using the specified properties. * @param [properties] Properties to set * @returns VirtualDeviceOutput instance */ public static create(properties?: waproto.IVirtualDeviceOutput): waproto.VirtualDeviceOutput; /** * Encodes the specified VirtualDeviceOutput message. Does not implicitly {@link waproto.VirtualDeviceOutput.verify|verify} messages. * @param message VirtualDeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IVirtualDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified VirtualDeviceOutput message, length delimited. Does not implicitly {@link waproto.VirtualDeviceOutput.verify|verify} messages. * @param message VirtualDeviceOutput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IVirtualDeviceOutput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a VirtualDeviceOutput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns VirtualDeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.VirtualDeviceOutput; /** * Decodes a VirtualDeviceOutput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns VirtualDeviceOutput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.VirtualDeviceOutput; /** * Verifies a VirtualDeviceOutput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a VirtualDeviceOutput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns VirtualDeviceOutput */ public static fromObject(object: { [k: string]: any }): waproto.VirtualDeviceOutput; /** * Creates a plain object from a VirtualDeviceOutput message. Also converts values to other types if specified. * @param message VirtualDeviceOutput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.VirtualDeviceOutput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this VirtualDeviceOutput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for VirtualDeviceOutput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WAMediaTransport. */ interface IWAMediaTransport { /** WAMediaTransport integral */ integral?: (waproto.WAMediaTransport.IIntegral|null); /** WAMediaTransport ancillary */ ancillary?: (waproto.WAMediaTransport.IAncillary|null); } /** Represents a WAMediaTransport. */ class WAMediaTransport implements IWAMediaTransport { /** * Constructs a new WAMediaTransport. * @param [properties] Properties to set */ constructor(properties?: waproto.IWAMediaTransport); /** WAMediaTransport integral. */ public integral?: (waproto.WAMediaTransport.IIntegral|null); /** WAMediaTransport ancillary. */ public ancillary?: (waproto.WAMediaTransport.IAncillary|null); /** * Creates a new WAMediaTransport instance using the specified properties. * @param [properties] Properties to set * @returns WAMediaTransport instance */ public static create(properties?: waproto.IWAMediaTransport): waproto.WAMediaTransport; /** * Encodes the specified WAMediaTransport message. Does not implicitly {@link waproto.WAMediaTransport.verify|verify} messages. * @param message WAMediaTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWAMediaTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WAMediaTransport message, length delimited. Does not implicitly {@link waproto.WAMediaTransport.verify|verify} messages. * @param message WAMediaTransport message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWAMediaTransport, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WAMediaTransport message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WAMediaTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WAMediaTransport; /** * Decodes a WAMediaTransport message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WAMediaTransport * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WAMediaTransport; /** * Verifies a WAMediaTransport message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WAMediaTransport message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WAMediaTransport */ public static fromObject(object: { [k: string]: any }): waproto.WAMediaTransport; /** * Creates a plain object from a WAMediaTransport message. Also converts values to other types if specified. * @param message WAMediaTransport * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WAMediaTransport, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WAMediaTransport to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WAMediaTransport * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WAMediaTransport { /** Properties of an Ancillary. */ interface IAncillary { /** Ancillary fileLength */ fileLength?: (number|Long|null); /** Ancillary mimetype */ mimetype?: (string|null); /** Ancillary thumbnail */ thumbnail?: (waproto.WAMediaTransport.Ancillary.IThumbnail|null); /** Ancillary objectId */ objectId?: (string|null); } /** Represents an Ancillary. */ class Ancillary implements IAncillary { /** * Constructs a new Ancillary. * @param [properties] Properties to set */ constructor(properties?: waproto.WAMediaTransport.IAncillary); /** Ancillary fileLength. */ public fileLength?: (number|Long|null); /** Ancillary mimetype. */ public mimetype?: (string|null); /** Ancillary thumbnail. */ public thumbnail?: (waproto.WAMediaTransport.Ancillary.IThumbnail|null); /** Ancillary objectId. */ public objectId?: (string|null); /** * Creates a new Ancillary instance using the specified properties. * @param [properties] Properties to set * @returns Ancillary instance */ public static create(properties?: waproto.WAMediaTransport.IAncillary): waproto.WAMediaTransport.Ancillary; /** * Encodes the specified Ancillary message. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.WAMediaTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ancillary message, length delimited. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.verify|verify} messages. * @param message Ancillary message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.WAMediaTransport.IAncillary, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Ancillary message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WAMediaTransport.Ancillary; /** * Decodes an Ancillary message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Ancillary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WAMediaTransport.Ancillary; /** * Verifies an Ancillary message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Ancillary message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ancillary */ public static fromObject(object: { [k: string]: any }): waproto.WAMediaTransport.Ancillary; /** * Creates a plain object from an Ancillary message. Also converts values to other types if specified. * @param message Ancillary * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WAMediaTransport.Ancillary, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ancillary to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Ancillary * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Ancillary { /** Properties of a Thumbnail. */ interface IThumbnail { /** Thumbnail jpegThumbnail */ jpegThumbnail?: (Uint8Array|null); /** Thumbnail downloadableThumbnail */ downloadableThumbnail?: (waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail|null); /** Thumbnail thumbnailWidth */ thumbnailWidth?: (number|null); /** Thumbnail thumbnailHeight */ thumbnailHeight?: (number|null); } /** Represents a Thumbnail. */ class Thumbnail implements IThumbnail { /** * Constructs a new Thumbnail. * @param [properties] Properties to set */ constructor(properties?: waproto.WAMediaTransport.Ancillary.IThumbnail); /** Thumbnail jpegThumbnail. */ public jpegThumbnail?: (Uint8Array|null); /** Thumbnail downloadableThumbnail. */ public downloadableThumbnail?: (waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail|null); /** Thumbnail thumbnailWidth. */ public thumbnailWidth?: (number|null); /** Thumbnail thumbnailHeight. */ public thumbnailHeight?: (number|null); /** * Creates a new Thumbnail instance using the specified properties. * @param [properties] Properties to set * @returns Thumbnail instance */ public static create(properties?: waproto.WAMediaTransport.Ancillary.IThumbnail): waproto.WAMediaTransport.Ancillary.Thumbnail; /** * Encodes the specified Thumbnail message. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.Thumbnail.verify|verify} messages. * @param message Thumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.WAMediaTransport.Ancillary.IThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Thumbnail message, length delimited. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.Thumbnail.verify|verify} messages. * @param message Thumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.WAMediaTransport.Ancillary.IThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Thumbnail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Thumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WAMediaTransport.Ancillary.Thumbnail; /** * Decodes a Thumbnail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Thumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WAMediaTransport.Ancillary.Thumbnail; /** * Verifies a Thumbnail message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Thumbnail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Thumbnail */ public static fromObject(object: { [k: string]: any }): waproto.WAMediaTransport.Ancillary.Thumbnail; /** * Creates a plain object from a Thumbnail message. Also converts values to other types if specified. * @param message Thumbnail * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WAMediaTransport.Ancillary.Thumbnail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Thumbnail to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Thumbnail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Thumbnail { /** Properties of a DownloadableThumbnail. */ interface IDownloadableThumbnail { /** DownloadableThumbnail fileSha256 */ fileSha256?: (Uint8Array|null); /** DownloadableThumbnail fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** DownloadableThumbnail directPath */ directPath?: (string|null); /** DownloadableThumbnail mediaKey */ mediaKey?: (Uint8Array|null); /** DownloadableThumbnail mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); /** DownloadableThumbnail objectId */ objectId?: (string|null); /** DownloadableThumbnail thumbnailScansSidecar */ thumbnailScansSidecar?: (Uint8Array|null); /** DownloadableThumbnail thumbnailScanLengths */ thumbnailScanLengths?: (number[]|null); } /** Represents a DownloadableThumbnail. */ class DownloadableThumbnail implements IDownloadableThumbnail { /** * Constructs a new DownloadableThumbnail. * @param [properties] Properties to set */ constructor(properties?: waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail); /** DownloadableThumbnail fileSha256. */ public fileSha256?: (Uint8Array|null); /** DownloadableThumbnail fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** DownloadableThumbnail directPath. */ public directPath?: (string|null); /** DownloadableThumbnail mediaKey. */ public mediaKey?: (Uint8Array|null); /** DownloadableThumbnail mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** DownloadableThumbnail objectId. */ public objectId?: (string|null); /** DownloadableThumbnail thumbnailScansSidecar. */ public thumbnailScansSidecar?: (Uint8Array|null); /** DownloadableThumbnail thumbnailScanLengths. */ public thumbnailScanLengths: number[]; /** * Creates a new DownloadableThumbnail instance using the specified properties. * @param [properties] Properties to set * @returns DownloadableThumbnail instance */ public static create(properties?: waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail): waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail; /** * Encodes the specified DownloadableThumbnail message. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail.verify|verify} messages. * @param message DownloadableThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DownloadableThumbnail message, length delimited. Does not implicitly {@link waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail.verify|verify} messages. * @param message DownloadableThumbnail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.WAMediaTransport.Ancillary.Thumbnail.IDownloadableThumbnail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DownloadableThumbnail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DownloadableThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail; /** * Decodes a DownloadableThumbnail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DownloadableThumbnail * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail; /** * Verifies a DownloadableThumbnail message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DownloadableThumbnail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DownloadableThumbnail */ public static fromObject(object: { [k: string]: any }): waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail; /** * Creates a plain object from a DownloadableThumbnail message. Also converts values to other types if specified. * @param message DownloadableThumbnail * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DownloadableThumbnail to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DownloadableThumbnail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } } /** Properties of an Integral. */ interface IIntegral { /** Integral fileSha256 */ fileSha256?: (Uint8Array|null); /** Integral mediaKey */ mediaKey?: (Uint8Array|null); /** Integral fileEncSha256 */ fileEncSha256?: (Uint8Array|null); /** Integral directPath */ directPath?: (string|null); /** Integral mediaKeyTimestamp */ mediaKeyTimestamp?: (number|Long|null); } /** Represents an Integral. */ class Integral implements IIntegral { /** * Constructs a new Integral. * @param [properties] Properties to set */ constructor(properties?: waproto.WAMediaTransport.IIntegral); /** Integral fileSha256. */ public fileSha256?: (Uint8Array|null); /** Integral mediaKey. */ public mediaKey?: (Uint8Array|null); /** Integral fileEncSha256. */ public fileEncSha256?: (Uint8Array|null); /** Integral directPath. */ public directPath?: (string|null); /** Integral mediaKeyTimestamp. */ public mediaKeyTimestamp?: (number|Long|null); /** * Creates a new Integral instance using the specified properties. * @param [properties] Properties to set * @returns Integral instance */ public static create(properties?: waproto.WAMediaTransport.IIntegral): waproto.WAMediaTransport.Integral; /** * Encodes the specified Integral message. Does not implicitly {@link waproto.WAMediaTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.WAMediaTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Integral message, length delimited. Does not implicitly {@link waproto.WAMediaTransport.Integral.verify|verify} messages. * @param message Integral message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.WAMediaTransport.IIntegral, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Integral message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WAMediaTransport.Integral; /** * Decodes an Integral message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Integral * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WAMediaTransport.Integral; /** * Verifies an Integral message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an Integral message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Integral */ public static fromObject(object: { [k: string]: any }): waproto.WAMediaTransport.Integral; /** * Creates a plain object from an Integral message. Also converts values to other types if specified. * @param message Integral * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WAMediaTransport.Integral, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Integral to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Integral * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of a WallpaperSettings. */ interface IWallpaperSettings { /** WallpaperSettings filename */ filename?: (string|null); /** WallpaperSettings opacity */ opacity?: (number|null); /** WallpaperSettings isGenAi */ isGenAi?: (boolean|null); } /** Represents a WallpaperSettings. */ class WallpaperSettings implements IWallpaperSettings { /** * Constructs a new WallpaperSettings. * @param [properties] Properties to set */ constructor(properties?: waproto.IWallpaperSettings); /** WallpaperSettings filename. */ public filename?: (string|null); /** WallpaperSettings opacity. */ public opacity?: (number|null); /** WallpaperSettings isGenAi. */ public isGenAi?: (boolean|null); /** * Creates a new WallpaperSettings instance using the specified properties. * @param [properties] Properties to set * @returns WallpaperSettings instance */ public static create(properties?: waproto.IWallpaperSettings): waproto.WallpaperSettings; /** * Encodes the specified WallpaperSettings message. Does not implicitly {@link waproto.WallpaperSettings.verify|verify} messages. * @param message WallpaperSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WallpaperSettings message, length delimited. Does not implicitly {@link waproto.WallpaperSettings.verify|verify} messages. * @param message WallpaperSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWallpaperSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WallpaperSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WallpaperSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WallpaperSettings; /** * Decodes a WallpaperSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WallpaperSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WallpaperSettings; /** * Verifies a WallpaperSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WallpaperSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WallpaperSettings */ public static fromObject(object: { [k: string]: any }): waproto.WallpaperSettings; /** * Creates a plain object from a WallpaperSettings message. Also converts values to other types if specified. * @param message WallpaperSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WallpaperSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WallpaperSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WallpaperSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebFeatures. */ interface IWebFeatures { /** WebFeatures labelsDisplay */ labelsDisplay?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualOutgoing */ voipIndividualOutgoing?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV3 */ groupsV3?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV3Create */ groupsV3Create?: (waproto.WebFeatures.Flag|null); /** WebFeatures changeNumberV2 */ changeNumberV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures queryStatusV3Thumbnail */ queryStatusV3Thumbnail?: (waproto.WebFeatures.Flag|null); /** WebFeatures liveLocations */ liveLocations?: (waproto.WebFeatures.Flag|null); /** WebFeatures queryVname */ queryVname?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualIncoming */ voipIndividualIncoming?: (waproto.WebFeatures.Flag|null); /** WebFeatures quickRepliesQuery */ quickRepliesQuery?: (waproto.WebFeatures.Flag|null); /** WebFeatures payments */ payments?: (waproto.WebFeatures.Flag|null); /** WebFeatures stickerPackQuery */ stickerPackQuery?: (waproto.WebFeatures.Flag|null); /** WebFeatures liveLocationsFinal */ liveLocationsFinal?: (waproto.WebFeatures.Flag|null); /** WebFeatures labelsEdit */ labelsEdit?: (waproto.WebFeatures.Flag|null); /** WebFeatures mediaUpload */ mediaUpload?: (waproto.WebFeatures.Flag|null); /** WebFeatures mediaUploadRichQuickReplies */ mediaUploadRichQuickReplies?: (waproto.WebFeatures.Flag|null); /** WebFeatures vnameV2 */ vnameV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures videoPlaybackUrl */ videoPlaybackUrl?: (waproto.WebFeatures.Flag|null); /** WebFeatures statusRanking */ statusRanking?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualVideo */ voipIndividualVideo?: (waproto.WebFeatures.Flag|null); /** WebFeatures thirdPartyStickers */ thirdPartyStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures frequentlyForwardedSetting */ frequentlyForwardedSetting?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV4JoinPermission */ groupsV4JoinPermission?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickers */ recentStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures catalog */ catalog?: (waproto.WebFeatures.Flag|null); /** WebFeatures starredStickers */ starredStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipGroupCall */ voipGroupCall?: (waproto.WebFeatures.Flag|null); /** WebFeatures templateMessage */ templateMessage?: (waproto.WebFeatures.Flag|null); /** WebFeatures templateMessageInteractivity */ templateMessageInteractivity?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeralMessages */ ephemeralMessages?: (waproto.WebFeatures.Flag|null); /** WebFeatures e2ENotificationSync */ e2ENotificationSync?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickersV2 */ recentStickersV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickersV3 */ recentStickersV3?: (waproto.WebFeatures.Flag|null); /** WebFeatures userNotice */ userNotice?: (waproto.WebFeatures.Flag|null); /** WebFeatures support */ support?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupUiiCleanup */ groupUiiCleanup?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupDogfoodingInternalOnly */ groupDogfoodingInternalOnly?: (waproto.WebFeatures.Flag|null); /** WebFeatures settingsSync */ settingsSync?: (waproto.WebFeatures.Flag|null); /** WebFeatures archiveV2 */ archiveV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeralAllowGroupMembers */ ephemeralAllowGroupMembers?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeral24HDuration */ ephemeral24HDuration?: (waproto.WebFeatures.Flag|null); /** WebFeatures mdForceUpgrade */ mdForceUpgrade?: (waproto.WebFeatures.Flag|null); /** WebFeatures disappearingMode */ disappearingMode?: (waproto.WebFeatures.Flag|null); /** WebFeatures externalMdOptInAvailable */ externalMdOptInAvailable?: (waproto.WebFeatures.Flag|null); /** WebFeatures noDeleteMessageTimeLimit */ noDeleteMessageTimeLimit?: (waproto.WebFeatures.Flag|null); } /** Represents a WebFeatures. */ class WebFeatures implements IWebFeatures { /** * Constructs a new WebFeatures. * @param [properties] Properties to set */ constructor(properties?: waproto.IWebFeatures); /** WebFeatures labelsDisplay. */ public labelsDisplay?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualOutgoing. */ public voipIndividualOutgoing?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV3. */ public groupsV3?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV3Create. */ public groupsV3Create?: (waproto.WebFeatures.Flag|null); /** WebFeatures changeNumberV2. */ public changeNumberV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures queryStatusV3Thumbnail. */ public queryStatusV3Thumbnail?: (waproto.WebFeatures.Flag|null); /** WebFeatures liveLocations. */ public liveLocations?: (waproto.WebFeatures.Flag|null); /** WebFeatures queryVname. */ public queryVname?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualIncoming. */ public voipIndividualIncoming?: (waproto.WebFeatures.Flag|null); /** WebFeatures quickRepliesQuery. */ public quickRepliesQuery?: (waproto.WebFeatures.Flag|null); /** WebFeatures payments. */ public payments?: (waproto.WebFeatures.Flag|null); /** WebFeatures stickerPackQuery. */ public stickerPackQuery?: (waproto.WebFeatures.Flag|null); /** WebFeatures liveLocationsFinal. */ public liveLocationsFinal?: (waproto.WebFeatures.Flag|null); /** WebFeatures labelsEdit. */ public labelsEdit?: (waproto.WebFeatures.Flag|null); /** WebFeatures mediaUpload. */ public mediaUpload?: (waproto.WebFeatures.Flag|null); /** WebFeatures mediaUploadRichQuickReplies. */ public mediaUploadRichQuickReplies?: (waproto.WebFeatures.Flag|null); /** WebFeatures vnameV2. */ public vnameV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures videoPlaybackUrl. */ public videoPlaybackUrl?: (waproto.WebFeatures.Flag|null); /** WebFeatures statusRanking. */ public statusRanking?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipIndividualVideo. */ public voipIndividualVideo?: (waproto.WebFeatures.Flag|null); /** WebFeatures thirdPartyStickers. */ public thirdPartyStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures frequentlyForwardedSetting. */ public frequentlyForwardedSetting?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupsV4JoinPermission. */ public groupsV4JoinPermission?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickers. */ public recentStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures catalog. */ public catalog?: (waproto.WebFeatures.Flag|null); /** WebFeatures starredStickers. */ public starredStickers?: (waproto.WebFeatures.Flag|null); /** WebFeatures voipGroupCall. */ public voipGroupCall?: (waproto.WebFeatures.Flag|null); /** WebFeatures templateMessage. */ public templateMessage?: (waproto.WebFeatures.Flag|null); /** WebFeatures templateMessageInteractivity. */ public templateMessageInteractivity?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeralMessages. */ public ephemeralMessages?: (waproto.WebFeatures.Flag|null); /** WebFeatures e2ENotificationSync. */ public e2ENotificationSync?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickersV2. */ public recentStickersV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures recentStickersV3. */ public recentStickersV3?: (waproto.WebFeatures.Flag|null); /** WebFeatures userNotice. */ public userNotice?: (waproto.WebFeatures.Flag|null); /** WebFeatures support. */ public support?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupUiiCleanup. */ public groupUiiCleanup?: (waproto.WebFeatures.Flag|null); /** WebFeatures groupDogfoodingInternalOnly. */ public groupDogfoodingInternalOnly?: (waproto.WebFeatures.Flag|null); /** WebFeatures settingsSync. */ public settingsSync?: (waproto.WebFeatures.Flag|null); /** WebFeatures archiveV2. */ public archiveV2?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeralAllowGroupMembers. */ public ephemeralAllowGroupMembers?: (waproto.WebFeatures.Flag|null); /** WebFeatures ephemeral24HDuration. */ public ephemeral24HDuration?: (waproto.WebFeatures.Flag|null); /** WebFeatures mdForceUpgrade. */ public mdForceUpgrade?: (waproto.WebFeatures.Flag|null); /** WebFeatures disappearingMode. */ public disappearingMode?: (waproto.WebFeatures.Flag|null); /** WebFeatures externalMdOptInAvailable. */ public externalMdOptInAvailable?: (waproto.WebFeatures.Flag|null); /** WebFeatures noDeleteMessageTimeLimit. */ public noDeleteMessageTimeLimit?: (waproto.WebFeatures.Flag|null); /** * Creates a new WebFeatures instance using the specified properties. * @param [properties] Properties to set * @returns WebFeatures instance */ public static create(properties?: waproto.IWebFeatures): waproto.WebFeatures; /** * Encodes the specified WebFeatures message. Does not implicitly {@link waproto.WebFeatures.verify|verify} messages. * @param message WebFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWebFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebFeatures message, length delimited. Does not implicitly {@link waproto.WebFeatures.verify|verify} messages. * @param message WebFeatures message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWebFeatures, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebFeatures message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebFeatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WebFeatures; /** * Decodes a WebFeatures message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebFeatures * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WebFeatures; /** * Verifies a WebFeatures message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebFeatures message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebFeatures */ public static fromObject(object: { [k: string]: any }): waproto.WebFeatures; /** * Creates a plain object from a WebFeatures message. Also converts values to other types if specified. * @param message WebFeatures * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WebFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebFeatures to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebFeatures * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WebFeatures { /** Flag enum. */ enum Flag { NOT_STARTED = 0, FORCE_UPGRADE = 1, DEVELOPMENT = 2, PRODUCTION = 3 } } /** Properties of a WebMessageInfo. */ interface IWebMessageInfo { /** WebMessageInfo key */ key?: (waproto.IMessageKey|null); /** WebMessageInfo message */ message?: (waproto.IMessage|null); /** WebMessageInfo messageTimestamp */ messageTimestamp?: (number|Long|null); /** WebMessageInfo status */ status?: (waproto.WebMessageInfo.Status|null); /** WebMessageInfo participant */ participant?: (string|null); /** WebMessageInfo messageC2STimestamp */ messageC2STimestamp?: (number|Long|null); /** WebMessageInfo ignore */ ignore?: (boolean|null); /** WebMessageInfo starred */ starred?: (boolean|null); /** WebMessageInfo broadcast */ broadcast?: (boolean|null); /** WebMessageInfo pushName */ pushName?: (string|null); /** WebMessageInfo mediaCiphertextSha256 */ mediaCiphertextSha256?: (Uint8Array|null); /** WebMessageInfo multicast */ multicast?: (boolean|null); /** WebMessageInfo urlText */ urlText?: (boolean|null); /** WebMessageInfo urlNumber */ urlNumber?: (boolean|null); /** WebMessageInfo messageStubType */ messageStubType?: (waproto.WebMessageInfo.StubType|null); /** WebMessageInfo clearMedia */ clearMedia?: (boolean|null); /** WebMessageInfo messageStubParameters */ messageStubParameters?: (string[]|null); /** WebMessageInfo duration */ duration?: (number|null); /** WebMessageInfo labels */ labels?: (string[]|null); /** WebMessageInfo paymentInfo */ paymentInfo?: (waproto.IPaymentInfo|null); /** WebMessageInfo finalLiveLocation */ finalLiveLocation?: (waproto.Message.ILiveLocationMessage|null); /** WebMessageInfo quotedPaymentInfo */ quotedPaymentInfo?: (waproto.IPaymentInfo|null); /** WebMessageInfo ephemeralStartTimestamp */ ephemeralStartTimestamp?: (number|Long|null); /** WebMessageInfo ephemeralDuration */ ephemeralDuration?: (number|null); /** WebMessageInfo ephemeralOffToOn */ ephemeralOffToOn?: (boolean|null); /** WebMessageInfo ephemeralOutOfSync */ ephemeralOutOfSync?: (boolean|null); /** WebMessageInfo bizPrivacyStatus */ bizPrivacyStatus?: (waproto.WebMessageInfo.BizPrivacyStatus|null); /** WebMessageInfo verifiedBizName */ verifiedBizName?: (string|null); /** WebMessageInfo mediaData */ mediaData?: (waproto.IMediaData|null); /** WebMessageInfo photoChange */ photoChange?: (waproto.IPhotoChange|null); /** WebMessageInfo userReceipt */ userReceipt?: (waproto.IUserReceipt[]|null); /** WebMessageInfo reactions */ reactions?: (waproto.IReaction[]|null); /** WebMessageInfo quotedStickerData */ quotedStickerData?: (waproto.IMediaData|null); /** WebMessageInfo futureproofData */ futureproofData?: (Uint8Array|null); /** WebMessageInfo statusPsa */ statusPsa?: (waproto.IStatusPSA|null); /** WebMessageInfo pollUpdates */ pollUpdates?: (waproto.IPollUpdate[]|null); /** WebMessageInfo pollAdditionalMetadata */ pollAdditionalMetadata?: (waproto.IPollAdditionalMetadata|null); /** WebMessageInfo agentId */ agentId?: (string|null); /** WebMessageInfo statusAlreadyViewed */ statusAlreadyViewed?: (boolean|null); /** WebMessageInfo messageSecret */ messageSecret?: (Uint8Array|null); /** WebMessageInfo keepInChat */ keepInChat?: (waproto.IKeepInChat|null); /** WebMessageInfo originalSelfAuthorUserJidString */ originalSelfAuthorUserJidString?: (string|null); /** WebMessageInfo revokeMessageTimestamp */ revokeMessageTimestamp?: (number|Long|null); /** WebMessageInfo pinInChat */ pinInChat?: (waproto.IPinInChat|null); /** WebMessageInfo premiumMessageInfo */ premiumMessageInfo?: (waproto.IPremiumMessageInfo|null); /** WebMessageInfo is1PBizBotMessage */ is1PBizBotMessage?: (boolean|null); /** WebMessageInfo isGroupHistoryMessage */ isGroupHistoryMessage?: (boolean|null); /** WebMessageInfo botMessageInvokerJid */ botMessageInvokerJid?: (string|null); /** WebMessageInfo commentMetadata */ commentMetadata?: (waproto.ICommentMetadata|null); /** WebMessageInfo eventResponses */ eventResponses?: (waproto.IEventResponse[]|null); /** WebMessageInfo reportingTokenInfo */ reportingTokenInfo?: (waproto.IReportingTokenInfo|null); /** WebMessageInfo newsletterServerId */ newsletterServerId?: (number|Long|null); /** WebMessageInfo eventAdditionalMetadata */ eventAdditionalMetadata?: (waproto.IEventAdditionalMetadata|null); /** WebMessageInfo isMentionedInStatus */ isMentionedInStatus?: (boolean|null); /** WebMessageInfo statusMentions */ statusMentions?: (string[]|null); /** WebMessageInfo targetMessageId */ targetMessageId?: (waproto.IMessageKey|null); /** WebMessageInfo messageAddOns */ messageAddOns?: (waproto.IMessageAddOn[]|null); /** WebMessageInfo statusMentionMessageInfo */ statusMentionMessageInfo?: (waproto.IStatusMentionMessage|null); /** WebMessageInfo isSupportAiMessage */ isSupportAiMessage?: (boolean|null); /** WebMessageInfo statusMentionSources */ statusMentionSources?: (string[]|null); /** WebMessageInfo supportAiCitations */ supportAiCitations?: (waproto.ICitation[]|null); /** WebMessageInfo botTargetId */ botTargetId?: (string|null); /** WebMessageInfo groupHistoryIndividualMessageInfo */ groupHistoryIndividualMessageInfo?: (waproto.IGroupHistoryIndividualMessageInfo|null); /** WebMessageInfo groupHistoryBundleInfo */ groupHistoryBundleInfo?: (waproto.IGroupHistoryBundleInfo|null); /** WebMessageInfo interactiveMessageAdditionalMetadata */ interactiveMessageAdditionalMetadata?: (waproto.IInteractiveMessageAdditionalMetadata|null); /** WebMessageInfo quarantinedMessage */ quarantinedMessage?: (waproto.IQuarantinedMessage|null); /** WebMessageInfo nonJidMentions */ nonJidMentions?: (number|null); /** WebMessageInfo hsmTag */ hsmTag?: (string|null); /** WebMessageInfo ephemeralExpirationTimestamp */ ephemeralExpirationTimestamp?: (number|Long|null); /** WebMessageInfo scheduledMessageMetadata */ scheduledMessageMetadata?: (waproto.IScheduledMessageMetadata|null); /** WebMessageInfo decisionId */ decisionId?: (string|null); /** WebMessageInfo decisionSources */ decisionSources?: (string[]|null); } /** Represents a WebMessageInfo. */ class WebMessageInfo implements IWebMessageInfo { /** * Constructs a new WebMessageInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IWebMessageInfo); /** WebMessageInfo key. */ public key?: (waproto.IMessageKey|null); /** WebMessageInfo message. */ public message?: (waproto.IMessage|null); /** WebMessageInfo messageTimestamp. */ public messageTimestamp?: (number|Long|null); /** WebMessageInfo status. */ public status?: (waproto.WebMessageInfo.Status|null); /** WebMessageInfo participant. */ public participant?: (string|null); /** WebMessageInfo messageC2STimestamp. */ public messageC2STimestamp?: (number|Long|null); /** WebMessageInfo ignore. */ public ignore?: (boolean|null); /** WebMessageInfo starred. */ public starred?: (boolean|null); /** WebMessageInfo broadcast. */ public broadcast?: (boolean|null); /** WebMessageInfo pushName. */ public pushName?: (string|null); /** WebMessageInfo mediaCiphertextSha256. */ public mediaCiphertextSha256?: (Uint8Array|null); /** WebMessageInfo multicast. */ public multicast?: (boolean|null); /** WebMessageInfo urlText. */ public urlText?: (boolean|null); /** WebMessageInfo urlNumber. */ public urlNumber?: (boolean|null); /** WebMessageInfo messageStubType. */ public messageStubType?: (waproto.WebMessageInfo.StubType|null); /** WebMessageInfo clearMedia. */ public clearMedia?: (boolean|null); /** WebMessageInfo messageStubParameters. */ public messageStubParameters: string[]; /** WebMessageInfo duration. */ public duration?: (number|null); /** WebMessageInfo labels. */ public labels: string[]; /** WebMessageInfo paymentInfo. */ public paymentInfo?: (waproto.IPaymentInfo|null); /** WebMessageInfo finalLiveLocation. */ public finalLiveLocation?: (waproto.Message.ILiveLocationMessage|null); /** WebMessageInfo quotedPaymentInfo. */ public quotedPaymentInfo?: (waproto.IPaymentInfo|null); /** WebMessageInfo ephemeralStartTimestamp. */ public ephemeralStartTimestamp?: (number|Long|null); /** WebMessageInfo ephemeralDuration. */ public ephemeralDuration?: (number|null); /** WebMessageInfo ephemeralOffToOn. */ public ephemeralOffToOn?: (boolean|null); /** WebMessageInfo ephemeralOutOfSync. */ public ephemeralOutOfSync?: (boolean|null); /** WebMessageInfo bizPrivacyStatus. */ public bizPrivacyStatus?: (waproto.WebMessageInfo.BizPrivacyStatus|null); /** WebMessageInfo verifiedBizName. */ public verifiedBizName?: (string|null); /** WebMessageInfo mediaData. */ public mediaData?: (waproto.IMediaData|null); /** WebMessageInfo photoChange. */ public photoChange?: (waproto.IPhotoChange|null); /** WebMessageInfo userReceipt. */ public userReceipt: waproto.IUserReceipt[]; /** WebMessageInfo reactions. */ public reactions: waproto.IReaction[]; /** WebMessageInfo quotedStickerData. */ public quotedStickerData?: (waproto.IMediaData|null); /** WebMessageInfo futureproofData. */ public futureproofData?: (Uint8Array|null); /** WebMessageInfo statusPsa. */ public statusPsa?: (waproto.IStatusPSA|null); /** WebMessageInfo pollUpdates. */ public pollUpdates: waproto.IPollUpdate[]; /** WebMessageInfo pollAdditionalMetadata. */ public pollAdditionalMetadata?: (waproto.IPollAdditionalMetadata|null); /** WebMessageInfo agentId. */ public agentId?: (string|null); /** WebMessageInfo statusAlreadyViewed. */ public statusAlreadyViewed?: (boolean|null); /** WebMessageInfo messageSecret. */ public messageSecret?: (Uint8Array|null); /** WebMessageInfo keepInChat. */ public keepInChat?: (waproto.IKeepInChat|null); /** WebMessageInfo originalSelfAuthorUserJidString. */ public originalSelfAuthorUserJidString?: (string|null); /** WebMessageInfo revokeMessageTimestamp. */ public revokeMessageTimestamp?: (number|Long|null); /** WebMessageInfo pinInChat. */ public pinInChat?: (waproto.IPinInChat|null); /** WebMessageInfo premiumMessageInfo. */ public premiumMessageInfo?: (waproto.IPremiumMessageInfo|null); /** WebMessageInfo is1PBizBotMessage. */ public is1PBizBotMessage?: (boolean|null); /** WebMessageInfo isGroupHistoryMessage. */ public isGroupHistoryMessage?: (boolean|null); /** WebMessageInfo botMessageInvokerJid. */ public botMessageInvokerJid?: (string|null); /** WebMessageInfo commentMetadata. */ public commentMetadata?: (waproto.ICommentMetadata|null); /** WebMessageInfo eventResponses. */ public eventResponses: waproto.IEventResponse[]; /** WebMessageInfo reportingTokenInfo. */ public reportingTokenInfo?: (waproto.IReportingTokenInfo|null); /** WebMessageInfo newsletterServerId. */ public newsletterServerId?: (number|Long|null); /** WebMessageInfo eventAdditionalMetadata. */ public eventAdditionalMetadata?: (waproto.IEventAdditionalMetadata|null); /** WebMessageInfo isMentionedInStatus. */ public isMentionedInStatus?: (boolean|null); /** WebMessageInfo statusMentions. */ public statusMentions: string[]; /** WebMessageInfo targetMessageId. */ public targetMessageId?: (waproto.IMessageKey|null); /** WebMessageInfo messageAddOns. */ public messageAddOns: waproto.IMessageAddOn[]; /** WebMessageInfo statusMentionMessageInfo. */ public statusMentionMessageInfo?: (waproto.IStatusMentionMessage|null); /** WebMessageInfo isSupportAiMessage. */ public isSupportAiMessage?: (boolean|null); /** WebMessageInfo statusMentionSources. */ public statusMentionSources: string[]; /** WebMessageInfo supportAiCitations. */ public supportAiCitations: waproto.ICitation[]; /** WebMessageInfo botTargetId. */ public botTargetId?: (string|null); /** WebMessageInfo groupHistoryIndividualMessageInfo. */ public groupHistoryIndividualMessageInfo?: (waproto.IGroupHistoryIndividualMessageInfo|null); /** WebMessageInfo groupHistoryBundleInfo. */ public groupHistoryBundleInfo?: (waproto.IGroupHistoryBundleInfo|null); /** WebMessageInfo interactiveMessageAdditionalMetadata. */ public interactiveMessageAdditionalMetadata?: (waproto.IInteractiveMessageAdditionalMetadata|null); /** WebMessageInfo quarantinedMessage. */ public quarantinedMessage?: (waproto.IQuarantinedMessage|null); /** WebMessageInfo nonJidMentions. */ public nonJidMentions?: (number|null); /** WebMessageInfo hsmTag. */ public hsmTag?: (string|null); /** WebMessageInfo ephemeralExpirationTimestamp. */ public ephemeralExpirationTimestamp?: (number|Long|null); /** WebMessageInfo scheduledMessageMetadata. */ public scheduledMessageMetadata?: (waproto.IScheduledMessageMetadata|null); /** WebMessageInfo decisionId. */ public decisionId?: (string|null); /** WebMessageInfo decisionSources. */ public decisionSources: string[]; /** * Creates a new WebMessageInfo instance using the specified properties. * @param [properties] Properties to set * @returns WebMessageInfo instance */ public static create(properties?: waproto.IWebMessageInfo): waproto.WebMessageInfo; /** * Encodes the specified WebMessageInfo message. Does not implicitly {@link waproto.WebMessageInfo.verify|verify} messages. * @param message WebMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWebMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebMessageInfo message, length delimited. Does not implicitly {@link waproto.WebMessageInfo.verify|verify} messages. * @param message WebMessageInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWebMessageInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebMessageInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WebMessageInfo; /** * Decodes a WebMessageInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebMessageInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WebMessageInfo; /** * Verifies a WebMessageInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebMessageInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebMessageInfo */ public static fromObject(object: { [k: string]: any }): waproto.WebMessageInfo; /** * Creates a plain object from a WebMessageInfo message. Also converts values to other types if specified. * @param message WebMessageInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WebMessageInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebMessageInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebMessageInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace WebMessageInfo { /** BizPrivacyStatus enum. */ enum BizPrivacyStatus { E2EE = 0, BSP = 1, FB = 2, BSP_AND_FB = 3 } /** StubType enum. */ enum StubType { UNKNOWN = 0, REVOKE = 1, CIPHERTEXT = 2, FUTUREPROOF = 3, NON_VERIFIED_TRANSITION = 4, UNVERIFIED_TRANSITION = 5, VERIFIED_TRANSITION = 6, VERIFIED_LOW_UNKNOWN = 7, VERIFIED_HIGH = 8, VERIFIED_INITIAL_UNKNOWN = 9, VERIFIED_INITIAL_LOW = 10, VERIFIED_INITIAL_HIGH = 11, VERIFIED_TRANSITION_ANY_TO_NONE = 12, VERIFIED_TRANSITION_ANY_TO_HIGH = 13, VERIFIED_TRANSITION_HIGH_TO_LOW = 14, VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15, VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16, VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17, VERIFIED_TRANSITION_NONE_TO_LOW = 18, VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19, GROUP_CREATE = 20, GROUP_CHANGE_SUBJECT = 21, GROUP_CHANGE_ICON = 22, GROUP_CHANGE_INVITE_LINK = 23, GROUP_CHANGE_DESCRIPTION = 24, GROUP_CHANGE_RESTRICT = 25, GROUP_CHANGE_ANNOUNCE = 26, GROUP_PARTICIPANT_ADD = 27, GROUP_PARTICIPANT_REMOVE = 28, GROUP_PARTICIPANT_PROMOTE = 29, GROUP_PARTICIPANT_DEMOTE = 30, GROUP_PARTICIPANT_INVITE = 31, GROUP_PARTICIPANT_LEAVE = 32, GROUP_PARTICIPANT_CHANGE_NUMBER = 33, BROADCAST_CREATE = 34, BROADCAST_ADD = 35, BROADCAST_REMOVE = 36, GENERIC_NOTIFICATION = 37, E2E_IDENTITY_CHANGED = 38, E2E_ENCRYPTED = 39, CALL_MISSED_VOICE = 40, CALL_MISSED_VIDEO = 41, INDIVIDUAL_CHANGE_NUMBER = 42, GROUP_DELETE = 43, GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44, CALL_MISSED_GROUP_VOICE = 45, CALL_MISSED_GROUP_VIDEO = 46, PAYMENT_CIPHERTEXT = 47, PAYMENT_FUTUREPROOF = 48, PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49, PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50, PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51, PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52, PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53, PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54, PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55, PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56, PAYMENT_ACTION_REQUEST_DECLINED = 57, PAYMENT_ACTION_REQUEST_EXPIRED = 58, PAYMENT_ACTION_REQUEST_CANCELLED = 59, BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60, BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61, BIZ_INTRO_TOP = 62, BIZ_INTRO_BOTTOM = 63, BIZ_NAME_CHANGE = 64, BIZ_MOVE_TO_CONSUMER_APP = 65, BIZ_TWO_TIER_MIGRATION_TOP = 66, BIZ_TWO_TIER_MIGRATION_BOTTOM = 67, OVERSIZED = 68, GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69, GROUP_V4_ADD_INVITE_SENT = 70, GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71, CHANGE_EPHEMERAL_SETTING = 72, E2E_DEVICE_CHANGED = 73, VIEWED_ONCE = 74, E2E_ENCRYPTED_NOW = 75, BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76, BLUE_MSG_BSP_FB_TO_SELF_FB = 77, BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78, BLUE_MSG_BSP_FB_UNVERIFIED = 79, BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80, BLUE_MSG_BSP_FB_VERIFIED = 81, BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82, BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83, BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84, BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85, BLUE_MSG_BSP_PREMISE_VERIFIED = 86, BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87, BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88, BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89, BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90, BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91, BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92, BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93, BLUE_MSG_SELF_FB_UNVERIFIED = 94, BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95, BLUE_MSG_SELF_FB_VERIFIED = 96, BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97, BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98, BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99, BLUE_MSG_SELF_PREMISE_VERIFIED = 100, BLUE_MSG_TO_BSP_FB = 101, BLUE_MSG_TO_CONSUMER = 102, BLUE_MSG_TO_SELF_FB = 103, BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104, BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105, BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106, BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107, BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108, BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109, BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110, BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111, BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112, BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113, BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114, BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115, BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116, BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117, E2E_IDENTITY_UNAVAILABLE = 118, GROUP_CREATING = 119, GROUP_CREATE_FAILED = 120, GROUP_BOUNCED = 121, BLOCK_CONTACT = 122, EPHEMERAL_SETTING_NOT_APPLIED = 123, SYNC_FAILED = 124, SYNCING = 125, BIZ_PRIVACY_MODE_INIT_FB = 126, BIZ_PRIVACY_MODE_INIT_BSP = 127, BIZ_PRIVACY_MODE_TO_FB = 128, BIZ_PRIVACY_MODE_TO_BSP = 129, DISAPPEARING_MODE = 130, E2E_DEVICE_FETCH_FAILED = 131, ADMIN_REVOKE = 132, GROUP_INVITE_LINK_GROWTH_LOCKED = 133, COMMUNITY_LINK_PARENT_GROUP = 134, COMMUNITY_LINK_SIBLING_GROUP = 135, COMMUNITY_LINK_SUB_GROUP = 136, COMMUNITY_UNLINK_PARENT_GROUP = 137, COMMUNITY_UNLINK_SIBLING_GROUP = 138, COMMUNITY_UNLINK_SUB_GROUP = 139, GROUP_PARTICIPANT_ACCEPT = 140, GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141, COMMUNITY_CREATE = 142, EPHEMERAL_KEEP_IN_CHAT = 143, GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144, GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145, INTEGRITY_UNLINK_PARENT_GROUP = 146, COMMUNITY_PARTICIPANT_PROMOTE = 147, COMMUNITY_PARTICIPANT_DEMOTE = 148, COMMUNITY_PARENT_GROUP_DELETED = 149, COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150, GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151, MASKED_THREAD_CREATED = 152, MASKED_THREAD_UNMASKED = 153, BIZ_CHAT_ASSIGNMENT = 154, CHAT_PSA = 155, CHAT_POLL_CREATION_MESSAGE = 156, CAG_MASKED_THREAD_CREATED = 157, COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158, CAG_INVITE_AUTO_ADD = 159, BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160, CAG_INVITE_AUTO_JOINED = 161, SCHEDULED_CALL_START_MESSAGE = 162, COMMUNITY_INVITE_RICH = 163, COMMUNITY_INVITE_AUTO_ADD_RICH = 164, SUB_GROUP_INVITE_RICH = 165, SUB_GROUP_PARTICIPANT_ADD_RICH = 166, COMMUNITY_LINK_PARENT_GROUP_RICH = 167, COMMUNITY_PARTICIPANT_ADD_RICH = 168, SILENCED_UNKNOWN_CALLER_AUDIO = 169, SILENCED_UNKNOWN_CALLER_VIDEO = 170, GROUP_MEMBER_ADD_MODE = 171, GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172, COMMUNITY_CHANGE_DESCRIPTION = 173, SENDER_INVITE = 174, RECEIVER_INVITE = 175, COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176, PINNED_MESSAGE_IN_CHAT = 177, PAYMENT_INVITE_SETUP_INVITER = 178, PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179, PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180, LINKED_GROUP_CALL_START = 181, REPORT_TO_ADMIN_ENABLED_STATUS = 182, EMPTY_SUBGROUP_CREATE = 183, SCHEDULED_CALL_CANCEL = 184, SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185, GROUP_CHANGE_RECENT_HISTORY_SHARING = 186, PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187, GENERAL_CHAT_CREATE = 188, GENERAL_CHAT_ADD = 189, GENERAL_CHAT_AUTO_ADD_DISABLED = 190, SUGGESTED_SUBGROUP_ANNOUNCE = 191, BIZ_BOT_1P_MESSAGING_ENABLED = 192, CHANGE_USERNAME = 193, BIZ_COEX_PRIVACY_INIT_SELF = 194, BIZ_COEX_PRIVACY_TRANSITION_SELF = 195, SUPPORT_AI_EDUCATION = 196, BIZ_BOT_3P_MESSAGING_ENABLED = 197, REMINDER_SETUP_MESSAGE = 198, REMINDER_SENT_MESSAGE = 199, REMINDER_CANCEL_MESSAGE = 200, BIZ_COEX_PRIVACY_INIT = 201, BIZ_COEX_PRIVACY_TRANSITION = 202, GROUP_DEACTIVATED = 203, COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204, EVENT_UPDATED = 205, EVENT_CANCELED = 206, COMMUNITY_OWNER_UPDATED = 207, COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208, CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209, STATUS_MENTION = 210, USER_CONTROLS_SYSTEM_MESSAGE = 211, SUPPORT_SYSTEM_MESSAGE = 212, CHANGE_LID = 213, BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214, BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215, CHANGE_LIMIT_SHARING = 216, GROUP_MEMBER_LINK_MODE = 217, BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218, PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219, QUARANTINED_MESSAGE = 220, GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221, GROUP_OPEN_BOT_ADDED = 222, 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, CHANGE_ACP2_SETTING = 240, BIZ_CALLBACK_DISABLED = 244, BIZ_CALLBACK_ENABLED = 247, EPHEMERAL_CHANGED_FOR_COEX = 248, UGC_BOT_PROFILE_UPDATED = 249, ORDER_EPHEMERAL_EXEMPTION = 250, CAMEO_CHAT_CREATED = 254, SENDER_SIDE_CONTACT_INFO = 255, CAMEO_TRANSITIONED = 256 } /** Status enum. */ enum Status { ERROR = 0, PENDING = 1, SERVER_ACK = 2, DELIVERY_ACK = 3, READ = 4, PLAYED = 5 } } /** Properties of a WebMessageInfoWithMessageBytes. */ interface IWebMessageInfoWithMessageBytes { /** WebMessageInfoWithMessageBytes key */ key?: (waproto.IMessageKey|null); /** WebMessageInfoWithMessageBytes messageBytes */ messageBytes?: (Uint8Array|null); } /** Represents a WebMessageInfoWithMessageBytes. */ class WebMessageInfoWithMessageBytes implements IWebMessageInfoWithMessageBytes { /** * Constructs a new WebMessageInfoWithMessageBytes. * @param [properties] Properties to set */ constructor(properties?: waproto.IWebMessageInfoWithMessageBytes); /** WebMessageInfoWithMessageBytes key. */ public key?: (waproto.IMessageKey|null); /** WebMessageInfoWithMessageBytes messageBytes. */ public messageBytes?: (Uint8Array|null); /** * Creates a new WebMessageInfoWithMessageBytes instance using the specified properties. * @param [properties] Properties to set * @returns WebMessageInfoWithMessageBytes instance */ public static create(properties?: waproto.IWebMessageInfoWithMessageBytes): waproto.WebMessageInfoWithMessageBytes; /** * Encodes the specified WebMessageInfoWithMessageBytes message. Does not implicitly {@link waproto.WebMessageInfoWithMessageBytes.verify|verify} messages. * @param message WebMessageInfoWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWebMessageInfoWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebMessageInfoWithMessageBytes message, length delimited. Does not implicitly {@link waproto.WebMessageInfoWithMessageBytes.verify|verify} messages. * @param message WebMessageInfoWithMessageBytes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWebMessageInfoWithMessageBytes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebMessageInfoWithMessageBytes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebMessageInfoWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WebMessageInfoWithMessageBytes; /** * Decodes a WebMessageInfoWithMessageBytes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebMessageInfoWithMessageBytes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WebMessageInfoWithMessageBytes; /** * Verifies a WebMessageInfoWithMessageBytes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebMessageInfoWithMessageBytes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebMessageInfoWithMessageBytes */ public static fromObject(object: { [k: string]: any }): waproto.WebMessageInfoWithMessageBytes; /** * Creates a plain object from a WebMessageInfoWithMessageBytes message. Also converts values to other types if specified. * @param message WebMessageInfoWithMessageBytes * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WebMessageInfoWithMessageBytes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebMessageInfoWithMessageBytes to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebMessageInfoWithMessageBytes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WebNotificationsInfo. */ interface IWebNotificationsInfo { /** WebNotificationsInfo timestamp */ timestamp?: (number|Long|null); /** WebNotificationsInfo unreadChats */ unreadChats?: (number|null); /** WebNotificationsInfo notifyMessageCount */ notifyMessageCount?: (number|null); /** WebNotificationsInfo notifyMessages */ notifyMessages?: (waproto.IWebMessageInfo[]|null); } /** Represents a WebNotificationsInfo. */ class WebNotificationsInfo implements IWebNotificationsInfo { /** * Constructs a new WebNotificationsInfo. * @param [properties] Properties to set */ constructor(properties?: waproto.IWebNotificationsInfo); /** WebNotificationsInfo timestamp. */ public timestamp?: (number|Long|null); /** WebNotificationsInfo unreadChats. */ public unreadChats?: (number|null); /** WebNotificationsInfo notifyMessageCount. */ public notifyMessageCount?: (number|null); /** WebNotificationsInfo notifyMessages. */ public notifyMessages: waproto.IWebMessageInfo[]; /** * Creates a new WebNotificationsInfo instance using the specified properties. * @param [properties] Properties to set * @returns WebNotificationsInfo instance */ public static create(properties?: waproto.IWebNotificationsInfo): waproto.WebNotificationsInfo; /** * Encodes the specified WebNotificationsInfo message. Does not implicitly {@link waproto.WebNotificationsInfo.verify|verify} messages. * @param message WebNotificationsInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWebNotificationsInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WebNotificationsInfo message, length delimited. Does not implicitly {@link waproto.WebNotificationsInfo.verify|verify} messages. * @param message WebNotificationsInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWebNotificationsInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WebNotificationsInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WebNotificationsInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WebNotificationsInfo; /** * Decodes a WebNotificationsInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WebNotificationsInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WebNotificationsInfo; /** * Verifies a WebNotificationsInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WebNotificationsInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WebNotificationsInfo */ public static fromObject(object: { [k: string]: any }): waproto.WebNotificationsInfo; /** * Creates a plain object from a WebNotificationsInfo message. Also converts values to other types if specified. * @param message WebNotificationsInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WebNotificationsInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WebNotificationsInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WebNotificationsInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WrapTransportSigningPublicKeyInput. */ interface IWrapTransportSigningPublicKeyInput { /** WrapTransportSigningPublicKeyInput keyBytes */ keyBytes?: (Uint8Array|null); } /** Represents a WrapTransportSigningPublicKeyInput. */ class WrapTransportSigningPublicKeyInput implements IWrapTransportSigningPublicKeyInput { /** * Constructs a new WrapTransportSigningPublicKeyInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IWrapTransportSigningPublicKeyInput); /** WrapTransportSigningPublicKeyInput keyBytes. */ public keyBytes?: (Uint8Array|null); /** * Creates a new WrapTransportSigningPublicKeyInput instance using the specified properties. * @param [properties] Properties to set * @returns WrapTransportSigningPublicKeyInput instance */ public static create(properties?: waproto.IWrapTransportSigningPublicKeyInput): waproto.WrapTransportSigningPublicKeyInput; /** * Encodes the specified WrapTransportSigningPublicKeyInput message. Does not implicitly {@link waproto.WrapTransportSigningPublicKeyInput.verify|verify} messages. * @param message WrapTransportSigningPublicKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWrapTransportSigningPublicKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WrapTransportSigningPublicKeyInput message, length delimited. Does not implicitly {@link waproto.WrapTransportSigningPublicKeyInput.verify|verify} messages. * @param message WrapTransportSigningPublicKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWrapTransportSigningPublicKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WrapTransportSigningPublicKeyInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WrapTransportSigningPublicKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WrapTransportSigningPublicKeyInput; /** * Decodes a WrapTransportSigningPublicKeyInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WrapTransportSigningPublicKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WrapTransportSigningPublicKeyInput; /** * Verifies a WrapTransportSigningPublicKeyInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WrapTransportSigningPublicKeyInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WrapTransportSigningPublicKeyInput */ public static fromObject(object: { [k: string]: any }): waproto.WrapTransportSigningPublicKeyInput; /** * Creates a plain object from a WrapTransportSigningPublicKeyInput message. Also converts values to other types if specified. * @param message WrapTransportSigningPublicKeyInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WrapTransportSigningPublicKeyInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WrapTransportSigningPublicKeyInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WrapTransportSigningPublicKeyInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WrapTransportSigningPublicKeyResult. */ interface IWrapTransportSigningPublicKeyResult { /** WrapTransportSigningPublicKeyResult prefixedKey */ prefixedKey?: (Uint8Array|null); } /** Represents a WrapTransportSigningPublicKeyResult. */ class WrapTransportSigningPublicKeyResult implements IWrapTransportSigningPublicKeyResult { /** * Constructs a new WrapTransportSigningPublicKeyResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IWrapTransportSigningPublicKeyResult); /** WrapTransportSigningPublicKeyResult prefixedKey. */ public prefixedKey?: (Uint8Array|null); /** * Creates a new WrapTransportSigningPublicKeyResult instance using the specified properties. * @param [properties] Properties to set * @returns WrapTransportSigningPublicKeyResult instance */ public static create(properties?: waproto.IWrapTransportSigningPublicKeyResult): waproto.WrapTransportSigningPublicKeyResult; /** * Encodes the specified WrapTransportSigningPublicKeyResult message. Does not implicitly {@link waproto.WrapTransportSigningPublicKeyResult.verify|verify} messages. * @param message WrapTransportSigningPublicKeyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWrapTransportSigningPublicKeyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WrapTransportSigningPublicKeyResult message, length delimited. Does not implicitly {@link waproto.WrapTransportSigningPublicKeyResult.verify|verify} messages. * @param message WrapTransportSigningPublicKeyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWrapTransportSigningPublicKeyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WrapTransportSigningPublicKeyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WrapTransportSigningPublicKeyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WrapTransportSigningPublicKeyResult; /** * Decodes a WrapTransportSigningPublicKeyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WrapTransportSigningPublicKeyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WrapTransportSigningPublicKeyResult; /** * Verifies a WrapTransportSigningPublicKeyResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WrapTransportSigningPublicKeyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WrapTransportSigningPublicKeyResult */ public static fromObject(object: { [k: string]: any }): waproto.WrapTransportSigningPublicKeyResult; /** * Creates a plain object from a WrapTransportSigningPublicKeyResult message. Also converts values to other types if specified. * @param message WrapTransportSigningPublicKeyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WrapTransportSigningPublicKeyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WrapTransportSigningPublicKeyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WrapTransportSigningPublicKeyResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WrapTransportSigningSecretKeyInput. */ interface IWrapTransportSigningSecretKeyInput { /** WrapTransportSigningSecretKeyInput keyBytes */ keyBytes?: (Uint8Array|null); } /** Represents a WrapTransportSigningSecretKeyInput. */ class WrapTransportSigningSecretKeyInput implements IWrapTransportSigningSecretKeyInput { /** * Constructs a new WrapTransportSigningSecretKeyInput. * @param [properties] Properties to set */ constructor(properties?: waproto.IWrapTransportSigningSecretKeyInput); /** WrapTransportSigningSecretKeyInput keyBytes. */ public keyBytes?: (Uint8Array|null); /** * Creates a new WrapTransportSigningSecretKeyInput instance using the specified properties. * @param [properties] Properties to set * @returns WrapTransportSigningSecretKeyInput instance */ public static create(properties?: waproto.IWrapTransportSigningSecretKeyInput): waproto.WrapTransportSigningSecretKeyInput; /** * Encodes the specified WrapTransportSigningSecretKeyInput message. Does not implicitly {@link waproto.WrapTransportSigningSecretKeyInput.verify|verify} messages. * @param message WrapTransportSigningSecretKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWrapTransportSigningSecretKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WrapTransportSigningSecretKeyInput message, length delimited. Does not implicitly {@link waproto.WrapTransportSigningSecretKeyInput.verify|verify} messages. * @param message WrapTransportSigningSecretKeyInput message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWrapTransportSigningSecretKeyInput, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WrapTransportSigningSecretKeyInput message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WrapTransportSigningSecretKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WrapTransportSigningSecretKeyInput; /** * Decodes a WrapTransportSigningSecretKeyInput message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WrapTransportSigningSecretKeyInput * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WrapTransportSigningSecretKeyInput; /** * Verifies a WrapTransportSigningSecretKeyInput message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WrapTransportSigningSecretKeyInput message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WrapTransportSigningSecretKeyInput */ public static fromObject(object: { [k: string]: any }): waproto.WrapTransportSigningSecretKeyInput; /** * Creates a plain object from a WrapTransportSigningSecretKeyInput message. Also converts values to other types if specified. * @param message WrapTransportSigningSecretKeyInput * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WrapTransportSigningSecretKeyInput, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WrapTransportSigningSecretKeyInput to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WrapTransportSigningSecretKeyInput * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WrapTransportSigningSecretKeyResult. */ interface IWrapTransportSigningSecretKeyResult { /** WrapTransportSigningSecretKeyResult prefixedKey */ prefixedKey?: (Uint8Array|null); } /** Represents a WrapTransportSigningSecretKeyResult. */ class WrapTransportSigningSecretKeyResult implements IWrapTransportSigningSecretKeyResult { /** * Constructs a new WrapTransportSigningSecretKeyResult. * @param [properties] Properties to set */ constructor(properties?: waproto.IWrapTransportSigningSecretKeyResult); /** WrapTransportSigningSecretKeyResult prefixedKey. */ public prefixedKey?: (Uint8Array|null); /** * Creates a new WrapTransportSigningSecretKeyResult instance using the specified properties. * @param [properties] Properties to set * @returns WrapTransportSigningSecretKeyResult instance */ public static create(properties?: waproto.IWrapTransportSigningSecretKeyResult): waproto.WrapTransportSigningSecretKeyResult; /** * Encodes the specified WrapTransportSigningSecretKeyResult message. Does not implicitly {@link waproto.WrapTransportSigningSecretKeyResult.verify|verify} messages. * @param message WrapTransportSigningSecretKeyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IWrapTransportSigningSecretKeyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WrapTransportSigningSecretKeyResult message, length delimited. Does not implicitly {@link waproto.WrapTransportSigningSecretKeyResult.verify|verify} messages. * @param message WrapTransportSigningSecretKeyResult message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IWrapTransportSigningSecretKeyResult, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WrapTransportSigningSecretKeyResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WrapTransportSigningSecretKeyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.WrapTransportSigningSecretKeyResult; /** * Decodes a WrapTransportSigningSecretKeyResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WrapTransportSigningSecretKeyResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.WrapTransportSigningSecretKeyResult; /** * Verifies a WrapTransportSigningSecretKeyResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WrapTransportSigningSecretKeyResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WrapTransportSigningSecretKeyResult */ public static fromObject(object: { [k: string]: any }): waproto.WrapTransportSigningSecretKeyResult; /** * Creates a plain object from a WrapTransportSigningSecretKeyResult message. Also converts values to other types if specified. * @param message WrapTransportSigningSecretKeyResult * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.WrapTransportSigningSecretKeyResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WrapTransportSigningSecretKeyResult to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WrapTransportSigningSecretKeyResult * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XMATableSchemaProto. */ interface IXMATableSchemaProto { /** XMATableSchemaProto associatedMessageId */ associatedMessageId?: (string|null); /** XMATableSchemaProto author */ author?: (string|null); /** XMATableSchemaProto ctas */ ctas?: (waproto.ICTAProto[]|null); /** XMATableSchemaProto defaultCTA */ defaultCTA?: (waproto.ICTAProto|null); /** XMATableSchemaProto defaultPreviewMediaId */ defaultPreviewMediaId?: (number|null); /** XMATableSchemaProto externalId */ externalId?: (string|null); /** XMATableSchemaProto faviconMediaId */ faviconMediaId?: (number|null); /** XMATableSchemaProto headerMediaId */ headerMediaId?: (number|null); /** XMATableSchemaProto headerTitle */ headerTitle?: (string|null); /** XMATableSchemaProto isTombstoned */ isTombstoned?: (boolean|null); /** XMATableSchemaProto maxSubtitleNumOfLines */ maxSubtitleNumOfLines?: (number|null); /** XMATableSchemaProto maxTitleNumOfLines */ maxTitleNumOfLines?: (number|null); /** XMATableSchemaProto msgId */ msgId?: (string|null); /** XMATableSchemaProto overlayDescription */ overlayDescription?: (string|null); /** XMATableSchemaProto overlayIconGlyph */ overlayIconGlyph?: (number|null); /** XMATableSchemaProto overlayTitle */ overlayTitle?: (string|null); /** XMATableSchemaProto previewMediaIds */ previewMediaIds?: (number[]|null); /** XMATableSchemaProto subtitleText */ subtitleText?: (string|null); /** XMATableSchemaProto targetExpiringAtSec */ targetExpiringAtSec?: (number|Long|null); /** XMATableSchemaProto targetId */ targetId?: (string|null); /** XMATableSchemaProto targetType */ targetType?: (number|null); /** XMATableSchemaProto targetUsername */ targetUsername?: (string|null); /** XMATableSchemaProto threadJid */ threadJid?: (string|null); /** XMATableSchemaProto titleText */ titleText?: (string|null); /** XMATableSchemaProto xmaId */ xmaId?: (number|null); /** XMATableSchemaProto xmaLayoutType */ xmaLayoutType?: (number|null); /** XMATableSchemaProto defaultPreviewMediaPlaintextHash */ defaultPreviewMediaPlaintextHash?: (string|null); /** XMATableSchemaProto faviconPlaintextHash */ faviconPlaintextHash?: (string|null); /** XMATableSchemaProto headerMediaPlaintextHash */ headerMediaPlaintextHash?: (string|null); } /** Represents a XMATableSchemaProto. */ class XMATableSchemaProto implements IXMATableSchemaProto { /** * Constructs a new XMATableSchemaProto. * @param [properties] Properties to set */ constructor(properties?: waproto.IXMATableSchemaProto); /** XMATableSchemaProto associatedMessageId. */ public associatedMessageId?: (string|null); /** XMATableSchemaProto author. */ public author?: (string|null); /** XMATableSchemaProto ctas. */ public ctas: waproto.ICTAProto[]; /** XMATableSchemaProto defaultCTA. */ public defaultCTA?: (waproto.ICTAProto|null); /** XMATableSchemaProto defaultPreviewMediaId. */ public defaultPreviewMediaId?: (number|null); /** XMATableSchemaProto externalId. */ public externalId?: (string|null); /** XMATableSchemaProto faviconMediaId. */ public faviconMediaId?: (number|null); /** XMATableSchemaProto headerMediaId. */ public headerMediaId?: (number|null); /** XMATableSchemaProto headerTitle. */ public headerTitle?: (string|null); /** XMATableSchemaProto isTombstoned. */ public isTombstoned?: (boolean|null); /** XMATableSchemaProto maxSubtitleNumOfLines. */ public maxSubtitleNumOfLines?: (number|null); /** XMATableSchemaProto maxTitleNumOfLines. */ public maxTitleNumOfLines?: (number|null); /** XMATableSchemaProto msgId. */ public msgId?: (string|null); /** XMATableSchemaProto overlayDescription. */ public overlayDescription?: (string|null); /** XMATableSchemaProto overlayIconGlyph. */ public overlayIconGlyph?: (number|null); /** XMATableSchemaProto overlayTitle. */ public overlayTitle?: (string|null); /** XMATableSchemaProto previewMediaIds. */ public previewMediaIds: number[]; /** XMATableSchemaProto subtitleText. */ public subtitleText?: (string|null); /** XMATableSchemaProto targetExpiringAtSec. */ public targetExpiringAtSec?: (number|Long|null); /** XMATableSchemaProto targetId. */ public targetId?: (string|null); /** XMATableSchemaProto targetType. */ public targetType?: (number|null); /** XMATableSchemaProto targetUsername. */ public targetUsername?: (string|null); /** XMATableSchemaProto threadJid. */ public threadJid?: (string|null); /** XMATableSchemaProto titleText. */ public titleText?: (string|null); /** XMATableSchemaProto xmaId. */ public xmaId?: (number|null); /** XMATableSchemaProto xmaLayoutType. */ public xmaLayoutType?: (number|null); /** XMATableSchemaProto defaultPreviewMediaPlaintextHash. */ public defaultPreviewMediaPlaintextHash?: (string|null); /** XMATableSchemaProto faviconPlaintextHash. */ public faviconPlaintextHash?: (string|null); /** XMATableSchemaProto headerMediaPlaintextHash. */ public headerMediaPlaintextHash?: (string|null); /** * Creates a new XMATableSchemaProto instance using the specified properties. * @param [properties] Properties to set * @returns XMATableSchemaProto instance */ public static create(properties?: waproto.IXMATableSchemaProto): waproto.XMATableSchemaProto; /** * Encodes the specified XMATableSchemaProto message. Does not implicitly {@link waproto.XMATableSchemaProto.verify|verify} messages. * @param message XMATableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: waproto.IXMATableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified XMATableSchemaProto message, length delimited. Does not implicitly {@link waproto.XMATableSchemaProto.verify|verify} messages. * @param message XMATableSchemaProto message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: waproto.IXMATableSchemaProto, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a XMATableSchemaProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns XMATableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.XMATableSchemaProto; /** * Decodes a XMATableSchemaProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns XMATableSchemaProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.XMATableSchemaProto; /** * Verifies a XMATableSchemaProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a XMATableSchemaProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns XMATableSchemaProto */ public static fromObject(object: { [k: string]: any }): waproto.XMATableSchemaProto; /** * Creates a plain object from a XMATableSchemaProto message. Also converts values to other types if specified. * @param message XMATableSchemaProto * @param [options] Conversion options * @returns Plain object */ public static toObject(message: waproto.XMATableSchemaProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this XMATableSchemaProto to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for XMATableSchemaProto * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } }