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,27 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package UserPassword;
|
|
3
|
+
message UserPassword {
|
|
4
|
+
optional Encoding encoding = 1;
|
|
5
|
+
optional Transformer transformer = 2;
|
|
6
|
+
repeated TransformerArg transformerArg = 3;
|
|
7
|
+
optional bytes transformedData = 4;
|
|
8
|
+
enum Encoding {
|
|
9
|
+
UTF8 = 0;
|
|
10
|
+
UTF8_BROKEN = 1;
|
|
11
|
+
}
|
|
12
|
+
enum Transformer {
|
|
13
|
+
NONE = 0;
|
|
14
|
+
PBKDF2_HMAC_SHA512 = 1;
|
|
15
|
+
PBKDF2_HMAC_SHA384 = 2;
|
|
16
|
+
}
|
|
17
|
+
message TransformerArg {
|
|
18
|
+
optional string key = 1;
|
|
19
|
+
optional Value value = 2;
|
|
20
|
+
message Value {
|
|
21
|
+
oneof value {
|
|
22
|
+
bytes asBlob = 1;
|
|
23
|
+
uint32 asUnsignedInteger = 2;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,658 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
3
|
+
/** Namespace VnameCert. */
|
|
4
|
+
export namespace VnameCert {
|
|
5
|
+
/** Properties of a BizIdentityInfo. */
|
|
6
|
+
interface IBizIdentityInfo {
|
|
7
|
+
/** BizIdentityInfo vlevel */
|
|
8
|
+
vlevel?: (VnameCert.BizIdentityInfo.VerifiedLevelValue|null);
|
|
9
|
+
/** BizIdentityInfo vnameCert */
|
|
10
|
+
vnameCert?: (VnameCert.IVerifiedNameCertificate|null);
|
|
11
|
+
/** BizIdentityInfo signed */
|
|
12
|
+
signed?: (boolean|null);
|
|
13
|
+
/** BizIdentityInfo revoked */
|
|
14
|
+
revoked?: (boolean|null);
|
|
15
|
+
/** BizIdentityInfo hostStorage */
|
|
16
|
+
hostStorage?: (VnameCert.BizIdentityInfo.HostStorageType|null);
|
|
17
|
+
/** BizIdentityInfo actualActors */
|
|
18
|
+
actualActors?: (VnameCert.BizIdentityInfo.ActualActorsType|null);
|
|
19
|
+
/** BizIdentityInfo privacyModeTs */
|
|
20
|
+
privacyModeTs?: (number|Long|null);
|
|
21
|
+
/** BizIdentityInfo featureControls */
|
|
22
|
+
featureControls?: (number|Long|null);
|
|
23
|
+
}
|
|
24
|
+
/** Represents a BizIdentityInfo. */
|
|
25
|
+
class BizIdentityInfo implements IBizIdentityInfo {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new BizIdentityInfo.
|
|
28
|
+
* @param [properties] Properties to set
|
|
29
|
+
*/
|
|
30
|
+
constructor(properties?: VnameCert.IBizIdentityInfo);
|
|
31
|
+
/** BizIdentityInfo vlevel. */
|
|
32
|
+
public vlevel?: (VnameCert.BizIdentityInfo.VerifiedLevelValue|null);
|
|
33
|
+
/** BizIdentityInfo vnameCert. */
|
|
34
|
+
public vnameCert?: (VnameCert.IVerifiedNameCertificate|null);
|
|
35
|
+
/** BizIdentityInfo signed. */
|
|
36
|
+
public signed?: (boolean|null);
|
|
37
|
+
/** BizIdentityInfo revoked. */
|
|
38
|
+
public revoked?: (boolean|null);
|
|
39
|
+
/** BizIdentityInfo hostStorage. */
|
|
40
|
+
public hostStorage?: (VnameCert.BizIdentityInfo.HostStorageType|null);
|
|
41
|
+
/** BizIdentityInfo actualActors. */
|
|
42
|
+
public actualActors?: (VnameCert.BizIdentityInfo.ActualActorsType|null);
|
|
43
|
+
/** BizIdentityInfo privacyModeTs. */
|
|
44
|
+
public privacyModeTs?: (number|Long|null);
|
|
45
|
+
/** BizIdentityInfo featureControls. */
|
|
46
|
+
public featureControls?: (number|Long|null);
|
|
47
|
+
/** BizIdentityInfo _vlevel. */
|
|
48
|
+
public _vlevel?: "vlevel";
|
|
49
|
+
/** BizIdentityInfo _vnameCert. */
|
|
50
|
+
public _vnameCert?: "vnameCert";
|
|
51
|
+
/** BizIdentityInfo _signed. */
|
|
52
|
+
public _signed?: "signed";
|
|
53
|
+
/** BizIdentityInfo _revoked. */
|
|
54
|
+
public _revoked?: "revoked";
|
|
55
|
+
/** BizIdentityInfo _hostStorage. */
|
|
56
|
+
public _hostStorage?: "hostStorage";
|
|
57
|
+
/** BizIdentityInfo _actualActors. */
|
|
58
|
+
public _actualActors?: "actualActors";
|
|
59
|
+
/** BizIdentityInfo _privacyModeTs. */
|
|
60
|
+
public _privacyModeTs?: "privacyModeTs";
|
|
61
|
+
/** BizIdentityInfo _featureControls. */
|
|
62
|
+
public _featureControls?: "featureControls";
|
|
63
|
+
/**
|
|
64
|
+
* Creates a new BizIdentityInfo instance using the specified properties.
|
|
65
|
+
* @param [properties] Properties to set
|
|
66
|
+
* @returns BizIdentityInfo instance
|
|
67
|
+
*/
|
|
68
|
+
public static create(properties?: VnameCert.IBizIdentityInfo): VnameCert.BizIdentityInfo;
|
|
69
|
+
/**
|
|
70
|
+
* Encodes the specified BizIdentityInfo message. Does not implicitly {@link VnameCert.BizIdentityInfo.verify|verify} messages.
|
|
71
|
+
* @param message BizIdentityInfo message or plain object to encode
|
|
72
|
+
* @param [writer] Writer to encode to
|
|
73
|
+
* @returns Writer
|
|
74
|
+
*/
|
|
75
|
+
public static encode(message: VnameCert.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
76
|
+
/**
|
|
77
|
+
* Encodes the specified BizIdentityInfo message, length delimited. Does not implicitly {@link VnameCert.BizIdentityInfo.verify|verify} messages.
|
|
78
|
+
* @param message BizIdentityInfo message or plain object to encode
|
|
79
|
+
* @param [writer] Writer to encode to
|
|
80
|
+
* @returns Writer
|
|
81
|
+
*/
|
|
82
|
+
public static encodeDelimited(message: VnameCert.IBizIdentityInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
83
|
+
/**
|
|
84
|
+
* Decodes a BizIdentityInfo message from the specified reader or buffer.
|
|
85
|
+
* @param reader Reader or buffer to decode from
|
|
86
|
+
* @param [length] Message length if known beforehand
|
|
87
|
+
* @returns BizIdentityInfo
|
|
88
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
89
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
90
|
+
*/
|
|
91
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.BizIdentityInfo;
|
|
92
|
+
/**
|
|
93
|
+
* Decodes a BizIdentityInfo message from the specified reader or buffer, length delimited.
|
|
94
|
+
* @param reader Reader or buffer to decode from
|
|
95
|
+
* @returns BizIdentityInfo
|
|
96
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
97
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
98
|
+
*/
|
|
99
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.BizIdentityInfo;
|
|
100
|
+
/**
|
|
101
|
+
* Verifies a BizIdentityInfo message.
|
|
102
|
+
* @param message Plain object to verify
|
|
103
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
104
|
+
*/
|
|
105
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
106
|
+
/**
|
|
107
|
+
* Creates a BizIdentityInfo message from a plain object. Also converts values to their respective internal types.
|
|
108
|
+
* @param object Plain object
|
|
109
|
+
* @returns BizIdentityInfo
|
|
110
|
+
*/
|
|
111
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.BizIdentityInfo;
|
|
112
|
+
/**
|
|
113
|
+
* Creates a plain object from a BizIdentityInfo message. Also converts values to other types if specified.
|
|
114
|
+
* @param message BizIdentityInfo
|
|
115
|
+
* @param [options] Conversion options
|
|
116
|
+
* @returns Plain object
|
|
117
|
+
*/
|
|
118
|
+
public static toObject(message: VnameCert.BizIdentityInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
119
|
+
/**
|
|
120
|
+
* Converts this BizIdentityInfo to JSON.
|
|
121
|
+
* @returns JSON object
|
|
122
|
+
*/
|
|
123
|
+
public toJSON(): { [k: string]: any };
|
|
124
|
+
/**
|
|
125
|
+
* Gets the default type url for BizIdentityInfo
|
|
126
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
127
|
+
* @returns The default type url
|
|
128
|
+
*/
|
|
129
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
130
|
+
}
|
|
131
|
+
namespace BizIdentityInfo {
|
|
132
|
+
/** ActualActorsType enum. */
|
|
133
|
+
enum ActualActorsType {
|
|
134
|
+
SELF = 0,
|
|
135
|
+
BSP = 1
|
|
136
|
+
}
|
|
137
|
+
/** HostStorageType enum. */
|
|
138
|
+
enum HostStorageType {
|
|
139
|
+
ON_PREMISE = 0,
|
|
140
|
+
FACEBOOK = 1
|
|
141
|
+
}
|
|
142
|
+
/** VerifiedLevelValue enum. */
|
|
143
|
+
enum VerifiedLevelValue {
|
|
144
|
+
UNKNOWN = 0,
|
|
145
|
+
LOW = 1,
|
|
146
|
+
HIGH = 2
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/** Properties of a BizAccountLinkInfo. */
|
|
150
|
+
interface IBizAccountLinkInfo {
|
|
151
|
+
/** BizAccountLinkInfo whatsappBizAcctFbid */
|
|
152
|
+
whatsappBizAcctFbid?: (number|Long|null);
|
|
153
|
+
/** BizAccountLinkInfo whatsappAcctNumber */
|
|
154
|
+
whatsappAcctNumber?: (string|null);
|
|
155
|
+
/** BizAccountLinkInfo issueTime */
|
|
156
|
+
issueTime?: (number|Long|null);
|
|
157
|
+
/** BizAccountLinkInfo hostStorage */
|
|
158
|
+
hostStorage?: (VnameCert.BizAccountLinkInfo.HostStorageType|null);
|
|
159
|
+
/** BizAccountLinkInfo accountType */
|
|
160
|
+
accountType?: (VnameCert.BizAccountLinkInfo.AccountType|null);
|
|
161
|
+
}
|
|
162
|
+
/** Represents a BizAccountLinkInfo. */
|
|
163
|
+
class BizAccountLinkInfo implements IBizAccountLinkInfo {
|
|
164
|
+
/**
|
|
165
|
+
* Constructs a new BizAccountLinkInfo.
|
|
166
|
+
* @param [properties] Properties to set
|
|
167
|
+
*/
|
|
168
|
+
constructor(properties?: VnameCert.IBizAccountLinkInfo);
|
|
169
|
+
/** BizAccountLinkInfo whatsappBizAcctFbid. */
|
|
170
|
+
public whatsappBizAcctFbid?: (number|Long|null);
|
|
171
|
+
/** BizAccountLinkInfo whatsappAcctNumber. */
|
|
172
|
+
public whatsappAcctNumber?: (string|null);
|
|
173
|
+
/** BizAccountLinkInfo issueTime. */
|
|
174
|
+
public issueTime?: (number|Long|null);
|
|
175
|
+
/** BizAccountLinkInfo hostStorage. */
|
|
176
|
+
public hostStorage?: (VnameCert.BizAccountLinkInfo.HostStorageType|null);
|
|
177
|
+
/** BizAccountLinkInfo accountType. */
|
|
178
|
+
public accountType?: (VnameCert.BizAccountLinkInfo.AccountType|null);
|
|
179
|
+
/** BizAccountLinkInfo _whatsappBizAcctFbid. */
|
|
180
|
+
public _whatsappBizAcctFbid?: "whatsappBizAcctFbid";
|
|
181
|
+
/** BizAccountLinkInfo _whatsappAcctNumber. */
|
|
182
|
+
public _whatsappAcctNumber?: "whatsappAcctNumber";
|
|
183
|
+
/** BizAccountLinkInfo _issueTime. */
|
|
184
|
+
public _issueTime?: "issueTime";
|
|
185
|
+
/** BizAccountLinkInfo _hostStorage. */
|
|
186
|
+
public _hostStorage?: "hostStorage";
|
|
187
|
+
/** BizAccountLinkInfo _accountType. */
|
|
188
|
+
public _accountType?: "accountType";
|
|
189
|
+
/**
|
|
190
|
+
* Creates a new BizAccountLinkInfo instance using the specified properties.
|
|
191
|
+
* @param [properties] Properties to set
|
|
192
|
+
* @returns BizAccountLinkInfo instance
|
|
193
|
+
*/
|
|
194
|
+
public static create(properties?: VnameCert.IBizAccountLinkInfo): VnameCert.BizAccountLinkInfo;
|
|
195
|
+
/**
|
|
196
|
+
* Encodes the specified BizAccountLinkInfo message. Does not implicitly {@link VnameCert.BizAccountLinkInfo.verify|verify} messages.
|
|
197
|
+
* @param message BizAccountLinkInfo message or plain object to encode
|
|
198
|
+
* @param [writer] Writer to encode to
|
|
199
|
+
* @returns Writer
|
|
200
|
+
*/
|
|
201
|
+
public static encode(message: VnameCert.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
202
|
+
/**
|
|
203
|
+
* Encodes the specified BizAccountLinkInfo message, length delimited. Does not implicitly {@link VnameCert.BizAccountLinkInfo.verify|verify} messages.
|
|
204
|
+
* @param message BizAccountLinkInfo message or plain object to encode
|
|
205
|
+
* @param [writer] Writer to encode to
|
|
206
|
+
* @returns Writer
|
|
207
|
+
*/
|
|
208
|
+
public static encodeDelimited(message: VnameCert.IBizAccountLinkInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
209
|
+
/**
|
|
210
|
+
* Decodes a BizAccountLinkInfo message from the specified reader or buffer.
|
|
211
|
+
* @param reader Reader or buffer to decode from
|
|
212
|
+
* @param [length] Message length if known beforehand
|
|
213
|
+
* @returns BizAccountLinkInfo
|
|
214
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
215
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
216
|
+
*/
|
|
217
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.BizAccountLinkInfo;
|
|
218
|
+
/**
|
|
219
|
+
* Decodes a BizAccountLinkInfo message from the specified reader or buffer, length delimited.
|
|
220
|
+
* @param reader Reader or buffer to decode from
|
|
221
|
+
* @returns BizAccountLinkInfo
|
|
222
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
223
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
224
|
+
*/
|
|
225
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.BizAccountLinkInfo;
|
|
226
|
+
/**
|
|
227
|
+
* Verifies a BizAccountLinkInfo message.
|
|
228
|
+
* @param message Plain object to verify
|
|
229
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
230
|
+
*/
|
|
231
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
232
|
+
/**
|
|
233
|
+
* Creates a BizAccountLinkInfo message from a plain object. Also converts values to their respective internal types.
|
|
234
|
+
* @param object Plain object
|
|
235
|
+
* @returns BizAccountLinkInfo
|
|
236
|
+
*/
|
|
237
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.BizAccountLinkInfo;
|
|
238
|
+
/**
|
|
239
|
+
* Creates a plain object from a BizAccountLinkInfo message. Also converts values to other types if specified.
|
|
240
|
+
* @param message BizAccountLinkInfo
|
|
241
|
+
* @param [options] Conversion options
|
|
242
|
+
* @returns Plain object
|
|
243
|
+
*/
|
|
244
|
+
public static toObject(message: VnameCert.BizAccountLinkInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
245
|
+
/**
|
|
246
|
+
* Converts this BizAccountLinkInfo to JSON.
|
|
247
|
+
* @returns JSON object
|
|
248
|
+
*/
|
|
249
|
+
public toJSON(): { [k: string]: any };
|
|
250
|
+
/**
|
|
251
|
+
* Gets the default type url for BizAccountLinkInfo
|
|
252
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
253
|
+
* @returns The default type url
|
|
254
|
+
*/
|
|
255
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
256
|
+
}
|
|
257
|
+
namespace BizAccountLinkInfo {
|
|
258
|
+
/** AccountType enum. */
|
|
259
|
+
enum AccountType {
|
|
260
|
+
ENTERPRISE = 0
|
|
261
|
+
}
|
|
262
|
+
/** HostStorageType enum. */
|
|
263
|
+
enum HostStorageType {
|
|
264
|
+
ON_PREMISE = 0,
|
|
265
|
+
FACEBOOK = 1
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/** Properties of a BizAccountPayload. */
|
|
269
|
+
interface IBizAccountPayload {
|
|
270
|
+
/** BizAccountPayload vnameCert */
|
|
271
|
+
vnameCert?: (VnameCert.IVerifiedNameCertificate|null);
|
|
272
|
+
/** BizAccountPayload bizAcctLinkInfo */
|
|
273
|
+
bizAcctLinkInfo?: (Uint8Array|null);
|
|
274
|
+
}
|
|
275
|
+
/** Represents a BizAccountPayload. */
|
|
276
|
+
class BizAccountPayload implements IBizAccountPayload {
|
|
277
|
+
/**
|
|
278
|
+
* Constructs a new BizAccountPayload.
|
|
279
|
+
* @param [properties] Properties to set
|
|
280
|
+
*/
|
|
281
|
+
constructor(properties?: VnameCert.IBizAccountPayload);
|
|
282
|
+
/** BizAccountPayload vnameCert. */
|
|
283
|
+
public vnameCert?: (VnameCert.IVerifiedNameCertificate|null);
|
|
284
|
+
/** BizAccountPayload bizAcctLinkInfo. */
|
|
285
|
+
public bizAcctLinkInfo?: (Uint8Array|null);
|
|
286
|
+
/** BizAccountPayload _vnameCert. */
|
|
287
|
+
public _vnameCert?: "vnameCert";
|
|
288
|
+
/** BizAccountPayload _bizAcctLinkInfo. */
|
|
289
|
+
public _bizAcctLinkInfo?: "bizAcctLinkInfo";
|
|
290
|
+
/**
|
|
291
|
+
* Creates a new BizAccountPayload instance using the specified properties.
|
|
292
|
+
* @param [properties] Properties to set
|
|
293
|
+
* @returns BizAccountPayload instance
|
|
294
|
+
*/
|
|
295
|
+
public static create(properties?: VnameCert.IBizAccountPayload): VnameCert.BizAccountPayload;
|
|
296
|
+
/**
|
|
297
|
+
* Encodes the specified BizAccountPayload message. Does not implicitly {@link VnameCert.BizAccountPayload.verify|verify} messages.
|
|
298
|
+
* @param message BizAccountPayload message or plain object to encode
|
|
299
|
+
* @param [writer] Writer to encode to
|
|
300
|
+
* @returns Writer
|
|
301
|
+
*/
|
|
302
|
+
public static encode(message: VnameCert.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
303
|
+
/**
|
|
304
|
+
* Encodes the specified BizAccountPayload message, length delimited. Does not implicitly {@link VnameCert.BizAccountPayload.verify|verify} messages.
|
|
305
|
+
* @param message BizAccountPayload message or plain object to encode
|
|
306
|
+
* @param [writer] Writer to encode to
|
|
307
|
+
* @returns Writer
|
|
308
|
+
*/
|
|
309
|
+
public static encodeDelimited(message: VnameCert.IBizAccountPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
310
|
+
/**
|
|
311
|
+
* Decodes a BizAccountPayload message from the specified reader or buffer.
|
|
312
|
+
* @param reader Reader or buffer to decode from
|
|
313
|
+
* @param [length] Message length if known beforehand
|
|
314
|
+
* @returns BizAccountPayload
|
|
315
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
316
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
317
|
+
*/
|
|
318
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.BizAccountPayload;
|
|
319
|
+
/**
|
|
320
|
+
* Decodes a BizAccountPayload message from the specified reader or buffer, length delimited.
|
|
321
|
+
* @param reader Reader or buffer to decode from
|
|
322
|
+
* @returns BizAccountPayload
|
|
323
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
324
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
325
|
+
*/
|
|
326
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.BizAccountPayload;
|
|
327
|
+
/**
|
|
328
|
+
* Verifies a BizAccountPayload message.
|
|
329
|
+
* @param message Plain object to verify
|
|
330
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
331
|
+
*/
|
|
332
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
333
|
+
/**
|
|
334
|
+
* Creates a BizAccountPayload message from a plain object. Also converts values to their respective internal types.
|
|
335
|
+
* @param object Plain object
|
|
336
|
+
* @returns BizAccountPayload
|
|
337
|
+
*/
|
|
338
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.BizAccountPayload;
|
|
339
|
+
/**
|
|
340
|
+
* Creates a plain object from a BizAccountPayload message. Also converts values to other types if specified.
|
|
341
|
+
* @param message BizAccountPayload
|
|
342
|
+
* @param [options] Conversion options
|
|
343
|
+
* @returns Plain object
|
|
344
|
+
*/
|
|
345
|
+
public static toObject(message: VnameCert.BizAccountPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
346
|
+
/**
|
|
347
|
+
* Converts this BizAccountPayload to JSON.
|
|
348
|
+
* @returns JSON object
|
|
349
|
+
*/
|
|
350
|
+
public toJSON(): { [k: string]: any };
|
|
351
|
+
/**
|
|
352
|
+
* Gets the default type url for BizAccountPayload
|
|
353
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
354
|
+
* @returns The default type url
|
|
355
|
+
*/
|
|
356
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
357
|
+
}
|
|
358
|
+
/** Properties of a VerifiedNameCertificate. */
|
|
359
|
+
interface IVerifiedNameCertificate {
|
|
360
|
+
/** VerifiedNameCertificate details */
|
|
361
|
+
details?: (Uint8Array|null);
|
|
362
|
+
/** VerifiedNameCertificate signature */
|
|
363
|
+
signature?: (Uint8Array|null);
|
|
364
|
+
/** VerifiedNameCertificate serverSignature */
|
|
365
|
+
serverSignature?: (Uint8Array|null);
|
|
366
|
+
}
|
|
367
|
+
/** Represents a VerifiedNameCertificate. */
|
|
368
|
+
class VerifiedNameCertificate implements IVerifiedNameCertificate {
|
|
369
|
+
/**
|
|
370
|
+
* Constructs a new VerifiedNameCertificate.
|
|
371
|
+
* @param [properties] Properties to set
|
|
372
|
+
*/
|
|
373
|
+
constructor(properties?: VnameCert.IVerifiedNameCertificate);
|
|
374
|
+
/** VerifiedNameCertificate details. */
|
|
375
|
+
public details?: (Uint8Array|null);
|
|
376
|
+
/** VerifiedNameCertificate signature. */
|
|
377
|
+
public signature?: (Uint8Array|null);
|
|
378
|
+
/** VerifiedNameCertificate serverSignature. */
|
|
379
|
+
public serverSignature?: (Uint8Array|null);
|
|
380
|
+
/** VerifiedNameCertificate _details. */
|
|
381
|
+
public _details?: "details";
|
|
382
|
+
/** VerifiedNameCertificate _signature. */
|
|
383
|
+
public _signature?: "signature";
|
|
384
|
+
/** VerifiedNameCertificate _serverSignature. */
|
|
385
|
+
public _serverSignature?: "serverSignature";
|
|
386
|
+
/**
|
|
387
|
+
* Creates a new VerifiedNameCertificate instance using the specified properties.
|
|
388
|
+
* @param [properties] Properties to set
|
|
389
|
+
* @returns VerifiedNameCertificate instance
|
|
390
|
+
*/
|
|
391
|
+
public static create(properties?: VnameCert.IVerifiedNameCertificate): VnameCert.VerifiedNameCertificate;
|
|
392
|
+
/**
|
|
393
|
+
* Encodes the specified VerifiedNameCertificate message. Does not implicitly {@link VnameCert.VerifiedNameCertificate.verify|verify} messages.
|
|
394
|
+
* @param message VerifiedNameCertificate message or plain object to encode
|
|
395
|
+
* @param [writer] Writer to encode to
|
|
396
|
+
* @returns Writer
|
|
397
|
+
*/
|
|
398
|
+
public static encode(message: VnameCert.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
399
|
+
/**
|
|
400
|
+
* Encodes the specified VerifiedNameCertificate message, length delimited. Does not implicitly {@link VnameCert.VerifiedNameCertificate.verify|verify} messages.
|
|
401
|
+
* @param message VerifiedNameCertificate message or plain object to encode
|
|
402
|
+
* @param [writer] Writer to encode to
|
|
403
|
+
* @returns Writer
|
|
404
|
+
*/
|
|
405
|
+
public static encodeDelimited(message: VnameCert.IVerifiedNameCertificate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
406
|
+
/**
|
|
407
|
+
* Decodes a VerifiedNameCertificate message from the specified reader or buffer.
|
|
408
|
+
* @param reader Reader or buffer to decode from
|
|
409
|
+
* @param [length] Message length if known beforehand
|
|
410
|
+
* @returns VerifiedNameCertificate
|
|
411
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
412
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
413
|
+
*/
|
|
414
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.VerifiedNameCertificate;
|
|
415
|
+
/**
|
|
416
|
+
* Decodes a VerifiedNameCertificate message from the specified reader or buffer, length delimited.
|
|
417
|
+
* @param reader Reader or buffer to decode from
|
|
418
|
+
* @returns VerifiedNameCertificate
|
|
419
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
420
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
421
|
+
*/
|
|
422
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.VerifiedNameCertificate;
|
|
423
|
+
/**
|
|
424
|
+
* Verifies a VerifiedNameCertificate message.
|
|
425
|
+
* @param message Plain object to verify
|
|
426
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
427
|
+
*/
|
|
428
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
429
|
+
/**
|
|
430
|
+
* Creates a VerifiedNameCertificate message from a plain object. Also converts values to their respective internal types.
|
|
431
|
+
* @param object Plain object
|
|
432
|
+
* @returns VerifiedNameCertificate
|
|
433
|
+
*/
|
|
434
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.VerifiedNameCertificate;
|
|
435
|
+
/**
|
|
436
|
+
* Creates a plain object from a VerifiedNameCertificate message. Also converts values to other types if specified.
|
|
437
|
+
* @param message VerifiedNameCertificate
|
|
438
|
+
* @param [options] Conversion options
|
|
439
|
+
* @returns Plain object
|
|
440
|
+
*/
|
|
441
|
+
public static toObject(message: VnameCert.VerifiedNameCertificate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
442
|
+
/**
|
|
443
|
+
* Converts this VerifiedNameCertificate to JSON.
|
|
444
|
+
* @returns JSON object
|
|
445
|
+
*/
|
|
446
|
+
public toJSON(): { [k: string]: any };
|
|
447
|
+
/**
|
|
448
|
+
* Gets the default type url for VerifiedNameCertificate
|
|
449
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
450
|
+
* @returns The default type url
|
|
451
|
+
*/
|
|
452
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
453
|
+
}
|
|
454
|
+
namespace VerifiedNameCertificate {
|
|
455
|
+
/** Properties of a Details. */
|
|
456
|
+
interface IDetails {
|
|
457
|
+
/** Details serial */
|
|
458
|
+
serial?: (number|Long|null);
|
|
459
|
+
/** Details issuer */
|
|
460
|
+
issuer?: (string|null);
|
|
461
|
+
/** Details verifiedName */
|
|
462
|
+
verifiedName?: (string|null);
|
|
463
|
+
/** Details localizedNames */
|
|
464
|
+
localizedNames?: (VnameCert.ILocalizedName[]|null);
|
|
465
|
+
/** Details issueTime */
|
|
466
|
+
issueTime?: (number|Long|null);
|
|
467
|
+
}
|
|
468
|
+
/** Represents a Details. */
|
|
469
|
+
class Details implements IDetails {
|
|
470
|
+
/**
|
|
471
|
+
* Constructs a new Details.
|
|
472
|
+
* @param [properties] Properties to set
|
|
473
|
+
*/
|
|
474
|
+
constructor(properties?: VnameCert.VerifiedNameCertificate.IDetails);
|
|
475
|
+
/** Details serial. */
|
|
476
|
+
public serial?: (number|Long|null);
|
|
477
|
+
/** Details issuer. */
|
|
478
|
+
public issuer?: (string|null);
|
|
479
|
+
/** Details verifiedName. */
|
|
480
|
+
public verifiedName?: (string|null);
|
|
481
|
+
/** Details localizedNames. */
|
|
482
|
+
public localizedNames: VnameCert.ILocalizedName[];
|
|
483
|
+
/** Details issueTime. */
|
|
484
|
+
public issueTime?: (number|Long|null);
|
|
485
|
+
/** Details _serial. */
|
|
486
|
+
public _serial?: "serial";
|
|
487
|
+
/** Details _issuer. */
|
|
488
|
+
public _issuer?: "issuer";
|
|
489
|
+
/** Details _verifiedName. */
|
|
490
|
+
public _verifiedName?: "verifiedName";
|
|
491
|
+
/** Details _issueTime. */
|
|
492
|
+
public _issueTime?: "issueTime";
|
|
493
|
+
/**
|
|
494
|
+
* Creates a new Details instance using the specified properties.
|
|
495
|
+
* @param [properties] Properties to set
|
|
496
|
+
* @returns Details instance
|
|
497
|
+
*/
|
|
498
|
+
public static create(properties?: VnameCert.VerifiedNameCertificate.IDetails): VnameCert.VerifiedNameCertificate.Details;
|
|
499
|
+
/**
|
|
500
|
+
* Encodes the specified Details message. Does not implicitly {@link VnameCert.VerifiedNameCertificate.Details.verify|verify} messages.
|
|
501
|
+
* @param message Details message or plain object to encode
|
|
502
|
+
* @param [writer] Writer to encode to
|
|
503
|
+
* @returns Writer
|
|
504
|
+
*/
|
|
505
|
+
public static encode(message: VnameCert.VerifiedNameCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
506
|
+
/**
|
|
507
|
+
* Encodes the specified Details message, length delimited. Does not implicitly {@link VnameCert.VerifiedNameCertificate.Details.verify|verify} messages.
|
|
508
|
+
* @param message Details message or plain object to encode
|
|
509
|
+
* @param [writer] Writer to encode to
|
|
510
|
+
* @returns Writer
|
|
511
|
+
*/
|
|
512
|
+
public static encodeDelimited(message: VnameCert.VerifiedNameCertificate.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
513
|
+
/**
|
|
514
|
+
* Decodes a Details message from the specified reader or buffer.
|
|
515
|
+
* @param reader Reader or buffer to decode from
|
|
516
|
+
* @param [length] Message length if known beforehand
|
|
517
|
+
* @returns Details
|
|
518
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
519
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
520
|
+
*/
|
|
521
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.VerifiedNameCertificate.Details;
|
|
522
|
+
/**
|
|
523
|
+
* Decodes a Details message from the specified reader or buffer, length delimited.
|
|
524
|
+
* @param reader Reader or buffer to decode from
|
|
525
|
+
* @returns Details
|
|
526
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
527
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
528
|
+
*/
|
|
529
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.VerifiedNameCertificate.Details;
|
|
530
|
+
/**
|
|
531
|
+
* Verifies a Details message.
|
|
532
|
+
* @param message Plain object to verify
|
|
533
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
534
|
+
*/
|
|
535
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
536
|
+
/**
|
|
537
|
+
* Creates a Details message from a plain object. Also converts values to their respective internal types.
|
|
538
|
+
* @param object Plain object
|
|
539
|
+
* @returns Details
|
|
540
|
+
*/
|
|
541
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.VerifiedNameCertificate.Details;
|
|
542
|
+
/**
|
|
543
|
+
* Creates a plain object from a Details message. Also converts values to other types if specified.
|
|
544
|
+
* @param message Details
|
|
545
|
+
* @param [options] Conversion options
|
|
546
|
+
* @returns Plain object
|
|
547
|
+
*/
|
|
548
|
+
public static toObject(message: VnameCert.VerifiedNameCertificate.Details, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
549
|
+
/**
|
|
550
|
+
* Converts this Details to JSON.
|
|
551
|
+
* @returns JSON object
|
|
552
|
+
*/
|
|
553
|
+
public toJSON(): { [k: string]: any };
|
|
554
|
+
/**
|
|
555
|
+
* Gets the default type url for Details
|
|
556
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
557
|
+
* @returns The default type url
|
|
558
|
+
*/
|
|
559
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
/** Properties of a LocalizedName. */
|
|
563
|
+
interface ILocalizedName {
|
|
564
|
+
/** LocalizedName lg */
|
|
565
|
+
lg?: (string|null);
|
|
566
|
+
/** LocalizedName lc */
|
|
567
|
+
lc?: (string|null);
|
|
568
|
+
/** LocalizedName verifiedName */
|
|
569
|
+
verifiedName?: (string|null);
|
|
570
|
+
}
|
|
571
|
+
/** Represents a LocalizedName. */
|
|
572
|
+
class LocalizedName implements ILocalizedName {
|
|
573
|
+
/**
|
|
574
|
+
* Constructs a new LocalizedName.
|
|
575
|
+
* @param [properties] Properties to set
|
|
576
|
+
*/
|
|
577
|
+
constructor(properties?: VnameCert.ILocalizedName);
|
|
578
|
+
/** LocalizedName lg. */
|
|
579
|
+
public lg?: (string|null);
|
|
580
|
+
/** LocalizedName lc. */
|
|
581
|
+
public lc?: (string|null);
|
|
582
|
+
/** LocalizedName verifiedName. */
|
|
583
|
+
public verifiedName?: (string|null);
|
|
584
|
+
/** LocalizedName _lg. */
|
|
585
|
+
public _lg?: "lg";
|
|
586
|
+
/** LocalizedName _lc. */
|
|
587
|
+
public _lc?: "lc";
|
|
588
|
+
/** LocalizedName _verifiedName. */
|
|
589
|
+
public _verifiedName?: "verifiedName";
|
|
590
|
+
/**
|
|
591
|
+
* Creates a new LocalizedName instance using the specified properties.
|
|
592
|
+
* @param [properties] Properties to set
|
|
593
|
+
* @returns LocalizedName instance
|
|
594
|
+
*/
|
|
595
|
+
public static create(properties?: VnameCert.ILocalizedName): VnameCert.LocalizedName;
|
|
596
|
+
/**
|
|
597
|
+
* Encodes the specified LocalizedName message. Does not implicitly {@link VnameCert.LocalizedName.verify|verify} messages.
|
|
598
|
+
* @param message LocalizedName message or plain object to encode
|
|
599
|
+
* @param [writer] Writer to encode to
|
|
600
|
+
* @returns Writer
|
|
601
|
+
*/
|
|
602
|
+
public static encode(message: VnameCert.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
603
|
+
/**
|
|
604
|
+
* Encodes the specified LocalizedName message, length delimited. Does not implicitly {@link VnameCert.LocalizedName.verify|verify} messages.
|
|
605
|
+
* @param message LocalizedName message or plain object to encode
|
|
606
|
+
* @param [writer] Writer to encode to
|
|
607
|
+
* @returns Writer
|
|
608
|
+
*/
|
|
609
|
+
public static encodeDelimited(message: VnameCert.ILocalizedName, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
610
|
+
/**
|
|
611
|
+
* Decodes a LocalizedName message from the specified reader or buffer.
|
|
612
|
+
* @param reader Reader or buffer to decode from
|
|
613
|
+
* @param [length] Message length if known beforehand
|
|
614
|
+
* @returns LocalizedName
|
|
615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
617
|
+
*/
|
|
618
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VnameCert.LocalizedName;
|
|
619
|
+
/**
|
|
620
|
+
* Decodes a LocalizedName message from the specified reader or buffer, length delimited.
|
|
621
|
+
* @param reader Reader or buffer to decode from
|
|
622
|
+
* @returns LocalizedName
|
|
623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
625
|
+
*/
|
|
626
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VnameCert.LocalizedName;
|
|
627
|
+
/**
|
|
628
|
+
* Verifies a LocalizedName message.
|
|
629
|
+
* @param message Plain object to verify
|
|
630
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
631
|
+
*/
|
|
632
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
633
|
+
/**
|
|
634
|
+
* Creates a LocalizedName message from a plain object. Also converts values to their respective internal types.
|
|
635
|
+
* @param object Plain object
|
|
636
|
+
* @returns LocalizedName
|
|
637
|
+
*/
|
|
638
|
+
public static fromObject(object: { [k: string]: any }): VnameCert.LocalizedName;
|
|
639
|
+
/**
|
|
640
|
+
* Creates a plain object from a LocalizedName message. Also converts values to other types if specified.
|
|
641
|
+
* @param message LocalizedName
|
|
642
|
+
* @param [options] Conversion options
|
|
643
|
+
* @returns Plain object
|
|
644
|
+
*/
|
|
645
|
+
public static toObject(message: VnameCert.LocalizedName, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
646
|
+
/**
|
|
647
|
+
* Converts this LocalizedName to JSON.
|
|
648
|
+
* @returns JSON object
|
|
649
|
+
*/
|
|
650
|
+
public toJSON(): { [k: string]: any };
|
|
651
|
+
/**
|
|
652
|
+
* Gets the default type url for LocalizedName
|
|
653
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
654
|
+
* @returns The default type url
|
|
655
|
+
*/
|
|
656
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
657
|
+
}
|
|
658
|
+
}
|