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,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package Protocol;
|
|
3
|
+
message LimitSharing {
|
|
4
|
+
optional bool sharingLimited = 1;
|
|
5
|
+
optional TriggerType trigger = 2;
|
|
6
|
+
optional int64 limitSharingSettingTimestamp = 3;
|
|
7
|
+
optional bool initiatedByMe = 4;
|
|
8
|
+
enum TriggerType {
|
|
9
|
+
UNKNOWN = 0;
|
|
10
|
+
CHAT_SETTING = 1;
|
|
11
|
+
BIZ_SUPPORTS_FB_HOSTING = 2;
|
|
12
|
+
UNKNOWN_GROUP = 3;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
message MessageKey {
|
|
16
|
+
optional string remoteJid = 1;
|
|
17
|
+
optional bool fromMe = 2;
|
|
18
|
+
optional string id = 3;
|
|
19
|
+
optional string participant = 4;
|
|
20
|
+
}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
3
|
+
/** Namespace Reporting. */
|
|
4
|
+
export namespace Reporting {
|
|
5
|
+
/** Properties of a Field. */
|
|
6
|
+
interface IField {
|
|
7
|
+
/** Field minVersion */
|
|
8
|
+
minVersion?: (number|null);
|
|
9
|
+
/** Field maxVersion */
|
|
10
|
+
maxVersion?: (number|null);
|
|
11
|
+
/** Field notReportableMinVersion */
|
|
12
|
+
notReportableMinVersion?: (number|null);
|
|
13
|
+
/** Field isMessage */
|
|
14
|
+
isMessage?: (boolean|null);
|
|
15
|
+
/** Field subfield */
|
|
16
|
+
subfield?: ({ [k: string]: Reporting.IField }|null);
|
|
17
|
+
}
|
|
18
|
+
/** Represents a Field. */
|
|
19
|
+
class Field implements IField {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new Field.
|
|
22
|
+
* @param [properties] Properties to set
|
|
23
|
+
*/
|
|
24
|
+
constructor(properties?: Reporting.IField);
|
|
25
|
+
/** Field minVersion. */
|
|
26
|
+
public minVersion?: (number|null);
|
|
27
|
+
/** Field maxVersion. */
|
|
28
|
+
public maxVersion?: (number|null);
|
|
29
|
+
/** Field notReportableMinVersion. */
|
|
30
|
+
public notReportableMinVersion?: (number|null);
|
|
31
|
+
/** Field isMessage. */
|
|
32
|
+
public isMessage?: (boolean|null);
|
|
33
|
+
/** Field subfield. */
|
|
34
|
+
public subfield: { [k: string]: Reporting.IField };
|
|
35
|
+
/** Field _minVersion. */
|
|
36
|
+
public _minVersion?: "minVersion";
|
|
37
|
+
/** Field _maxVersion. */
|
|
38
|
+
public _maxVersion?: "maxVersion";
|
|
39
|
+
/** Field _notReportableMinVersion. */
|
|
40
|
+
public _notReportableMinVersion?: "notReportableMinVersion";
|
|
41
|
+
/** Field _isMessage. */
|
|
42
|
+
public _isMessage?: "isMessage";
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new Field instance using the specified properties.
|
|
45
|
+
* @param [properties] Properties to set
|
|
46
|
+
* @returns Field instance
|
|
47
|
+
*/
|
|
48
|
+
public static create(properties?: Reporting.IField): Reporting.Field;
|
|
49
|
+
/**
|
|
50
|
+
* Encodes the specified Field message. Does not implicitly {@link Reporting.Field.verify|verify} messages.
|
|
51
|
+
* @param message Field message or plain object to encode
|
|
52
|
+
* @param [writer] Writer to encode to
|
|
53
|
+
* @returns Writer
|
|
54
|
+
*/
|
|
55
|
+
public static encode(message: Reporting.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56
|
+
/**
|
|
57
|
+
* Encodes the specified Field message, length delimited. Does not implicitly {@link Reporting.Field.verify|verify} messages.
|
|
58
|
+
* @param message Field message or plain object to encode
|
|
59
|
+
* @param [writer] Writer to encode to
|
|
60
|
+
* @returns Writer
|
|
61
|
+
*/
|
|
62
|
+
public static encodeDelimited(message: Reporting.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
63
|
+
/**
|
|
64
|
+
* Decodes a Field message from the specified reader or buffer.
|
|
65
|
+
* @param reader Reader or buffer to decode from
|
|
66
|
+
* @param [length] Message length if known beforehand
|
|
67
|
+
* @returns Field
|
|
68
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
69
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
70
|
+
*/
|
|
71
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Reporting.Field;
|
|
72
|
+
/**
|
|
73
|
+
* Decodes a Field message from the specified reader or buffer, length delimited.
|
|
74
|
+
* @param reader Reader or buffer to decode from
|
|
75
|
+
* @returns Field
|
|
76
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
77
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78
|
+
*/
|
|
79
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Reporting.Field;
|
|
80
|
+
/**
|
|
81
|
+
* Verifies a Field message.
|
|
82
|
+
* @param message Plain object to verify
|
|
83
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
84
|
+
*/
|
|
85
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
86
|
+
/**
|
|
87
|
+
* Creates a Field message from a plain object. Also converts values to their respective internal types.
|
|
88
|
+
* @param object Plain object
|
|
89
|
+
* @returns Field
|
|
90
|
+
*/
|
|
91
|
+
public static fromObject(object: { [k: string]: any }): Reporting.Field;
|
|
92
|
+
/**
|
|
93
|
+
* Creates a plain object from a Field message. Also converts values to other types if specified.
|
|
94
|
+
* @param message Field
|
|
95
|
+
* @param [options] Conversion options
|
|
96
|
+
* @returns Plain object
|
|
97
|
+
*/
|
|
98
|
+
public static toObject(message: Reporting.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
99
|
+
/**
|
|
100
|
+
* Converts this Field to JSON.
|
|
101
|
+
* @returns JSON object
|
|
102
|
+
*/
|
|
103
|
+
public toJSON(): { [k: string]: any };
|
|
104
|
+
/**
|
|
105
|
+
* Gets the default type url for Field
|
|
106
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
107
|
+
* @returns The default type url
|
|
108
|
+
*/
|
|
109
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
110
|
+
}
|
|
111
|
+
/** Properties of a Config. */
|
|
112
|
+
interface IConfig {
|
|
113
|
+
/** Config field */
|
|
114
|
+
field?: ({ [k: string]: Reporting.IField }|null);
|
|
115
|
+
/** Config version */
|
|
116
|
+
version?: (number|null);
|
|
117
|
+
}
|
|
118
|
+
/** Represents a Config. */
|
|
119
|
+
class Config implements IConfig {
|
|
120
|
+
/**
|
|
121
|
+
* Constructs a new Config.
|
|
122
|
+
* @param [properties] Properties to set
|
|
123
|
+
*/
|
|
124
|
+
constructor(properties?: Reporting.IConfig);
|
|
125
|
+
/** Config field. */
|
|
126
|
+
public field: { [k: string]: Reporting.IField };
|
|
127
|
+
/** Config version. */
|
|
128
|
+
public version?: (number|null);
|
|
129
|
+
/** Config _version. */
|
|
130
|
+
public _version?: "version";
|
|
131
|
+
/**
|
|
132
|
+
* Creates a new Config instance using the specified properties.
|
|
133
|
+
* @param [properties] Properties to set
|
|
134
|
+
* @returns Config instance
|
|
135
|
+
*/
|
|
136
|
+
public static create(properties?: Reporting.IConfig): Reporting.Config;
|
|
137
|
+
/**
|
|
138
|
+
* Encodes the specified Config message. Does not implicitly {@link Reporting.Config.verify|verify} messages.
|
|
139
|
+
* @param message Config message or plain object to encode
|
|
140
|
+
* @param [writer] Writer to encode to
|
|
141
|
+
* @returns Writer
|
|
142
|
+
*/
|
|
143
|
+
public static encode(message: Reporting.IConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
144
|
+
/**
|
|
145
|
+
* Encodes the specified Config message, length delimited. Does not implicitly {@link Reporting.Config.verify|verify} messages.
|
|
146
|
+
* @param message Config message or plain object to encode
|
|
147
|
+
* @param [writer] Writer to encode to
|
|
148
|
+
* @returns Writer
|
|
149
|
+
*/
|
|
150
|
+
public static encodeDelimited(message: Reporting.IConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
151
|
+
/**
|
|
152
|
+
* Decodes a Config message from the specified reader or buffer.
|
|
153
|
+
* @param reader Reader or buffer to decode from
|
|
154
|
+
* @param [length] Message length if known beforehand
|
|
155
|
+
* @returns Config
|
|
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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Reporting.Config;
|
|
160
|
+
/**
|
|
161
|
+
* Decodes a Config message from the specified reader or buffer, length delimited.
|
|
162
|
+
* @param reader Reader or buffer to decode from
|
|
163
|
+
* @returns Config
|
|
164
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
165
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
166
|
+
*/
|
|
167
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Reporting.Config;
|
|
168
|
+
/**
|
|
169
|
+
* Verifies a Config message.
|
|
170
|
+
* @param message Plain object to verify
|
|
171
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
172
|
+
*/
|
|
173
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
174
|
+
/**
|
|
175
|
+
* Creates a Config message from a plain object. Also converts values to their respective internal types.
|
|
176
|
+
* @param object Plain object
|
|
177
|
+
* @returns Config
|
|
178
|
+
*/
|
|
179
|
+
public static fromObject(object: { [k: string]: any }): Reporting.Config;
|
|
180
|
+
/**
|
|
181
|
+
* Creates a plain object from a Config message. Also converts values to other types if specified.
|
|
182
|
+
* @param message Config
|
|
183
|
+
* @param [options] Conversion options
|
|
184
|
+
* @returns Plain object
|
|
185
|
+
*/
|
|
186
|
+
public static toObject(message: Reporting.Config, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
187
|
+
/**
|
|
188
|
+
* Converts this Config to JSON.
|
|
189
|
+
* @returns JSON object
|
|
190
|
+
*/
|
|
191
|
+
public toJSON(): { [k: string]: any };
|
|
192
|
+
/**
|
|
193
|
+
* Gets the default type url for Config
|
|
194
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
195
|
+
* @returns The default type url
|
|
196
|
+
*/
|
|
197
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
198
|
+
}
|
|
199
|
+
/** Properties of a Reportable. */
|
|
200
|
+
interface IReportable {
|
|
201
|
+
/** Reportable minVersion */
|
|
202
|
+
minVersion?: (number|null);
|
|
203
|
+
/** Reportable maxVersion */
|
|
204
|
+
maxVersion?: (number|null);
|
|
205
|
+
/** Reportable notReportableMinVersion */
|
|
206
|
+
notReportableMinVersion?: (number|null);
|
|
207
|
+
/** Reportable never */
|
|
208
|
+
never?: (boolean|null);
|
|
209
|
+
}
|
|
210
|
+
/** Represents a Reportable. */
|
|
211
|
+
class Reportable implements IReportable {
|
|
212
|
+
/**
|
|
213
|
+
* Constructs a new Reportable.
|
|
214
|
+
* @param [properties] Properties to set
|
|
215
|
+
*/
|
|
216
|
+
constructor(properties?: Reporting.IReportable);
|
|
217
|
+
/** Reportable minVersion. */
|
|
218
|
+
public minVersion?: (number|null);
|
|
219
|
+
/** Reportable maxVersion. */
|
|
220
|
+
public maxVersion?: (number|null);
|
|
221
|
+
/** Reportable notReportableMinVersion. */
|
|
222
|
+
public notReportableMinVersion?: (number|null);
|
|
223
|
+
/** Reportable never. */
|
|
224
|
+
public never?: (boolean|null);
|
|
225
|
+
/** Reportable _minVersion. */
|
|
226
|
+
public _minVersion?: "minVersion";
|
|
227
|
+
/** Reportable _maxVersion. */
|
|
228
|
+
public _maxVersion?: "maxVersion";
|
|
229
|
+
/** Reportable _notReportableMinVersion. */
|
|
230
|
+
public _notReportableMinVersion?: "notReportableMinVersion";
|
|
231
|
+
/** Reportable _never. */
|
|
232
|
+
public _never?: "never";
|
|
233
|
+
/**
|
|
234
|
+
* Creates a new Reportable instance using the specified properties.
|
|
235
|
+
* @param [properties] Properties to set
|
|
236
|
+
* @returns Reportable instance
|
|
237
|
+
*/
|
|
238
|
+
public static create(properties?: Reporting.IReportable): Reporting.Reportable;
|
|
239
|
+
/**
|
|
240
|
+
* Encodes the specified Reportable message. Does not implicitly {@link Reporting.Reportable.verify|verify} messages.
|
|
241
|
+
* @param message Reportable message or plain object to encode
|
|
242
|
+
* @param [writer] Writer to encode to
|
|
243
|
+
* @returns Writer
|
|
244
|
+
*/
|
|
245
|
+
public static encode(message: Reporting.IReportable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
246
|
+
/**
|
|
247
|
+
* Encodes the specified Reportable message, length delimited. Does not implicitly {@link Reporting.Reportable.verify|verify} messages.
|
|
248
|
+
* @param message Reportable message or plain object to encode
|
|
249
|
+
* @param [writer] Writer to encode to
|
|
250
|
+
* @returns Writer
|
|
251
|
+
*/
|
|
252
|
+
public static encodeDelimited(message: Reporting.IReportable, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
253
|
+
/**
|
|
254
|
+
* Decodes a Reportable message from the specified reader or buffer.
|
|
255
|
+
* @param reader Reader or buffer to decode from
|
|
256
|
+
* @param [length] Message length if known beforehand
|
|
257
|
+
* @returns Reportable
|
|
258
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
259
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
260
|
+
*/
|
|
261
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Reporting.Reportable;
|
|
262
|
+
/**
|
|
263
|
+
* Decodes a Reportable message from the specified reader or buffer, length delimited.
|
|
264
|
+
* @param reader Reader or buffer to decode from
|
|
265
|
+
* @returns Reportable
|
|
266
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
267
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
268
|
+
*/
|
|
269
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Reporting.Reportable;
|
|
270
|
+
/**
|
|
271
|
+
* Verifies a Reportable message.
|
|
272
|
+
* @param message Plain object to verify
|
|
273
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
274
|
+
*/
|
|
275
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
276
|
+
/**
|
|
277
|
+
* Creates a Reportable message from a plain object. Also converts values to their respective internal types.
|
|
278
|
+
* @param object Plain object
|
|
279
|
+
* @returns Reportable
|
|
280
|
+
*/
|
|
281
|
+
public static fromObject(object: { [k: string]: any }): Reporting.Reportable;
|
|
282
|
+
/**
|
|
283
|
+
* Creates a plain object from a Reportable message. Also converts values to other types if specified.
|
|
284
|
+
* @param message Reportable
|
|
285
|
+
* @param [options] Conversion options
|
|
286
|
+
* @returns Plain object
|
|
287
|
+
*/
|
|
288
|
+
public static toObject(message: Reporting.Reportable, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
289
|
+
/**
|
|
290
|
+
* Converts this Reportable to JSON.
|
|
291
|
+
* @returns JSON object
|
|
292
|
+
*/
|
|
293
|
+
public toJSON(): { [k: string]: any };
|
|
294
|
+
/**
|
|
295
|
+
* Gets the default type url for Reportable
|
|
296
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
297
|
+
* @returns The default type url
|
|
298
|
+
*/
|
|
299
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
300
|
+
}
|
|
301
|
+
}
|