dcodeindra-baileyspro 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2534 -0
- package/WAProto/Adv/Adv.d.ts +518 -0
- package/WAProto/Adv/Adv.js +1734 -0
- package/WAProto/Adv/Adv.proto +36 -0
- package/WAProto/BotMetadata/BotMetadata.d.ts +5745 -0
- package/WAProto/BotMetadata/BotMetadata.js +16291 -0
- package/WAProto/BotMetadata/BotMetadata.proto +463 -0
- package/WAProto/Cert/Cert.d.ts +497 -0
- package/WAProto/Cert/Cert.js +1503 -0
- package/WAProto/Cert/Cert.proto +28 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.d.ts +391 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.js +1155 -0
- package/WAProto/ChatLockSettings/ChatLockSettings.proto +7 -0
- package/WAProto/CompanionReg/CompanionReg.d.ts +1055 -0
- package/WAProto/CompanionReg/CompanionReg.js +3532 -0
- package/WAProto/CompanionReg/CompanionReg.proto +89 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +187 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.js +520 -0
- package/WAProto/DeviceCapabilities/DeviceCapabilities.proto +14 -0
- package/WAProto/E2E/E2E.d.ts +28417 -0
- package/WAProto/E2E/E2E.js +98438 -0
- package/WAProto/E2E/E2E.proto +2289 -0
- package/WAProto/Ephemeral/Ephemeral.d.ts +95 -0
- package/WAProto/Ephemeral/Ephemeral.js +269 -0
- package/WAProto/Ephemeral/Ephemeral.proto +6 -0
- package/WAProto/HistorySync/HistorySync.d.ts +40728 -0
- package/WAProto/HistorySync/HistorySync.js +142980 -0
- package/WAProto/HistorySync/HistorySync.proto +207 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +189 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.js +585 -0
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.proto +11 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.d.ts +461 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.js +1559 -0
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.proto +37 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +29294 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +101732 -0
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.proto +76 -0
- package/WAProto/MmsRetry/MmsRetry.d.ts +200 -0
- package/WAProto/MmsRetry/MmsRetry.js +586 -0
- package/WAProto/MmsRetry/MmsRetry.proto +17 -0
- package/WAProto/Protocol/Protocol.d.ts +218 -0
- package/WAProto/Protocol/Protocol.js +701 -0
- package/WAProto/Protocol/Protocol.proto +20 -0
- package/WAProto/Reporting/Reporting.d.ts +301 -0
- package/WAProto/Reporting/Reporting.js +989 -0
- package/WAProto/Reporting/Reporting.proto +19 -0
- package/WAProto/ServerSync/ServerSync.d.ts +1050 -0
- package/WAProto/ServerSync/ServerSync.js +3176 -0
- package/WAProto/ServerSync/ServerSync.proto +59 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.d.ts +1507 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.js +4756 -0
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.proto +88 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.d.ts +617 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.js +1940 -0
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.proto +38 -0
- package/WAProto/StatusAttributions/StatusAttributions.d.ts +636 -0
- package/WAProto/StatusAttributions/StatusAttributions.js +2037 -0
- package/WAProto/StatusAttributions/StatusAttributions.proto +61 -0
- package/WAProto/SyncAction/SyncAction.d.ts +7227 -0
- package/WAProto/SyncAction/SyncAction.js +22271 -0
- package/WAProto/SyncAction/SyncAction.proto +423 -0
- package/WAProto/UserPassword/UserPassword.d.ts +298 -0
- package/WAProto/UserPassword/UserPassword.js +898 -0
- package/WAProto/UserPassword/UserPassword.proto +27 -0
- package/WAProto/VnameCert/VnameCert.d.ts +658 -0
- package/WAProto/VnameCert/VnameCert.js +2225 -0
- package/WAProto/VnameCert/VnameCert.proto +60 -0
- package/WAProto/Wa6/Wa6.d.ts +1613 -0
- package/WAProto/Wa6/Wa6.js +6299 -0
- package/WAProto/Wa6/Wa6.proto +229 -0
- package/WAProto/Web/Web.d.ts +31718 -0
- package/WAProto/Web/Web.js +113402 -0
- package/WAProto/Web/Web.proto +545 -0
- package/WAProto/index.d.ts +49 -0
- package/WAProto/index.js +28 -0
- package/WASignalGroup/GroupProtocol.js +1771 -0
- package/WASignalGroup/ciphertext_message.js +10 -0
- package/WASignalGroup/group_cipher.js +103 -0
- package/WASignalGroup/group_session_builder.js +39 -0
- package/WASignalGroup/index.js +5 -0
- package/WASignalGroup/keyhelper.js +17 -0
- package/WASignalGroup/protobufs.js +2 -0
- package/WASignalGroup/queue_job.js +64 -0
- package/WASignalGroup/sender_chain_key.js +38 -0
- package/WASignalGroup/sender_key_distribution_message.js +68 -0
- package/WASignalGroup/sender_key_message.js +79 -0
- package/WASignalGroup/sender_key_name.js +59 -0
- package/WASignalGroup/sender_key_record.js +47 -0
- package/WASignalGroup/sender_key_state.js +110 -0
- package/WASignalGroup/sender_message_key.js +30 -0
- package/check-node-version.js +10 -0
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +51 -0
- package/lib/Defaults/index.js +108 -0
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/Group/ciphertext-message.d.ts +9 -0
- package/lib/Signal/Group/ciphertext-message.js +19 -0
- package/lib/Signal/Group/group-session-builder.d.ts +17 -0
- package/lib/Signal/Group/group-session-builder.js +72 -0
- package/lib/Signal/Group/group_cipher.d.ts +19 -0
- package/lib/Signal/Group/group_cipher.js +99 -0
- package/lib/Signal/Group/index.d.ts +11 -0
- package/lib/Signal/Group/index.js +61 -0
- package/lib/Signal/Group/keyhelper.d.ts +16 -0
- package/lib/Signal/Group/keyhelper.js +66 -0
- package/lib/Signal/Group/queue-job.d.ts +1 -0
- package/lib/Signal/Group/queue-job.js +64 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +14 -0
- package/lib/Signal/Group/sender-chain-key.js +39 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +17 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +71 -0
- package/lib/Signal/Group/sender-key-message.d.ts +19 -0
- package/lib/Signal/Group/sender-key-message.js +73 -0
- package/lib/Signal/Group/sender-key-name.d.ts +19 -0
- package/lib/Signal/Group/sender-key-name.js +59 -0
- package/lib/Signal/Group/sender-key-record.d.ts +32 -0
- package/lib/Signal/Group/sender-key-record.js +53 -0
- package/lib/Signal/Group/sender-key-record.ts +77 -0
- package/lib/Signal/Group/sender-key-state.d.ts +44 -0
- package/lib/Signal/Group/sender-key-state.js +104 -0
- package/lib/Signal/Group/sender-message-key.d.ts +11 -0
- package/lib/Signal/Group/sender-message-key.js +33 -0
- package/lib/Signal/libsignal.d.ts +3 -0
- package/lib/Signal/libsignal.js +153 -0
- package/lib/Socket/Client/index.d.ts +2 -0
- package/lib/Socket/Client/index.js +18 -0
- package/lib/Socket/Client/types.d.ts +15 -0
- package/lib/Socket/Client/types.js +14 -0
- package/lib/Socket/Client/websocket.d.ts +12 -0
- package/lib/Socket/Client/websocket.js +57 -0
- package/lib/Socket/business.d.ts +181 -0
- package/lib/Socket/business.js +259 -0
- package/lib/Socket/chats.d.ts +95 -0
- package/lib/Socket/chats.js +906 -0
- package/lib/Socket/community.d.ts +131 -0
- package/lib/Socket/community.js +369 -0
- package/lib/Socket/groups.d.ts +122 -0
- package/lib/Socket/groups.js +360 -0
- package/lib/Socket/index.d.ts +183 -0
- package/lib/Socket/index.js +10 -0
- package/lib/Socket/messages-recv.d.ts +170 -0
- package/lib/Socket/messages-recv.js +1074 -0
- package/lib/Socket/messages-send.d.ts +161 -0
- package/lib/Socket/messages-send.js +982 -0
- package/lib/Socket/newsletter.d.ts +140 -0
- package/lib/Socket/newsletter.js +242 -0
- package/lib/Socket/socket.d.ts +43 -0
- package/lib/Socket/socket.js +749 -0
- package/lib/Socket/usync.d.ts +36 -0
- package/lib/Socket/usync.js +71 -0
- package/lib/Store/index.d.ts +4 -0
- package/lib/Store/index.js +20 -0
- package/lib/Store/make-cache-manager-store.d.ts +13 -0
- package/lib/Store/make-cache-manager-store.js +77 -0
- package/lib/Store/make-in-memory-store.d.ts +117 -0
- package/lib/Store/make-in-memory-store.js +420 -0
- package/lib/Store/make-ordered-dictionary.d.ts +12 -0
- package/lib/Store/make-ordered-dictionary.js +83 -0
- package/lib/Store/object-repository.d.ts +10 -0
- package/lib/Store/object-repository.js +28 -0
- package/lib/Types/Auth.d.ts +103 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Call.d.ts +13 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.d.ts +115 -0
- package/lib/Types/Chat.js +6 -0
- package/lib/Types/Contact.d.ts +35 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.d.ts +208 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.d.ts +81 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.d.ts +46 -0
- package/lib/Types/Label.js +28 -0
- package/lib/Types/LabelAssociation.d.ts +29 -0
- package/lib/Types/LabelAssociation.js +10 -0
- package/lib/Types/Message.d.ts +480 -0
- package/lib/Types/Message.js +9 -0
- package/lib/Types/MexUpdates.d.ts +9 -0
- package/lib/Types/MexUpdates.js +18 -0
- package/lib/Types/Newsletter.d.ts +92 -0
- package/lib/Types/Newsletter.js +33 -0
- package/lib/Types/Product.d.ts +78 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.d.ts +57 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.d.ts +116 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.d.ts +27 -0
- package/lib/Types/State.js +2 -0
- package/lib/Types/USync.d.ts +25 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.d.ts +70 -0
- package/lib/Types/index.js +42 -0
- package/lib/Utils/auth-utils.d.ts +18 -0
- package/lib/Utils/auth-utils.js +198 -0
- package/lib/Utils/baileys-event-stream.d.ts +16 -0
- package/lib/Utils/baileys-event-stream.js +64 -0
- package/lib/Utils/business.d.ts +22 -0
- package/lib/Utils/business.js +243 -0
- package/lib/Utils/chat-utils.d.ts +72 -0
- package/lib/Utils/chat-utils.js +762 -0
- package/lib/Utils/crypto.d.ts +40 -0
- package/lib/Utils/crypto.js +150 -0
- package/lib/Utils/decode-wa-message.d.ts +252 -0
- package/lib/Utils/decode-wa-message.js +232 -0
- package/lib/Utils/event-buffer.d.ts +35 -0
- package/lib/Utils/event-buffer.js +539 -0
- package/lib/Utils/generics.d.ts +96 -0
- package/lib/Utils/generics.js +553 -0
- package/lib/Utils/history.d.ts +29 -0
- package/lib/Utils/history.js +109 -0
- package/lib/Utils/index.d.ts +19 -0
- package/lib/Utils/index.js +35 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.js +112 -0
- package/lib/Utils/logger.d.ts +11 -0
- package/lib/Utils/logger.js +7 -0
- package/lib/Utils/lt-hash.d.ts +12 -0
- package/lib/Utils/lt-hash.js +53 -0
- package/lib/Utils/make-mutex.d.ts +7 -0
- package/lib/Utils/make-mutex.js +45 -0
- package/lib/Utils/messages-media.d.ts +104 -0
- package/lib/Utils/messages-media.js +751 -0
- package/lib/Utils/messages.d.ts +80 -0
- package/lib/Utils/messages.js +1741 -0
- package/lib/Utils/noise-handler.d.ts +19 -0
- package/lib/Utils/noise-handler.js +150 -0
- package/lib/Utils/process-message.d.ts +41 -0
- package/lib/Utils/process-message.js +391 -0
- package/lib/Utils/signal.d.ts +33 -0
- package/lib/Utils/signal.js +154 -0
- package/lib/Utils/use-mongo-file-auth-state.d.ts +5 -0
- package/lib/Utils/use-mongo-file-auth-state.js +75 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-multi-file-auth-state.js +123 -0
- package/lib/Utils/use-single-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-single-file-auth-state.js +75 -0
- package/lib/Utils/validate-connection.d.ts +10 -0
- package/lib/Utils/validate-connection.js +174 -0
- package/lib/WABinary/constants.d.ts +27 -0
- package/lib/WABinary/constants.js +45 -0
- package/lib/WABinary/decode.d.ts +6 -0
- package/lib/WABinary/decode.js +255 -0
- package/lib/WABinary/encode.d.ts +2 -0
- package/lib/WABinary/encode.js +243 -0
- package/lib/WABinary/generic-utils.d.ts +16 -0
- package/lib/WABinary/generic-utils.js +125 -0
- package/lib/WABinary/index.d.ts +5 -0
- package/lib/WABinary/index.js +21 -0
- package/lib/WABinary/jid-utils.d.ts +34 -0
- package/lib/WABinary/jid-utils.js +73 -0
- package/lib/WABinary/types.d.ts +18 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.d.ts +16 -0
- package/lib/WAM/BinaryInfo.js +14 -0
- package/lib/WAM/constants.d.ts +39 -0
- package/lib/WAM/constants.js +15362 -0
- package/lib/WAM/encode.d.ts +2 -0
- package/lib/WAM/encode.js +156 -0
- package/lib/WAM/index.d.ts +3 -0
- package/lib/WAM/index.js +19 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +25 -0
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +60 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +9 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +22 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +58 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +31 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +8 -0
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +26 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/index.d.ts +6 -0
- package/lib/WAUSync/Protocols/index.js +22 -0
- package/lib/WAUSync/USyncQuery.d.ts +28 -0
- package/lib/WAUSync/USyncQuery.js +88 -0
- package/lib/WAUSync/USyncUser.d.ts +12 -0
- package/lib/WAUSync/USyncUser.js +27 -0
- package/lib/WAUSync/index.d.ts +3 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +45 -0
- package/package.json +63 -0
|
@@ -0,0 +1,1055 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
3
|
+
/** Namespace CompanionReg. */
|
|
4
|
+
export namespace CompanionReg {
|
|
5
|
+
/** Properties of a ClientPairingProps. */
|
|
6
|
+
interface IClientPairingProps {
|
|
7
|
+
/** ClientPairingProps isChatDbLidMigrated */
|
|
8
|
+
isChatDbLidMigrated?: (boolean|null);
|
|
9
|
+
/** ClientPairingProps isSyncdPureLidSession */
|
|
10
|
+
isSyncdPureLidSession?: (boolean|null);
|
|
11
|
+
/** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
|
|
12
|
+
isSyncdSnapshotRecoveryEnabled?: (boolean|null);
|
|
13
|
+
}
|
|
14
|
+
/** Represents a ClientPairingProps. */
|
|
15
|
+
class ClientPairingProps implements IClientPairingProps {
|
|
16
|
+
/**
|
|
17
|
+
* Constructs a new ClientPairingProps.
|
|
18
|
+
* @param [properties] Properties to set
|
|
19
|
+
*/
|
|
20
|
+
constructor(properties?: CompanionReg.IClientPairingProps);
|
|
21
|
+
/** ClientPairingProps isChatDbLidMigrated. */
|
|
22
|
+
public isChatDbLidMigrated?: (boolean|null);
|
|
23
|
+
/** ClientPairingProps isSyncdPureLidSession. */
|
|
24
|
+
public isSyncdPureLidSession?: (boolean|null);
|
|
25
|
+
/** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
|
|
26
|
+
public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
|
|
27
|
+
/** ClientPairingProps _isChatDbLidMigrated. */
|
|
28
|
+
public _isChatDbLidMigrated?: "isChatDbLidMigrated";
|
|
29
|
+
/** ClientPairingProps _isSyncdPureLidSession. */
|
|
30
|
+
public _isSyncdPureLidSession?: "isSyncdPureLidSession";
|
|
31
|
+
/** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
|
|
32
|
+
public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new ClientPairingProps instance using the specified properties.
|
|
35
|
+
* @param [properties] Properties to set
|
|
36
|
+
* @returns ClientPairingProps instance
|
|
37
|
+
*/
|
|
38
|
+
public static create(properties?: CompanionReg.IClientPairingProps): CompanionReg.ClientPairingProps;
|
|
39
|
+
/**
|
|
40
|
+
* Encodes the specified ClientPairingProps message. Does not implicitly {@link CompanionReg.ClientPairingProps.verify|verify} messages.
|
|
41
|
+
* @param message ClientPairingProps message or plain object to encode
|
|
42
|
+
* @param [writer] Writer to encode to
|
|
43
|
+
* @returns Writer
|
|
44
|
+
*/
|
|
45
|
+
public static encode(message: CompanionReg.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46
|
+
/**
|
|
47
|
+
* Encodes the specified ClientPairingProps message, length delimited. Does not implicitly {@link CompanionReg.ClientPairingProps.verify|verify} messages.
|
|
48
|
+
* @param message ClientPairingProps message or plain object to encode
|
|
49
|
+
* @param [writer] Writer to encode to
|
|
50
|
+
* @returns Writer
|
|
51
|
+
*/
|
|
52
|
+
public static encodeDelimited(message: CompanionReg.IClientPairingProps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
53
|
+
/**
|
|
54
|
+
* Decodes a ClientPairingProps message from the specified reader or buffer.
|
|
55
|
+
* @param reader Reader or buffer to decode from
|
|
56
|
+
* @param [length] Message length if known beforehand
|
|
57
|
+
* @returns ClientPairingProps
|
|
58
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60
|
+
*/
|
|
61
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.ClientPairingProps;
|
|
62
|
+
/**
|
|
63
|
+
* Decodes a ClientPairingProps message from the specified reader or buffer, length delimited.
|
|
64
|
+
* @param reader Reader or buffer to decode from
|
|
65
|
+
* @returns ClientPairingProps
|
|
66
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68
|
+
*/
|
|
69
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.ClientPairingProps;
|
|
70
|
+
/**
|
|
71
|
+
* Verifies a ClientPairingProps message.
|
|
72
|
+
* @param message Plain object to verify
|
|
73
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
74
|
+
*/
|
|
75
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
76
|
+
/**
|
|
77
|
+
* Creates a ClientPairingProps message from a plain object. Also converts values to their respective internal types.
|
|
78
|
+
* @param object Plain object
|
|
79
|
+
* @returns ClientPairingProps
|
|
80
|
+
*/
|
|
81
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.ClientPairingProps;
|
|
82
|
+
/**
|
|
83
|
+
* Creates a plain object from a ClientPairingProps message. Also converts values to other types if specified.
|
|
84
|
+
* @param message ClientPairingProps
|
|
85
|
+
* @param [options] Conversion options
|
|
86
|
+
* @returns Plain object
|
|
87
|
+
*/
|
|
88
|
+
public static toObject(message: CompanionReg.ClientPairingProps, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
89
|
+
/**
|
|
90
|
+
* Converts this ClientPairingProps to JSON.
|
|
91
|
+
* @returns JSON object
|
|
92
|
+
*/
|
|
93
|
+
public toJSON(): { [k: string]: any };
|
|
94
|
+
/**
|
|
95
|
+
* Gets the default type url for ClientPairingProps
|
|
96
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
97
|
+
* @returns The default type url
|
|
98
|
+
*/
|
|
99
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
100
|
+
}
|
|
101
|
+
/** Properties of an EncryptedPairingRequest. */
|
|
102
|
+
interface IEncryptedPairingRequest {
|
|
103
|
+
/** EncryptedPairingRequest encryptedPayload */
|
|
104
|
+
encryptedPayload?: (Uint8Array|null);
|
|
105
|
+
/** EncryptedPairingRequest iv */
|
|
106
|
+
iv?: (Uint8Array|null);
|
|
107
|
+
}
|
|
108
|
+
/** Represents an EncryptedPairingRequest. */
|
|
109
|
+
class EncryptedPairingRequest implements IEncryptedPairingRequest {
|
|
110
|
+
/**
|
|
111
|
+
* Constructs a new EncryptedPairingRequest.
|
|
112
|
+
* @param [properties] Properties to set
|
|
113
|
+
*/
|
|
114
|
+
constructor(properties?: CompanionReg.IEncryptedPairingRequest);
|
|
115
|
+
/** EncryptedPairingRequest encryptedPayload. */
|
|
116
|
+
public encryptedPayload?: (Uint8Array|null);
|
|
117
|
+
/** EncryptedPairingRequest iv. */
|
|
118
|
+
public iv?: (Uint8Array|null);
|
|
119
|
+
/** EncryptedPairingRequest _encryptedPayload. */
|
|
120
|
+
public _encryptedPayload?: "encryptedPayload";
|
|
121
|
+
/** EncryptedPairingRequest _iv. */
|
|
122
|
+
public _iv?: "iv";
|
|
123
|
+
/**
|
|
124
|
+
* Creates a new EncryptedPairingRequest instance using the specified properties.
|
|
125
|
+
* @param [properties] Properties to set
|
|
126
|
+
* @returns EncryptedPairingRequest instance
|
|
127
|
+
*/
|
|
128
|
+
public static create(properties?: CompanionReg.IEncryptedPairingRequest): CompanionReg.EncryptedPairingRequest;
|
|
129
|
+
/**
|
|
130
|
+
* Encodes the specified EncryptedPairingRequest message. Does not implicitly {@link CompanionReg.EncryptedPairingRequest.verify|verify} messages.
|
|
131
|
+
* @param message EncryptedPairingRequest message or plain object to encode
|
|
132
|
+
* @param [writer] Writer to encode to
|
|
133
|
+
* @returns Writer
|
|
134
|
+
*/
|
|
135
|
+
public static encode(message: CompanionReg.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
136
|
+
/**
|
|
137
|
+
* Encodes the specified EncryptedPairingRequest message, length delimited. Does not implicitly {@link CompanionReg.EncryptedPairingRequest.verify|verify} messages.
|
|
138
|
+
* @param message EncryptedPairingRequest message or plain object to encode
|
|
139
|
+
* @param [writer] Writer to encode to
|
|
140
|
+
* @returns Writer
|
|
141
|
+
*/
|
|
142
|
+
public static encodeDelimited(message: CompanionReg.IEncryptedPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
143
|
+
/**
|
|
144
|
+
* Decodes an EncryptedPairingRequest message from the specified reader or buffer.
|
|
145
|
+
* @param reader Reader or buffer to decode from
|
|
146
|
+
* @param [length] Message length if known beforehand
|
|
147
|
+
* @returns EncryptedPairingRequest
|
|
148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
150
|
+
*/
|
|
151
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.EncryptedPairingRequest;
|
|
152
|
+
/**
|
|
153
|
+
* Decodes an EncryptedPairingRequest message from the specified reader or buffer, length delimited.
|
|
154
|
+
* @param reader Reader or buffer to decode from
|
|
155
|
+
* @returns EncryptedPairingRequest
|
|
156
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
157
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
158
|
+
*/
|
|
159
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.EncryptedPairingRequest;
|
|
160
|
+
/**
|
|
161
|
+
* Verifies an EncryptedPairingRequest message.
|
|
162
|
+
* @param message Plain object to verify
|
|
163
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
164
|
+
*/
|
|
165
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
166
|
+
/**
|
|
167
|
+
* Creates an EncryptedPairingRequest message from a plain object. Also converts values to their respective internal types.
|
|
168
|
+
* @param object Plain object
|
|
169
|
+
* @returns EncryptedPairingRequest
|
|
170
|
+
*/
|
|
171
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.EncryptedPairingRequest;
|
|
172
|
+
/**
|
|
173
|
+
* Creates a plain object from an EncryptedPairingRequest message. Also converts values to other types if specified.
|
|
174
|
+
* @param message EncryptedPairingRequest
|
|
175
|
+
* @param [options] Conversion options
|
|
176
|
+
* @returns Plain object
|
|
177
|
+
*/
|
|
178
|
+
public static toObject(message: CompanionReg.EncryptedPairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
179
|
+
/**
|
|
180
|
+
* Converts this EncryptedPairingRequest to JSON.
|
|
181
|
+
* @returns JSON object
|
|
182
|
+
*/
|
|
183
|
+
public toJSON(): { [k: string]: any };
|
|
184
|
+
/**
|
|
185
|
+
* Gets the default type url for EncryptedPairingRequest
|
|
186
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
187
|
+
* @returns The default type url
|
|
188
|
+
*/
|
|
189
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
190
|
+
}
|
|
191
|
+
/** Properties of a PairingRequest. */
|
|
192
|
+
interface IPairingRequest {
|
|
193
|
+
/** PairingRequest companionPublicKey */
|
|
194
|
+
companionPublicKey?: (Uint8Array|null);
|
|
195
|
+
/** PairingRequest companionIdentityKey */
|
|
196
|
+
companionIdentityKey?: (Uint8Array|null);
|
|
197
|
+
/** PairingRequest advSecret */
|
|
198
|
+
advSecret?: (Uint8Array|null);
|
|
199
|
+
}
|
|
200
|
+
/** Represents a PairingRequest. */
|
|
201
|
+
class PairingRequest implements IPairingRequest {
|
|
202
|
+
/**
|
|
203
|
+
* Constructs a new PairingRequest.
|
|
204
|
+
* @param [properties] Properties to set
|
|
205
|
+
*/
|
|
206
|
+
constructor(properties?: CompanionReg.IPairingRequest);
|
|
207
|
+
/** PairingRequest companionPublicKey. */
|
|
208
|
+
public companionPublicKey?: (Uint8Array|null);
|
|
209
|
+
/** PairingRequest companionIdentityKey. */
|
|
210
|
+
public companionIdentityKey?: (Uint8Array|null);
|
|
211
|
+
/** PairingRequest advSecret. */
|
|
212
|
+
public advSecret?: (Uint8Array|null);
|
|
213
|
+
/** PairingRequest _companionPublicKey. */
|
|
214
|
+
public _companionPublicKey?: "companionPublicKey";
|
|
215
|
+
/** PairingRequest _companionIdentityKey. */
|
|
216
|
+
public _companionIdentityKey?: "companionIdentityKey";
|
|
217
|
+
/** PairingRequest _advSecret. */
|
|
218
|
+
public _advSecret?: "advSecret";
|
|
219
|
+
/**
|
|
220
|
+
* Creates a new PairingRequest instance using the specified properties.
|
|
221
|
+
* @param [properties] Properties to set
|
|
222
|
+
* @returns PairingRequest instance
|
|
223
|
+
*/
|
|
224
|
+
public static create(properties?: CompanionReg.IPairingRequest): CompanionReg.PairingRequest;
|
|
225
|
+
/**
|
|
226
|
+
* Encodes the specified PairingRequest message. Does not implicitly {@link CompanionReg.PairingRequest.verify|verify} messages.
|
|
227
|
+
* @param message PairingRequest message or plain object to encode
|
|
228
|
+
* @param [writer] Writer to encode to
|
|
229
|
+
* @returns Writer
|
|
230
|
+
*/
|
|
231
|
+
public static encode(message: CompanionReg.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
232
|
+
/**
|
|
233
|
+
* Encodes the specified PairingRequest message, length delimited. Does not implicitly {@link CompanionReg.PairingRequest.verify|verify} messages.
|
|
234
|
+
* @param message PairingRequest message or plain object to encode
|
|
235
|
+
* @param [writer] Writer to encode to
|
|
236
|
+
* @returns Writer
|
|
237
|
+
*/
|
|
238
|
+
public static encodeDelimited(message: CompanionReg.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
239
|
+
/**
|
|
240
|
+
* Decodes a PairingRequest message from the specified reader or buffer.
|
|
241
|
+
* @param reader Reader or buffer to decode from
|
|
242
|
+
* @param [length] Message length if known beforehand
|
|
243
|
+
* @returns PairingRequest
|
|
244
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
245
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
246
|
+
*/
|
|
247
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.PairingRequest;
|
|
248
|
+
/**
|
|
249
|
+
* Decodes a PairingRequest message from the specified reader or buffer, length delimited.
|
|
250
|
+
* @param reader Reader or buffer to decode from
|
|
251
|
+
* @returns PairingRequest
|
|
252
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
253
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
254
|
+
*/
|
|
255
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.PairingRequest;
|
|
256
|
+
/**
|
|
257
|
+
* Verifies a PairingRequest message.
|
|
258
|
+
* @param message Plain object to verify
|
|
259
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
260
|
+
*/
|
|
261
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
262
|
+
/**
|
|
263
|
+
* Creates a PairingRequest message from a plain object. Also converts values to their respective internal types.
|
|
264
|
+
* @param object Plain object
|
|
265
|
+
* @returns PairingRequest
|
|
266
|
+
*/
|
|
267
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.PairingRequest;
|
|
268
|
+
/**
|
|
269
|
+
* Creates a plain object from a PairingRequest message. Also converts values to other types if specified.
|
|
270
|
+
* @param message PairingRequest
|
|
271
|
+
* @param [options] Conversion options
|
|
272
|
+
* @returns Plain object
|
|
273
|
+
*/
|
|
274
|
+
public static toObject(message: CompanionReg.PairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
275
|
+
/**
|
|
276
|
+
* Converts this PairingRequest to JSON.
|
|
277
|
+
* @returns JSON object
|
|
278
|
+
*/
|
|
279
|
+
public toJSON(): { [k: string]: any };
|
|
280
|
+
/**
|
|
281
|
+
* Gets the default type url for PairingRequest
|
|
282
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
283
|
+
* @returns The default type url
|
|
284
|
+
*/
|
|
285
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
286
|
+
}
|
|
287
|
+
/** Properties of a PrimaryEphemeralIdentity. */
|
|
288
|
+
interface IPrimaryEphemeralIdentity {
|
|
289
|
+
/** PrimaryEphemeralIdentity publicKey */
|
|
290
|
+
publicKey?: (Uint8Array|null);
|
|
291
|
+
/** PrimaryEphemeralIdentity nonce */
|
|
292
|
+
nonce?: (Uint8Array|null);
|
|
293
|
+
}
|
|
294
|
+
/** Represents a PrimaryEphemeralIdentity. */
|
|
295
|
+
class PrimaryEphemeralIdentity implements IPrimaryEphemeralIdentity {
|
|
296
|
+
/**
|
|
297
|
+
* Constructs a new PrimaryEphemeralIdentity.
|
|
298
|
+
* @param [properties] Properties to set
|
|
299
|
+
*/
|
|
300
|
+
constructor(properties?: CompanionReg.IPrimaryEphemeralIdentity);
|
|
301
|
+
/** PrimaryEphemeralIdentity publicKey. */
|
|
302
|
+
public publicKey?: (Uint8Array|null);
|
|
303
|
+
/** PrimaryEphemeralIdentity nonce. */
|
|
304
|
+
public nonce?: (Uint8Array|null);
|
|
305
|
+
/** PrimaryEphemeralIdentity _publicKey. */
|
|
306
|
+
public _publicKey?: "publicKey";
|
|
307
|
+
/** PrimaryEphemeralIdentity _nonce. */
|
|
308
|
+
public _nonce?: "nonce";
|
|
309
|
+
/**
|
|
310
|
+
* Creates a new PrimaryEphemeralIdentity instance using the specified properties.
|
|
311
|
+
* @param [properties] Properties to set
|
|
312
|
+
* @returns PrimaryEphemeralIdentity instance
|
|
313
|
+
*/
|
|
314
|
+
public static create(properties?: CompanionReg.IPrimaryEphemeralIdentity): CompanionReg.PrimaryEphemeralIdentity;
|
|
315
|
+
/**
|
|
316
|
+
* Encodes the specified PrimaryEphemeralIdentity message. Does not implicitly {@link CompanionReg.PrimaryEphemeralIdentity.verify|verify} messages.
|
|
317
|
+
* @param message PrimaryEphemeralIdentity message or plain object to encode
|
|
318
|
+
* @param [writer] Writer to encode to
|
|
319
|
+
* @returns Writer
|
|
320
|
+
*/
|
|
321
|
+
public static encode(message: CompanionReg.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
322
|
+
/**
|
|
323
|
+
* Encodes the specified PrimaryEphemeralIdentity message, length delimited. Does not implicitly {@link CompanionReg.PrimaryEphemeralIdentity.verify|verify} messages.
|
|
324
|
+
* @param message PrimaryEphemeralIdentity message or plain object to encode
|
|
325
|
+
* @param [writer] Writer to encode to
|
|
326
|
+
* @returns Writer
|
|
327
|
+
*/
|
|
328
|
+
public static encodeDelimited(message: CompanionReg.IPrimaryEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
329
|
+
/**
|
|
330
|
+
* Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer.
|
|
331
|
+
* @param reader Reader or buffer to decode from
|
|
332
|
+
* @param [length] Message length if known beforehand
|
|
333
|
+
* @returns PrimaryEphemeralIdentity
|
|
334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
336
|
+
*/
|
|
337
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.PrimaryEphemeralIdentity;
|
|
338
|
+
/**
|
|
339
|
+
* Decodes a PrimaryEphemeralIdentity message from the specified reader or buffer, length delimited.
|
|
340
|
+
* @param reader Reader or buffer to decode from
|
|
341
|
+
* @returns PrimaryEphemeralIdentity
|
|
342
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
343
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
344
|
+
*/
|
|
345
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.PrimaryEphemeralIdentity;
|
|
346
|
+
/**
|
|
347
|
+
* Verifies a PrimaryEphemeralIdentity message.
|
|
348
|
+
* @param message Plain object to verify
|
|
349
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
350
|
+
*/
|
|
351
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
352
|
+
/**
|
|
353
|
+
* Creates a PrimaryEphemeralIdentity message from a plain object. Also converts values to their respective internal types.
|
|
354
|
+
* @param object Plain object
|
|
355
|
+
* @returns PrimaryEphemeralIdentity
|
|
356
|
+
*/
|
|
357
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.PrimaryEphemeralIdentity;
|
|
358
|
+
/**
|
|
359
|
+
* Creates a plain object from a PrimaryEphemeralIdentity message. Also converts values to other types if specified.
|
|
360
|
+
* @param message PrimaryEphemeralIdentity
|
|
361
|
+
* @param [options] Conversion options
|
|
362
|
+
* @returns Plain object
|
|
363
|
+
*/
|
|
364
|
+
public static toObject(message: CompanionReg.PrimaryEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
365
|
+
/**
|
|
366
|
+
* Converts this PrimaryEphemeralIdentity to JSON.
|
|
367
|
+
* @returns JSON object
|
|
368
|
+
*/
|
|
369
|
+
public toJSON(): { [k: string]: any };
|
|
370
|
+
/**
|
|
371
|
+
* Gets the default type url for PrimaryEphemeralIdentity
|
|
372
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
373
|
+
* @returns The default type url
|
|
374
|
+
*/
|
|
375
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
376
|
+
}
|
|
377
|
+
/** Properties of a ProloguePayload. */
|
|
378
|
+
interface IProloguePayload {
|
|
379
|
+
/** ProloguePayload companionEphemeralIdentity */
|
|
380
|
+
companionEphemeralIdentity?: (Uint8Array|null);
|
|
381
|
+
/** ProloguePayload commitment */
|
|
382
|
+
commitment?: (CompanionReg.ICompanionCommitment|null);
|
|
383
|
+
}
|
|
384
|
+
/** Represents a ProloguePayload. */
|
|
385
|
+
class ProloguePayload implements IProloguePayload {
|
|
386
|
+
/**
|
|
387
|
+
* Constructs a new ProloguePayload.
|
|
388
|
+
* @param [properties] Properties to set
|
|
389
|
+
*/
|
|
390
|
+
constructor(properties?: CompanionReg.IProloguePayload);
|
|
391
|
+
/** ProloguePayload companionEphemeralIdentity. */
|
|
392
|
+
public companionEphemeralIdentity?: (Uint8Array|null);
|
|
393
|
+
/** ProloguePayload commitment. */
|
|
394
|
+
public commitment?: (CompanionReg.ICompanionCommitment|null);
|
|
395
|
+
/** ProloguePayload _companionEphemeralIdentity. */
|
|
396
|
+
public _companionEphemeralIdentity?: "companionEphemeralIdentity";
|
|
397
|
+
/** ProloguePayload _commitment. */
|
|
398
|
+
public _commitment?: "commitment";
|
|
399
|
+
/**
|
|
400
|
+
* Creates a new ProloguePayload instance using the specified properties.
|
|
401
|
+
* @param [properties] Properties to set
|
|
402
|
+
* @returns ProloguePayload instance
|
|
403
|
+
*/
|
|
404
|
+
public static create(properties?: CompanionReg.IProloguePayload): CompanionReg.ProloguePayload;
|
|
405
|
+
/**
|
|
406
|
+
* Encodes the specified ProloguePayload message. Does not implicitly {@link CompanionReg.ProloguePayload.verify|verify} messages.
|
|
407
|
+
* @param message ProloguePayload message or plain object to encode
|
|
408
|
+
* @param [writer] Writer to encode to
|
|
409
|
+
* @returns Writer
|
|
410
|
+
*/
|
|
411
|
+
public static encode(message: CompanionReg.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
412
|
+
/**
|
|
413
|
+
* Encodes the specified ProloguePayload message, length delimited. Does not implicitly {@link CompanionReg.ProloguePayload.verify|verify} messages.
|
|
414
|
+
* @param message ProloguePayload message or plain object to encode
|
|
415
|
+
* @param [writer] Writer to encode to
|
|
416
|
+
* @returns Writer
|
|
417
|
+
*/
|
|
418
|
+
public static encodeDelimited(message: CompanionReg.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
419
|
+
/**
|
|
420
|
+
* Decodes a ProloguePayload message from the specified reader or buffer.
|
|
421
|
+
* @param reader Reader or buffer to decode from
|
|
422
|
+
* @param [length] Message length if known beforehand
|
|
423
|
+
* @returns ProloguePayload
|
|
424
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
425
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
426
|
+
*/
|
|
427
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.ProloguePayload;
|
|
428
|
+
/**
|
|
429
|
+
* Decodes a ProloguePayload message from the specified reader or buffer, length delimited.
|
|
430
|
+
* @param reader Reader or buffer to decode from
|
|
431
|
+
* @returns ProloguePayload
|
|
432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
434
|
+
*/
|
|
435
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.ProloguePayload;
|
|
436
|
+
/**
|
|
437
|
+
* Verifies a ProloguePayload message.
|
|
438
|
+
* @param message Plain object to verify
|
|
439
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
440
|
+
*/
|
|
441
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
442
|
+
/**
|
|
443
|
+
* Creates a ProloguePayload message from a plain object. Also converts values to their respective internal types.
|
|
444
|
+
* @param object Plain object
|
|
445
|
+
* @returns ProloguePayload
|
|
446
|
+
*/
|
|
447
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.ProloguePayload;
|
|
448
|
+
/**
|
|
449
|
+
* Creates a plain object from a ProloguePayload message. Also converts values to other types if specified.
|
|
450
|
+
* @param message ProloguePayload
|
|
451
|
+
* @param [options] Conversion options
|
|
452
|
+
* @returns Plain object
|
|
453
|
+
*/
|
|
454
|
+
public static toObject(message: CompanionReg.ProloguePayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
455
|
+
/**
|
|
456
|
+
* Converts this ProloguePayload to JSON.
|
|
457
|
+
* @returns JSON object
|
|
458
|
+
*/
|
|
459
|
+
public toJSON(): { [k: string]: any };
|
|
460
|
+
/**
|
|
461
|
+
* Gets the default type url for ProloguePayload
|
|
462
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
463
|
+
* @returns The default type url
|
|
464
|
+
*/
|
|
465
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
466
|
+
}
|
|
467
|
+
/** Properties of a CompanionCommitment. */
|
|
468
|
+
interface ICompanionCommitment {
|
|
469
|
+
/** CompanionCommitment hash */
|
|
470
|
+
hash?: (Uint8Array|null);
|
|
471
|
+
}
|
|
472
|
+
/** Represents a CompanionCommitment. */
|
|
473
|
+
class CompanionCommitment implements ICompanionCommitment {
|
|
474
|
+
/**
|
|
475
|
+
* Constructs a new CompanionCommitment.
|
|
476
|
+
* @param [properties] Properties to set
|
|
477
|
+
*/
|
|
478
|
+
constructor(properties?: CompanionReg.ICompanionCommitment);
|
|
479
|
+
/** CompanionCommitment hash. */
|
|
480
|
+
public hash?: (Uint8Array|null);
|
|
481
|
+
/** CompanionCommitment _hash. */
|
|
482
|
+
public _hash?: "hash";
|
|
483
|
+
/**
|
|
484
|
+
* Creates a new CompanionCommitment instance using the specified properties.
|
|
485
|
+
* @param [properties] Properties to set
|
|
486
|
+
* @returns CompanionCommitment instance
|
|
487
|
+
*/
|
|
488
|
+
public static create(properties?: CompanionReg.ICompanionCommitment): CompanionReg.CompanionCommitment;
|
|
489
|
+
/**
|
|
490
|
+
* Encodes the specified CompanionCommitment message. Does not implicitly {@link CompanionReg.CompanionCommitment.verify|verify} messages.
|
|
491
|
+
* @param message CompanionCommitment message or plain object to encode
|
|
492
|
+
* @param [writer] Writer to encode to
|
|
493
|
+
* @returns Writer
|
|
494
|
+
*/
|
|
495
|
+
public static encode(message: CompanionReg.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
496
|
+
/**
|
|
497
|
+
* Encodes the specified CompanionCommitment message, length delimited. Does not implicitly {@link CompanionReg.CompanionCommitment.verify|verify} messages.
|
|
498
|
+
* @param message CompanionCommitment message or plain object to encode
|
|
499
|
+
* @param [writer] Writer to encode to
|
|
500
|
+
* @returns Writer
|
|
501
|
+
*/
|
|
502
|
+
public static encodeDelimited(message: CompanionReg.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
503
|
+
/**
|
|
504
|
+
* Decodes a CompanionCommitment message from the specified reader or buffer.
|
|
505
|
+
* @param reader Reader or buffer to decode from
|
|
506
|
+
* @param [length] Message length if known beforehand
|
|
507
|
+
* @returns CompanionCommitment
|
|
508
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
509
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
510
|
+
*/
|
|
511
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.CompanionCommitment;
|
|
512
|
+
/**
|
|
513
|
+
* Decodes a CompanionCommitment message from the specified reader or buffer, length delimited.
|
|
514
|
+
* @param reader Reader or buffer to decode from
|
|
515
|
+
* @returns CompanionCommitment
|
|
516
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
517
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
518
|
+
*/
|
|
519
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.CompanionCommitment;
|
|
520
|
+
/**
|
|
521
|
+
* Verifies a CompanionCommitment message.
|
|
522
|
+
* @param message Plain object to verify
|
|
523
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
524
|
+
*/
|
|
525
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
526
|
+
/**
|
|
527
|
+
* Creates a CompanionCommitment message from a plain object. Also converts values to their respective internal types.
|
|
528
|
+
* @param object Plain object
|
|
529
|
+
* @returns CompanionCommitment
|
|
530
|
+
*/
|
|
531
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.CompanionCommitment;
|
|
532
|
+
/**
|
|
533
|
+
* Creates a plain object from a CompanionCommitment message. Also converts values to other types if specified.
|
|
534
|
+
* @param message CompanionCommitment
|
|
535
|
+
* @param [options] Conversion options
|
|
536
|
+
* @returns Plain object
|
|
537
|
+
*/
|
|
538
|
+
public static toObject(message: CompanionReg.CompanionCommitment, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
539
|
+
/**
|
|
540
|
+
* Converts this CompanionCommitment to JSON.
|
|
541
|
+
* @returns JSON object
|
|
542
|
+
*/
|
|
543
|
+
public toJSON(): { [k: string]: any };
|
|
544
|
+
/**
|
|
545
|
+
* Gets the default type url for CompanionCommitment
|
|
546
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
547
|
+
* @returns The default type url
|
|
548
|
+
*/
|
|
549
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
550
|
+
}
|
|
551
|
+
/** Properties of a CompanionEphemeralIdentity. */
|
|
552
|
+
interface ICompanionEphemeralIdentity {
|
|
553
|
+
/** CompanionEphemeralIdentity publicKey */
|
|
554
|
+
publicKey?: (Uint8Array|null);
|
|
555
|
+
/** CompanionEphemeralIdentity deviceType */
|
|
556
|
+
deviceType?: (CompanionReg.DeviceProps.PlatformType|null);
|
|
557
|
+
/** CompanionEphemeralIdentity ref */
|
|
558
|
+
ref?: (string|null);
|
|
559
|
+
}
|
|
560
|
+
/** Represents a CompanionEphemeralIdentity. */
|
|
561
|
+
class CompanionEphemeralIdentity implements ICompanionEphemeralIdentity {
|
|
562
|
+
/**
|
|
563
|
+
* Constructs a new CompanionEphemeralIdentity.
|
|
564
|
+
* @param [properties] Properties to set
|
|
565
|
+
*/
|
|
566
|
+
constructor(properties?: CompanionReg.ICompanionEphemeralIdentity);
|
|
567
|
+
/** CompanionEphemeralIdentity publicKey. */
|
|
568
|
+
public publicKey?: (Uint8Array|null);
|
|
569
|
+
/** CompanionEphemeralIdentity deviceType. */
|
|
570
|
+
public deviceType?: (CompanionReg.DeviceProps.PlatformType|null);
|
|
571
|
+
/** CompanionEphemeralIdentity ref. */
|
|
572
|
+
public ref?: (string|null);
|
|
573
|
+
/** CompanionEphemeralIdentity _publicKey. */
|
|
574
|
+
public _publicKey?: "publicKey";
|
|
575
|
+
/** CompanionEphemeralIdentity _deviceType. */
|
|
576
|
+
public _deviceType?: "deviceType";
|
|
577
|
+
/** CompanionEphemeralIdentity _ref. */
|
|
578
|
+
public _ref?: "ref";
|
|
579
|
+
/**
|
|
580
|
+
* Creates a new CompanionEphemeralIdentity instance using the specified properties.
|
|
581
|
+
* @param [properties] Properties to set
|
|
582
|
+
* @returns CompanionEphemeralIdentity instance
|
|
583
|
+
*/
|
|
584
|
+
public static create(properties?: CompanionReg.ICompanionEphemeralIdentity): CompanionReg.CompanionEphemeralIdentity;
|
|
585
|
+
/**
|
|
586
|
+
* Encodes the specified CompanionEphemeralIdentity message. Does not implicitly {@link CompanionReg.CompanionEphemeralIdentity.verify|verify} messages.
|
|
587
|
+
* @param message CompanionEphemeralIdentity message or plain object to encode
|
|
588
|
+
* @param [writer] Writer to encode to
|
|
589
|
+
* @returns Writer
|
|
590
|
+
*/
|
|
591
|
+
public static encode(message: CompanionReg.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
592
|
+
/**
|
|
593
|
+
* Encodes the specified CompanionEphemeralIdentity message, length delimited. Does not implicitly {@link CompanionReg.CompanionEphemeralIdentity.verify|verify} messages.
|
|
594
|
+
* @param message CompanionEphemeralIdentity message or plain object to encode
|
|
595
|
+
* @param [writer] Writer to encode to
|
|
596
|
+
* @returns Writer
|
|
597
|
+
*/
|
|
598
|
+
public static encodeDelimited(message: CompanionReg.ICompanionEphemeralIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
599
|
+
/**
|
|
600
|
+
* Decodes a CompanionEphemeralIdentity message from the specified reader or buffer.
|
|
601
|
+
* @param reader Reader or buffer to decode from
|
|
602
|
+
* @param [length] Message length if known beforehand
|
|
603
|
+
* @returns CompanionEphemeralIdentity
|
|
604
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
605
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
606
|
+
*/
|
|
607
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.CompanionEphemeralIdentity;
|
|
608
|
+
/**
|
|
609
|
+
* Decodes a CompanionEphemeralIdentity message from the specified reader or buffer, length delimited.
|
|
610
|
+
* @param reader Reader or buffer to decode from
|
|
611
|
+
* @returns CompanionEphemeralIdentity
|
|
612
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
613
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
614
|
+
*/
|
|
615
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.CompanionEphemeralIdentity;
|
|
616
|
+
/**
|
|
617
|
+
* Verifies a CompanionEphemeralIdentity message.
|
|
618
|
+
* @param message Plain object to verify
|
|
619
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
620
|
+
*/
|
|
621
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
622
|
+
/**
|
|
623
|
+
* Creates a CompanionEphemeralIdentity message from a plain object. Also converts values to their respective internal types.
|
|
624
|
+
* @param object Plain object
|
|
625
|
+
* @returns CompanionEphemeralIdentity
|
|
626
|
+
*/
|
|
627
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.CompanionEphemeralIdentity;
|
|
628
|
+
/**
|
|
629
|
+
* Creates a plain object from a CompanionEphemeralIdentity message. Also converts values to other types if specified.
|
|
630
|
+
* @param message CompanionEphemeralIdentity
|
|
631
|
+
* @param [options] Conversion options
|
|
632
|
+
* @returns Plain object
|
|
633
|
+
*/
|
|
634
|
+
public static toObject(message: CompanionReg.CompanionEphemeralIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
635
|
+
/**
|
|
636
|
+
* Converts this CompanionEphemeralIdentity to JSON.
|
|
637
|
+
* @returns JSON object
|
|
638
|
+
*/
|
|
639
|
+
public toJSON(): { [k: string]: any };
|
|
640
|
+
/**
|
|
641
|
+
* Gets the default type url for CompanionEphemeralIdentity
|
|
642
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
643
|
+
* @returns The default type url
|
|
644
|
+
*/
|
|
645
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
646
|
+
}
|
|
647
|
+
/** Properties of a DeviceProps. */
|
|
648
|
+
interface IDeviceProps {
|
|
649
|
+
/** DeviceProps os */
|
|
650
|
+
os?: (string|null);
|
|
651
|
+
/** DeviceProps version */
|
|
652
|
+
version?: (CompanionReg.DeviceProps.IAppVersion|null);
|
|
653
|
+
/** DeviceProps platformType */
|
|
654
|
+
platformType?: (CompanionReg.DeviceProps.PlatformType|null);
|
|
655
|
+
/** DeviceProps requireFullSync */
|
|
656
|
+
requireFullSync?: (boolean|null);
|
|
657
|
+
/** DeviceProps historySyncConfig */
|
|
658
|
+
historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
|
|
659
|
+
}
|
|
660
|
+
/** Represents a DeviceProps. */
|
|
661
|
+
class DeviceProps implements IDeviceProps {
|
|
662
|
+
/**
|
|
663
|
+
* Constructs a new DeviceProps.
|
|
664
|
+
* @param [properties] Properties to set
|
|
665
|
+
*/
|
|
666
|
+
constructor(properties?: CompanionReg.IDeviceProps);
|
|
667
|
+
/** DeviceProps os. */
|
|
668
|
+
public os?: (string|null);
|
|
669
|
+
/** DeviceProps version. */
|
|
670
|
+
public version?: (CompanionReg.DeviceProps.IAppVersion|null);
|
|
671
|
+
/** DeviceProps platformType. */
|
|
672
|
+
public platformType?: (CompanionReg.DeviceProps.PlatformType|null);
|
|
673
|
+
/** DeviceProps requireFullSync. */
|
|
674
|
+
public requireFullSync?: (boolean|null);
|
|
675
|
+
/** DeviceProps historySyncConfig. */
|
|
676
|
+
public historySyncConfig?: (CompanionReg.DeviceProps.IHistorySyncConfig|null);
|
|
677
|
+
/** DeviceProps _os. */
|
|
678
|
+
public _os?: "os";
|
|
679
|
+
/** DeviceProps _version. */
|
|
680
|
+
public _version?: "version";
|
|
681
|
+
/** DeviceProps _platformType. */
|
|
682
|
+
public _platformType?: "platformType";
|
|
683
|
+
/** DeviceProps _requireFullSync. */
|
|
684
|
+
public _requireFullSync?: "requireFullSync";
|
|
685
|
+
/** DeviceProps _historySyncConfig. */
|
|
686
|
+
public _historySyncConfig?: "historySyncConfig";
|
|
687
|
+
/**
|
|
688
|
+
* Creates a new DeviceProps instance using the specified properties.
|
|
689
|
+
* @param [properties] Properties to set
|
|
690
|
+
* @returns DeviceProps instance
|
|
691
|
+
*/
|
|
692
|
+
public static create(properties?: CompanionReg.IDeviceProps): CompanionReg.DeviceProps;
|
|
693
|
+
/**
|
|
694
|
+
* Encodes the specified DeviceProps message. Does not implicitly {@link CompanionReg.DeviceProps.verify|verify} messages.
|
|
695
|
+
* @param message DeviceProps message or plain object to encode
|
|
696
|
+
* @param [writer] Writer to encode to
|
|
697
|
+
* @returns Writer
|
|
698
|
+
*/
|
|
699
|
+
public static encode(message: CompanionReg.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
700
|
+
/**
|
|
701
|
+
* Encodes the specified DeviceProps message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.verify|verify} messages.
|
|
702
|
+
* @param message DeviceProps message or plain object to encode
|
|
703
|
+
* @param [writer] Writer to encode to
|
|
704
|
+
* @returns Writer
|
|
705
|
+
*/
|
|
706
|
+
public static encodeDelimited(message: CompanionReg.IDeviceProps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
707
|
+
/**
|
|
708
|
+
* Decodes a DeviceProps message from the specified reader or buffer.
|
|
709
|
+
* @param reader Reader or buffer to decode from
|
|
710
|
+
* @param [length] Message length if known beforehand
|
|
711
|
+
* @returns DeviceProps
|
|
712
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
713
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
714
|
+
*/
|
|
715
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.DeviceProps;
|
|
716
|
+
/**
|
|
717
|
+
* Decodes a DeviceProps message from the specified reader or buffer, length delimited.
|
|
718
|
+
* @param reader Reader or buffer to decode from
|
|
719
|
+
* @returns DeviceProps
|
|
720
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
721
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
722
|
+
*/
|
|
723
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.DeviceProps;
|
|
724
|
+
/**
|
|
725
|
+
* Verifies a DeviceProps message.
|
|
726
|
+
* @param message Plain object to verify
|
|
727
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
728
|
+
*/
|
|
729
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
730
|
+
/**
|
|
731
|
+
* Creates a DeviceProps message from a plain object. Also converts values to their respective internal types.
|
|
732
|
+
* @param object Plain object
|
|
733
|
+
* @returns DeviceProps
|
|
734
|
+
*/
|
|
735
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps;
|
|
736
|
+
/**
|
|
737
|
+
* Creates a plain object from a DeviceProps message. Also converts values to other types if specified.
|
|
738
|
+
* @param message DeviceProps
|
|
739
|
+
* @param [options] Conversion options
|
|
740
|
+
* @returns Plain object
|
|
741
|
+
*/
|
|
742
|
+
public static toObject(message: CompanionReg.DeviceProps, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
743
|
+
/**
|
|
744
|
+
* Converts this DeviceProps to JSON.
|
|
745
|
+
* @returns JSON object
|
|
746
|
+
*/
|
|
747
|
+
public toJSON(): { [k: string]: any };
|
|
748
|
+
/**
|
|
749
|
+
* Gets the default type url for DeviceProps
|
|
750
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
751
|
+
* @returns The default type url
|
|
752
|
+
*/
|
|
753
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
754
|
+
}
|
|
755
|
+
namespace DeviceProps {
|
|
756
|
+
/** Properties of an AppVersion. */
|
|
757
|
+
interface IAppVersion {
|
|
758
|
+
/** AppVersion primary */
|
|
759
|
+
primary?: (number|null);
|
|
760
|
+
/** AppVersion secondary */
|
|
761
|
+
secondary?: (number|null);
|
|
762
|
+
/** AppVersion tertiary */
|
|
763
|
+
tertiary?: (number|null);
|
|
764
|
+
/** AppVersion quaternary */
|
|
765
|
+
quaternary?: (number|null);
|
|
766
|
+
/** AppVersion quinary */
|
|
767
|
+
quinary?: (number|null);
|
|
768
|
+
}
|
|
769
|
+
/** Represents an AppVersion. */
|
|
770
|
+
class AppVersion implements IAppVersion {
|
|
771
|
+
/**
|
|
772
|
+
* Constructs a new AppVersion.
|
|
773
|
+
* @param [properties] Properties to set
|
|
774
|
+
*/
|
|
775
|
+
constructor(properties?: CompanionReg.DeviceProps.IAppVersion);
|
|
776
|
+
/** AppVersion primary. */
|
|
777
|
+
public primary?: (number|null);
|
|
778
|
+
/** AppVersion secondary. */
|
|
779
|
+
public secondary?: (number|null);
|
|
780
|
+
/** AppVersion tertiary. */
|
|
781
|
+
public tertiary?: (number|null);
|
|
782
|
+
/** AppVersion quaternary. */
|
|
783
|
+
public quaternary?: (number|null);
|
|
784
|
+
/** AppVersion quinary. */
|
|
785
|
+
public quinary?: (number|null);
|
|
786
|
+
/** AppVersion _primary. */
|
|
787
|
+
public _primary?: "primary";
|
|
788
|
+
/** AppVersion _secondary. */
|
|
789
|
+
public _secondary?: "secondary";
|
|
790
|
+
/** AppVersion _tertiary. */
|
|
791
|
+
public _tertiary?: "tertiary";
|
|
792
|
+
/** AppVersion _quaternary. */
|
|
793
|
+
public _quaternary?: "quaternary";
|
|
794
|
+
/** AppVersion _quinary. */
|
|
795
|
+
public _quinary?: "quinary";
|
|
796
|
+
/**
|
|
797
|
+
* Creates a new AppVersion instance using the specified properties.
|
|
798
|
+
* @param [properties] Properties to set
|
|
799
|
+
* @returns AppVersion instance
|
|
800
|
+
*/
|
|
801
|
+
public static create(properties?: CompanionReg.DeviceProps.IAppVersion): CompanionReg.DeviceProps.AppVersion;
|
|
802
|
+
/**
|
|
803
|
+
* Encodes the specified AppVersion message. Does not implicitly {@link CompanionReg.DeviceProps.AppVersion.verify|verify} messages.
|
|
804
|
+
* @param message AppVersion message or plain object to encode
|
|
805
|
+
* @param [writer] Writer to encode to
|
|
806
|
+
* @returns Writer
|
|
807
|
+
*/
|
|
808
|
+
public static encode(message: CompanionReg.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
809
|
+
/**
|
|
810
|
+
* Encodes the specified AppVersion message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.AppVersion.verify|verify} messages.
|
|
811
|
+
* @param message AppVersion message or plain object to encode
|
|
812
|
+
* @param [writer] Writer to encode to
|
|
813
|
+
* @returns Writer
|
|
814
|
+
*/
|
|
815
|
+
public static encodeDelimited(message: CompanionReg.DeviceProps.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
816
|
+
/**
|
|
817
|
+
* Decodes an AppVersion message from the specified reader or buffer.
|
|
818
|
+
* @param reader Reader or buffer to decode from
|
|
819
|
+
* @param [length] Message length if known beforehand
|
|
820
|
+
* @returns AppVersion
|
|
821
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
822
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
823
|
+
*/
|
|
824
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.DeviceProps.AppVersion;
|
|
825
|
+
/**
|
|
826
|
+
* Decodes an AppVersion message from the specified reader or buffer, length delimited.
|
|
827
|
+
* @param reader Reader or buffer to decode from
|
|
828
|
+
* @returns AppVersion
|
|
829
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
830
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
831
|
+
*/
|
|
832
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.DeviceProps.AppVersion;
|
|
833
|
+
/**
|
|
834
|
+
* Verifies an AppVersion message.
|
|
835
|
+
* @param message Plain object to verify
|
|
836
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
837
|
+
*/
|
|
838
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
839
|
+
/**
|
|
840
|
+
* Creates an AppVersion message from a plain object. Also converts values to their respective internal types.
|
|
841
|
+
* @param object Plain object
|
|
842
|
+
* @returns AppVersion
|
|
843
|
+
*/
|
|
844
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps.AppVersion;
|
|
845
|
+
/**
|
|
846
|
+
* Creates a plain object from an AppVersion message. Also converts values to other types if specified.
|
|
847
|
+
* @param message AppVersion
|
|
848
|
+
* @param [options] Conversion options
|
|
849
|
+
* @returns Plain object
|
|
850
|
+
*/
|
|
851
|
+
public static toObject(message: CompanionReg.DeviceProps.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
852
|
+
/**
|
|
853
|
+
* Converts this AppVersion to JSON.
|
|
854
|
+
* @returns JSON object
|
|
855
|
+
*/
|
|
856
|
+
public toJSON(): { [k: string]: any };
|
|
857
|
+
/**
|
|
858
|
+
* Gets the default type url for AppVersion
|
|
859
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
860
|
+
* @returns The default type url
|
|
861
|
+
*/
|
|
862
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
863
|
+
}
|
|
864
|
+
/** Properties of a HistorySyncConfig. */
|
|
865
|
+
interface IHistorySyncConfig {
|
|
866
|
+
/** HistorySyncConfig fullSyncDaysLimit */
|
|
867
|
+
fullSyncDaysLimit?: (number|null);
|
|
868
|
+
/** HistorySyncConfig fullSyncSizeMbLimit */
|
|
869
|
+
fullSyncSizeMbLimit?: (number|null);
|
|
870
|
+
/** HistorySyncConfig storageQuotaMb */
|
|
871
|
+
storageQuotaMb?: (number|null);
|
|
872
|
+
/** HistorySyncConfig inlineInitialPayloadInE2EeMsg */
|
|
873
|
+
inlineInitialPayloadInE2EeMsg?: (boolean|null);
|
|
874
|
+
/** HistorySyncConfig recentSyncDaysLimit */
|
|
875
|
+
recentSyncDaysLimit?: (number|null);
|
|
876
|
+
/** HistorySyncConfig supportCallLogHistory */
|
|
877
|
+
supportCallLogHistory?: (boolean|null);
|
|
878
|
+
/** HistorySyncConfig supportBotUserAgentChatHistory */
|
|
879
|
+
supportBotUserAgentChatHistory?: (boolean|null);
|
|
880
|
+
/** HistorySyncConfig supportCagReactionsAndPolls */
|
|
881
|
+
supportCagReactionsAndPolls?: (boolean|null);
|
|
882
|
+
/** HistorySyncConfig supportBizHostedMsg */
|
|
883
|
+
supportBizHostedMsg?: (boolean|null);
|
|
884
|
+
/** HistorySyncConfig supportRecentSyncChunkMessageCountTuning */
|
|
885
|
+
supportRecentSyncChunkMessageCountTuning?: (boolean|null);
|
|
886
|
+
/** HistorySyncConfig supportHostedGroupMsg */
|
|
887
|
+
supportHostedGroupMsg?: (boolean|null);
|
|
888
|
+
/** HistorySyncConfig supportFbidBotChatHistory */
|
|
889
|
+
supportFbidBotChatHistory?: (boolean|null);
|
|
890
|
+
/** HistorySyncConfig supportAddOnHistorySyncMigration */
|
|
891
|
+
supportAddOnHistorySyncMigration?: (boolean|null);
|
|
892
|
+
/** HistorySyncConfig supportMessageAssociation */
|
|
893
|
+
supportMessageAssociation?: (boolean|null);
|
|
894
|
+
}
|
|
895
|
+
/** Represents a HistorySyncConfig. */
|
|
896
|
+
class HistorySyncConfig implements IHistorySyncConfig {
|
|
897
|
+
/**
|
|
898
|
+
* Constructs a new HistorySyncConfig.
|
|
899
|
+
* @param [properties] Properties to set
|
|
900
|
+
*/
|
|
901
|
+
constructor(properties?: CompanionReg.DeviceProps.IHistorySyncConfig);
|
|
902
|
+
/** HistorySyncConfig fullSyncDaysLimit. */
|
|
903
|
+
public fullSyncDaysLimit?: (number|null);
|
|
904
|
+
/** HistorySyncConfig fullSyncSizeMbLimit. */
|
|
905
|
+
public fullSyncSizeMbLimit?: (number|null);
|
|
906
|
+
/** HistorySyncConfig storageQuotaMb. */
|
|
907
|
+
public storageQuotaMb?: (number|null);
|
|
908
|
+
/** HistorySyncConfig inlineInitialPayloadInE2EeMsg. */
|
|
909
|
+
public inlineInitialPayloadInE2EeMsg?: (boolean|null);
|
|
910
|
+
/** HistorySyncConfig recentSyncDaysLimit. */
|
|
911
|
+
public recentSyncDaysLimit?: (number|null);
|
|
912
|
+
/** HistorySyncConfig supportCallLogHistory. */
|
|
913
|
+
public supportCallLogHistory?: (boolean|null);
|
|
914
|
+
/** HistorySyncConfig supportBotUserAgentChatHistory. */
|
|
915
|
+
public supportBotUserAgentChatHistory?: (boolean|null);
|
|
916
|
+
/** HistorySyncConfig supportCagReactionsAndPolls. */
|
|
917
|
+
public supportCagReactionsAndPolls?: (boolean|null);
|
|
918
|
+
/** HistorySyncConfig supportBizHostedMsg. */
|
|
919
|
+
public supportBizHostedMsg?: (boolean|null);
|
|
920
|
+
/** HistorySyncConfig supportRecentSyncChunkMessageCountTuning. */
|
|
921
|
+
public supportRecentSyncChunkMessageCountTuning?: (boolean|null);
|
|
922
|
+
/** HistorySyncConfig supportHostedGroupMsg. */
|
|
923
|
+
public supportHostedGroupMsg?: (boolean|null);
|
|
924
|
+
/** HistorySyncConfig supportFbidBotChatHistory. */
|
|
925
|
+
public supportFbidBotChatHistory?: (boolean|null);
|
|
926
|
+
/** HistorySyncConfig supportAddOnHistorySyncMigration. */
|
|
927
|
+
public supportAddOnHistorySyncMigration?: (boolean|null);
|
|
928
|
+
/** HistorySyncConfig supportMessageAssociation. */
|
|
929
|
+
public supportMessageAssociation?: (boolean|null);
|
|
930
|
+
/** HistorySyncConfig _fullSyncDaysLimit. */
|
|
931
|
+
public _fullSyncDaysLimit?: "fullSyncDaysLimit";
|
|
932
|
+
/** HistorySyncConfig _fullSyncSizeMbLimit. */
|
|
933
|
+
public _fullSyncSizeMbLimit?: "fullSyncSizeMbLimit";
|
|
934
|
+
/** HistorySyncConfig _storageQuotaMb. */
|
|
935
|
+
public _storageQuotaMb?: "storageQuotaMb";
|
|
936
|
+
/** HistorySyncConfig _inlineInitialPayloadInE2EeMsg. */
|
|
937
|
+
public _inlineInitialPayloadInE2EeMsg?: "inlineInitialPayloadInE2EeMsg";
|
|
938
|
+
/** HistorySyncConfig _recentSyncDaysLimit. */
|
|
939
|
+
public _recentSyncDaysLimit?: "recentSyncDaysLimit";
|
|
940
|
+
/** HistorySyncConfig _supportCallLogHistory. */
|
|
941
|
+
public _supportCallLogHistory?: "supportCallLogHistory";
|
|
942
|
+
/** HistorySyncConfig _supportBotUserAgentChatHistory. */
|
|
943
|
+
public _supportBotUserAgentChatHistory?: "supportBotUserAgentChatHistory";
|
|
944
|
+
/** HistorySyncConfig _supportCagReactionsAndPolls. */
|
|
945
|
+
public _supportCagReactionsAndPolls?: "supportCagReactionsAndPolls";
|
|
946
|
+
/** HistorySyncConfig _supportBizHostedMsg. */
|
|
947
|
+
public _supportBizHostedMsg?: "supportBizHostedMsg";
|
|
948
|
+
/** HistorySyncConfig _supportRecentSyncChunkMessageCountTuning. */
|
|
949
|
+
public _supportRecentSyncChunkMessageCountTuning?: "supportRecentSyncChunkMessageCountTuning";
|
|
950
|
+
/** HistorySyncConfig _supportHostedGroupMsg. */
|
|
951
|
+
public _supportHostedGroupMsg?: "supportHostedGroupMsg";
|
|
952
|
+
/** HistorySyncConfig _supportFbidBotChatHistory. */
|
|
953
|
+
public _supportFbidBotChatHistory?: "supportFbidBotChatHistory";
|
|
954
|
+
/** HistorySyncConfig _supportAddOnHistorySyncMigration. */
|
|
955
|
+
public _supportAddOnHistorySyncMigration?: "supportAddOnHistorySyncMigration";
|
|
956
|
+
/** HistorySyncConfig _supportMessageAssociation. */
|
|
957
|
+
public _supportMessageAssociation?: "supportMessageAssociation";
|
|
958
|
+
/**
|
|
959
|
+
* Creates a new HistorySyncConfig instance using the specified properties.
|
|
960
|
+
* @param [properties] Properties to set
|
|
961
|
+
* @returns HistorySyncConfig instance
|
|
962
|
+
*/
|
|
963
|
+
public static create(properties?: CompanionReg.DeviceProps.IHistorySyncConfig): CompanionReg.DeviceProps.HistorySyncConfig;
|
|
964
|
+
/**
|
|
965
|
+
* Encodes the specified HistorySyncConfig message. Does not implicitly {@link CompanionReg.DeviceProps.HistorySyncConfig.verify|verify} messages.
|
|
966
|
+
* @param message HistorySyncConfig message or plain object to encode
|
|
967
|
+
* @param [writer] Writer to encode to
|
|
968
|
+
* @returns Writer
|
|
969
|
+
*/
|
|
970
|
+
public static encode(message: CompanionReg.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
971
|
+
/**
|
|
972
|
+
* Encodes the specified HistorySyncConfig message, length delimited. Does not implicitly {@link CompanionReg.DeviceProps.HistorySyncConfig.verify|verify} messages.
|
|
973
|
+
* @param message HistorySyncConfig message or plain object to encode
|
|
974
|
+
* @param [writer] Writer to encode to
|
|
975
|
+
* @returns Writer
|
|
976
|
+
*/
|
|
977
|
+
public static encodeDelimited(message: CompanionReg.DeviceProps.IHistorySyncConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
978
|
+
/**
|
|
979
|
+
* Decodes a HistorySyncConfig message from the specified reader or buffer.
|
|
980
|
+
* @param reader Reader or buffer to decode from
|
|
981
|
+
* @param [length] Message length if known beforehand
|
|
982
|
+
* @returns HistorySyncConfig
|
|
983
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
984
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
985
|
+
*/
|
|
986
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CompanionReg.DeviceProps.HistorySyncConfig;
|
|
987
|
+
/**
|
|
988
|
+
* Decodes a HistorySyncConfig message from the specified reader or buffer, length delimited.
|
|
989
|
+
* @param reader Reader or buffer to decode from
|
|
990
|
+
* @returns HistorySyncConfig
|
|
991
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
992
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
993
|
+
*/
|
|
994
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CompanionReg.DeviceProps.HistorySyncConfig;
|
|
995
|
+
/**
|
|
996
|
+
* Verifies a HistorySyncConfig message.
|
|
997
|
+
* @param message Plain object to verify
|
|
998
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
999
|
+
*/
|
|
1000
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1001
|
+
/**
|
|
1002
|
+
* Creates a HistorySyncConfig message from a plain object. Also converts values to their respective internal types.
|
|
1003
|
+
* @param object Plain object
|
|
1004
|
+
* @returns HistorySyncConfig
|
|
1005
|
+
*/
|
|
1006
|
+
public static fromObject(object: { [k: string]: any }): CompanionReg.DeviceProps.HistorySyncConfig;
|
|
1007
|
+
/**
|
|
1008
|
+
* Creates a plain object from a HistorySyncConfig message. Also converts values to other types if specified.
|
|
1009
|
+
* @param message HistorySyncConfig
|
|
1010
|
+
* @param [options] Conversion options
|
|
1011
|
+
* @returns Plain object
|
|
1012
|
+
*/
|
|
1013
|
+
public static toObject(message: CompanionReg.DeviceProps.HistorySyncConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1014
|
+
/**
|
|
1015
|
+
* Converts this HistorySyncConfig to JSON.
|
|
1016
|
+
* @returns JSON object
|
|
1017
|
+
*/
|
|
1018
|
+
public toJSON(): { [k: string]: any };
|
|
1019
|
+
/**
|
|
1020
|
+
* Gets the default type url for HistorySyncConfig
|
|
1021
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1022
|
+
* @returns The default type url
|
|
1023
|
+
*/
|
|
1024
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1025
|
+
}
|
|
1026
|
+
/** PlatformType enum. */
|
|
1027
|
+
enum PlatformType {
|
|
1028
|
+
UNKNOWN = 0,
|
|
1029
|
+
CHROME = 1,
|
|
1030
|
+
FIREFOX = 2,
|
|
1031
|
+
IE = 3,
|
|
1032
|
+
OPERA = 4,
|
|
1033
|
+
SAFARI = 5,
|
|
1034
|
+
EDGE = 6,
|
|
1035
|
+
DESKTOP = 7,
|
|
1036
|
+
IPAD = 8,
|
|
1037
|
+
ANDROID_TABLET = 9,
|
|
1038
|
+
OHANA = 10,
|
|
1039
|
+
ALOHA = 11,
|
|
1040
|
+
CATALINA = 12,
|
|
1041
|
+
TCL_TV = 13,
|
|
1042
|
+
IOS_PHONE = 14,
|
|
1043
|
+
IOS_CATALYST = 15,
|
|
1044
|
+
ANDROID_PHONE = 16,
|
|
1045
|
+
ANDROID_AMBIGUOUS = 17,
|
|
1046
|
+
WEAR_OS = 18,
|
|
1047
|
+
AR_WRIST = 19,
|
|
1048
|
+
AR_DEVICE = 20,
|
|
1049
|
+
UWP = 21,
|
|
1050
|
+
VR = 22,
|
|
1051
|
+
CLOUD_API = 23,
|
|
1052
|
+
SMARTGLASSES = 24
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|