@qadeer-xtech/stablebail 1.0.4 → 1.0.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/LICENSE CHANGED
@@ -1,3 +1,19 @@
1
+ ================================================================================
2
+ @qadeer-xtech/stablebail — LICENCE
3
+ ================================================================================
4
+
5
+ This package contains two parts under two licences:
6
+
7
+ PART 1 — the upstream Baileys code, under the MIT License (below).
8
+ PART 2 — the additions and modifications made by Team Qadeer,
9
+ under the Team Qadeer terms (after Part 1).
10
+
11
+ Using this package means accepting both parts for their respective code.
12
+
13
+ ================================================================================
14
+ PART 1 — UPSTREAM BAILEYS CODE — MIT LICENSE
15
+ ================================================================================
16
+
1
17
  MIT License
2
18
 
3
19
  Copyright (c) 2025 Rajeh Taher/WhiskeySockets
@@ -19,3 +35,34 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
35
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
36
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
37
  SOFTWARE.
38
+
39
+ ================================================================================
40
+ PART 2 — TEAM QADEER ADDITIONS — © TEAM QADEER, ALL RIGHTS RESERVED
41
+ ================================================================================
42
+
43
+ Copyright (c) 2026 Team Qadeer (Qadeer-Xtech). All rights reserved.
44
+
45
+ This part covers everything in this package that was written or changed by
46
+ Team Qadeer — including the bug fixes not yet released upstream, the extended
47
+ newsletter/channel method set, sendStatusMention, the cstoken/timelock
48
+ completion, and the QADEER banner.
49
+
50
+ Terms:
51
+
52
+ 1. You MAY install and use this package, as published by Team Qadeer, in
53
+ your own projects (including bots that you run for yourself or others).
54
+
55
+ 2. You may NOT republish this package — or the Team Qadeer portions of it —
56
+ under a different package name, your own name, or with the Team Qadeer
57
+ attribution, banner, LICENSE or NOTICE removed or altered, unless you
58
+ have prior written permission from Team Qadeer.
59
+
60
+ 3. Any copy or redistribution that is permitted must keep this LICENSE file
61
+ and the NOTICE file intact and unchanged.
62
+
63
+ 4. The Team Qadeer portions are provided "AS IS", without warranty of any
64
+ kind. Team Qadeer is not liable for any claim or damages arising from
65
+ their use.
66
+
67
+ If you want to redistribute or rebrand, ask first — permission is the whole
68
+ point of this licence.
package/README.md CHANGED
@@ -1,111 +1,341 @@
1
- # @qadeer-xtech/stablebail
1
+ @qadeer-xtech/stablebail
2
2
 
3
- WhatsApp Web API library — Team Qadeer ki apni copy, official Baileys 7.0.0-rc14 par mabni, channels (newsletter) ke fixes ke sath.
3
+ <p align="center">
4
+ **STABLEBAIL — POWERED BY TEAM QADEER**
5
+ </p>
4
6
 
5
- ## Install
7
+ A powerful WhatsApp Web API library built on the Baileys architecture, enhanced with custom fixes, improved media handling, advanced newsletter support, and additional WhatsApp features.
6
8
 
7
- ```
9
+ Designed for developers who need a familiar Baileys-compatible API with extra functionality and a smoother development experience.
10
+
11
+ ## 📦 Installation
12
+
13
+ ```bash
8
14
  npm install @qadeer-xtech/stablebail
9
15
  ```
10
16
 
11
- Bot ke `package.json` mein official naam ke tor par:
17
+ ## Use as Official Baileys Replacement
18
+
19
+ To use StableBail without changing your existing import paths, add this alias to your "package.json":
20
+
21
+ ```json
22
+ {
23
+ "dependencies": {
24
+ "@whiskeysockets/baileys": "npm:@qadeer-xtech/stablebail@latest"
25
+ }
26
+ }
27
+ ```
28
+
29
+ This allows existing Baileys-based projects to use StableBail while keeping their original package imports.
30
+
31
+ ## ✅ Recommended Settings for Bot Projects
32
+
33
+ For a smooth, error-free install, use these exact settings in your bot's "package.json":
12
34
 
13
35
  ```json
