@wppconnect/wa-proto 2.3000.1055574960 → 2.3000.1055694500
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 +20 -1
- package/dist/index.d.ts +276 -1
- package/dist/index.js +724 -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.1055694500
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -270,6 +270,7 @@ message AIRichResponseTableMetadata {
|
|
|
270
270
|
|
|
271
271
|
message AIRichResponseUnifiedResponse {
|
|
272
272
|
optional bytes data = 1;
|
|
273
|
+
optional bytes gzipData = 2;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
enum AISubscriptionRequestType {
|
|
@@ -520,6 +521,7 @@ message BotCapabilityMetadata {
|
|
|
520
521
|
RICH_RESPONSE_SIDE_BY_SIDE_BUFFER_BOTH = 89;
|
|
521
522
|
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90;
|
|
522
523
|
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91;
|
|
524
|
+
AI_MUSE_JARVIS_PAYLOAD_GZIP_ENABLED = 93;
|
|
523
525
|
}
|
|
524
526
|
}
|
|
525
527
|
|
|
@@ -1957,11 +1959,16 @@ message DeviceCapabilities {
|
|
|
1957
1959
|
optional BizAiWebOnboarding bizAiWebOnboarding = 13;
|
|
1958
1960
|
optional PhoneNumberSharing phoneNumberSharing = 14;
|
|
1959
1961
|
optional RecentConversationsOnDemand recentConversationsOnDemand = 15;
|
|
1962
|
+
optional AiMuseJarvisGzip aiMuseJarvisGzip = 16;
|
|
1960
1963
|
message AiFbidMigration {
|
|
1961
1964
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1962
1965
|
optional uint32 supportVersion = 2;
|
|
1963
1966
|
}
|
|
1964
1967
|
|
|
1968
|
+
message AiMuseJarvisGzip {
|
|
1969
|
+
optional uint32 supportVersion = 1;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1965
1972
|
message AiThread {
|
|
1966
1973
|
optional SupportLevel supportLevel = 1;
|
|
1967
1974
|
enum SupportLevel {
|
|
@@ -5141,6 +5148,7 @@ enum MutationProps {
|
|
|
5141
5148
|
COMMUNITY_NESTING_STATE_ACTION = 99;
|
|
5142
5149
|
SHARED_DEVICE_SECRET_ACTION = 100;
|
|
5143
5150
|
HATCH_CVM_SECRET_ACTION = 101;
|
|
5151
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION = 102;
|
|
5144
5152
|
SHARE_OWN_PN = 10001;
|
|
5145
5153
|
BUSINESS_BROADCAST_ACTION = 10002;
|
|
5146
5154
|
AI_THREAD_DELETE_ACTION = 10003;
|
|
@@ -5926,6 +5934,7 @@ message SyncActionValue {
|
|
|
5926
5934
|
optional CommunityNestingStateAction communityNestingStateAction = 99;
|
|
5927
5935
|
optional SharedDeviceSecretAction sharedDeviceSecretAction = 100;
|
|
5928
5936
|
optional HatchCVMSecretAction hatchCvmSecretAction = 101;
|
|
5937
|
+
optional BusinessFolderChatPreferenceAction businessFolderChatPreferenceAction = 102;
|
|
5929
5938
|
message AgentAction {
|
|
5930
5939
|
optional string name = 1;
|
|
5931
5940
|
optional int32 deviceId = 2;
|
|
@@ -6049,6 +6058,16 @@ message SyncActionValue {
|
|
|
6049
6058
|
optional bool activated = 1;
|
|
6050
6059
|
}
|
|
6051
6060
|
|
|
6061
|
+
message BusinessFolderChatPreferenceAction {
|
|
6062
|
+
optional BusinessFolderChatPreference preference = 1;
|
|
6063
|
+
enum BusinessFolderChatPreference {
|
|
6064
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN = 0;
|
|
6065
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC = 1;
|
|
6066
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX = 2;
|
|
6067
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS = 3;
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
|
|
6052
6071
|
message CallLogAction {
|
|
6053
6072
|
optional CallLogRecord callLogRecord = 1;
|
|
6054
6073
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4454,6 +4454,9 @@ export namespace waproto {
|
|
|
4454
4454
|
/** AIRichResponseUnifiedResponse data. */
|
|
4455
4455
|
data?: (Uint8Array|null);
|
|
4456
4456
|
|
|
4457
|
+
/** AIRichResponseUnifiedResponse gzipData. */
|
|
4458
|
+
gzipData?: (Uint8Array|null);
|
|
4459
|
+
|
|
4457
4460
|
/**
|
|
4458
4461
|
* Creates a new AIRichResponseUnifiedResponse instance using the specified properties.
|
|
4459
4462
|
* @param [properties] Properties to set
|
|
@@ -4541,6 +4544,9 @@ export namespace waproto {
|
|
|
4541
4544
|
/** AIRichResponseUnifiedResponse data */
|
|
4542
4545
|
data?: (Uint8Array|null);
|
|
4543
4546
|
|
|
4547
|
+
/** AIRichResponseUnifiedResponse gzipData */
|
|
4548
|
+
gzipData?: (Uint8Array|null);
|
|
4549
|
+
|
|
4544
4550
|
/** Unknown fields preserved while decoding when enabled */
|
|
4545
4551
|
$unknowns?: Uint8Array[];
|
|
4546
4552
|
}
|
|
@@ -7375,7 +7381,10 @@ export namespace waproto {
|
|
|
7375
7381
|
AI_MUSE_JARVIS_ENVELOPE_GZIP_ENABLED = 90,
|
|
7376
7382
|
|
|
7377
7383
|
/** AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED value */
|
|
7378
|
-
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91
|
|
7384
|
+
AI_RICH_RESPONSE_INLINE_MEDIA_LIGHTBOX_ENABLED = 91,
|
|
7385
|
+
|
|
7386
|
+
/** AI_MUSE_JARVIS_PAYLOAD_GZIP_ENABLED value */
|
|
7387
|
+
AI_MUSE_JARVIS_PAYLOAD_GZIP_ENABLED = 93
|
|
7379
7388
|
}
|
|
7380
7389
|
}
|
|
7381
7390
|
|
|
@@ -24269,6 +24278,9 @@ export namespace waproto {
|
|
|
24269
24278
|
/** DeviceCapabilities recentConversationsOnDemand. */
|
|
24270
24279
|
recentConversationsOnDemand?: (waproto.DeviceCapabilities.RecentConversationsOnDemand.$Properties|null);
|
|
24271
24280
|
|
|
24281
|
+
/** DeviceCapabilities aiMuseJarvisGzip. */
|
|
24282
|
+
aiMuseJarvisGzip?: (waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties|null);
|
|
24283
|
+
|
|
24272
24284
|
/**
|
|
24273
24285
|
* Creates a new DeviceCapabilities instance using the specified properties.
|
|
24274
24286
|
* @param [properties] Properties to set
|
|
@@ -24398,6 +24410,9 @@ export namespace waproto {
|
|
|
24398
24410
|
/** DeviceCapabilities recentConversationsOnDemand */
|
|
24399
24411
|
recentConversationsOnDemand?: (waproto.DeviceCapabilities.RecentConversationsOnDemand.$Properties|null);
|
|
24400
24412
|
|
|
24413
|
+
/** DeviceCapabilities aiMuseJarvisGzip */
|
|
24414
|
+
aiMuseJarvisGzip?: (waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties|null);
|
|
24415
|
+
|
|
24401
24416
|
/** Unknown fields preserved while decoding when enabled */
|
|
24402
24417
|
$unknowns?: Uint8Array[];
|
|
24403
24418
|
}
|
|
@@ -24528,6 +24543,123 @@ export namespace waproto {
|
|
|
24528
24543
|
type $Shape = waproto.DeviceCapabilities.AiFbidMigration.$Properties;
|
|
24529
24544
|
}
|
|
24530
24545
|
|
|
24546
|
+
/**
|
|
24547
|
+
* Properties of an AiMuseJarvisGzip.
|
|
24548
|
+
* @deprecated Use waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties instead.
|
|
24549
|
+
*/
|
|
24550
|
+
interface IAiMuseJarvisGzip extends waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties {
|
|
24551
|
+
}
|
|
24552
|
+
|
|
24553
|
+
/** Represents an AiMuseJarvisGzip. */
|
|
24554
|
+
class AiMuseJarvisGzip {
|
|
24555
|
+
|
|
24556
|
+
/**
|
|
24557
|
+
* Constructs a new AiMuseJarvisGzip.
|
|
24558
|
+
* @param [properties] Properties to set
|
|
24559
|
+
*/
|
|
24560
|
+
constructor(properties?: waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties);
|
|
24561
|
+
|
|
24562
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
24563
|
+
$unknowns?: Uint8Array[];
|
|
24564
|
+
|
|
24565
|
+
/** AiMuseJarvisGzip supportVersion. */
|
|
24566
|
+
supportVersion?: (number|null);
|
|
24567
|
+
|
|
24568
|
+
/**
|
|
24569
|
+
* Creates a new AiMuseJarvisGzip instance using the specified properties.
|
|
24570
|
+
* @param [properties] Properties to set
|
|
24571
|
+
* @returns AiMuseJarvisGzip instance
|
|
24572
|
+
*/
|
|
24573
|
+
static create(properties: waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape): waproto.DeviceCapabilities.AiMuseJarvisGzip & waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape;
|
|
24574
|
+
static create(properties?: waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties): waproto.DeviceCapabilities.AiMuseJarvisGzip;
|
|
24575
|
+
|
|
24576
|
+
/**
|
|
24577
|
+
* Encodes the specified AiMuseJarvisGzip message. Does not implicitly {@link waproto.DeviceCapabilities.AiMuseJarvisGzip.verify|verify} messages.
|
|
24578
|
+
* @param message AiMuseJarvisGzip message or plain object to encode
|
|
24579
|
+
* @param [writer] Writer to encode to
|
|
24580
|
+
* @returns Writer
|
|
24581
|
+
*/
|
|
24582
|
+
static encode(message: waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24583
|
+
|
|
24584
|
+
/**
|
|
24585
|
+
* Encodes the specified AiMuseJarvisGzip message, length delimited. Does not implicitly {@link waproto.DeviceCapabilities.AiMuseJarvisGzip.verify|verify} messages.
|
|
24586
|
+
* @param message AiMuseJarvisGzip message or plain object to encode
|
|
24587
|
+
* @param [writer] Writer to encode to
|
|
24588
|
+
* @returns Writer
|
|
24589
|
+
*/
|
|
24590
|
+
static encodeDelimited(message: waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24591
|
+
|
|
24592
|
+
/**
|
|
24593
|
+
* Decodes an AiMuseJarvisGzip message from the specified reader or buffer.
|
|
24594
|
+
* @param reader Reader or buffer to decode from
|
|
24595
|
+
* @param [length] Message length if known beforehand
|
|
24596
|
+
* @returns {waproto.DeviceCapabilities.AiMuseJarvisGzip & waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape} AiMuseJarvisGzip
|
|
24597
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24598
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24599
|
+
*/
|
|
24600
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.DeviceCapabilities.AiMuseJarvisGzip & waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape;
|
|
24601
|
+
|
|
24602
|
+
/**
|
|
24603
|
+
* Decodes an AiMuseJarvisGzip message from the specified reader or buffer, length delimited.
|
|
24604
|
+
* @param reader Reader or buffer to decode from
|
|
24605
|
+
* @returns {waproto.DeviceCapabilities.AiMuseJarvisGzip & waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape} AiMuseJarvisGzip
|
|
24606
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24607
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24608
|
+
*/
|
|
24609
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.DeviceCapabilities.AiMuseJarvisGzip & waproto.DeviceCapabilities.AiMuseJarvisGzip.$Shape;
|
|
24610
|
+
|
|
24611
|
+
/**
|
|
24612
|
+
* Verifies an AiMuseJarvisGzip message.
|
|
24613
|
+
* @param message Plain object to verify
|
|
24614
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24615
|
+
*/
|
|
24616
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
24617
|
+
|
|
24618
|
+
/**
|
|
24619
|
+
* Creates an AiMuseJarvisGzip message from a plain object. Also converts values to their respective internal types.
|
|
24620
|
+
* @param object Plain object
|
|
24621
|
+
* @returns AiMuseJarvisGzip
|
|
24622
|
+
*/
|
|
24623
|
+
static fromObject(object: { [k: string]: any }): waproto.DeviceCapabilities.AiMuseJarvisGzip;
|
|
24624
|
+
|
|
24625
|
+
/**
|
|
24626
|
+
* Creates a plain object from an AiMuseJarvisGzip message. Also converts values to other types if specified.
|
|
24627
|
+
* @param message AiMuseJarvisGzip
|
|
24628
|
+
* @param [options] Conversion options
|
|
24629
|
+
* @returns Plain object
|
|
24630
|
+
*/
|
|
24631
|
+
static toObject(message: waproto.DeviceCapabilities.AiMuseJarvisGzip, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24632
|
+
|
|
24633
|
+
/**
|
|
24634
|
+
* Converts this AiMuseJarvisGzip to JSON.
|
|
24635
|
+
* @returns JSON object
|
|
24636
|
+
*/
|
|
24637
|
+
toJSON(): { [k: string]: any };
|
|
24638
|
+
|
|
24639
|
+
/**
|
|
24640
|
+
* Gets the type url for AiMuseJarvisGzip
|
|
24641
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
24642
|
+
* @returns The type url
|
|
24643
|
+
*/
|
|
24644
|
+
static getTypeUrl(prefix?: string): string;
|
|
24645
|
+
}
|
|
24646
|
+
|
|
24647
|
+
namespace AiMuseJarvisGzip {
|
|
24648
|
+
|
|
24649
|
+
/** Properties of an AiMuseJarvisGzip. */
|
|
24650
|
+
interface $Properties {
|
|
24651
|
+
|
|
24652
|
+
/** AiMuseJarvisGzip supportVersion */
|
|
24653
|
+
supportVersion?: (number|null);
|
|
24654
|
+
|
|
24655
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
24656
|
+
$unknowns?: Uint8Array[];
|
|
24657
|
+
}
|
|
24658
|
+
|
|
24659
|
+
/** Shape of an AiMuseJarvisGzip. */
|
|
24660
|
+
type $Shape = waproto.DeviceCapabilities.AiMuseJarvisGzip.$Properties;
|
|
24661
|
+
}
|
|
24662
|
+
|
|
24531
24663
|
/**
|
|
24532
24664
|
* Properties of an AiThread.
|
|
24533
24665
|
* @deprecated Use waproto.DeviceCapabilities.AiThread.$Properties instead.
|
|
@@ -68962,6 +69094,9 @@ export namespace waproto {
|
|
|
68962
69094
|
/** HATCH_CVM_SECRET_ACTION value */
|
|
68963
69095
|
HATCH_CVM_SECRET_ACTION = 101,
|
|
68964
69096
|
|
|
69097
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION value */
|
|
69098
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_ACTION = 102,
|
|
69099
|
+
|
|
68965
69100
|
/** SHARE_OWN_PN value */
|
|
68966
69101
|
SHARE_OWN_PN = 10001,
|
|
68967
69102
|
|
|
@@ -79644,6 +79779,9 @@ export namespace waproto {
|
|
|
79644
79779
|
/** SyncActionValue hatchCvmSecretAction. */
|
|
79645
79780
|
hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
|
|
79646
79781
|
|
|
79782
|
+
/** SyncActionValue businessFolderChatPreferenceAction. */
|
|
79783
|
+
businessFolderChatPreferenceAction?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null);
|
|
79784
|
+
|
|
79647
79785
|
/**
|
|
79648
79786
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
79649
79787
|
* @param [properties] Properties to set
|
|
@@ -80004,6 +80142,9 @@ export namespace waproto {
|
|
|
80004
80142
|
/** SyncActionValue hatchCvmSecretAction */
|
|
80005
80143
|
hatchCvmSecretAction?: (waproto.SyncActionValue.HatchCVMSecretAction.$Properties|null);
|
|
80006
80144
|
|
|
80145
|
+
/** SyncActionValue businessFolderChatPreferenceAction */
|
|
80146
|
+
businessFolderChatPreferenceAction?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties|null);
|
|
80147
|
+
|
|
80007
80148
|
/** Unknown fields preserved while decoding when enabled */
|
|
80008
80149
|
$unknowns?: Uint8Array[];
|
|
80009
80150
|
}
|
|
@@ -80102,6 +80243,7 @@ export namespace waproto {
|
|
|
80102
80243
|
communityNestingStateAction?: waproto.SyncActionValue.CommunityNestingStateAction.$Shape|null;
|
|
80103
80244
|
sharedDeviceSecretAction?: waproto.SyncActionValue.SharedDeviceSecretAction.$Shape|null;
|
|
80104
80245
|
hatchCvmSecretAction?: waproto.SyncActionValue.HatchCVMSecretAction.$Shape|null;
|
|
80246
|
+
businessFolderChatPreferenceAction?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape|null;
|
|
80105
80247
|
$unknowns?: Uint8Array[];
|
|
80106
80248
|
};
|
|
80107
80249
|
|
|
@@ -82224,6 +82366,139 @@ export namespace waproto {
|
|
|
82224
82366
|
type $Shape = waproto.SyncActionValue.BusinessFolderActivationAction.$Properties;
|
|
82225
82367
|
}
|
|
82226
82368
|
|
|
82369
|
+
/**
|
|
82370
|
+
* Properties of a BusinessFolderChatPreferenceAction.
|
|
82371
|
+
* @deprecated Use waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties instead.
|
|
82372
|
+
*/
|
|
82373
|
+
interface IBusinessFolderChatPreferenceAction extends waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties {
|
|
82374
|
+
}
|
|
82375
|
+
|
|
82376
|
+
/** Represents a BusinessFolderChatPreferenceAction. */
|
|
82377
|
+
class BusinessFolderChatPreferenceAction {
|
|
82378
|
+
|
|
82379
|
+
/**
|
|
82380
|
+
* Constructs a new BusinessFolderChatPreferenceAction.
|
|
82381
|
+
* @param [properties] Properties to set
|
|
82382
|
+
*/
|
|
82383
|
+
constructor(properties?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties);
|
|
82384
|
+
|
|
82385
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
82386
|
+
$unknowns?: Uint8Array[];
|
|
82387
|
+
|
|
82388
|
+
/** BusinessFolderChatPreferenceAction preference. */
|
|
82389
|
+
preference?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null);
|
|
82390
|
+
|
|
82391
|
+
/**
|
|
82392
|
+
* Creates a new BusinessFolderChatPreferenceAction instance using the specified properties.
|
|
82393
|
+
* @param [properties] Properties to set
|
|
82394
|
+
* @returns BusinessFolderChatPreferenceAction instance
|
|
82395
|
+
*/
|
|
82396
|
+
static create(properties: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82397
|
+
static create(properties?: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties): waproto.SyncActionValue.BusinessFolderChatPreferenceAction;
|
|
82398
|
+
|
|
82399
|
+
/**
|
|
82400
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
82401
|
+
* @param message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
82402
|
+
* @param [writer] Writer to encode to
|
|
82403
|
+
* @returns Writer
|
|
82404
|
+
*/
|
|
82405
|
+
static encode(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82406
|
+
|
|
82407
|
+
/**
|
|
82408
|
+
* Encodes the specified BusinessFolderChatPreferenceAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.BusinessFolderChatPreferenceAction.verify|verify} messages.
|
|
82409
|
+
* @param message BusinessFolderChatPreferenceAction message or plain object to encode
|
|
82410
|
+
* @param [writer] Writer to encode to
|
|
82411
|
+
* @returns Writer
|
|
82412
|
+
*/
|
|
82413
|
+
static encodeDelimited(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
82414
|
+
|
|
82415
|
+
/**
|
|
82416
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer.
|
|
82417
|
+
* @param reader Reader or buffer to decode from
|
|
82418
|
+
* @param [length] Message length if known beforehand
|
|
82419
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
82420
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82421
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82422
|
+
*/
|
|
82423
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82424
|
+
|
|
82425
|
+
/**
|
|
82426
|
+
* Decodes a BusinessFolderChatPreferenceAction message from the specified reader or buffer, length delimited.
|
|
82427
|
+
* @param reader Reader or buffer to decode from
|
|
82428
|
+
* @returns {waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape} BusinessFolderChatPreferenceAction
|
|
82429
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82430
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82431
|
+
*/
|
|
82432
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.BusinessFolderChatPreferenceAction & waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Shape;
|
|
82433
|
+
|
|
82434
|
+
/**
|
|
82435
|
+
* Verifies a BusinessFolderChatPreferenceAction message.
|
|
82436
|
+
* @param message Plain object to verify
|
|
82437
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
82438
|
+
*/
|
|
82439
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
82440
|
+
|
|
82441
|
+
/**
|
|
82442
|
+
* Creates a BusinessFolderChatPreferenceAction message from a plain object. Also converts values to their respective internal types.
|
|
82443
|
+
* @param object Plain object
|
|
82444
|
+
* @returns BusinessFolderChatPreferenceAction
|
|
82445
|
+
*/
|
|
82446
|
+
static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.BusinessFolderChatPreferenceAction;
|
|
82447
|
+
|
|
82448
|
+
/**
|
|
82449
|
+
* Creates a plain object from a BusinessFolderChatPreferenceAction message. Also converts values to other types if specified.
|
|
82450
|
+
* @param message BusinessFolderChatPreferenceAction
|
|
82451
|
+
* @param [options] Conversion options
|
|
82452
|
+
* @returns Plain object
|
|
82453
|
+
*/
|
|
82454
|
+
static toObject(message: waproto.SyncActionValue.BusinessFolderChatPreferenceAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
82455
|
+
|
|
82456
|
+
/**
|
|
82457
|
+
* Converts this BusinessFolderChatPreferenceAction to JSON.
|
|
82458
|
+
* @returns JSON object
|
|
82459
|
+
*/
|
|
82460
|
+
toJSON(): { [k: string]: any };
|
|
82461
|
+
|
|
82462
|
+
/**
|
|
82463
|
+
* Gets the type url for BusinessFolderChatPreferenceAction
|
|
82464
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
82465
|
+
* @returns The type url
|
|
82466
|
+
*/
|
|
82467
|
+
static getTypeUrl(prefix?: string): string;
|
|
82468
|
+
}
|
|
82469
|
+
|
|
82470
|
+
namespace BusinessFolderChatPreferenceAction {
|
|
82471
|
+
|
|
82472
|
+
/** Properties of a BusinessFolderChatPreferenceAction. */
|
|
82473
|
+
interface $Properties {
|
|
82474
|
+
|
|
82475
|
+
/** BusinessFolderChatPreferenceAction preference */
|
|
82476
|
+
preference?: (waproto.SyncActionValue.BusinessFolderChatPreferenceAction.BusinessFolderChatPreference|null);
|
|
82477
|
+
|
|
82478
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
82479
|
+
$unknowns?: Uint8Array[];
|
|
82480
|
+
}
|
|
82481
|
+
|
|
82482
|
+
/** Shape of a BusinessFolderChatPreferenceAction. */
|
|
82483
|
+
type $Shape = waproto.SyncActionValue.BusinessFolderChatPreferenceAction.$Properties;
|
|
82484
|
+
|
|
82485
|
+
/** BusinessFolderChatPreference enum. */
|
|
82486
|
+
enum BusinessFolderChatPreference {
|
|
82487
|
+
|
|
82488
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN value */
|
|
82489
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_UNKNOWN = 0,
|
|
82490
|
+
|
|
82491
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC value */
|
|
82492
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_AUTOMATIC = 1,
|
|
82493
|
+
|
|
82494
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX value */
|
|
82495
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_INBOX = 2,
|
|
82496
|
+
|
|
82497
|
+
/** BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS value */
|
|
82498
|
+
BUSINESS_FOLDER_CHAT_PREFERENCE_BUSINESS = 3
|
|
82499
|
+
}
|
|
82500
|
+
}
|
|
82501
|
+
|
|
82227
82502
|
/**
|
|
82228
82503
|
* Properties of a CallLogAction.
|
|
82229
82504
|
* @deprecated Use waproto.SyncActionValue.CallLogAction.$Properties instead.
|