@wppconnect/wa-proto 2.3000.1030169719 → 2.3000.1030318976
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/CHANGELOG.md +8 -0
- package/WAProto.proto +17 -1
- package/dist/index.d.ts +28 -2
- package/dist/index.js +225 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3000.1030318976](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1030235766...v2.3000.1030318976) (2025-11-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [2.3000.1030235766](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1030169719...v2.3000.1030235766) (2025-11-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [2.3000.1030169719](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1030110621...v2.3000.1030169719) (2025-11-20)
|
|
2
10
|
|
|
3
11
|
|
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1030318976
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -391,6 +391,9 @@ message BotCapabilityMetadata {
|
|
|
391
391
|
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
392
|
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
393
|
RICH_RESPONSE_UR_REASONING = 49;
|
|
394
|
+
RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50;
|
|
395
|
+
RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51;
|
|
396
|
+
AI_IMAGINE_LOADING_INDICATOR = 52;
|
|
394
397
|
}
|
|
395
398
|
}
|
|
396
399
|
|
|
@@ -655,7 +658,18 @@ enum BotMetricsEntryPoint {
|
|
|
655
658
|
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
656
659
|
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
657
660
|
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
661
|
+
MEDIA_PICKER_1_ON_1_CHAT = 39;
|
|
662
|
+
MEDIA_PICKER_GROUP_CHAT = 40;
|
|
663
|
+
ASK_META_AI_NO_SEARCH_RESULTS = 41;
|
|
658
664
|
META_AI_SETTINGS = 45;
|
|
665
|
+
AI_HOME_LEARN = 46;
|
|
666
|
+
AI_HOME_WRITE = 47;
|
|
667
|
+
AI_HOME_CREATE_IMAGE = 48;
|
|
668
|
+
AI_HOME_ANIMATE_PHOTO = 49;
|
|
669
|
+
AI_HOME_GET_ADVICE = 50;
|
|
670
|
+
AI_HOME_ANALYZE_FILE = 51;
|
|
671
|
+
AI_HOME_PLAN = 52;
|
|
672
|
+
AI_HOME_HAVE_FUN = 53;
|
|
659
673
|
}
|
|
660
674
|
message BotMetricsMetadata {
|
|
661
675
|
optional string destinationId = 1;
|
|
@@ -1433,6 +1447,7 @@ message ContextInfo {
|
|
|
1433
1447
|
optional string newsletterName = 3;
|
|
1434
1448
|
optional ContentType contentType = 4;
|
|
1435
1449
|
optional string accessibilityText = 5;
|
|
1450
|
+
optional string profileName = 6;
|
|
1436
1451
|
enum ContentType {
|
|
1437
1452
|
UPDATE = 1;
|
|
1438
1453
|
UPDATE_CARD = 2;
|
|
@@ -2190,6 +2205,7 @@ message Message {
|
|
|
2190
2205
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2191
2206
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2192
2207
|
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
2208
|
+
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
2193
2209
|
message AlbumMessage {
|
|
2194
2210
|
optional uint32 expectedImageCount = 2;
|
|
2195
2211
|
optional uint32 expectedVideoCount = 3;
|
package/dist/index.d.ts
CHANGED
|
@@ -4688,7 +4688,10 @@ export namespace waproto {
|
|
|
4688
4688
|
RICH_RESPONSE_IN_APP_SURVEY = 46,
|
|
4689
4689
|
AI_RESPONSE_MODEL_BRANDING = 47,
|
|
4690
4690
|
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48,
|
|
4691
|
-
RICH_RESPONSE_UR_REASONING = 49
|
|
4691
|
+
RICH_RESPONSE_UR_REASONING = 49,
|
|
4692
|
+
RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50,
|
|
4693
|
+
RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51,
|
|
4694
|
+
AI_IMAGINE_LOADING_INDICATOR = 52
|
|
4692
4695
|
}
|
|
4693
4696
|
}
|
|
4694
4697
|
|
|
@@ -7495,7 +7498,18 @@ export namespace waproto {
|
|
|
7495
7498
|
ATTACHMENT_TRAY_GROUP_CHAT = 36,
|
|
7496
7499
|
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37,
|
|
7497
7500
|
ASK_META_AI_MEDIA_VIEWER_GROUP = 38,
|
|
7498
|
-
|
|
7501
|
+
MEDIA_PICKER_1_ON_1_CHAT = 39,
|
|
7502
|
+
MEDIA_PICKER_GROUP_CHAT = 40,
|
|
7503
|
+
ASK_META_AI_NO_SEARCH_RESULTS = 41,
|
|
7504
|
+
META_AI_SETTINGS = 45,
|
|
7505
|
+
AI_HOME_LEARN = 46,
|
|
7506
|
+
AI_HOME_WRITE = 47,
|
|
7507
|
+
AI_HOME_CREATE_IMAGE = 48,
|
|
7508
|
+
AI_HOME_ANIMATE_PHOTO = 49,
|
|
7509
|
+
AI_HOME_GET_ADVICE = 50,
|
|
7510
|
+
AI_HOME_ANALYZE_FILE = 51,
|
|
7511
|
+
AI_HOME_PLAN = 52,
|
|
7512
|
+
AI_HOME_HAVE_FUN = 53
|
|
7499
7513
|
}
|
|
7500
7514
|
|
|
7501
7515
|
/** Properties of a BotMetricsMetadata. */
|
|
@@ -15118,6 +15132,9 @@ export namespace waproto {
|
|
|
15118
15132
|
|
|
15119
15133
|
/** ForwardedNewsletterMessageInfo accessibilityText */
|
|
15120
15134
|
accessibilityText?: (string|null);
|
|
15135
|
+
|
|
15136
|
+
/** ForwardedNewsletterMessageInfo profileName */
|
|
15137
|
+
profileName?: (string|null);
|
|
15121
15138
|
}
|
|
15122
15139
|
|
|
15123
15140
|
/** Represents a ForwardedNewsletterMessageInfo. */
|
|
@@ -15144,6 +15161,9 @@ export namespace waproto {
|
|
|
15144
15161
|
/** ForwardedNewsletterMessageInfo accessibilityText. */
|
|
15145
15162
|
public accessibilityText?: (string|null);
|
|
15146
15163
|
|
|
15164
|
+
/** ForwardedNewsletterMessageInfo profileName. */
|
|
15165
|
+
public profileName?: (string|null);
|
|
15166
|
+
|
|
15147
15167
|
/**
|
|
15148
15168
|
* Creates a new ForwardedNewsletterMessageInfo instance using the specified properties.
|
|
15149
15169
|
* @param [properties] Properties to set
|
|
@@ -23263,6 +23283,9 @@ export namespace waproto {
|
|
|
23263
23283
|
|
|
23264
23284
|
/** Message pollResultSnapshotMessageV3 */
|
|
23265
23285
|
pollResultSnapshotMessageV3?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
23286
|
+
|
|
23287
|
+
/** Message newsletterAdminProfileMessage */
|
|
23288
|
+
newsletterAdminProfileMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
23266
23289
|
}
|
|
23267
23290
|
|
|
23268
23291
|
/** Represents a Message. */
|
|
@@ -23559,6 +23582,9 @@ export namespace waproto {
|
|
|
23559
23582
|
/** Message pollResultSnapshotMessageV3. */
|
|
23560
23583
|
public pollResultSnapshotMessageV3?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
23561
23584
|
|
|
23585
|
+
/** Message newsletterAdminProfileMessage. */
|
|
23586
|
+
public newsletterAdminProfileMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
23587
|
+
|
|
23562
23588
|
/**
|
|
23563
23589
|
* Creates a new Message instance using the specified properties.
|
|
23564
23590
|
* @param [properties] Properties to set
|
package/dist/index.js
CHANGED
|
@@ -13001,6 +13001,9 @@ $root.waproto = (function() {
|
|
|
13001
13001
|
case 47:
|
|
13002
13002
|
case 48:
|
|
13003
13003
|
case 49:
|
|
13004
|
+
case 50:
|
|
13005
|
+
case 51:
|
|
13006
|
+
case 52:
|
|
13004
13007
|
break;
|
|
13005
13008
|
}
|
|
13006
13009
|
}
|
|
@@ -13230,6 +13233,18 @@ $root.waproto = (function() {
|
|
|
13230
13233
|
case 49:
|
|
13231
13234
|
message.capabilities[i] = 49;
|
|
13232
13235
|
break;
|
|
13236
|
+
case "RICH_RESPONSE_UR_ZEITGEIST_CITATIONS":
|
|
13237
|
+
case 50:
|
|
13238
|
+
message.capabilities[i] = 50;
|
|
13239
|
+
break;
|
|
13240
|
+
case "RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL":
|
|
13241
|
+
case 51:
|
|
13242
|
+
message.capabilities[i] = 51;
|
|
13243
|
+
break;
|
|
13244
|
+
case "AI_IMAGINE_LOADING_INDICATOR":
|
|
13245
|
+
case 52:
|
|
13246
|
+
message.capabilities[i] = 52;
|
|
13247
|
+
break;
|
|
13233
13248
|
}
|
|
13234
13249
|
}
|
|
13235
13250
|
return message;
|
|
@@ -13338,6 +13353,9 @@ $root.waproto = (function() {
|
|
|
13338
13353
|
* @property {number} AI_RESPONSE_MODEL_BRANDING=47 AI_RESPONSE_MODEL_BRANDING value
|
|
13339
13354
|
* @property {number} SESSION_TRANSPARENCY_SYSTEM_MESSAGE=48 SESSION_TRANSPARENCY_SYSTEM_MESSAGE value
|
|
13340
13355
|
* @property {number} RICH_RESPONSE_UR_REASONING=49 RICH_RESPONSE_UR_REASONING value
|
|
13356
|
+
* @property {number} RICH_RESPONSE_UR_ZEITGEIST_CITATIONS=50 RICH_RESPONSE_UR_ZEITGEIST_CITATIONS value
|
|
13357
|
+
* @property {number} RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL=51 RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL value
|
|
13358
|
+
* @property {number} AI_IMAGINE_LOADING_INDICATOR=52 AI_IMAGINE_LOADING_INDICATOR value
|
|
13341
13359
|
*/
|
|
13342
13360
|
BotCapabilityMetadata.BotCapabilityType = (function() {
|
|
13343
13361
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -13391,6 +13409,9 @@ $root.waproto = (function() {
|
|
|
13391
13409
|
values[valuesById[47] = "AI_RESPONSE_MODEL_BRANDING"] = 47;
|
|
13392
13410
|
values[valuesById[48] = "SESSION_TRANSPARENCY_SYSTEM_MESSAGE"] = 48;
|
|
13393
13411
|
values[valuesById[49] = "RICH_RESPONSE_UR_REASONING"] = 49;
|
|
13412
|
+
values[valuesById[50] = "RICH_RESPONSE_UR_ZEITGEIST_CITATIONS"] = 50;
|
|
13413
|
+
values[valuesById[51] = "RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL"] = 51;
|
|
13414
|
+
values[valuesById[52] = "AI_IMAGINE_LOADING_INDICATOR"] = 52;
|
|
13394
13415
|
return values;
|
|
13395
13416
|
})();
|
|
13396
13417
|
|
|
@@ -19842,7 +19863,18 @@ $root.waproto = (function() {
|
|
|
19842
19863
|
case 36:
|
|
19843
19864
|
case 37:
|
|
19844
19865
|
case 38:
|
|
19866
|
+
case 39:
|
|
19867
|
+
case 40:
|
|
19868
|
+
case 41:
|
|
19845
19869
|
case 45:
|
|
19870
|
+
case 46:
|
|
19871
|
+
case 47:
|
|
19872
|
+
case 48:
|
|
19873
|
+
case 49:
|
|
19874
|
+
case 50:
|
|
19875
|
+
case 51:
|
|
19876
|
+
case 52:
|
|
19877
|
+
case 53:
|
|
19846
19878
|
break;
|
|
19847
19879
|
}
|
|
19848
19880
|
}
|
|
@@ -20029,10 +20061,54 @@ $root.waproto = (function() {
|
|
|
20029
20061
|
case 38:
|
|
20030
20062
|
message.botEntryPointOrigin = 38;
|
|
20031
20063
|
break;
|
|
20064
|
+
case "MEDIA_PICKER_1_ON_1_CHAT":
|
|
20065
|
+
case 39:
|
|
20066
|
+
message.botEntryPointOrigin = 39;
|
|
20067
|
+
break;
|
|
20068
|
+
case "MEDIA_PICKER_GROUP_CHAT":
|
|
20069
|
+
case 40:
|
|
20070
|
+
message.botEntryPointOrigin = 40;
|
|
20071
|
+
break;
|
|
20072
|
+
case "ASK_META_AI_NO_SEARCH_RESULTS":
|
|
20073
|
+
case 41:
|
|
20074
|
+
message.botEntryPointOrigin = 41;
|
|
20075
|
+
break;
|
|
20032
20076
|
case "META_AI_SETTINGS":
|
|
20033
20077
|
case 45:
|
|
20034
20078
|
message.botEntryPointOrigin = 45;
|
|
20035
20079
|
break;
|
|
20080
|
+
case "AI_HOME_LEARN":
|
|
20081
|
+
case 46:
|
|
20082
|
+
message.botEntryPointOrigin = 46;
|
|
20083
|
+
break;
|
|
20084
|
+
case "AI_HOME_WRITE":
|
|
20085
|
+
case 47:
|
|
20086
|
+
message.botEntryPointOrigin = 47;
|
|
20087
|
+
break;
|
|
20088
|
+
case "AI_HOME_CREATE_IMAGE":
|
|
20089
|
+
case 48:
|
|
20090
|
+
message.botEntryPointOrigin = 48;
|
|
20091
|
+
break;
|
|
20092
|
+
case "AI_HOME_ANIMATE_PHOTO":
|
|
20093
|
+
case 49:
|
|
20094
|
+
message.botEntryPointOrigin = 49;
|
|
20095
|
+
break;
|
|
20096
|
+
case "AI_HOME_GET_ADVICE":
|
|
20097
|
+
case 50:
|
|
20098
|
+
message.botEntryPointOrigin = 50;
|
|
20099
|
+
break;
|
|
20100
|
+
case "AI_HOME_ANALYZE_FILE":
|
|
20101
|
+
case 51:
|
|
20102
|
+
message.botEntryPointOrigin = 51;
|
|
20103
|
+
break;
|
|
20104
|
+
case "AI_HOME_PLAN":
|
|
20105
|
+
case 52:
|
|
20106
|
+
message.botEntryPointOrigin = 52;
|
|
20107
|
+
break;
|
|
20108
|
+
case "AI_HOME_HAVE_FUN":
|
|
20109
|
+
case 53:
|
|
20110
|
+
message.botEntryPointOrigin = 53;
|
|
20111
|
+
break;
|
|
20036
20112
|
}
|
|
20037
20113
|
if (object.forwardScore != null)
|
|
20038
20114
|
message.forwardScore = object.forwardScore >>> 0;
|
|
@@ -21682,7 +21758,18 @@ $root.waproto = (function() {
|
|
|
21682
21758
|
* @property {number} ATTACHMENT_TRAY_GROUP_CHAT=36 ATTACHMENT_TRAY_GROUP_CHAT value
|
|
21683
21759
|
* @property {number} ASK_META_AI_MEDIA_VIEWER_1ON1=37 ASK_META_AI_MEDIA_VIEWER_1ON1 value
|
|
21684
21760
|
* @property {number} ASK_META_AI_MEDIA_VIEWER_GROUP=38 ASK_META_AI_MEDIA_VIEWER_GROUP value
|
|
21761
|
+
* @property {number} MEDIA_PICKER_1_ON_1_CHAT=39 MEDIA_PICKER_1_ON_1_CHAT value
|
|
21762
|
+
* @property {number} MEDIA_PICKER_GROUP_CHAT=40 MEDIA_PICKER_GROUP_CHAT value
|
|
21763
|
+
* @property {number} ASK_META_AI_NO_SEARCH_RESULTS=41 ASK_META_AI_NO_SEARCH_RESULTS value
|
|
21685
21764
|
* @property {number} META_AI_SETTINGS=45 META_AI_SETTINGS value
|
|
21765
|
+
* @property {number} AI_HOME_LEARN=46 AI_HOME_LEARN value
|
|
21766
|
+
* @property {number} AI_HOME_WRITE=47 AI_HOME_WRITE value
|
|
21767
|
+
* @property {number} AI_HOME_CREATE_IMAGE=48 AI_HOME_CREATE_IMAGE value
|
|
21768
|
+
* @property {number} AI_HOME_ANIMATE_PHOTO=49 AI_HOME_ANIMATE_PHOTO value
|
|
21769
|
+
* @property {number} AI_HOME_GET_ADVICE=50 AI_HOME_GET_ADVICE value
|
|
21770
|
+
* @property {number} AI_HOME_ANALYZE_FILE=51 AI_HOME_ANALYZE_FILE value
|
|
21771
|
+
* @property {number} AI_HOME_PLAN=52 AI_HOME_PLAN value
|
|
21772
|
+
* @property {number} AI_HOME_HAVE_FUN=53 AI_HOME_HAVE_FUN value
|
|
21686
21773
|
*/
|
|
21687
21774
|
waproto.BotMetricsEntryPoint = (function() {
|
|
21688
21775
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -21725,7 +21812,18 @@ $root.waproto = (function() {
|
|
|
21725
21812
|
values[valuesById[36] = "ATTACHMENT_TRAY_GROUP_CHAT"] = 36;
|
|
21726
21813
|
values[valuesById[37] = "ASK_META_AI_MEDIA_VIEWER_1ON1"] = 37;
|
|
21727
21814
|
values[valuesById[38] = "ASK_META_AI_MEDIA_VIEWER_GROUP"] = 38;
|
|
21815
|
+
values[valuesById[39] = "MEDIA_PICKER_1_ON_1_CHAT"] = 39;
|
|
21816
|
+
values[valuesById[40] = "MEDIA_PICKER_GROUP_CHAT"] = 40;
|
|
21817
|
+
values[valuesById[41] = "ASK_META_AI_NO_SEARCH_RESULTS"] = 41;
|
|
21728
21818
|
values[valuesById[45] = "META_AI_SETTINGS"] = 45;
|
|
21819
|
+
values[valuesById[46] = "AI_HOME_LEARN"] = 46;
|
|
21820
|
+
values[valuesById[47] = "AI_HOME_WRITE"] = 47;
|
|
21821
|
+
values[valuesById[48] = "AI_HOME_CREATE_IMAGE"] = 48;
|
|
21822
|
+
values[valuesById[49] = "AI_HOME_ANIMATE_PHOTO"] = 49;
|
|
21823
|
+
values[valuesById[50] = "AI_HOME_GET_ADVICE"] = 50;
|
|
21824
|
+
values[valuesById[51] = "AI_HOME_ANALYZE_FILE"] = 51;
|
|
21825
|
+
values[valuesById[52] = "AI_HOME_PLAN"] = 52;
|
|
21826
|
+
values[valuesById[53] = "AI_HOME_HAVE_FUN"] = 53;
|
|
21729
21827
|
return values;
|
|
21730
21828
|
})();
|
|
21731
21829
|
|
|
@@ -21961,7 +22059,18 @@ $root.waproto = (function() {
|
|
|
21961
22059
|
case 36:
|
|
21962
22060
|
case 37:
|
|
21963
22061
|
case 38:
|
|
22062
|
+
case 39:
|
|
22063
|
+
case 40:
|
|
22064
|
+
case 41:
|
|
21964
22065
|
case 45:
|
|
22066
|
+
case 46:
|
|
22067
|
+
case 47:
|
|
22068
|
+
case 48:
|
|
22069
|
+
case 49:
|
|
22070
|
+
case 50:
|
|
22071
|
+
case 51:
|
|
22072
|
+
case 52:
|
|
22073
|
+
case 53:
|
|
21965
22074
|
break;
|
|
21966
22075
|
}
|
|
21967
22076
|
}
|
|
@@ -22158,10 +22267,54 @@ $root.waproto = (function() {
|
|
|
22158
22267
|
case 38:
|
|
22159
22268
|
message.destinationEntryPoint = 38;
|
|
22160
22269
|
break;
|
|
22270
|
+
case "MEDIA_PICKER_1_ON_1_CHAT":
|
|
22271
|
+
case 39:
|
|
22272
|
+
message.destinationEntryPoint = 39;
|
|
22273
|
+
break;
|
|
22274
|
+
case "MEDIA_PICKER_GROUP_CHAT":
|
|
22275
|
+
case 40:
|
|
22276
|
+
message.destinationEntryPoint = 40;
|
|
22277
|
+
break;
|
|
22278
|
+
case "ASK_META_AI_NO_SEARCH_RESULTS":
|
|
22279
|
+
case 41:
|
|
22280
|
+
message.destinationEntryPoint = 41;
|
|
22281
|
+
break;
|
|
22161
22282
|
case "META_AI_SETTINGS":
|
|
22162
22283
|
case 45:
|
|
22163
22284
|
message.destinationEntryPoint = 45;
|
|
22164
22285
|
break;
|
|
22286
|
+
case "AI_HOME_LEARN":
|
|
22287
|
+
case 46:
|
|
22288
|
+
message.destinationEntryPoint = 46;
|
|
22289
|
+
break;
|
|
22290
|
+
case "AI_HOME_WRITE":
|
|
22291
|
+
case 47:
|
|
22292
|
+
message.destinationEntryPoint = 47;
|
|
22293
|
+
break;
|
|
22294
|
+
case "AI_HOME_CREATE_IMAGE":
|
|
22295
|
+
case 48:
|
|
22296
|
+
message.destinationEntryPoint = 48;
|
|
22297
|
+
break;
|
|
22298
|
+
case "AI_HOME_ANIMATE_PHOTO":
|
|
22299
|
+
case 49:
|
|
22300
|
+
message.destinationEntryPoint = 49;
|
|
22301
|
+
break;
|
|
22302
|
+
case "AI_HOME_GET_ADVICE":
|
|
22303
|
+
case 50:
|
|
22304
|
+
message.destinationEntryPoint = 50;
|
|
22305
|
+
break;
|
|
22306
|
+
case "AI_HOME_ANALYZE_FILE":
|
|
22307
|
+
case 51:
|
|
22308
|
+
message.destinationEntryPoint = 51;
|
|
22309
|
+
break;
|
|
22310
|
+
case "AI_HOME_PLAN":
|
|
22311
|
+
case 52:
|
|
22312
|
+
message.destinationEntryPoint = 52;
|
|
22313
|
+
break;
|
|
22314
|
+
case "AI_HOME_HAVE_FUN":
|
|
22315
|
+
case 53:
|
|
22316
|
+
message.destinationEntryPoint = 53;
|
|
22317
|
+
break;
|
|
22165
22318
|
}
|
|
22166
22319
|
switch (object.threadOrigin) {
|
|
22167
22320
|
default:
|
|
@@ -46334,6 +46487,7 @@ $root.waproto = (function() {
|
|
|
46334
46487
|
* @property {string|null} [newsletterName] ForwardedNewsletterMessageInfo newsletterName
|
|
46335
46488
|
* @property {waproto.ContextInfo.ForwardedNewsletterMessageInfo.ContentType|null} [contentType] ForwardedNewsletterMessageInfo contentType
|
|
46336
46489
|
* @property {string|null} [accessibilityText] ForwardedNewsletterMessageInfo accessibilityText
|
|
46490
|
+
* @property {string|null} [profileName] ForwardedNewsletterMessageInfo profileName
|
|
46337
46491
|
*/
|
|
46338
46492
|
|
|
46339
46493
|
/**
|
|
@@ -46391,6 +46545,14 @@ $root.waproto = (function() {
|
|
|
46391
46545
|
*/
|
|
46392
46546
|
ForwardedNewsletterMessageInfo.prototype.accessibilityText = null;
|
|
46393
46547
|
|
|
46548
|
+
/**
|
|
46549
|
+
* ForwardedNewsletterMessageInfo profileName.
|
|
46550
|
+
* @member {string|null|undefined} profileName
|
|
46551
|
+
* @memberof waproto.ContextInfo.ForwardedNewsletterMessageInfo
|
|
46552
|
+
* @instance
|
|
46553
|
+
*/
|
|
46554
|
+
ForwardedNewsletterMessageInfo.prototype.profileName = null;
|
|
46555
|
+
|
|
46394
46556
|
// OneOf field names bound to virtual getters and setters
|
|
46395
46557
|
var $oneOfFields;
|
|
46396
46558
|
|
|
@@ -46424,6 +46586,12 @@ $root.waproto = (function() {
|
|
|
46424
46586
|
set: $util.oneOfSetter($oneOfFields)
|
|
46425
46587
|
});
|
|
46426
46588
|
|
|
46589
|
+
// Virtual OneOf for proto3 optional field
|
|
46590
|
+
Object.defineProperty(ForwardedNewsletterMessageInfo.prototype, "_profileName", {
|
|
46591
|
+
get: $util.oneOfGetter($oneOfFields = ["profileName"]),
|
|
46592
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
46593
|
+
});
|
|
46594
|
+
|
|
46427
46595
|
/**
|
|
46428
46596
|
* Creates a new ForwardedNewsletterMessageInfo instance using the specified properties.
|
|
46429
46597
|
* @function create
|
|
@@ -46458,6 +46626,8 @@ $root.waproto = (function() {
|
|
|
46458
46626
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.contentType);
|
|
46459
46627
|
if (message.accessibilityText != null && Object.hasOwnProperty.call(message, "accessibilityText"))
|
|
46460
46628
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.accessibilityText);
|
|
46629
|
+
if (message.profileName != null && Object.hasOwnProperty.call(message, "profileName"))
|
|
46630
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.profileName);
|
|
46461
46631
|
return writer;
|
|
46462
46632
|
};
|
|
46463
46633
|
|
|
@@ -46512,6 +46682,10 @@ $root.waproto = (function() {
|
|
|
46512
46682
|
message.accessibilityText = reader.string();
|
|
46513
46683
|
break;
|
|
46514
46684
|
}
|
|
46685
|
+
case 6: {
|
|
46686
|
+
message.profileName = reader.string();
|
|
46687
|
+
break;
|
|
46688
|
+
}
|
|
46515
46689
|
default:
|
|
46516
46690
|
reader.skipType(tag & 7);
|
|
46517
46691
|
break;
|
|
@@ -46579,6 +46753,11 @@ $root.waproto = (function() {
|
|
|
46579
46753
|
if (!$util.isString(message.accessibilityText))
|
|
46580
46754
|
return "accessibilityText: string expected";
|
|
46581
46755
|
}
|
|
46756
|
+
if (message.profileName != null && message.hasOwnProperty("profileName")) {
|
|
46757
|
+
properties._profileName = 1;
|
|
46758
|
+
if (!$util.isString(message.profileName))
|
|
46759
|
+
return "profileName: string expected";
|
|
46760
|
+
}
|
|
46582
46761
|
return null;
|
|
46583
46762
|
};
|
|
46584
46763
|
|
|
@@ -46622,6 +46801,8 @@ $root.waproto = (function() {
|
|
|
46622
46801
|
}
|
|
46623
46802
|
if (object.accessibilityText != null)
|
|
46624
46803
|
message.accessibilityText = String(object.accessibilityText);
|
|
46804
|
+
if (object.profileName != null)
|
|
46805
|
+
message.profileName = String(object.profileName);
|
|
46625
46806
|
return message;
|
|
46626
46807
|
};
|
|
46627
46808
|
|
|
@@ -46663,6 +46844,11 @@ $root.waproto = (function() {
|
|
|
46663
46844
|
if (options.oneofs)
|
|
46664
46845
|
object._accessibilityText = "accessibilityText";
|
|
46665
46846
|
}
|
|
46847
|
+
if (message.profileName != null && message.hasOwnProperty("profileName")) {
|
|
46848
|
+
object.profileName = message.profileName;
|
|
46849
|
+
if (options.oneofs)
|
|
46850
|
+
object._profileName = "profileName";
|
|
46851
|
+
}
|
|
46666
46852
|
return object;
|
|
46667
46853
|
};
|
|
46668
46854
|
|
|
@@ -70336,6 +70522,7 @@ $root.waproto = (function() {
|
|
|
70336
70522
|
* @property {waproto.Message.IPollCreationMessage|null} [pollCreationMessageV5] Message pollCreationMessageV5
|
|
70337
70523
|
* @property {waproto.Message.INewsletterFollowerInviteMessage|null} [newsletterFollowerInviteMessageV2] Message newsletterFollowerInviteMessageV2
|
|
70338
70524
|
* @property {waproto.Message.IPollResultSnapshotMessage|null} [pollResultSnapshotMessageV3] Message pollResultSnapshotMessageV3
|
|
70525
|
+
* @property {waproto.Message.IFutureProofMessage|null} [newsletterAdminProfileMessage] Message newsletterAdminProfileMessage
|
|
70339
70526
|
*/
|
|
70340
70527
|
|
|
70341
70528
|
/**
|
|
@@ -71113,6 +71300,14 @@ $root.waproto = (function() {
|
|
|
71113
71300
|
*/
|
|
71114
71301
|
Message.prototype.pollResultSnapshotMessageV3 = null;
|
|
71115
71302
|
|
|
71303
|
+
/**
|
|
71304
|
+
* Message newsletterAdminProfileMessage.
|
|
71305
|
+
* @member {waproto.Message.IFutureProofMessage|null|undefined} newsletterAdminProfileMessage
|
|
71306
|
+
* @memberof waproto.Message
|
|
71307
|
+
* @instance
|
|
71308
|
+
*/
|
|
71309
|
+
Message.prototype.newsletterAdminProfileMessage = null;
|
|
71310
|
+
|
|
71116
71311
|
// OneOf field names bound to virtual getters and setters
|
|
71117
71312
|
var $oneOfFields;
|
|
71118
71313
|
|
|
@@ -71686,6 +71881,12 @@ $root.waproto = (function() {
|
|
|
71686
71881
|
set: $util.oneOfSetter($oneOfFields)
|
|
71687
71882
|
});
|
|
71688
71883
|
|
|
71884
|
+
// Virtual OneOf for proto3 optional field
|
|
71885
|
+
Object.defineProperty(Message.prototype, "_newsletterAdminProfileMessage", {
|
|
71886
|
+
get: $util.oneOfGetter($oneOfFields = ["newsletterAdminProfileMessage"]),
|
|
71887
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
71888
|
+
});
|
|
71889
|
+
|
|
71689
71890
|
/**
|
|
71690
71891
|
* Creates a new Message instance using the specified properties.
|
|
71691
71892
|
* @function create
|
|
@@ -71900,6 +72101,8 @@ $root.waproto = (function() {
|
|
|
71900
72101
|
$root.waproto.Message.NewsletterFollowerInviteMessage.encode(message.newsletterFollowerInviteMessageV2, writer.uint32(/* id 113, wireType 2 =*/906).fork()).ldelim();
|
|
71901
72102
|
if (message.pollResultSnapshotMessageV3 != null && Object.hasOwnProperty.call(message, "pollResultSnapshotMessageV3"))
|
|
71902
72103
|
$root.waproto.Message.PollResultSnapshotMessage.encode(message.pollResultSnapshotMessageV3, writer.uint32(/* id 115, wireType 2 =*/922).fork()).ldelim();
|
|
72104
|
+
if (message.newsletterAdminProfileMessage != null && Object.hasOwnProperty.call(message, "newsletterAdminProfileMessage"))
|
|
72105
|
+
$root.waproto.Message.FutureProofMessage.encode(message.newsletterAdminProfileMessage, writer.uint32(/* id 116, wireType 2 =*/930).fork()).ldelim();
|
|
71903
72106
|
return writer;
|
|
71904
72107
|
};
|
|
71905
72108
|
|
|
@@ -72314,6 +72517,10 @@ $root.waproto = (function() {
|
|
|
72314
72517
|
message.pollResultSnapshotMessageV3 = $root.waproto.Message.PollResultSnapshotMessage.decode(reader, reader.uint32());
|
|
72315
72518
|
break;
|
|
72316
72519
|
}
|
|
72520
|
+
case 116: {
|
|
72521
|
+
message.newsletterAdminProfileMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32());
|
|
72522
|
+
break;
|
|
72523
|
+
}
|
|
72317
72524
|
default:
|
|
72318
72525
|
reader.skipType(tag & 7);
|
|
72319
72526
|
break;
|
|
@@ -73107,6 +73314,14 @@ $root.waproto = (function() {
|
|
|
73107
73314
|
return "pollResultSnapshotMessageV3." + error;
|
|
73108
73315
|
}
|
|
73109
73316
|
}
|
|
73317
|
+
if (message.newsletterAdminProfileMessage != null && message.hasOwnProperty("newsletterAdminProfileMessage")) {
|
|
73318
|
+
properties._newsletterAdminProfileMessage = 1;
|
|
73319
|
+
{
|
|
73320
|
+
var error = $root.waproto.Message.FutureProofMessage.verify(message.newsletterAdminProfileMessage);
|
|
73321
|
+
if (error)
|
|
73322
|
+
return "newsletterAdminProfileMessage." + error;
|
|
73323
|
+
}
|
|
73324
|
+
}
|
|
73110
73325
|
return null;
|
|
73111
73326
|
};
|
|
73112
73327
|
|
|
@@ -73594,6 +73809,11 @@ $root.waproto = (function() {
|
|
|
73594
73809
|
throw TypeError(".waproto.Message.pollResultSnapshotMessageV3: object expected");
|
|
73595
73810
|
message.pollResultSnapshotMessageV3 = $root.waproto.Message.PollResultSnapshotMessage.fromObject(object.pollResultSnapshotMessageV3);
|
|
73596
73811
|
}
|
|
73812
|
+
if (object.newsletterAdminProfileMessage != null) {
|
|
73813
|
+
if (typeof object.newsletterAdminProfileMessage !== "object")
|
|
73814
|
+
throw TypeError(".waproto.Message.newsletterAdminProfileMessage: object expected");
|
|
73815
|
+
message.newsletterAdminProfileMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.newsletterAdminProfileMessage);
|
|
73816
|
+
}
|
|
73597
73817
|
return message;
|
|
73598
73818
|
};
|
|
73599
73819
|
|
|
@@ -74085,6 +74305,11 @@ $root.waproto = (function() {
|
|
|
74085
74305
|
if (options.oneofs)
|
|
74086
74306
|
object._pollResultSnapshotMessageV3 = "pollResultSnapshotMessageV3";
|
|
74087
74307
|
}
|
|
74308
|
+
if (message.newsletterAdminProfileMessage != null && message.hasOwnProperty("newsletterAdminProfileMessage")) {
|
|
74309
|
+
object.newsletterAdminProfileMessage = $root.waproto.Message.FutureProofMessage.toObject(message.newsletterAdminProfileMessage, options);
|
|
74310
|
+
if (options.oneofs)
|
|
74311
|
+
object._newsletterAdminProfileMessage = "newsletterAdminProfileMessage";
|
|
74312
|
+
}
|
|
74088
74313
|
return object;
|
|
74089
74314
|
};
|
|
74090
74315
|
|