14
- "@whiskeysockets/baileys": "npm:@qadeer-xtech/stablebail@latest"
36
+ {
37
+ "dependencies": {
38
+ "@whiskeysockets/baileys": "npm:@qadeer-xtech/stablebail@1.0.6",
39
+ "sharp": "0.35.5",
40
+ "wa-sticker-formatter": "4.4.4"
41
+ },
42
+ "overrides": {
43
+ "sharp": "$sharp"
44
+ },
45
+ "engines": {
46
+ "node": "20.x"
47
+ }
48
+ }
15
49
  ```
16
50
 
17
- ## 1.0.2 mein kya fix hai (Channels / Newsletter)
51
+ ## ✨ Key Features
52
+
53
+ - Baileys-Compatible API — Familiar socket methods and existing Baileys workflow.
54
+ - Newsletter Enhancements — Improved channel messaging, media uploads, subscriptions, and metadata fetching.
55
+ - Media Stream Fixes — Improved download error handling, media retries, and expired-link recovery.
56
+ - Windows Hybrid Support — Updated device identification for modern WhatsApp connections.
57
+ - LID Compatibility — Improved "onWhatsApp()" support for LID-based addresses.
58
+ - Status Mentions — Mention contacts and groups in WhatsApp status updates.
59
+ - CSToken / NCT Support — Additional token handling for LID-addressed messaging.
60
+ - Connection Banner — Optional branded startup banner.
61
+ - Improved Stability — Additional fixes for connection handling and media operations.
18
62
 
19
- Official rc14 mein channel ke ye hisse adhoore ya toote hue thay — 1.0.2 mein theek hain:
63
+ ## 🔧 What's Included
20
64
 
21
- - **Channel messages parhna** — `newsletterFetchMessages` ab WA Web wale asal tareeqe se kaam karta hai aur messages ko decode karke saaf list deta hai (pehle khaali khaam jawab aata tha)
22
- - **Channel par media bhejna** — newsletter ke liye alag media upload rasta (`NEWSLETTER_MEDIA_PATH_MAP` + server thumbnail) lagaya hai; pehle channel par media ghalat raste se ja kar atak jata tha
23
- - **Subscribed channels ki list** — naya `newsletterSubscribed()` (aur `newsletterFetchAllSubscribe()`), bilkul `groupFetchAllParticipating` ki tarah
24
- - **Link se channel maloom karna** — naya `newsletterFromUrl(url)`: channel ke invite link se seedha metadata
25
- - **Views aur reactions** — naya `newsletterFetchUpdates(jid)`: har message ke views count aur reactions ki list
26
- - **Reaction mode** — naya `newsletterReactionMode(jid, mode)`: apne channel ki reaction setting badlein
27
- - **Crash fix** — jis channel ki picture na ho, us ki metadata par ab crash nahi hota
65
+ ### 1. Newsletter / Channel Support
28
66
 
29
- Purana `newsletterFetchMessages(jid, count, since, after)` wala andaaz bhi chalta rahega — library khud samajh jati hai.
67
+ Extended newsletter functionality with improved message fetching, media handling, and channel metadata support.
30
68
 
31
- ## 1.0.3 mein kya fix hai (Media Stream Download)
69
+ Available methods:
32
70
 
33
- rc14 (aur official master) mein media STREAM download ke ye hisse toote hue thay — 1.0.3 mein theek hain:
71
+ | Method | Description |
72
+ | --- | --- |
73
+ | "newsletterFromUrl()" | Fetch channel information from an invite link |
74
+ | "newsletterSubscribed()" | Get subscribed channels |
75
+ | "newsletterFetchAllSubscribe()" | Fetch all subscribed channels |
76
+ | "newsletterFetchMessages()" | Retrieve channel messages |
77
+ | "newsletterFetchUpdates()" | Fetch views and reactions |
78
+ | "newsletterReactionMode()" | Change channel reaction settings |
79
+ | "newsletterFollow()" | Follow a channel |
80
+ | "newsletterUnfollow()" | Unfollow a channel |
81
+ | "newsletterReactMessage()" | React to channel messages |
34
82
 
35
- - **Stream error aage jata hai** — download darmiyan mein kate to pehle stream hamesha ke liye hang ho jati thi aur process par uncaughtException ata tha; ab error caller ko milta hai, download saaf fail hota hai, hang nahi (official issue #2750).
36
- - **Purani media par reupload** — CDN 404/410 de to bot phone se reupload mangta hai; fetch (undici) migration ke baad status check kharab tha, reupload kabhi manga hi nahi jata tha (official issue #2767).
37
- - **Expire link (403) par bhi reupload** — signed media link expire ho jaye (oe param) to 403 ata tha aur media hamesha ke liye fail; ab WhatsApp Web ki tarah reupload se naya link ata hai.
38
- - **mediaKey string wala bug** — database/JSON se restore hue messages ki mediaKey base64 string hoti thi, jis se retry decryption fail hoti thi; ab pehle bytes mein badalti hai.
83
+ Additional improvements:
39
84
 
40
- Baaki sab kuch 1.0.2 wala hi hai — API mein koi tabdeeli nahi, purana code waisa hi chalega.
85
+ - Dedicated newsletter media upload handling.
86
+ - Improved channel message decoding.
87
+ - Better thumbnail handling.
88
+ - Protection against missing channel profile pictures.
89
+ - Support for legacy message-fetching arguments.
41
90
 
42
- ## 1.0.4 mein kya fix hai (Official issues + WhatsApp Web matching)
91
+ ### 2. Media Streaming Improvements
43
92
 
44
- Ye fixes official rc14 (2026-07-29) ke baad ki haqiqat ke mutabiq hain — WhatsApp Web deep research + official GitHub issues se verify karke:
93
+ Enhanced media download and retry handling.
45
94
 
46
- - **WIN_HYBRID pehchan (official PR #2741, issue #2677)** — WhatsApp ne purana WIN32 sub-platform retire kar diya hai: jo client WIN32 bhejta hai, server us ka handshake **428** se foran band kar deta hai (nayi pairing bhi, purane session ka reconnect bhi). Ab Windows/Desktop pehchan WIN_HYBRID jati hai.
47
- - **WhatsApp version pin taza** — default version 2.3000.1048663002 kar diya. Purana pin pairing ko khamoshi se fail karta tha (phone par "Couldn't link device", socket par 408 / 405 client_too_old).
48
- - **onWhatsApp ab LID par bhi kaam karta hai (official issue #1522)** — pehle @lid dete hi khali jawab ata tha. Ab pehle local LID<->number mapping se number nikala jata hai, phir aam check chalta hai aur jawab mein `lid` bhi milta hai: `{ jid, exists, lid }`. Jis LID ki mapping bot ke paas maujud hi nahi, wo pehle ki tarah skip hoti hai (ghalat exists:false nahi jata).
95
+ - Proper stream error propagation.
96
+ - Prevents downloads from remaining stuck after stream failures.
97
+ - Improved recovery for expired media links.
98
+ - Handles CDN "403", "404", and "410" responses.
99
+ - Improved phone-based media reupload handling.
100
+ - Automatically converts Base64 media keys into usable byte data when required.
49
101
 
50
- Imandari wali note:
51
- - Channel photo wala issue (#2199) stock rc9 par report hua tha — dedicated newsletter upload paths (jo is maslay ka hal hain) stablebail 1.0.2 se pehle hi maujud hain. Live bot par phir bhi masla aye to agli mashkook cheez MediaHandle hai — live capture ke baghair us par haath nahi dala, taake chalta hua kaam na toote.
52
- - Passkey wala prompt (#2672) WhatsApp ke server ka linking-time flow hai; is ka hal library ke andar mumkin nahi (bahar ka WebAuthn signer chahiye hota hai). Pehle se pair shuda sessions par is ka asar nahi — "connect nahi hota" ki zyada tar shikayatein asal mein upar wala 428/WIN32 masla hain, jo is version mein fix hai.
53
- - Bad MAC (#1769), 405/463, bar bar disconnect — ye zyada tar server-side/account-side clusters hain; in par koi jhooti "fix" nahi dali gayi. App-state resilience wali official fix (PR #2456) rc14 mein pehle se shamil hai.
102
+ ### 3. Connection & Device Compatibility
54
103
 
55
- Baaki sab 1.0.3 wala hi hai (stream download fixes + channel fixes) — API mein koi tabdeeli nahi.
104
+ - Updated Windows device identification using "WIN_HYBRID".
105
+ - Updated default WhatsApp Web version configuration.
106
+ - Improved LID address handling in "onWhatsApp()".
107
+ - Returns LID information alongside standard WhatsApp lookup results when available.
56
108
 
57
- ## Bot mein istemal
109
+ Example response:
58
110
 
59
111
  ```js
