@wppconnect/wa-proto 1.1.30 → 1.1.32
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 +131 -2
- package/dist/index.js +389 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.1.32](https://github.com/wppconnect-team/wa-proto/compare/v1.1.31...v1.1.32) (2025-02-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.1.31](https://github.com/wppconnect-team/wa-proto/compare/v1.1.30...v1.1.31) (2025-02-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
## [1.1.30](https://github.com/wppconnect-team/wa-proto/compare/v1.1.29...v1.1.30) (2025-02-21)
|
|
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.1020333766
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -256,6 +256,7 @@ message BotAvatarMetadata {
|
|
|
256
256
|
message BotCapabilityMetadata {
|
|
257
257
|
repeated BotCapabilityType capabilities = 1;
|
|
258
258
|
enum BotCapabilityType {
|
|
259
|
+
UNKNOWN = 0;
|
|
259
260
|
PROGRESS_INDICATOR = 1;
|
|
260
261
|
RICH_RESPONSE_HEADING = 2;
|
|
261
262
|
RICH_RESPONSE_NESTED_LIST = 3;
|
|
@@ -282,6 +283,7 @@ message BotCapabilityMetadata {
|
|
|
282
283
|
RICH_RESPONSE_LATEX = 24;
|
|
283
284
|
RICH_RESPONSE_MAPS = 25;
|
|
284
285
|
RICH_RESPONSE_INLINE_REELS = 26;
|
|
286
|
+
AGENTIC_PLANNING = 27;
|
|
285
287
|
}
|
|
286
288
|
}
|
|
287
289
|
|
|
@@ -439,6 +441,7 @@ message BotProgressIndicatorMetadata {
|
|
|
439
441
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
440
442
|
optional string sourceUrl = 3;
|
|
441
443
|
enum BotPlanningSearchSourceProvider {
|
|
444
|
+
UNKNOWN = 0;
|
|
442
445
|
OTHER = 1;
|
|
443
446
|
GOOGLE = 2;
|
|
444
447
|
BING = 3;
|
|
@@ -446,6 +449,7 @@ message BotProgressIndicatorMetadata {
|
|
|
446
449
|
}
|
|
447
450
|
|
|
448
451
|
enum PlanningStepStatus {
|
|
452
|
+
UNKNOWN = 0;
|
|
449
453
|
PLANNED = 1;
|
|
450
454
|
EXECUTING = 2;
|
|
451
455
|
FINISHED = 3;
|
|
@@ -908,6 +912,7 @@ message ContextInfo {
|
|
|
908
912
|
optional StatusAttributionType statusAttributionType = 57;
|
|
909
913
|
optional UrlTrackingMap urlTrackingMap = 58;
|
|
910
914
|
optional PairedMediaType pairedMediaType = 59;
|
|
915
|
+
optional uint32 rankingVersion = 60;
|
|
911
916
|
message AdReplyInfo {
|
|
912
917
|
optional string advertiserName = 1;
|
|
913
918
|
optional MediaType mediaType = 2;
|
|
@@ -1440,6 +1445,15 @@ message LegacyMessage {
|
|
|
1440
1445
|
optional Message.PollVoteMessage pollVote = 2;
|
|
1441
1446
|
}
|
|
1442
1447
|
|
|
1448
|
+
message LimitSharing {
|
|
1449
|
+
optional bool sharingLimited = 1;
|
|
1450
|
+
optional Trigger trigger = 2;
|
|
1451
|
+
enum Trigger {
|
|
1452
|
+
CHAT_SETTING = 0;
|
|
1453
|
+
BIZ_SUPPORTS_FB_HOSTING = 1;
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1443
1457
|
message LocalizedName {
|
|
1444
1458
|
optional string lg = 1;
|
|
1445
1459
|
optional string lc = 2;
|
|
@@ -2594,6 +2608,7 @@ message Message {
|
|
|
2594
2608
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
2595
2609
|
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
2596
2610
|
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
2611
|
+
optional LimitSharing limitSharing = 24;
|
|
2597
2612
|
enum Type {
|
|
2598
2613
|
REVOKE = 0;
|
|
2599
2614
|
EPHEMERAL_SETTING = 3;
|
|
@@ -2617,6 +2632,7 @@ message Message {
|
|
|
2617
2632
|
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
2618
2633
|
STATUS_MENTION_MESSAGE = 25;
|
|
2619
2634
|
STOP_GENERATION_MESSAGE = 26;
|
|
2635
|
+
LIMIT_SHARING = 27;
|
|
2620
2636
|
}
|
|
2621
2637
|
}
|
|
2622
2638
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3483,6 +3483,7 @@ export namespace waproto {
|
|
|
3483
3483
|
|
|
3484
3484
|
/** BotCapabilityType enum. */
|
|
3485
3485
|
enum BotCapabilityType {
|
|
3486
|
+
UNKNOWN = 0,
|
|
3486
3487
|
PROGRESS_INDICATOR = 1,
|
|
3487
3488
|
RICH_RESPONSE_HEADING = 2,
|
|
3488
3489
|
RICH_RESPONSE_NESTED_LIST = 3,
|
|
@@ -3508,7 +3509,8 @@ export namespace waproto {
|
|
|
3508
3509
|
AI_STUDIO_UGC_MEMORY = 23,
|
|
3509
3510
|
RICH_RESPONSE_LATEX = 24,
|
|
3510
3511
|
RICH_RESPONSE_MAPS = 25,
|
|
3511
|
-
RICH_RESPONSE_INLINE_REELS = 26
|
|
3512
|
+
RICH_RESPONSE_INLINE_REELS = 26,
|
|
3513
|
+
AGENTIC_PLANNING = 27
|
|
3512
3514
|
}
|
|
3513
3515
|
}
|
|
3514
3516
|
|
|
@@ -5252,6 +5254,7 @@ export namespace waproto {
|
|
|
5252
5254
|
|
|
5253
5255
|
/** BotPlanningSearchSourceProvider enum. */
|
|
5254
5256
|
enum BotPlanningSearchSourceProvider {
|
|
5257
|
+
UNKNOWN = 0,
|
|
5255
5258
|
OTHER = 1,
|
|
5256
5259
|
GOOGLE = 2,
|
|
5257
5260
|
BING = 3
|
|
@@ -5260,6 +5263,7 @@ export namespace waproto {
|
|
|
5260
5263
|
|
|
5261
5264
|
/** PlanningStepStatus enum. */
|
|
5262
5265
|
enum PlanningStepStatus {
|
|
5266
|
+
UNKNOWN = 0,
|
|
5263
5267
|
PLANNED = 1,
|
|
5264
5268
|
EXECUTING = 2,
|
|
5265
5269
|
FINISHED = 3
|
|
@@ -9396,6 +9400,9 @@ export namespace waproto {
|
|
|
9396
9400
|
|
|
9397
9401
|
/** ContextInfo pairedMediaType */
|
|
9398
9402
|
pairedMediaType?: (waproto.ContextInfo.PairedMediaType|null);
|
|
9403
|
+
|
|
9404
|
+
/** ContextInfo rankingVersion */
|
|
9405
|
+
rankingVersion?: (number|null);
|
|
9399
9406
|
}
|
|
9400
9407
|
|
|
9401
9408
|
/** Represents a ContextInfo. */
|
|
@@ -9536,6 +9543,9 @@ export namespace waproto {
|
|
|
9536
9543
|
/** ContextInfo pairedMediaType. */
|
|
9537
9544
|
public pairedMediaType?: (waproto.ContextInfo.PairedMediaType|null);
|
|
9538
9545
|
|
|
9546
|
+
/** ContextInfo rankingVersion. */
|
|
9547
|
+
public rankingVersion?: (number|null);
|
|
9548
|
+
|
|
9539
9549
|
/**
|
|
9540
9550
|
* Creates a new ContextInfo instance using the specified properties.
|
|
9541
9551
|
* @param [properties] Properties to set
|
|
@@ -15959,6 +15969,118 @@ export namespace waproto {
|
|
|
15959
15969
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15960
15970
|
}
|
|
15961
15971
|
|
|
15972
|
+
/** Properties of a LimitSharing. */
|
|
15973
|
+
interface ILimitSharing {
|
|
15974
|
+
|
|
15975
|
+
/** LimitSharing sharingLimited */
|
|
15976
|
+
sharingLimited?: (boolean|null);
|
|
15977
|
+
|
|
15978
|
+
/** LimitSharing trigger */
|
|
15979
|
+
trigger?: (waproto.LimitSharing.Trigger|null);
|
|
15980
|
+
}
|
|
15981
|
+
|
|
15982
|
+
/** Represents a LimitSharing. */
|
|
15983
|
+
class LimitSharing implements ILimitSharing {
|
|
15984
|
+
|
|
15985
|
+
/**
|
|
15986
|
+
* Constructs a new LimitSharing.
|
|
15987
|
+
* @param [properties] Properties to set
|
|
15988
|
+
*/
|
|
15989
|
+
constructor(properties?: waproto.ILimitSharing);
|
|
15990
|
+
|
|
15991
|
+
/** LimitSharing sharingLimited. */
|
|
15992
|
+
public sharingLimited?: (boolean|null);
|
|
15993
|
+
|
|
15994
|
+
/** LimitSharing trigger. */
|
|
15995
|
+
public trigger?: (waproto.LimitSharing.Trigger|null);
|
|
15996
|
+
|
|
15997
|
+
/**
|
|
15998
|
+
* Creates a new LimitSharing instance using the specified properties.
|
|
15999
|
+
* @param [properties] Properties to set
|
|
16000
|
+
* @returns LimitSharing instance
|
|
16001
|
+
*/
|
|
16002
|
+
public static create(properties?: waproto.ILimitSharing): waproto.LimitSharing;
|
|
16003
|
+
|
|
16004
|
+
/**
|
|
16005
|
+
* Encodes the specified LimitSharing message. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages.
|
|
16006
|
+
* @param message LimitSharing message or plain object to encode
|
|
16007
|
+
* @param [writer] Writer to encode to
|
|
16008
|
+
* @returns Writer
|
|
16009
|
+
*/
|
|
16010
|
+
public static encode(message: waproto.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16011
|
+
|
|
16012
|
+
/**
|
|
16013
|
+
* Encodes the specified LimitSharing message, length delimited. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages.
|
|
16014
|
+
* @param message LimitSharing message or plain object to encode
|
|
16015
|
+
* @param [writer] Writer to encode to
|
|
16016
|
+
* @returns Writer
|
|
16017
|
+
*/
|
|
16018
|
+
public static encodeDelimited(message: waproto.ILimitSharing, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16019
|
+
|
|
16020
|
+
/**
|
|
16021
|
+
* Decodes a LimitSharing message from the specified reader or buffer.
|
|
16022
|
+
* @param reader Reader or buffer to decode from
|
|
16023
|
+
* @param [length] Message length if known beforehand
|
|
16024
|
+
* @returns LimitSharing
|
|
16025
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16026
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16027
|
+
*/
|
|
16028
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LimitSharing;
|
|
16029
|
+
|
|
16030
|
+
/**
|
|
16031
|
+
* Decodes a LimitSharing message from the specified reader or buffer, length delimited.
|
|
16032
|
+
* @param reader Reader or buffer to decode from
|
|
16033
|
+
* @returns LimitSharing
|
|
16034
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16035
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16036
|
+
*/
|
|
16037
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LimitSharing;
|
|
16038
|
+
|
|
16039
|
+
/**
|
|
16040
|
+
* Verifies a LimitSharing message.
|
|
16041
|
+
* @param message Plain object to verify
|
|
16042
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16043
|
+
*/
|
|
16044
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16045
|
+
|
|
16046
|
+
/**
|
|
16047
|
+
* Creates a LimitSharing message from a plain object. Also converts values to their respective internal types.
|
|
16048
|
+
* @param object Plain object
|
|
16049
|
+
* @returns LimitSharing
|
|
16050
|
+
*/
|
|
16051
|
+
public static fromObject(object: { [k: string]: any }): waproto.LimitSharing;
|
|
16052
|
+
|
|
16053
|
+
/**
|
|
16054
|
+
* Creates a plain object from a LimitSharing message. Also converts values to other types if specified.
|
|
16055
|
+
* @param message LimitSharing
|
|
16056
|
+
* @param [options] Conversion options
|
|
16057
|
+
* @returns Plain object
|
|
16058
|
+
*/
|
|
16059
|
+
public static toObject(message: waproto.LimitSharing, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16060
|
+
|
|
16061
|
+
/**
|
|
16062
|
+
* Converts this LimitSharing to JSON.
|
|
16063
|
+
* @returns JSON object
|
|
16064
|
+
*/
|
|
16065
|
+
public toJSON(): { [k: string]: any };
|
|
16066
|
+
|
|
16067
|
+
/**
|
|
16068
|
+
* Gets the default type url for LimitSharing
|
|
16069
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16070
|
+
* @returns The default type url
|
|
16071
|
+
*/
|
|
16072
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16073
|
+
}
|
|
16074
|
+
|
|
16075
|
+
namespace LimitSharing {
|
|
16076
|
+
|
|
16077
|
+
/** Trigger enum. */
|
|
16078
|
+
enum Trigger {
|
|
16079
|
+
CHAT_SETTING = 0,
|
|
16080
|
+
BIZ_SUPPORTS_FB_HOSTING = 1
|
|
16081
|
+
}
|
|
16082
|
+
}
|
|
16083
|
+
|
|
15962
16084
|
/** Properties of a LocalizedName. */
|
|
15963
16085
|
interface ILocalizedName {
|
|
15964
16086
|
|
|
@@ -29797,6 +29919,9 @@ export namespace waproto {
|
|
|
29797
29919
|
|
|
29798
29920
|
/** ProtocolMessage lidMigrationMappingSyncMessage */
|
|
29799
29921
|
lidMigrationMappingSyncMessage?: (waproto.ILIDMigrationMappingSyncMessage|null);
|
|
29922
|
+
|
|
29923
|
+
/** ProtocolMessage limitSharing */
|
|
29924
|
+
limitSharing?: (waproto.ILimitSharing|null);
|
|
29800
29925
|
}
|
|
29801
29926
|
|
|
29802
29927
|
/** Represents a ProtocolMessage. */
|
|
@@ -29868,6 +29993,9 @@ export namespace waproto {
|
|
|
29868
29993
|
/** ProtocolMessage lidMigrationMappingSyncMessage. */
|
|
29869
29994
|
public lidMigrationMappingSyncMessage?: (waproto.ILIDMigrationMappingSyncMessage|null);
|
|
29870
29995
|
|
|
29996
|
+
/** ProtocolMessage limitSharing. */
|
|
29997
|
+
public limitSharing?: (waproto.ILimitSharing|null);
|
|
29998
|
+
|
|
29871
29999
|
/**
|
|
29872
30000
|
* Creates a new ProtocolMessage instance using the specified properties.
|
|
29873
30001
|
* @param [properties] Properties to set
|
|
@@ -29971,7 +30099,8 @@ export namespace waproto {
|
|
|
29971
30099
|
REMINDER_MESSAGE = 23,
|
|
29972
30100
|
BOT_MEMU_ONBOARDING_MESSAGE = 24,
|
|
29973
30101
|
STATUS_MENTION_MESSAGE = 25,
|
|
29974
|
-
STOP_GENERATION_MESSAGE = 26
|
|
30102
|
+
STOP_GENERATION_MESSAGE = 26,
|
|
30103
|
+
LIMIT_SHARING = 27
|
|
29975
30104
|
}
|
|
29976
30105
|
}
|
|
29977
30106
|
|
package/dist/index.js
CHANGED
|
@@ -9737,6 +9737,7 @@ $root.waproto = (function() {
|
|
|
9737
9737
|
switch (message.capabilities[i]) {
|
|
9738
9738
|
default:
|
|
9739
9739
|
return "capabilities: enum value[] expected";
|
|
9740
|
+
case 0:
|
|
9740
9741
|
case 1:
|
|
9741
9742
|
case 2:
|
|
9742
9743
|
case 3:
|
|
@@ -9763,6 +9764,7 @@ $root.waproto = (function() {
|
|
|
9763
9764
|
case 24:
|
|
9764
9765
|
case 25:
|
|
9765
9766
|
case 26:
|
|
9767
|
+
case 27:
|
|
9766
9768
|
break;
|
|
9767
9769
|
}
|
|
9768
9770
|
}
|
|
@@ -9792,6 +9794,10 @@ $root.waproto = (function() {
|
|
|
9792
9794
|
message.capabilities[i] = object.capabilities[i];
|
|
9793
9795
|
break;
|
|
9794
9796
|
}
|
|
9797
|
+
case "UNKNOWN":
|
|
9798
|
+
case 0:
|
|
9799
|
+
message.capabilities[i] = 0;
|
|
9800
|
+
break;
|
|
9795
9801
|
case "PROGRESS_INDICATOR":
|
|
9796
9802
|
case 1:
|
|
9797
9803
|
message.capabilities[i] = 1;
|
|
@@ -9896,6 +9902,10 @@ $root.waproto = (function() {
|
|
|
9896
9902
|
case 26:
|
|
9897
9903
|
message.capabilities[i] = 26;
|
|
9898
9904
|
break;
|
|
9905
|
+
case "AGENTIC_PLANNING":
|
|
9906
|
+
case 27:
|
|
9907
|
+
message.capabilities[i] = 27;
|
|
9908
|
+
break;
|
|
9899
9909
|
}
|
|
9900
9910
|
}
|
|
9901
9911
|
return message;
|
|
@@ -9954,6 +9964,7 @@ $root.waproto = (function() {
|
|
|
9954
9964
|
* BotCapabilityType enum.
|
|
9955
9965
|
* @name waproto.BotCapabilityMetadata.BotCapabilityType
|
|
9956
9966
|
* @enum {number}
|
|
9967
|
+
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
9957
9968
|
* @property {number} PROGRESS_INDICATOR=1 PROGRESS_INDICATOR value
|
|
9958
9969
|
* @property {number} RICH_RESPONSE_HEADING=2 RICH_RESPONSE_HEADING value
|
|
9959
9970
|
* @property {number} RICH_RESPONSE_NESTED_LIST=3 RICH_RESPONSE_NESTED_LIST value
|
|
@@ -9980,9 +9991,11 @@ $root.waproto = (function() {
|
|
|
9980
9991
|
* @property {number} RICH_RESPONSE_LATEX=24 RICH_RESPONSE_LATEX value
|
|
9981
9992
|
* @property {number} RICH_RESPONSE_MAPS=25 RICH_RESPONSE_MAPS value
|
|
9982
9993
|
* @property {number} RICH_RESPONSE_INLINE_REELS=26 RICH_RESPONSE_INLINE_REELS value
|
|
9994
|
+
* @property {number} AGENTIC_PLANNING=27 AGENTIC_PLANNING value
|
|
9983
9995
|
*/
|
|
9984
9996
|
BotCapabilityMetadata.BotCapabilityType = (function() {
|
|
9985
9997
|
var valuesById = {}, values = Object.create(valuesById);
|
|
9998
|
+
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
9986
9999
|
values[valuesById[1] = "PROGRESS_INDICATOR"] = 1;
|
|
9987
10000
|
values[valuesById[2] = "RICH_RESPONSE_HEADING"] = 2;
|
|
9988
10001
|
values[valuesById[3] = "RICH_RESPONSE_NESTED_LIST"] = 3;
|
|
@@ -10009,6 +10022,7 @@ $root.waproto = (function() {
|
|
|
10009
10022
|
values[valuesById[24] = "RICH_RESPONSE_LATEX"] = 24;
|
|
10010
10023
|
values[valuesById[25] = "RICH_RESPONSE_MAPS"] = 25;
|
|
10011
10024
|
values[valuesById[26] = "RICH_RESPONSE_INLINE_REELS"] = 26;
|
|
10025
|
+
values[valuesById[27] = "AGENTIC_PLANNING"] = 27;
|
|
10012
10026
|
return values;
|
|
10013
10027
|
})();
|
|
10014
10028
|
|
|
@@ -14857,6 +14871,7 @@ $root.waproto = (function() {
|
|
|
14857
14871
|
switch (message.status) {
|
|
14858
14872
|
default:
|
|
14859
14873
|
return "status: enum value expected";
|
|
14874
|
+
case 0:
|
|
14860
14875
|
case 1:
|
|
14861
14876
|
case 2:
|
|
14862
14877
|
case 3:
|
|
@@ -14909,6 +14924,10 @@ $root.waproto = (function() {
|
|
|
14909
14924
|
break;
|
|
14910
14925
|
}
|
|
14911
14926
|
break;
|
|
14927
|
+
case "UNKNOWN":
|
|
14928
|
+
case 0:
|
|
14929
|
+
message.status = 0;
|
|
14930
|
+
break;
|
|
14912
14931
|
case "PLANNED":
|
|
14913
14932
|
case 1:
|
|
14914
14933
|
message.status = 1;
|
|
@@ -15196,6 +15215,7 @@ $root.waproto = (function() {
|
|
|
15196
15215
|
switch (message.provider) {
|
|
15197
15216
|
default:
|
|
15198
15217
|
return "provider: enum value expected";
|
|
15218
|
+
case 0:
|
|
15199
15219
|
case 1:
|
|
15200
15220
|
case 2:
|
|
15201
15221
|
case 3:
|
|
@@ -15231,6 +15251,10 @@ $root.waproto = (function() {
|
|
|
15231
15251
|
break;
|
|
15232
15252
|
}
|
|
15233
15253
|
break;
|
|
15254
|
+
case "UNKNOWN":
|
|
15255
|
+
case 0:
|
|
15256
|
+
message.provider = 0;
|
|
15257
|
+
break;
|
|
15234
15258
|
case "OTHER":
|
|
15235
15259
|
case 1:
|
|
15236
15260
|
message.provider = 1;
|
|
@@ -15310,12 +15334,14 @@ $root.waproto = (function() {
|
|
|
15310
15334
|
* BotPlanningSearchSourceProvider enum.
|
|
15311
15335
|
* @name waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider
|
|
15312
15336
|
* @enum {number}
|
|
15337
|
+
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
15313
15338
|
* @property {number} OTHER=1 OTHER value
|
|
15314
15339
|
* @property {number} GOOGLE=2 GOOGLE value
|
|
15315
15340
|
* @property {number} BING=3 BING value
|
|
15316
15341
|
*/
|
|
15317
15342
|
BotPlanningSearchSourcesMetadata.BotPlanningSearchSourceProvider = (function() {
|
|
15318
15343
|
var valuesById = {}, values = Object.create(valuesById);
|
|
15344
|
+
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
15319
15345
|
values[valuesById[1] = "OTHER"] = 1;
|
|
15320
15346
|
values[valuesById[2] = "GOOGLE"] = 2;
|
|
15321
15347
|
values[valuesById[3] = "BING"] = 3;
|
|
@@ -15329,12 +15355,14 @@ $root.waproto = (function() {
|
|
|
15329
15355
|
* PlanningStepStatus enum.
|
|
15330
15356
|
* @name waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.PlanningStepStatus
|
|
15331
15357
|
* @enum {number}
|
|
15358
|
+
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
15332
15359
|
* @property {number} PLANNED=1 PLANNED value
|
|
15333
15360
|
* @property {number} EXECUTING=2 EXECUTING value
|
|
15334
15361
|
* @property {number} FINISHED=3 FINISHED value
|
|
15335
15362
|
*/
|
|
15336
15363
|
BotPlanningStepMetadata.PlanningStepStatus = (function() {
|
|
15337
15364
|
var valuesById = {}, values = Object.create(valuesById);
|
|
15365
|
+
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
15338
15366
|
values[valuesById[1] = "PLANNED"] = 1;
|
|
15339
15367
|
values[valuesById[2] = "EXECUTING"] = 2;
|
|
15340
15368
|
values[valuesById[3] = "FINISHED"] = 3;
|
|
@@ -27977,6 +28005,7 @@ $root.waproto = (function() {
|
|
|
27977
28005
|
* @property {waproto.ContextInfo.StatusAttributionType|null} [statusAttributionType] ContextInfo statusAttributionType
|
|
27978
28006
|
* @property {waproto.IUrlTrackingMap|null} [urlTrackingMap] ContextInfo urlTrackingMap
|
|
27979
28007
|
* @property {waproto.ContextInfo.PairedMediaType|null} [pairedMediaType] ContextInfo pairedMediaType
|
|
28008
|
+
* @property {number|null} [rankingVersion] ContextInfo rankingVersion
|
|
27980
28009
|
*/
|
|
27981
28010
|
|
|
27982
28011
|
/**
|
|
@@ -28340,6 +28369,14 @@ $root.waproto = (function() {
|
|
|
28340
28369
|
*/
|
|
28341
28370
|
ContextInfo.prototype.pairedMediaType = null;
|
|
28342
28371
|
|
|
28372
|
+
/**
|
|
28373
|
+
* ContextInfo rankingVersion.
|
|
28374
|
+
* @member {number|null|undefined} rankingVersion
|
|
28375
|
+
* @memberof waproto.ContextInfo
|
|
28376
|
+
* @instance
|
|
28377
|
+
*/
|
|
28378
|
+
ContextInfo.prototype.rankingVersion = null;
|
|
28379
|
+
|
|
28343
28380
|
// OneOf field names bound to virtual getters and setters
|
|
28344
28381
|
var $oneOfFields;
|
|
28345
28382
|
|
|
@@ -28589,6 +28626,12 @@ $root.waproto = (function() {
|
|
|
28589
28626
|
set: $util.oneOfSetter($oneOfFields)
|
|
28590
28627
|
});
|
|
28591
28628
|
|
|
28629
|
+
// Virtual OneOf for proto3 optional field
|
|
28630
|
+
Object.defineProperty(ContextInfo.prototype, "_rankingVersion", {
|
|
28631
|
+
get: $util.oneOfGetter($oneOfFields = ["rankingVersion"]),
|
|
28632
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
28633
|
+
});
|
|
28634
|
+
|
|
28592
28635
|
/**
|
|
28593
28636
|
* Creates a new ContextInfo instance using the specified properties.
|
|
28594
28637
|
* @function create
|
|
@@ -28701,6 +28744,8 @@ $root.waproto = (function() {
|
|
|
28701
28744
|
$root.waproto.UrlTrackingMap.encode(message.urlTrackingMap, writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim();
|
|
28702
28745
|
if (message.pairedMediaType != null && Object.hasOwnProperty.call(message, "pairedMediaType"))
|
|
28703
28746
|
writer.uint32(/* id 59, wireType 0 =*/472).int32(message.pairedMediaType);
|
|
28747
|
+
if (message.rankingVersion != null && Object.hasOwnProperty.call(message, "rankingVersion"))
|
|
28748
|
+
writer.uint32(/* id 60, wireType 0 =*/480).uint32(message.rankingVersion);
|
|
28704
28749
|
return writer;
|
|
28705
28750
|
};
|
|
28706
28751
|
|
|
@@ -28911,6 +28956,10 @@ $root.waproto = (function() {
|
|
|
28911
28956
|
message.pairedMediaType = reader.int32();
|
|
28912
28957
|
break;
|
|
28913
28958
|
}
|
|
28959
|
+
case 60: {
|
|
28960
|
+
message.rankingVersion = reader.uint32();
|
|
28961
|
+
break;
|
|
28962
|
+
}
|
|
28914
28963
|
default:
|
|
28915
28964
|
reader.skipType(tag & 7);
|
|
28916
28965
|
break;
|
|
@@ -29221,6 +29270,11 @@ $root.waproto = (function() {
|
|
|
29221
29270
|
break;
|
|
29222
29271
|
}
|
|
29223
29272
|
}
|
|
29273
|
+
if (message.rankingVersion != null && message.hasOwnProperty("rankingVersion")) {
|
|
29274
|
+
properties._rankingVersion = 1;
|
|
29275
|
+
if (!$util.isInteger(message.rankingVersion))
|
|
29276
|
+
return "rankingVersion: integer expected";
|
|
29277
|
+
}
|
|
29224
29278
|
return null;
|
|
29225
29279
|
};
|
|
29226
29280
|
|
|
@@ -29434,6 +29488,8 @@ $root.waproto = (function() {
|
|
|
29434
29488
|
message.pairedMediaType = 4;
|
|
29435
29489
|
break;
|
|
29436
29490
|
}
|
|
29491
|
+
if (object.rankingVersion != null)
|
|
29492
|
+
message.rankingVersion = object.rankingVersion >>> 0;
|
|
29437
29493
|
return message;
|
|
29438
29494
|
};
|
|
29439
29495
|
|
|
@@ -29672,6 +29728,11 @@ $root.waproto = (function() {
|
|
|
29672
29728
|
if (options.oneofs)
|
|
29673
29729
|
object._pairedMediaType = "pairedMediaType";
|
|
29674
29730
|
}
|
|
29731
|
+
if (message.rankingVersion != null && message.hasOwnProperty("rankingVersion")) {
|
|
29732
|
+
object.rankingVersion = message.rankingVersion;
|
|
29733
|
+
if (options.oneofs)
|
|
29734
|
+
object._rankingVersion = "rankingVersion";
|
|
29735
|
+
}
|
|
29675
29736
|
return object;
|
|
29676
29737
|
};
|
|
29677
29738
|
|
|
@@ -49265,6 +49326,288 @@ $root.waproto = (function() {
|
|
|
49265
49326
|
return LegacyMessage;
|
|
49266
49327
|
})();
|
|
49267
49328
|
|
|
49329
|
+
waproto.LimitSharing = (function() {
|
|
49330
|
+
|
|
49331
|
+
/**
|
|
49332
|
+
* Properties of a LimitSharing.
|
|
49333
|
+
* @memberof waproto
|
|
49334
|
+
* @interface ILimitSharing
|
|
49335
|
+
* @property {boolean|null} [sharingLimited] LimitSharing sharingLimited
|
|
49336
|
+
* @property {waproto.LimitSharing.Trigger|null} [trigger] LimitSharing trigger
|
|
49337
|
+
*/
|
|
49338
|
+
|
|
49339
|
+
/**
|
|
49340
|
+
* Constructs a new LimitSharing.
|
|
49341
|
+
* @memberof waproto
|
|
49342
|
+
* @classdesc Represents a LimitSharing.
|
|
49343
|
+
* @implements ILimitSharing
|
|
49344
|
+
* @constructor
|
|
49345
|
+
* @param {waproto.ILimitSharing=} [properties] Properties to set
|
|
49346
|
+
*/
|
|
49347
|
+
function LimitSharing(properties) {
|
|
49348
|
+
if (properties)
|
|
49349
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
49350
|
+
if (properties[keys[i]] != null)
|
|
49351
|
+
this[keys[i]] = properties[keys[i]];
|
|
49352
|
+
}
|
|
49353
|
+
|
|
49354
|
+
/**
|
|
49355
|
+
* LimitSharing sharingLimited.
|
|
49356
|
+
* @member {boolean|null|undefined} sharingLimited
|
|
49357
|
+
* @memberof waproto.LimitSharing
|
|
49358
|
+
* @instance
|
|
49359
|
+
*/
|
|
49360
|
+
LimitSharing.prototype.sharingLimited = null;
|
|
49361
|
+
|
|
49362
|
+
/**
|
|
49363
|
+
* LimitSharing trigger.
|
|
49364
|
+
* @member {waproto.LimitSharing.Trigger|null|undefined} trigger
|
|
49365
|
+
* @memberof waproto.LimitSharing
|
|
49366
|
+
* @instance
|
|
49367
|
+
*/
|
|
49368
|
+
LimitSharing.prototype.trigger = null;
|
|
49369
|
+
|
|
49370
|
+
// OneOf field names bound to virtual getters and setters
|
|
49371
|
+
var $oneOfFields;
|
|
49372
|
+
|
|
49373
|
+
// Virtual OneOf for proto3 optional field
|
|
49374
|
+
Object.defineProperty(LimitSharing.prototype, "_sharingLimited", {
|
|
49375
|
+
get: $util.oneOfGetter($oneOfFields = ["sharingLimited"]),
|
|
49376
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
49377
|
+
});
|
|
49378
|
+
|
|
49379
|
+
// Virtual OneOf for proto3 optional field
|
|
49380
|
+
Object.defineProperty(LimitSharing.prototype, "_trigger", {
|
|
49381
|
+
get: $util.oneOfGetter($oneOfFields = ["trigger"]),
|
|
49382
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
49383
|
+
});
|
|
49384
|
+
|
|
49385
|
+
/**
|
|
49386
|
+
* Creates a new LimitSharing instance using the specified properties.
|
|
49387
|
+
* @function create
|
|
49388
|
+
* @memberof waproto.LimitSharing
|
|
49389
|
+
* @static
|
|
49390
|
+
* @param {waproto.ILimitSharing=} [properties] Properties to set
|
|
49391
|
+
* @returns {waproto.LimitSharing} LimitSharing instance
|
|
49392
|
+
*/
|
|
49393
|
+
LimitSharing.create = function create(properties) {
|
|
49394
|
+
return new LimitSharing(properties);
|
|
49395
|
+
};
|
|
49396
|
+
|
|
49397
|
+
/**
|
|
49398
|
+
* Encodes the specified LimitSharing message. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages.
|
|
49399
|
+
* @function encode
|
|
49400
|
+
* @memberof waproto.LimitSharing
|
|
49401
|
+
* @static
|
|
49402
|
+
* @param {waproto.ILimitSharing} message LimitSharing message or plain object to encode
|
|
49403
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49404
|
+
* @returns {$protobuf.Writer} Writer
|
|
49405
|
+
*/
|
|
49406
|
+
LimitSharing.encode = function encode(message, writer) {
|
|
49407
|
+
if (!writer)
|
|
49408
|
+
writer = $Writer.create();
|
|
49409
|
+
if (message.sharingLimited != null && Object.hasOwnProperty.call(message, "sharingLimited"))
|
|
49410
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.sharingLimited);
|
|
49411
|
+
if (message.trigger != null && Object.hasOwnProperty.call(message, "trigger"))
|
|
49412
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.trigger);
|
|
49413
|
+
return writer;
|
|
49414
|
+
};
|
|
49415
|
+
|
|
49416
|
+
/**
|
|
49417
|
+
* Encodes the specified LimitSharing message, length delimited. Does not implicitly {@link waproto.LimitSharing.verify|verify} messages.
|
|
49418
|
+
* @function encodeDelimited
|
|
49419
|
+
* @memberof waproto.LimitSharing
|
|
49420
|
+
* @static
|
|
49421
|
+
* @param {waproto.ILimitSharing} message LimitSharing message or plain object to encode
|
|
49422
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49423
|
+
* @returns {$protobuf.Writer} Writer
|
|
49424
|
+
*/
|
|
49425
|
+
LimitSharing.encodeDelimited = function encodeDelimited(message, writer) {
|
|
49426
|
+
return this.encode(message, writer).ldelim();
|
|
49427
|
+
};
|
|
49428
|
+
|
|
49429
|
+
/**
|
|
49430
|
+
* Decodes a LimitSharing message from the specified reader or buffer.
|
|
49431
|
+
* @function decode
|
|
49432
|
+
* @memberof waproto.LimitSharing
|
|
49433
|
+
* @static
|
|
49434
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49435
|
+
* @param {number} [length] Message length if known beforehand
|
|
49436
|
+
* @returns {waproto.LimitSharing} LimitSharing
|
|
49437
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49438
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49439
|
+
*/
|
|
49440
|
+
LimitSharing.decode = function decode(reader, length) {
|
|
49441
|
+
if (!(reader instanceof $Reader))
|
|
49442
|
+
reader = $Reader.create(reader);
|
|
49443
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.waproto.LimitSharing();
|
|
49444
|
+
while (reader.pos < end) {
|
|
49445
|
+
var tag = reader.uint32();
|
|
49446
|
+
switch (tag >>> 3) {
|
|
49447
|
+
case 1: {
|
|
49448
|
+
message.sharingLimited = reader.bool();
|
|
49449
|
+
break;
|
|
49450
|
+
}
|
|
49451
|
+
case 2: {
|
|
49452
|
+
message.trigger = reader.int32();
|
|
49453
|
+
break;
|
|
49454
|
+
}
|
|
49455
|
+
default:
|
|
49456
|
+
reader.skipType(tag & 7);
|
|
49457
|
+
break;
|
|
49458
|
+
}
|
|
49459
|
+
}
|
|
49460
|
+
return message;
|
|
49461
|
+
};
|
|
49462
|
+
|
|
49463
|
+
/**
|
|
49464
|
+
* Decodes a LimitSharing message from the specified reader or buffer, length delimited.
|
|
49465
|
+
* @function decodeDelimited
|
|
49466
|
+
* @memberof waproto.LimitSharing
|
|
49467
|
+
* @static
|
|
49468
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49469
|
+
* @returns {waproto.LimitSharing} LimitSharing
|
|
49470
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49471
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49472
|
+
*/
|
|
49473
|
+
LimitSharing.decodeDelimited = function decodeDelimited(reader) {
|
|
49474
|
+
if (!(reader instanceof $Reader))
|
|
49475
|
+
reader = new $Reader(reader);
|
|
49476
|
+
return this.decode(reader, reader.uint32());
|
|
49477
|
+
};
|
|
49478
|
+
|
|
49479
|
+
/**
|
|
49480
|
+
* Verifies a LimitSharing message.
|
|
49481
|
+
* @function verify
|
|
49482
|
+
* @memberof waproto.LimitSharing
|
|
49483
|
+
* @static
|
|
49484
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
49485
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
49486
|
+
*/
|
|
49487
|
+
LimitSharing.verify = function verify(message) {
|
|
49488
|
+
if (typeof message !== "object" || message === null)
|
|
49489
|
+
return "object expected";
|
|
49490
|
+
var properties = {};
|
|
49491
|
+
if (message.sharingLimited != null && message.hasOwnProperty("sharingLimited")) {
|
|
49492
|
+
properties._sharingLimited = 1;
|
|
49493
|
+
if (typeof message.sharingLimited !== "boolean")
|
|
49494
|
+
return "sharingLimited: boolean expected";
|
|
49495
|
+
}
|
|
49496
|
+
if (message.trigger != null && message.hasOwnProperty("trigger")) {
|
|
49497
|
+
properties._trigger = 1;
|
|
49498
|
+
switch (message.trigger) {
|
|
49499
|
+
default:
|
|
49500
|
+
return "trigger: enum value expected";
|
|
49501
|
+
case 0:
|
|
49502
|
+
case 1:
|
|
49503
|
+
break;
|
|
49504
|
+
}
|
|
49505
|
+
}
|
|
49506
|
+
return null;
|
|
49507
|
+
};
|
|
49508
|
+
|
|
49509
|
+
/**
|
|
49510
|
+
* Creates a LimitSharing message from a plain object. Also converts values to their respective internal types.
|
|
49511
|
+
* @function fromObject
|
|
49512
|
+
* @memberof waproto.LimitSharing
|
|
49513
|
+
* @static
|
|
49514
|
+
* @param {Object.<string,*>} object Plain object
|
|
49515
|
+
* @returns {waproto.LimitSharing} LimitSharing
|
|
49516
|
+
*/
|
|
49517
|
+
LimitSharing.fromObject = function fromObject(object) {
|
|
49518
|
+
if (object instanceof $root.waproto.LimitSharing)
|
|
49519
|
+
return object;
|
|
49520
|
+
var message = new $root.waproto.LimitSharing();
|
|
49521
|
+
if (object.sharingLimited != null)
|
|
49522
|
+
message.sharingLimited = Boolean(object.sharingLimited);
|
|
49523
|
+
switch (object.trigger) {
|
|
49524
|
+
default:
|
|
49525
|
+
if (typeof object.trigger === "number") {
|
|
49526
|
+
message.trigger = object.trigger;
|
|
49527
|
+
break;
|
|
49528
|
+
}
|
|
49529
|
+
break;
|
|
49530
|
+
case "CHAT_SETTING":
|
|
49531
|
+
case 0:
|
|
49532
|
+
message.trigger = 0;
|
|
49533
|
+
break;
|
|
49534
|
+
case "BIZ_SUPPORTS_FB_HOSTING":
|
|
49535
|
+
case 1:
|
|
49536
|
+
message.trigger = 1;
|
|
49537
|
+
break;
|
|
49538
|
+
}
|
|
49539
|
+
return message;
|
|
49540
|
+
};
|
|
49541
|
+
|
|
49542
|
+
/**
|
|
49543
|
+
* Creates a plain object from a LimitSharing message. Also converts values to other types if specified.
|
|
49544
|
+
* @function toObject
|
|
49545
|
+
* @memberof waproto.LimitSharing
|
|
49546
|
+
* @static
|
|
49547
|
+
* @param {waproto.LimitSharing} message LimitSharing
|
|
49548
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
49549
|
+
* @returns {Object.<string,*>} Plain object
|
|
49550
|
+
*/
|
|
49551
|
+
LimitSharing.toObject = function toObject(message, options) {
|
|
49552
|
+
if (!options)
|
|
49553
|
+
options = {};
|
|
49554
|
+
var object = {};
|
|
49555
|
+
if (message.sharingLimited != null && message.hasOwnProperty("sharingLimited")) {
|
|
49556
|
+
object.sharingLimited = message.sharingLimited;
|
|
49557
|
+
if (options.oneofs)
|
|
49558
|
+
object._sharingLimited = "sharingLimited";
|
|
49559
|
+
}
|
|
49560
|
+
if (message.trigger != null && message.hasOwnProperty("trigger")) {
|
|
49561
|
+
object.trigger = options.enums === String ? $root.waproto.LimitSharing.Trigger[message.trigger] === undefined ? message.trigger : $root.waproto.LimitSharing.Trigger[message.trigger] : message.trigger;
|
|
49562
|
+
if (options.oneofs)
|
|
49563
|
+
object._trigger = "trigger";
|
|
49564
|
+
}
|
|
49565
|
+
return object;
|
|
49566
|
+
};
|
|
49567
|
+
|
|
49568
|
+
/**
|
|
49569
|
+
* Converts this LimitSharing to JSON.
|
|
49570
|
+
* @function toJSON
|
|
49571
|
+
* @memberof waproto.LimitSharing
|
|
49572
|
+
* @instance
|
|
49573
|
+
* @returns {Object.<string,*>} JSON object
|
|
49574
|
+
*/
|
|
49575
|
+
LimitSharing.prototype.toJSON = function toJSON() {
|
|
49576
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
49577
|
+
};
|
|
49578
|
+
|
|
49579
|
+
/**
|
|
49580
|
+
* Gets the default type url for LimitSharing
|
|
49581
|
+
* @function getTypeUrl
|
|
49582
|
+
* @memberof waproto.LimitSharing
|
|
49583
|
+
* @static
|
|
49584
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
49585
|
+
* @returns {string} The default type url
|
|
49586
|
+
*/
|
|
49587
|
+
LimitSharing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
49588
|
+
if (typeUrlPrefix === undefined) {
|
|
49589
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
49590
|
+
}
|
|
49591
|
+
return typeUrlPrefix + "/waproto.LimitSharing";
|
|
49592
|
+
};
|
|
49593
|
+
|
|
49594
|
+
/**
|
|
49595
|
+
* Trigger enum.
|
|
49596
|
+
* @name waproto.LimitSharing.Trigger
|
|
49597
|
+
* @enum {number}
|
|
49598
|
+
* @property {number} CHAT_SETTING=0 CHAT_SETTING value
|
|
49599
|
+
* @property {number} BIZ_SUPPORTS_FB_HOSTING=1 BIZ_SUPPORTS_FB_HOSTING value
|
|
49600
|
+
*/
|
|
49601
|
+
LimitSharing.Trigger = (function() {
|
|
49602
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
49603
|
+
values[valuesById[0] = "CHAT_SETTING"] = 0;
|
|
49604
|
+
values[valuesById[1] = "BIZ_SUPPORTS_FB_HOSTING"] = 1;
|
|
49605
|
+
return values;
|
|
49606
|
+
})();
|
|
49607
|
+
|
|
49608
|
+
return LimitSharing;
|
|
49609
|
+
})();
|
|
49610
|
+
|
|
49268
49611
|
waproto.LocalizedName = (function() {
|
|
49269
49612
|
|
|
49270
49613
|
/**
|
|
@@ -91800,6 +92143,7 @@ $root.waproto = (function() {
|
|
|
91800
92143
|
* @property {waproto.IMediaNotifyMessage|null} [mediaNotifyMessage] ProtocolMessage mediaNotifyMessage
|
|
91801
92144
|
* @property {waproto.Message.ICloudAPIThreadControlNotification|null} [cloudApiThreadControlNotification] ProtocolMessage cloudApiThreadControlNotification
|
|
91802
92145
|
* @property {waproto.ILIDMigrationMappingSyncMessage|null} [lidMigrationMappingSyncMessage] ProtocolMessage lidMigrationMappingSyncMessage
|
|
92146
|
+
* @property {waproto.ILimitSharing|null} [limitSharing] ProtocolMessage limitSharing
|
|
91803
92147
|
*/
|
|
91804
92148
|
|
|
91805
92149
|
/**
|
|
@@ -91977,6 +92321,14 @@ $root.waproto = (function() {
|
|
|
91977
92321
|
*/
|
|
91978
92322
|
ProtocolMessage.prototype.lidMigrationMappingSyncMessage = null;
|
|
91979
92323
|
|
|
92324
|
+
/**
|
|
92325
|
+
* ProtocolMessage limitSharing.
|
|
92326
|
+
* @member {waproto.ILimitSharing|null|undefined} limitSharing
|
|
92327
|
+
* @memberof waproto.Message.ProtocolMessage
|
|
92328
|
+
* @instance
|
|
92329
|
+
*/
|
|
92330
|
+
ProtocolMessage.prototype.limitSharing = null;
|
|
92331
|
+
|
|
91980
92332
|
// OneOf field names bound to virtual getters and setters
|
|
91981
92333
|
var $oneOfFields;
|
|
91982
92334
|
|
|
@@ -92100,6 +92452,12 @@ $root.waproto = (function() {
|
|
|
92100
92452
|
set: $util.oneOfSetter($oneOfFields)
|
|
92101
92453
|
});
|
|
92102
92454
|
|
|
92455
|
+
// Virtual OneOf for proto3 optional field
|
|
92456
|
+
Object.defineProperty(ProtocolMessage.prototype, "_limitSharing", {
|
|
92457
|
+
get: $util.oneOfGetter($oneOfFields = ["limitSharing"]),
|
|
92458
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
92459
|
+
});
|
|
92460
|
+
|
|
92103
92461
|
/**
|
|
92104
92462
|
* Creates a new ProtocolMessage instance using the specified properties.
|
|
92105
92463
|
* @function create
|
|
@@ -92164,6 +92522,8 @@ $root.waproto = (function() {
|
|
|
92164
92522
|
$root.waproto.Message.CloudAPIThreadControlNotification.encode(message.cloudApiThreadControlNotification, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
92165
92523
|
if (message.lidMigrationMappingSyncMessage != null && Object.hasOwnProperty.call(message, "lidMigrationMappingSyncMessage"))
|
|
92166
92524
|
$root.waproto.LIDMigrationMappingSyncMessage.encode(message.lidMigrationMappingSyncMessage, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
92525
|
+
if (message.limitSharing != null && Object.hasOwnProperty.call(message, "limitSharing"))
|
|
92526
|
+
$root.waproto.LimitSharing.encode(message.limitSharing, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
|
|
92167
92527
|
return writer;
|
|
92168
92528
|
};
|
|
92169
92529
|
|
|
@@ -92278,6 +92638,10 @@ $root.waproto = (function() {
|
|
|
92278
92638
|
message.lidMigrationMappingSyncMessage = $root.waproto.LIDMigrationMappingSyncMessage.decode(reader, reader.uint32());
|
|
92279
92639
|
break;
|
|
92280
92640
|
}
|
|
92641
|
+
case 24: {
|
|
92642
|
+
message.limitSharing = $root.waproto.LimitSharing.decode(reader, reader.uint32());
|
|
92643
|
+
break;
|
|
92644
|
+
}
|
|
92281
92645
|
default:
|
|
92282
92646
|
reader.skipType(tag & 7);
|
|
92283
92647
|
break;
|
|
@@ -92349,6 +92713,7 @@ $root.waproto = (function() {
|
|
|
92349
92713
|
case 24:
|
|
92350
92714
|
case 25:
|
|
92351
92715
|
case 26:
|
|
92716
|
+
case 27:
|
|
92352
92717
|
break;
|
|
92353
92718
|
}
|
|
92354
92719
|
}
|
|
@@ -92484,6 +92849,14 @@ $root.waproto = (function() {
|
|
|
92484
92849
|
return "lidMigrationMappingSyncMessage." + error;
|
|
92485
92850
|
}
|
|
92486
92851
|
}
|
|
92852
|
+
if (message.limitSharing != null && message.hasOwnProperty("limitSharing")) {
|
|
92853
|
+
properties._limitSharing = 1;
|
|
92854
|
+
{
|
|
92855
|
+
var error = $root.waproto.LimitSharing.verify(message.limitSharing);
|
|
92856
|
+
if (error)
|
|
92857
|
+
return "limitSharing." + error;
|
|
92858
|
+
}
|
|
92859
|
+
}
|
|
92487
92860
|
return null;
|
|
92488
92861
|
};
|
|
92489
92862
|
|
|
@@ -92599,6 +92972,10 @@ $root.waproto = (function() {
|
|
|
92599
92972
|
case 26:
|
|
92600
92973
|
message.type = 26;
|
|
92601
92974
|
break;
|
|
92975
|
+
case "LIMIT_SHARING":
|
|
92976
|
+
case 27:
|
|
92977
|
+
message.type = 27;
|
|
92978
|
+
break;
|
|
92602
92979
|
}
|
|
92603
92980
|
if (object.ephemeralExpiration != null)
|
|
92604
92981
|
message.ephemeralExpiration = object.ephemeralExpiration >>> 0;
|
|
@@ -92692,6 +93069,11 @@ $root.waproto = (function() {
|
|
|
92692
93069
|
throw TypeError(".waproto.Message.ProtocolMessage.lidMigrationMappingSyncMessage: object expected");
|
|
92693
93070
|
message.lidMigrationMappingSyncMessage = $root.waproto.LIDMigrationMappingSyncMessage.fromObject(object.lidMigrationMappingSyncMessage);
|
|
92694
93071
|
}
|
|
93072
|
+
if (object.limitSharing != null) {
|
|
93073
|
+
if (typeof object.limitSharing !== "object")
|
|
93074
|
+
throw TypeError(".waproto.Message.ProtocolMessage.limitSharing: object expected");
|
|
93075
|
+
message.limitSharing = $root.waproto.LimitSharing.fromObject(object.limitSharing);
|
|
93076
|
+
}
|
|
92695
93077
|
return message;
|
|
92696
93078
|
};
|
|
92697
93079
|
|
|
@@ -92814,6 +93196,11 @@ $root.waproto = (function() {
|
|
|
92814
93196
|
if (options.oneofs)
|
|
92815
93197
|
object._lidMigrationMappingSyncMessage = "lidMigrationMappingSyncMessage";
|
|
92816
93198
|
}
|
|
93199
|
+
if (message.limitSharing != null && message.hasOwnProperty("limitSharing")) {
|
|
93200
|
+
object.limitSharing = $root.waproto.LimitSharing.toObject(message.limitSharing, options);
|
|
93201
|
+
if (options.oneofs)
|
|
93202
|
+
object._limitSharing = "limitSharing";
|
|
93203
|
+
}
|
|
92817
93204
|
return object;
|
|
92818
93205
|
};
|
|
92819
93206
|
|
|
@@ -92869,6 +93256,7 @@ $root.waproto = (function() {
|
|
|
92869
93256
|
* @property {number} BOT_MEMU_ONBOARDING_MESSAGE=24 BOT_MEMU_ONBOARDING_MESSAGE value
|
|
92870
93257
|
* @property {number} STATUS_MENTION_MESSAGE=25 STATUS_MENTION_MESSAGE value
|
|
92871
93258
|
* @property {number} STOP_GENERATION_MESSAGE=26 STOP_GENERATION_MESSAGE value
|
|
93259
|
+
* @property {number} LIMIT_SHARING=27 LIMIT_SHARING value
|
|
92872
93260
|
*/
|
|
92873
93261
|
ProtocolMessage.Type = (function() {
|
|
92874
93262
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -92894,6 +93282,7 @@ $root.waproto = (function() {
|
|
|
92894
93282
|
values[valuesById[24] = "BOT_MEMU_ONBOARDING_MESSAGE"] = 24;
|
|
92895
93283
|
values[valuesById[25] = "STATUS_MENTION_MESSAGE"] = 25;
|
|
92896
93284
|
values[valuesById[26] = "STOP_GENERATION_MESSAGE"] = 26;
|
|
93285
|
+
values[valuesById[27] = "LIMIT_SHARING"] = 27;
|
|
92897
93286
|
return values;
|
|
92898
93287
|
})();
|
|
92899
93288
|
|