@hansaka02/baileys 7.3.2 → 7.3.6
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/lib/Defaults/baileys-version.json +2 -2
- package/lib/Defaults/connection.js +51 -0
- package/lib/Defaults/constants.js +74 -0
- package/lib/Defaults/history.js +19 -0
- package/lib/Defaults/index.js +36 -142
- package/lib/Defaults/media.js +48 -0
- package/lib/Defaults/prefix.js +18 -0
- package/lib/Signal/Group/group-session-builder.js +10 -42
- package/lib/Signal/Group/group_cipher.js +9 -6
- package/lib/Signal/Group/index.js +39 -53
- package/lib/Signal/Group/keyhelper.js +8 -41
- package/lib/Signal/Group/sender-chain-key.js +5 -18
- package/lib/Signal/Group/sender-key-distribution-message.js +7 -7
- package/lib/Signal/Group/sender-key-message.js +12 -8
- package/lib/Signal/Group/sender-key-record.js +7 -16
- package/lib/Signal/Group/sender-key-state.js +15 -61
- package/lib/Signal/Group/sender-message-key.js +2 -2
- package/lib/Signal/libsignal.js +237 -177
- package/lib/Signal/lid-mapping.js +128 -71
- package/lib/Socket/Client/types.js +2 -2
- package/lib/Socket/Client/websocket.js +25 -16
- package/lib/Socket/business.js +46 -33
- package/lib/Socket/chats.js +286 -170
- package/lib/Socket/community.js +215 -77
- package/lib/Socket/groups.js +77 -61
- package/lib/Socket/index.js +4 -4
- package/lib/Socket/messages-recv.js +629 -457
- package/lib/Socket/messages-send.js +645 -656
- package/lib/Socket/mex.js +61 -0
- package/lib/Socket/newsletter.js +166 -245
- package/lib/Socket/socket.js +396 -170
- package/lib/Store/index.js +27 -11
- package/lib/Store/make-cache-manager-store.js +14 -15
- package/lib/Store/make-in-memory-store.js +28 -24
- package/lib/Types/LabelAssociation.js +2 -2
- package/lib/Types/Message.js +6 -6
- package/lib/Types/MexUpdates.js +5 -5
- package/lib/Types/Newsletter.js +32 -25
- package/lib/Types/State.js +4 -4
- package/lib/Types/index.js +28 -12
- package/lib/Utils/auth-utils.js +212 -375
- package/lib/Utils/baileys-event-stream.js +68 -69
- package/lib/Utils/browser-utils.js +43 -0
- package/lib/Utils/business.js +63 -53
- package/lib/Utils/chat-utils.js +241 -106
- package/lib/Utils/crypto.js +25 -45
- package/lib/Utils/decode-wa-message.js +361 -311
- package/lib/Utils/event-buffer.js +97 -42
- package/lib/Utils/generics.js +90 -207
- package/lib/Utils/history.js +29 -27
- package/lib/Utils/index.js +28 -14
- package/lib/Utils/link-preview.js +24 -62
- package/lib/Utils/logger.js +5 -5
- package/lib/Utils/lt-hash.js +29 -23
- package/lib/Utils/make-mutex.js +26 -28
- package/lib/Utils/message-retry-manager.js +55 -7
- package/lib/Utils/messages-media.js +434 -247
- package/lib/Utils/messages.js +963 -917
- package/lib/Utils/noise-handler.js +60 -20
- package/lib/Utils/pre-key-manager.js +126 -0
- package/lib/Utils/process-message.js +216 -141
- package/lib/Utils/signal.js +75 -37
- package/lib/Utils/use-multi-file-auth-state.js +18 -22
- package/lib/Utils/validate-connection.js +96 -66
- package/lib/WABinary/constants.js +1268 -1268
- package/lib/WABinary/decode.js +62 -34
- package/lib/WABinary/encode.js +57 -36
- package/lib/WABinary/generic-utils.js +4 -4
- package/lib/WABinary/index.js +27 -11
- package/lib/WABinary/jid-utils.js +58 -11
- package/lib/WAM/constants.js +19064 -11563
- package/lib/WAM/encode.js +71 -14
- package/lib/WAM/index.js +27 -11
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +20 -16
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +7 -4
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +0 -2
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +2 -2
- package/lib/WAUSync/Protocols/index.js +27 -11
- package/lib/WAUSync/USyncQuery.js +51 -28
- package/lib/WAUSync/index.js +27 -11
- package/lib/index.js +60 -31
- package/package.json +12 -17
- package/WAProto/AICommon/AICommon.d.ts +0 -11702
- package/WAProto/Adv/Adv.d.ts +0 -643
- package/WAProto/BotMetadata/BotMetadata.d.ts +0 -5654
- package/WAProto/Cert/Cert.d.ts +0 -613
- package/WAProto/ChatLockSettings/ChatLockSettings.d.ts +0 -476
- package/WAProto/CompanionReg/CompanionReg.d.ts +0 -1361
- package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +0 -577
- package/WAProto/E2E/E2E.d.ts +0 -41724
- package/WAProto/Ephemeral/Ephemeral.d.ts +0 -114
- package/WAProto/HistorySync/HistorySync.d.ts +0 -51700
- package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +0 -229
- package/WAProto/MdStorageChatRowOpaqueData/MdStorageChatRowOpaqueData.d.ts +0 -583
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +0 -42897
- package/WAProto/MmsRetry/MmsRetry.d.ts +0 -243
- package/WAProto/Protocol/Protocol.d.ts +0 -270
- package/WAProto/Reporting/Reporting.d.ts +0 -371
- package/WAProto/ServerSync/ServerSync.d.ts +0 -1285
- package/WAProto/SignalLocalStorageProtocol/SignalLocalStorageProtocol.d.ts +0 -1868
- package/WAProto/SignalWhisperTextProtocol/SignalWhisperTextProtocol.d.ts +0 -767
- package/WAProto/StatusAttributions/StatusAttributions.d.ts +0 -1027
- package/WAProto/SyncAction/SyncAction.d.ts +0 -11193
- package/WAProto/UserPassword/UserPassword.d.ts +0 -363
- package/WAProto/VnameCert/VnameCert.d.ts +0 -821
- package/WAProto/Wa6/Wa6.d.ts +0 -2128
- package/WAProto/Web/Web.d.ts +0 -46383
- package/WAProto/index.d.ts +0 -55
- package/lib/Defaults/index.d.ts +0 -77
- package/lib/Signal/Group/ciphertext-message.d.ts +0 -9
- package/lib/Signal/Group/group-session-builder.d.ts +0 -17
- package/lib/Signal/Group/group_cipher.d.ts +0 -19
- package/lib/Signal/Group/index.d.ts +0 -11
- package/lib/Signal/Group/keyhelper.d.ts +0 -16
- package/lib/Signal/Group/sender-chain-key.d.ts +0 -14
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +0 -17
- package/lib/Signal/Group/sender-key-message.d.ts +0 -19
- package/lib/Signal/Group/sender-key-name.d.ts +0 -19
- package/lib/Signal/Group/sender-key-record.d.ts +0 -32
- package/lib/Signal/Group/sender-key-state.d.ts +0 -44
- package/lib/Signal/Group/sender-message-key.d.ts +0 -11
- package/lib/Signal/libsignal.d.ts +0 -8
- package/lib/Signal/lid-mapping.d.ts +0 -28
- package/lib/Socket/Client/index.d.ts +0 -2
- package/lib/Socket/Client/types.d.ts +0 -16
- package/lib/Socket/Client/websocket.d.ts +0 -13
- package/lib/Socket/business.d.ts +0 -187
- package/lib/Socket/chats.d.ts +0 -97
- package/lib/Socket/community.d.ts +0 -129
- package/lib/Socket/groups.d.ts +0 -129
- package/lib/Socket/index.d.ts +0 -191
- package/lib/Socket/messages-recv.d.ts +0 -174
- package/lib/Socket/messages-send.d.ts +0 -165
- package/lib/Socket/newsletter.d.ts +0 -145
- package/lib/Socket/socket.d.ts +0 -45
- package/lib/Socket/usync.d.ts +0 -37
- package/lib/Socket/usync.js +0 -83
- package/lib/Store/index.d.ts +0 -4
- package/lib/Store/make-cache-manager-store.d.ts +0 -14
- package/lib/Store/make-in-memory-store.d.ts +0 -123
- package/lib/Store/make-ordered-dictionary.d.ts +0 -12
- package/lib/Store/object-repository.d.ts +0 -10
- package/lib/Types/Auth.d.ts +0 -121
- package/lib/Types/Bussiness.d.ts +0 -28
- package/lib/Types/Call.d.ts +0 -14
- package/lib/Types/Chat.d.ts +0 -143
- package/lib/Types/Contact.d.ts +0 -23
- package/lib/Types/Events.d.ts +0 -226
- package/lib/Types/GroupMetadata.d.ts +0 -66
- package/lib/Types/Label.d.ts +0 -48
- package/lib/Types/LabelAssociation.d.ts +0 -35
- package/lib/Types/Message.d.ts +0 -484
- package/lib/Types/MexUpdates.d.ts +0 -9
- package/lib/Types/Newsletter.d.ts +0 -109
- package/lib/Types/Product.d.ts +0 -92
- package/lib/Types/Signal.d.ts +0 -98
- package/lib/Types/Socket.d.ts +0 -141
- package/lib/Types/State.d.ts +0 -41
- package/lib/Types/USync.d.ts +0 -26
- package/lib/Types/index.d.ts +0 -80
- package/lib/Utils/auth-utils.d.ts +0 -21
- package/lib/Utils/baileys-event-stream.d.ts +0 -18
- package/lib/Utils/business.d.ts +0 -29
- package/lib/Utils/chat-utils.d.ts +0 -82
- package/lib/Utils/crypto.d.ts +0 -56
- package/lib/Utils/decode-wa-message.d.ts +0 -53
- package/lib/Utils/event-buffer.d.ts +0 -39
- package/lib/Utils/generics.d.ts +0 -117
- package/lib/Utils/history.d.ts +0 -23
- package/lib/Utils/index.d.ts +0 -20
- package/lib/Utils/link-preview.d.ts +0 -23
- package/lib/Utils/logger.d.ts +0 -13
- package/lib/Utils/lt-hash.d.ts +0 -14
- package/lib/Utils/make-mutex.d.ts +0 -9
- package/lib/Utils/message-retry-manager.d.ts +0 -88
- package/lib/Utils/messages-media.d.ts +0 -135
- package/lib/Utils/messages.d.ts +0 -105
- package/lib/Utils/noise-handler.d.ts +0 -20
- package/lib/Utils/process-message.d.ts +0 -49
- package/lib/Utils/signal.d.ts +0 -42
- package/lib/Utils/use-mongo-file-auth-state.d.ts +0 -6
- package/lib/Utils/use-mongo-file-auth-state.js +0 -84
- package/lib/Utils/use-multi-file-auth-state.d.ts +0 -13
- package/lib/Utils/use-single-file-auth-state.d.ts +0 -13
- package/lib/Utils/use-single-file-auth-state.js +0 -80
- package/lib/Utils/validate-connection.d.ts +0 -13
- package/lib/WABinary/constants.d.ts +0 -30
- package/lib/WABinary/decode.d.ts +0 -9
- package/lib/WABinary/encode.d.ts +0 -3
- package/lib/WABinary/generic-utils.d.ts +0 -28
- package/lib/WABinary/index.d.ts +0 -5
- package/lib/WABinary/jid-utils.d.ts +0 -58
- package/lib/WABinary/types.d.ts +0 -22
- package/lib/WAM/BinaryInfo.d.ts +0 -16
- package/lib/WAM/constants.d.ts +0 -47
- package/lib/WAM/encode.d.ts +0 -3
- package/lib/WAM/index.d.ts +0 -3
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +0 -28
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -26
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -14
- package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -14
- package/lib/WAUSync/Protocols/index.d.ts +0 -6
- package/lib/WAUSync/USyncQuery.d.ts +0 -31
- package/lib/WAUSync/USyncUser.d.ts +0 -12
- package/lib/WAUSync/index.d.ts +0 -3
- package/lib/index.d.ts +0 -13
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import * as $protobuf from "protobufjs";
|
|
2
|
-
import Long = require("long");
|
|
3
|
-
/** Namespace LidMigrationSyncPayload. */
|
|
4
|
-
export namespace LidMigrationSyncPayload {
|
|
5
|
-
|
|
6
|
-
/** Properties of a LIDMigrationMappingSyncPayload. */
|
|
7
|
-
interface ILIDMigrationMappingSyncPayload {
|
|
8
|
-
|
|
9
|
-
/** LIDMigrationMappingSyncPayload pnToLidMappings */
|
|
10
|
-
pnToLidMappings?: (LidMigrationSyncPayload.ILIDMigrationMapping[]|null);
|
|
11
|
-
|
|
12
|
-
/** LIDMigrationMappingSyncPayload chatDbMigrationTimestamp */
|
|
13
|
-
chatDbMigrationTimestamp?: (number|Long|null);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** Represents a LIDMigrationMappingSyncPayload. */
|
|
17
|
-
class LIDMigrationMappingSyncPayload implements ILIDMigrationMappingSyncPayload {
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Constructs a new LIDMigrationMappingSyncPayload.
|
|
21
|
-
* @param [properties] Properties to set
|
|
22
|
-
*/
|
|
23
|
-
constructor(properties?: LidMigrationSyncPayload.ILIDMigrationMappingSyncPayload);
|
|
24
|
-
|
|
25
|
-
/** LIDMigrationMappingSyncPayload pnToLidMappings. */
|
|
26
|
-
public pnToLidMappings: LidMigrationSyncPayload.ILIDMigrationMapping[];
|
|
27
|
-
|
|
28
|
-
/** LIDMigrationMappingSyncPayload chatDbMigrationTimestamp. */
|
|
29
|
-
public chatDbMigrationTimestamp?: (number|Long|null);
|
|
30
|
-
|
|
31
|
-
/** LIDMigrationMappingSyncPayload _chatDbMigrationTimestamp. */
|
|
32
|
-
public _chatDbMigrationTimestamp?: "chatDbMigrationTimestamp";
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Creates a new LIDMigrationMappingSyncPayload instance using the specified properties.
|
|
36
|
-
* @param [properties] Properties to set
|
|
37
|
-
* @returns LIDMigrationMappingSyncPayload instance
|
|
38
|
-
*/
|
|
39
|
-
public static create(properties?: LidMigrationSyncPayload.ILIDMigrationMappingSyncPayload): LidMigrationSyncPayload.LIDMigrationMappingSyncPayload;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Encodes the specified LIDMigrationMappingSyncPayload message. Does not implicitly {@link LidMigrationSyncPayload.LIDMigrationMappingSyncPayload.verify|verify} messages.
|
|
43
|
-
* @param message LIDMigrationMappingSyncPayload message or plain object to encode
|
|
44
|
-
* @param [writer] Writer to encode to
|
|
45
|
-
* @returns Writer
|
|
46
|
-
*/
|
|
47
|
-
public static encode(message: LidMigrationSyncPayload.ILIDMigrationMappingSyncPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Encodes the specified LIDMigrationMappingSyncPayload message, length delimited. Does not implicitly {@link LidMigrationSyncPayload.LIDMigrationMappingSyncPayload.verify|verify} messages.
|
|
51
|
-
* @param message LIDMigrationMappingSyncPayload message or plain object to encode
|
|
52
|
-
* @param [writer] Writer to encode to
|
|
53
|
-
* @returns Writer
|
|
54
|
-
*/
|
|
55
|
-
public static encodeDelimited(message: LidMigrationSyncPayload.ILIDMigrationMappingSyncPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Decodes a LIDMigrationMappingSyncPayload message from the specified reader or buffer.
|
|
59
|
-
* @param reader Reader or buffer to decode from
|
|
60
|
-
* @param [length] Message length if known beforehand
|
|
61
|
-
* @returns LIDMigrationMappingSyncPayload
|
|
62
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
63
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
64
|
-
*/
|
|
65
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): LidMigrationSyncPayload.LIDMigrationMappingSyncPayload;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Decodes a LIDMigrationMappingSyncPayload message from the specified reader or buffer, length delimited.
|
|
69
|
-
* @param reader Reader or buffer to decode from
|
|
70
|
-
* @returns LIDMigrationMappingSyncPayload
|
|
71
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
72
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
73
|
-
*/
|
|
74
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): LidMigrationSyncPayload.LIDMigrationMappingSyncPayload;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Verifies a LIDMigrationMappingSyncPayload message.
|
|
78
|
-
* @param message Plain object to verify
|
|
79
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
80
|
-
*/
|
|
81
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Creates a LIDMigrationMappingSyncPayload message from a plain object. Also converts values to their respective internal types.
|
|
85
|
-
* @param object Plain object
|
|
86
|
-
* @returns LIDMigrationMappingSyncPayload
|
|
87
|
-
*/
|
|
88
|
-
public static fromObject(object: { [k: string]: any }): LidMigrationSyncPayload.LIDMigrationMappingSyncPayload;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Creates a plain object from a LIDMigrationMappingSyncPayload message. Also converts values to other types if specified.
|
|
92
|
-
* @param message LIDMigrationMappingSyncPayload
|
|
93
|
-
* @param [options] Conversion options
|
|
94
|
-
* @returns Plain object
|
|
95
|
-
*/
|
|
96
|
-
public static toObject(message: LidMigrationSyncPayload.LIDMigrationMappingSyncPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Converts this LIDMigrationMappingSyncPayload to JSON.
|
|
100
|
-
* @returns JSON object
|
|
101
|
-
*/
|
|
102
|
-
public toJSON(): { [k: string]: any };
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Gets the default type url for LIDMigrationMappingSyncPayload
|
|
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
|
-
|
|
112
|
-
/** Properties of a LIDMigrationMapping. */
|
|
113
|
-
interface ILIDMigrationMapping {
|
|
114
|
-
|
|
115
|
-
/** LIDMigrationMapping pn */
|
|
116
|
-
pn?: (number|Long|null);
|
|
117
|
-
|
|
118
|
-
/** LIDMigrationMapping assignedLid */
|
|
119
|
-
assignedLid?: (number|Long|null);
|
|
120
|
-
|
|
121
|
-
/** LIDMigrationMapping latestLid */
|
|
122
|
-
latestLid?: (number|Long|null);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/** Represents a LIDMigrationMapping. */
|
|
126
|
-
class LIDMigrationMapping implements ILIDMigrationMapping {
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Constructs a new LIDMigrationMapping.
|
|
130
|
-
* @param [properties] Properties to set
|
|
131
|
-
*/
|
|
132
|
-
constructor(properties?: LidMigrationSyncPayload.ILIDMigrationMapping);
|
|
133
|
-
|
|
134
|
-
/** LIDMigrationMapping pn. */
|
|
135
|
-
public pn?: (number|Long|null);
|
|
136
|
-
|
|
137
|
-
/** LIDMigrationMapping assignedLid. */
|
|
138
|
-
public assignedLid?: (number|Long|null);
|
|
139
|
-
|
|
140
|
-
/** LIDMigrationMapping latestLid. */
|
|
141
|
-
public latestLid?: (number|Long|null);
|
|
142
|
-
|
|
143
|
-
/** LIDMigrationMapping _pn. */
|
|
144
|
-
public _pn?: "pn";
|
|
145
|
-
|
|
146
|
-
/** LIDMigrationMapping _assignedLid. */
|
|
147
|
-
public _assignedLid?: "assignedLid";
|
|
148
|
-
|
|
149
|
-
/** LIDMigrationMapping _latestLid. */
|
|
150
|
-
public _latestLid?: "latestLid";
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Creates a new LIDMigrationMapping instance using the specified properties.
|
|
154
|
-
* @param [properties] Properties to set
|
|
155
|
-
* @returns LIDMigrationMapping instance
|
|
156
|
-
*/
|
|
157
|
-
public static create(properties?: LidMigrationSyncPayload.ILIDMigrationMapping): LidMigrationSyncPayload.LIDMigrationMapping;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Encodes the specified LIDMigrationMapping message. Does not implicitly {@link LidMigrationSyncPayload.LIDMigrationMapping.verify|verify} messages.
|
|
161
|
-
* @param message LIDMigrationMapping message or plain object to encode
|
|
162
|
-
* @param [writer] Writer to encode to
|
|
163
|
-
* @returns Writer
|
|
164
|
-
*/
|
|
165
|
-
public static encode(message: LidMigrationSyncPayload.ILIDMigrationMapping, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Encodes the specified LIDMigrationMapping message, length delimited. Does not implicitly {@link LidMigrationSyncPayload.LIDMigrationMapping.verify|verify} messages.
|
|
169
|
-
* @param message LIDMigrationMapping message or plain object to encode
|
|
170
|
-
* @param [writer] Writer to encode to
|
|
171
|
-
* @returns Writer
|
|
172
|
-
*/
|
|
173
|
-
public static encodeDelimited(message: LidMigrationSyncPayload.ILIDMigrationMapping, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Decodes a LIDMigrationMapping message from the specified reader or buffer.
|
|
177
|
-
* @param reader Reader or buffer to decode from
|
|
178
|
-
* @param [length] Message length if known beforehand
|
|
179
|
-
* @returns LIDMigrationMapping
|
|
180
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
181
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
182
|
-
*/
|
|
183
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): LidMigrationSyncPayload.LIDMigrationMapping;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Decodes a LIDMigrationMapping message from the specified reader or buffer, length delimited.
|
|
187
|
-
* @param reader Reader or buffer to decode from
|
|
188
|
-
* @returns LIDMigrationMapping
|
|
189
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
190
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
191
|
-
*/
|
|
192
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): LidMigrationSyncPayload.LIDMigrationMapping;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Verifies a LIDMigrationMapping message.
|
|
196
|
-
* @param message Plain object to verify
|
|
197
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
198
|
-
*/
|
|
199
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Creates a LIDMigrationMapping message from a plain object. Also converts values to their respective internal types.
|
|
203
|
-
* @param object Plain object
|
|
204
|
-
* @returns LIDMigrationMapping
|
|
205
|
-
*/
|
|
206
|
-
public static fromObject(object: { [k: string]: any }): LidMigrationSyncPayload.LIDMigrationMapping;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Creates a plain object from a LIDMigrationMapping message. Also converts values to other types if specified.
|
|
210
|
-
* @param message LIDMigrationMapping
|
|
211
|
-
* @param [options] Conversion options
|
|
212
|
-
* @returns Plain object
|
|
213
|
-
*/
|
|
214
|
-
public static toObject(message: LidMigrationSyncPayload.LIDMigrationMapping, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Converts this LIDMigrationMapping to JSON.
|
|
218
|
-
* @returns JSON object
|
|
219
|
-
*/
|
|
220
|
-
public toJSON(): { [k: string]: any };
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Gets the default type url for LIDMigrationMapping
|
|
224
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
225
|
-
* @returns The default type url
|
|
226
|
-
*/
|
|
227
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
228
|
-
}
|
|
229
|
-
}
|