60
- const makeWASocket = require('@qadeer-xtech/stablebail').default
61
- const { useMultiFileAuthState, DisconnectReason } = require('@qadeer-xtech/stablebail')
112
+ {
113
+ jid,
114
+ exists,
115
+ lid
116
+ }
117
+ ```
118
+
119
+ ### 4. Status Mentions
120
+
121
+ StableBail includes "sendStatusMention()" for mentioning contacts or groups in WhatsApp status updates.
122
+
123
+ Mention individual contacts:
124
+
125
+ ```js
126
+ await sock.sendStatusMention(
127
+ [
128
+ '923001234567@s.whatsapp.net',
129
+ '923009876543@s.whatsapp.net'
130
+ ],
131
+ {
132
+ text: 'Eid Mubarak! 🌙'
133
+ }
134
+ )
135
+ ```
136
+
137
+ Mention a group:
138
+
139
+ ```js
140
+ await sock.sendStatusMention(
141
+ ['120363000000000000@g.us'],
142
+ {
143
+ image: {
144
+ url: 'https://example.com/pic.jpg'
145
+ },
146
+ caption: 'Team Qadeer'
147
+ },
148
+ {
149
+ delayMs: 1500
150
+ }
151
+ )
152
+ ```
153
+
154
+ "delayMs" controls the delay between mention operations. Its default value is "1500" milliseconds.
155
+
156
+ ### 5. CSToken / NCT Support
157
+
158
+ Additional support for WhatsApp's NCT and contact token handling.
159
+
160
+ - Collects NCT salt through history and app-state synchronization.
161
+ - Stores available NCT salt in authentication credentials.
162
+ - Supports regular-high synchronization when history synchronization is disabled.
163
+ - Computes CSToken using HMAC-SHA256 when a required token is unavailable.
164
+ - Prioritizes existing TCToken data when available.
165
+ - Adds additional token handling for LID-addressed messaging.
166
+
167
+ The library also exposes existing reach-out timelock information through:
168
+
169
+ ```js
170
+ sock.fetchAccountReachoutTimelock()
171
+ ```
172
+
173
+ And the connection update event can provide "reachoutTimeLock" information.
174
+
175
+ ### 6. Custom Connection Banner
176
+
177
+ StableBail includes an optional branded connection banner.
178
+
179
+ ```
180
+ ╭───────────────────────────╮
181
+ │ ✦ Q A D E E R ✦ │
182
+ │ stablebail • Qadeer-Xtech │
183
+ ╰───────────────────────────╯
184
+ ```
185
+
186
+ The banner is displayed once when the connection opens.
187
+
188
+ To disable it:
189
+
190
+ ```js
191
+ const sock = makeWASocket({
192
+ auth: state,
193
+ printQRInTerminal: true,
194
+ banner: false
195
+ })
196
+ ```
197
+
198
+ ## 🚀 Basic Usage
199
+
200
+ ```js
201
+ const makeWASocket =
202
+ require('@qadeer-xtech/stablebail').default
203
+
204
+ const {
205
+ useMultiFileAuthState,
206
+ DisconnectReason
207
+ } = require('@qadeer-xtech/stablebail')
62
208
 
