@wppconnect/wa-proto 2.3000.1024117973 → 2.3000.1024182093
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 +4 -0
- package/WAProto.proto +5 -1
- package/dist/index.d.ts +16 -2
- package/dist/index.js +80 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [2.3000.1024182093](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1024117973...v2.3000.1024182093) (2025-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
1
5
|
## [2.3000.1024117973](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1023970185...v2.3000.1024117973) (2025-06-24)
|
|
2
6
|
|
|
3
7
|
|
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.1024182093
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -442,6 +442,7 @@ enum BotMetricsEntryPoint {
|
|
|
442
442
|
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
|
443
443
|
NEW_CHAT_AI_STUDIO = 24;
|
|
444
444
|
AIVOICE_FAVICON_CALL_HISTORY = 25;
|
|
445
|
+
ASK_META_AI_CONTEXT_MENU = 26;
|
|
445
446
|
}
|
|
446
447
|
message BotMetricsMetadata {
|
|
447
448
|
optional string destinationId = 1;
|
|
@@ -454,6 +455,7 @@ enum BotMetricsThreadEntryPoint {
|
|
|
454
455
|
AI_HOME_THREAD = 2;
|
|
455
456
|
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
456
457
|
AI_DEEPLINK_THREAD = 4;
|
|
458
|
+
ASK_META_AI_CONTEXT_MENU_THREAD = 5;
|
|
457
459
|
}
|
|
458
460
|
message BotModeSelectionMetadata {
|
|
459
461
|
repeated BotUserSelectionMode mode = 1;
|
|
@@ -655,6 +657,7 @@ message BotSourcesMetadata {
|
|
|
655
657
|
optional string sourceQuery = 4;
|
|
656
658
|
optional string faviconCdnUrl = 5;
|
|
657
659
|
optional uint32 citationNumber = 6;
|
|
660
|
+
optional string sourceTitle = 7;
|
|
658
661
|
enum SourceProvider {
|
|
659
662
|
UNKNOWN = 0;
|
|
660
663
|
BING = 1;
|
|
@@ -1969,6 +1972,7 @@ message Message {
|
|
|
1969
1972
|
optional string ctwaSignals = 5;
|
|
1970
1973
|
optional bytes ctwaPayload = 6;
|
|
1971
1974
|
optional ContextInfo contextInfo = 7;
|
|
1975
|
+
optional string nativeFlowCallButtonPayload = 8;
|
|
1972
1976
|
}
|
|
1973
1977
|
|
|
1974
1978
|
message CallLogMessage {
|
package/dist/index.d.ts
CHANGED
|
@@ -5053,7 +5053,8 @@ export namespace waproto {
|
|
|
5053
5053
|
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22,
|
|
5054
5054
|
UGC_CHAT_SHORTCUT_AI_STUDIO = 23,
|
|
5055
5055
|
NEW_CHAT_AI_STUDIO = 24,
|
|
5056
|
-
AIVOICE_FAVICON_CALL_HISTORY = 25
|
|
5056
|
+
AIVOICE_FAVICON_CALL_HISTORY = 25,
|
|
5057
|
+
ASK_META_AI_CONTEXT_MENU = 26
|
|
5057
5058
|
}
|
|
5058
5059
|
|
|
5059
5060
|
/** Properties of a BotMetricsMetadata. */
|
|
@@ -5170,7 +5171,8 @@ export namespace waproto {
|
|
|
5170
5171
|
AI_TAB_THREAD = 1,
|
|
5171
5172
|
AI_HOME_THREAD = 2,
|
|
5172
5173
|
AI_DEEPLINK_IMMERSIVE_THREAD = 3,
|
|
5173
|
-
AI_DEEPLINK_THREAD = 4
|
|
5174
|
+
AI_DEEPLINK_THREAD = 4,
|
|
5175
|
+
ASK_META_AI_CONTEXT_MENU_THREAD = 5
|
|
5174
5176
|
}
|
|
5175
5177
|
|
|
5176
5178
|
/** Properties of a BotModeSelectionMetadata. */
|
|
@@ -7509,6 +7511,9 @@ export namespace waproto {
|
|
|
7509
7511
|
|
|
7510
7512
|
/** BotSourceItem citationNumber */
|
|
7511
7513
|
citationNumber?: (number|null);
|
|
7514
|
+
|
|
7515
|
+
/** BotSourceItem sourceTitle */
|
|
7516
|
+
sourceTitle?: (string|null);
|
|
7512
7517
|
}
|
|
7513
7518
|
|
|
7514
7519
|
/** Represents a BotSourceItem. */
|
|
@@ -7538,6 +7543,9 @@ export namespace waproto {
|
|
|
7538
7543
|
/** BotSourceItem citationNumber. */
|
|
7539
7544
|
public citationNumber?: (number|null);
|
|
7540
7545
|
|
|
7546
|
+
/** BotSourceItem sourceTitle. */
|
|
7547
|
+
public sourceTitle?: (string|null);
|
|
7548
|
+
|
|
7541
7549
|
/**
|
|
7542
7550
|
* Creates a new BotSourceItem instance using the specified properties.
|
|
7543
7551
|
* @param [properties] Properties to set
|
|
@@ -21170,6 +21178,9 @@ export namespace waproto {
|
|
|
21170
21178
|
|
|
21171
21179
|
/** Call contextInfo */
|
|
21172
21180
|
contextInfo?: (waproto.IContextInfo|null);
|
|
21181
|
+
|
|
21182
|
+
/** Call nativeFlowCallButtonPayload */
|
|
21183
|
+
nativeFlowCallButtonPayload?: (string|null);
|
|
21173
21184
|
}
|
|
21174
21185
|
|
|
21175
21186
|
/** Represents a Call. */
|
|
@@ -21202,6 +21213,9 @@ export namespace waproto {
|
|
|
21202
21213
|
/** Call contextInfo. */
|
|
21203
21214
|
public contextInfo?: (waproto.IContextInfo|null);
|
|
21204
21215
|
|
|
21216
|
+
/** Call nativeFlowCallButtonPayload. */
|
|
21217
|
+
public nativeFlowCallButtonPayload?: (string|null);
|
|
21218
|
+
|
|
21205
21219
|
/**
|
|
21206
21220
|
* Creates a new Call instance using the specified properties.
|
|
21207
21221
|
* @param [properties] Properties to set
|
package/dist/index.js
CHANGED
|
@@ -14750,6 +14750,7 @@ $root.waproto = (function() {
|
|
|
14750
14750
|
* @property {number} UGC_CHAT_SHORTCUT_AI_STUDIO=23 UGC_CHAT_SHORTCUT_AI_STUDIO value
|
|
14751
14751
|
* @property {number} NEW_CHAT_AI_STUDIO=24 NEW_CHAT_AI_STUDIO value
|
|
14752
14752
|
* @property {number} AIVOICE_FAVICON_CALL_HISTORY=25 AIVOICE_FAVICON_CALL_HISTORY value
|
|
14753
|
+
* @property {number} ASK_META_AI_CONTEXT_MENU=26 ASK_META_AI_CONTEXT_MENU value
|
|
14753
14754
|
*/
|
|
14754
14755
|
waproto.BotMetricsEntryPoint = (function() {
|
|
14755
14756
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -14778,6 +14779,7 @@ $root.waproto = (function() {
|
|
|
14778
14779
|
values[valuesById[23] = "UGC_CHAT_SHORTCUT_AI_STUDIO"] = 23;
|
|
14779
14780
|
values[valuesById[24] = "NEW_CHAT_AI_STUDIO"] = 24;
|
|
14780
14781
|
values[valuesById[25] = "AIVOICE_FAVICON_CALL_HISTORY"] = 25;
|
|
14782
|
+
values[valuesById[26] = "ASK_META_AI_CONTEXT_MENU"] = 26;
|
|
14781
14783
|
return values;
|
|
14782
14784
|
})();
|
|
14783
14785
|
|
|
@@ -14999,6 +15001,7 @@ $root.waproto = (function() {
|
|
|
14999
15001
|
case 23:
|
|
15000
15002
|
case 24:
|
|
15001
15003
|
case 25:
|
|
15004
|
+
case 26:
|
|
15002
15005
|
break;
|
|
15003
15006
|
}
|
|
15004
15007
|
}
|
|
@@ -15011,6 +15014,7 @@ $root.waproto = (function() {
|
|
|
15011
15014
|
case 2:
|
|
15012
15015
|
case 3:
|
|
15013
15016
|
case 4:
|
|
15017
|
+
case 5:
|
|
15014
15018
|
break;
|
|
15015
15019
|
}
|
|
15016
15020
|
}
|
|
@@ -15138,6 +15142,10 @@ $root.waproto = (function() {
|
|
|
15138
15142
|
case 25:
|
|
15139
15143
|
message.destinationEntryPoint = 25;
|
|
15140
15144
|
break;
|
|
15145
|
+
case "ASK_META_AI_CONTEXT_MENU":
|
|
15146
|
+
case 26:
|
|
15147
|
+
message.destinationEntryPoint = 26;
|
|
15148
|
+
break;
|
|
15141
15149
|
}
|
|
15142
15150
|
switch (object.threadOrigin) {
|
|
15143
15151
|
default:
|
|
@@ -15162,6 +15170,10 @@ $root.waproto = (function() {
|
|
|
15162
15170
|
case 4:
|
|
15163
15171
|
message.threadOrigin = 4;
|
|
15164
15172
|
break;
|
|
15173
|
+
case "ASK_META_AI_CONTEXT_MENU_THREAD":
|
|
15174
|
+
case 5:
|
|
15175
|
+
message.threadOrigin = 5;
|
|
15176
|
+
break;
|
|
15165
15177
|
}
|
|
15166
15178
|
return message;
|
|
15167
15179
|
};
|
|
@@ -15234,6 +15246,7 @@ $root.waproto = (function() {
|
|
|
15234
15246
|
* @property {number} AI_HOME_THREAD=2 AI_HOME_THREAD value
|
|
15235
15247
|
* @property {number} AI_DEEPLINK_IMMERSIVE_THREAD=3 AI_DEEPLINK_IMMERSIVE_THREAD value
|
|
15236
15248
|
* @property {number} AI_DEEPLINK_THREAD=4 AI_DEEPLINK_THREAD value
|
|
15249
|
+
* @property {number} ASK_META_AI_CONTEXT_MENU_THREAD=5 ASK_META_AI_CONTEXT_MENU_THREAD value
|
|
15237
15250
|
*/
|
|
15238
15251
|
waproto.BotMetricsThreadEntryPoint = (function() {
|
|
15239
15252
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -15241,6 +15254,7 @@ $root.waproto = (function() {
|
|
|
15241
15254
|
values[valuesById[2] = "AI_HOME_THREAD"] = 2;
|
|
15242
15255
|
values[valuesById[3] = "AI_DEEPLINK_IMMERSIVE_THREAD"] = 3;
|
|
15243
15256
|
values[valuesById[4] = "AI_DEEPLINK_THREAD"] = 4;
|
|
15257
|
+
values[valuesById[5] = "ASK_META_AI_CONTEXT_MENU_THREAD"] = 5;
|
|
15244
15258
|
return values;
|
|
15245
15259
|
})();
|
|
15246
15260
|
|
|
@@ -21654,6 +21668,7 @@ $root.waproto = (function() {
|
|
|
21654
21668
|
* @property {string|null} [sourceQuery] BotSourceItem sourceQuery
|
|
21655
21669
|
* @property {string|null} [faviconCdnUrl] BotSourceItem faviconCdnUrl
|
|
21656
21670
|
* @property {number|null} [citationNumber] BotSourceItem citationNumber
|
|
21671
|
+
* @property {string|null} [sourceTitle] BotSourceItem sourceTitle
|
|
21657
21672
|
*/
|
|
21658
21673
|
|
|
21659
21674
|
/**
|
|
@@ -21719,6 +21734,14 @@ $root.waproto = (function() {
|
|
|
21719
21734
|
*/
|
|
21720
21735
|
BotSourceItem.prototype.citationNumber = null;
|
|
21721
21736
|
|
|
21737
|
+
/**
|
|
21738
|
+
* BotSourceItem sourceTitle.
|
|
21739
|
+
* @member {string|null|undefined} sourceTitle
|
|
21740
|
+
* @memberof waproto.BotSourcesMetadata.BotSourceItem
|
|
21741
|
+
* @instance
|
|
21742
|
+
*/
|
|
21743
|
+
BotSourceItem.prototype.sourceTitle = null;
|
|
21744
|
+
|
|
21722
21745
|
// OneOf field names bound to virtual getters and setters
|
|
21723
21746
|
var $oneOfFields;
|
|
21724
21747
|
|
|
@@ -21758,6 +21781,12 @@ $root.waproto = (function() {
|
|
|
21758
21781
|
set: $util.oneOfSetter($oneOfFields)
|
|
21759
21782
|
});
|
|
21760
21783
|
|
|
21784
|
+
// Virtual OneOf for proto3 optional field
|
|
21785
|
+
Object.defineProperty(BotSourceItem.prototype, "_sourceTitle", {
|
|
21786
|
+
get: $util.oneOfGetter($oneOfFields = ["sourceTitle"]),
|
|
21787
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
21788
|
+
});
|
|
21789
|
+
|
|
21761
21790
|
/**
|
|
21762
21791
|
* Creates a new BotSourceItem instance using the specified properties.
|
|
21763
21792
|
* @function create
|
|
@@ -21794,6 +21823,8 @@ $root.waproto = (function() {
|
|
|
21794
21823
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.faviconCdnUrl);
|
|
21795
21824
|
if (message.citationNumber != null && Object.hasOwnProperty.call(message, "citationNumber"))
|
|
21796
21825
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.citationNumber);
|
|
21826
|
+
if (message.sourceTitle != null && Object.hasOwnProperty.call(message, "sourceTitle"))
|
|
21827
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.sourceTitle);
|
|
21797
21828
|
return writer;
|
|
21798
21829
|
};
|
|
21799
21830
|
|
|
@@ -21852,6 +21883,10 @@ $root.waproto = (function() {
|
|
|
21852
21883
|
message.citationNumber = reader.uint32();
|
|
21853
21884
|
break;
|
|
21854
21885
|
}
|
|
21886
|
+
case 7: {
|
|
21887
|
+
message.sourceTitle = reader.string();
|
|
21888
|
+
break;
|
|
21889
|
+
}
|
|
21855
21890
|
default:
|
|
21856
21891
|
reader.skipType(tag & 7);
|
|
21857
21892
|
break;
|
|
@@ -21925,6 +21960,11 @@ $root.waproto = (function() {
|
|
|
21925
21960
|
if (!$util.isInteger(message.citationNumber))
|
|
21926
21961
|
return "citationNumber: integer expected";
|
|
21927
21962
|
}
|
|
21963
|
+
if (message.sourceTitle != null && message.hasOwnProperty("sourceTitle")) {
|
|
21964
|
+
properties._sourceTitle = 1;
|
|
21965
|
+
if (!$util.isString(message.sourceTitle))
|
|
21966
|
+
return "sourceTitle: string expected";
|
|
21967
|
+
}
|
|
21928
21968
|
return null;
|
|
21929
21969
|
};
|
|
21930
21970
|
|
|
@@ -21974,6 +22014,8 @@ $root.waproto = (function() {
|
|
|
21974
22014
|
message.faviconCdnUrl = String(object.faviconCdnUrl);
|
|
21975
22015
|
if (object.citationNumber != null)
|
|
21976
22016
|
message.citationNumber = object.citationNumber >>> 0;
|
|
22017
|
+
if (object.sourceTitle != null)
|
|
22018
|
+
message.sourceTitle = String(object.sourceTitle);
|
|
21977
22019
|
return message;
|
|
21978
22020
|
};
|
|
21979
22021
|
|
|
@@ -22020,6 +22062,11 @@ $root.waproto = (function() {
|
|
|
22020
22062
|
if (options.oneofs)
|
|
22021
22063
|
object._citationNumber = "citationNumber";
|
|
22022
22064
|
}
|
|
22065
|
+
if (message.sourceTitle != null && message.hasOwnProperty("sourceTitle")) {
|
|
22066
|
+
object.sourceTitle = message.sourceTitle;
|
|
22067
|
+
if (options.oneofs)
|
|
22068
|
+
object._sourceTitle = "sourceTitle";
|
|
22069
|
+
}
|
|
22023
22070
|
return object;
|
|
22024
22071
|
};
|
|
22025
22072
|
|
|
@@ -66465,6 +66512,7 @@ $root.waproto = (function() {
|
|
|
66465
66512
|
* @property {string|null} [ctwaSignals] Call ctwaSignals
|
|
66466
66513
|
* @property {Uint8Array|null} [ctwaPayload] Call ctwaPayload
|
|
66467
66514
|
* @property {waproto.IContextInfo|null} [contextInfo] Call contextInfo
|
|
66515
|
+
* @property {string|null} [nativeFlowCallButtonPayload] Call nativeFlowCallButtonPayload
|
|
66468
66516
|
*/
|
|
66469
66517
|
|
|
66470
66518
|
/**
|
|
@@ -66538,6 +66586,14 @@ $root.waproto = (function() {
|
|
|
66538
66586
|
*/
|
|
66539
66587
|
Call.prototype.contextInfo = null;
|
|
66540
66588
|
|
|
66589
|
+
/**
|
|
66590
|
+
* Call nativeFlowCallButtonPayload.
|
|
66591
|
+
* @member {string|null|undefined} nativeFlowCallButtonPayload
|
|
66592
|
+
* @memberof waproto.Message.Call
|
|
66593
|
+
* @instance
|
|
66594
|
+
*/
|
|
66595
|
+
Call.prototype.nativeFlowCallButtonPayload = null;
|
|
66596
|
+
|
|
66541
66597
|
// OneOf field names bound to virtual getters and setters
|
|
66542
66598
|
var $oneOfFields;
|
|
66543
66599
|
|
|
@@ -66583,6 +66639,12 @@ $root.waproto = (function() {
|
|
|
66583
66639
|
set: $util.oneOfSetter($oneOfFields)
|
|
66584
66640
|
});
|
|
66585
66641
|
|
|
66642
|
+
// Virtual OneOf for proto3 optional field
|
|
66643
|
+
Object.defineProperty(Call.prototype, "_nativeFlowCallButtonPayload", {
|
|
66644
|
+
get: $util.oneOfGetter($oneOfFields = ["nativeFlowCallButtonPayload"]),
|
|
66645
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
66646
|
+
});
|
|
66647
|
+
|
|
66586
66648
|
/**
|
|
66587
66649
|
* Creates a new Call instance using the specified properties.
|
|
66588
66650
|
* @function create
|
|
@@ -66621,6 +66683,8 @@ $root.waproto = (function() {
|
|
|
66621
66683
|
writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.ctwaPayload);
|
|
66622
66684
|
if (message.contextInfo != null && Object.hasOwnProperty.call(message, "contextInfo"))
|
|
66623
66685
|
$root.waproto.ContextInfo.encode(message.contextInfo, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
66686
|
+
if (message.nativeFlowCallButtonPayload != null && Object.hasOwnProperty.call(message, "nativeFlowCallButtonPayload"))
|
|
66687
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.nativeFlowCallButtonPayload);
|
|
66624
66688
|
return writer;
|
|
66625
66689
|
};
|
|
66626
66690
|
|
|
@@ -66683,6 +66747,10 @@ $root.waproto = (function() {
|
|
|
66683
66747
|
message.contextInfo = $root.waproto.ContextInfo.decode(reader, reader.uint32());
|
|
66684
66748
|
break;
|
|
66685
66749
|
}
|
|
66750
|
+
case 8: {
|
|
66751
|
+
message.nativeFlowCallButtonPayload = reader.string();
|
|
66752
|
+
break;
|
|
66753
|
+
}
|
|
66686
66754
|
default:
|
|
66687
66755
|
reader.skipType(tag & 7);
|
|
66688
66756
|
break;
|
|
@@ -66757,6 +66825,11 @@ $root.waproto = (function() {
|
|
|
66757
66825
|
return "contextInfo." + error;
|
|
66758
66826
|
}
|
|
66759
66827
|
}
|
|
66828
|
+
if (message.nativeFlowCallButtonPayload != null && message.hasOwnProperty("nativeFlowCallButtonPayload")) {
|
|
66829
|
+
properties._nativeFlowCallButtonPayload = 1;
|
|
66830
|
+
if (!$util.isString(message.nativeFlowCallButtonPayload))
|
|
66831
|
+
return "nativeFlowCallButtonPayload: string expected";
|
|
66832
|
+
}
|
|
66760
66833
|
return null;
|
|
66761
66834
|
};
|
|
66762
66835
|
|
|
@@ -66798,6 +66871,8 @@ $root.waproto = (function() {
|
|
|
66798
66871
|
throw TypeError(".waproto.Message.Call.contextInfo: object expected");
|
|
66799
66872
|
message.contextInfo = $root.waproto.ContextInfo.fromObject(object.contextInfo);
|
|
66800
66873
|
}
|
|
66874
|
+
if (object.nativeFlowCallButtonPayload != null)
|
|
66875
|
+
message.nativeFlowCallButtonPayload = String(object.nativeFlowCallButtonPayload);
|
|
66801
66876
|
return message;
|
|
66802
66877
|
};
|
|
66803
66878
|
|
|
@@ -66849,6 +66924,11 @@ $root.waproto = (function() {
|
|
|
66849
66924
|
if (options.oneofs)
|
|
66850
66925
|
object._contextInfo = "contextInfo";
|
|
66851
66926
|
}
|
|
66927
|
+
if (message.nativeFlowCallButtonPayload != null && message.hasOwnProperty("nativeFlowCallButtonPayload")) {
|
|
66928
|
+
object.nativeFlowCallButtonPayload = message.nativeFlowCallButtonPayload;
|
|
66929
|
+
if (options.oneofs)
|
|
66930
|
+
object._nativeFlowCallButtonPayload = "nativeFlowCallButtonPayload";
|
|
66931
|
+
}
|
|
66852
66932
|
return object;
|
|
66853
66933
|
};
|
|
66854
66934
|
|