From 9fd88b533dd21aa2a84e4346319d4c54f13f88d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 01:46:40 -0300 Subject: [PATCH] chore: update proto/version to v2.3000.1036173230 (#326) Co-authored-by: rsalcara --- WAProto/WAProto.proto | 7 ++++- WAProto/index.d.ts | 11 +++++-- WAProto/index.js | 49 +++++++++++++++++++++++++++++++ src/Defaults/baileys-version.json | 2 +- 4 files changed, 65 insertions(+), 4 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index 6205b070..7eaf5eca 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1036065881 +/// WhatsApp Version: 2.3000.1036173230 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -5022,6 +5022,7 @@ message SyncActionValue { DRAFTED = 8; AI_HANDOFF = 9; CHANNELS = 10; + AI_RESPONDING = 11; } } @@ -5237,6 +5238,8 @@ message SyncActionValue { optional bool isStatusNotificationEnabled = 29; optional int32 statusNotificationToneId = 30; optional bool shouldPlaySoundForCallNotification = 31; + optional string chatThemeId = 32; + optional string colorSchemeId = 33; enum DisplayMode { DISPLAY_MODE_UNKNOWN = 0; ALWAYS = 1; @@ -5281,6 +5284,8 @@ message SyncActionValue { IS_STATUS_NOTIFICATION_ENABLED = 29; STATUS_NOTIFICATION_TONE_ID = 30; SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31; + CHAT_THEME_ID = 32; + COLOR_SCHEME_ID = 33; } enum SettingPlatform { PLATFORM_UNKNOWN = 0; diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index 67342b0c..799613aa 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -12920,7 +12920,8 @@ export namespace proto { SERVER_ASSIGNED = 7, DRAFTED = 8, AI_HANDOFF = 9, - CHANNELS = 10 + CHANNELS = 10, + AI_RESPONDING = 11 } } @@ -13562,6 +13563,8 @@ export namespace proto { isStatusNotificationEnabled?: (boolean|null); statusNotificationToneId?: (number|null); shouldPlaySoundForCallNotification?: (boolean|null); + chatThemeId?: (string|null); + colorSchemeId?: (string|null); } class SettingsSyncAction implements ISettingsSyncAction { @@ -13597,6 +13600,8 @@ export namespace proto { public isStatusNotificationEnabled?: (boolean|null); public statusNotificationToneId?: (number|null); public shouldPlaySoundForCallNotification?: (boolean|null); + public chatThemeId?: (string|null); + public colorSchemeId?: (string|null); public static create(properties?: proto.SyncActionValue.ISettingsSyncAction): proto.SyncActionValue.SettingsSyncAction; public static encode(m: proto.SyncActionValue.ISettingsSyncAction, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SettingsSyncAction; @@ -13653,7 +13658,9 @@ export namespace proto { IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28, IS_STATUS_NOTIFICATION_ENABLED = 29, STATUS_NOTIFICATION_TONE_ID = 30, - SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31 + SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31, + CHAT_THEME_ID = 32, + COLOR_SCHEME_ID = 33 } enum SettingPlatform { diff --git a/WAProto/index.js b/WAProto/index.js index d8c7e68b..589efdca 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -90293,6 +90293,10 @@ export const proto = $root.proto = (() => { case 10: m.type = 10; break; + case "AI_RESPONDING": + case 11: + m.type = 11; + break; } if (d.isImmutable != null) { m.isImmutable = Boolean(d.isImmutable); @@ -90389,6 +90393,7 @@ export const proto = $root.proto = (() => { values[valuesById[8] = "DRAFTED"] = 8; values[valuesById[9] = "AI_HANDOFF"] = 9; values[valuesById[10] = "CHANNELS"] = 10; + values[valuesById[11] = "AI_RESPONDING"] = 11; return values; })(); @@ -93986,6 +93991,8 @@ export const proto = $root.proto = (() => { SettingsSyncAction.prototype.isStatusNotificationEnabled = null; SettingsSyncAction.prototype.statusNotificationToneId = null; SettingsSyncAction.prototype.shouldPlaySoundForCallNotification = null; + SettingsSyncAction.prototype.chatThemeId = null; + SettingsSyncAction.prototype.colorSchemeId = null; let $oneOfFields; @@ -94175,6 +94182,18 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(SettingsSyncAction.prototype, "_chatThemeId", { + get: $util.oneOfGetter($oneOfFields = ["chatThemeId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(SettingsSyncAction.prototype, "_colorSchemeId", { + get: $util.oneOfGetter($oneOfFields = ["colorSchemeId"]), + set: $util.oneOfSetter($oneOfFields) + }); + SettingsSyncAction.create = function create(properties) { return new SettingsSyncAction(properties); }; @@ -94244,6 +94263,10 @@ export const proto = $root.proto = (() => { w.uint32(240).int32(m.statusNotificationToneId); if (m.shouldPlaySoundForCallNotification != null && Object.hasOwnProperty.call(m, "shouldPlaySoundForCallNotification")) w.uint32(248).bool(m.shouldPlaySoundForCallNotification); + if (m.chatThemeId != null && Object.hasOwnProperty.call(m, "chatThemeId")) + w.uint32(258).string(m.chatThemeId); + if (m.colorSchemeId != null && Object.hasOwnProperty.call(m, "colorSchemeId")) + w.uint32(266).string(m.colorSchemeId); return w; }; @@ -94380,6 +94403,14 @@ export const proto = $root.proto = (() => { m.shouldPlaySoundForCallNotification = r.bool(); break; } + case 32: { + m.chatThemeId = r.string(); + break; + } + case 33: { + m.colorSchemeId = r.string(); + break; + } default: r.skipType(t & 7); break; @@ -94544,6 +94575,12 @@ export const proto = $root.proto = (() => { if (d.shouldPlaySoundForCallNotification != null) { m.shouldPlaySoundForCallNotification = Boolean(d.shouldPlaySoundForCallNotification); } + if (d.chatThemeId != null) { + m.chatThemeId = String(d.chatThemeId); + } + if (d.colorSchemeId != null) { + m.colorSchemeId = String(d.colorSchemeId); + } return m; }; @@ -94706,6 +94743,16 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._shouldPlaySoundForCallNotification = "shouldPlaySoundForCallNotification"; } + if (m.chatThemeId != null && m.hasOwnProperty("chatThemeId")) { + d.chatThemeId = m.chatThemeId; + if (o.oneofs) + d._chatThemeId = "chatThemeId"; + } + if (m.colorSchemeId != null && m.hasOwnProperty("colorSchemeId")) { + d.colorSchemeId = m.colorSchemeId; + if (o.oneofs) + d._colorSchemeId = "colorSchemeId"; + } return d; }; @@ -94771,6 +94818,8 @@ export const proto = $root.proto = (() => { values[valuesById[29] = "IS_STATUS_NOTIFICATION_ENABLED"] = 29; values[valuesById[30] = "STATUS_NOTIFICATION_TONE_ID"] = 30; values[valuesById[31] = "SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION"] = 31; + values[valuesById[32] = "CHAT_THEME_ID"] = 32; + values[valuesById[33] = "COLOR_SCHEME_ID"] = 33; return values; })(); diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index 5ab86c19..13f56a5f 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1 @@ -{"version":[2,3000,1036094556]} +{"version": [2, 3000, 1036173230]}