63
209
  async function startBot() {
64
- const { state, saveCreds } = await useMultiFileAuthState('auth_info')
65
- const sock = makeWASocket({ auth: state, printQRInTerminal: true })
210
+ const { state, saveCreds } =
211
+ await useMultiFileAuthState('auth_info')
212
+
213
+ const sock = makeWASocket({
214
+ auth: state,
215
+ printQRInTerminal: true
216
+ })
217
+
66
218
  sock.ev.on('creds.update', saveCreds)
219
+
67
220
  return sock
68
221
  }
222
+
223
+ startBot()
69
224
  ```
70
225
 
71
- ## Channel (Newsletter) ki misalein
226
+ ## 📡 Newsletter Examples
227
+
228
+ Fetch Channel Information
72
229
 
73
230
  ```js
74
- // Link se channel ki maloomat
75
- const channel = await sock.newsletterFromUrl('https://whatsapp.com/channel/0029VbCCK3T5PO17Wu4r8U1A')
76
- console.log(channel.id, channel.name, channel.subscribers)
231
+ const channel = await sock.newsletterFromUrl(
232
+ 'https://whatsapp.com/channel/CHANNEL_ID'
233
+ )
234
+
235
+ console.log(
236
+ channel.id,
237
+ channel.name,
238
+ channel.subscribers
239
+ )
240
+ ```
77
241
 
78
- // Follow / unfollow
242
+ Follow / Unfollow
243
+
244
+ ```js
79
245
  await sock.newsletterFollow(channel.id)
246
+
80
247
  await sock.newsletterUnfollow(channel.id)
