@wppconnect/wa-proto 2.3000.1049711438 → 2.3000.1049812166
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/WAProto.proto +27 -1
- package/dist/index.d.ts +301 -3
- package/dist/index.js +814 -0
- package/package.json +1 -1
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.1049812166
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1772,6 +1772,8 @@ message ContextInfo {
|
|
|
1772
1772
|
HEVC_VIDEO_CHILD = 8;
|
|
1773
1773
|
AV1_VIDEO_PARENT = 9;
|
|
1774
1774
|
AV1_VIDEO_CHILD = 10;
|
|
1775
|
+
STREAMED_VIDEO_PARENT = 11;
|
|
1776
|
+
STREAMED_VIDEO_CHILD = 12;
|
|
1775
1777
|
}
|
|
1776
1778
|
message PartiallySelectedContent {
|
|
1777
1779
|
optional string text = 1;
|
|
@@ -3306,6 +3308,7 @@ message Message {
|
|
|
3306
3308
|
optional ImageMessage instantImageMessage = 135;
|
|
3307
3309
|
optional RequestLocationMessage requestLocationMessage = 136;
|
|
3308
3310
|
optional FutureProofMessage botGroupParticipantMessage = 137;
|
|
3311
|
+
optional RequestLocationUpdateMessage requestLocationUpdateMessage = 138;
|
|
3309
3312
|
message AlbumMessage {
|
|
3310
3313
|
optional uint32 expectedImageCount = 2;
|
|
3311
3314
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -4788,6 +4791,16 @@ message Message {
|
|
|
4788
4791
|
optional ContextInfo contextInfo = 1;
|
|
4789
4792
|
}
|
|
4790
4793
|
|
|
4794
|
+
message RequestLocationUpdateMessage {
|
|
4795
|
+
optional MessageKey key = 1;
|
|
4796
|
+
optional UpdateType updateType = 2;
|
|
4797
|
+
optional int64 senderTimestampMs = 3;
|
|
4798
|
+
enum UpdateType {
|
|
4799
|
+
UNKNOWN = 0;
|
|
4800
|
+
CANCEL = 1;
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4791
4804
|
message RequestPaymentMessage {
|
|
4792
4805
|
optional Message noteMessage = 4;
|
|
4793
4806
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -5154,6 +5167,7 @@ message MessageAddOn {
|
|
|
5154
5167
|
EVENT_RESPONSE = 2;
|
|
5155
5168
|
POLL_UPDATE = 3;
|
|
5156
5169
|
PIN_IN_CHAT = 4;
|
|
5170
|
+
REQUEST_LOCATION_UPDATE = 5;
|
|
5157
5171
|
}
|
|
5158
5172
|
}
|
|
5159
5173
|
|
|
@@ -5189,6 +5203,7 @@ message MessageAssociation {
|
|
|
5189
5203
|
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
5190
5204
|
POLL_ADD_OPTION = 20;
|
|
5191
5205
|
AV1_VIDEO_DUAL_UPLOAD = 21;
|
|
5206
|
+
STREAMED_HD_VIDEO_DUAL_UPLOAD = 22;
|
|
5192
5207
|
}
|
|
5193
5208
|
}
|
|
5194
5209
|
|
|
@@ -5619,6 +5634,7 @@ enum MutationProps {
|
|
|
5619
5634
|
BUSINESS_FOLDER_ACTIVATION_ACTION = 96;
|
|
5620
5635
|
GROUP_HISTORY_TOGGLE_ACTION = 97;
|
|
5621
5636
|
BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98;
|
|
5637
|
+
COMMUNITY_NESTING_STATE_ACTION = 99;
|
|
5622
5638
|
SHARE_OWN_PN = 10001;
|
|
5623
5639
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
5624
5640
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -6363,6 +6379,7 @@ message SyncActionValue {
|
|
|
6363
6379
|
optional BusinessFolderActivationAction businessFolderActivationAction = 96;
|
|
6364
6380
|
optional GroupHistoryToggleAction groupHistoryToggleAction = 97;
|
|
6365
6381
|
optional BBProPendingCustomerBaseAction bbProPendingCustomerBaseAction = 98;
|
|
6382
|
+
optional CommunityNestingStateAction communityNestingStateAction = 99;
|
|
6366
6383
|
message AgentAction {
|
|
6367
6384
|
optional string name = 1;
|
|
6368
6385
|
optional int32 deviceId = 2;
|
|
@@ -6506,6 +6523,15 @@ message SyncActionValue {
|
|
|
6506
6523
|
optional uint64 version = 1;
|
|
6507
6524
|
}
|
|
6508
6525
|
|
|
6526
|
+
message CommunityNestingStateAction {
|
|
6527
|
+
optional NestingState nestingState = 1;
|
|
6528
|
+
enum NestingState {
|
|
6529
|
+
NESTING_STATE_UNKNOWN = 0;
|
|
6530
|
+
NESTING_STATE_NESTED = 1;
|
|
6531
|
+
NESTING_STATE_UNNESTED = 2;
|
|
6532
|
+
}
|
|
6533
|
+
}
|
|
6534
|
+
|
|
6509
6535
|
message ContactAction {
|
|
6510
6536
|
optional string fullName = 1;
|
|
6511
6537
|
optional string firstName = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -22753,7 +22753,13 @@ export namespace waproto {
|
|
|
22753
22753
|
AV1_VIDEO_PARENT = 9,
|
|
22754
22754
|
|
|
22755
22755
|
/** AV1_VIDEO_CHILD value */
|
|
22756
|
-
AV1_VIDEO_CHILD = 10
|
|
22756
|
+
AV1_VIDEO_CHILD = 10,
|
|
22757
|
+
|
|
22758
|
+
/** STREAMED_VIDEO_PARENT value */
|
|
22759
|
+
STREAMED_VIDEO_PARENT = 11,
|
|
22760
|
+
|
|
22761
|
+
/** STREAMED_VIDEO_CHILD value */
|
|
22762
|
+
STREAMED_VIDEO_CHILD = 12
|
|
22757
22763
|
}
|
|
22758
22764
|
|
|
22759
22765
|
/**
|
|
@@ -44379,6 +44385,9 @@ export namespace waproto {
|
|
|
44379
44385
|
/** Message botGroupParticipantMessage. */
|
|
44380
44386
|
botGroupParticipantMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
44381
44387
|
|
|
44388
|
+
/** Message requestLocationUpdateMessage. */
|
|
44389
|
+
requestLocationUpdateMessage?: (waproto.Message.RequestLocationUpdateMessage.$Properties|null);
|
|
44390
|
+
|
|
44382
44391
|
/**
|
|
44383
44392
|
* Creates a new Message instance using the specified properties.
|
|
44384
44393
|
* @param [properties] Properties to set
|
|
@@ -44811,6 +44820,9 @@ export namespace waproto {
|
|
|
44811
44820
|
/** Message botGroupParticipantMessage */
|
|
44812
44821
|
botGroupParticipantMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
44813
44822
|
|
|
44823
|
+
/** Message requestLocationUpdateMessage */
|
|
44824
|
+
requestLocationUpdateMessage?: (waproto.Message.RequestLocationUpdateMessage.$Properties|null);
|
|
44825
|
+
|
|
44814
44826
|
/** Unknown fields preserved while decoding when enabled */
|
|
44815
44827
|
$unknowns?: Uint8Array[];
|
|
44816
44828
|
}
|
|
@@ -44933,6 +44945,7 @@ export namespace waproto {
|
|
|
44933
44945
|
instantImageMessage?: waproto.Message.ImageMessage.$Shape|null;
|
|
44934
44946
|
requestLocationMessage?: waproto.Message.RequestLocationMessage.$Shape|null;
|
|
44935
44947
|
botGroupParticipantMessage?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
44948
|
+
requestLocationUpdateMessage?: waproto.Message.RequestLocationUpdateMessage.$Shape|null;
|
|
44936
44949
|
$unknowns?: Uint8Array[];
|
|
44937
44950
|
};
|
|
44938
44951
|
|
|
@@ -67050,6 +67063,145 @@ export namespace waproto {
|
|
|
67050
67063
|
};
|
|
67051
67064
|
}
|
|
67052
67065
|
|
|
67066
|
+
/**
|
|
67067
|
+
* Properties of a RequestLocationUpdateMessage.
|
|
67068
|
+
* @deprecated Use waproto.Message.RequestLocationUpdateMessage.$Properties instead.
|
|
67069
|
+
*/
|
|
67070
|
+
interface IRequestLocationUpdateMessage extends waproto.Message.RequestLocationUpdateMessage.$Properties {
|
|
67071
|
+
}
|
|
67072
|
+
|
|
67073
|
+
/** Represents a RequestLocationUpdateMessage. */
|
|
67074
|
+
class RequestLocationUpdateMessage {
|
|
67075
|
+
|
|
67076
|
+
/**
|
|
67077
|
+
* Constructs a new RequestLocationUpdateMessage.
|
|
67078
|
+
* @param [properties] Properties to set
|
|
67079
|
+
*/
|
|
67080
|
+
constructor(properties?: waproto.Message.RequestLocationUpdateMessage.$Properties);
|
|
67081
|
+
|
|
67082
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
67083
|
+
$unknowns?: Uint8Array[];
|
|
67084
|
+
|
|
67085
|
+
/** RequestLocationUpdateMessage key. */
|
|
67086
|
+
key?: (waproto.MessageKey.$Properties|null);
|
|
67087
|
+
|
|
67088
|
+
/** RequestLocationUpdateMessage updateType. */
|
|
67089
|
+
updateType?: (waproto.Message.RequestLocationUpdateMessage.UpdateType|null);
|
|
67090
|
+
|
|
67091
|
+
/** RequestLocationUpdateMessage senderTimestampMs. */
|
|
67092
|
+
senderTimestampMs?: (number|Long|null);
|
|
67093
|
+
|
|
67094
|
+
/**
|
|
67095
|
+
* Creates a new RequestLocationUpdateMessage instance using the specified properties.
|
|
67096
|
+
* @param [properties] Properties to set
|
|
67097
|
+
* @returns RequestLocationUpdateMessage instance
|
|
67098
|
+
*/
|
|
67099
|
+
static create(properties: waproto.Message.RequestLocationUpdateMessage.$Shape): waproto.Message.RequestLocationUpdateMessage & waproto.Message.RequestLocationUpdateMessage.$Shape;
|
|
67100
|
+
static create(properties?: waproto.Message.RequestLocationUpdateMessage.$Properties): waproto.Message.RequestLocationUpdateMessage;
|
|
67101
|
+
|
|
67102
|
+
/**
|
|
67103
|
+
* Encodes the specified RequestLocationUpdateMessage message. Does not implicitly {@link waproto.Message.RequestLocationUpdateMessage.verify|verify} messages.
|
|
67104
|
+
* @param message RequestLocationUpdateMessage message or plain object to encode
|
|
67105
|
+
* @param [writer] Writer to encode to
|
|
67106
|
+
* @returns Writer
|
|
67107
|
+
*/
|
|
67108
|
+
static encode(message: waproto.Message.RequestLocationUpdateMessage.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
67109
|
+
|
|
67110
|
+
/**
|
|
67111
|
+
* Encodes the specified RequestLocationUpdateMessage message, length delimited. Does not implicitly {@link waproto.Message.RequestLocationUpdateMessage.verify|verify} messages.
|
|
67112
|
+
* @param message RequestLocationUpdateMessage message or plain object to encode
|
|
67113
|
+
* @param [writer] Writer to encode to
|
|
67114
|
+
* @returns Writer
|
|
67115
|
+
*/
|
|
67116
|
+
static encodeDelimited(message: waproto.Message.RequestLocationUpdateMessage.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
67117
|
+
|
|
67118
|
+
/**
|
|
67119
|
+
* Decodes a RequestLocationUpdateMessage message from the specified reader or buffer.
|
|
67120
|
+
* @param reader Reader or buffer to decode from
|
|
67121
|
+
* @param [length] Message length if known beforehand
|
|
67122
|
+
* @returns {waproto.Message.RequestLocationUpdateMessage & waproto.Message.RequestLocationUpdateMessage.$Shape} RequestLocationUpdateMessage
|
|
67123
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67124
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67125
|
+
*/
|
|
67126
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.RequestLocationUpdateMessage & waproto.Message.RequestLocationUpdateMessage.$Shape;
|
|
67127
|
+
|
|
67128
|
+
/**
|
|
67129
|
+
* Decodes a RequestLocationUpdateMessage message from the specified reader or buffer, length delimited.
|
|
67130
|
+
* @param reader Reader or buffer to decode from
|
|
67131
|
+
* @returns {waproto.Message.RequestLocationUpdateMessage & waproto.Message.RequestLocationUpdateMessage.$Shape} RequestLocationUpdateMessage
|
|
67132
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
67133
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
67134
|
+
*/
|
|
67135
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.RequestLocationUpdateMessage & waproto.Message.RequestLocationUpdateMessage.$Shape;
|
|
67136
|
+
|
|
67137
|
+
/**
|
|
67138
|
+
* Verifies a RequestLocationUpdateMessage message.
|
|
67139
|
+
* @param message Plain object to verify
|
|
67140
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
67141
|
+
*/
|
|
67142
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
67143
|
+
|
|
67144
|
+
/**
|
|
67145
|
+
* Creates a RequestLocationUpdateMessage message from a plain object. Also converts values to their respective internal types.
|
|
67146
|
+
* @param object Plain object
|
|
67147
|
+
* @returns RequestLocationUpdateMessage
|
|
67148
|
+
*/
|
|
67149
|
+
static fromObject(object: { [k: string]: any }): waproto.Message.RequestLocationUpdateMessage;
|
|
67150
|
+
|
|
67151
|
+
/**
|
|
67152
|
+
* Creates a plain object from a RequestLocationUpdateMessage message. Also converts values to other types if specified.
|
|
67153
|
+
* @param message RequestLocationUpdateMessage
|
|
67154
|
+
* @param [options] Conversion options
|
|
67155
|
+
* @returns Plain object
|
|
67156
|
+
*/
|
|
67157
|
+
static toObject(message: waproto.Message.RequestLocationUpdateMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
67158
|
+
|
|
67159
|
+
/**
|
|
67160
|
+
* Converts this RequestLocationUpdateMessage to JSON.
|
|
67161
|
+
* @returns JSON object
|
|
67162
|
+
*/
|
|
67163
|
+
toJSON(): { [k: string]: any };
|
|
67164
|
+
|
|
67165
|
+
/**
|
|
67166
|
+
* Gets the type url for RequestLocationUpdateMessage
|
|
67167
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
67168
|
+
* @returns The type url
|
|
67169
|
+
*/
|
|
67170
|
+
static getTypeUrl(prefix?: string): string;
|
|
67171
|
+
}
|
|
67172
|
+
|
|
67173
|
+
namespace RequestLocationUpdateMessage {
|
|
67174
|
+
|
|
67175
|
+
/** Properties of a RequestLocationUpdateMessage. */
|
|
67176
|
+
interface $Properties {
|
|
67177
|
+
|
|
67178
|
+
/** RequestLocationUpdateMessage key */
|
|
67179
|
+
key?: (waproto.MessageKey.$Properties|null);
|
|
67180
|
+
|
|
67181
|
+
/** RequestLocationUpdateMessage updateType */
|
|
67182
|
+
updateType?: (waproto.Message.RequestLocationUpdateMessage.UpdateType|null);
|
|
67183
|
+
|
|
67184
|
+
/** RequestLocationUpdateMessage senderTimestampMs */
|
|
67185
|
+
senderTimestampMs?: (number|Long|null);
|
|
67186
|
+
|
|
67187
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
67188
|
+
$unknowns?: Uint8Array[];
|
|
67189
|
+
}
|
|
67190
|
+
|
|
67191
|
+
/** Shape of a RequestLocationUpdateMessage. */
|
|
67192
|
+
type $Shape = waproto.Message.RequestLocationUpdateMessage.$Properties;
|
|
67193
|
+
|
|
67194
|
+
/** UpdateType enum. */
|
|
67195
|
+
enum UpdateType {
|
|
67196
|
+
|
|
67197
|
+
/** UNKNOWN value */
|
|
67198
|
+
UNKNOWN = 0,
|
|
67199
|
+
|
|
67200
|
+
/** CANCEL value */
|
|
67201
|
+
CANCEL = 1
|
|
67202
|
+
}
|
|
67203
|
+
}
|
|
67204
|
+
|
|
67053
67205
|
/**
|
|
67054
67206
|
* Properties of a RequestPaymentMessage.
|
|
67055
67207
|
* @deprecated Use waproto.Message.RequestPaymentMessage.$Properties instead.
|
|
@@ -72108,7 +72260,10 @@ export namespace waproto {
|
|
|
72108
72260
|
POLL_UPDATE = 3,
|
|
72109
72261
|
|
|
72110
72262
|
/** PIN_IN_CHAT value */
|
|
72111
|
-
PIN_IN_CHAT = 4
|
|
72263
|
+
PIN_IN_CHAT = 4,
|
|
72264
|
+
|
|
72265
|
+
/** REQUEST_LOCATION_UPDATE value */
|
|
72266
|
+
REQUEST_LOCATION_UPDATE = 5
|
|
72112
72267
|
}
|
|
72113
72268
|
}
|
|
72114
72269
|
|
|
@@ -72430,7 +72585,10 @@ export namespace waproto {
|
|
|
72430
72585
|
POLL_ADD_OPTION = 20,
|
|
72431
72586
|
|
|
72432
72587
|
/** AV1_VIDEO_DUAL_UPLOAD value */
|
|
72433
|
-
AV1_VIDEO_DUAL_UPLOAD = 21
|
|
72588
|
+
AV1_VIDEO_DUAL_UPLOAD = 21,
|
|
72589
|
+
|
|
72590
|
+
/** STREAMED_HD_VIDEO_DUAL_UPLOAD value */
|
|
72591
|
+
STREAMED_HD_VIDEO_DUAL_UPLOAD = 22
|
|
72434
72592
|
}
|
|
72435
72593
|
}
|
|
72436
72594
|
|
|
@@ -78141,6 +78299,9 @@ export namespace waproto {
|
|
|
78141
78299
|
/** BB_PRO_PENDING_CUSTOMER_BASE_ACTION value */
|
|
78142
78300
|
BB_PRO_PENDING_CUSTOMER_BASE_ACTION = 98,
|
|
78143
78301
|
|
|
78302
|
+
/** COMMUNITY_NESTING_STATE_ACTION value */
|
|
78303
|
+
COMMUNITY_NESTING_STATE_ACTION = 99,
|
|
78304
|
+
|
|
78144
78305
|
/** SHARE_OWN_PN value */
|
|
78145
78306
|
SHARE_OWN_PN = 10001,
|
|
78146
78307
|
|
|
@@ -88440,6 +88601,9 @@ export namespace waproto {
|
|
|
88440
88601
|
/** SyncActionValue bbProPendingCustomerBaseAction. */
|
|
88441
88602
|
bbProPendingCustomerBaseAction?: (waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null);
|
|
88442
88603
|
|
|
88604
|
+
/** SyncActionValue communityNestingStateAction. */
|
|
88605
|
+
communityNestingStateAction?: (waproto.SyncActionValue.CommunityNestingStateAction.$Properties|null);
|
|
88606
|
+
|
|
88443
88607
|
/**
|
|
88444
88608
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
88445
88609
|
* @param [properties] Properties to set
|
|
@@ -88791,6 +88955,9 @@ export namespace waproto {
|
|
|
88791
88955
|
/** SyncActionValue bbProPendingCustomerBaseAction */
|
|
88792
88956
|
bbProPendingCustomerBaseAction?: (waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Properties|null);
|
|
88793
88957
|
|
|
88958
|
+
/** SyncActionValue communityNestingStateAction */
|
|
88959
|
+
communityNestingStateAction?: (waproto.SyncActionValue.CommunityNestingStateAction.$Properties|null);
|
|
88960
|
+
|
|
88794
88961
|
/** Unknown fields preserved while decoding when enabled */
|
|
88795
88962
|
$unknowns?: Uint8Array[];
|
|
88796
88963
|
}
|
|
@@ -88886,6 +89053,7 @@ export namespace waproto {
|
|
|
88886
89053
|
businessFolderActivationAction?: waproto.SyncActionValue.BusinessFolderActivationAction.$Shape|null;
|
|
88887
89054
|
groupHistoryToggleAction?: waproto.SyncActionValue.GroupHistoryToggleAction.$Shape|null;
|
|
88888
89055
|
bbProPendingCustomerBaseAction?: waproto.SyncActionValue.BBProPendingCustomerBaseAction.$Shape|null;
|
|
89056
|
+
communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
|
|
88889
89057
|
$unknowns?: Uint8Array[];
|
|
88890
89058
|
};
|
|
88891
89059
|
|
|
@@ -91593,6 +91761,136 @@ export namespace waproto {
|
|
|
91593
91761
|
type $Shape = waproto.SyncActionValue.CoexV2VersionAction.$Properties;
|
|
91594
91762
|
}
|
|
91595
91763
|
|
|
91764
|
+
/**
|
|
91765
|
+
* Properties of a CommunityNestingStateAction.
|
|
91766
|
+
* @deprecated Use waproto.SyncActionValue.CommunityNestingStateAction.$Properties instead.
|
|
91767
|
+
*/
|
|
91768
|
+
interface ICommunityNestingStateAction extends waproto.SyncActionValue.CommunityNestingStateAction.$Properties {
|
|
91769
|
+
}
|
|
91770
|
+
|
|
91771
|
+
/** Represents a CommunityNestingStateAction. */
|
|
91772
|
+
class CommunityNestingStateAction {
|
|
91773
|
+
|
|
91774
|
+
/**
|
|
91775
|
+
* Constructs a new CommunityNestingStateAction.
|
|
91776
|
+
* @param [properties] Properties to set
|
|
91777
|
+
*/
|
|
91778
|
+
constructor(properties?: waproto.SyncActionValue.CommunityNestingStateAction.$Properties);
|
|
91779
|
+
|
|
91780
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
91781
|
+
$unknowns?: Uint8Array[];
|
|
91782
|
+
|
|
91783
|
+
/** CommunityNestingStateAction nestingState. */
|
|
91784
|
+
nestingState?: (waproto.SyncActionValue.CommunityNestingStateAction.NestingState|null);
|
|
91785
|
+
|
|
91786
|
+
/**
|
|
91787
|
+
* Creates a new CommunityNestingStateAction instance using the specified properties.
|
|
91788
|
+
* @param [properties] Properties to set
|
|
91789
|
+
* @returns CommunityNestingStateAction instance
|
|
91790
|
+
*/
|
|
91791
|
+
static create(properties: waproto.SyncActionValue.CommunityNestingStateAction.$Shape): waproto.SyncActionValue.CommunityNestingStateAction & waproto.SyncActionValue.CommunityNestingStateAction.$Shape;
|
|
91792
|
+
static create(properties?: waproto.SyncActionValue.CommunityNestingStateAction.$Properties): waproto.SyncActionValue.CommunityNestingStateAction;
|
|
91793
|
+
|
|
91794
|
+
/**
|
|
91795
|
+
* Encodes the specified CommunityNestingStateAction message. Does not implicitly {@link waproto.SyncActionValue.CommunityNestingStateAction.verify|verify} messages.
|
|
91796
|
+
* @param message CommunityNestingStateAction message or plain object to encode
|
|
91797
|
+
* @param [writer] Writer to encode to
|
|
91798
|
+
* @returns Writer
|
|
91799
|
+
*/
|
|
91800
|
+
static encode(message: waproto.SyncActionValue.CommunityNestingStateAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
91801
|
+
|
|
91802
|
+
/**
|
|
91803
|
+
* Encodes the specified CommunityNestingStateAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.CommunityNestingStateAction.verify|verify} messages.
|
|
91804
|
+
* @param message CommunityNestingStateAction message or plain object to encode
|
|
91805
|
+
* @param [writer] Writer to encode to
|
|
91806
|
+
* @returns Writer
|
|
91807
|
+
*/
|
|
91808
|
+
static encodeDelimited(message: waproto.SyncActionValue.CommunityNestingStateAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
91809
|
+
|
|
91810
|
+
/**
|
|
91811
|
+
* Decodes a CommunityNestingStateAction message from the specified reader or buffer.
|
|
91812
|
+
* @param reader Reader or buffer to decode from
|
|
91813
|
+
* @param [length] Message length if known beforehand
|
|
91814
|
+
* @returns {waproto.SyncActionValue.CommunityNestingStateAction & waproto.SyncActionValue.CommunityNestingStateAction.$Shape} CommunityNestingStateAction
|
|
91815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91817
|
+
*/
|
|
91818
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.CommunityNestingStateAction & waproto.SyncActionValue.CommunityNestingStateAction.$Shape;
|
|
91819
|
+
|
|
91820
|
+
/**
|
|
91821
|
+
* Decodes a CommunityNestingStateAction message from the specified reader or buffer, length delimited.
|
|
91822
|
+
* @param reader Reader or buffer to decode from
|
|
91823
|
+
* @returns {waproto.SyncActionValue.CommunityNestingStateAction & waproto.SyncActionValue.CommunityNestingStateAction.$Shape} CommunityNestingStateAction
|
|
91824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91826
|
+
*/
|
|
91827
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.CommunityNestingStateAction & waproto.SyncActionValue.CommunityNestingStateAction.$Shape;
|
|
91828
|
+
|
|
91829
|
+
/**
|
|
91830
|
+
* Verifies a CommunityNestingStateAction message.
|
|
91831
|
+
* @param message Plain object to verify
|
|
91832
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
91833
|
+
*/
|
|
91834
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
91835
|
+
|
|
91836
|
+
/**
|
|
91837
|
+
* Creates a CommunityNestingStateAction message from a plain object. Also converts values to their respective internal types.
|
|
91838
|
+
* @param object Plain object
|
|
91839
|
+
* @returns CommunityNestingStateAction
|
|
91840
|
+
*/
|
|
91841
|
+
static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.CommunityNestingStateAction;
|
|
91842
|
+
|
|
91843
|
+
/**
|
|
91844
|
+
* Creates a plain object from a CommunityNestingStateAction message. Also converts values to other types if specified.
|
|
91845
|
+
* @param message CommunityNestingStateAction
|
|
91846
|
+
* @param [options] Conversion options
|
|
91847
|
+
* @returns Plain object
|
|
91848
|
+
*/
|
|
91849
|
+
static toObject(message: waproto.SyncActionValue.CommunityNestingStateAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
91850
|
+
|
|
91851
|
+
/**
|
|
91852
|
+
* Converts this CommunityNestingStateAction to JSON.
|
|
91853
|
+
* @returns JSON object
|
|
91854
|
+
*/
|
|
91855
|
+
toJSON(): { [k: string]: any };
|
|
91856
|
+
|
|
91857
|
+
/**
|
|
91858
|
+
* Gets the type url for CommunityNestingStateAction
|
|
91859
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
91860
|
+
* @returns The type url
|
|
91861
|
+
*/
|
|
91862
|
+
static getTypeUrl(prefix?: string): string;
|
|
91863
|
+
}
|
|
91864
|
+
|
|
91865
|
+
namespace CommunityNestingStateAction {
|
|
91866
|
+
|
|
91867
|
+
/** Properties of a CommunityNestingStateAction. */
|
|
91868
|
+
interface $Properties {
|
|
91869
|
+
|
|
91870
|
+
/** CommunityNestingStateAction nestingState */
|
|
91871
|
+
nestingState?: (waproto.SyncActionValue.CommunityNestingStateAction.NestingState|null);
|
|
91872
|
+
|
|
91873
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
91874
|
+
$unknowns?: Uint8Array[];
|
|
91875
|
+
}
|
|
91876
|
+
|
|
91877
|
+
/** Shape of a CommunityNestingStateAction. */
|
|
91878
|
+
type $Shape = waproto.SyncActionValue.CommunityNestingStateAction.$Properties;
|
|
91879
|
+
|
|
91880
|
+
/** NestingState enum. */
|
|
91881
|
+
enum NestingState {
|
|
91882
|
+
|
|
91883
|
+
/** NESTING_STATE_UNKNOWN value */
|
|
91884
|
+
NESTING_STATE_UNKNOWN = 0,
|
|
91885
|
+
|
|
91886
|
+
/** NESTING_STATE_NESTED value */
|
|
91887
|
+
NESTING_STATE_NESTED = 1,
|
|
91888
|
+
|
|
91889
|
+
/** NESTING_STATE_UNNESTED value */
|
|
91890
|
+
NESTING_STATE_UNNESTED = 2
|
|
91891
|
+
}
|
|
91892
|
+
}
|
|
91893
|
+
|
|
91596
91894
|
/**
|
|
91597
91895
|
* Properties of a ContactAction.
|
|
91598
91896
|
* @deprecated Use waproto.SyncActionValue.ContactAction.$Properties instead.
|