248
+ ```
249
+
250
+ Get Subscribed Channels
251
+
252
+ ```js
253
+ const channels = await sock.newsletterSubscribed()
254
+
255
+ console.log(channels)
256
+ ```
257
+
258
+ Fetch Channel Messages
81
259
 
82
- // Mere saare subscribed channels
83
- const list = await sock.newsletterSubscribed()
260
+ ```js
261
+ const messages = await sock.newsletterFetchMessages(
262
+ channel.id,
263
+ 20
264
+ )
265
+
266
+ console.log(messages)
267
+ ```
84
268
 
85
- // Channel ke messages parhna (naya tareeqa / purana tareeqa — dono chalte hain)
86
- const msgs = await sock.newsletterFetchMessages('jid', channel.id, 20)
87
- const msgsOld = await sock.newsletterFetchMessages(channel.id, 20)
269
+ Fetch Views & Reactions
88
270
 
89
- // Views + reactions
90
- const updates = await sock.newsletterFetchUpdates(channel.id, 20)
91
- console.log(updates[0].server_id, updates[0].views, updates[0].reactions)
271
+ ```js
272
+ const updates = await sock.newsletterFetchUpdates(
273
+ channel.id,
274
+ 20
275
+ )
276
+
277
+ console.log(
278
+ updates[0].server_id,
279
+ updates[0].views,
280
+ updates[0].reactions
281
+ )
282
+ ```
92
283
 
93
- // Channel par message / media bhejna (apna channel ho to)
94
- await sock.sendMessage(channel.id, { text: 'Assalam o Alaikum!' })
95
- await sock.sendMessage(channel.id, { image: { url: 'https://example.com/pic.jpg' }, caption: 'Nayi post' })
284
+ Send Channel Message
96
285
 
97
- // Kisi message par reaction
98
- await sock.newsletterReactMessage(channel.id, updates[0].server_id, '❤️')
286
+ ```js
287
+ await sock.sendMessage(channel.id, {
288
+ text: 'Assalam o Alaikum! 👋'
289
+ })
99
290
  ```
100
291
 
101
- ## Versions
292
+ Send Channel Image
293
+
294
+ ```js
295
+ await sock.sendMessage(channel.id, {
296
+ image: {
297
+ url: 'https://example.com/pic.jpg'
298
+ },
299
+ caption: 'New Channel Update'
300
+ })
301
+ ```
302
+
303
+ React to Channel Message
304
+
305
+ ```js
306
+ await sock.newsletterReactMessage(
307
+ channel.id,
308
+ updates[0].server_id,
309
+ '❤️'
310
+ )
311
+ ```
312
+
313
+ ## ⚙️ Compatibility
314
+
315
+ - Node.js environment
316
+ - Baileys-compatible socket workflow
317
+ - Existing Baileys-based bot projects
318
+ - Multi-file authentication
319
+ - WhatsApp Web connection workflows
320
+
321
+ StableBail is designed to minimize migration work for existing Baileys users. However, custom methods and options are specific to this package.
322
+
323
+ ## ⚠️ Important Notes
324
+
325
+ - Some custom features may require live WhatsApp testing.
326
+ - Status mention functionality should be tested with a dedicated account before production use.
327
+ - WhatsApp may change its internal protocols without notice.
328
+ - Connection restrictions, account-level limitations, and server-side errors cannot always be resolved through library-side changes.
329
+ - Always keep your authentication credentials private.
330
+
331
+ ## 📄 License
332
+
333
+ MIT License
334
+
335
+ ## 🖤 Credits
102
336
 
103
- - **1.0.4** — Official-issue fixes: WIN_HYBRID pehchan, version pin, onWhatsApp LID (upar wali list)
104
- - **1.0.3** — Media stream download fixes
105
- - **1.0.2** — Channels/newsletter fixes
106
- - **1.0.1** — Dependencies apne packages par: `@qadeer-xtech/libsignal`, `@qadeer-xtech/whatsapp-rust-bridge`
107
- - **1.0.0** — Official Baileys 7.0.0-rc14 ki saaf copy
337
+ Developed and maintained by Team Qadeer.
108
338
 
109
- ## License
339
+ STABLEBAIL — Built for developers. Enhanced for performance.
110
340
 
111
- MIT
341
+ "Powered by Team Qadeer"
@@ -1844,6 +1844,7 @@ message HistorySync {
1844
1844
  optional string companionMetaNonce = 16;
1845
1845
  optional bytes shareableChatIdentifierEncryptionKey = 17;
1846
1846
  repeated Account accounts = 18;
1847
+ optional bytes nctSalt = 19;
1847
1848
  enum BotAIWaitListState {
1848
1849
  IN_WAITLIST = 0;
1849
1850
  AI_AVAILABLE = 1;
@@ -4527,12 +4528,17 @@ message SyncActionValue {
4527
4528
  optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
4528
4529
  optional AiThreadRenameAction aiThreadRenameAction = 76;
4529
4530
  optional InteractiveMessageAction interactiveMessageAction = 77;
4531
+ optional NctSaltSyncAction nctSaltSyncAction = 80;
4530
4532
  message AgentAction {
4531
4533
  optional string name = 1;
4532
4534
  optional int32 deviceID = 2;
4533
4535
  optional bool isDeleted = 3;
4534
4536
  }
4535
4537
 
4538
+ message NctSaltSyncAction {
4539
+ optional bytes salt = 1;
4540
+ }
4541
+
4536
4542
  message AiThreadRenameAction {
4537
4543
  optional string newTitle = 1;
4538
4544
  }
@@ -4532,6 +4532,7 @@ export namespace proto {
4532
4532
  companionMetaNonce?: (string|null);
4533
4533
  shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
4534
4534
  accounts?: (proto.IAccount[]|null);
4535
+ nctSalt?: (Uint8Array|null);
4535
4536
  }
4536
4537
 
4537
4538
  class HistorySync implements IHistorySync {
@@ -4553,6 +4554,7 @@ export namespace proto {
4553
4554
  public companionMetaNonce?: (string|null);
4554
4555
  public shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
4555
4556
  public accounts: proto.IAccount[];
4557
+ public nctSalt?: (Uint8Array|null);
4556
4558
  public static create(properties?: proto.IHistorySync): proto.HistorySync;
4557
4559
  public static encode(m: proto.IHistorySync, w?: $protobuf.Writer): $protobuf.Writer;
4558
4560
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HistorySync;
@@ -11494,6 +11496,7 @@ export namespace proto {
11494
11496
  newsletterSavedInterestsAction?: (proto.SyncActionValue.INewsletterSavedInterestsAction|null);
11495
11497
  aiThreadRenameAction?: (proto.SyncActionValue.IAiThreadRenameAction|null);
11496
11498
  interactiveMessageAction?: (proto.SyncActionValue.IInteractiveMessageAction|null);
11499
+ nctSaltSyncAction?: (proto.SyncActionValue.INctSaltSyncAction|null);
11497
11500
  }
11498
11501
 
11499
11502
  class SyncActionValue implements ISyncActionValue {
@@ -11567,6 +11570,7 @@ export namespace proto {
11567
11570
  public newsletterSavedInterestsAction?: (proto.SyncActionValue.INewsletterSavedInterestsAction|null);
11568
11571
  public aiThreadRenameAction?: (proto.SyncActionValue.IAiThreadRenameAction|null);
11569
11572
  public interactiveMessageAction?: (proto.SyncActionValue.IInteractiveMessageAction|null);
11573
+ public nctSaltSyncAction?: (proto.SyncActionValue.INctSaltSyncAction|null);
11570
11574
  public static create(properties?: proto.ISyncActionValue): proto.SyncActionValue;
11571
11575
  public static encode(m: proto.ISyncActionValue, w?: $protobuf.Writer): $protobuf.Writer;
11572
11576
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue;
@@ -11598,6 +11602,22 @@ export namespace proto {
11598
11602
  public static getTypeUrl(typeUrlPrefix?: string): string;
11599
11603
  }
11600
11604
 
11605
+ interface INctSaltSyncAction {
11606
+ salt?: (Uint8Array|null);
11607
+ }
11608
+
11609
+ class NctSaltSyncAction implements INctSaltSyncAction {
11610
+ constructor(p?: proto.SyncActionValue.INctSaltSyncAction);
11611
+ public salt?: (Uint8Array|null);
11612
+ public static create(properties?: proto.SyncActionValue.INctSaltSyncAction): proto.SyncActionValue.NctSaltSyncAction;
11613
+ public static encode(m: proto.SyncActionValue.INctSaltSyncAction, w?: $protobuf.Writer): $protobuf.Writer;
11614
+ public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.NctSaltSyncAction;
11615
+ public static fromObject(d: { [k: string]: any }): proto.SyncActionValue.NctSaltSyncAction;
11616
+ public static toObject(m: proto.SyncActionValue.NctSaltSyncAction, o?: $protobuf.IConversionOptions): { [k: string]: any };
11617
+ public toJSON(): { [k: string]: any };
11618
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11619
+ }
11620
+
11601
11621
  interface IAiThreadRenameAction {
11602
11622
  newTitle?: (string|null);
11603
11623
  }